CN116088557B - Full-drive six-rotor unmanned aerial vehicle pose control method and device - Google Patents

Full-drive six-rotor unmanned aerial vehicle pose control method and device Download PDF

Info

Publication number
CN116088557B
CN116088557B CN202310332102.2A CN202310332102A CN116088557B CN 116088557 B CN116088557 B CN 116088557B CN 202310332102 A CN202310332102 A CN 202310332102A CN 116088557 B CN116088557 B CN 116088557B
Authority
CN
China
Prior art keywords
unmanned aerial
aerial vehicle
rotor
expected
rotor unmanned
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
CN202310332102.2A
Other languages
Chinese (zh)
Other versions
CN116088557A (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.)
Hunan University
Original Assignee
Hunan University
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 Hunan University filed Critical Hunan University
Priority to CN202310332102.2A priority Critical patent/CN116088557B/en
Publication of CN116088557A publication Critical patent/CN116088557A/en
Application granted granted Critical
Publication of CN116088557B publication Critical patent/CN116088557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/08Control of attitude, i.e. control of roll, pitch, or yaw
    • G05D1/0808Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft
    • 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
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

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 a method and a device for controlling the pose of a full-driving six-rotor unmanned aerial vehicle, wherein the method ensures the precise tracking of the unmanned aerial vehicle to a given expected position by using a position controller; in addition, a gesture generator is designed, and gestures corresponding to different scenes are generated according to the set three gesture strategies and gestures; designing a gesture controller based on a rotation matrix to ensure accurate tracking of gestures; and finally, feedback linearization control is adopted, and the rotating speed of the motor rotor is calculated according to the linear acceleration error and the angular acceleration error, so as to control the motion of the rotor-fixed inclined full-drive type multi-rotor unmanned aerial vehicle. The invention designs a corresponding pose control method aiming at the rotor fixed inclined full-driving type six-rotor unmanned aerial vehicle, ensures the stability, reliability and anti-interference performance of the rotor fixed inclined full-driving type six-rotor unmanned aerial vehicle control, is easy to expand into a controller of an air contact type operation robot, and is convenient to realize in engineering.

Description

