Obstacle avoidance method for safe return flight of unmanned aerial vehicle inspection
Technical Field
The invention relates to the technical field of unmanned aerial vehicle control, in particular to an obstacle avoidance method for safe return of unmanned aerial vehicle inspection.
Background
The unmanned plane is an unmanned plane for short, and is also called UAV in English, and is an unmanned plane operated by using a radio remote control device and a self-contained program control device. From a technical point of view, the definition can be divided into: unmanned helicopters, unmanned fixed wing aircraft, unmanned multi-rotor aircraft, unmanned airships, unmanned paragliders, and the like.
Along with the development of society, unmanned aerial vehicle relies on the small and exquisite nimble characteristics of its fuselage, is used widely in all kinds of inspection control, aerial photograph air seeding operation, especially in transmission line inspection process, provides a lot of facilities, and domestic transmission line dispersion, area are wide, and the topography is complicated, and natural environment is abominable. The power line and the pole tower accessories are exposed outdoors for a long time, and are damaged by continuous mechanical tension, lightning flashover, material aging, artificial influence, tower falling, strand breaking, abrasion, corrosion and the like, and must be repaired or replaced in time. The insulator is damaged by lightning stroke, the power transmission line is discharged due to the growth of trees, the tower is stolen, and other accidents are also required to be timely handled. The traditional manual inspection method has large workload and hard conditions, and particularly, the inspection of power transmission lines in mountainous areas and across large rivers and ice disasters, flood disasters, earthquakes, landslides and nights takes long time, has high labor cost, great difficulty and high risk, so that the line inspection of the unmanned aerial vehicle tends to be performed.
Unmanned aerial vehicle receives the threat of circuit, trees, pylon and portable barrier at the in-process of patrolling and examining the back and returning voyage, in case unmanned aerial vehicle hits the barrier and will cause unmanned aerial vehicle damage or even crash, if unmanned aerial vehicle touches the transmission line and will cause the condition such as the short circuit of transmission line, open circuit, seriously influences power transmission and causes great economic loss, patrols and examines inefficiency.
Disclosure of Invention
Therefore, the invention provides an obstacle avoidance method for safe return of unmanned aerial vehicle inspection, which is used for overcoming the problem of low inspection efficiency caused by the fact that an unmanned aerial vehicle cannot automatically avoid obstacles during return.
In order to achieve the purpose, the invention provides an obstacle avoidance method for safe return flight of unmanned aerial vehicle routing inspection, which comprises the following steps:
step s1, when the unmanned aerial vehicle returns, the central control processor in the unmanned aerial vehicle controls the image collector to collect image information right below the unmanned aerial vehicle, the central control processor collects scenery features in the image information, and the size ratio of the scenery feature size in the image information to the actual size of the corresponding scenery feature is calculated to judge the actual height of the unmanned aerial vehicle;
step s2, the central control processor preliminarily determines the maximum flying speed of the unmanned aerial vehicle according to the actual height of the unmanned aerial vehicle, and after the preliminary determination is completed, the central control processor controls the signal transceiver to detect the absolute distance between the unmanned aerial vehicle and the stop point, adjusts the maximum flying height of the unmanned aerial vehicle according to the actual value of the absolute distance and determines the maximum flying speed of the unmanned aerial vehicle again;
step s3, the central control processor sets the critical safety distance between the unmanned aerial vehicle and the surrounding environment as a corresponding value according to the flight height of the unmanned aerial vehicle, when the unmanned aerial vehicle returns, the central control processor controls the image collector to detect the distance between the object in the environment and the unmanned aerial vehicle, if the distance between the object in the environment and the unmanned aerial vehicle is less than the critical safety distance, the central control processor controls the image collector to collect the surrounding environment condition of the unmanned aerial vehicle and controls the unmanned aerial vehicle to move towards the direction without obstacles in the critical safety distance;
step s4, when the distance between the unmanned aerial vehicle and the stop point is lower than a preset interval and the central control processor can directly observe the stop point through the image collector, the central control processor judges that the unmanned aerial vehicle enters a stop stage and controls the unmanned aerial vehicle to land at the stop point;
in step s1, after receiving the image information, the central processing unit obtains shape features of the identifiable obstacle from the image information, selects an obstacle type to which a preset shape feature having a highest similarity with the shape features belongs as an obstacle type of the shape features, obtains an image size C of the obstacle, calculates a size ratio B according to C and an actual size C0 of an object of the type to which the obstacle belongs, and sets B = C/C0;
the central control processor is provided with a first preset ratio B1, a second preset ratio B2, a first preset critical speed V1, a second preset critical speed V2 and a third preset critical speed V3, wherein B1 is less than B2, and V1 is more than V2 and more than V3;
when B is not more than B1, the central control processor judges that the height H of the unmanned aerial vehicle is between 2/3Hmax and sets the maximum flying speed of the unmanned aerial vehicle to be a first preset critical speed V1, wherein Hmax is the maximum flying height which can be reached by the unmanned aerial vehicle;
when B1 is greater than B and less than or equal to B2, the central control processor determines that the height H of the unmanned aerial vehicle is between 1/3Hmax and 2/3Hmax and sets the maximum flying speed of the unmanned aerial vehicle to be a second preset critical speed V2;
when B is larger than B2, the central control processor determines that the height H of the unmanned aerial vehicle is lower than 1/3Hmax and sets the maximum flying speed of the unmanned aerial vehicle to be a third preset critical speed V3;
further, when the central control processor finishes extracting the features in the image information, the central control processor sequentially judges the type of each obstacle according to the shape and the color of each obstacle in the image information, and detects the environment where the unmanned aerial vehicle is located according to the judgment result so as to adjust the flying height or the maximum flying speed of the unmanned aerial vehicle;
the central control processor is internally provided with a first preset type environment A1, a second preset type environment A2, a third preset type environment A3, a first preset flying height adjusting coefficient a1, a second preset flying height adjusting coefficient a2 and a preset shifting speed adjusting coefficient b, wherein a1 is more than 1 and less than 1.5, a2 is more than 1.5 and b is more than 0.5 and less than 1;
when the central control processor determines that the plant feature proportion in the image information is the highest, the central control processor determines that the environment where the unmanned aerial vehicle is located is a first preset type environment A1, and the central control processor adjusts the highest flying height of the unmanned aerial vehicle by using a first preset flying height adjusting coefficient a 1;
when the central control processor determines that the building characteristic proportion is the highest or the building characteristic proportion and the plant characteristic proportion are the same in the image information, the central control processor determines that the environment where the unmanned aerial vehicle is located is a second preset type environment A2, and the central control processor adjusts the highest flying height of the unmanned aerial vehicle by using a second preset flying height adjusting coefficient a 2;
when the central control processor judges that the character features exist in the image information, the central control processor judges that the environment where the unmanned aerial vehicle is located is a third preset type environment A3, the central control processor adjusts the maximum flight speed of the unmanned aerial vehicle by using a preset moving speed adjusting coefficient, and selects a corresponding preset flight height adjusting coefficient according to the plant feature ratio and the building feature ratio to adjust the maximum flight height of the unmanned aerial vehicle;
when the central control processor adjusts the highest flying height of the unmanned aerial vehicle by using the ith preset flying height adjusting coefficient ai, setting i =1, 2, and setting Hmax' = Hmax × ai; when the central control processor adjusts the maximum flying speed of the unmanned aerial vehicle by using the preset shifting speed adjusting coefficient, the adjusted maximum flying speed of the unmanned aerial vehicle is marked as Vj ', and Vj' = Vj × b0 is set, wherein j =1, 2, 3, and b0 are the preset shifting speed adjusting coefficient.
Further, when the unmanned aerial vehicle flies, the central control processor controls the signal transceiver to detect the absolute distance D between the unmanned aerial vehicle and the stop point in real time so as to perform secondary adjustment on the adjusted maximum flying height Hmax' of the unmanned aerial vehicle, and the central control processor is also provided with a first preset distance D1, a second preset distance D2, a first preset height adjustment coefficient e1 and a second preset height adjustment coefficient e2, wherein D1 is greater than D2, and 0.5 < e2 < e1 < 0.8;
when D is larger than D1, the central control processor does not perform secondary adjustment on Hmax';
when D2 is more than D and less than or equal to D1, the central control processor uses a first preset height adjusting coefficient e1 to perform secondary adjustment on Hmax';
when D is not more than D2, the central control processor uses a second preset height adjusting coefficient e2 to perform secondary adjustment on Hmax';
when the central control processor secondarily adjusts Hmax 'by using the ith preset altitude adjustment coefficient ei, i =1, 2 is set, the maximum flying altitude after the secondary adjustment is recorded as Hmax ", and Hmax" = Hmax' × ei is set.
Further, when the unmanned aerial vehicle flies, the central control processor determines a critical safety distance between the unmanned aerial vehicle and the obstacle according to the actual flying speed v of the unmanned aerial vehicle; the central control processor is also provided with a first preset flying speed v1, a second preset flying speed v2, a first preset safety distance L1, a second preset safety distance L2 and a third preset safety distance L3, wherein v1 is more than v2, and L1 is more than L2 and more than L3;
when v is less than or equal to v1, the central control processor sets the critical safety distance between the unmanned aerial vehicle and the obstacle to be L1;
when v is greater than v1 and less than or equal to v2, the central control processor sets the critical safety distance between the unmanned aerial vehicle and the obstacle to be L2;
when v > v2, the central control processor sets the critical safety distance between the drone and the obstacle to L3.
Further, when the central control processor detects that a moving obstacle exists around the unmanned aerial vehicle through the image collector, the central control processor detects the relative moving speed V between the moving obstacle and the unmanned aerial vehicle and the distance L between the moving obstacle and the unmanned aerial vehicle in real time through the visual detector and controls the unmanned aerial vehicle to continuously fly or avoid according to V and L; the central control processor is provided with a preset relative movement speed V0,
when the central control processor detects that the moving barrier and the unmanned aerial vehicle gradually approach each other and the relative movement speed V between the moving barrier and the unmanned aerial vehicle is less than or equal to V0, the central control processor judges that the barrier and the environment are relatively static or the barrier and the unmanned aerial vehicle move in the same direction, the central control processor detects the distance L between the moving barrier and the unmanned aerial vehicle in real time and controls the unmanned aerial vehicle to avoid the barrier when the L is less than or equal to Li, and Li =1, 2, 3 is set;
when the central control processor detects that the moving barrier is gradually close to the unmanned aerial vehicle and the relative moving speed V between the moving barrier and the unmanned aerial vehicle is larger than V0, the central control processor judges that the barrier and the unmanned aerial vehicle move in opposite directions, and the central control processor selects a corresponding avoidance mode according to the surrounding environment of the unmanned aerial vehicle to control the unmanned aerial vehicle to avoid the barrier.
Further, the avoidance mode comprises deceleration, hovering, steering, ascending and descending.
Further, when the unmanned aerial vehicle moves, the central control processor predicts the preset flying speed v0 of the unmanned aerial vehicle according to the rotating speed of the fan blades and obtains the actual moving speed v of the unmanned aerial vehicle according to the image information collected by the image collector,
if v = v0, the central control processor judges that the unmanned aerial vehicle flies in a windless environment;
if v is less than v0, the central control processor judges that the unmanned aerial vehicle flies in the upwind environment, and if v is less than 0.5 x v0, the central control processor judges that the unmanned aerial vehicle cannot fly and controls the unmanned aerial vehicle to search nearby stop points for temporary stop;
if v > v0, the central control processor judges that the unmanned aerial vehicle flies in a downwind environment, and if v > 2 xv 0, the central control processor judges that the unmanned aerial vehicle cannot fly and controls the unmanned aerial vehicle to search nearby stop points for temporary stop.
Further, when the unmanned aerial vehicle flies, the central control processor controls the humidity detector to detect the humidity S of the surrounding environment of the unmanned aerial vehicle so as to judge whether rainfall exists in the surrounding environment of the unmanned aerial vehicle, the central control processor is also provided with preset humidity S0, and when the humidity S is less than or equal to S0, the central control processor judges that the surrounding environment of the unmanned aerial vehicle is a non-rainfall environment;
when S > S0, the central control processor judges that the surrounding environment of the unmanned aerial vehicle is a rainfall environment, if S > 2 multiplied by S0, the central control processor judges that the surrounding environment of the unmanned aerial vehicle is a rainstorm environment, and the central control processor judges that the unmanned aerial vehicle cannot fly and controls the unmanned aerial vehicle to search nearby parking points for temporary parking.
Further, when the central processor controls the unmanned aerial vehicle to avoid, the central processor controls the unmanned aerial vehicle to hover and controls the vision detector to detect the peripheral obstacle information of the unmanned aerial vehicle, if no obstacle exists in one direction in the horizontal direction, the central processor controls the unmanned aerial vehicle to horizontally move along the direction to avoid the obstacle, and if the obstacle exists in the horizontal direction, the central processor controls the unmanned aerial vehicle to vertically ascend or descend to avoid the obstacle.
Compared with the prior art, the unmanned aerial vehicle peripheral environment prediction method has the advantages that the peripheral environment information of the unmanned aerial vehicle can be quickly obtained by collecting the image information of the peripheral environment of the unmanned aerial vehicle, so that the central control processor can quickly obtain the flight height and the flight speed of the unmanned aerial vehicle according to actual conditions, meanwhile, obstacles which can appear in the flight process of the unmanned aerial vehicle can be predicted in advance, the unmanned aerial vehicle can be effectively prevented from being damaged or falling due to collision between the unmanned aerial vehicle and the obstacles, and the inspection efficiency of the unmanned aerial vehicle is effectively improved.
Further, after the central control processor receives the image information, the shape feature of the obstacle which can be identified is obtained from the image information, the obstacle type which belongs to the preset shape feature with the highest similarity to the shape feature is selected as the obstacle type of the shape feature, the image size C of the obstacle is obtained, the size ratio B is calculated according to the C and the actual size C0 of the object of the obstacle type, the height of the unmanned aerial vehicle is quickly determined according to the ratio B, thereby limiting the maximum flying speed of the unmanned aerial vehicle, effectively avoiding the situation that the unmanned aerial vehicle flies too slowly at a high place with less obstacles to cause too high time consumption of return flight and flies too fast at a low place with more obstacles to cause collision with the obstacles, when effectively having improved unmanned aerial vehicle's life, further improved unmanned aerial vehicle's efficiency of patrolling and examining.
Furthermore, when the central control processor finishes extracting the features in the image information, the central control processor sequentially judges the types of the obstacles according to the shapes and the colors of the obstacles in the image information respectively, and detects the environment where the unmanned aerial vehicle is located according to the judgment result to adjust the flight height or the maximum flight speed of the unmanned aerial vehicle.
Furthermore, the central control processor controls the signal transceiver to detect the absolute distance D between the unmanned aerial vehicle and the stop point in real time so as to adjust the maximum flying height Hmax' of the unmanned aerial vehicle after adjustment for the second time.
Furthermore, when the unmanned aerial vehicle flies, the central control processor determines the critical safety distance between the unmanned aerial vehicle and the obstacle according to the actual flying speed v of the unmanned aerial vehicle.
Furthermore, when the central control processor detects that a moving obstacle exists around the unmanned aerial vehicle through the image collector, the central control processor detects the relative moving speed V between the moving obstacle and the unmanned aerial vehicle and the distance L between the moving obstacle and the unmanned aerial vehicle in real time through the vision detector and controls the unmanned aerial vehicle to continuously fly or avoid according to V and L.
Furthermore, when the unmanned aerial vehicle moves, the central control processor predicts the preset flying speed v0 of the unmanned aerial vehicle according to the rotating speed of the fan blades and obtains the actual moving speed v of the unmanned aerial vehicle according to the image information acquired by the image acquisition device.
Furthermore, when the unmanned aerial vehicle flies, the central control processor controls the humidity detector to detect the humidity S of the surrounding environment of the unmanned aerial vehicle so as to judge whether the surrounding environment of the unmanned aerial vehicle has rainfall.
Drawings
Fig. 1 is a block diagram of a drone using the method of the present invention;
fig. 2 is a flow chart of the obstacle avoidance method for the unmanned aerial vehicle inspection safety return.
Detailed Description
In order that the objects and advantages of the invention will be more clearly understood, the invention is further described below with reference to examples; it should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and do not limit the scope of the present invention.
It should be noted that in the description of the present invention, the terms of direction or positional relationship indicated by the terms "upper", "lower", "left", "right", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, which are only for convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Fig. 1 is a block diagram of an unmanned aerial vehicle using the method of the present invention. The unmanned aerial vehicle comprises a central control processor, two image collectors, a signal transceiver and a humidity detector. The image collector is arranged at the bottom and the top of the unmanned aerial vehicle respectively and used for collecting image information of the surrounding environment of the unmanned aerial vehicle. The signal transceiver is arranged at the top of the unmanned aerial vehicle and used for sending signals to a base station at a stop point. Moisture detector sets up at the unmanned aerial vehicle top for detect the humidity of unmanned aerial vehicle hand edge ring border. The central control processor is respectively connected with the image collector, the signal transceiver and the humidity detector and used for receiving data measured by the image collector, the signal transceiver and the humidity detector, analyzing the actual environment of the unmanned aerial vehicle according to the data and controlling the unmanned aerial vehicle to make corresponding flight actions.
Fig. 2 shows a flow chart of an obstacle avoidance method for the unmanned aerial vehicle inspection safety return flight according to the present invention. The invention relates to an obstacle avoidance method for safe return of unmanned aerial vehicle inspection, which comprises the following steps:
step s1, when the unmanned aerial vehicle returns, the central control processor in the unmanned aerial vehicle controls the image collector to collect image information right below the unmanned aerial vehicle, the central control processor collects scenery features in the image information, and the size ratio of the scenery feature size in the image information to the actual size of the corresponding scenery feature is calculated to judge the actual height of the unmanned aerial vehicle;
step s2, the central control processor preliminarily determines the maximum flying speed of the unmanned aerial vehicle according to the actual height of the unmanned aerial vehicle, and after the preliminary determination is completed, the central control processor controls the signal transceiver to detect the absolute distance between the unmanned aerial vehicle and the stop point, adjusts the maximum flying height of the unmanned aerial vehicle according to the actual value of the absolute distance and determines the maximum flying speed of the unmanned aerial vehicle again;
step s3, the central control processor sets the critical safety distance between the unmanned aerial vehicle and the surrounding environment as a corresponding value according to the flight height of the unmanned aerial vehicle, when the unmanned aerial vehicle returns, the central control processor controls the image collector to detect the distance between the object in the environment and the unmanned aerial vehicle, if the distance between the object in the environment and the unmanned aerial vehicle is less than the critical safety distance, the central control processor controls the image collector to collect the surrounding environment condition of the unmanned aerial vehicle and controls the unmanned aerial vehicle to move towards the direction without obstacles in the critical safety distance;
step s4, when the distance between the unmanned aerial vehicle and the stop point is lower than a preset interval and the central control processor can directly observe the stop point through the image collector, the central control processor judges that the unmanned aerial vehicle enters a stop stage and controls the unmanned aerial vehicle to land at the stop point;
in step s1, after receiving the image information, the central processing unit obtains shape features of the recognizable obstacles from the image information, uses an obstacle type to which a preset shape feature having a highest similarity with the shape features belongs as an obstacle type of the shape features, obtains an image size C of the obstacle, calculates a size ratio B according to C and an actual size C0 of an object of the type to which the obstacle belongs, and sets B = C/C0;
the central control processor is provided with a first preset ratio B1, a second preset ratio B2, a first preset critical speed V1, a second preset critical speed V2 and a third preset critical speed V3, wherein B1 is less than B2, and V1 is more than V2 and more than V3;
when B is not more than B1, the central control processor judges that the height H of the unmanned aerial vehicle is between 2/3Hmax and sets the maximum flying speed of the unmanned aerial vehicle to be a first preset critical speed V1, wherein Hmax is the maximum flying height which can be reached by the unmanned aerial vehicle;
when B1 is greater than B and less than or equal to B2, the central control processor determines that the height H of the unmanned aerial vehicle is between 1/3Hmax and 2/3Hmax and sets the maximum flying speed of the unmanned aerial vehicle to be a second preset critical speed V2;
when B is larger than B2, the central control processor determines that the height H of the unmanned aerial vehicle is lower than 1/3Hmax and sets the maximum flying speed of the unmanned aerial vehicle to be a third preset critical speed V3;
according to the unmanned aerial vehicle monitoring system and the unmanned aerial vehicle monitoring method, the image information of the surrounding environment of the unmanned aerial vehicle is acquired, so that the surrounding environment information of the unmanned aerial vehicle can be quickly obtained, the central control processor can quickly obtain the flight height and the flight speed of the unmanned aerial vehicle according to actual conditions, meanwhile, obstacles which can appear in the flight process of the unmanned aerial vehicle are predicted in advance, the situation that the unmanned aerial vehicle is damaged or crashed due to collision between the unmanned aerial vehicle and the obstacles can be effectively avoided, and the inspection efficiency of the unmanned aerial vehicle is effectively improved.
Furthermore, the height of the unmanned aerial vehicle is quickly determined according to the ratio B, so that the maximum flight speed of the unmanned aerial vehicle is limited, the situation that the unmanned aerial vehicle is too high in return flight time due to too slow flight at a high place with few obstacles and collides with the obstacles due to too fast flight at a low place with many obstacles can be effectively avoided, the service life of the unmanned aerial vehicle is effectively prolonged, and meanwhile the inspection efficiency of the unmanned aerial vehicle is further improved.
Specifically, the avoidance modes include deceleration, hovering, steering, ascending and descending. When the central control processor controls the unmanned aerial vehicle to avoid, the central control processor controls the unmanned aerial vehicle to hover and controls the vision detector to detect the peripheral obstacle information of the unmanned aerial vehicle, if no obstacle exists in one direction in the horizontal direction, the central control processor controls the unmanned aerial vehicle to horizontally move along the direction to avoid the obstacle, and if the obstacle exists in the horizontal direction, the central control processor controls the unmanned aerial vehicle to vertically ascend or descend to avoid the obstacle.
Specifically, when the central control processor finishes extracting the features in the image information, the central control processor sequentially judges the type of each obstacle according to the shape and the color of each obstacle in the image information, and detects the environment where the unmanned aerial vehicle is located according to the judgment result to adjust the flying height or the maximum flying speed of the unmanned aerial vehicle;
the central control processor is internally provided with a first preset type environment A1, a second preset type environment A2, a third preset type environment A3, a first preset flying height adjusting coefficient a1, a second preset flying height adjusting coefficient a2 and a preset shifting speed adjusting coefficient b, wherein a1 is more than 1 and less than 1.5, a2 is more than 1.5 and b is more than 0.5 and less than 1;
when the central control processor determines that the plant feature proportion in the image information is the highest, the central control processor determines that the environment where the unmanned aerial vehicle is located is a first preset type environment A1, and the central control processor adjusts the highest flying height of the unmanned aerial vehicle by using a first preset flying height adjusting coefficient a 1;
when the central control processor determines that the building characteristic proportion is the highest or the building characteristic proportion and the plant characteristic proportion are the same in the image information, the central control processor determines that the environment where the unmanned aerial vehicle is located is a second preset type environment A2, and the central control processor adjusts the highest flying height of the unmanned aerial vehicle by using a second preset flying height adjusting coefficient a 2;
when the central control processor judges that the character features exist in the image information, the central control processor judges that the environment where the unmanned aerial vehicle is located is a third preset type environment A3, the central control processor adjusts the maximum flight speed of the unmanned aerial vehicle by using a preset moving speed adjusting coefficient, and selects a corresponding preset flight height adjusting coefficient according to the plant feature ratio and the building feature ratio to adjust the maximum flight height of the unmanned aerial vehicle;
when the central control processor adjusts the highest flying height of the unmanned aerial vehicle by using the ith preset flying height adjusting coefficient ai, setting i =1, 2, and setting Hmax' = Hmax × ai; when the central control processor adjusts the maximum flying speed of the unmanned aerial vehicle by using the preset shifting speed adjusting coefficient, the adjusted maximum flying speed of the unmanned aerial vehicle is marked as Vj ', and Vj' = Vj × b0 is set, wherein j =1, 2, 3, and b0 are the preset shifting speed adjusting coefficient.
According to the invention, the environment type of the unmanned aerial vehicle is accurately determined according to the plant characteristic proportion, the building characteristic proportion and whether the character characteristic exists in the image information, and meanwhile, the probability of collision between the unmanned aerial vehicle and the obstacle can be effectively reduced by adjusting the flight height or the maximum flight height of the unmanned aerial vehicle under different types of environments, so that the inspection efficiency of the unmanned aerial vehicle is further improved.
Specifically, when the unmanned aerial vehicle flies, the central control processor controls the signal transceiver to detect the absolute distance D between the unmanned aerial vehicle and a stop point in real time so as to perform secondary adjustment on the adjusted maximum flying height Hmax' of the unmanned aerial vehicle, and the central control processor is also provided with a first preset distance D1, a second preset distance D2, a first preset height adjustment coefficient e1 and a second preset height adjustment coefficient e2, wherein D1 is more than D2, and 0.5 < e2 < e1 < 0.8;
when D is larger than D1, the central control processor does not perform secondary adjustment on Hmax';
when D2 is more than D and less than or equal to D1, the central control processor uses a first preset height adjusting coefficient e1 to perform secondary adjustment on Hmax';
when D is not more than D2, the central control processor uses a second preset height adjusting coefficient e2 to perform secondary adjustment on Hmax';
when the central control processor secondarily adjusts Hmax 'by using the ith preset altitude adjustment coefficient ei, i =1, 2 is set, the maximum flying altitude after the secondary adjustment is recorded as Hmax ", and Hmax" = Hmax' × ei is set.
According to the invention, the flying speed of the unmanned aerial vehicle is gradually reduced according to the distance relationship between the unmanned aerial vehicle and the stop point, so that the unmanned aerial vehicle can fly more accurately when the distance between the unmanned aerial vehicle and the stop point is lower than a preset value, the collision with an obstacle caused by the excessively high flying speed of the unmanned aerial vehicle can be effectively avoided while accurate landing is ensured, and the inspection efficiency of the unmanned aerial vehicle is further improved.
Specifically, when the unmanned aerial vehicle flies, the central control processor determines a critical safety distance between the unmanned aerial vehicle and an obstacle according to the actual flying speed v of the unmanned aerial vehicle; the central control processor is also provided with a first preset flying speed v1, a second preset flying speed v2, a first preset safety distance L1, a second preset safety distance L2 and a third preset safety distance L3, wherein v1 is more than v2, and L1 is more than L2 and more than L3;
when v is less than or equal to v1, the central control processor sets the critical safety distance between the unmanned aerial vehicle and the obstacle to be L1;
when v is greater than v1 and less than or equal to v2, the central control processor sets the critical safety distance between the unmanned aerial vehicle and the obstacle to be L2;
when v > v2, the central control processor sets the critical safety distance between the drone and the obstacle to L3.
According to the invention, the corresponding safe distance is selected according to different flight speeds of the unmanned aerial vehicle, so that the central control processor can have sufficient response time when the unmanned aerial vehicle flies at different speeds and meets obstacles, thereby further avoiding the collision between the unmanned aerial vehicle and the obstacles and further improving the inspection efficiency of the unmanned aerial vehicle.
Specifically, when the central control processor detects that a moving obstacle exists around the unmanned aerial vehicle through the image collector, the central control processor detects the relative moving speed V between the moving obstacle and the unmanned aerial vehicle and the distance L between the moving obstacle and the unmanned aerial vehicle in real time through the vision detector and controls the unmanned aerial vehicle to continuously fly or avoid according to V and L; the central control processor is provided with a preset relative movement speed V0,
when the central control processor detects that the moving barrier and the unmanned aerial vehicle gradually approach each other and the relative movement speed V between the moving barrier and the unmanned aerial vehicle is less than or equal to V0, the central control processor judges that the barrier and the environment are relatively static or the barrier and the unmanned aerial vehicle move in the same direction, the central control processor detects the distance L between the moving barrier and the unmanned aerial vehicle in real time and controls the unmanned aerial vehicle to avoid the barrier when the L is less than or equal to Li, and Li =1, 2, 3 is set;
when the central control processor detects that the moving barrier is gradually close to the unmanned aerial vehicle and the relative moving speed V between the moving barrier and the unmanned aerial vehicle is larger than V0, the central control processor judges that the barrier and the unmanned aerial vehicle move in opposite directions, and the central control processor selects a corresponding avoidance mode according to the surrounding environment of the unmanned aerial vehicle to control the unmanned aerial vehicle to avoid the barrier.
According to the unmanned aerial vehicle inspection system, the preset relative movement speed is set, so that when the unmanned aerial vehicle encounters a moving obstacle, the moving path of the obstacle is preliminarily analyzed, the situation that the time consumed for return flight is increased due to deceleration or avoidance of the unmanned aerial vehicle caused by the fact that the obstacle does not collide with the unmanned aerial vehicle and the situation that the unmanned aerial vehicle collides with the obstacle caused by the fact that the unmanned aerial vehicle decelerates or avoids the obstacle are avoided, the service life of the unmanned aerial vehicle is further prolonged, and meanwhile, the inspection efficiency of the unmanned aerial vehicle is further improved.
Specifically, when the unmanned aerial vehicle moves, the central control processor predicts the preset flying speed v0 of the unmanned aerial vehicle according to the rotating speed of the fan blades and obtains the actual moving speed v of the unmanned aerial vehicle according to the image information collected by the image collector,
if v = v0, the central control processor judges that the unmanned aerial vehicle flies in a windless environment;
if v is less than v0, the central control processor judges that the unmanned aerial vehicle flies in the upwind environment, and if v is less than 0.5 x v0, the central control processor judges that the unmanned aerial vehicle cannot fly and controls the unmanned aerial vehicle to search nearby stop points for temporary stop;
if v > v0, the central control processor judges that the unmanned aerial vehicle flies in a downwind environment, and if v > 2 xv 0, the central control processor judges that the unmanned aerial vehicle cannot fly and controls the unmanned aerial vehicle to search nearby stop points for temporary stop.
According to the invention, whether the unmanned aerial vehicle is in a windy environment or not is judged by comparing the preset moving speed with the actual moving speed, and if the wind speed is too high, the central control processor controls the unmanned aerial vehicle to land to avoid wind urgently, so that the situation that the unmanned aerial vehicle is damaged by the too high wind speed is prevented, the service life of the unmanned aerial vehicle is further prolonged, and the inspection efficiency of the unmanned aerial vehicle is further improved.
Specifically, when the unmanned aerial vehicle flies, the central control processor controls the humidity detector to detect the humidity S of the surrounding environment of the unmanned aerial vehicle so as to judge whether rainfall exists in the surrounding environment of the unmanned aerial vehicle, the central control processor is also provided with preset humidity S0, and when S is less than or equal to S0, the central control processor judges that the surrounding environment of the unmanned aerial vehicle is a non-rainfall environment;
when S > S0, the central control processor judges that the surrounding environment of the unmanned aerial vehicle is a rainfall environment, if S > 2 multiplied by S0, the central control processor judges that the surrounding environment of the unmanned aerial vehicle is a rainstorm environment, and the central control processor judges that the unmanned aerial vehicle cannot fly and controls the unmanned aerial vehicle to search nearby parking points for temporary parking.
According to the invention, whether the unmanned aerial vehicle is in a rainfall environment is judged by detecting the humidity around the unmanned aerial vehicle, and if the rainfall is too large, the central control processor controls the unmanned aerial vehicle to land to take shelter from rain urgently, so that the damage of rainwater to the interior of the unmanned aerial vehicle is prevented, the service life of the unmanned aerial vehicle is further prolonged, and the inspection efficiency of the unmanned aerial vehicle is further improved.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention; various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.