Quad-rotor UAV posture integrated modeling and control method, device and product

By using twistor and dual quaternion theory to simplify the pose and attitude modeling of quad-rotor UAVs, the problems of parameter redundancy and computational complexity in traditional methods are solved, efficient integrated pose and attitude control is achieved, and the wireless speed is improved. Human-machine flight stability and responsiveness.

CN118502473BActive Publication Date: 2024-09-24XIAMEN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410963332.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-09-24
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

In traditional quadcopter UAV pose modeling, the complexity of joint descriptions of rotation and translation leads to complicated calculations, and models based on dual quaternions introduce unnecessary parameter redundancy, which increases the computational burden and may lead to poor control accuracy. loss.

Method used

The twistor is used to describe the attitude of the quad-rotor UAV. The dynamics and kinematics model is constructed through the pose-torsion expression and the dual quaternion theory. The number of parameters is simplified, parameter redundancy is eliminated, and the position is achieved through sliding mode control. Integrated posture control.

Benefits of technology

It improves the calculation efficiency and control accuracy of the integrated modeling and control of the quadcopter UAV's posture, enhances the stability and responsiveness of flight, and avoids the loss of control accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118502473B
    Figure CN118502473B
Patent Text Reader

Abstract

The present invention discloses a method, device and product for integrated posture modeling and control of a quad-rotor drone. The method comprises: S1, defining posture torsion; S2, establishing a kinematic and dynamic model of a quad-rotor drone under a torsion system, and obtaining the relationship between force, torque and the position and posture of the quad-rotor drone model; S3, establishing a relative kinematic and dynamic model of a quad-rotor drone under a torsion system, and further obtaining the relationship between relative force, relative torque and the position and posture of the quad-rotor drone model; S4, based on the obtained kinematic and dynamic model of the quad-rotor drone and the relative kinematic and relative dynamic model of the quad-rotor drone, realizing integrated posture control of the quad-rotor drone. By using the above technical solution, more efficient quad-rotor drone control without parameter redundancy and normalization constraint problems can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of unmanned aerial vehicle control, and in particular to a quad-rotor unmanned aerial vehicle posture integrated modeling and control method, device and product. Background Art

[0002] Traditional modeling mostly uses traditional attitude parameters such as rotation matrix, Euler angle, quaternion and modified Rodriguez parameters to describe the rotation of quadrotor drones, and mostly uses vector equations to describe the translation. If joint control is required, the two are simply combined into a posture equation for control. However, direct combination will cause multiple algebras to appear in the equation description, which brings about the problem of complicated calculation. Some studies use dual quaternions to describe the posture in an integrated manner to solve this problem. This method can theoretically overcome the complexity of the joint description of rotation and translation, but the model based on dual quaternions uses eight-dimensional parameters to describe six-degree-of-freedom motion, which introduces unnecessary parameter redundancy and needs to deal with the problem of normalization constraints. The processing of normalization constraints not only increases the computational burden, but may also lead to a loss of control accuracy in practical applications. Summary of the invention

[0003] The present invention provides a quad-rotor unmanned aerial vehicle posture integrated modeling and control method, device and product, aiming to improve the calculation efficiency and control efficiency of the quad-rotor unmanned aerial vehicle posture integration, and to improve the accuracy and practicability of quad-rotor unmanned aerial vehicle modeling.

[0004] In order to achieve the above-mentioned purpose, on the one hand, a quad-rotor drone posture integrated modeling and control method is provided, and the posture of the quad-rotor drone is described based on the torque, and the method comprises the following steps:

[0005] S1, defines the posture twist:

[0006] The first coordinate system Through attitude quaternion After the rotation, the translation vector Translational movement to the second coordinate system , get the translation vector In the coordinate system The quaternion representation of , according to the obtained quaternion representation The first coordinate system is obtained by using the dual quaternion theory of position and posture To the second coordinate system The pose dual quaternion of , according to the obtained posture dual quaternion and based on the definition of the dual quaternion, the first coordinate system in the geometric algebra framework is obtained Relative to the second coordinate system The position torsion of the first coordinate system Includes: Expected and / or inertial frame ; The second coordinate system Including: the system of the four-rotor drone and / or expected ;

[0007] in:

[0008] The posture twist The expression is:

[0009]

[0010] in is the posture dual quaternion, is the set when both the real part of the dual quaternion and the scalar part of the dual quaternion are zero;

[0011] S2, the quadrotor drone is equivalent to a rigid body, the dynamic equation and kinematic equation under the torsion system are obtained, and the kinematic and dynamic model of the quadrotor drone is constructed by the obtained dynamic equation and kinematic equation under the torsion system, wherein:

