CN116520877B - Autonomous positioning and control method in narrow pipeline of four-rotor unmanned aerial vehicle - Google Patents

Autonomous positioning and control method in narrow pipeline of four-rotor unmanned aerial vehicle Download PDF

Info

Publication number
CN116520877B
CN116520877B CN202310389346.4A CN202310389346A CN116520877B CN 116520877 B CN116520877 B CN 116520877B CN 202310389346 A CN202310389346 A CN 202310389346A CN 116520877 B CN116520877 B CN 116520877B
Authority
CN
China
Prior art keywords
aerial vehicle
unmanned aerial
pipeline
control
real
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310389346.4A
Other languages
Chinese (zh)
Other versions
CN116520877A (en
Inventor
刘磊
曾紫媛
杨嘉豪
李王冕
薛辰龙
樊慧津
王博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN202310389346.4A priority Critical patent/CN116520877B/en
Publication of CN116520877A publication Critical patent/CN116520877A/en
Application granted granted Critical
Publication of CN116520877B publication Critical patent/CN116520877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/10Simultaneous control of position or course in three dimensions
    • G05D1/101Simultaneous control of position or course in three dimensions specially adapted for aircraft
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The invention discloses an autonomous positioning and controlling method in a narrow pipeline of a four-rotor unmanned aerial vehicle, which belongs to the field of unmanned aerial vehicle control, and the method is used for positioning the unmanned aerial vehicle based on a laser ranging principle under a pipeline coordinate system; when the unmanned aerial vehicle is located in the pipeline cruising section, double closed-loop control is carried out by utilizing the acquired real-time information and expected information of the unmanned aerial vehicle, and control instructions of the height, the roll angle, the pitch angle and the yaw angle of the unmanned aerial vehicle in the Z-axis direction are obtained. According to the method, the flight characteristics of the four-rotor unmanned aerial vehicle are combined, the unmanned aerial vehicle in the closed narrow pipeline can be autonomously positioned and controlled under the GPS refusing condition, and the unmanned aerial vehicle has the capability of autonomously executing a space detection task in the pipeline aiming at the pipeline with the diameter smaller than 600mm, so that the application scene of the four-rotor unmanned aerial vehicle is expanded, and a new solution is provided for detecting the closed pipeline.

Description

Autonomous positioning and control method in narrow pipeline of four-rotor unmanned aerial vehicle
Technical Field
The invention belongs to the field of unmanned aerial vehicle control, and particularly relates to an autonomous positioning and controlling method in a narrow pipeline of a four-rotor unmanned aerial vehicle.
Background
The four-rotor unmanned aerial vehicle is a multiaxial aircraft which utilizes four rotors to generate lift. The four rotors provide different thrust to control the take-off, landing, hovering and flying movements of the unmanned aerial vehicle in all directions. In recent years, with the development of microprocessor technology, sensor technology and manufacturing technology, the four-rotor unmanned aerial vehicle has higher and higher intelligent and miniaturization degree. By loading various sensors on the quadrotor unmanned aerial vehicle, the quadrotor unmanned aerial vehicle can fly in an autonomous mode. Autonomous flight control of quad-rotor unmanned vehicles has also received wide attention and application.
Nowadays, the application scenario of the quadrotor unmanned plane is not limited to outdoor open environments, but begins to be involved in more and more complex environments, such as closed environments of sewer, pipeline, passage shaft, chimney and the like. Almost all industries face more or less the need of detecting and monitoring a closed space, while the current detection technology mainly relies on manual field detection, so that in order to reduce the harm of choking, fire and explosion possibly faced by workers in the environment, expensive safety protection measures are required to be additionally provided, and extra operation cost is increased. If the unmanned aerial vehicle with various sensors is used for executing the detection task of the closed pipeline environment, the operation cost can be greatly reduced, the safety and stability of task execution are improved, and meanwhile, the flexible maneuvering performance of the unmanned aerial vehicle can also greatly improve the detection efficiency.
Disclosure of Invention
Aiming at the defects or improvement demands of the prior art, the invention provides an autonomous positioning and controlling method in a narrow pipeline of a four-rotor unmanned aerial vehicle, and aiming at a pipeline with the diameter smaller than 600mm, the unmanned aerial vehicle has the capability of autonomously executing a space detection task in the pipeline, so that the application scene of the four-rotor unmanned aerial vehicle is expanded, and a new solution is provided for the detection of a closed pipeline.
To achieve the above object, according to a first aspect of the present invention, there is provided a method for autonomous positioning and control in a narrow duct of a quad-rotor unmanned helicopter, comprising:
S1, positioning an unmanned aerial vehicle based on a laser ranging principle under a pipeline coordinate system;
S2, when the unmanned aerial vehicle is located in a pipeline cruising section, performing double closed-loop control by using the acquired real-time information and expected information of the unmanned aerial vehicle to obtain a control instruction U 1,U2,U3,U4 of the unmanned aerial vehicle in the Z-axis direction, namely the height, the rolling angle, the pitch angle and the yaw angle;
wherein the real-time information includes: real-time position y and z of unmanned aerial vehicle on Y, Z axis, real-time speed v x、vy、vz on X, Y, Z axis and real-time yaw angle Pitch angle θ and roll angle Φ; the pipeline coordinate system takes the axial direction of a pipeline as an X axis and the radial direction of the end face of an inlet of the pipeline as a Z axis; the desired information includes: desired position y d、zd of the drone at Y, Z axis, desired speed v xd at X axis, and desired yaw angle/>, relative to the direction of pipe travel
The double closed-loop control comprises outer ring position control, gesture inverse solution and inner ring gesture control; the outer ring position is controlled to take y d、zd, y and z as input, and output U 1 and acceleration U x and U y in the expected X, Y axis direction; the gesture is inversely solved according toU x and u y are inversely solved to obtain a desired pitch angle theta d and a roll angle phi d; the inner ring gesture is controlled to be/>θ、φ、/>Θ d and φ d are inputs, and U 2,U3,U4 is output.
According to a second aspect of the present invention, there is provided an autonomous positioning and control system within a narrow duct of a quadrotor unmanned aerial vehicle, comprising:
the sensor module comprises eight laser ranging sensors, an optical flow sensor, an accelerometer, a gyroscope and a magnetometer;
the six laser ranging sensors are uniformly distributed around the central section of the unmanned aerial vehicle and are used for collecting the relative position information of the unmanned aerial vehicle in the pipeline;
The optical flow sensor and the acceleration sensor are respectively arranged at the bottom and the gravity center of the unmanned aerial vehicle and are respectively used for acquiring first speed information and second speed information of the unmanned aerial vehicle so as to determine the real-time speed of the unmanned aerial vehicle;
The gyroscope is used for collecting real-time pitch angle and roll angle of the unmanned aerial vehicle;
the magnetometer is used for jointly confirming the real-time yaw angle of the unmanned aerial vehicle with the gyroscope before the unmanned aerial vehicle enters the pipeline or after the unmanned aerial vehicle leaves the pipeline;
A controller for performing the method as described in the first aspect.
According to a third aspect of the present invention, there is provided an autonomous positioning and control system in a narrow duct of a quadrotor unmanned aerial vehicle, comprising: a computer readable storage medium and a processor;
the computer-readable storage medium is for storing executable instructions;
the processor is configured to read executable instructions stored in the computer readable storage medium and perform the method according to the first aspect.
According to a fourth aspect of the present invention there is provided a computer readable storage medium storing computer instructions for causing a processor to perform the method according to the first aspect.
In general, the above technical solutions conceived by the present invention, compared with the prior art, enable the following beneficial effects to be obtained:
1. According to the method for automatically positioning and controlling the four-rotor unmanned aerial vehicle in the narrow pipeline, provided by the invention, a set of method for automatically positioning and controlling the unmanned aerial vehicle in the narrow pipeline under the condition of GPS refusal of multi-sensor fusion is designed by combining with the flight characteristics of the four-rotor unmanned aerial vehicle, and aiming at the pipeline with the diameter smaller than 600mm, the unmanned aerial vehicle has the capability of automatically executing a space detection task in the pipeline, so that the application scene of the four-rotor unmanned aerial vehicle is expanded, and a new solution is provided for detecting the closed pipeline.
2. According to the method for autonomously positioning and controlling the four-rotor unmanned aerial vehicle in the narrow pipeline, provided by the invention, the included angle of the unmanned aerial vehicle relative to the pipeline advancing direction is defined as the yaw angle, and compared with the mode that the yaw angle is judged by using a magnetometer in the prior art, the method has the advantage of being free from the interference of an external magnetic field, and is more suitable for the flight environment in the pipeline; in addition, the real-time position information of the unmanned aerial vehicle moving along the X direction is obtained through speed integration, and the position information obtained through integration is inaccurate, so that the real-time position information of the X direction is not adopted to participate in the control process, the speed information of the X direction is utilized to participate in the control process, and the unmanned aerial vehicle has the advantages of being more flexible, direct and high in adaptability, and meanwhile, the stability and the control precision of the movement in a pipeline can be improved.
Drawings
Fig. 1 is a schematic flow chart of an autonomous positioning and controlling method in a narrow pipeline of a quad-rotor unmanned helicopter provided by an embodiment of the invention;
fig. 2 is a block diagram of a four-rotor unmanned aerial vehicle system according to an embodiment of the present invention;
Fig. 3 is a schematic diagram of an installation position of an eight-directional laser sensor on a quad-rotor unmanned helicopter according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a pipeline coordinate system according to an embodiment of the present invention;
Fig. 5 is a flow chart of a flight in a pipeline of a quad-rotor unmanned helicopter provided by an embodiment of the invention;
fig. 6 is a schematic diagram of a dual closed-loop control system architecture of a quad-rotor unmanned helicopter provided by an embodiment of the present invention;
FIG. 7 is a block diagram of a position loop cascade PID control provided by an embodiment of the invention;
Fig. 8 is a schematic view of a yaw angle of the unmanned aerial vehicle in a pipeline according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. In addition, the technical features of the embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
The embodiment of the invention provides an autonomous positioning and controlling method in a narrow pipeline of a four-rotor unmanned aerial vehicle, which is shown in fig. 1 and comprises the following steps:
S1, positioning an unmanned aerial vehicle based on a laser ranging principle under a pipeline coordinate system;
S2, when the unmanned aerial vehicle is located in a pipeline cruising section, performing double closed-loop control by using the acquired real-time information and expected information of the unmanned aerial vehicle to obtain a control instruction U 1,U2,U3,U4 of the unmanned aerial vehicle in the Z-axis direction, namely the height, the rolling angle, the pitch angle and the yaw angle;
wherein the real-time information includes: real-time position y and z of unmanned aerial vehicle on Y, Z axis, real-time speed v x、vy、vz on X, Y, Z axis and real-time yaw angle Pitch angle θ and roll angle Φ; the pipeline coordinate system takes the axial direction of a pipeline as an X axis and the radial direction of the end face of an inlet of the pipeline as a Z axis; the desired information includes: desired position y d、zd of the drone at Y, Z axis, desired speed v xd at X axis, and desired yaw angle/>, relative to the direction of pipe travel
The double closed-loop control comprises outer ring position control, gesture inverse solution and inner ring gesture control; the outer ring position is controlled to take y d、zd, y and z as input, and output U 1 and acceleration U x and U y in the expected X, Y axis direction; the gesture is inversely solved according toU x and u y are inversely solved to obtain a desired pitch angle theta d and a roll angle phi d; the inner ring gesture is controlled to be/>θ、φ、/>Θ d and φ d are inputs, and U 2,U3,U4 is output.
Preferably, when the pipe coordinate system takes the lowest point of the pipe inlet end face as the origin, the expected position Y d =0 of the Y axis of the unmanned plane, the expected position z d =r of the z axis, and the expected yaw angleThe desired speed v xd in the X-axis direction is the desired cruising speed v 1; where r is the radius of the pipe cross section.
Preferably, both the outer loop position control and the inner loop attitude control employ PID control.
Preferably, the drone is considered to be in the pipe cruise section when the following three conditions are met;
First condition: d 1、d3、d6 is less than d th1;
Second condition: d 4、d5 is less than d th2;
third condition: d 7、d8 is less than d th2;
D 1、d2 is data acquired by laser ranging sensors distributed at the top and bottom centers of the unmanned aerial vehicle, d 3、d4、d5、d6、d7、d8 is data acquired by six laser ranging sensors uniformly distributed around the center section of the unmanned aerial vehicle, and d th1、dth2 is a first threshold value and a second threshold value.
Preferably, when only the first condition and the second condition are satisfied, then the unmanned aerial vehicle is considered to be located at the pipeline cruising entrance section, and the desired speed v xd=v0 in the X-axis direction is set;
When only the first condition and the third condition are met, the unmanned aerial vehicle is considered to be positioned at the pipeline cruising inlet section, and the expected speed v xd=v0 in the X-axis direction is set;
wherein v 0<vxd.
Preferably, the unmanned aerial vehicle is a real-time yaw angleThe real-time positions y and z on Y, Z axes are calculated according to the following formulas:
y=d6-d3
z=d2
specifically, the scheme provided by the embodiment of the invention mainly comprises the construction of a pipeline detection four-rotor unmanned aerial vehicle hardware system and the design of an unmanned aerial vehicle pipeline internal control algorithm.
1. Four rotor unmanned aerial vehicle hardware systems
The pipeline detection four-rotor unmanned aerial vehicle hardware system is as shown in fig. 2, and the whole architecture can be divided into five parts: sensor system, actuator system, electrical power generating system, manual operating system and Pixhawk bottom control board. When the four-rotor unmanned aerial vehicle enters the pipeline, the sensor system formed by the optical flow sensor, the eight-direction laser sensor, the magnetometer, the accelerometer, the gyroscope and other sensors collects original pose information, the original pose information is transmitted to the Pixhawk bottom control board, pose information of the unmanned aerial vehicle in the pipeline is obtained after the pose information is calculated in the Pixhawk through the pose calculating module, and a control instruction is output to the executing mechanism through the cascade control system of the position and the pose, so that the executing mechanism regulates the rotation of the four rotors, and the movement of the unmanned aerial vehicle in the pipeline is controlled. In the whole process, the power supply system is responsible for providing power for the system.
1.1. Sensor system
The sensor system mainly comprises an optical flow sensor, an accelerometer, a gyroscope (used for collecting the pitch angle and the roll angle of the unmanned aerial vehicle), a magnetometer and an eight-direction laser sensor. The method is used for acquiring pose information of the unmanned aerial vehicle in the pipeline. When the sensor system is installed, the accelerometer and the gyroscope should be installed near the gravity center of the unmanned aerial vehicle as much as possible; the magnetometer needs to be installed far away from a strong magnetic interference source such as a power line, a strong magnetic load and the like; the optical flow sensor is arranged at the bottom of the unmanned aerial vehicle, image information is acquired through the downward-looking camera, the moving speed of the pixels obtained by analyzing frame data of different moments of images is converted into the flying speed of the unmanned aerial vehicle, and as the interior of a pipeline is usually a dark environment, a light source is required to be additionally added for light supplementing when the optical flow sensor is used.
Because the section in the pipeline is relatively regular round, the invention mainly utilizes the eight-direction laser sensor to obtain the relative position information of the unmanned aerial vehicle in the pipeline. The eight-direction laser sensor module consists of eight laser ranging sensors which are respectively arranged at different positions on the unmanned aerial vehicle as shown in fig. 3, wherein two laser sensors are arranged at the bottom and the top of the quadrotor unmanned aerial vehicle, and distance information of the quadrotor unmanned aerial vehicle from the bottom and the top of the pipeline is obtained; the other six laser sensors are uniformly distributed on one circle of the central section of the unmanned aerial vehicle, and the included angle between two adjacent laser sensors is 60 degrees.
Pixhawk underlying control board
The Pixhawk bottom control board is provided with a microcontroller, and an accelerometer, a gyroscope and a magnetometer sensor are integrated. The Pixhawk can acquire the original data acquired by the sensor system, and calculate the real position and posture information of the four-rotor unmanned aerial vehicle after processing. The Pixhawk is provided with a control algorithm, and control signals of four motors are output to an execution mechanism system, so that the unmanned aerial vehicle can realize autonomous control in a pipeline.
1.3. Actuator system
The actuating mechanism system of the pipeline detection unmanned aerial vehicle comprises an electronic speed regulator, a motor and paddles. The control signal obtained by calculation of the Pixhawk bottom control board is input to the electronic speed regulator, and the electronic speed regulator regulates the motor to rotate according to the control signal so as to drive the blade to rotate to generate lifting force. The four-rotor unmanned aerial vehicle adjusts the gesture of unmanned aerial vehicle through the rotational speed that changes four motors to the removal of control unmanned aerial vehicle.
1.4. Power supply system
The power supply system of the pipeline detection unmanned aerial vehicle adopts a lithium platinum battery. One path of the battery directly supplies power to the motor through the electric power regulator; the other path of the sensor is supplied to the Pixhawk bottom control board through the voltage reducing module to reduce the voltage to 5V, and the sensor is driven to work through a voltage output port of the bottom control board.
1.5. Manual operation system
The flight control of the quadrotor unmanned aerial vehicle outside the pipeline is controlled by a flying hand, and the flying hand sends a control instruction to the quadrotor unmanned aerial vehicle through a remote controller to control the unmanned aerial vehicle to fly into the pipeline. The unmanned aerial vehicle can independently execute the flight task in the pipeline, and after the unmanned aerial vehicle flies out of the pipeline, the flight hand can operate the four-rotor unmanned aerial vehicle to return to the appointed position through the remote controller.
2. Control software system in unmanned aerial vehicle pipeline
The invention builds an overall software system architecture aiming at the autonomous flight task of the four-rotor unmanned aerial vehicle in the pipeline, and comprises a positioning algorithm of the unmanned aerial vehicle in the pipeline, an autonomous flight program design in the pipeline and a four-rotor unmanned aerial vehicle control algorithm.
2.1. Pipeline internal positioning algorithm
For in-pipeline flight tasks, a pipeline coordinate system as shown in FIG. 4 is established. The X axis is the axial direction of the pipeline, and the pipeline inlet points to the extending direction of the pipeline; the Y axis is positioned on a circular tangential plane at the inlet of the pipeline and is vertical to the X axis, and the right direction is the positive direction of the Y axis; the Z axis is vertical to X, Y axis, and the vertical upward direction is the positive direction of the Z axis; the triaxial intersects at the origin O, and the origin O is located the circular tangent plane minimum point of pipeline entrance. The position p= [ P x py pz ], the speed v= [ V x vy vz ] of the unmanned aerial vehicle in the pipeline coordinate system is defined.
2.1.1. Triaxial speed fusion algorithm
The optical flow sensor can calculate the speed of the object motion in a certain plane by using the pixel information of the adjacent frame images, and the accelerometer can detect the acceleration of the object motion and integrate the speed of the object motion. Therefore, the accelerometer sensor and the optical flow sensor which are mounted on the unmanned aerial vehicle can obtain the speed information under the axis of the unmanned aerial vehicle body. The three-axis movement speed of the unmanned aerial vehicle obtained by the accelerometer is represented by V a=[vax vay vaz, and the speed information of the unmanned aerial vehicle moving in the XY plane obtained by the optical flow sensor is represented by V op=[vopx vopy.
And defining the motion speed V [ k ] = [ V x[k] vy[k] vz [ k ] ] of the quadrotor unmanned plane in the pipeline along the pipeline coordinate system at the moment k. The final movement speed of the quadrotor unmanned aerial vehicle in the XY direction in the pipeline is obtained by complementary filtering:
vx[k]=vax+c(vx[k-1]-vopx)
vy[k]=vay+c(vy[k-1]-vopy)
Wherein c is the complementary filtering weight of the optical flow. And the speed of the unmanned plane in the Z direction at the moment k is obtained by integrating the acceleration in the Z direction acquired by the accelerometer, namely v z[k]=vaz. That is, the real-time speed of the unmanned aerial vehicle is V [ k ] = [ V x[k] vy[k] vz [ k ] ] or more, which is the real-time speed of the unmanned aerial vehicle.
2.1.2. Triaxial positioning algorithm
Real-time position information of the four-rotor unmanned aerial vehicle moving along the X direction is obtained by integrating speed information in the X direction, namely p x=∫vx.
As the unmanned aerial vehicle executes the flight task in the pipeline, the unmanned aerial vehicle mainly moves forward and backward along the X axis by changing the pitching angle. Because the pipeline is comparatively narrow, the roll angle can not appear changing by a wide margin in the whole task execution process, remains near 0 all the time, so four rotor unmanned aerial vehicle's real-time position information on the Y axle can be confirmed by installing the laser sensor about unmanned aerial vehicle, represents the distance information that the laser ranging sensor that the serial number is i with d i, has then: p y=d3-d6.
Considering that the pipeline is in a narrow environment and has a certain wind disturbance, when the four-rotor unmanned aerial vehicle makes flying motion in the pipeline, the condition of large attitude angle change cannot occur, and the attitude of the four-rotor unmanned aerial vehicle relatively keeps a stable state, so that the height information of the four-rotor unmanned aerial vehicle in the pipeline (namely, the real-time position information of the four-rotor unmanned aerial vehicle on the Z axis) can be represented by the distance information measured by the underlying laser sensor, namely, p z=d2.
2.2. Autonomous flight programming
The autonomous flight process of the quadrotor unmanned aerial vehicle in the pipeline mainly comprises three stages: a pipe inlet section, a pipe outlet section, and a pipe cruise section. The unmanned aerial vehicle executes different instructions at the three stages respectively, so that the whole flight inspection task is completed. The whole flight flow is shown in fig. 5, the unmanned aerial vehicle advances at a low speed (v 0) at the inlet section of the pipeline, and when the unmanned aerial vehicle completely enters the pipeline, the unmanned aerial vehicle flies at a preset cruising speed v 1, and when the unmanned aerial vehicle approaches the outlet of the pipeline, the unmanned aerial vehicle is slowed down and flies out of the pipeline at a speed v 0, wherein v 0<v1.
When the unmanned aerial vehicle flies in the pipeline, besides the attitude angle information of the unmanned aerial vehicle, the yaw angle (shown in fig. 8) of the unmanned aerial vehicle relative to the pipeline advancing direction needs to be calculated additionally, and the calculation of the yaw angle is mainly calculated through a circle of laser data around the unmanned aerial vehicle.
2.2.1 Control flow in unmanned aerial vehicle pipeline
The four rotor unmanned aerial vehicle is controlled by the flight hand and flies into the pipeline inside, and after entering the pipeline inside, the laser ranging sensor ①、③、⑥ is used for detecting the distance information of the relative pipe wall of the unmanned aerial vehicle on the upper laser and the left and right laser of the four rotor unmanned aerial vehicle, so that abrupt change can occur. And d th1 is used for representing a laser information threshold value for judging that the unmanned aerial vehicle enters the pipeline, and when d 1、d3、d6 is smaller than d th1, the four-rotor unmanned aerial vehicle is judged to enter the pipeline.
When the unmanned aerial vehicle just enters the pipeline, as the unmanned aerial vehicle does not completely enter the pipeline environment, the left rear laser and the right rear laser sensor ④、⑤ still protrude out of the pipeline due to the fact that the unmanned aerial vehicle still does not completely enter the pipeline environment, namely, the data of d 4、d5 are obviously larger than the data of the other 4 lasers. D th2 is used for indicating a threshold value for judging that the oblique laser data protrudes out of the pipeline, and then d 4、d5 and d th2 can be compared to judge that the unmanned aerial vehicle is positioned at the inlet section of the pipeline.
Similarly, when the laser sensor is positioned at the outlet section of the pipeline, the left front laser sensor ⑦、⑧ and the right front laser sensor firstly extend out of the pipeline in a circle of laser around the unmanned plane. Therefore, when d 7、d8 is larger than d th2, the unmanned aerial vehicle is judged to be positioned at the pipeline outlet section.
And when d 1、d3、d6 is smaller than d th1,d4、d5、d7、d8 and smaller than d th2, the unmanned aerial vehicle is judged to be positioned in the pipeline cruising section, and the unmanned aerial vehicle flies forward in the pipeline at a preset cruising speed.
2.2.2 Relative yaw calculation algorithm in unmanned aerial vehicle pipeline
Because the unmanned aerial vehicle mainly flies along the X axis in the pipeline, the unmanned aerial vehicle is enabled to fly along the pipeline direction in the pipeline, and the direction of the unmanned aerial vehicle is enabled to be consistent with the pipeline direction during flying, so that yaw information of the unmanned aerial vehicle relative to the pipeline direction is required. The yaw angle of the unmanned aerial vehicle relative to the pipeline can be calculated by a circle of laser around the unmanned aerial vehicle through a triangular relationship
2.3. Four-rotor unmanned aerial vehicle control algorithm
The control system of the four-rotor unmanned aerial vehicle in the pipeline is a double closed-loop control system, and the control of the four-rotor unmanned aerial vehicle is divided into an inner ring module and an outer ring module. As shown in fig. 6, the outer ring is the position subsystem of the drone and the inner ring is the attitude subsystem of the drone.
PID control is adopted for the inner ring and the outer ring of the unmanned aerial vehicle. As shown in fig. 7, the outer loop control adopts a cascade PID control, which divides the PID controller into two stages, wherein the outer loop receives a desired position and an actual position, and outputs a desired speed required by the inner loop; the inner ring receives the desired speed and the actual speed vk= [ V x[k] vy[k] vz k ], and outputs the desired acceleration.
Define the desired position P d=[yd zd ], then the outer loop error E pos=[ey ez ]:
So that the outer loop control outputs the desired speed v d=[vyd vzd
Defining an inner loop error based on the calculated desired velocity of the outer loop and the given x-direction velocity
Evel=[evx evy evz]
From this the inner loop calculates the desired acceleration U pos=[ux uy uz by PID:
By control output of position ring, given desired yaw angle The desired pitch angle theta d and the roll angle phi d can be obtained by inverse solution, namely the desired attitude angle of the inner ring is obtained by inverse solution:
Since the yaw angle of the unmanned aerial vehicle in the pipeline is the relative yaw angle calculated by the multi-directional laser, the expected yaw angle is known from the above
PID control is adopted in unmanned aerial vehicle inner ring attitude control, and finally the control quantity U= [ U 1 U2 U3 U4 ] output by the unmanned aerial vehicle is four control quantities in total, and the control quantities respectively correspond to the height, the roll angle phi, the pitch angle theta and the yaw angleDefining an inner loop error
Thereby obtaining the control output of the controller as follows:
U1=uz
Wherein u z is a height control instruction, kφp、kθp、/>The proportional coefficients of the rolling angle, the pitch angle and the yaw angle are respectively used for carrying out proportional amplification or reduction on the output according to the magnitude of the error, and k φd、kθd,/>Differential coefficients for controlling roll angle, pitch angle and yaw angle respectively are used for differentially amplifying or reducing output according to the magnitude of error change rate, and k φi、kθi,/>The integral coefficients of the roll, pitch and yaw control, respectively, are used to eliminate static errors of the system by accumulating errors.
According to the method provided by the invention, in a narrow pipeline environment refused by a GPS, data of an optical flow, an inertial measurement unit and a plurality of laser range finders are fused, so that the unmanned aerial vehicle can independently fly in a pipeline with the diameter smaller than 600 mm.
The embodiment of the invention provides an autonomous positioning and controlling system in a narrow pipeline of a four-rotor unmanned aerial vehicle, which comprises the following components:
the sensor module comprises eight laser ranging sensors, an optical flow sensor, an accelerometer, a gyroscope and a magnetometer;
the six laser ranging sensors are uniformly distributed around the central section of the unmanned aerial vehicle and are used for collecting the relative position information of the unmanned aerial vehicle in the pipeline;
The optical flow sensor and the acceleration sensor are respectively arranged at the bottom and the gravity center of the unmanned aerial vehicle and are respectively used for acquiring first speed information and second speed information of the unmanned aerial vehicle so as to determine the real-time speed of the unmanned aerial vehicle;
The gyroscope is used for collecting real-time pitch angle and roll angle of the unmanned aerial vehicle;
the magnetometer is used for collecting the real-time yaw angle of the unmanned aerial vehicle together with the gyroscope before the unmanned aerial vehicle enters the pipeline or after the unmanned aerial vehicle leaves the pipeline; it will be appreciated that the drone is in an outdoor environment either before flying into the duct or after flying out of the duct, at which point the real-time yaw angle of the drone is co-confirmed by the magnetometer with the gyroscope.
A controller for performing the method as in any one of the embodiments above;
Further, the controller comprises a first processing module and a second processing module, wherein the first processing module is used for positioning the unmanned aerial vehicle based on a laser ranging principle under a pipeline coordinate system; the second processing module is used for performing double closed-loop control by using the acquired real-time information and expected information of the unmanned aerial vehicle when the unmanned aerial vehicle is positioned at a pipeline cruising section, so as to obtain a control instruction U 1,U2,U3,U4 of the unmanned aerial vehicle in the Z-axis direction, namely the height, the rolling angle, the pitch angle and the yaw angle;
wherein the real-time information includes: real-time position y and z of unmanned aerial vehicle on Y, Z axis, real-time speed v x、vy、vz on X, Y, Z axis and real-time yaw angle Pitch angle θ and roll angle Φ; the pipeline coordinate system takes the axial direction of a pipeline as an X axis and the radial direction of the end face of an inlet of the pipeline as a Z axis; the desired information includes: desired position y d、zd of the drone at Y, Z axis, desired speed v xd at X axis, and desired yaw angle/>, relative to the direction of pipe travel
The double closed-loop control comprises outer ring position control, gesture inverse solution and inner ring gesture control; the outer ring position is controlled to take y d、zd, y and z as input, and output U 1 and acceleration U x and U y in the expected X, Y axis direction; the gesture is inversely solved according toU x and u y are inversely solved to obtain a desired pitch angle theta d and a roll angle phi d; the inner ring gesture is controlled to be/>θ、φ、/>Θ d and φ d are inputs, and U 2,U3,U4 is output.
The embodiment of the invention provides an autonomous positioning and controlling system in a narrow pipeline of a four-rotor unmanned aerial vehicle, which comprises the following components: a computer readable storage medium and a processor;
the computer-readable storage medium is for storing executable instructions;
the processor is configured to read executable instructions stored in the computer readable storage medium and perform a method as in any of the embodiments described above.
An embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores computer instructions for causing a processor to implement a method according to any of the foregoing embodiments when executed.
It will be readily appreciated by those skilled in the art that the foregoing description is merely a preferred embodiment of the invention and is not intended to limit the invention, but any modifications, equivalents, improvements or alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (7)

1. An autonomous positioning and controlling method in a narrow pipeline of a four-rotor unmanned aerial vehicle is characterized by comprising the following steps:
S1, positioning an unmanned aerial vehicle based on a laser ranging principle under a pipeline coordinate system;
wherein the drone is considered to be in the pipeline cruising section when the following three conditions are met;
First condition: d 1、d3、d6 is less than d th1;
Second condition: d 4、d5 is less than d th2;
third condition: d 7、d8 is less than d th2;
D 1、d2 is data acquired by laser ranging sensors distributed at the top and bottom centers of the unmanned aerial vehicle, d 3、d4、d5、d6、d7、d8 is data acquired by six laser ranging sensors uniformly distributed around the center section of the unmanned aerial vehicle, and d th1、dth2 is a first threshold value and a second threshold value;
When only the first condition and the second condition are met, the unmanned aerial vehicle is considered to be positioned at the pipeline cruising inlet section, and the expected speed v xd=v0 in the X-axis direction is set;
When only the first condition and the third condition are met, the unmanned aerial vehicle is considered to be positioned at the pipeline cruising inlet section, and the expected speed v xd=v0 in the X-axis direction is set;
wherein v 0<vxd;
When the pipeline coordinate system takes the lowest point of the pipeline inlet end face as the origin, the unmanned aerial vehicle expects a yaw angle at a expected position Y d =0 in the Y axis and expects a yaw angle at a expected position Z d =r in the Z axis
S2, when the unmanned aerial vehicle is located in a pipeline cruising section, performing double closed-loop control by using the acquired real-time information and expected information of the unmanned aerial vehicle to obtain a control instruction U 1,U2,U3,U4 of the unmanned aerial vehicle in the Z-axis direction, namely the height, the rolling angle, the pitch angle and the yaw angle;
wherein the real-time information includes: real-time position y and z of unmanned aerial vehicle on Y, Z axis, real-time speed v x、vy、vz on X, Y, Z axis and real-time yaw angle Pitch angle θ and roll angle Φ; the pipeline coordinate system takes the axial direction of a pipeline as an X axis and the radial direction of the end face of an inlet of the pipeline as a Z axis; the desired information includes: desired position y d、zd on Y, Z axis, desired speed v xd on X axis, and desired yaw angle/>, relative to the direction of pipe travel
The double closed-loop control comprises outer ring position control, gesture inverse solution and inner ring gesture control; the outer ring position control takes y d、zd, y and z as input, outputs U 1 and expected acceleration U x and U y in the X, Y axis direction; the gesture is inversely solved according toU x and u y are inversely solved to obtain a desired pitch angle theta d and a roll angle phi d; the inner loop attitude control is to/>θ、φ、/>Θ d and φ d are inputs, and U 2,U3,U4 is output.
2. The method of claim 1, wherein the outer loop position control and the inner loop attitude control each employ PID control.
3. The method of claim 1, wherein,
U1=uz
Wherein u z is a height control instruction,kφp、kθp、/>The proportional coefficients of real-time roll angle, pitch angle and yaw angle control are respectively adopted; k φd、kθd,/>Differential coefficients for real-time roll angle, pitch angle and yaw angle control respectively; k φi、kθi,/>The integral coefficients of the real-time roll angle, pitch angle and yaw angle control are respectively.
4. The method of claim 1, wherein the real-time yaw angle of the droneThe real-time positions y and z on Y, Z axes are calculated according to the following formulas:
y=d3-d6
z=d2
5. an autonomous positioning and control system in a narrow duct of a quad-rotor unmanned helicopter, comprising:
the sensor module comprises eight laser ranging sensors, an optical flow sensor, an accelerometer, a gyroscope and a magnetometer;
the six laser ranging sensors are uniformly distributed around the central section of the unmanned aerial vehicle and are used for collecting the relative position information of the unmanned aerial vehicle in the pipeline;
The optical flow sensor and the acceleration sensor are respectively arranged at the bottom and the gravity center of the unmanned aerial vehicle and are respectively used for acquiring first speed information and second speed information of the unmanned aerial vehicle so as to determine the real-time speed of the unmanned aerial vehicle;
The gyroscope is used for collecting real-time pitch angle and roll angle of the unmanned aerial vehicle;
the magnetometer is used for jointly confirming the real-time yaw angle of the unmanned aerial vehicle with the gyroscope before the unmanned aerial vehicle enters the pipeline or after the unmanned aerial vehicle leaves the pipeline;
A controller for performing the method of any one of claims 1-4.
6. An autonomous positioning and control system in a narrow duct of a quad-rotor unmanned helicopter, comprising: a computer readable storage medium and a processor;
the computer-readable storage medium is for storing executable instructions;
The processor is configured to read executable instructions stored in the computer readable storage medium and perform the method of any one of claims 1-4.
7. A computer readable storage medium storing computer instructions for causing a processor to perform the method of any one of claims 1-4.
CN202310389346.4A 2023-04-12 2023-04-12 Autonomous positioning and control method in narrow pipeline of four-rotor unmanned aerial vehicle Active CN116520877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310389346.4A CN116520877B (en) 2023-04-12 2023-04-12 Autonomous positioning and control method in narrow pipeline of four-rotor unmanned aerial vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310389346.4A CN116520877B (en) 2023-04-12 2023-04-12 Autonomous positioning and control method in narrow pipeline of four-rotor unmanned aerial vehicle

Publications (2)

Publication Number Publication Date
CN116520877A CN116520877A (en) 2023-08-01
CN116520877B true CN116520877B (en) 2024-04-26

Family

ID=87398629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310389346.4A Active CN116520877B (en) 2023-04-12 2023-04-12 Autonomous positioning and control method in narrow pipeline of four-rotor unmanned aerial vehicle

Country Status (1)

Country Link
CN (1) CN116520877B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108375988A (en) * 2018-05-25 2018-08-07 哈尔滨工业大学 A kind of quadrotor drone posture control method with unbalanced load
CN110673623A (en) * 2019-11-04 2020-01-10 苏州经贸职业技术学院 Quad-rotor unmanned aerial vehicle landing method based on dual-ring PD control algorithm control
CN110687919A (en) * 2019-10-21 2020-01-14 同济大学 Unmanned aerial vehicle autonomous flight control method for hydropower station water pipeline inspection
CN112731922A (en) * 2020-12-14 2021-04-30 南京大学 Unmanned aerial vehicle auxiliary intelligent vehicle driving method and system based on indoor positioning
CN113220013A (en) * 2021-04-07 2021-08-06 同济大学 Multi-rotor unmanned aerial vehicle tunnel hovering method and system
CN114510066A (en) * 2022-01-26 2022-05-17 广东工业大学 Tilting rotor wing heavy-load logistics unmanned aerial vehicle control method and system
CN115167495A (en) * 2022-08-10 2022-10-11 青岛理工大学 Double-closed-loop cascade PID four-rotor aircraft based on 32 single-chip microcomputer
CN115290093A (en) * 2022-08-15 2022-11-04 同济大学 Positioning and navigation method for automatic inspection of unmanned aerial vehicle in diversion pipeline of hydropower station

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7010398B2 (en) * 2001-10-11 2006-03-07 The Boeing Company Control system providing perspective flight guidance

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108375988A (en) * 2018-05-25 2018-08-07 哈尔滨工业大学 A kind of quadrotor drone posture control method with unbalanced load
CN110687919A (en) * 2019-10-21 2020-01-14 同济大学 Unmanned aerial vehicle autonomous flight control method for hydropower station water pipeline inspection
CN110673623A (en) * 2019-11-04 2020-01-10 苏州经贸职业技术学院 Quad-rotor unmanned aerial vehicle landing method based on dual-ring PD control algorithm control
CN112731922A (en) * 2020-12-14 2021-04-30 南京大学 Unmanned aerial vehicle auxiliary intelligent vehicle driving method and system based on indoor positioning
CN113220013A (en) * 2021-04-07 2021-08-06 同济大学 Multi-rotor unmanned aerial vehicle tunnel hovering method and system
CN114510066A (en) * 2022-01-26 2022-05-17 广东工业大学 Tilting rotor wing heavy-load logistics unmanned aerial vehicle control method and system
CN115167495A (en) * 2022-08-10 2022-10-11 青岛理工大学 Double-closed-loop cascade PID four-rotor aircraft based on 32 single-chip microcomputer
CN115290093A (en) * 2022-08-15 2022-11-04 同济大学 Positioning and navigation method for automatic inspection of unmanned aerial vehicle in diversion pipeline of hydropower station

Also Published As

Publication number Publication date
CN116520877A (en) 2023-08-01

Similar Documents

Publication Publication Date Title
CN106774436B (en) Control system and method for stably tracking target of rotor unmanned aerial vehicle based on vision
JP4133435B2 (en) Autonomous control method for small unmanned helicopter
WO2019024303A1 (en) Stable flight control method for multi-rotor unmanned aerial vehicle based on finite-time neurodynamics
Hérissé et al. A terrain-following control approach for a vtol unmanned aerial vehicle using average optical flow
Sa et al. Inspection of pole-like structures using a vision-controlled VTOL UAV and shared autonomy
WO2020103049A1 (en) Terrain prediction method and device of rotary microwave radar, and system and unmanned aerial vehicle
Qi et al. Autonomous landing solution of low-cost quadrotor on a moving platform
Weiss et al. 4dof drift free navigation using inertial cues and optical flow
CN111650955B (en) Control method of climbing robot and climbing robot
Tao et al. Modeling and control of swing oscillation of underactuated indoor miniature autonomous blimps
CN116520877B (en) Autonomous positioning and control method in narrow pipeline of four-rotor unmanned aerial vehicle
CN113237478B (en) Unmanned aerial vehicle attitude and position estimation method and unmanned aerial vehicle
CN113156813B (en) Pigeon swarm optimization control-based four-rotor unmanned aerial vehicle system with arms and control method
Herisse et al. A nonlinear terrain-following controller for a vtol unmanned aerial vehicle using translational optical flow
Zhan et al. Control system design and experiments of a quadrotor
Angeletti et al. Autonomous indoor hovering with a quadrotor
Cai et al. Design of STM32-based Quadrotor UAV Control System.
Quan et al. Lifting-wing quadcopter modeling and unified control
CN111580537B (en) Unmanned aerial vehicle stunt flight control system and method
CN115237158A (en) Multi-rotor unmanned aerial vehicle autonomous tracking and landing control system and control method
CN114510065A (en) Ground target tracking control method for multi-rotor unmanned aerial vehicle
Ivan Attitude stabilization of a quad-rotor uav based on rotor speed sensing with accelerometer data estimation via kalman filtering
Cetinsoy Design and flight tests of a holonomic quadrotor UAV with sub-rotor control surfaces
Zamudio et al. Vision based stabilization of a quadrotor using nested saturation control approach
CN111638727A (en) Multi-rotor aircraft safety navigation control method based on depth image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant