CN111707268A - Unmanned aerial vehicle navigation method and system based on double-Europe method and quaternion mixed arrangement - Google Patents

Unmanned aerial vehicle navigation method and system based on double-Europe method and quaternion mixed arrangement Download PDF

Info

Publication number
CN111707268A
CN111707268A CN202010567793.0A CN202010567793A CN111707268A CN 111707268 A CN111707268 A CN 111707268A CN 202010567793 A CN202010567793 A CN 202010567793A CN 111707268 A CN111707268 A CN 111707268A
Authority
CN
China
Prior art keywords
euler angle
representation
horizontal
unmanned aerial
vertical
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.)
Granted
Application number
CN202010567793.0A
Other languages
Chinese (zh)
Other versions
CN111707268B (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.)
National University of Defense Technology
Original Assignee
National University of Defense Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by National University of Defense Technology filed Critical National University of Defense Technology
Priority to CN202010567793.0A priority Critical patent/CN111707268B/en
Publication of CN111707268A publication Critical patent/CN111707268A/en
Application granted granted Critical
Publication of CN111707268B publication Critical patent/CN111707268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations

Abstract

The application relates to an unmanned aerial vehicle navigation method and system based on double-Europe and quaternion mixed arrangement. The method comprises the following steps: the method comprises the steps of respectively obtaining an attitude rotation matrix represented by a corresponding horizontal Euler angle in the horizontal flight mode of the unmanned aerial vehicle and an attitude rotation matrix represented by a corresponding vertical Euler angle in the vertical flight mode, when the pitch angle of the unmanned aerial vehicle is larger than a set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into the representation of the vertical Euler angle, when the pitch angle of the unmanned aerial vehicle is smaller than or equal to the set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into the representation of the horizontal Euler angle, and when the navigation is arranged internally, adopting quaternion representation to carry out attitude update on the representation of the vertical Euler angle and the representation of the horizontal Euler angle, so that the unmanned aerial. By adopting the method, the singular value of attitude control during navigation can be avoided.

Description