[0012] By adjusting the posture twist After derivation, substitute the kinematic equation of the position-pose dual quaternion to obtain the following kinematic equation under the twistor system:

[0013]

[0014]

[0015] in, , are the dual velocity vectors , The dual quaternion form of Indicates that the variable is the first coordinate system Relative to the second coordinate system Variables with superscripts or Indicates the coordinate system currently being calculated. Variables in bold are vectors, variables without bold are scalars, and variables with The symbol indicates that the variable is a twistor;

[0016] By defining the dual mass operator and the force spiral in the twistor system, the following dynamic equations in the twistor system are obtained:

[0017]

[0018] and

[0019]

[0020] in, is the dual mass operator, In the inertial system The force spiral under is the force spiral under the system B, , is the dual velocity vector, the variable superscript or Indicates the current relative coordinate system, variable subscript Represents variables as inertial frames Relative to this system Variables;

[0021] S3, according to the desired system of the quadrotor drone Relative to this system The relative kinematics equation of the quadrotor UAV in the torsion system is obtained by combining the posture torsion of the quadrotor UAV with the relative kinematics equation obtained in step S2 with the force analysis, and the relative dynamics equation of the quadrotor UAV in the torsion system is obtained. The relative kinematics equation and relative dynamics equation in the torsion system are used to construct the relative kinematics and relative dynamics models of the quadrotor UAV, wherein:

[0022] The inertial system Relative Expectation The position twist With inertial system Relative to this system The position twist Synthesize to obtain this system Relative Expectation The position twist , for the Take the derivative to obtain the relative kinematic equations for the twistor system:

[0023]

[0024] in

[0025]

[0026] , , are the dual velocity vectors , , The dual quaternion form of Indicates the coordinate system currently being calculated, variable subscript Indicates that the variable is the expected coefficient Relative to this system Variables, variable subscripts Represents variables as inertial frames Relative to this system Variables, variable subscripts Represents variables as inertial frames Relative to the expected Variables;

[0027] According to the dynamic equation obtained in step S2 and combined with the force analysis, the relative dynamic equation under the torsion system is written as:

[0028]

[0029] in

[0030]

[0031] represents the mass of the quadrotor drone, Indicates that the quadcopter drone body in this system The inertia matrix under represents the dual unit, Indicates that the quadcopter drone in this system The gravity under Indicates that the quadcopter drone in this system The control force under Indicates that the quadcopter drone in this system The disturbance force under Indicates that the gravity in this system The resultant external force vector under Indicates that the control power is in this system The resultant external force vector under In this system, the disturbance force The resultant external force vector under Indicates that the control power is in this system The torque under In this system, the disturbance force The torque under

[0032] S4, based on the obtained kinematic and dynamic models of the quad-rotor drone and the relative kinematic and relative dynamic models of the quad-rotor drone, achieving integrated position and posture control of the quad-rotor drone

[0033] Preferably, in the method for integrated modeling and control of the posture of a quadrotor drone, in step S1, the posture dual quaternion is obtained by the following formula:

[0034]

[0035]

[0036]

[0037] in, The symbol represents the conjugate of a quaternion, represents the real part of the dual quaternion, Represents the dual part of the dual quaternion, and the variable superscript Or it indicates the coordinate system currently being calculated, and the variable is marked with The symbols represent the quaternion form of the corresponding variables.

[0038] Preferably, the quad-rotor drone posture integrated modeling and control method, wherein in step S1, the posture torque is modified according to the modified Rodriguez parameter. Rewrite, including:

[0039] The attitude quaternion Converted to modified Rodriguez parameter representation, we get

[0040]

[0041] In the formula is the modified Rodriguez parameter, express The second norm of Represents a translation vector, variable superscript or Indicates the coordinate system currently being calculated.

[0042] Defining the Matrix for:

[0043]

[0044] in express The antisymmetric matrix of express The model, express The transpose of represents the three-dimensional identity matrix, then

[0045]

[0046] in represents any vector, and the twistor is the posture twist The dual vector of is a vector, is a scalar, combined with the above matrix The expression of the twistor can be obtained for:

[0047] .

[0048] Preferably, in the method for integrated modeling and control of the posture of a quadrotor drone, the kinematic equation of the posture dual quaternion in the kinematic equation of the quadrotor drone obtained in step S2 is expressed as:

[0049]

[0050] Among them, the dual velocity vector Expands to:

[0051]

[0052]

