Processing method and device for real-time flight attitude of unmanned aerial vehicle

文档序号:1963346 发布日期:2021-12-14 浏览:19次 中文

阅读说明:本技术 一种无人机实时飞行姿态的处理方法和装置 (Processing method and device for real-time flight attitude of unmanned aerial vehicle ) 是由 陈王玥 陈骏程 于 2021-09-10 设计创作,主要内容包括:本申请公开了一种无人机实时飞行姿态的处理方法和装置,该方法包括:获取待喷洒农药区域的地形信息,其中,所述地形信息分为三种:平坦地形、上坡地形和下坡地形;根据所述地形信息将所述待喷洒农药区域分为多个区域;在所述无人机飞行到所述多个区域中的预定区域时,获取所述预定区域对应的地形信息;根据所述预定区域对应的地形信息获取姿态参数,其中,所述姿态参数用于调整所述无人机的飞行姿态;将所述姿态参数发送给所述无人机。通过本申请解决了现有技术中没有考虑无人机姿态导致喷洒农药量不准确的问题,从而根据地形的不同对无人机的姿态进行调整,以达到控制农药喷洒角度的目的,提高农药喷洒的准确度。(The application discloses a method and a device for processing real-time flight attitude of an unmanned aerial vehicle, wherein the method comprises the following steps: acquiring topographic information of an area to be sprayed with pesticide, wherein the topographic information is divided into three types: flat terrain, uphill terrain, and downhill terrain; dividing the pesticide spraying area into a plurality of areas according to the topographic information; when the unmanned aerial vehicle flies to a predetermined area in the plurality of areas, acquiring terrain information corresponding to the predetermined area; acquiring attitude parameters according to the terrain information corresponding to the preset area, wherein the attitude parameters are used for adjusting the flight attitude of the unmanned aerial vehicle; and sending the attitude parameters to the unmanned aerial vehicle. Through this application, solved among the prior art not consider the unmanned aerial vehicle gesture and lead to spraying the unsafe problem of pesticide volume to adjust unmanned aerial vehicle's gesture according to the difference of topography, spray the purpose of angle with reaching control pesticide, improve the degree of accuracy that the pesticide sprayed.)

1. A processing method for real-time flight attitude of an unmanned aerial vehicle is characterized by comprising the following steps:

acquiring topographic information of an area to be sprayed with pesticide, wherein the topographic information is divided into three types: flat terrain, uphill terrain, and downhill terrain;

dividing the area to be sprayed with the pesticide into a plurality of areas according to the topographic information, wherein each area only comprises one of the three types of topographic information;

when the unmanned aerial vehicle flies to a predetermined area in the plurality of areas, acquiring terrain information corresponding to the predetermined area;

acquiring attitude parameters according to the terrain information corresponding to the preset area, wherein the attitude parameters are used for adjusting the flight attitude of the unmanned aerial vehicle;

and sending the attitude parameters to the unmanned aerial vehicle.

2. The method of claim 1, wherein after sending the attitude parameters to the drone, further comprising:

and acquiring feedback information sent by the unmanned aerial vehicle, wherein the feedback information is used for indicating that the unmanned aerial vehicle receives the attitude parameters and adjusting according to the attitude parameters.

3. The method according to claim 2, wherein after acquiring the feedback information sent by the drone, further comprising:

sending a query command to the unmanned aerial vehicle, wherein the query command is used for instructing the unmanned aerial vehicle to feed back current flight parameters;

acquiring a first parameter for identifying the unmanned aerial vehicle attitude from the flight parameters;

and judging whether the first attitude of the unmanned aerial vehicle is the same as the second attitude of the unmanned aerial vehicle indicated by the attitude parameter according to the first parameter.

4. The method of claim 3, wherein sending the query command to the drone comprises:

and sending the query command to the unmanned aerial vehicle at intervals of a preset time length, wherein the preset time length is preset.

5. The method of claim 3, wherein, in the case that the first posture and the second posture are determined to be different, further comprising:

and sending the attitude parameters corresponding to the terrain information corresponding to the preset area to the unmanned aerial vehicle again to indicate the unmanned aerial vehicle to adjust according to the received attitude parameters.

6. The utility model provides a processing apparatus of real-time flight gesture of unmanned aerial vehicle which characterized in that includes:

the first acquisition module is used for acquiring topographic information of an area to be sprayed with pesticide, wherein the topographic information is divided into three types: flat terrain, uphill terrain, and downhill terrain;

the distinguishing module is used for dividing the area to be sprayed with the pesticide into a plurality of areas according to the topographic information, wherein each area only comprises one of the three types of topographic information;

the second acquisition module is used for acquiring terrain information corresponding to a predetermined area when the unmanned aerial vehicle flies to the predetermined area in the plurality of areas;

the third acquisition module is used for acquiring attitude parameters according to the terrain information corresponding to the preset area, wherein the attitude parameters are used for adjusting the flight attitude of the unmanned aerial vehicle;

and the sending module is used for sending the attitude parameters to the unmanned aerial vehicle.

7. The apparatus of claim 6, wherein after sending the attitude parameters to the drone, further comprising:

and the fourth acquisition module is used for acquiring feedback information sent by the unmanned aerial vehicle, wherein the feedback information is used for indicating that the unmanned aerial vehicle receives the attitude parameter and adjusting according to the attitude parameter.

8. The apparatus according to claim 7, wherein after acquiring the feedback information sent by the drone, the apparatus further includes:

the comparison module is used for sending a query command to the unmanned aerial vehicle, wherein the query command is used for indicating the unmanned aerial vehicle to feed back current flight parameters; acquiring a first parameter for identifying the unmanned aerial vehicle attitude from the flight parameters; and judging whether the first attitude of the unmanned aerial vehicle is the same as the second attitude of the unmanned aerial vehicle indicated by the attitude parameter according to the first parameter.

9. The apparatus of claim 8,

the comparison module is used for sending the query command to the unmanned aerial vehicle every preset time interval, wherein the preset time interval is preset.

10. The apparatus according to claim 8, wherein in a case where it is determined that the first posture and the second posture are different,

the sending module is further configured to send the attitude parameter corresponding to the terrain information corresponding to the predetermined area to the unmanned aerial vehicle again, so as to instruct the unmanned aerial vehicle to adjust according to the received attitude parameter.

Technical Field

The application relates to the field of unmanned aerial vehicles, in particular to a method and a device for processing real-time flight attitude of an unmanned aerial vehicle.

Background

Plant protection unmanned aerial vehicle will generally fly according to route and the height of planning in the flight. The flight attitude of the unmanned aerial vehicle can be influenced by factors such as weather in the flight process, the flight attitude of the unmanned aerial vehicle is not recorded and corrected in the prior art, and only the flight route of the unmanned aerial vehicle is monitored.

The volume that the pesticide was sprayed can be influenced to the gesture of unmanned aerial vehicle's flight, and this can bring the influence, and does not consider the influence of gesture among the prior art, and this can lead to spraying the pesticide volume inaccurate.

Disclosure of Invention

The embodiment of the application provides a method and a device for processing the real-time flight attitude of an unmanned aerial vehicle, and the method and the device are used for at least solving the problem that the pesticide spraying amount is inaccurate due to the fact that the attitude of the unmanned aerial vehicle is not considered in the prior art.

According to an aspect of the application, a processing method for real-time flight attitude of an unmanned aerial vehicle is provided, which includes: acquiring topographic information of an area to be sprayed with pesticide, wherein the topographic information is divided into three types: flat terrain, uphill terrain, and downhill terrain; dividing the area to be sprayed with the pesticide into a plurality of areas according to the topographic information, wherein each area only comprises one of the three types of topographic information; when the unmanned aerial vehicle flies to a predetermined area in the plurality of areas, acquiring terrain information corresponding to the predetermined area; acquiring attitude parameters according to the terrain information corresponding to the preset area, wherein the attitude parameters are used for adjusting the flight attitude of the unmanned aerial vehicle; and sending the attitude parameters to the unmanned aerial vehicle.

Further, after sending the attitude parameters to the drone, the method further includes: and acquiring feedback information sent by the unmanned aerial vehicle, wherein the feedback information is used for indicating that the unmanned aerial vehicle receives the attitude parameters and adjusting according to the attitude parameters.

Further, after the feedback information sent by the unmanned aerial vehicle is acquired, the method further includes: sending a query command to the unmanned aerial vehicle, wherein the query command is used for instructing the unmanned aerial vehicle to feed back current flight parameters; acquiring a first parameter for identifying the unmanned aerial vehicle attitude from the flight parameters; and judging whether the first attitude of the unmanned aerial vehicle is the same as the second attitude of the unmanned aerial vehicle indicated by the attitude parameter according to the first parameter.

Further, sending the query command to the drone includes: and sending the query command to the unmanned aerial vehicle at intervals of a preset time length, wherein the preset time length is preset.

Further, in a case where it is determined that the first posture and the second posture are different, the method further includes: and sending the attitude parameters corresponding to the terrain information corresponding to the preset area to the unmanned aerial vehicle again to indicate the unmanned aerial vehicle to adjust according to the received attitude parameters.

According to another aspect of this application, still provide a processing apparatus of unmanned aerial vehicle real-time flight gesture, include: the first acquisition module is used for acquiring topographic information of an area to be sprayed with pesticide, wherein the topographic information is divided into three types: flat terrain, uphill terrain, and downhill terrain; the distinguishing module is used for dividing the area to be sprayed with the pesticide into a plurality of areas according to the topographic information, wherein each area only comprises one of the three types of topographic information; the second acquisition module is used for acquiring terrain information corresponding to a predetermined area when the unmanned aerial vehicle flies to the predetermined area in the plurality of areas; the third acquisition module is used for acquiring attitude parameters according to the terrain information corresponding to the preset area, wherein the attitude parameters are used for adjusting the flight attitude of the unmanned aerial vehicle; and the sending module is used for sending the attitude parameters to the unmanned aerial vehicle.

Further, after sending the attitude parameters to the drone, the method further includes: and the fourth acquisition module is used for acquiring feedback information sent by the unmanned aerial vehicle, wherein the feedback information is used for indicating that the unmanned aerial vehicle receives the attitude parameter and adjusting according to the attitude parameter.

Further, after the feedback information sent by the unmanned aerial vehicle is acquired, the method further includes: the comparison module is used for sending a query command to the unmanned aerial vehicle, wherein the query command is used for indicating the unmanned aerial vehicle to feed back current flight parameters; acquiring a first parameter for identifying the unmanned aerial vehicle attitude from the flight parameters; and judging whether the first attitude of the unmanned aerial vehicle is the same as the second attitude of the unmanned aerial vehicle indicated by the attitude parameter according to the first parameter.

Further, the comparison module is configured to send the query command to the drone every predetermined time interval, where the predetermined time interval is preconfigured.

Further, under the condition that it is determined that the first attitude is different from the second attitude, the sending module is further configured to send the attitude parameter corresponding to the terrain information corresponding to the predetermined area to the unmanned aerial vehicle again, so as to instruct the unmanned aerial vehicle to adjust according to the received attitude parameter.

In the embodiment of the application, the method for acquiring the topographic information of the area to be sprayed with the pesticide is adopted, wherein the topographic information is divided into three types: flat terrain, uphill terrain, and downhill terrain; dividing the area to be sprayed with the pesticide into a plurality of areas according to the topographic information, wherein each area only comprises one of the three types of topographic information; when the unmanned aerial vehicle flies to a predetermined area in the plurality of areas, acquiring terrain information corresponding to the predetermined area; acquiring attitude parameters according to the terrain information corresponding to the preset area, wherein the attitude parameters are used for adjusting the flight attitude of the unmanned aerial vehicle; and sending the attitude parameters to the unmanned aerial vehicle. Through this application, solved among the prior art not consider the unmanned aerial vehicle gesture and lead to spraying the unsafe problem of pesticide volume to adjust unmanned aerial vehicle's gesture according to the difference of topography, spray the purpose of angle with reaching control pesticide, improve the degree of accuracy that the pesticide sprayed.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:

fig. 1 is a flowchart of a processing method for a real-time flight attitude of an unmanned aerial vehicle according to an embodiment of the present application.

Detailed Description

It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.

It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.

In this embodiment, a method for processing a real-time flight attitude of an unmanned aerial vehicle is provided, and fig. 1 is a flowchart of a method for processing a real-time flight attitude of an unmanned aerial vehicle according to an embodiment of the present application, and as shown in fig. 1, the flowchart includes the following steps:

step S102, acquiring topographic information of an area to be sprayed with pesticide, wherein the topographic information is divided into three types: flat terrain, uphill terrain, and downhill terrain;

to flat topography, the gesture parameter is used for control unmanned aerial vehicle keep with flat topography is parallel, for uphill terrain, acquire the angle of uphill, according to the angle of uphill is confirmed unmanned aerial vehicle's gesture parameter, to downhill path topography, acquire the angle of uphill, according to the angle of downhill path is confirmed unmanned aerial vehicle's gesture parameter, uphill and downhill path correspond unmanned aerial vehicle's gesture parameter makes the pesticide sprinkler perpendicular to that unmanned aerial vehicle carried uphill or downhill path spray.

When the ascending slope or the descending slope comprises the ascending slope and the descending slope with different angles, the ascending slope and the descending slope with different angles are divided into different areas, and each area corresponds to different attitude parameters.

Step S104, dividing the area to be sprayed with the pesticide into a plurality of areas according to the topographic information, wherein each area only comprises one of the three types of topographic information;

acquiring geographical position information of a boundary of each of the plurality of regions, acquiring a current geographical position of the unmanned aerial vehicle, judging whether the unmanned aerial vehicle enters another region from one region or not according to the current geographical position of the unmanned aerial vehicle, and acquiring attitude parameters of the other region and sending the attitude parameters to the unmanned aerial vehicle if the judgment result is yes.

And dividing the plurality of regions into a plurality of groups, wherein the attitude parameters of each group are the same, and planning the flight path of the unmanned aerial vehicle, namely, after the unmanned aerial vehicle flies all the corresponding regions of one group, flying the next group of regions, so that the continuous adjustment of the flying attitude is avoided. If the regions within the group are not coherent regions, or the regions between the groups are not coherent regions, then no pesticide is sprayed while flying between the incoherent regions.

Step S106, when the unmanned aerial vehicle flies to a preset area in the plurality of areas, obtaining terrain information corresponding to the preset area;

step S108, acquiring attitude parameters according to the terrain information corresponding to the preset area, wherein the attitude parameters are used for adjusting the flight attitude of the unmanned aerial vehicle;

and step S110, sending the attitude parameters to the unmanned aerial vehicle.

For example, the unmanned aerial vehicle may include an attitude calculation unit, which is configured to generate a first output according to the attitude parameter; the attitude control unit is connected with the attitude resolving unit and comprises a PID controller and a robust controller, the PID controller is used for controlling the linear part of the first control quantity of the unmanned aerial vehicle attitude, and the robust controller is used for controlling the nonlinear part of the first control quantity of the unmanned aerial vehicle attitude; and the execution unit is connected with the attitude control unit and is used for driving the execution unit according to the first control quantity to control the attitude of the unmanned aerial vehicle, wherein the first control quantity is obtained according to the first output quantity.

The problem that the pesticide spraying amount is inaccurate due to the fact that the posture of the unmanned aerial vehicle is not considered in the prior art is solved through the steps, so that the posture of the unmanned aerial vehicle is adjusted according to the difference of the terrain, the purpose of controlling the pesticide spraying angle is achieved, and the pesticide spraying accuracy is improved.

After the information is sent to the unmanned aerial vehicle, the result of the unmanned aerial vehicle after adjustment may also be obtained, and in this optional implementation, feedback information sent by the unmanned aerial vehicle is obtained, where the feedback information is used to indicate that the unmanned aerial vehicle receives the attitude parameter and adjusts the attitude parameter according to the attitude parameter. After the feedback information sent by the unmanned aerial vehicle is acquired, sending a query command to the unmanned aerial vehicle, wherein the query command is used for indicating the unmanned aerial vehicle to feed back the current flight parameters; acquiring a first parameter for identifying the unmanned aerial vehicle attitude from the flight parameters; and judging whether the first attitude of the unmanned aerial vehicle is the same as the second attitude of the unmanned aerial vehicle indicated by the attitude parameter according to the first parameter.

In an area corresponding to the same terrain information, the attitudes should be kept consistent, and at this time, the comparison may be performed periodically.

And if the first posture and the second posture are different, sending the posture parameters corresponding to the terrain information corresponding to the preset area to the unmanned aerial vehicle again so as to instruct the unmanned aerial vehicle to adjust according to the received posture parameters.

After the attitude parameters are sent for the second time, the current flight parameters fed back by the unmanned aerial vehicle are obtained again, the attitude of the current unmanned aerial vehicle is determined according to the first parameters in the flight parameters, if the attitude parameters are still different from the attitude parameters of the unmanned aerial vehicle indicated by the attitude parameters, the unmanned aerial vehicle is not commanded to adjust the attitude any more, and commands are sent to the unmanned aerial vehicle, wherein the commands are used for instructing the unmanned aerial vehicle to reduce the flight speed or increase the spraying amount. This is because the second attitude indicated by the attitude parameter is spraying vertically, which is the largest, and if not, the amount of spraying needs to be increased, and decreasing the flying speed may increase the amount of spraying, or it may be possible to increase the amount of spraying directly.

In this embodiment, an electronic device is provided, comprising a memory in which a computer program is stored and a processor configured to run the computer program to perform the method in the above embodiments.

The programs described above may be run on a processor or may also be stored in memory (or referred to as computer-readable media), which includes both non-transitory and non-transitory, removable and non-removable media, that implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.

These computer programs may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks, and corresponding steps may be implemented by different modules.

Such an apparatus or system is provided in this embodiment. The device is called the processing apparatus of unmanned aerial vehicle real-time flight gesture, and the device includes: the first acquisition module is used for acquiring topographic information of an area to be sprayed with pesticide, wherein the topographic information is divided into three types: flat terrain, uphill terrain, and downhill terrain; the distinguishing module is used for dividing the area to be sprayed with the pesticide into a plurality of areas according to the topographic information, wherein each area only comprises one of the three types of topographic information; the second acquisition module is used for acquiring terrain information corresponding to a predetermined area when the unmanned aerial vehicle flies to the predetermined area in the plurality of areas; the third acquisition module is used for acquiring attitude parameters according to the terrain information corresponding to the preset area, wherein the attitude parameters are used for adjusting the flight attitude of the unmanned aerial vehicle; and the sending module is used for sending the attitude parameters to the unmanned aerial vehicle.

The system or the apparatus is used for implementing the functions of the method in the foregoing embodiments, and each module in the system or the apparatus corresponds to each step in the method, which has been described in the method and is not described herein again.

For example, after sending the attitude parameters to the drone, the method further includes: and the fourth acquisition module is used for acquiring feedback information sent by the unmanned aerial vehicle, wherein the feedback information is used for indicating that the unmanned aerial vehicle receives the attitude parameter and adjusting according to the attitude parameter. Optionally, after the feedback information sent by the unmanned aerial vehicle is acquired, the method further includes: the comparison module is used for sending a query command to the unmanned aerial vehicle, wherein the query command is used for indicating the unmanned aerial vehicle to feed back current flight parameters; acquiring a first parameter for identifying the unmanned aerial vehicle attitude from the flight parameters; and judging whether the first attitude of the unmanned aerial vehicle is the same as the second attitude of the unmanned aerial vehicle indicated by the attitude parameter according to the first parameter. Optionally, the comparison module is configured to send the query command to the drone every predetermined time interval, where the predetermined time interval is preconfigured.

For another example, when it is determined that the first posture and the second posture are different, the sending module is further configured to send the posture parameter corresponding to the terrain information corresponding to the predetermined area to the unmanned aerial vehicle again, so as to instruct the unmanned aerial vehicle to adjust according to the received posture parameter.

The problem of not considering the unmanned aerial vehicle gesture among the prior art and leading to spraying the inaccurate pesticide amount is solved through above-mentioned embodiment to adjust unmanned aerial vehicle's gesture according to the difference of topography, spray the purpose of angle with reaching control pesticide, improve the degree of accuracy that the pesticide sprays.

The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于最大边际收益的循环否决目标分配方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类