Unmanned aerial vehicle navigation method and system based on double-Europe method and quaternion mixed arrangement
Technical Field
The application relates to the technical field of unmanned aerial vehicles, in particular to an unmanned aerial vehicle navigation method and system based on double-European law and quaternion mixed arrangement.
Background
With the development of the unmanned aerial vehicle technology, unmanned aerial vehicles are also used in various fields in production and life, and thus new requirements are made on the flight of unmanned aerial vehicles.
The attitude of a common fixed-wing unmanned aerial vehicle during navigation can be controlled by adopting an Euler angle representation method, however, when the pitch angle of the unmanned aerial vehicle is equal to or close to +/-90 degrees, singular values appear in a calculation result, and thus the flight navigation control cannot be normally executed.
Disclosure of Invention
Therefore, in order to solve the technical problems, a method and a device for navigating the unmanned aerial vehicle based on the dual-euro law are needed, wherein the method and the device can solve the problem that singular values exist when the attitude control is carried out by the Euler angle representation method of the unmanned aerial vehicle.
An unmanned aerial vehicle navigation method based on mixed arrangement of a dual-ohm law and a quaternion, the method comprising the following steps:
respectively acquiring an attitude rotation matrix represented by a corresponding horizontal Euler angle in a horizontal flight mode of the unmanned aerial vehicle and an attitude rotation matrix represented by a corresponding vertical Euler angle in a vertical flight mode; the horizontal flight mode is a mode of flying according to a traditional fixed wing aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a horizontal state; the vertical flight mode is a mode of flying according to a traditional four-rotor aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a vertical state;
when the pitch angle of the unmanned aerial vehicle is larger than a set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into vertical Euler angle representation;
when the pitch angle of the unmanned aerial vehicle is smaller than or equal to a set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into horizontal Euler angle representation;
and when the navigation is arranged internally, carrying out attitude updating on the vertical Euler angle representation and the horizontal Euler angle representation by adopting quaternion representation so as to navigate the unmanned aerial vehicle.
In one embodiment, the method further comprises the following steps: acquiring a rotation matrix of a local geographic coordinate system corresponding to the coordinate system of the unmanned aerial vehicle; and calculating the horizontal projection of the local gravity acceleration in the coordinate system of the unmanned aerial vehicle carrier according to the rotation matrix to obtain the horizontal Euler angle representation of the six-degree-of-freedom motion model, and obtaining the attitude rotation matrix represented by the horizontal Euler angle according to the six-degree-of-freedom motion model represented by the horizontal Euler angle.
In one embodiment, the method further comprises the following steps: acquiring a rotation matrix of a local geographic coordinate system corresponding to the coordinate system of the unmanned aerial vehicle; and calculating the vertical projection of the local gravity acceleration in the coordinate system of the unmanned aerial vehicle carrier according to the rotation matrix to obtain the vertical Euler angle representation of the six-degree-of-freedom motion model, and obtaining the attitude rotation matrix represented by the vertical Euler angle according to the six-degree-of-freedom motion model represented by the vertical Euler angle.
In one embodiment, the method further comprises the following steps: according to the six-degree-of-freedom motion model represented by the horizontal Euler angle, obtaining an attitude rotation matrix represented by the horizontal Euler angle as follows:
Figure BDA0002548469990000021
wherein B represents an attitude rotation matrix, and the horizontal Euler angle phi surrounds XbRotation of the shaft by horizontal Euler angle θ about YbAxial rotation, horizontal Euler angle psi about ZbRotation of the shaft, wherein the horizontal Euler angle is rotated in the order Zb-Yb-Xb(ii) a C denotes the subscript cosine value and S denotes the subscript sine value.
In one embodiment, the method further comprises the following steps: according to the six-degree-of-freedom motion model represented by the vertical Euler angle, obtaining an attitude rotation matrix represented by the vertical Euler angle as follows:
Figure BDA0002548469990000022
wherein B represents an attitude rotation matrix, vertical Euler angle phivWound around
Figure BDA0002548469990000023
Rotation of the shaft at a vertical Euler angle thetavWound around
Figure BDA0002548469990000024
Axial rotation, vertical Euler angle psivWound around
Figure BDA0002548469990000025
Rotation of the shaft, wherein the rotation order of the vertical Euler angles is
Figure BDA0002548469990000026
Figure BDA0002548469990000027
C denotes the subscript cosine value and S denotes the subscript sine value.
In one embodiment, the method further comprises the following steps: acquiring posture quaternion representation during navigation internal arrangement;
determining a quaternion updating equation according to the attitude quaternion representation; updating an equation according to the quaternion to obtain quaternion expression of the attitude rotation matrix; and determining an attitude updating parameter represented by a vertical Euler angle according to the quaternion expression.
In one embodiment, the method further comprises the following steps: acquiring posture quaternion representation during navigation internal arrangement; determining a quaternion updating equation according to the attitude quaternion representation; updating an equation according to the quaternion to obtain quaternion expression of the attitude rotation matrix; and determining an attitude updating parameter represented by a horizontal Euler angle according to the quaternion expression.
A dual-euro-law and quaternion hybrid choreography based drone navigation system, the device comprising:
the conversion module is used for respectively acquiring an attitude rotation matrix represented by a corresponding horizontal Euler angle in a horizontal flight mode of the unmanned aerial vehicle and an attitude rotation matrix represented by a corresponding vertical Euler angle in a vertical flight mode; the horizontal flight mode is a mode of flying according to a traditional fixed wing aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a horizontal state; the vertical flight mode is a mode of flying according to a traditional four-rotor aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a vertical state;
the vertical navigation module is used for switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into the representation of a vertical Euler angle when the pitch angle of the unmanned aerial vehicle is larger than a set threshold value;
the horizontal navigation module is used for switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into horizontal Euler angle representation when the pitch angle of the unmanned aerial vehicle is smaller than or equal to a set threshold value;
and the navigation module is used for updating the postures of the vertical Euler angle representation and the horizontal Euler angle representation by adopting quaternion representation during navigation internal arrangement, so as to navigate the unmanned aerial vehicle.
A drone comprising a memory and a processor, the memory storing a computer program that when executed by the processor performs the steps of:
respectively acquiring an attitude rotation matrix represented by a corresponding horizontal Euler angle in a horizontal flight mode of the unmanned aerial vehicle and an attitude rotation matrix represented by a corresponding vertical Euler angle in a vertical flight mode; the horizontal flight mode is a mode of flying according to a traditional fixed wing aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a horizontal state; the vertical flight mode is a mode of flying according to a traditional four-rotor aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a vertical state;
when the pitch angle of the unmanned aerial vehicle is larger than a set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into vertical Euler angle representation;
when the pitch angle of the unmanned aerial vehicle is smaller than or equal to a set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into horizontal Euler angle representation;
and when the navigation is arranged internally, carrying out attitude updating on the vertical Euler angle representation and the horizontal Euler angle representation by adopting quaternion representation so as to navigate the unmanned aerial vehicle.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
respectively acquiring an attitude rotation matrix represented by a corresponding horizontal Euler angle in a horizontal flight mode of the unmanned aerial vehicle and an attitude rotation matrix represented by a corresponding vertical Euler angle in a vertical flight mode; the horizontal flight mode is a mode of flying according to a traditional fixed wing aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a horizontal state; the vertical flight mode is a mode of flying according to a traditional four-rotor aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a vertical state;
when the pitch angle of the unmanned aerial vehicle is larger than a set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into vertical Euler angle representation;
when the pitch angle of the unmanned aerial vehicle is smaller than or equal to a set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into horizontal Euler angle representation;
and when the navigation is arranged internally, carrying out attitude updating on the vertical Euler angle representation and the horizontal Euler angle representation by adopting quaternion representation so as to navigate the unmanned aerial vehicle.
The unmanned aerial vehicle navigation method based on the double-Europe method and the quaternion hybrid arrangement, the system, the unmanned aerial vehicle and the storage medium are characterized in that an attitude rotation matrix represented by a horizontal Euler angle of the unmanned aerial vehicle in a vertical flight mode and an attitude rotation matrix represented by a vertical Euler angle in the vertical flight mode are obtained, then whether the pitch angle of the current unmanned aerial vehicle is larger than a threshold value is judged, different Euler angles are used for representation, then quaternion representation is adopted for hybrid arrangement, the unmanned aerial vehicle navigation is carried out, during calculation, the occurrence of singular values is avoided, and through quaternion representation, a large amount of trigonometric function calculation is avoided, only simple linear algebraic calculation is adopted, and the calculation efficiency of navigation data is improved.
Drawings
FIG. 1 is a diagram illustrating an application scenario of a UAV navigation method based on a mixture of bi-Europe and quaternion in an embodiment;
FIG. 2 is a flow chart illustrating a method for navigating a UAV based on a mixture of bi-European and quaternion arrangements in one embodiment;
FIG. 3 is a block diagram of a navigation device of a UAV based on a hybrid arrangement of bi-Europe and quaternions in one embodiment;
fig. 4 is an internal structure diagram of the drone in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The unmanned aerial vehicle navigation method based on the mixed arrangement of the dual-euro law and the quaternion can be applied to the unmanned aerial vehicle shown in the figure 1. Wherein, unmanned aerial vehicle contains two kinds of flight mode: a vertical flight mode and a horizontal flight mode. During vertical flight, the wings arranged on the vertical fuselage are utilized for flying, the wings can be fixed wings, and during horizontal flight, the wings arranged horizontally fly. In different flight modes, the power components are different, so that the attitude rotation matrix is correspondingly different.
In one embodiment, as shown in fig. 2, there is provided a method for navigating a drone based on a hybrid arrangement of bi-euro law and quaternion, which is described by taking the method as an example for the drone in fig. 1, and includes the following steps:
step 202, respectively obtaining an attitude rotation matrix represented by a horizontal euler angle corresponding to the horizontal flight mode of the unmanned aerial vehicle and an attitude rotation matrix represented by a vertical euler angle corresponding to the vertical flight mode.
The horizontal flight mode is according to the mode of traditional fixed wing aircraft flight, and the axis of ordinates of unmanned aerial vehicle organism becomes the horizontality, and the vertical flight mode is according to the mode of traditional four rotor aircraft flight, and the axis of ordinates of unmanned aerial vehicle organism becomes vertical state.
The 3 independent angle parameters used for determining the position of the fixed point rotation rigid body consist of a nutation angle theta, a precession angle psi and a rotation angle phi, the attitude rotation matrix refers to a rotation matrix of the unmanned aerial vehicle carrier coordinate corresponding to the local geographic coordinate, and the attitude rotation matrix is an orthogonal matrix.
And 204, when the pitch angle of the unmanned aerial vehicle is larger than a set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into vertical Euler angle representation.
The pitch angle refers to the angle of unmanned aerial vehicle aircraft nose relative to the horizontal plane, and the threshold value can set up according to the demand, for example sets up the pitch angle and be 45 degrees, also can set up to other numerical values according to the demand, does not do the restriction here. During navigation, especially the control of the tilting process, the attitude rotation matrix can be used for direct control.
In addition, since the euler angle representation will exhibit singular values when the pitch angle is at or near ± 90 degrees. Quaternion representation does not have the singular problem, so that continuous control can be effectively provided by adopting a mixed arrangement of Euler angle and quaternion representation.
And step 206, when the pitch angle of the unmanned aerial vehicle is smaller than or equal to the set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into horizontal Euler angle representation.
And step 208, when the interior arrangement of the navigation is carried out, posture updating is carried out on the vertical Euler angle representation and the horizontal Euler angle representation by adopting quaternion representation, so that the unmanned aerial vehicle is navigated.
In the unmanned aerial vehicle navigation method based on the double-Europe method and the quaternion hybrid arrangement, the attitude rotation matrix represented by the horizontal Euler angle of the unmanned aerial vehicle in the vertical flight mode and the attitude rotation matrix represented by the vertical Euler angle in the vertical flight mode are obtained, then whether the pitch angle of the current unmanned aerial vehicle is larger than a threshold value or not is judged, different Euler angles are used for representation, then quaternion representation is adopted for hybrid arrangement, the unmanned aerial vehicle navigation is carried out, during calculation, the occurrence of singular values is avoided, and a large number of trigonometric functions are avoided through quaternion representation, only simple linear algebraic calculation is adopted, and the calculation efficiency of navigation data is favorably improved.
In one embodiment, the step of obtaining the attitude rotation matrix represented by the horizontal euler angles comprises:
the method comprises the steps of obtaining a rotation matrix of a local geographic coordinate system corresponding to an unmanned aerial vehicle carrier coordinate system, obtaining a horizontal Euler angle representation of a six-degree-of-freedom motion model according to horizontal projection of the rotation matrix in the unmanned aerial vehicle carrier coordinate system, and obtaining an attitude rotation matrix represented by the horizontal Euler angle according to the six-degree-of-freedom motion model represented by the horizontal Euler angle.
In one embodiment, a rotation matrix of a local geographic coordinate system corresponding to an unmanned aerial vehicle coordinate system is obtained by adopting the same principle as a horizontal Euler angle representation method; and calculating the vertical projection of the local gravity acceleration in the coordinate system of the unmanned aerial vehicle carrier according to the rotation matrix to obtain the vertical Euler angle representation of the six-degree-of-freedom motion model, and obtaining the attitude rotation matrix represented by the vertical Euler angle according to the six-degree-of-freedom motion model represented by the vertical Euler angle.
In another embodiment, since the rotation matrix is an orthogonal matrix, the attitude rotation matrix expressed in horizontal euler angles is:
Figure BDA0002548469990000061
wherein B represents an attitude rotation matrix, and the horizontal Euler angle phi surrounds XbRotation of the shaft by horizontal Euler angle θ about YbAxial rotation, horizontal Euler angle psi about ZbRotation of the shaft, wherein the horizontal Euler angle is rotated in the order Zb-Yb-Xb(ii) a C denotes the subscript cosine value and S denotes the subscript sine value. I.e. CθCos θ, etc.
In yet another embodiment, the attitude rotation matrix expressed in terms of vertical euler angles is:
Figure BDA0002548469990000071
wherein B represents an attitude rotation matrix, vertical Euler angle phivWound around
Figure BDA0002548469990000072
Rotation of the shaft at a vertical Euler angle thetavWound around
Figure BDA0002548469990000073
Axial rotation, vertical Euler angle psivWound around
Figure BDA0002548469990000074
Rotation of the shaft, wherein the rotation order of the vertical Euler angles is
Figure BDA0002548469990000075
Figure BDA0002548469990000076
C denotes the subscript cosine value and S denotes the subscript sine value.
In one embodiment, the attitude rotation matrix may also be represented by a quaternion, so as to facilitate calculation of data during navigation, which is specifically as follows: when the pitch angle of the unmanned aerial vehicle is smaller than or equal to a set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into horizontal Euler angle representation; acquiring quaternion representation of the attitude rotation matrix; the quaternion is expressed as an attitude quaternion; according to quaternion representation, converting the horizontal Euler angle representation of the attitude rotation matrix into horizontal quaternion representation; drone navigation is performed according to the horizontal quaternion representation. In the embodiment, the Euler angle posture representation method is beneficial to decoupling implementation of a control system and visual understanding of the aircraft posture, while the quaternion representation method has no singular problem and has higher calculation efficiency, because the Euler angle operation in an aircraft kinematic equation relates to a large number of nonlinear trigonometric functions, and the quaternion operation only comprises very simple linear algebraic operation. Therefore, in the internal arrangement of the navigation system, the posture of the carrier is updated by adopting a quaternion method.
In another embodiment, when the pitch angle of the unmanned aerial vehicle is larger than a set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into vertical Euler angle representation; acquiring quaternion representation of the attitude rotation matrix; the quaternion is expressed as an attitude quaternion; converting the vertical Euler angle representation of the attitude rotation matrix into horizontal quaternion representation according to quaternion representation; drone navigation is performed according to the vertical quaternion representation.
Specifically, the attitude rotation matrix expressed by the quaternion is as follows:
Figure BDA0002548469990000077
wherein q is0、q1、q2、q3Representing parameters in an attitude quaternion, the attitude quaternion being represented as: q ═ Q (Q)0,q1,q2,q3)T
The conversion of the horizontal euler angles to quaternions is as follows:
Figure BDA0002548469990000081
Figure BDA0002548469990000082
Figure BDA0002548469990000083
Figure BDA0002548469990000084
the conversion of the vertical euler angles to quaternions is as follows:
Figure BDA0002548469990000085
Figure BDA0002548469990000086
Figure BDA0002548469990000087
Figure BDA0002548469990000088
through the conversion relation, the attitude conversion matrixes expressed by the horizontal Euler angles and the vertical Euler angles can be expressed by quaternions, so that the calculation efficiency of the system can be improved.
Similarly, when one flight mode is converted to another flight mode, the horizontal euler angle needs to be converted to the vertical euler angle or the vertical euler angle needs to be converted to the horizontal euler angle along with the change of the parameters, and specifically, the conversion relationship from the horizontal euler angle to the vertical euler angle is as follows:
θv=-sin-1(cos(φ)cos(θ))=sin-1(-b33)
Figure BDA0002548469990000089
Figure BDA00025484699900000810
the conversion relationship from the vertical euler angle to the horizontal euler angle is as follows:
θ=sin-1(cos(ψv)cos(θv))=-sin-1(b13)
Figure BDA00025484699900000811
Figure BDA00025484699900000812
it should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 3, there is provided a drone navigation system based on mixed arrangement of dual euro-law and quaternion, including: a conversion module 302, a vertical navigation module 304, a horizontal navigation module 306, and a navigation module 308, wherein:
a conversion module 302, configured to obtain an attitude rotation matrix represented by a horizontal euler angle corresponding to the horizontal flight mode of the unmanned aerial vehicle and an attitude rotation matrix represented by a vertical euler angle corresponding to the vertical flight mode of the unmanned aerial vehicle, respectively; the horizontal flight mode is a mode of flying according to a traditional fixed wing aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a horizontal state; the vertical flight mode is a mode of flying according to a traditional four-rotor aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a vertical state;
the vertical navigation module 304 is used for switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into the representation of a vertical euler angle when the pitch angle of the unmanned aerial vehicle is greater than a set threshold value;
the horizontal navigation module 306 is used for switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into horizontal euler angle representation when the pitch angle of the unmanned aerial vehicle is smaller than or equal to a set threshold value;
and the navigation module 308 is configured to perform attitude update on the vertical euler angle representation and the horizontal euler angle representation by using quaternion representation during internal arrangement of navigation, so as to navigate the unmanned aerial vehicle.
In one embodiment, the conversion module 302 is further configured to obtain a rotation matrix of the local geographic coordinate system corresponding to the coordinate system of the drone carrier; and obtaining a horizontal Euler angle representation of the six-degree-of-freedom motion model, and obtaining a posture rotation matrix represented by the horizontal Euler angle according to the six-degree-of-freedom motion model represented by the horizontal Euler angle.
In one embodiment, the conversion module 302 is further configured to obtain a rotation matrix of the local geographic coordinate system corresponding to the coordinate system of the drone carrier; and obtaining a vertical Euler angle representation of the six-degree-of-freedom motion model, and obtaining a posture rotation matrix represented by the vertical Euler angle according to the six-degree-of-freedom motion model represented by the vertical Euler angle.
In one embodiment, the conversion module 302 is further configured to obtain an attitude rotation matrix represented by the horizontal euler angle according to the six-degree-of-freedom motion model represented by the horizontal euler angle as follows:
Figure BDA0002548469990000101
wherein B represents an attitude rotation matrix, and the horizontal Euler angle phi surrounds XbRotation of the shaft by horizontal Euler angle θ about YbAxial rotation, horizontal Euler angle psi about ZbRotation of the shaft, wherein the horizontal Euler angle is rotated in the order Zb-Yb-Xb(ii) a C denotes the subscript cosine value and S denotes the subscript sine value.
In one embodiment, the conversion module 302 is further configured to obtain an attitude rotation matrix represented by the vertical euler angle according to the six-degree-of-freedom motion model represented by the vertical euler angle, where the attitude rotation matrix represented by the vertical euler angle is:
Figure BDA0002548469990000102
wherein B represents an attitude rotation matrix, vertical Euler angle phivWound around
Figure BDA0002548469990000103
Rotation of the shaft at a vertical Euler angle thetavWound around
Figure BDA0002548469990000104
Axial rotation, vertical Euler angle psivWound around
Figure BDA0002548469990000105
Rotation of the shaft, wherein the rotation order of the vertical Euler angles is
Figure BDA0002548469990000106
Figure BDA0002548469990000107
C denotes the subscript cosine value and S denotes the subscript sine value.
In one embodiment, the navigation module 306 is further configured to obtain a pose quaternion representation when navigating the internal layout; determining a quaternion updating equation according to the attitude quaternion representation; updating an equation according to the quaternion to obtain quaternion representation of the attitude rotation matrix; and determining an attitude updating parameter represented by a vertical Euler angle according to the quaternion expression.
In one embodiment, the navigation module 304 is further configured to obtain a pose quaternion representation when navigating the internal layout; determining a quaternion updating equation according to the attitude quaternion representation; updating an equation according to the quaternion to obtain quaternion representation of the attitude rotation matrix; determining an attitude update parameter for a horizontal Euler angle representation based on the quaternion representation.
For specific limitations of the dual-euro-law-based drone navigation device, reference may be made to the above limitations of the dual-euro-law-based drone navigation method, which are not described herein again. All or part of the modules in the dual-euro-law-based unmanned aerial vehicle navigation device can be realized through software, hardware and a combination thereof. Each module can be embedded in a hardware form or be independent of a processor in the unmanned aerial vehicle, and can also be stored in a memory in the unmanned aerial vehicle in a software form, so that the processor calls and executes the corresponding operation of each module.
In one embodiment, a drone is provided whose internal structure may be as shown in fig. 4. The unmanned aerial vehicle comprises a processor, a memory, a network interface and an input device which are connected through a system bus. Wherein the processor of the drone is configured to provide computing and control capabilities. The memory of the unmanned aerial vehicle comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the unmanned aerial vehicle is used for being connected with an external terminal through a network for communication. The computer program is executed by a processor to implement a dual-euro-law-based drone navigation method. This unmanned aerial vehicle's input device can be the touch layer that covers on the display screen, also can be button, trackball or the touch pad that sets up on the unmanned aerial vehicle shell, can also be external keyboard, touch pad or mouse etc..
Those skilled in the art will appreciate that the structure shown in fig. 4 is a block diagram of only a portion of the structure relevant to the present teachings and does not constitute a limitation on the drone to which the present teachings are applied, and that a particular drone may include more or fewer components than those shown, or certain components may be combined, or have a different arrangement of components.
In one embodiment, there is provided a drone comprising a memory storing a computer program and a processor implementing the steps of the above method embodiments when executing the computer program
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An unmanned aerial vehicle navigation method based on mixed arrangement of a dual-ohm law and a quaternion, the method comprising the following steps:
respectively acquiring an attitude rotation matrix represented by a corresponding horizontal Euler angle in a horizontal flight mode of the unmanned aerial vehicle and an attitude rotation matrix represented by a corresponding vertical Euler angle in a vertical flight mode; the horizontal flight mode is a mode of flying according to a traditional fixed wing aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a horizontal state; the vertical flight mode is a mode of flying according to a traditional four-rotor aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a vertical state;
when the pitch angle of the unmanned aerial vehicle is larger than a set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into vertical Euler angle representation;
when the pitch angle of the unmanned aerial vehicle is smaller than or equal to a set threshold value, switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into horizontal Euler angle representation;
and when the navigation is arranged internally, carrying out attitude updating on the vertical Euler angle representation and the horizontal Euler angle representation by adopting quaternion representation so as to navigate the unmanned aerial vehicle.
2. The method of claim 1, wherein obtaining an attitude rotation matrix represented by a corresponding horizontal Euler angle in a horizontal flight mode of the UAV comprises:
acquiring a rotation matrix of a local geographic coordinate system corresponding to the coordinate system of the unmanned aerial vehicle;
and calculating the horizontal projection of the local gravity acceleration in the coordinate system of the unmanned aerial vehicle carrier according to the rotation matrix to obtain the representation of the horizontal Euler angle in the six-degree-of-freedom motion model, and obtaining the attitude rotation matrix represented by the horizontal Euler angle according to the six-degree-of-freedom motion model represented by the horizontal Euler angle.
3. The method of claim 1, wherein obtaining an attitude rotation matrix represented by a corresponding vertical Euler angle in a vertical flight mode of the UAV comprises:
acquiring a rotation matrix of a local geographic coordinate system corresponding to the coordinate system of the unmanned aerial vehicle;
and calculating the vertical projection of the local gravity acceleration in the coordinate system of the unmanned aerial vehicle carrier according to the rotation matrix to obtain the vertical Euler angle representation of the six-degree-of-freedom motion model, and obtaining the attitude rotation matrix represented by the vertical Euler angle according to the six-degree-of-freedom motion model represented by the vertical Euler angle.
4. The method of claim 2, wherein obtaining the attitude rotation matrix of the horizontal Euler angle representation from the six degree of freedom motion model of the horizontal Euler angle representation comprises:
according to the six-degree-of-freedom motion model represented by the horizontal Euler angle, obtaining an attitude rotation matrix represented by the horizontal Euler angle as follows:
Figure FDA0002548469980000021
wherein B represents an attitude rotation matrix, and the horizontal Euler angle phi surrounds XbRotation of the shaft by horizontal Euler angle θ about YbAxial rotation, horizontal Euler angle psi about ZbRotation of the shaft, wherein the horizontal Euler angle is rotated in the order Zb-Yb-Xb(ii) a C represents the cosine value of the subscript and S represents the sine value of the subscript.
5. The method of claim 2, wherein obtaining the attitude rotation matrix represented by the vertical euler angles according to the six-degree-of-freedom motion model represented by the vertical euler angles comprises:
according to the six-degree-of-freedom motion model represented by the vertical Euler angle, obtaining an attitude rotation matrix represented by the vertical Euler angle as follows:
Figure FDA0002548469980000022
wherein B represents an attitude rotation matrix, vertical Euler angle phivWound around
Figure FDA0002548469980000023
Rotation of the shaft at a vertical Euler angle thetavWound around
Figure FDA0002548469980000024
Axial rotation, vertical Euler angle psivWound around
Figure FDA0002548469980000025
Rotation of the shaft, wherein the rotation order of the vertical Euler angles is
Figure FDA0002548469980000026
Figure FDA0002548469980000027
C represents the cosine value of the subscript and S represents the sine value of the subscript.
6. The method of claim 4, wherein performing a pose update on the vertical Euler angle representation using a quaternion representation when navigating an internal layout comprises:
acquiring posture quaternion representation during navigation internal arrangement;
determining a quaternion updating equation according to the attitude quaternion representation;
updating an equation according to the quaternion to obtain quaternion representation of the attitude rotation matrix;
and determining an attitude updating parameter represented by a vertical Euler angle according to the quaternion expression.
7. The method of claim 5, wherein performing an attitude update on the horizontal Euler angle representation using a quaternion representation while navigating internal choreography comprises:
acquiring posture quaternion representation during navigation internal arrangement;
determining a quaternion updating equation according to the attitude quaternion representation;
updating an equation according to the quaternion to obtain quaternion representation of the attitude rotation matrix;
determining an attitude update parameter for a horizontal Euler angle representation based on the quaternion representation.
8. An unmanned aerial vehicle navigation system based on mixed arrangement of dual-euro law and quaternion, the device comprising:
the conversion module is used for respectively acquiring an attitude rotation matrix represented by a corresponding horizontal Euler angle in a horizontal flight mode of the unmanned aerial vehicle and an attitude rotation matrix represented by a corresponding vertical Euler angle in a vertical flight mode; the horizontal flight mode is a mode of flying according to a traditional fixed wing aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a horizontal state; the vertical flight mode is a mode of flying according to a traditional four-rotor aircraft, and a longitudinal axis of an unmanned aerial vehicle body is in a vertical state;
the vertical navigation module is used for switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into the representation of a vertical Euler angle when the pitch angle of the unmanned aerial vehicle is larger than a set threshold value;
the horizontal navigation module is used for switching the representation form of the attitude rotation matrix of the unmanned aerial vehicle into horizontal Euler angle representation when the pitch angle of the unmanned aerial vehicle is smaller than or equal to a set threshold value;
and the navigation module is used for updating the postures of the vertical Euler angle representation and the horizontal Euler angle representation by adopting quaternion representation during navigation internal arrangement, so as to navigate the unmanned aerial vehicle.
9. A drone comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010567793.0A 2020-06-19 2020-06-19 Unmanned aerial vehicle navigation method and system based on mixed arrangement of double-European method and quaternion Active CN111707268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010567793.0A CN111707268B (en) 2020-06-19 2020-06-19 Unmanned aerial vehicle navigation method and system based on mixed arrangement of double-European method and quaternion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010567793.0A CN111707268B (en) 2020-06-19 2020-06-19 Unmanned aerial vehicle navigation method and system based on mixed arrangement of double-European method and quaternion