[0053] in is the angular velocity of the coordinate system relative to the moving is the position vector derivative, vector parameter , The horizontal line above indicates the corresponding vector or The quaternion form of , , the subscript of the variable Indicates that the variable is the second coordinate system Relative to the first coordinate system Variables with superscript or Indicates the coordinate system currently being calculated.

[0054] Preferably, in the method for integrated modeling and control of the quadrotor drone posture, the step of obtaining the dynamic equation of the quadrotor drone in step S2 further comprises:

[0055] Defining the dual mass operator

[0056]

[0057] in, For the quality of the drone, J is the inertia matrix of the UAV, is the identity matrix; the operator satisfy , the underlined parameter indicates that the corresponding variable is an operator, is a dual unit, the dual momentum can be expressed as:

[0058]

[0059] Definition of twistor to represent force spiral

[0060]

[0061] in is the total external force vector acting on the rigid body, is the combined external torque vector of the rigid body. The inertia matrix of the rigid body is usually given in the body coordinate system. Therefore, the dynamic equation of the quadrotor drone is expanded into a dual partial form in this coordinate system:

[0062]

[0063] The variables are superscripted Indicates that the coordinate system currently being calculated is this system , variable subscript Represents variables as inertial frames Relative to this system variables.

[0064] Preferably, in the method for integrated modeling and control of the quadrotor drone posture, the desired system is obtained by the following formula in step S3: Relative to this system The position twist :

[0065]

[0066] Variable subscript Represents variables as inertial frames Relative to this system Variable or subscript Represents variables as inertial frames Relative to the expected variables.

[0067] Preferably, the method for integrated modeling and control of the quadrotor drone posture, wherein the step S4 comprises: designing an integrated sliding mode controller of the quadrotor drone based on the obtained kinematic and dynamic models of the quadrotor drone and the relative kinematic and dynamic models of the quadrotor drone, wherein:

[0068] Define the general dual operator for:

[0069]

[0070] in for When the real matrices are both identity matrices, the dual operator Recorded as:

[0071]

[0072] but The operation on the dual vector can be expressed as:

[0073]

[0074] represents the real part vector of an even number, Representing the dual part vector of the dual number, the sliding surface and sliding reaching law based on the twistor are obtained as follows:

[0075]

[0076] is the dual constant coefficient operator to be designed, the sliding mode surface is differentiated, and substituted into the relative dynamics model to obtain the sliding mode control law:

[0077]

[0078] in, represents the gravity on which the quadrotor drone is subjected, represents the disturbance force on the quadrotor drone, It is defined as taking the vector part of the quaternion;

[0079] The dual coefficient operator is:

[0080]

[0081] in, for Real matrix, is a positive real number to be designed.

[0082] On the other hand, a quad-rotor unmanned aerial vehicle posture integrated modeling and control device is provided, comprising a memory and a processor, wherein the memory stores at least one program, and the at least one program is executed by the processor to implement a quad-rotor unmanned aerial vehicle posture integrated modeling and control method as described above.

[0083] On the other hand, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the quad-rotor drone posture integrated modeling and control method as described above.

[0084] The above technical solution has one or more of the following technical effects:

[0085] The use of twisters instead of traditional multi-dimensional attitude description parameters simplifies the number of parameters required to describe the attitude of the quadrotor drone, eliminates the parameter redundancy and normalization constraint problems in traditional methods, and enhances the accuracy and reliability of control; (2) Through integrated modeling and control, the computational efficiency and control efficiency of the quadrotor drone flight are improved;

[0086] (3) By comprehensively considering the kinematic and dynamic characteristics of the UAV, the model is more in line with engineering practice, improving the accuracy of the model in practical applications;

[0087] (4) It avoids the problem of lack of control accuracy, allowing the UAV to maintain good stability and responsiveness in various flight conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0088] Figure 1 It is an overall flow chart of a method for integrated posture modeling and control of a quad-rotor drone according to an embodiment of the present invention;

[0089] Figure 2 A schematic diagram of the force analysis and coordinate system structure of a quad-rotor drone in a method for integrated posture modeling and control of a quad-rotor drone according to an embodiment of the present invention;

[0090] Figure 3 This is a schematic diagram of a control process using a quad-rotor drone posture integrated modeling and control method according to an embodiment of the present invention;

[0091] Figure 4 A schematic diagram of a UAV mission in an embodiment of the present invention;

[0092] Figure 5 A diagram showing simulation results of integrated synovial control using a modeling and control method according to an embodiment of the present invention;