Full-drive six-rotor unmanned aerial vehicle pose control method and device
Technical Field
The invention belongs to the field of aircraft control, and particularly relates to a full-drive six-rotor unmanned aerial vehicle pose control method and device.
Background
In recent years, with the development of technology, in-flight contact work robots have come into the field of view of the public. In-flight contact work robots typically use a conventional four/six rotor unmanned aerial vehicle as a flying platform. The four/six rotor unmanned aerial vehicle is an under-actuated system, horizontal movement dynamics and rotational movement dynamics of the under-actuated system are coupled, six-degree-of-freedom force and moment cannot be generated, and the horizontal attitude cannot be kept under free flight, so that the under-actuated system cannot hover stably under an inclined attitude, and stable control cannot be realized. However, in many working scenarios, particularly in the case of a slope or the like, a four/six rotor unmanned aerial vehicle is required to tilt the fuselage by a certain angle and to stably hover, so that the working mechanism is used to contact the object to be detected for detection. Therefore, the conventional four/six rotor unmanned aerial vehicle is difficult to meet the detection requirement.
Disclosure of Invention
The invention provides a full-driving type six-rotor unmanned aerial vehicle with a rotor fixed and inclined and a pose control method thereof, which aims to solve the technical problem that the traditional four/six-rotor unmanned aerial vehicle is an under-actuated system, so that stable hovering can not be realized when a fuselage is inclined.
In one aspect, the invention provides a full-drive six-rotor unmanned aerial vehicle pose control method, which comprises the following steps:
step 1: acquiring an expected state of the fully-driven six-rotor unmanned aerial vehicle, wherein the characterization parameters of the expected state at least comprise: a desired rotation matrix at a desired position and a desired attitude;
the six motor rotors of the full-drive six-rotor unmanned aerial vehicle tilt by a fixed angle value respectively, so that the layout of the corresponding propellers is a non-coplanar layout;
step 2: and calculating linear acceleration errors and angular acceleration errors based on the expected state and the current state, and inputting the angular acceleration errors and the linear acceleration errors into a constructed feedback linearization module to obtain expected rotor speed vectors, wherein the expected rotor speed vectors are used for controlling the motor rotor of the full-drive six-rotor unmanned aerial vehicle.
The layout of six motors of the traditional six-rotor unmanned aerial vehicle is vertical, the six propellers are in a coplanar layout and are in opposite gravity directions, so that only one-dimensional force can be formed, and the traditional six-rotor unmanned aerial vehicle system is an underactuated system. According to the technical scheme, the motor rotors of the traditional six-rotor unmanned aerial vehicle are all tilted by a fixed angle value, so that the layout of the propellers is changed into a non-coplanar layout, and lift force in three dimensions is generated, and therefore the full-drive six-rotor unmanned aerial vehicle with the rotor fixed and tilted is formed, and the full-drive six-rotor unmanned aerial vehicle belongs to a full-drive system. Based on the unmanned aerial vehicle, the technical scheme of the invention provides the pose control method of the full-drive six-rotor unmanned aerial vehicle, which inputs the angular acceleration error and the linear acceleration error into a constructed feedback linearization module through tracking the expected state, so as to obtain the expected rotor speed vector, and controls the action of the motor rotor of the unmanned aerial vehicle based on the expected rotor speed vector, so that the unmanned aerial vehicle approaches the expected state. It should be appreciated that the fully driven six rotor unmanned aerial vehicle will approach or reach the desired state indefinitely following cyclic control of the control method described above.
Further optionally, the desired rotor speed vector is expressed as follows:
Figure SMS_1
definition of a function
Figure SMS_2
、/>
Figure SMS_3
And intermediate variables +.>
Figure SMS_4
The following formula is satisfied:
Figure SMS_5
Figure SMS_6
Figure SMS_7
in the method, in the process of the invention,
Figure SMS_10
for a desired rotor speed vector,xindicating the status of the system->
Figure SMS_12
Representation ofxTime derivative, L, N are defined intermediate variables, see in particular the example +.>
Figure SMS_15
And +.>
Figure SMS_9
Is a formula of (2); />
Figure SMS_13
For angular acceleration error, ++>
Figure SMS_16
Is a linear acceleration error; />
Figure SMS_18
Is a gravitational constant, < >>
Figure SMS_8
The mass of the full-driving six-rotor unmanned aerial vehicle is that of the full-driving six-rotor unmanned aerial vehicle; />
Figure SMS_11
Is the current angular speed of the machine body; />
Figure SMS_14
Is a rotation matrix from a machine body coordinate system to an inertial coordinate system in the current state; />
Figure SMS_17
Is the inertial matrix of the full-drive six-rotor unmanned aerial vehicle, and T represents the transposition of the matrix.
Further optionally, step 1 is to determine a desired rotation matrix under the desired attitude according to a set attitude strategy, where the attitude strategy is to divide the attitude of the fully-driven six-rotor unmanned aerial vehicle into: the method comprises the steps of conventional inclined postures, constant horizontal postures and fixed inclined postures, and selecting one type of postures according to detection environments, wherein an expected rotation matrix corresponding to each type of postures is expressed as follows:
the normal tilt attitude:
Figure SMS_19
wherein,,
Figure SMS_21
is a desired rotation matrix; />
Figure SMS_25
Representing the desired body coordinate system- >
Figure SMS_28
;/>
Figure SMS_22
、/>
Figure SMS_24
、/>
Figure SMS_27
Respectively the desired body coordinate system->
Figure SMS_29
Go up->
Figure SMS_20
、/>
Figure SMS_23
、/>
Figure SMS_26
Unit vectors on the coordinate axes, and satisfy:
Figure SMS_30
Figure SMS_31
Figure SMS_32
wherein,,
Figure SMS_33
for the desired resultant force on the inertial coordinate system, +.>
Figure SMS_34
Is the desired yaw angle;
wherein the formula for the desired resultant force is as follows:
Figure SMS_35
in the method, in the process of the invention,
Figure SMS_36
the linear acceleration is calculated by a position controller; />
Figure SMS_37
Is an inertial coordinate systemIDesired linear acceleration down.
The constant horizontal attitude:
Figure SMS_38
the fixed tilt attitude:
Figure SMS_39
wherein,,
Figure SMS_40
、/>
Figure SMS_41
、/>
Figure SMS_42
the following calculation is performed in turn:
Figure SMS_43
Figure SMS_44
Figure SMS_45
Figure SMS_46
in the method, in the process of the invention,
Figure SMS_47
、/>
Figure SMS_48
the desired inclination angle and the desired inclination direction are respectively; />
Figure SMS_49
Is a unit vector on the Z axis of the inertial coordinate system,rfor the definition of intermediate variables, the axis of rotation about which the fully-driven six-rotor unmanned aerial vehicle tilts the fuselage is indicated. The axis of rotation is perpendicular to both the Z-axis of the inertial frame and the projection of the vector pointing in the oblique direction onto a plane consisting of the X-axis and the Y-axis of the inertial frame.
Further optionally, the fixed tilt gesture and the normal tilt gesture are both applicable to slope detection, and a detection distance corresponding to the fixed tilt gesture is smaller than a detection distance corresponding to the normal tilt gesture, where the detection distance is a distance between the full-drive six-rotor unmanned aerial vehicle and a detection device;
The constant horizontal attitude is suitable for vertical surface detection.
Further alternatively, the calculation process of the linear acceleration error is as follows:
firstly, obtaining a position error based on the expected position and the current actual position;
inputting the position error into a constructed position controller to obtain linear acceleration, and further obtaining linear acceleration error compared with expected linear acceleration;
the position controller builds a calculation model of the relation between the position error and the linear acceleration, and is used for calculating the linear acceleration.
The position controller is as follows:
Figure SMS_50
wherein,,
Figure SMS_52
is linear acceleration; />
Figure SMS_56
、/>
Figure SMS_58
、/>
Figure SMS_53
Is a diagonal matrix, and diagonal elements are constants greater than 0,
Figure SMS_55
for positional error +.>
Figure SMS_57
Representing the positionError->
Figure SMS_59
Corresponding to deriving about time->
Figure SMS_51
,/>
Figure SMS_54
The time of last calling the position controller and the time of last calling the position controller are respectively represented, and the specific value of the time is determined by the frequency of the position controller.
Further alternatively, the calculation process of the angular acceleration error is as follows:
firstly, based on the expected gesture and the gesture angle change rate determined by the current gesture, obtaining the expected angular acceleration of the machine body by utilizing the relation between the gesture angle change rate and the rotation angular speed of the machine body;
Then, inputting the expected body angular acceleration into a constructed gesture controller to obtain an angular acceleration error on a body coordinate system;
the attitude controller builds a calculation model of the relation between the expected body angular acceleration and the angular acceleration error and is used for calculating the angular acceleration error.
The gesture controller is represented as follows:
Figure SMS_60
wherein,,
Figure SMS_63
is the angular acceleration error on the machine body coordinate system; />
Figure SMS_66
、/>
Figure SMS_67
、/>
Figure SMS_62
Is a diagonal matrix and is opposite toThe angle line elements are constants greater than 0; />
Figure SMS_65
For the desired angular acceleration of the body->
Figure SMS_68
For posture tracking error, +.>
Figure SMS_69
For angular velocity tracking error +.>
Figure SMS_61
,/>
Figure SMS_64
The time of last invoking the gesture controller and the time of last invoking the gesture controller are respectively represented, and the specific value of the time is determined by the frequency of the gesture controller. The frequencies of the attitude controller and the position controller may be set to be the same or different, and the present invention is not particularly limited thereto.
Further optionally, the corresponding attitude angle change rate under the expected body coordinate system is expressed as:
Figure SMS_70
the relationship between the attitude angle change rate and the rotational angular velocity is as follows:
Figure SMS_71
wherein,,
Figure SMS_72
is the desired angular velocity of the body; />
Figure SMS_73
、/>
Figure SMS_74
、/>
Figure SMS_75
Roll angle, pitch angle and yaw angle, respectively.
In a second aspect, the invention further provides a full-drive type six-rotor unmanned aerial vehicle based on the method, wherein six motor rotors of the full-drive type six-rotor unmanned aerial vehicle are respectively tilted by a fixed angle value, so that the layout of corresponding propellers is a non-coplanar layout.
Wherein the fixed angle value is equal to the rotation angle
Figure SMS_76
Is equal to the absolute value of said rotation angle +.>
Figure SMS_77
Is obtained by obtaining the rotation angle +.>
Figure SMS_78
The latter rotation angle around the Y-axis of the new rotor coordinate system, said rotation angle +.>
Figure SMS_79
Is rotated around the Z axis of the machine body coordinate system to align the rotor coordinate system of the ith motor and enable the projection of the Y axis of the rotor coordinate system on the XY plane of the machine body coordinate system to point to the rotation angle of the mass center of the full-drive six-rotor unmanned aerial vehicle.
In a third aspect, the present invention provides a control system based on the full-drive six-rotor unmanned aerial vehicle pose control method, which includes: the expected state acquisition module and the control module;
the expected state acquisition module is used for acquiring an expected state of the fully-driven six-rotor unmanned aerial vehicle, and the characterization parameters of the expected state at least comprise: a desired rotation matrix at a desired position and a desired attitude;
the six motor rotors of the full-drive six-rotor unmanned aerial vehicle tilt by a fixed angle value respectively, and the layout of the corresponding propellers is changed into a non-coplanar layout;
The control module is used for calculating linear acceleration errors and angular acceleration errors based on the expected state and the current state, inputting the angular acceleration errors and the linear acceleration errors into the constructed feedback linearization module to obtain expected rotor rotating speed vectors, and controlling the motor rotor of the full-drive six-rotor unmanned aerial vehicle.
In a fourth aspect, the present invention provides a fully driven six-rotor unmanned aerial vehicle, which at least comprises: one or more processors; and a memory storing one or more computer programs;
wherein the processor invokes the computer program to implement:
a fully-driven six-rotor unmanned aerial vehicle pose control method comprises the steps of.
In a fifth aspect, the present invention provides a computer readable storage medium storing one or more computer programs, the computer programs being invoked by a processor to implement:
a fully-driven six-rotor unmanned aerial vehicle pose control method comprises the steps of.
Advantageous effects
Compared with the prior art, the invention has the advantages that the following aspects are mainly realized:
the position and posture control method of the full-driving type six-rotor unmanned aerial vehicle is suitable for a full-driving type six-rotor unmanned aerial vehicle with fixed and inclined rotors, six motor rotors of the full-driving type six-rotor unmanned aerial vehicle rotate by a fixed angle by taking a horn where the motor rotors are positioned as a rotating shaft, so that the layout of corresponding propellers is non-coplanar, and lift force with three dimensions is generated, thus a full-driving system is formed. Therefore, the technical scheme of the invention can effectively overcome the technical defect that the traditional four/six rotor unmanned aerial vehicle is an under-actuated system, and the pose control method provided by the technical scheme of the invention is continuously approximate to the expected state, so that the accurate tracking of the position and the pose is ensured.
According to the pose control method provided by the technical scheme of the invention, a feedback linearization module based on the angular acceleration error and the linear acceleration error is constructed, and the feedback linearization module is utilized to obtain a desired rotor rotating speed vector, so that the motor rotor operation of the full-drive six-rotor unmanned aerial vehicle is controlled. The control parameters are easy to adjust, the robustness is high, and the controller is easy to expand into a controller of the overhead contact type operation robot, so that the controller is convenient to realize in engineering.
According to the technical scheme, the gesture controller is further optimized, namely, the gesture of the unmanned aerial vehicle is divided into: a normal tilt attitude, a constant horizontal attitude, and a fixed tilt attitude, thereby selecting a type of attitude according to the detection environment. The conventional inclined posture strategy can resist external force and interference, reduces energy consumption, and is suitable for flying under the condition of external wind gust and other interference; the constant horizontal attitude strategy can keep the machine body horizontal, and is suitable for carrying a rigid mechanism to detect the vertical surface of a facility; the fixed inclination posture strategy can keep the machine body inclined, and is suitable for carrying a rigid mechanism to detect the inclined plane of a facility.
According to the technical scheme, the position control based on proportional-integral-derivative is designed for calculating the linear acceleration error and the angular acceleration error, and the attitude controller based on the rotation matrix is designed for ensuring accurate tracking of the position and the attitude and ensuring the stability and the robustness of the rotor fixed tilting full-driving type six-rotor unmanned aerial vehicle control.
Drawings
FIG. 1 is a schematic diagram of a control object structure according to the present invention;
fig. 2 is a control schematic of the present invention.
Detailed Description
The invention provides a position and orientation control method and device of a full-driving type six-rotor unmanned aerial vehicle, wherein the position and orientation control method is a novel full-driving type multi-rotor unmanned aerial vehicle system formed by rotating six motor rotors at a fixed angle by taking a horn where the motor rotors are positioned as a rotating shaft on the basis of a traditional six-rotor unmanned aerial vehicle. By adopting the novel unmanned aerial vehicle system as a flight platform, the carrying operation mechanism carries out air contact operation, and can realize the nondestructive detection operation of objects and environments on the surface. The core technology of the present invention will be explained below.
The technical idea is as follows:
the invention provides a full-drive six-rotor unmanned aerial vehicle pose control method, which comprises the following steps:
step 1: acquiring an expected state of the fully-driven six-rotor unmanned aerial vehicle, wherein the characterization parameters of the expected state at least comprise: a desired position, and a desired rotation matrix at a desired pose.
Step 2: and calculating linear acceleration errors and angular acceleration errors based on the expected state and the current state, and inputting the angular acceleration errors and the linear acceleration errors into a constructed feedback linearization module to obtain expected rotor speed vectors, wherein the expected rotor speed vectors are used for controlling the motor rotor of the full-drive six-rotor unmanned aerial vehicle.
The technical scheme of the invention obtains the expected rotor speed vector corresponding to the expected state based on the technical thought, so as to control the motor rotor of the full-drive six-rotor unmanned aerial vehicle, and the implementation process and theoretical formula of each step are explained below.
As shown in fig. 1, the motor rotor of the traditional six-rotor unmanned aerial vehicle is rotated by a fixed angle, so that the full-drive six-rotor unmanned aerial vehicle with the rotor fixed and inclined is formed.
The six propellers are arranged in a coplanar mode, lift force formed by rotation of the propellers is opposite to gravity, so that force with one dimension can be formed only, and the traditional six-rotor unmanned aerial vehicle system is an underactuated system. According to the six-rotor unmanned aerial vehicle, the motor rotors of the traditional six-rotor unmanned aerial vehicle are all tilted by a fixed angle value, namely, different motor tilting angles are the same, and the tilting directions of the motor rotors are different around the respective horn. The motor 1 rotates around the arm by x degrees in front of the unmanned aerial vehicle (x represents a certain angle and is the same as the following); the No. 2 motor rotates for x degrees around the horn of the unmanned aerial vehicle to the front of the unmanned aerial vehicle; the motor No. 3 rotates for x degrees around the horn in the middle of the horn No. 2 and the horn No. 3; the motor No. 4 rotates for x degrees around the horn in the middle of the horn No. 4 and the horn No. 6; no. 5 motor surrounds place horn Rotating the middle of the No. 3 horn and the No. 5 horn by x degrees; the No. 6 motor surrounds the horn, and rotates for x degrees in the direction between the No. 4 horn and the No. 6 horn of the unmanned aerial vehicle; the magnitude of the rotation angle x in this embodiment is as follows
Figure SMS_80
The rotation angle x is preferably 30 degrees in size. Therefore, the layout of the propellers is changed into a non-coplanar layout, so that three-dimensional lifting force is generated, and therefore, the full-drive type six-rotor unmanned aerial vehicle with the rotor fixed and inclined is formed, and the full-drive type six-rotor unmanned aerial vehicle belongs to a full-drive system; it should be understood that in other possible embodiments, if the rotation direction or the rotation angle is set to other values, and finally, the rotor is also formed into a fully-driven six-rotor unmanned aerial vehicle with a fixed tilt, it is also in accordance with the technical concept of the present invention. The invention provides a pose control method of an unmanned aerial vehicle, which aims at a full-drive six-rotor unmanned aerial vehicle with a rotor fixed and inclined through inclination and fixed angles. Wherein the rotation angle +.>
Figure SMS_81
And rotation matrix->
Figure SMS_82
Relatedly, rotate matrix->
Figure SMS_83
Calculation of the influence, the magnitude of the rotation angle thus influences the magnitude of the final rotor speed vector, but due to the rotation matrix +. >
Figure SMS_84
When cos and sin are adopted to calculate, but the angle difference is not large, the values of sin and cos are not changed greatly, and the matrix is rotated +.>
Figure SMS_85
The change is not large and the effect on the rotational speed is limited, but the following calculation process/algorithm is general regardless of the value.
(1) Based on structural characteristics and Newton equations of the rotor fixed-inclination full-driving six-rotor unmanned aerial vehicle, a position dynamics model of the system is deduced:
according to the Newton equation, the position dynamics model of the system is obtained as follows:
Figure SMS_86
wherein,,
Figure SMS_88
mass of all-drive six-rotor unmanned aerial vehicle with fixed inclination of rotor->
Figure SMS_92
The acceleration of the unmanned aerial vehicle in the inertial coordinate system is represented by the right upper corner mark ++>
Figure SMS_94
Representing an inertial coordinate system, wherein the inertial coordinate system follows the right-hand rule, the X axis points to the east, the Y axis points to the north, and the Z axis points to the upper direction; />
Figure SMS_89
Is the resultant force on the inertial coordinate system; />
Figure SMS_91
Is the gravity of the full-driving six-rotor unmanned aerial vehicle on an inertial coordinate system; />
Figure SMS_93
Is the total tension generated by six propellers on an inertial coordinate system; />
Figure SMS_95
Is a gravitational constant; />
Figure SMS_87
Is a rotation matrix from a machine body coordinate system to an inertial coordinate system; />
Figure SMS_90
Is the lifting force generated by the ith motor on the machine body coordinate system; the right upper corner mark B represents the coordinate system of the body and the body sits The standard is in accordance with the right hand rule, the X axis is directed to the front of the machine body, the Y axis is directed to the right of the machine body, and the Z axis is directed to the lower part of the machine body.
Wherein the matrix is rotated
Figure SMS_96
Lift force->
Figure SMS_97
Calculated by the following formula respectively:
Figure SMS_98
;
Figure SMS_99
wherein,,
Figure SMS_101
、/>
Figure SMS_106
、/>
Figure SMS_110
the angle of rotation of the unmanned aerial vehicle around the X axis of the machine body coordinate system is the roll angle, the angle of rotation of the unmanned aerial vehicle around the Y axis of the machine body coordinate system is the pitch angle, and the angle of rotation of the unmanned aerial vehicle around the Z axis of the machine body coordinate system is the yaw angle; />
Figure SMS_102
、/>
Figure SMS_107
Respectively represent->
Figure SMS_112
And +.>
Figure SMS_113
;/>
Figure SMS_100
The rotor lift coefficient of the representative motor is constant and positive; />
Figure SMS_104
Is the rotor speed of the ith motor; corner mark of lower right corner->
Figure SMS_108
Representing a motor rotor coordinate system, wherein the motor rotor coordinate system follows a right-hand criterion, a Y-axis points to the mass center of the body along the horn of the unmanned aerial vehicle, a Z-axis points obliquely downwards along the direction in which the motor blades rotate to form a plane, and the direction of the X-axis is determined by the right-hand criterion; />
Figure SMS_111
Is a rotation matrix from a motor coordinate system of the ith motor to a machine body coordinate system; />
Figure SMS_103
And->
Figure SMS_105
Transposed matrix with respect to each other, ">
Figure SMS_109
Calculated by the following formula:
Figure SMS_114
;
Figure SMS_115
wherein,,
Figure SMS_117
the rotation angle is rotated around the Z axis of the machine body coordinate system to align the rotor coordinate system of the ith motor and enable the projection of the Y axis of the rotor coordinate system on the XY plane of the machine body coordinate system to point to the mass center of the unmanned plane; / >
Figure SMS_120
Is obtained by->
Figure SMS_124
Then the rotation angle of the X axis around the new rotor coordinate system; />
Figure SMS_118
Is obtained by->
Figure SMS_121
The rotation angle of the Y-axis around the new rotor coordinate system, different rotors +.>
Figure SMS_123
Only positive and negative differences, this relates to direction, so the +.>
Figure SMS_125
Is equal in absolute value. The machine body coordinate system and the rotor coordinate system of the rotor-fixed inclined full-driving six-rotor unmanned aerial vehicle are fixedly connected to the machine body, the relative position is not changed, and the relative position is not changed>
Figure SMS_116
、/>
Figure SMS_119
、/>
Figure SMS_122
Is fixed.
Thus the resultant force on the inertial coordinate system
Figure SMS_126
The method comprises the following steps:
Figure SMS_127
and (3) making:
Figure SMS_128
it can be calculated as:
Figure SMS_129
and (3) making:
Figure SMS_130
then:
Figure SMS_131
(2) Deducing an attitude dynamic model of the system according to structural characteristics and Euler equations of the full-driving six-rotor unmanned aerial vehicle with the rotor fixed and inclined;
according to Euler equation, the attitude dynamics model of the obtained system is as follows:
Figure SMS_132
wherein,,
Figure SMS_134
the inertial matrix is an inertial matrix of the rotor fixed inclined full-driving type six-rotor unmanned aerial vehicle; />
Figure SMS_140
Is the angular velocity of the machine body,
Figure SMS_143
,/>
Figure SMS_136
、/>
Figure SMS_139
、/>
Figure SMS_144
angular speeds of the unmanned aerial vehicle rotating around x, y and z axes of the unmanned aerial vehicle are respectively set; />
Figure SMS_146
Is angular acceleration;
Figure SMS_133
the lifting force moment generated by the motor rotor acts on the mass center of the unmanned aerial vehicle; />
Figure SMS_137
Is the moment acting on the rotor mass center of the rotating rotor; / >
Figure SMS_141
Is the distance from the centre of mass of the unmanned aerial vehicle to the centre of mass of the rotor of the ith motor,/th motor>
Figure SMS_145
Figure SMS_135
Respectively correspond tox,y,zA component in the axial direction; />
Figure SMS_138
Is the torque of the ith rotating rotor acting on the rotor mass.
Figure SMS_142
Calculated by the following formula:
Figure SMS_147
wherein,,
Figure SMS_148
0 or 1, depending on whether the rotation direction of the ith motor rotor is positive or negative about the Z-axis of the rotor coordinate system,/v>
Figure SMS_149
Representing the positive direction +.>
Figure SMS_150
Representing a negative direction; />
Figure SMS_151
Is the reactive torque coefficient of the motor.
Thus, the moment
Figure SMS_152
And moment->
Figure SMS_153
The method comprises the following steps:
Figure SMS_154
;
and (3) making:
Figure SMS_155
Figure SMS_156
Figure SMS_157
and (3) making:
Figure SMS_158
therefore, the resultant moment on the machine body coordinate system is:
Figure SMS_159
and (3) making:
Figure SMS_160
according to the change rate of attitude angle
Figure SMS_161
Rotational angular velocity +.>
Figure SMS_162
Is the relation of:
Figure SMS_163
and (3) making:
Figure SMS_164
then:
Figure SMS_165
based on the above statement regarding the dynamics theory of the unmanned aerial vehicle, a control path as shown in fig. 2 is constructed in one embodiment of the present invention:
(1) Given a desired position
Figure SMS_166
That is, the target state that the all-drive six-rotor unmanned aerial vehicle is expected to reach, and the expected position is further +.>
Figure SMS_167
And inputting the linear acceleration error to a position controller, and finally obtaining the linear acceleration error and inputting the linear acceleration error to a feedback linearization module.
The embodiment of the invention preferably designs a proportional-integral-derivative position controller to ensure the accurate tracking of the unmanned aerial vehicle to a given position, wherein the position controller is expressed as:
Figure SMS_168
Wherein,,
Figure SMS_170
is the linear acceleration; />
Figure SMS_173
、/>
Figure SMS_176
、/>
Figure SMS_171
Is a diagonal matrix, and diagonal elements are constants greater than 0. />
Figure SMS_174
For position errors, i.e.)>
Figure SMS_177
,/>
Figure SMS_178
For the desired position, add->
Figure SMS_169
For the actual position +.>
Figure SMS_172
,/>
Figure SMS_175
The time of last calling the position controller and the time of last calling the position controller are respectively represented, and the specific value of the time is determined by the frequency of the position controller.
Thus, the expected resultant force on the inertial coordinate system is calculated as follows:
Figure SMS_179
thus, the actual acceleration error
Figure SMS_180
The calculation is as follows:
Figure SMS_181
wherein,,
Figure SMS_182
is the desired linear acceleration.
In summary, after a desired position is given, a position error is obtained based on the desired position and the current actual position; and inputting the position error into a constructed position controller to obtain linear acceleration, and further obtaining linear acceleration error compared with the expected linear acceleration. Finally transmitting the linear acceleration error to a feedback linearization module; and obtaining the linear acceleration, then obtaining the expected resultant force on the inertial coordinate system through calculation, and finally transmitting the expected resultant force to the gesture generator module.
It should be noted that, in this example, a proportional-integral-derivative position controller is selected, and in other possible embodiments, other types of position controllers may be selected to implement the linear acceleration calculating function, and it should be understood that other technical solutions for calculating the linear acceleration error are also consistent with the foregoing technical ideas of the present invention, and fall within the protection scope of the present invention.
(2) Using a gesture generator and a gesture strategy, selecting a type of gesture to further determine an expected rotation matrix corresponding to the type of gesture:
and calculating a desired lifting force on the inertial coordinate system through the position controller, and calculating a desired attitude angle according to the desired lifting force.
Gesture policy: dividing the gesture of the unmanned aerial vehicle into: the device comprises a conventional inclined posture, a constant horizontal posture and a fixed inclined posture, and a class of postures is selected according to a detection environment. The expected attitude angles of the three strategies are all represented by a rotation matrix, so that the singularities represented by Euler angles and the abstractions represented by quaternions can be avoided.
The first is a conventional tilt attitude strategy, and the attitude of the full-drive six-rotor unmanned aerial vehicle under the strategy is inclined towards the movement direction of the unmanned aerial vehicle when the unmanned aerial vehicle moves, and is the same as the attitude of the fuselage inclination when the traditional underactuated unmanned aerial vehicle moves. The unmanned aerial vehicle has larger capability of resisting external force and interference under the strategy, and can save energy. When the unmanned aerial vehicle is further away from the detected facility when expanding to the overhead contact type operation robot in the future, the adoption of the strategy can ensure the stability of the unmanned aerial vehicle against interference and save energy. The rotation matrix under this strategy is:
Figure SMS_183
/>
Wherein,,
Figure SMS_185
representing the desired body coordinate system of the setting>
Figure SMS_188
The direction of the coordinate system is the front-right-lower coordinate system;
Figure SMS_191
、/>
Figure SMS_186
、/>
Figure SMS_189
are respectively->
Figure SMS_192
、/>
Figure SMS_194
、/>
Figure SMS_184
Unit vector on the coordinate axis. Wherein->
Figure SMS_187
、/>
Figure SMS_190
、/>
Figure SMS_193
The following calculation is performed in turn:
Figure SMS_195
;
Figure SMS_196
;
Figure SMS_197
wherein,,
Figure SMS_198
for the desired resultant force on the inertial coordinate system, +.>
Figure SMS_199
Is the desired yaw angle.
The second is a constant horizontal attitude strategy under which the fuselage attitude of a fully-driven six-rotor unmanned aerial vehicle can be maintained at a constant level while in motion or hovering. When the unmanned aerial vehicle is close to the detected facility and the vertical surface of the facility is to be subjected to contact detection, the stability of the robot during detection can be maintained by adopting the strategy when the unmanned aerial vehicle is expanded to the overhead contact type operation robot in the future. The rotation matrix under this strategy is:
Figure SMS_200
and the third is a fixed tilting attitude strategy, and the whole-driving six-rotor unmanned aerial vehicle under the strategy can tilt the airframe to a certain angle in a certain direction during movement or hovering. When the unmanned aerial vehicle is close to the detected facility and the facility inclined plane is to be detected in contact when expanding to the overhead contact type operation robot in the future, the inclined plane can be detected by adopting the strategy. Under this strategy, two additional input parameters, respectively the desired tilt angle, need to be set
Figure SMS_201
And the desired tilt direction->
Figure SMS_202
Here it is assumed that the direction and the north direction to which the inertial coordinate system points are the same.
The rotation matrix under this strategy is:
Figure SMS_203
wherein,,
Figure SMS_204
、/>
Figure SMS_205
、/>
Figure SMS_206
the following calculation is performed in turn:
Figure SMS_207
;
Figure SMS_208
;
Figure SMS_209
the drone is tilted about a rotation axis perpendicular to the Z-axis of the inertial coordinate system, wherein:
Figure SMS_210
/>
therefore, a type of gesture is selected according to the detection environment, and then the expected rotation matrix can be determined according to the formula, and the expected rotation matrix is obtained and then transmitted to the angular acceleration generator.
It should be noted that, in this embodiment, the above posture policy is preferably set, and in other possible embodiments, the rotation matrix in a certain posture determined by using other possible manners also conforms to the foregoing technical idea of the present invention, and falls within the protection scope of the present invention. I.e. the above gesture strategy is a preferred example of the invention, but not the only viable way.
(3) The desired body angular acceleration is obtained using an angular acceleration generator.
Wherein the set desired pose can be obtained from the desired rotation matrix. The method comprises the following steps:
in the conventional tilt attitude strategy and the fixed tilt attitude strategy, the set desired attitudes are:
Figure SMS_211
wherein,,
Figure SMS_212
、/>
Figure SMS_213
、/>
Figure SMS_214
desired rotation matrix set in normal tilt attitude strategy and fixed tilt attitude strategy, respectively +. >
Figure SMS_215
First, second, and third columns of (a).
In the constant horizontal attitude strategy, the desired attitudes set are:
Figure SMS_216
according to the change rate of attitude angle
Figure SMS_217
Rotational angular velocity +.>
Figure SMS_218
Is used in the three gesture strategies>
Figure SMS_219
Indicating the desired body angular velocity, specifically:
Figure SMS_220
;
Figure SMS_221
therefore, the desired body angular acceleration is:
Figure SMS_222
in summary, after the expected rotation matrix is input into the angular acceleration generator, the expected rotation matrix is utilized to determine the expression of the expected gesture, the current gesture is utilized to determine the gesture angular change rate, and the relationship between the gesture angular change rate and the rotation angular velocity of the machine body is utilized to obtain the expected machine body angular acceleration. And finally, transmitting the obtained expected body angular acceleration to the gesture controller. It should be noted that, in this embodiment, the angular acceleration generator is selected, and in other possible embodiments, other types of generators may be selected to implement the function of calculating the desired angular acceleration of the machine body, and it should be understood that other technical solutions for calculating the desired angular acceleration of the machine body are also consistent with the foregoing technical ideas of the present invention, and fall within the protection scope of the present invention.
(4) And carrying out gesture tracking by using a gesture controller to obtain an angular acceleration error on a machine body coordinate system. And designing a gesture controller according to the obtained expected rotation matrix and the expected body angular acceleration.
According to the expected rotation matrix and the current rotation matrix, calculating an attitude tracking error, wherein the attitude tracking error is specifically as follows:
Figure SMS_223
wherein,,
Figure SMS_224
is an attitude tracking error; />
Figure SMS_225
Is a desired rotation matrix; />
Figure SMS_226
Is a rotation matrix in the current state; sign->
Figure SMS_227
Mapping for lie algebra to vectors: />
Figure SMS_228
Calculating an angular velocity tracking error according to the expected rotation matrix, the current rotation matrix, the expected body angular velocity and the current body angular velocity, wherein the angular velocity tracking error is specifically as follows:
Figure SMS_229
wherein,,
Figure SMS_230
is an angular velocity tracking error; />
Figure SMS_231
Is the desired angular velocity of the body; />
Figure SMS_232
Is the current angular speed of the body.
In order to converge the attitude tracking error to 0, the attitude controller is designed specifically as follows:
Figure SMS_233
wherein,,
Figure SMS_234
is the angular acceleration error on the machine body coordinate system; />
Figure SMS_235
、/>
Figure SMS_236
、/>
Figure SMS_237
Is a diagonal matrix, and diagonal elements are constants greater than 0. />
Figure SMS_238
,/>
Figure SMS_239
Respectively representing the time of last invoking the gesture controller and the time of the current invoking the gesture controller.
And finally, inputting the angular acceleration error on the machine body coordinate system obtained by the gesture controller to a feedback linearization module.
It should be noted that, in this embodiment, the above-mentioned gesture controller is selected, and in other possible embodiments, other types of gesture controllers may be selected to implement the angular acceleration error calculating function, and it should also be understood that other technical solutions for calculating the angular acceleration error are also consistent with the foregoing technical ideas of the present invention, and fall within the protection scope of the present invention.
(5) And calculating an expected rotor rotating speed vector by using a feedback linearization module, and controlling the motor rotor of the full-drive six-rotor unmanned aerial vehicle.
The linear acceleration error of the position controller and the angular acceleration error of the attitude controller are input into the feedback linearization module, and then the feedback linearization module outputs the expected rotor rotating speed vector.
The states of the system are defined as:
Figure SMS_240
according to resultant forces on inertial coordinate systems
Figure SMS_241
And linear acceleration->
Figure SMS_242
Is a relationship of (a) and (b) on an inertial coordinate system
Figure SMS_243
Is>
Figure SMS_244
Relationship between:
Figure SMS_245
;/>
Figure SMS_246
the method can obtain the following steps:
Figure SMS_247
according to the resultant moment on the machine body coordinate system
Figure SMS_248
And angular acceleration->
Figure SMS_249
And the resultant moment on the body coordinate system +.>
Figure SMS_250
Is>
Figure SMS_251
Relationship between:
Figure SMS_252
Figure SMS_253
the method can obtain the following steps:
Figure SMS_254
thus, it is possible to obtain:
Figure SMS_255
wherein, let:
Figure SMS_256
Figure SMS_257
Figure SMS_258
therefore, there are:
Figure SMS_259
/>
and (3) making:
Figure SMS_260
then, there are:
Figure SMS_261
in summary, as shown in fig. 2, after a given expectation, the position controller calculates the wire acceleration error according to the given expectation position and other parameters, and transmits the wire acceleration error to the feedback linearization module; in addition, an angular acceleration error is finally obtained through the gesture generator, the angular acceleration generator and the gesture controller and is transmitted to the feedback linearization module; and the feedback linearization module calculates a rotor rotation speed vector to be expected by using the formula and is used for controlling the motor rotor of the full-drive six-rotor unmanned aerial vehicle. Causing the drone to approach the desired state.
It should be noted that, in this embodiment, the feedback linearization module is selected, and in other possible embodiments, other calculation models may be selected to implement rotor rotation speed vector calculation, that is, other technical schemes for calculating rotor rotation speed vectors are also in line with the foregoing technical ideas of the present invention, and fall within the protection scope of the present invention.
It should be noted that, in the above example, step 1 is to determine that the desired rotation matrix under the desired gesture is obtained preferably according to the set gesture policy, which is the best embodiment of the present invention, but is not the only example, and in other possible embodiments, other gestures or manners may be selected to determine the desired rotation matrix. In addition, step 2 in the above example is to calculate the linear acceleration error preferably using the proportional-integral-derivative position controller and calculate the angular acceleration error preferably using the above attitude controller. It should be understood that this is the preferred embodiment of the present invention, but is not the only example, and other technical means are adopted to obtain the linear acceleration error and the angular acceleration error in other feasible embodiments, which fall within the protection scope of the present invention.
That is, under the above technical concept of the present invention, the technical means/technical points of the calculation model of the rotor rotation speed vector, the calculation model of the attitude strategy and the expected rotation matrix, the calculation model of the linear acceleration error, and the calculation model of the angular acceleration error may be arbitrarily combined, separated, or replaced in different possible embodiments. For example, on the basis of the calculation model of the rotor rotation speed vector in the above example, the above attitude strategy, and/or the calculation model of the expected rotation matrix, and/or the calculation model of the linear acceleration error, and/or the calculation model combination of the angular acceleration error may be selected, or other technical solutions that can achieve the same function may be selected to replace.
Example 2:
the embodiment provides a system based on the full-drive six-rotor unmanned aerial vehicle pose control method, which comprises the following steps: the expected state acquisition module and the control module.
The expected state acquisition module is used for acquiring an expected state of the full-drive six-rotor unmanned aerial vehicle, and the characterization parameters of the expected state at least comprise: a desired rotation matrix at a desired position and a desired attitude;
and the control module is used for calculating linear acceleration errors and angular acceleration errors based on the expected state and the current state, inputting the angular acceleration errors and the linear acceleration errors into a constructed feedback linearization module to obtain expected rotor rotating speed vectors, and controlling the motor rotor of the full-drive six-rotor unmanned aerial vehicle.
In some implementations, the two modules are further partitioned such that the system includes: a given module, a position controller, a gesture generator, an angular acceleration generator, a gesture controller and a feedback linearization module;
the given module is used for acquiring expected parameters, such as expected positions, of the full-drive type rotor unmanned aerial vehicle; the gesture generator is used for determining an expected rotation matrix of the full-drive type rotor unmanned aerial vehicle; i.e. the two modules constitute the desired state acquisition module.
The position controller is used for calculating a linear acceleration error; the angular acceleration generator is used for calculating the angular acceleration of the machine body; the gesture controller is used for calculating an angular acceleration error, and the feedback linearization module is used for calculating an expected rotor rotating speed vector based on the angular acceleration error and the linear acceleration error and controlling a motor rotor of the full-drive type six-rotor unmanned aerial vehicle. Namely, the position controller, the angular acceleration generator, and the attitude controller are regarded as constituting the control module described above.
The implementation process of each module refers to the content of the above method, and will not be described herein. It should be understood that the above-described division of functional modules is merely a division of logic functions, and other divisions may be implemented in actual manners, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Meanwhile, the integrated units can be realized in a hardware form or a software functional unit form.
Example 3
The embodiment provides a six rotor unmanned aerial vehicle of full drive type, it includes at least: one or more processors; and a memory storing one or more computer programs;
Wherein the processor invokes the computer program to implement: the method for controlling the pose of the full-driving six-rotor unmanned aerial vehicle comprises the following steps:
step 1: acquiring an expected state of the fully-driven six-rotor unmanned aerial vehicle, wherein the characterization parameters of the expected state at least comprise: a desired rotation matrix at a desired position and a desired attitude;
the six motor rotors of the full-drive six-rotor unmanned aerial vehicle tilt by a fixed angle value respectively, so that the layout of the corresponding propellers is a non-coplanar layout;
step 2: and calculating linear acceleration errors and angular acceleration errors based on the expected state and the current state, and inputting the angular acceleration errors and the linear acceleration errors into a constructed feedback linearization module to obtain expected rotor speed vectors, wherein the expected rotor speed vectors are used for controlling the motor rotor of the full-drive six-rotor unmanned aerial vehicle.
In some embodiments, the method comprises the steps of determining to acquire a desired rotation matrix under a desired gesture according to a set gesture strategy, wherein the gesture strategy is used for dividing the gesture of the unmanned aerial vehicle into the following steps: the system comprises a conventional inclined posture, a constant horizontal posture and a fixed inclined posture, wherein one type of posture is selected according to a detection environment, and one type of expected rotation matrix corresponding to each type of posture is selected.
In some embodiments, a position error is first derived based on the desired position and a current actual position; and inputting the position error into a constructed position controller to obtain linear acceleration, and further obtaining linear acceleration error compared with expected linear acceleration.
For specific implementation, refer to the relevant statements of example 1.
The memory may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.
If the memory and the processor are implemented independently, the memory, the processor, and the communication interface may be interconnected by a bus and communicate with each other. The bus may be an industry standard architecture bus, an external device interconnect bus, or an extended industry standard architecture bus, among others. The buses may be classified as address buses, data buses, control buses, etc.
Alternatively, in a specific implementation, if the memory and the processor are integrated on a chip, the memory and the processor may communicate with each other through an internal interface.
It should be appreciated that in embodiments of the present invention, the processor may be a central processing unit (Central Processing Unit, CPU), which may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The memory may include read only memory and random access memory and provide instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store information of the device type.
Example 4
A computer-readable storage medium storing one or more computer programs, the computer programs being invoked by a processor to implement: the method for controlling the pose of the full-driving six-rotor unmanned aerial vehicle comprises the following steps:
step 1: acquiring an expected state of the fully-driven six-rotor unmanned aerial vehicle, wherein the characterization parameters of the expected state at least comprise: a desired rotation matrix at a desired position and a desired attitude;
the six motor rotors of the full-drive six-rotor unmanned aerial vehicle tilt by a fixed angle value respectively, so that the layout of the corresponding propellers is a non-coplanar layout;
step 2: and calculating linear acceleration errors and angular acceleration errors based on the expected state and the current state, and inputting the angular acceleration errors and the linear acceleration errors into a constructed feedback linearization module to obtain expected rotor speed vectors, wherein the expected rotor speed vectors are used for controlling the motor rotor of the full-drive six-rotor unmanned aerial vehicle.
In some embodiments, the method comprises the steps of determining to acquire a desired rotation matrix under a desired gesture according to a set gesture strategy, wherein the gesture strategy is used for dividing the gesture of the unmanned aerial vehicle into the following steps: the system comprises a conventional inclined posture, a constant horizontal posture and a fixed inclined posture, wherein one type of posture is selected according to a detection environment, and one type of expected rotation matrix corresponding to each type of posture is selected.
In some embodiments, a position error is first derived based on the desired position and a current actual position; and inputting the position error into a constructed position controller to obtain linear acceleration, and further obtaining linear acceleration error compared with expected linear acceleration.
For specific implementation, refer to the relevant statements of example 1.
The readable storage medium is a computer readable storage medium, which may be an internal storage unit of the controller according to any one of the foregoing embodiments, for example, a hard disk or a memory of the controller. For example, the terrain feature model constructed in the invention exists in a hard disk, and then the computer program for executing the fusion step is stored in a memory, so that the fusion process is realized by depending on the memory. The readable storage medium may also be an external storage device of the controller, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the controller. Further, the readable storage medium may also include both an internal storage unit and an external storage device of the controller. The readable storage medium is used to store the computer program and other programs and data required by the controller. The readable storage medium may also be used to temporarily store data that has been output or is to be output.
Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned readable storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be emphasized that the examples described herein are illustrative rather than limiting, and that this invention is not limited to the examples described in the specific embodiments, but is capable of other embodiments in accordance with the teachings of the present invention, as long as they do not depart from the spirit and scope of the invention, whether modified or substituted, and still fall within the scope of the invention.