Publications (2)

Publication Number Publication Date
CN111707268A true CN111707268A (en) 2020-09-25
CN111707268B CN111707268B (en) 2022-07-29

Family

ID=72542004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010567793.0A Active CN111707268B (en) 2020-06-19 2020-06-19 Unmanned aerial vehicle navigation method and system based on mixed arrangement of double-European method and quaternion

Country Status (1)

Country Link
CN (1) CN111707268B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112484720A (en) * 2020-11-17 2021-03-12 天津津航计算技术研究所 double-Euler full-attitude calculation method based on strapdown inertial navigation
CN113485400A (en) * 2021-07-20 2021-10-08 四川腾盾科技有限公司 Roll control method for vertical launch unmanned aerial vehicle

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166082A1 (en) * 2010-12-22 2012-06-28 Custom Sensors & Technologies, Inc. Method and system for initial quaternion and attitude estimation
CN104677358A (en) * 2013-11-29 2015-06-03 哈尔滨恒誉名翔科技有限公司 Micro-strapdown attitude heading reference system all-attitude controller
WO2017063387A1 (en) * 2015-10-13 2017-04-20 上海华测导航技术股份有限公司 Method for updating all attitude angles of agricultural machine on the basis of nine-axis mems sensor
CN107247157A (en) * 2017-05-10 2017-10-13 哈尔滨工程大学 Change the acquisition methods of Eulerian angles in a kind of quaternary number full-shape domain towards big attitude maneuver
CN107478223A (en) * 2016-06-08 2017-12-15 南京理工大学 A kind of human body attitude calculation method based on quaternary number and Kalman filtering
CN107992072A (en) * 2017-12-06 2018-05-04 陕西土豆数据科技有限公司 A kind of attitude control error acquisition methods of multi-rotor aerocraft
CN108803648A (en) * 2018-08-17 2018-11-13 北京航空航天大学 Unmanned vehicle robust attitude control method, device and electronic equipment
CN109857130A (en) * 2019-02-22 2019-06-07 四川航天系统工程研究所 A kind of guided missile double loop attitude control method based on error quaternion

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166082A1 (en) * 2010-12-22 2012-06-28 Custom Sensors & Technologies, Inc. Method and system for initial quaternion and attitude estimation
CN104677358A (en) * 2013-11-29 2015-06-03 哈尔滨恒誉名翔科技有限公司 Micro-strapdown attitude heading reference system all-attitude controller
WO2017063387A1 (en) * 2015-10-13 2017-04-20 上海华测导航技术股份有限公司 Method for updating all attitude angles of agricultural machine on the basis of nine-axis mems sensor
CN107478223A (en) * 2016-06-08 2017-12-15 南京理工大学 A kind of human body attitude calculation method based on quaternary number and Kalman filtering
CN107247157A (en) * 2017-05-10 2017-10-13 哈尔滨工程大学 Change the acquisition methods of Eulerian angles in a kind of quaternary number full-shape domain towards big attitude maneuver
CN107992072A (en) * 2017-12-06 2018-05-04 陕西土豆数据科技有限公司 A kind of attitude control error acquisition methods of multi-rotor aerocraft
CN108803648A (en) * 2018-08-17 2018-11-13 北京航空航天大学 Unmanned vehicle robust attitude control method, device and electronic equipment
CN109857130A (en) * 2019-02-22 2019-06-07 四川航天系统工程研究所 A kind of guided missile double loop attitude control method based on error quaternion

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LI YU,等: "Transition Flight Modeling and Control of a Novel Tilt Tri-Rotor UAV", 《PROCEEDINGS OF THE 2017 IEEE INTERNATIONAL CONFERENCE ON INFORMATION AND AUTOMATION (ICIA)》 *
刘玉焘: "尾座式无人机的飞行控制器设计", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 *
张金双: "一种可垂直起降固定翼无人机分段控制策略研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112484720A (en) * 2020-11-17 2021-03-12 天津津航计算技术研究所 double-Euler full-attitude calculation method based on strapdown inertial navigation
CN113485400A (en) * 2021-07-20 2021-10-08 四川腾盾科技有限公司 Roll control method for vertical launch unmanned aerial vehicle