[0093] Figure 6 A diagram of an integrated drone posture modeling and control device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0094] To further illustrate various embodiments, the present invention provides drawings. These drawings are part of the disclosure of the present invention, which are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in this field should be able to understand other possible implementations and advantages of the present invention.

[0095] The present invention will now be further described with reference to the accompanying drawings and specific implementation methods.

[0096] Embodiment 1:

[0097] In order to improve the flight control efficiency of a quad-rotor UAV, the present invention provides a quad-rotor UAV posture integrated modeling and control method. Figure 1 FIG. 1 is an overall flow chart of a method for integrating the posture modeling and control of a quad-rotor drone according to an embodiment of the present invention. Figure 1 The method of the embodiment of the present invention realizes the integrated posture modeling and control of posture torsion.

[0098] Specifically, the quad-rotor drone posture integrated modeling and control method of the embodiment of the present invention comprises the following steps:

[0099] S1, defines the posture twist:

[0100] The first coordinate system Through attitude quaternion After the rotation, the translation vector Translational movement to the second coordinate system , get the translation vector In the coordinate system The quaternion representation is , according to the obtained quaternion representation The first coordinate system is obtained by using the dual quaternion theory of position and posture To the second coordinate system The pose dual quaternion of , according to the obtained posture dual quaternion and based on the definition of the dual quaternion, the first coordinate system in the geometric algebra framework is obtained Relative to the second coordinate system The position torsion of the first coordinate system Includes: Expected and / or inertial frame ; The second coordinate system Including: the system of the four-rotor drone and / or expected ;

[0101] in:

[0102] Posture twist The expression is:

[0103]

[0104] in is the posture dual quaternion, is the set when both the real part of the dual quaternion and the scalar part of the dual quaternion are zero;

[0105] S2, the quadrotor drone is equivalent to a rigid body, the dynamic equation and kinematic equation under the torsion system are obtained, and the kinematic and dynamic model of the quadrotor drone is constructed by the obtained dynamic equation and kinematic equation under the torsion system, where:

[0106] By adjusting the posture twist After derivation, substitute the kinematic equation of the position-pose dual quaternion to obtain the following kinematic equation under the twistor system:

[0107]

[0108] in, , are the dual velocity vectors , The dual quaternion form of Indicates that the variable is the first coordinate system Relative to the second coordinate system Variables with superscripts or Indicates the coordinate system currently being calculated. Variables in bold are vectors, variables without bold are scalars, and variables with The symbol indicates that the variable is a twistor;

[0109] By defining the dual mass operator and the force spiral in the twistor system, the following dynamic equations in the twistor system are obtained:

[0110]

[0111] and

[0112]

[0113] in, is the dual mass operator, In the inertial system The force spiral under is the force spiral under the system B, , is the dual velocity vector, the variable superscript or Indicates the coordinate system currently being calculated, variable subscript Represents variables as inertial frames Relative to this system Variables;

[0114] S3, according to the expected system of the quadrotor drone Relative to this system The relative kinematics equation of the quadrotor drone in the torsion system is obtained according to the posture torsion, and the relative dynamics equation of the quadrotor drone in the torsion system is obtained according to the dynamics equation obtained in step S2. The relative kinematics equation and relative dynamics equation in the torsion system are used to construct the relative kinematics and relative dynamics models of the quadrotor drone, wherein:

[0115] The inertial system Relative Expectation The position twist With inertial system Relative to this system The position twist Synthesize to obtain this system Relative Expectation The position twist , for the Take the derivative to obtain the relative kinematic equations for the twistor system:

[0116]

[0117] in

[0118]

[0119] , , are the dual velocity vectors , , The dual quaternion form of Indicates the coordinate system currently being calculated, variable subscript Indicates that the variable is the expected coefficient Relative to this system Variables, variable subscripts Represents variables as inertial frames Relative to this system Variables, variable subscripts Represents variables as inertial frames Relative to the expected Variables;

[0120] According to the dynamic equation obtained in step S2 and combined with the force analysis, the relative dynamic equation under the torsion system is written as:

[0121]

[0122] in

[0123]

[0124] represents the mass of the quadrotor drone, Indicates that the quadcopter drone body in this system The inertia matrix under represents the dual unit, Indicates that the quadcopter drone in this system The gravity under Indicates that the quadcopter drone in this system The control force under Indicates that the quadcopter drone in this system The disturbance force under Indicates that the gravity in this system The resultant external force vector under Indicates that the control power is in this system The resultant external force vector under In this system, the disturbance force The resultant external force vector under Indicates that the control power is in this system The torque under In this system, the disturbance force The torque under