Claims (9)

1. A fully-driven six-rotor unmanned aerial vehicle pose control method is characterized by comprising the following steps of: the method comprises the following steps:
Step 1: acquiring an expected state of the fully-driven six-rotor unmanned aerial vehicle, wherein the characterization parameters of the expected state at least comprise: a desired rotation matrix at a desired position and a desired attitude;
the six motor rotors of the full-drive six-rotor unmanned aerial vehicle tilt by a fixed angle value respectively, so that the layout of the corresponding propellers is a non-coplanar layout;
step 2: calculating linear acceleration errors and angular acceleration errors based on the expected state and the current state, inputting the angular acceleration errors and the linear acceleration errors into a constructed feedback linearization module to obtain expected rotor speed vectors, and controlling the motor rotor of the full-drive six-rotor unmanned aerial vehicle;
the desired rotor speed vector is expressed as follows:
Figure QLYQS_1
;
definition of a function
Figure QLYQS_2
、/>
Figure QLYQS_3
And the middleVariable->
Figure QLYQS_4
The following formula is satisfied:
Figure QLYQS_5
;
Figure QLYQS_6
;
Figure QLYQS_7
;
where u is the desired rotor speed vector,xthe state of the system is indicated and,
Figure QLYQS_8
representation ofxDeriving time, wherein L and N are defined intermediate variables; />
Figure QLYQS_9
For angular acceleration error, & lt & gt>
Figure QLYQS_10
Is a linear acceleration error; g is a gravity constant, and m is the mass of the full-drive six-rotor unmanned aerial vehicle; />
Figure QLYQS_11
Is the current angular speed of the machine body; />
Figure QLYQS_12
Is a rotation matrix from a machine body coordinate system to an inertial coordinate system in the current state; / >
Figure QLYQS_13
Is the inertial matrix of the full-drive six-rotor unmanned aerial vehicle, and T represents the transposition of the matrix.
2. The method according to claim 1, characterized in that: step 1, determining an expected rotation matrix under the expected gesture according to a set gesture strategy, wherein the gesture strategy is to divide the gesture of the fully-driven six-rotor unmanned aerial vehicle into: the method comprises the steps of conventional inclined postures, constant horizontal postures and fixed inclined postures, and selecting one type of posture according to a detection environment; wherein, the expected rotation matrix corresponding to each type of gesture is expressed as follows:
the normal tilt attitude:
Figure QLYQS_14
;
wherein,,
Figure QLYQS_16
is a desired rotation matrix; />
Figure QLYQS_18
、/>
Figure QLYQS_21
、/>
Figure QLYQS_17
Respectively the desired body coordinate system->
Figure QLYQS_19
Go up->
Figure QLYQS_20
、/>
Figure QLYQS_22
、/>
Figure QLYQS_15
Unit vectors on the coordinate axes, and satisfy:
Figure QLYQS_23
;
Figure QLYQS_24
;
Figure QLYQS_25
;
wherein,,
Figure QLYQS_26
for the desired resultant force on the inertial coordinate system, +.>
Figure QLYQS_27
Is the desired yaw angle;
the constant horizontal attitude:
Figure QLYQS_28
;
the fixed tilt attitude:
Figure QLYQS_29
;
wherein,,
Figure QLYQS_30
、/>
Figure QLYQS_31
、/>
Figure QLYQS_32
the following calculation is performed in turn:
Figure QLYQS_33
;
Figure QLYQS_34
;
Figure QLYQS_35
;
Figure QLYQS_36
;
in the method, in the process of the invention,
Figure QLYQS_37
,/>
Figure QLYQS_38
the desired inclination angle and the desired inclination direction are respectively; />
Figure QLYQS_39
Is a unit vector on the Z axis of the inertial coordinate system,rfor the definition of intermediate variables, the axis of rotation about which the fully-driven six-rotor unmanned aerial vehicle tilts the fuselage is indicated.
3. The method according to claim 2, characterized in that: the fixed inclined posture and the conventional inclined posture are both suitable for inclined plane detection, the detection distance corresponding to the fixed inclined posture is smaller than the detection distance corresponding to the conventional inclined posture, and the detection distance is the distance between the full-drive six-rotor unmanned aerial vehicle and the detection equipment;
The constant horizontal attitude is suitable for vertical surface detection.
4. The method according to claim 1, characterized in that: the calculation process of the linear acceleration error is as follows:
firstly, obtaining a position error based on the expected position and the current actual position;
inputting the position error into a constructed position controller to obtain linear acceleration, and further obtaining linear acceleration error compared with expected linear acceleration;
the position controller builds a calculation model of the relation between the position error and the linear acceleration, and is used for calculating the linear acceleration.
5. The method according to claim 1, characterized in that: the calculation process of the angular acceleration error is as follows:
firstly, based on the expected gesture and the gesture angle change rate determined by the current gesture, obtaining the expected angular acceleration of the machine body by utilizing the relation between the gesture angle change rate and the rotation angular speed of the machine body;
then, inputting the expected body angular acceleration into a constructed gesture controller to obtain an angular acceleration error on a body coordinate system;
the attitude controller builds a calculation model of the relation between the expected body angular acceleration and the angular acceleration error and is used for calculating the angular acceleration error.
6. A fully driven six rotor unmanned aerial vehicle based on the method of any of claims 1-5, characterized in that: the six motor rotors of the full-drive six-rotor unmanned aerial vehicle tilt by a fixed angle value respectively, so that the layout of the corresponding propellers is non-coplanar;
wherein the fixed angle value is equal to the rotation angle
Figure QLYQS_40
Is equal to the absolute value of said rotation angle +.>
Figure QLYQS_41
Is obtained by obtaining the rotation angle +.>
Figure QLYQS_42
The latter rotation angle around the Y-axis of the new rotor coordinate system, said rotation angle +.>
Figure QLYQS_43
Is rotated around the Z axis of the machine body coordinate system to align the rotor coordinate system of the ith motor and enable the projection of the Y axis of the rotor coordinate system on the XY plane of the machine body coordinate system to point to the mass of the full-drive six-rotor unmanned aerial vehicleThe rotation angle of the core.
7. A system based on the method of any one of claims 1-5, characterized in that: comprising the following steps:
the expected state acquisition module is used for acquiring an expected state of the full-drive six-rotor unmanned aerial vehicle, and the characterization parameters of the expected state at least comprise: a desired rotation matrix at a desired position and a desired attitude;
the six motor rotors of the full-drive six-rotor unmanned aerial vehicle tilt by a fixed angle value respectively, and the layout of the corresponding propellers is changed into a non-coplanar layout;
And the control module is used for calculating linear acceleration errors and angular acceleration errors based on the expected state and the current state, inputting the angular acceleration errors and the linear acceleration errors into a constructed feedback linearization module to obtain expected rotor rotating speed vectors, and controlling the motor rotor of the full-drive six-rotor unmanned aerial vehicle.
8. The utility model provides a six rotor unmanned aerial vehicle of full drive type which characterized in that: at least comprises:
one or more processors;
and a memory storing one or more computer programs;
wherein the processor invokes the computer program to implement:
the method of any one of claims 1-5.
9. A computer-readable storage medium, characterized by: one or more computer programs are stored, which are called by a processor to implement:
the method of any one of claims 1-5.
CN202310332102.2A 2023-03-31 2023-03-31 Full-drive six-rotor unmanned aerial vehicle pose control method and device Active CN116088557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310332102.2A CN116088557B (en) 2023-03-31 2023-03-31 Full-drive six-rotor unmanned aerial vehicle pose control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310332102.2A CN116088557B (en) 2023-03-31 2023-03-31 Full-drive six-rotor unmanned aerial vehicle pose control method and device

