Unmanned aerial vehicle based soil analysis method, system, and readable storage medium
The unmanned aerial vehicle (UAV) system solves the problem of low efficiency in traditional soil collection by using image processing and automated data acquisition technology, and achieves safe and efficient soil collection operations.
Patent Information
- Application Number
- CN202310979135.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-03
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2043-08-03
AI Technical Summary
Traditional soil collection operations are inefficient and pose safety hazards, especially in dangerous areas such as steep slopes and cliffs, where manual operation is risky.
The drones are used to photograph and process soil areas to identify boundary lines and vertex coordinates. They automatically fly to the target area and use soil collection devices to collect soil samples, including block and columnar samples.
Automated soil sampling has been achieved, improving operational efficiency and reducing the risks associated with manual operation.
Smart Images

Figure CN116858601B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of unmanned aerial vehicle (UAV) operation technology, and more specifically, to a UAV-based soil analysis method, system, and readable storage medium. Background Technology
[0002] With the continuous development of science and technology, the application of drones has developed unprecedentedly. Drones are often more suitable for mechanical repetitive or dangerous tasks. In the civilian sector, drones combined with industry applications are the real necessity of drones. Their applications in fields such as aerial photography, agriculture, plant protection, mini selfies, express delivery, disaster relief, wildlife observation, infectious disease monitoring, surveying, news reporting, power line inspection, disaster relief, film and television shooting, and creating romance have greatly expanded the uses of drones.
[0003] In applications such as agriculture and plant protection, traditional techniques require manual labor to label, classify, and collect soil samples. This is not only inefficient, but also poses significant safety hazards to workers in dangerous locations such as steep slopes and cliffs. Summary of the Invention
[0004] The purpose of this invention is to provide a soil analysis method, system, and readable storage medium based on unmanned aerial vehicles (UAVs). By controlling the corresponding UAVs to perform automated soil collection and analysis operations according to the different soil analysis needs of users, the dangers caused by manual soil collection operations in traditional operations are reduced, and the operation efficiency is improved.
[0005] The first aspect of this invention provides a soil analysis method based on unmanned aerial vehicles (UAVs), comprising the following steps:
[0006] The system acquires input data from the user terminal, performs data analysis based on the input data, and controls the target drone to photograph the soil area.
[0007] Image processing is performed on the captured target image to filter and obtain soil data, wherein the soil data includes the boundary lines and vertex coordinates of each soil region;
[0008] The soil data is output to the user terminal and the user terminal returns the data, wherein the returned data includes at least the target area within the soil area;
[0009] Based on the returned data, the target drone is controlled to fly to the target area, and the target drone is controlled to use a preset soil collection device to collect soil in the target area.
[0010] In this solution, the acquisition of user input data and the analysis of that input data to control the target drone to photograph the soil area specifically include:
[0011] Establish a communication connection with the user terminal to obtain the input data, wherein the communication method includes wireless communication;
[0012] Based on the input data, drone assignment data and drone operation data are obtained, wherein...
[0013] The target drone is identified and controlled based on the drone assignment data.
[0014] The soil area is obtained based on the drone operation data, thereby controlling the target drone to photograph the soil area.
[0015] In this solution, image processing is performed based on the captured target image to filter and obtain soil data. The soil data includes the boundary lines and vertex coordinates of each soil region, specifically including:
[0016] The target image is acquired based on the image acquisition device installed on the target drone;
[0017] Image segmentation and coordinate localization are performed based on the target image to obtain the corresponding soil image within the target image;
[0018] The soil data is obtained by acquiring the boundary lines and vertex coordinates of each soil region within the soil image.
[0019] In this solution, the step of outputting the soil data to the user terminal and obtaining the returned data from the user terminal includes, at least, the target area within the soil region, specifically including:
[0020] The soil data is output to the user terminal via wireless communication;
[0021] Within a preset response time, the returned data from the user terminal is acquired, and data analysis is performed based on the returned data.
[0022] The collected data and coordinate data in the returned data are analyzed, and the target area is obtained based on the coordinate data.
[0023] In this solution, the step of controlling the target drone to fly to the target area based on the returned data, and controlling the target drone to use a preset soil collection device to collect soil within the target area, specifically includes:
[0024] Based on the target area, control the target UAV to fly to and perform hovering or landing operations;
[0025] Based on the collected data, the soil collection device is controlled to collect soil in the target area. The collected data includes at least the collection method, which includes block collection and / or column collection.
[0026] In this solution, the method further includes: if the returned data is not successfully obtained within the response time, the soil data is output to the user terminal again.
[0027] A second aspect of the present invention also provides a UAV-based soil analysis system, including a memory and a processor. The memory includes a UAV-based soil analysis method program, which, when executed by the processor, performs the following steps:
[0028] The system acquires input data from the user terminal, performs data analysis based on the input data, and controls the target drone to photograph the soil area.
[0029] Image processing is performed on the captured target image to filter and obtain soil data, wherein the soil data includes the boundary lines and vertex coordinates of each soil region;
[0030] The soil data is output to the user terminal and the user terminal returns the data, wherein the returned data includes at least the target area within the soil area;
[0031] Based on the returned data, the target drone is controlled to fly to the target area, and the target drone is controlled to use a preset soil collection device to collect soil in the target area.
[0032] In this solution, the acquisition of user input data and the analysis of that input data to control the target drone to photograph the soil area specifically include:
[0033] Establish a communication connection with the user terminal to obtain the input data, wherein the communication method includes wireless communication;
[0034] Based on the input data, drone assignment data and drone operation data are obtained, wherein...
[0035] The target drone is identified and controlled based on the drone assignment data.
[0036] The soil area is obtained based on the drone operation data, thereby controlling the target drone to photograph the soil area.
[0037] In this solution, image processing is performed based on the captured target image to filter and obtain soil data. The soil data includes the boundary lines and vertex coordinates of each soil region, specifically including:
[0038] The target image is acquired based on the image acquisition device installed on the target drone;
[0039] Image segmentation and coordinate localization are performed based on the target image to obtain the corresponding soil image within the target image;
[0040] The soil data is obtained by acquiring the boundary lines and vertex coordinates of each soil region within the soil image.
[0041] In this solution, the step of outputting the soil data to the user terminal and obtaining the returned data from the user terminal includes, at least, the target area within the soil region, specifically including:
[0042] The soil data is output to the user terminal via wireless communication;
[0043] Within a preset response time, the returned data from the user terminal is acquired, and data analysis is performed based on the returned data.
[0044] The collected data and coordinate data in the returned data are analyzed, and the target area is obtained based on the coordinate data.
[0045] In this solution, the step of controlling the target drone to fly to the target area based on the returned data, and controlling the target drone to use a preset soil collection device to collect soil within the target area, specifically includes:
[0046] Based on the target area, control the target UAV to fly to and perform hovering or landing operations;
[0047] Based on the collected data, the soil collection device is controlled to collect soil in the target area. The collected data includes at least the collection method, which includes block collection and / or column collection.
[0048] In this solution, the method further includes: if the returned data is not successfully obtained within the response time, the soil data is output to the user terminal again.
[0049] A third aspect of the present invention provides a computer-readable storage medium comprising a machine-based unmanned aerial vehicle (UAV) soil analysis method program, which, when executed by a processor, implements the steps of the UAV-based soil analysis method as described in any of the preceding claims.
[0050] This invention discloses a soil analysis method, system, and readable storage medium based on unmanned aerial vehicles (UAVs). By controlling corresponding UAVs to perform automated soil collection and analysis operations according to different soil analysis needs of users, the dangers of manual soil collection operations in traditional operations are reduced, and the operation efficiency is improved. Attached Figure Description
[0051] Figure 1 A flowchart of a soil analysis method based on an unmanned aerial vehicle (UAV) according to the present invention is shown;
[0052] Figure 2 A block diagram of a soil analysis system based on an unmanned aerial vehicle (UAV) according to the present invention is shown. Detailed Implementation
[0053] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.
[0054] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and therefore the scope of protection of the invention is not limited to the specific embodiments disclosed below.
[0055] Figure 1 A flowchart of a soil analysis method based on unmanned aerial vehicles (UAVs) according to this application is shown.
[0056] like Figure 1 As shown, this application discloses a soil analysis method based on unmanned aerial vehicles (UAVs), including the following steps:
[0057] S102, acquire input data from the user terminal, perform data analysis based on the input data, and control the target drone to take pictures of the soil area;
[0058] S104, Image processing is performed based on the captured target image to filter and obtain soil data, wherein the soil data includes the boundary lines and vertex coordinates of each soil region;
[0059] S106, output the soil data to the user terminal and obtain the return data from the user terminal, wherein the return data includes at least the target area within the soil area;
[0060] S108, based on the returned data, control the target drone to fly to the target area, and control the target drone to use a preset soil collection device to collect soil in the target area.
[0061] It should be noted that, in this embodiment, after establishing a communication connection with the user terminal, input data from the user terminal can be obtained. This input data is then analyzed to obtain the target drone and the soil area that the target drone needs to photograph. The target drone is then used to photograph the soil area, and the resulting target image is processed. Specific processing methods include image segmentation and coordinate positioning. Image segmentation involves segmenting different types of images within the target image to obtain corresponding soil images. Coordinate positioning is then performed on the soil images to obtain boundary lines and vertex coordinates, thereby obtaining the soil data. This soil data is then output to the user. After the user terminal processes and analyzes the soil data, it will send back the returned data. At this time, the user terminal obtains the returned data and controls the target drone to fly to the corresponding target area to collect soil within the target area. The collection method includes block collection and / or column collection, as well as other forms of collection. During collection, a soil collection device is used. In practical applications, the soil collection device can be a robotic arm with a drill bit, which can realize block collection and column collection. After the soil is collected, the user terminal controls the target drone to bring the soil back for subsequent analysis. This uses drone automation to replace traditional manual labor, improving work efficiency while reducing the potential dangers of manual labor.
[0062] According to an embodiment of the present invention, the step of acquiring input data from the user terminal and performing data analysis based on the input data to control the target drone to photograph the soil area specifically includes:
[0063] Establish a communication connection with the user terminal to obtain the input data, wherein the communication method includes wireless communication;
[0064] Based on the input data, drone assignment data and drone operation data are obtained, wherein...
[0065] The target drone is identified and controlled based on the drone assignment data.
[0066] The soil area is obtained based on the drone operation data, thereby controlling the target drone to photograph the soil area.
[0067] It should be noted that, in this embodiment, a communication connection with the user terminal is established through wireless communication to obtain the input data. The wireless communication method is, for example, 5G mobile communication. After obtaining the input data, data analysis is performed to obtain the drone assignment data and drone operation data. The drone assignment data is used to identify the specific drone number to obtain the target drone, while the drone operation data is used to identify the soil area so that the target drone can be controlled to take pictures of the soil area.
[0068] According to an embodiment of the present invention, the image processing based on the captured target image to filter and obtain soil data, wherein the soil data includes the boundary lines and vertex coordinates of each soil region, specifically including:
[0069] The target image is acquired based on the image acquisition device installed on the target drone;
[0070] Image segmentation and coordinate localization are performed based on the target image to obtain the corresponding soil image within the target image;
[0071] The soil data is obtained by acquiring the boundary lines and vertex coordinates of each soil region within the soil image.
[0072] It should be noted that, in this embodiment, when the target drone flies over the soil area, the target image can be acquired using an image acquisition device installed on the target drone. The image acquisition device is, for example, a high-definition video camera. The target image contains various types of images, such as grass, rivers, forests, and soil. Based on the target image, coordinate positioning and image segmentation are performed to filter out the corresponding soil image within the target image. It should be noted that the image segmentation can be done using threshold cutting or region segmentation, which will not be elaborated here. The purpose is to be able to filter out the soil image, and no specific cutting method is limited. At the same time as the segmentation, the boundary line and vertex coordinates of the soil image can be obtained. The boundary line and vertex coordinates can be used to better identify the corresponding soil area in the target image.
[0073] According to an embodiment of the present invention, the step of outputting the soil data to the user terminal and obtaining the return data from the user terminal, wherein the return data at least includes the target area within the soil area, specifically including:
[0074] The soil data is output to the user terminal via wireless communication;
[0075] Within a preset response time, the returned data from the user terminal is acquired, and data analysis is performed based on the returned data.
[0076] The collected data and coordinate data in the returned data are analyzed, and the target area is obtained based on the coordinate data.
[0077] It should be noted that, in this embodiment, the soil data obtained in the above embodiment is output to the user terminal via 5G mobile communication, and the return data from the user terminal is obtained within the response time. Based on the return data, the collected data and coordinate data are obtained. The target area for soil collection can be obtained based on the coordinate data, and the collected data is specifically represented by the corresponding collection method, such as columnar collection and / or block collection.
[0078] According to an embodiment of the present invention, the step of controlling the target drone to fly to the target area based on the returned data, and controlling the target drone to use a preset soil collection device to collect soil in the target area, specifically includes:
[0079] Based on the target area, control the target UAV to fly to and perform hovering or landing operations;
[0080] Based on the collected data, the soil collection device is controlled to collect soil in the target area. The collected data includes at least the collection method, which includes block collection and / or column collection.
[0081] It should be noted that, in this embodiment, after the target area is acquired, the target drone can be controlled to fly close to the target area and perform landing operations, or hover at a distance of "10cm" from the ground. The purpose is to control the soil collection device to collect soil in the target area based on the collected data. Specifically, the soil collection device is controlled to adopt the corresponding collection method according to the collected data in the returned data.
[0082] According to an embodiment of the present invention, the method further includes: if the returned data is not successfully obtained within the response time, outputting the soil data to the user terminal again.
[0083] It should be noted that, in this embodiment, due to the possibility of untimely response from the user terminal, if the returned data is not successfully obtained within the response time, the soil data can be output to the user terminal again. During this period, the drone can temporarily land on the ground or continue flying in the air. Accordingly, the response time can be set to "2 minutes".
[0084] It is worth mentioning that the method also includes controlling the target drone to transport the collected soil, specifically including:
[0085] Based on the returned data, obtain the data to be transferred to identify the target transfer point set;
[0086] After the soil is collected, the drone's current location is matched with the set of target transfer points, and the point with the shortest distance is determined as the transfer point.
[0087] A flight path is set based on the transfer point to control the UAV to proceed to the transfer point.
[0088] It should be noted that, in this embodiment, the returned data also includes the data to be transferred, wherein the data to be transferred includes the set of target transfer points, which contains multiple points that can be transferred. Therefore, after the soil is collected, the distance between the current position of the UAV and the set of target transfer points can be matched to determine the point with the shortest distance as the transfer point. Then, the flight path can be generated based on the current position of the UAV and the transfer point, and the UAV can be controlled to travel along the flight path to complete the transfer.
[0089] It is worth mentioning that the method also includes acquisition control based on the acquired data, specifically including:
[0090] Identify the attribute factors of the preset soil sampling device on the target UAV, the attribute factors including blocky factors and columnar factors;
[0091] The current data collection method is determined, and a comparison is made between the collection method and the attribute factors, wherein...
[0092] If the collection method successfully matches the blocky factor, then control the soil collection device to perform blocky collection;
[0093] If the acquisition method successfully matches the columnar factor, then the soil acquisition device is controlled to perform columnar acquisition.
[0094] It should be noted that, in this embodiment, since the soil sampling device described in the above embodiment is a robotic arm with a drill, in actual sampling, it is necessary to match the sampling method with the attribute factor to determine the corresponding sampling method. There are three scenarios: first, the sampling method only successfully matches the block factor, in which case block sampling is performed based on the robotic arm; second, the sampling method only successfully matches the column factor, in which case column sampling is performed based on the drill; and third, the sampling method successfully matches both the block factor and the column factor, in which case synchronous sampling is performed based on the robotic arm and the drill.
[0095] It is worth mentioning that the method also includes weighing and comparing the collected soil samples, specifically including:
[0096] Based on the returned data, identify the target weight value corresponding to the soil to be collected within the target area;
[0097] The collected weight value from the soil sampling device is obtained and compared with the target weight value, wherein...
[0098] If the collected weight value is lower than the target weight value, then the data is collected again; otherwise, there is no need to collect the data again.
[0099] It should be noted that, in this embodiment, the soil collection device can weigh the collected soil. Since the returned data also includes the target weight value, it indicates that the user has set the minimum weight of the soil to be collected in the returned data. Therefore, the collected soil can be weighed after collection to obtain the collected weight value. The weighing can be performed using a pressure sensor or a piezoelectric sensor, and the specific method is not limited. The collected weight value is compared with the target weight value. If the collected weight value is lower than the target weight value, it indicates that the current collection is insufficient and needs to be repeated; otherwise, it is not necessary to repeat the collection.
[0100] Figure 2 A block diagram of a soil analysis system based on an unmanned aerial vehicle (UAV) according to the present invention is shown.
[0101] like Figure 2 As shown, this invention discloses a UAV-based soil analysis system, including a memory and a processor. The memory includes a UAV-based soil analysis method program, which, when executed by the processor, performs the following steps:
[0102] The system acquires input data from the user terminal, performs data analysis based on the input data, and controls the target drone to photograph the soil area.
[0103] Image processing is performed on the captured target image to filter and obtain soil data, wherein the soil data includes the boundary lines and vertex coordinates of each soil region;
[0104] The soil data is output to the user terminal and the user terminal returns the data, wherein the returned data includes at least the target area within the soil area;
[0105] Based on the returned data, the target drone is controlled to fly to the target area, and the target drone is controlled to use a preset soil collection device to collect soil in the target area.
[0106] It should be noted that, in this embodiment, after establishing a communication connection with the user terminal, input data from the user terminal can be obtained. This input data is then analyzed to obtain the target drone and the soil area that the target drone needs to photograph. The target drone is then used to photograph the soil area, and the resulting target image is processed. Specific processing methods include image segmentation and coordinate positioning. Image segmentation involves segmenting different types of images within the target image to obtain corresponding soil images. Coordinate positioning is then performed on the soil images to obtain boundary lines and vertex coordinates, thereby obtaining the soil data. This soil data is then output to the user. After the user terminal processes and analyzes the soil data, it will send back the returned data. At this time, the user terminal obtains the returned data and controls the target drone to fly to the corresponding target area to collect soil within the target area. The collection method includes block collection and / or column collection, as well as other forms of collection. During collection, a soil collection device is used. In practical applications, the soil collection device can be a robotic arm with a drill bit, which can realize block collection and column collection. After the soil is collected, the user terminal controls the target drone to bring the soil back for subsequent analysis. This uses drone automation to replace traditional manual labor, improving work efficiency while reducing the potential dangers of manual labor.
[0107] According to an embodiment of the present invention, the step of acquiring input data from the user terminal and performing data analysis based on the input data to control the target drone to photograph the soil area specifically includes:
[0108] Establish a communication connection with the user terminal to obtain the input data, wherein the communication method includes wireless communication;
[0109] Based on the input data, drone assignment data and drone operation data are obtained, wherein...
[0110] The target drone is identified and controlled based on the drone assignment data.
[0111] The soil area is obtained based on the drone operation data, thereby controlling the target drone to photograph the soil area.
[0112] It should be noted that, in this embodiment, a communication connection with the user terminal is established through wireless communication to obtain the input data. The wireless communication method is, for example, 5G mobile communication. After obtaining the input data, data analysis is performed to obtain the drone assignment data and drone operation data. The drone assignment data is used to identify the specific drone number to obtain the target drone, while the drone operation data is used to identify the soil area so that the target drone can be controlled to take pictures of the soil area.
[0113] According to an embodiment of the present invention, the image processing based on the captured target image to filter and obtain soil data, wherein the soil data includes the boundary lines and vertex coordinates of each soil region, specifically including:
[0114] The target image is acquired based on the image acquisition device installed on the target drone;
[0115] Image segmentation and coordinate localization are performed based on the target image to obtain the corresponding soil image within the target image;
[0116] The soil data is obtained by acquiring the boundary lines and vertex coordinates of each soil region within the soil image.
[0117] It should be noted that, in this embodiment, when the target drone flies over the soil area, the target image can be acquired using an image acquisition device installed on the target drone. The image acquisition device is, for example, a high-definition video camera. The target image contains various types of images, such as grass, rivers, forests, and soil. Based on the target image, coordinate positioning and image segmentation are performed to filter out the corresponding soil image within the target image. It should be noted that the image segmentation can be done using threshold cutting or region segmentation, which will not be elaborated here. The purpose is to be able to filter out the soil image, and no specific cutting method is limited. At the same time as the segmentation, the boundary line and vertex coordinates of the soil image can be obtained. The boundary line and vertex coordinates can be used to better identify the corresponding soil area in the target image.
[0118] According to an embodiment of the present invention, the step of outputting the soil data to the user terminal and obtaining the return data from the user terminal, wherein the return data at least includes the target area within the soil area, specifically including:
[0119] The soil data is output to the user terminal via wireless communication;
[0120] Within a preset response time, the returned data from the user terminal is acquired, and data analysis is performed based on the returned data.
[0121] The collected data and coordinate data in the returned data are analyzed, and the target area is obtained based on the coordinate data.
[0122] It should be noted that, in this embodiment, the soil data obtained in the above embodiment is output to the user terminal via 5G mobile communication, and the return data from the user terminal is obtained within the response time. Based on the return data, the collected data and coordinate data are obtained. The target area for soil collection can be obtained based on the coordinate data, and the collected data is specifically represented by the corresponding collection method, such as columnar collection and / or block collection.
[0123] According to an embodiment of the present invention, the step of controlling the target drone to fly to the target area based on the returned data, and controlling the target drone to use a preset soil collection device to collect soil in the target area, specifically includes:
[0124] Based on the target area, control the target UAV to fly to and perform hovering or landing operations;
[0125] Based on the collected data, the soil collection device is controlled to collect soil in the target area. The collected data includes at least the collection method, which includes block collection and / or column collection.
[0126] It should be noted that, in this embodiment, after the target area is acquired, the target drone can be controlled to fly close to the target area and perform landing operations, or hover at a distance of "10cm" from the ground. The purpose is to control the soil collection device to collect soil in the target area based on the collected data. Specifically, the soil collection device is controlled to adopt the corresponding collection method according to the collected data in the returned data.
[0127] According to an embodiment of the present invention, the method further includes: if the returned data is not successfully obtained within the response time, outputting the soil data to the user terminal again.
[0128] It should be noted that, in this embodiment, due to the possibility of untimely response from the user terminal, if the returned data is not successfully obtained within the response time, the soil data can be output to the user terminal again. During this period, the drone can temporarily land on the ground or continue flying in the air. Accordingly, the response time can be set to "2 minutes".
[0129] It is worth mentioning that the method also includes controlling the target drone to transport the collected soil, specifically including:
[0130] Based on the returned data, obtain the data to be transferred to identify the target transfer point set;
[0131] After the soil is collected, the drone's current location is matched with the set of target transfer points, and the point with the shortest distance is determined as the transfer point.
[0132] A flight path is set based on the transfer point to control the UAV to proceed to the transfer point.
[0133] It should be noted that, in this embodiment, the returned data also includes the data to be transferred, wherein the data to be transferred includes the set of target transfer points, which contains multiple points that can be transferred. Therefore, after the soil is collected, the distance between the current position of the UAV and the set of target transfer points can be matched to determine the point with the shortest distance as the transfer point. Then, the flight path can be generated based on the current position of the UAV and the transfer point, and the UAV can be controlled to travel along the flight path to complete the transfer.
[0134] It is worth mentioning that the method also includes acquisition control based on the acquired data, specifically including:
[0135] Identify the attribute factors of the preset soil sampling device on the target UAV, the attribute factors including blocky factors and columnar factors;
[0136] The current data collection method is determined, and a comparison is made between the collection method and the attribute factors, wherein...
[0137] If the collection method successfully matches the blocky factor, then control the soil collection device to perform blocky collection;
[0138] If the acquisition method successfully matches the columnar factor, then the soil acquisition device is controlled to perform columnar acquisition.
[0139] It should be noted that, in this embodiment, since the soil sampling device described in the above embodiment is a robotic arm with a drill, in actual sampling, it is necessary to match the sampling method with the attribute factor to determine the corresponding sampling method. There are three scenarios: first, the sampling method only successfully matches the block factor, in which case block sampling is performed based on the robotic arm; second, the sampling method only successfully matches the column factor, in which case column sampling is performed based on the drill; and third, the sampling method successfully matches both the block factor and the column factor, in which case synchronous sampling is performed based on the robotic arm and the drill.
[0140] It is worth mentioning that the method also includes weighing and comparing the collected soil samples, specifically including:
[0141] Based on the returned data, identify the target weight value corresponding to the soil to be collected within the target area;
[0142] The collected weight value from the soil sampling device is obtained and compared with the target weight value, wherein...
[0143] If the collected weight value is lower than the target weight value, then the data is collected again; otherwise, there is no need to collect the data again.
[0144] It should be noted that, in this embodiment, the soil collection device can weigh the collected soil. Since the returned data also includes the target weight value, it indicates that the user has set the minimum weight of the soil to be collected in the returned data. Therefore, the collected soil can be weighed after collection to obtain the collected weight value. The weighing can be performed using a pressure sensor or a piezoelectric sensor, and the specific method is not limited. The collected weight value is compared with the target weight value. If the collected weight value is lower than the target weight value, it indicates that the current collection is insufficient and needs to be repeated; otherwise, it is not necessary to repeat the collection.
[0145] A third aspect of the present invention provides a computer-readable storage medium comprising a UAV-based soil analysis method program, wherein when executed by a processor, the UAV-based soil analysis method program implements the steps of a UAV-based soil analysis method as described in any of the preceding claims.
[0146] This invention discloses a soil analysis method, system, and readable storage medium based on unmanned aerial vehicles (UAVs). By controlling corresponding UAVs to perform automated soil collection and analysis operations according to different soil analysis needs of users, the dangers of manual soil collection operations in traditional operations are reduced, and the operation efficiency is improved.
[0147] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0148] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0149] In addition, in the various embodiments of the present invention, each functional unit can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0150] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0151] Alternatively, if the integrated units of this invention are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.
Claims
1. A soil analysis method based on unmanned aerial vehicles (UAVs), characterized in that, Includes the following steps: The system acquires input data from the user terminal, performs data analysis based on the input data, and controls the target drone to photograph the soil area. Image processing is performed on the captured target image to filter and obtain soil data, wherein the soil data includes the boundary lines and vertex coordinates of each soil region; The soil data is output to the user terminal and the user terminal returns the data, wherein the returned data includes at least the collected data and the target area within the soil area; Based on the returned data, the target drone is controlled to fly to the target area, and the target drone is controlled to use a preset soil collection device to collect soil within the target area, specifically including: Based on the target area, control the target UAV to fly to and perform hovering or landing operations; Based on the collected data, the soil collection device is controlled to collect soil in the target area. The collected data includes at least the collection method, which includes block collection and / or column collection. Specifically, the acquisition control based on the acquired data includes: Identify the attribute factors of the preset soil sampling device on the target UAV, the attribute factors including blocky factors and columnar factors; The current data collection method is determined, and a comparison is made between the collection method and the attribute factors, wherein... If the collection method successfully matches the blocky factor, then control the soil collection device to perform blocky collection; If the acquisition method successfully matches the columnar factor, then the soil acquisition device is controlled to perform columnar acquisition.
2. The soil analysis method based on unmanned aerial vehicles according to claim 1, characterized in that, The process of acquiring user input data and performing data analysis based on that input data to control the target drone to photograph the soil area specifically includes: Establish a communication connection with the user terminal to obtain the input data, wherein the communication method includes wireless communication; Based on the input data, drone assignment data and drone operation data are obtained, wherein... The target drone is identified and controlled based on the drone assignment data. The soil area is obtained based on the drone operation data, thereby controlling the target drone to photograph the soil area.
3. The soil analysis method based on unmanned aerial vehicles according to claim 2, characterized in that, The image processing based on the captured target image is used to filter and obtain soil data, wherein the soil data includes the boundary lines and vertex coordinates of each soil region, specifically including: The target image is acquired based on the image acquisition device installed on the target drone; Image segmentation and coordinate localization are performed based on the target image to obtain the corresponding soil image within the target image; The soil data is obtained by acquiring the boundary lines and vertex coordinates of each soil region within the soil image.
4. The soil analysis method based on unmanned aerial vehicles according to claim 3, characterized in that, The step of outputting the soil data to the user terminal and obtaining the returned data from the user terminal, wherein the returned data includes at least the collected data and the target area within the soil area, specifically including: The soil data is output to the user terminal via wireless communication; Within a preset response time, the returned data from the user terminal is acquired, and data analysis is performed based on the returned data. The collected data and coordinate data in the returned data are analyzed, and the target area is obtained based on the coordinate data.
5. The soil analysis method based on unmanned aerial vehicles according to claim 4, characterized in that, The method further includes: if the returned data is not successfully obtained within the response time, outputting the soil data to the user terminal again.
6. A soil analysis system based on unmanned aerial vehicles (UAVs), characterized in that, It includes a memory and a processor. The memory includes a UAV-based soil analysis method program, which, when executed by the processor, performs the following steps: The system acquires input data from the user terminal, performs data analysis based on the input data, and controls the target drone to photograph the soil area. Image processing is performed on the captured target image to filter and obtain soil data, wherein the soil data includes the boundary lines and vertex coordinates of each soil region; The soil data is output to the user terminal and the user terminal returns the data, wherein the returned data includes at least the collected data and the target area within the soil area; Based on the returned data, the target drone is controlled to fly to the target area, and the target drone is controlled to use a preset soil collection device to collect soil within the target area, specifically including: Based on the target area, control the target UAV to fly to and perform hovering or landing operations; Based on the collected data, the soil collection device is controlled to collect soil in the target area. The collected data includes at least the collection method, which includes block collection and / or column collection. Specifically, the acquisition control based on the acquired data includes: Identify the attribute factors of the preset soil sampling device on the target UAV, the attribute factors including blocky factors and columnar factors; The current data collection method is determined, and a comparison is made between the collection method and the attribute factors, wherein... If the collection method successfully matches the blocky factor, then control the soil collection device to perform blocky collection; If the acquisition method successfully matches the columnar factor, then the soil acquisition device is controlled to perform columnar acquisition.
7. A soil analysis system based on an unmanned aerial vehicle (UAV) according to claim 6, characterized in that, The process of acquiring user input data and performing data analysis based on that input data to control the target drone to photograph the soil area specifically includes: Establish a communication connection with the user terminal to obtain the input data, wherein the communication method includes wireless communication; Based on the input data, drone assignment data and drone operation data are obtained, wherein... The target drone is identified and controlled based on the drone assignment data. The soil area is obtained based on the drone operation data, thereby controlling the target drone to photograph the soil area.
8. A soil analysis system based on an unmanned aerial vehicle (UAV) according to claim 7, characterized in that, The image processing based on the captured target image is used to filter and obtain soil data, wherein the soil data includes the boundary lines and vertex coordinates of each soil region, specifically including: The target image is acquired based on the image acquisition device installed on the target drone; Image segmentation and coordinate localization are performed based on the target image to obtain the corresponding soil image within the target image; The soil data is obtained by acquiring the boundary lines and vertex coordinates of each soil region within the soil image.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a UAV-based soil analysis method program, which, when executed by a processor, implements the steps of a UAV-based soil analysis method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Soil quality data analysis method and system
CN115761535A