[0125] S4, based on the obtained kinematic and dynamic models of the quadrotor UAV as well as the relative kinematic and relative dynamic models of the quadrotor UAV, combined with the sliding mode theory, realizes the integrated position and attitude control of the quadrotor UAV.

[0126] Embodiment 2:

[0127] In order to improve the accuracy of the integrated modeling of the UAV, it is assumed that the UAV is a rigid body and is only subject to gravity and the lift generated by the propeller. The coordinate system definitions used in this paper are: (1) Geocentric inertial coordinate system ;(2) Coordinate system of the controlled quadrotor drone ;(3)Expected coordinate system . For the convenience of the following description, bold letters are vectors, and non-bold letters are scalars; superscript The quaternion form of the vector, superscript represents a twistor; defines the operator and Take the scalar and vector parts of the quaternion respectively, that is, there is a quaternion ,but , ; Variable superscript , , Indicates the coordinate system currently being calculated. , It represents the variables located in this system and the inertial system respectively under the conditions of the inertial system relative to this system, and so on. Figure 2 This is a schematic diagram of the force analysis and coordinate system structure of a quad-rotor drone in a method for integrated posture modeling and control of a quad-rotor drone according to an embodiment of the present invention.

[0128] (1) Definition of posture twist

[0129] Set the first coordinate system Through attitude quaternion After the rotation, the translation vector Translational movement to the second coordinate system , exist The quaternion is expressed as , The symbol represents the conjugate of a quaternion.

[0130] Then, according to the dual quaternion theory, we can get Tie to The dual quaternion of the system's position It is expressed as:

[0131]

[0132]

[0133] in , are quaternions, representing the real part and the dual part of the dual quaternion respectively. is a dual unit, satisfying If the real part of the dual quaternion and the quaternion scalar part of the dual part are both zero, that is

[0134]

[0135] Then record this set as .

[0136] Defining the position torsion in the geometric algebra framework based on dual quaternions for:

[0137]

[0138] The above formula can be rewritten as:

[0139]

[0140] In the formula is the modified Rodriguez parameter, express The second norm of Represents a translation vector, variable superscript or Indicates the coordinate system currently being calculated and defines the matrix for:

[0141]

[0142] in express The antisymmetric matrix of express The model, express The transpose of represents the three-dimensional identity matrix, then we have

[0143]

[0144] in represents any vector, Twist The dual vector of is expressed as:

[0145]

[0146] The pose dual quaternion is an eight-dimensional parameter and needs to satisfy the unit constraint

[0147]

[0148] The twistor is a six-dimensional parameter, there is no parameter redundancy problem, and for any value of the twistor Its corresponding dual quaternion Always automatically satisfied

[0149]

[0150] It can be seen that there is no normalization constraint when the twistor describes the posture, but the posture part of the twistor is described by the modified Rodriguez parameter, which inherits the modified Rodriguez parameter in the posture angle There is a singularity at , so there is a singularity problem when using twistors to describe the rigid body posture. But the attitude angle is It can be equivalent to the original posture, so this situation can be ignored.

[0151] (2) Kinematic and dynamic models based on twistor

[0152] The structure of the quad-rotor drone is as follows Figure 2 As shown, the kinematic equation of the pose dual quaternion is expressed as:

[0153]

[0154] After derivation of the twist quantity, we can get the kinematic equation of the dual quaternion of the posture by

[0155]

[0156] in, , is the dual velocity vector , The dual quaternion form of , where the subscript represents the participating coordinate system, and the superscript represents the current relative coordinate system, the dual velocity vector is expanded as:

[0157]

[0158]

[0159] in is the angular velocity of the coordinate system relative to the moving is the position vector derivative, vector parameter , The horizontal line above indicates the corresponding vector or The quaternion form of , , the subscript of the variable Indicates that the variable is the second coordinate system Relative to the first coordinate system Variables with superscript or Indicates the coordinate system currently being calculated.

[0160] Defining the dual mass operator

[0161]

[0162] in, For the quality of the drone, J is the inertia matrix of the UAV, is the identity matrix; the operator satisfy , the underlined parameters represent operators. Then the dual momentum can be expressed as:

[0163]

[0164] Definition of twistor to represent force spiral

[0165]

[0166] in is the total external force vector acting on the rigid body, is the total external torque vector of the rigid body. Assume that the system where the rigid body is located is recorded as , the inertial system is recorded as , then the kinetic equation

[0167]

[0168] and

[0169]

[0170] in, is the dual mass operator, In the inertial system The force spiral under For this system The force spiral under , is the dual velocity vector;