Publications (2)

Publication Number Publication Date
CN116088557A CN116088557A (en) 2023-05-09
CN116088557B true CN116088557B (en) 2023-06-23

Family

ID=86187094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310332102.2A Active CN116088557B (en) 2023-03-31 2023-03-31 Full-drive six-rotor unmanned aerial vehicle pose control method and device

Country Status (1)

Country Link
CN (1) CN116088557B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118239027B (en) * 2024-05-28 2024-08-02 浙江大学湖州研究院 Amphibious four-rotor unmanned aerial vehicle and wall climbing control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1515068A (en) * 2002-02-25 2004-07-21 大金工业株式会社 Motor control method and its apparatus
WO2020035715A1 (en) * 2018-08-15 2020-02-20 Gary Anthony Daprato Aircrafts with controllers and tiltable rotors for attitude-controlled flight
WO2021223173A1 (en) * 2020-05-07 2021-11-11 深圳市大疆创新科技有限公司 Multi-rotor unmanned aerial vehicle and control method therefor, control device, and computer-readable storage medium
CN114167720A (en) * 2021-10-18 2022-03-11 天津大学 Tilting type three-rotor unmanned aerial vehicle trajectory tracking control method based on observer
CN114995483A (en) * 2022-06-28 2022-09-02 四川大学 Dual quaternion-based tilt rotor multi-rotor unmanned aerial vehicle tracking control method
CN115533915A (en) * 2022-10-21 2022-12-30 湖南大学 Active contact detection control method for aerial work robot in uncertain environment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160023755A1 (en) * 2014-05-05 2016-01-28 King Fahd University Of Petroleum And Minerals System and method for control of quadrotor air vehicles with tiltable rotors
CN105353762B (en) * 2015-09-25 2017-12-26 南京航空航天大学 The control method of six rotor wing unmanned aerial vehicles based on double remaining attitude transducers
CN108398885B (en) * 2018-03-29 2019-03-26 湖南大学 Rotor flying mechanical arm self_adaptive RBF NNs surveys Auto-disturbance-rejection Control of making an uproar
CN108614573B (en) * 2018-05-15 2021-08-20 上海扩博智能技术有限公司 Automatic fault-tolerant attitude control method for six-rotor unmanned aerial vehicle
US11866198B2 (en) * 2018-10-29 2024-01-09 California Institute Of Technology Long-duration, fully autonomous operation of rotorcraft unmanned aerial systems including energy replenishment
US11693373B2 (en) * 2018-12-10 2023-07-04 California Institute Of Technology Systems and methods for robust learning-based control during forward and landing flight under uncertain conditions

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1515068A (en) * 2002-02-25 2004-07-21 大金工业株式会社 Motor control method and its apparatus
WO2020035715A1 (en) * 2018-08-15 2020-02-20 Gary Anthony Daprato Aircrafts with controllers and tiltable rotors for attitude-controlled flight
WO2021223173A1 (en) * 2020-05-07 2021-11-11 深圳市大疆创新科技有限公司 Multi-rotor unmanned aerial vehicle and control method therefor, control device, and computer-readable storage medium
CN114167720A (en) * 2021-10-18 2022-03-11 天津大学 Tilting type three-rotor unmanned aerial vehicle trajectory tracking control method based on observer
CN114995483A (en) * 2022-06-28 2022-09-02 四川大学 Dual quaternion-based tilt rotor multi-rotor unmanned aerial vehicle tracking control method
CN115533915A (en) * 2022-10-21 2022-12-30 湖南大学 Active contact detection control method for aerial work robot in uncertain environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于滑模控制的四旋翼无人机姿态跟踪研究;杨永强;;中国新技术新产品(第02期);第130-132页 *