Also Published As

Publication number Publication date
CN111707268B (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN111707268B (en) Unmanned aerial vehicle navigation method and system based on mixed arrangement of double-European method and quaternion
CN109947126B (en) Control method, device and equipment of quad-rotor unmanned aerial vehicle and readable medium
CN110223565B (en) Flight simulation method, device, equipment and storage medium
Kingravi et al. Reproducing kernel Hilbert space approach for the online update of radial bases in neuro-adaptive control
WO2019024303A1 (en) Stable flight control method for multi-rotor unmanned aerial vehicle based on finite-time neurodynamics
CN109976363B (en) Unmanned aerial vehicle control method and device, computer equipment and storage medium
Duan et al. Pendulum-like oscillation controller for micro aerial vehicle with ducted fan based on LQR and PSO
CN113110563A (en) Redundancy arbitration switching method and system for unmanned aerial vehicle and computer equipment
Zhaowei et al. An iterative learning controller for quadrotor UAV path following at a constant altitude
Kang et al. Marsbee-swarm of flapping wing flyers for enhanced mars exploration
CN110282121B (en) Coordinate system conversion method and device, aircraft course control method and aircraft
CN111459188A (en) Multi-rotor nonlinear flight control method based on quaternion
Guan et al. Intelligent control of quad-rotor aircrafts with a STM32 microcontroller using deep neural networks
Wang et al. An RPT approach to time-critical path following of an unmanned helicopter
Chen Quadrotor Attitude Control Using Special Orthogonal Matrix
Fu et al. Hierarchical control via approximate simulation and feedback linearization
Hamandi et al. Static hovering realization for multirotor aerial vehicles with tiltable propellers
Cantri et al. Realtime Simulation for Rocket Using Visual Programming
Lee et al. Feedback linearization controller for semi station keeping of the unmanned airship
Frazzoli et al. A Maneuver‐Based Hybrid Control Architecture for Autonomous Vehicle Motion Planning
Zennir et al. Modelling and GA fine-tuned PID control of quadrirotor UAV
Cho Development of ROS-based Flight and Mission State Communication Node for X-Plane 11-based Flight Simulation Environment
Wang et al. Robust flight control system design for an indoor miniature coaxial helicopter
Yu et al. Trajectory tracking control of an amphibian robot with operational capability
CN112873175B (en) Working condition data determination method based on six-degree-of-freedom platform and electronic equipment

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