[0171] The inertia matrix of a rigid body is usually given in a body coordinate system, so the dynamic equation of the quadrotor drone is expanded into a dual partial form in this coordinate system:

[0172] .

[0173] (2) Relative kinematics and relative dynamics models based on torsion

[0174] According to the posture twist synthesis formula:

[0175]

[0176] In this formula Indicates the amount of twist and posture twist The synthesized posture torsion; posture torsion and posture twist are any two posture torsion quantities to be synthesized; use this formula to calculate the posture torsion quantity of this system relative to the inertial system and the twist of the desired system relative to the inertial system Synthesize the desired system Relative to this system The position twist for:

[0177]

[0178] Derivative of the above equation gives the relative kinematic equation:

[0179]

[0180] in

[0181] ;

[0182] remember represents the mass of the quadrotor drone, Indicates that the quadcopter drone body in this system The inertia matrix under the UAV can be written as follows based on the UAV's dynamic equation:

[0183]

[0184] in

[0185]

[0186] represents the resultant external force vector, represents the resultant external torque vector, represents the gravity on which the quadrotor drone is subjected, represents the control force and control torque of the quadrotor drone, It represents the disturbance force and disturbance torque applied to the quadrotor drone.

[0187] In summary, the dynamics and kinematics equations for the relative motion of the UAV can be obtained as follows:

[0188] .

[0189] In order to unify the dual expression operation, the integrated sliding mode controller is designed and the general dual operator is defined as:

[0190]

[0191] in for Real matrix and identity matrix, dual operator Recorded as:

[0192]

[0193] but The operation on the dual vector can be expressed as:

[0194]

[0195] A vector representing the real part of an even number, The vector representing the dual part of the dual number, the sliding surface and sliding reaching law based on the twistor are obtained as follows:

[0196]

[0197] is the dual constant coefficient operator to be designed, the sliding mode surface is derived, and then substituted into the relative dynamics model to obtain the sliding mode control law:

[0198]

[0199] in, represents the gravity on which the quadrotor drone is subjected, represents the disturbance force on the quadrotor drone, It is defined as taking the vector part of the quaternion, Calculated from the twistor kinematics equation.

[0200] Due to the unification of attitude and position control design and the unification of three-channel control of attitude and position, the dual coefficient operator is designed as:

[0201]

[0202] in, for Real matrix, is a positive real number to be designed.

[0203] Figure 3 The figure is a flow chart of the control process of the quad-rotor drone using the integrated posture modeling and control method of the present invention. Figure 3 According to the initial position and attitude of the UAV as well as the expected position and attitude, the torsion-based dynamic model, kinematic model and relative position and attitude integrated model based on torsion are used to realize the torsion-based integrated sliding mode control of the UAV.

[0204] (4) Simulation analysis

[0205] In order to verify the proposed torque-based integrated sliding mode controller for quadrotor UAV, a UAV posture motion task is designed: in the presence of position and attitude disturbances, the UAV moves from the initial posture to the desired posture, such as Figure 4 shown. Figure 4 FIG. 1 is a schematic diagram of a UAV mission in an embodiment of the present invention. Figure 4 , this system is the coordinate system of the drone , the expected coordinate system is the expected coordinate system of the UAV .

[0206] The purpose of the motion task is to make the expected position and attitude error of the UAV system relative to the inertial system converge to zero within a limited time.

[0207] Based on the established relative dynamics and kinematics model based on torque, the simulation results of posture motion tasks are as follows: Figure 5 shown. Figure 5 In the figure: (a) represents the change trend of the relative attitude quaternion of the drone over time; (b) represents the change trend of the relative position of the drone over time; (c) represents the change trend of the relative torque over time; (d) represents the change trend of the control over time.

[0208] According to Figure 5 The analysis of the pose motion task simulation results shown in the figure shows that when there are attitude disturbances and position disturbances, the designed torque-based integrated sliding mode control system for the quadrotor UAV can ensure that the position and attitude converge quickly to zero, and has good anti-interference ability, which verifies the effectiveness of the proposed torque-based quadrotor UAV modeling and control.

[0209] Embodiment three:

[0210] Figure 6 FIG. 1 is a schematic diagram of the structure of a quad-rotor drone posture integrated modeling and control device according to an embodiment of the present invention. Figure 6 As shown, the device includes a processor 601, a memory 602, a bus 603, and a computer program stored in the memory 602 and executable on the processor 601. The processor 601 includes one or more processing cores. The memory 602 is connected to the processor 601 via the bus 603. The memory 602 is used to store program instructions. When the processor executes the computer program, the steps in the above method embodiment of the first embodiment of the present invention are implemented.