Also Published As

Publication number Publication date
CN116088557A (en) 2023-05-09

Similar Documents

Publication Publication Date Title
Emran et al. A review of quadrotor: An underactuated mechanical system
Kendoul et al. Modeling and control of a small autonomous aircraft having two tilting rotors
Kaufman et al. Design and development of a free-floating hexrotor UAV for 6-DOF maneuvers
Abbas et al. Tuning of PID controllers for quadcopter system using hybrid memory based gravitational search algorithm–particle swarm optimization
CN116088557B (en) Full-drive six-rotor unmanned aerial vehicle pose control method and device
CN112965512B (en) Unmanned aerial vehicle wind-resistant control method based on propeller model
CN108638068A (en) A kind of flying robot&#39;s Control System Design method carrying redundancy mechanical arm
CN107357302A (en) The tumbling action implementation method and device of a kind of quadrotor
CN111459188A (en) Multi-rotor nonlinear flight control method based on quaternion
CN115480583A (en) Visual servo tracking and impedance control method of flying operation robot
CN108475066B (en) Unmanned aerial vehicle attitude calculation method, flight controller and unmanned aerial vehicle
Månsson et al. Model-based design development and control of a wind resistant multirotor UAV
CN117401187A (en) Complex-shape spacecraft collision avoidance control method based on algebraic conditions
CN116301009A (en) Anti-interference safety control method for variable-configuration unmanned aerial vehicle
Johnson et al. Enhanced proportional-derivative control of a micro quadcopter
Joukhadar et al. Integral Lqr-based 6dof autonomous quadrocopter balancing system control
CN112008731B (en) Compliance control method, device, terminal, system and readable storage medium for aerial work robot
Ateş et al. Controller design for quadrotor-slung load system with swing angle constraints using particle swarm optimization
WO2021024591A1 (en) Motor control device, moving body, motor control method, and program
Salunkhe et al. Design, trajectory generation and control of quadrotor research platform
JPWO2021024591A5 (en)
CN111650954A (en) Four-rotor unmanned aerial vehicle ground effect compensation landing control method based on deep learning
Yang et al. Robust Online Predictive Visual Servoing for Autonomous Landing of a Rotor UAV
TWI783438B (en) Fixed-wing vertical take-off and landing aircraft and automatic control method thereof
Wasim et al. Robust Design of Sliding Mode Control for Airship Trajectory Tracking with Uncertainty and Disturbance Estimation

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