[0211] Further, as an executable solution, the quad-rotor drone posture integrated modeling and control device can be a computer unit, which can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The computer unit may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that the composition structure of the above-mentioned computer unit is only an example of a computer unit and does not constitute a limitation on the computer unit. It may include more or less components than the above, or a combination of certain components, or different components. For example, the computer unit may also include input and output devices, network access devices, buses, etc., which are not limited in the embodiments of the present invention.

[0212] Further, as an executable solution, the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the computer unit, and various interfaces and lines are used to connect various parts of the entire computer unit.

[0213] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the computer unit by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0214] Embodiment 4:

[0215] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method in the embodiment of the present invention are implemented.

[0216] If the module / unit integrated in the computer unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory) and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction.

[0217] Embodiment five:

[0218] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the method described above are implemented.

[0219] Although the present invention has been specifically shown and described in conjunction with the preferred embodiments, it should be understood by those skilled in the art that various changes may be made to the present invention in form and details without departing from the spirit and scope of the present invention as defined by the appended claims, all of which are within the scope of protection of the present invention.

Claims

1. A quadrotor drone posture integrated modeling and control method, characterized in that: Based on the torque, the attitude of the quadrotor drone is described. The method comprises the following steps: S1, defines the posture twist: The first coordinate system Through attitude quaternion After the rotation, the translation vector Translational movement to the second coordinate system , get the translation vector In the coordinate system The quaternion representation is , according to the obtained quaternion representation The first coordinate system is obtained by using the dual quaternion theory of position and posture To the second coordinate system The pose dual quaternion of , according to the obtained posture dual quaternion and based on the definition of the dual quaternion, the first coordinate system in the geometric algebra framework is obtained Relative to the second coordinate system The position torsion of the first coordinate system Includes: Expected and / or inertial frame ; The second coordinate system Including: the system of the four-rotor drone and / or expected ; in: The posture twist The expression is: in is the posture dual quaternion, is the set when both the real part of the dual quaternion and the scalar part of the dual quaternion are zero; S2, the quadrotor drone is equivalent to a rigid body, the dynamic equation and kinematic equation under the torsion system are obtained, and the kinematic and dynamic model of the quadrotor drone is constructed by the obtained dynamic equation and kinematic equation under the torsion system, wherein: By adjusting the posture twist After derivation, substitute the kinematic equation of the position-pose dual quaternion to obtain the following kinematic equation under the twistor system: in, , are the dual velocity vectors , The dual quaternion form of Indicates that the variable is the first coordinate system Relative to the second coordinate system Variables with superscripts or Indicates the coordinate system currently being calculated. Variables in bold are vectors, variables without bold are scalars, and variables with The symbol indicates that the variable is a twistor; By defining the dual mass operator and the force spiral in the twistor system, the following dynamic equations in the twistor system are obtained: and in, is the dual mass operator, In the inertial system The force spiral under is the force spiral under the system B, , is the dual velocity vector, the variable superscript or Indicates the coordinate system currently being calculated, variable subscript Indicates that the variable is an inertial frame Relative to this system Variables; S3, according to the desired system of the quadrotor drone Relative to this system The relative kinematics equation of the quadrotor UAV based on the torsion system is obtained according to the posture torsion, and the relative dynamics equation of the quadrotor UAV based on the torsion system is obtained according to the dynamics equation obtained in step S2 combined with the force analysis. The relative kinematics equation and relative dynamics equation based on the torsion system are used to construct the relative kinematics and relative dynamics models of the quadrotor UAV, wherein: The inertial system Relative Expectation The position twist With inertial system Relative to this system The position twist Synthesize to obtain this system Relative Expectation The position twist , for the Take the derivative to obtain the relative kinematic equations for the twistor system: in , , are the dual velocity vectors , , The dual quaternion form of Indicates the coordinate system currently being calculated, variable subscript Indicates that the variable is the expected coefficient Relative to this system Variables, variable subscripts Indicates that the variable is an inertial frame Relative to this system Variables, variable subscripts Indicates that the variable is an inertial frame Relative to the expected Variables; According to the dynamic equation obtained in step S2 and combined with the force analysis, the relative dynamic equation under the torsion system is written as: in represents the mass of the quadrotor drone, Indicates that the quadcopter drone body in this system The inertia matrix under represents the dual unit, Indicates that the quadcopter drone in this system The gravity under Indicates that the quadcopter drone in this system The control force under Indicates that the quadcopter drone in this system The disturbance force under represents the resultant external force vector of the gravity in the present system B, Indicates that the control power is in this system The resultant external force vector under represents the resultant external force vector of the disturbance force in the present system B, Indicates that the control power is in this system The torque under In this system, the disturbance force The torque under S4, based on the obtained kinematic and dynamic models of the quadrotor drone and the relative kinematic and relative dynamic models of the quadrotor drone, achieving integrated position and posture control of the quadrotor drone.

2. The quadrotor drone posture integrated modeling and control method according to claim 1, characterized in that: In step S1, the posture dual quaternion is obtained by the following formula: in, The symbol represents the conjugate of a quaternion, represents the real part of the dual quaternion, Represents the dual part of the dual quaternion, and the variable superscript or Indicates the coordinate system currently being calculated, with The symbols represent the quaternion form of the corresponding variables.

3. The quad-rotor drone posture integrated modeling and control method according to claim 1, characterized in that: In step S1, the posture twist is adjusted according to the modified Rodriguez parameter. Rewrite, including: The attitude quaternion Converted to modified Rodriguez parameter representation, we get In the formula is the modified Rodriguez parameter, express The second norm of Represents a translation vector, variable superscript or Indicates the coordinate system currently being calculated, with The symbols represent the quaternion form of the corresponding variables; Defining the Matrix for: in express The antisymmetric matrix of express The model, express The transpose of represents the three-dimensional identity matrix, then we have in represents any vector, and the twistor is the posture twist The dual vector of is a vector, is a scalar, combined with the above matrix The expression of the twistor can be obtained for: 。 4. The quadrotor drone posture integrated modeling and control method according to claim 1, characterized in that: The kinematic equation of the posture dual quaternion in the kinematic equation of the quadrotor drone obtained in step S2 is expressed as: Among them, the dual velocity vector Expands to: in is the angular velocity of the coordinate system relative to the moving is the position vector derivative, vector parameter , The horizontal line above indicates the corresponding vector or The quaternion form of , , the subscript of the variable Indicates that the variable is the second coordinate system Relative to the first coordinate system Variables with superscript or Indicates the coordinate system currently being calculated.

5. The quadrotor drone posture integrated modeling and control method according to claim 1, characterized in that: The step of obtaining the dynamic equation of the quadrotor drone in step S2 also includes: Defining the dual mass operator in, For the quality of the drone, J is the inertia matrix of the UAV, is the identity matrix; the operator satisfy , the underlined parameter indicates that the corresponding variable is an operator, is a dual unit, the dual momentum can be expressed as: represents the dual velocity vector, and defines the twistor to represent the force spiral in is the total external force vector acting on the rigid body, is the combined external torque vector of the rigid body. The inertia matrix of the rigid body is usually given in the body coordinate system. Therefore, the dynamic equation of the quadrotor drone is expanded into a dual partial form in this coordinate system: The variables are superscripted Indicates that the coordinate system currently being calculated is this system , variable subscript Indicates that the variable is an inertial frame Relative to this system variables.

6. The quadrotor drone posture integrated modeling and control method according to claim 1, characterized in that: In step S3, the expected coefficient is obtained by the following formula: Relative to this system The position twist : Variable subscript Indicates that the variable is an inertial frame Relative to this system Variables, variable subscripts Indicates that the variable is an inertial frame Relative to the expected variables.

7. The quad-rotor drone posture integrated modeling and control method according to claim 1, characterized in that: The step S4 comprises: designing an integrated sliding mode controller of the quadrotor drone based on the obtained kinematic and dynamic models of the quadrotor drone and the relative kinematic and dynamic models of the quadrotor drone, wherein: Define the general dual operator for: in for Real matrix and identity matrix, dual operator Recorded as: but The operation on the dual vector can be expressed as: represents the real part vector of an even number, represents the dual part vector of a dual number, The sliding surface and sliding reaching law based on the torsion are obtained as follows: is the dual constant coefficient operator to be designed, the sliding mode surface is differentiated, and substituted into the relative dynamics model to obtain the sliding mode control law: in, represents the gravity on which the quadrotor drone is subjected, represents the disturbance force on the quadrotor drone, It is defined as taking the vector part of the quaternion; The dual coefficient operator is: in, for Real matrix, is a positive real number to be designed.

8. A quad-rotor drone posture integrated modeling and control device, characterized in that: It includes a memory and a processor, the memory stores at least one program, and the at least one program is executed by the processor to implement the quad-rotor unmanned aerial vehicle posture integrated modeling and control method as described in any one of claims 1 to 7.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the quad-rotor unmanned aerial vehicle posture integrated modeling and control method as described in any one of claims 1 to 7 is implemented.