Three-axis self-stabilization holder coordinate system decoupling method and device

By decoupling the coordinate system of the three-axis self-stabilizing gimbal, the problems of decreased self-stabilization performance and imaging accuracy caused by coordinate system coupling were solved, thereby improving the stability and accuracy of UAV mission execution.

CN118897578APending Publication Date: 2024-11-05SHANDONG ZHIYANG ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410931691.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

Existing three-axis self-stabilizing gimbals have some minor issues with coordinate system coupling, which leads to a decrease in self-stabilization performance and affects imaging accuracy. In particular, when the roll motor axis is tilted, it causes vibration and error accumulation.

Method used

A three-axis self-stabilizing gimbal coordinate system decoupling method is adopted. The camera pod attitude angular rate in the reference coordinate system is decoupled and transformed into the carrier angular rate in the carrier coordinate system. Combined with the roll coupling factor, it is decomposed into the motor angular rate in the motor axis coordinate system. Finally, the control quantity of the motor axis is calculated by the PID controller to eliminate the coupling phenomenon.

Benefits of technology

It improves the stability and imaging accuracy of UAVs during missions, reduces error accumulation, and ensures the precise stability of gimbal attitude control, especially maintaining the stability and reliability of the system when the gimbal roll axis is tilted at a large angle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897578A_ABST
    Figure CN118897578A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of AI intelligent photoelectric pods of unmanned aerial vehicle loads, in particular to a three-axis self-stabilizing holder coordinate system decoupling method and device. The method comprises the following steps: decoupling a camera pod attitude angular rate under a reference coordinate system to obtain a carrier angular rate under a carrier coordinate system; the carrier angular rate is decoupled to an initial motor shaft coordinate system of the holder to obtain a first motor angular rate, the first motor angular rate is decoupled to a motor shaft coordinate system after rotation of the holder to obtain a second motor angular rate, so that a coupling relation between the carrier angular rate and the second motor angular rate is obtained, and a roll coupling factor is combined to obtain a roll coupling factor; and determining a coupling mode between the angular rate of the carrier and the angular rate of the second motor, and finally inputting the angular rate of the second motor obtained by decoupling based on the determined coupling mode into a PID controller so as to calculate the control quantity of each motor shaft of the holder. According to the invention, the stability and precision of the unmanned aerial vehicle during task execution are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of AI intelligent optoelectronic pods for unmanned aerial vehicle payloads, and more specifically, to a three-axis self-stabilizing gimbal coordinate system decoupling method and device for improving the stability and accuracy of unmanned aerial vehicles when performing tasks. Background Art

[0002] The three-axis self-stabilizing gimbal is a device used in fields such as drone aerial photography. It achieves stable control of the gimbal through three-axis movement. Specifically, it is mainly composed of an IMU feedback system consisting of a three-axis gyroscope and a three-axis acceleration sensor, and a servo system consisting of three servo motors, which are responsible for azimuth (yaw motor axis), left and right (roll motor axis), and up and down (pitch motor axis) rotation. When the gimbal camera changes its attitude, the gyroscope will detect the corresponding signal and stabilize the gimbal by controlling the movement of the motor, thereby eliminating vibration and obtaining clear and stable images.

[0003] Although the gimbal self-stabilization technology is relatively mature at this stage, there are still some aspects that can be further studied and improved to improve its performance and adaptability, especially in the aspect of coordinate system coupling. There are still many details that need to be solved. For example, when the roll motor axis angle is tilted significantly, it will not only affect the self-stabilization performance of other motor axes, but may also cause subtle vibrations, which will have an adverse effect on imaging accuracy.

[0004] The relationship of coordinate system coupling is briefly summarized as follows: First, the camera pod's attitude calculated by the gyroscope and accelerometer data is relative to the reference coordinate system. However, since the gimbal needs to be connected to the drone through structural parts, the attitude of the drone will affect the gimbal, causing a certain deviation between the carrier coordinate system where the IMU is located and the reference coordinate system where the pod attitude is located, resulting in the pod attitude angular velocity not being equal to the carrier angular velocity, and the corresponding coordinate system decoupling is required. Then, the camera pod is not fixedly connected to the three-axis gimbal. When the attitude is adjusted, the motor axis is not orthogonal and does not coincide with the gyroscope coordinate system (carrier coordinate system) of the camera pod. Directly using the camera gyro velocity feedback control will introduce coordinate axis coupling and reduce the self-stabilization accuracy. Therefore, it is necessary to use the motor angle measured by the magnetic encoder to decouple the camera gyroscope angular velocity, calculate the motor axis coordinate system angular velocity, and decompose the control quantity to each motor axis to eliminate the coupling.

[0005] Chinese patent document CN110362121A discloses a gimbal posture control method and system, which includes: a motor control board collects mechanical angle data of the motor and sends the mechanical angle data to a main control board; the main control board calculates the current expectation according to the posture data and the mechanical angle data, and sends the current expectation to the motor control board; the motor control board performs current closed-loop control according to the current expectation, and can obtain the current expectation by decoupling to achieve current closed-loop control of the gimbal posture.

[0006] In order to solve the above problems, the present invention designs a three-axis self-stabilizing gimbal coordinate system decoupling method for improving the stability and accuracy of the UAV when performing tasks. Summary of the invention

[0007] The present invention aims to overcome at least one defect of the above-mentioned prior art and provide a three-axis self-stabilizing gimbal coordinate system decoupling method for improving the stability and accuracy of a UAV when performing a mission.

[0008] The present invention also provides a device loaded with a three-axis self-stabilizing gimbal coordinate system decoupling method.

[0009] The detailed technical scheme of the present invention is as follows:

[0010] A three-axis self-stabilizing gimbal coordinate system decoupling method, the method comprising:

[0011] S1. Decouple the camera pod attitude angular rate in the reference coordinate system to obtain the carrier angular rate in the carrier coordinate system;

[0012] S2, decoupling the carrier angular velocity in the carrier coordinate system to the initial motor axis coordinate system of the gimbal to obtain a first motor angular velocity in the initial motor axis coordinate system of the gimbal, and decoupling the first motor angular velocity to the motor axis coordinate system after the gimbal rotates to obtain a second motor angular velocity in the motor axis coordinate system after the gimbal rotates, thereby obtaining a coupling relationship between the carrier angular velocity in the carrier coordinate system and the second motor angular velocity in the motor axis coordinate system after the gimbal rotates;

[0013] S3, based on the coupling relationship between the carrier angular velocity in the carrier coordinate system and the second motor angular velocity in the motor shaft coordinate system after the gimbal rotates, and in combination with the roll coupling factor, determine the coupling mode between the carrier angular velocity and the second motor angular velocity, and decouple the carrier angular velocity to the motor shaft coordinate system after the gimbal rotates based on the determined coupling mode; the coupling mode includes unconstrained decoupling and constrained decoupling;

[0014] S4. Input the second motor angular velocity in the motor shaft coordinate system after the pan / tilt rotation obtained by decoupling based on the predetermined coupling mode into the PID controller to calculate the control amount of each motor shaft of the pan / tilt.

[0015] Preferably, according to the present invention, S1 further includes: calculating the tilt angle α of the pan / tilt platform, and the calculation formula is:

[0016] α=atan2(sin(θ m -θ r ),cos(φ m -φ r )) (1);

[0017] In formula (1): m ,θ m They represent the pitch angle and roll angle of the motor measured by the magnetic encoder, φ r ,θ r They represent the pod pitch angle and pod roll angle respectively, the superscript m represents the motor axis coordinate system, and the superscript r represents the reference coordinate system.

[0018] Preferably, according to the present invention, S1 specifically includes:

[0019] When the value of the gimbal tilt angle α is greater than the given maximum tilt angle threshold ξ, that is, |α|>ξ, the camera pod attitude angular rate is decoupled from the carrier angular rate in the carrier coordinate system, which is expressed as a strong coupling mode of the pod attitude angular rate, that is:

[0020]

[0021] In formula (2): is the carrier angular velocity in the carrier coordinate system obtained by strong coupling, and corresponds to the carrier pitch angular velocity, carrier roll angular velocity and carrier yaw angular velocity, respectively. represents the pod pitch rate, represents the yaw rate of the pod, represents the pod roll angular rate, and the superscript b represents the carrier coordinate system;

[0022] When the value of the gimbal tilt angle α is less than or equal to the given tilt angle maximum threshold ξ, that is, |α|≤ξ, the camera pod attitude angular rate is decoupled from the carrier angular rate in the carrier coordinate system, which is expressed as a weak coupling mode of the pod attitude angular rate, that is:

[0023]

[0024] In formula (3): is the carrier angular velocity in the carrier coordinate system obtained by weak coupling, and corresponds to the carrier pitch angular velocity, carrier roll angular velocity and carrier yaw angular velocity respectively;

[0025] That is, the carrier angular velocity in the carrier coordinate system is obtained as:

[0026]

[0027] Preferably, according to the present invention, in S2, the carrier angular velocity in the carrier coordinate system is decoupled to the initial motor axis coordinate system of the gimbal, and the first motor angular velocity in the initial motor axis coordinate system of the gimbal is obtained as follows:

[0028]

[0029] In formula (5): 1 X φ , 1 Y θ , 1 Z ψ is the first motor angular velocity in the initial motor axis coordinate system of the gimbal, and corresponds to the pitch motor axis angular velocity, the roll motor axis angular velocity, and the yaw motor axis angular velocity, respectively. m ,θ m , m They respectively represent the pitch angle, roll angle and yaw angle of the motor measured by the magnetic encoder, and the superscript m represents the motor axis coordinate system.

[0030] Preferably, according to the present invention, in S2, the first motor angular velocity is decoupled to the motor shaft coordinate system after the gimbal rotates, and the second motor angular velocity in the motor shaft coordinate system after the gimbal rotates is obtained as follows:

[0031]

[0032] In formula (6): 2 X φ , 2 Y θ , 2 Z ψ It is the second motor angular rate in the motor axis coordinate system after the gimbal rotates, and corresponds to the pitch motor axis angular rate, roll motor axis angular rate and yaw motor axis angular rate respectively.

[0033] According to a preferred embodiment of the present invention, in S3, the roll coupling factor h=1 / cosθ m , and when |θ m |<60°, that is, h<2, the unconstrained carrier angular rate decoupling algorithm is executed, that is:

[0034]

[0035] In formula (7): 2 X φ '、 2 Y θ '、 2 Z ψ′ is the second motor angular velocity in the motor axis coordinate system after the gimbal rotates obtained by unconstrained decoupling, and corresponds to the pitch motor axis angular velocity, the roll motor axis angular velocity and the yaw motor axis angular velocity respectively.

[0036] According to a preferred embodiment of the present invention, in S3, the roll coupling factor h=1 / cosθ m , and when |θ m |≥60°, that is, h≥2, the roll coupling factor h=2, and the constrained carrier angular rate decoupling algorithm is executed, that is:

[0037]

[0038] In formula (8): 2 X φ ″、 2 Y θ ″、 2 Z ψ ″ is the second motor angular velocity in the motor axis coordinate system after the gimbal rotates obtained with constrained decoupling, and corresponds to the pitch motor axis angular velocity, the roll motor axis angular velocity, and the yaw motor axis angular velocity, respectively.

[0039] In another aspect of the present invention, a device for implementing a three-axis self-stabilized gimbal coordinate system decoupling method is provided, wherein an executable computer program is stored on the device, and when the computer program is executed, the three-axis self-stabilized gimbal coordinate system decoupling method described above is completed.

[0040] Compared with the prior art, the present invention has the following beneficial effects:

[0041] (1) The present invention fully considers the decoupling of the entire process of the three-axis self-stabilizing gimbal from the reference coordinate system to the carrier coordinate system and finally to the motor coordinate system to ensure that the gimbal attitude control is accurate and stable.

[0042] (2) While taking into account the decoupling efficiency, the present invention takes into account the influence of the change in the tilt angle of the gimbal, that is, when there is a large deviation between the camera carrier coordinate system and the reference coordinate system, the attitude angular velocity is not equal to the carrier angular velocity. The method of the present invention can effectively reduce the accumulation of errors and improve the accuracy and stability of the decoupling.

[0043] (3) The present invention introduces a roll coupling factor judgment mechanism, thereby constraining the carrier angular velocity decoupling conditions and fully considering the possible overshoot phenomenon of the pitch motor and the yaw motor. The method of the present invention ensures that when the gimbal roll axis is tilted at a large angle, the system can maintain a more stable and reliable self-stabilizing performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a flow chart of the three-axis self-stabilizing gimbal coordinate system decoupling method described in the present invention.

[0045] Figure 2 It is a flow chart of a coordinate system decoupling process executed based on the method of the present invention. DETAILED DESCRIPTION

[0046] The present disclosure is further described below in conjunction with the accompanying drawings and embodiments.

[0047] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present disclosure belongs.

[0048] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present disclosure. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0049] In the absence of conflict, the embodiments in the present disclosure and the features in the embodiments may be combined with each other.

[0050] A three-axis self-stabilizing gimbal coordinate system decoupling method provided by the present invention firstly decouples the camera pod attitude angular rate in the reference coordinate system by taking into account the change in the gimbal tilt angle, and converts it into the carrier angular rate in the carrier coordinate system; then, the camera carrier angular rate is finely decoupled again based on the roll coupling factor, and subdivided into the motor angular rate in the motor axis coordinate system; finally, the control quantity of each motor axis is accurately calculated through the PID control algorithm, thereby effectively eliminating the coupling phenomenon; the present invention solves the problems of decreased self-stabilizing performance and vibration when the tilt angle is large, and ensures the stability and imaging accuracy of the optoelectronic pod of the unmanned aerial vehicle.

[0051] The three-axis self-stabilizing gimbal coordinate system decoupling method and device of the present invention are further described below in conjunction with specific embodiments.

[0052] Embodiment 1,

[0053] Ginseng Figure 1 and Figure 2 This embodiment provides a three-axis self-stabilizing gimbal coordinate system decoupling method, the method comprising:

[0054] S1. Decouple the camera pod attitude angular velocity in the reference coordinate system to obtain the carrier angular velocity in the carrier coordinate system.

[0055] Specifically, the pod attitude angle or Euler angle is relative to the ground, that is, relative to the reference coordinate system, and the attitude angular rate output by the angle loop PID control of the attitude angle is also relative to the reference coordinate system. The carrier angular rate is relative to the camera pod itself. When there is a large deviation between the carrier coordinate system and the reference coordinate system, this difference will significantly affect the stability of the system.

[0056] In this embodiment, the attitude angle calculated by the camera pod is expressed as: pitch angle φ r , roll angle θ r , yaw angle ψ r , the superscript r represents the attitude angle sign of the pod relative to the reference coordinate system. The corresponding attitude angular rate is expressed as: pitch angular rate Roll rate Yaw rate It is obtained by differentiating the target attitude angle and the attitude angle solved by the pod.

[0057] The camera pod attitude angular rate in the reference coordinate system After decoupling, the three-axis carrier angular velocity in the carrier coordinate system can be obtained. The value of the carrier angular velocity is related to the tilt angle of the gimbal.

[0058] Based on this, we first need to calculate the tilt angle of the gimbal:

[0059] α=atan2(sin(θ m -θ r ),cos(φ m -φ r )) (1);

[0060] In formula (1): m ,θ m They respectively represent the pitch angle and roll angle of the motor measured by the magnetic encoder.

[0061] Then, the magnitude relationship between the pan tilt angle α and a given tilt angle maximum threshold ξ is determined.

[0062] When |α|>ξ, the pod attitude angular rate is decoupled to the carrier angular rate in the carrier coordinate system, which is expressed as a strong coupling mode of the pod attitude angular rate:

[0063]

[0064] In formula (2), the superscript b represents the carrier coordinate system.

[0065] When |α|≤ξ, the pod attitude angular rate is decoupled to the carrier angular rate in the carrier coordinate system, which is expressed as a weak coupling mode of the pod attitude angular rate:

[0066]

[0067] Finally, the carrier angular velocity in the carrier coordinate system is obtained as:

[0068]

[0069] S2. Decouple the carrier angular velocity in the carrier coordinate system to the initial motor axis coordinate system of the gimbal to obtain the first motor angular velocity in the initial motor axis coordinate system of the gimbal, and decouple the first motor angular velocity to the motor axis coordinate system after the gimbal rotates to obtain the second motor angular velocity in the motor axis coordinate system after the gimbal rotates, thereby obtaining the coupling relationship between the carrier angular velocity in the carrier coordinate system and the second motor angular velocity in the motor axis coordinate system after the gimbal rotates.

[0070] Specifically, during attitude control, the motor axis coordinate system no longer coincides with the carrier coordinate system, so it is necessary to further calculate the carrier angular velocity in the carrier coordinate system. Decouple it and decompose it into the initial motor axis coordinate system of the gimbal, that is,

[0071]

[0072] In formula (5): 1 X φ , 1 Y θ , 1 Z ψ are the first motor angular rates in the gimbal's initial motor axis coordinate system, and correspond to the pitch motor axis angular rate, roll motor axis angular rate, and yaw motor axis angular rate, respectively. m ,θ m , m They respectively represent the pitch angle, roll angle and yaw angle of the motor measured by the magnetic encoder, and the superscript m represents the motor axis coordinate system.

[0073] When the gimbal rotates, one rotation of the gimbal can be decomposed into rotations around the motor yaw axis, roll axis, and pitch axis in sequence. After the gimbal rotates, only the pitch axis position of the motor axis coordinate system changes, while the motor yaw axis and roll axis do not change. The three axes are no longer orthogonal, so the angular velocity of the first motor needs to be decoupled, that is:

[0074]

[0075] In formula (6): 2 X φ , 2 Y θ , 2 Z ψThey are all the second motor angular rates in the motor axis coordinate system after the gimbal rotates, and correspond to the pitch motor axis angular rate, roll motor axis angular rate, and yaw motor axis angular rate, respectively.

[0076] Combining the above formulas (5) and (6), the coupling relationship between the second motor angular velocity in the motor axis coordinate system after the gimbal rotates and the carrier angular velocity in the carrier coordinate system can be obtained.

[0077] S3. Based on the coupling relationship between the carrier angular velocity in the carrier coordinate system and the second motor angular velocity in the motor shaft coordinate system after the gimbal rotates, and in combination with the roll coupling factor, determine the coupling mode between the carrier angular velocity and the second motor angular velocity, and decouple the carrier angular velocity to the motor shaft coordinate system after the gimbal rotates based on the determined coupling mode; the coupling mode includes unconstrained decoupling and constrained decoupling.

[0078] The roll coupling factor is h = 1 / cosθ m ,θ m is the motor roll angle measured by the magnetic encoder. The value of the roll coupling factor h determines the coupling mode between the carrier angular velocity and the second motor angular velocity.

[0079] Specifically, due to When θ m As it gradually approaches 90°, the roll coupling factor h tends to positive infinity. m |<60°, that is, h<2, the unconstrained carrier angular rate decoupling algorithm is executed, that is:

[0080]

[0081] In formula (7): 2 X φ '、 2 Y θ '、 2 Z ψ ′ is the second motor angular velocity in the motor axis coordinate system after the gimbal rotates obtained by unconstrained decoupling, and corresponds to the pitch motor axis angular velocity, the roll motor axis angular velocity and the yaw motor axis angular velocity respectively.

[0082] When |θ m |≥60°, that is, h≥2, to simplify the negative impact of excessive motor roll angle tilt on decoupling, the roll coupling factor h=2, and the constrained carrier angular rate decoupling algorithm is executed, that is:

[0083]

[0084] In formula (8): 2 X φ ″、2 Y θ ″、 2 Z ψ ″ is the second motor angular velocity in the motor axis coordinate system after the gimbal rotates obtained with constrained decoupling, and corresponds to the pitch motor axis angular velocity, the roll motor axis angular velocity, and the yaw motor axis angular velocity, respectively.

[0085] S4. Input the second motor angular velocity in the motor shaft coordinate system after the pan / tilt rotation obtained by decoupling based on the predetermined coupling mode into the PID controller to calculate the control amount of each motor shaft of the pan / tilt.

[0086] That is, the second motor angular velocity in the motor axis coordinate system after the pan / tilt rotation obtained by the unconstrained decoupling algorithm is 2 X φ '、 2 Y θ '、 2 Z ψ ′ or the second motor angular velocity in the motor axis coordinate system after the gimbal rotates obtained by the constrained decoupling algorithm 2 X φ ″、 2 Y θ ″、 2 Z ψ The input is sent to the PID controller, and the control quantity of each motor axis of the gimbal is accurately calculated through the PID control algorithm to achieve precise self-stabilization of the gimbal.

[0087] In this embodiment, when allocating the motor axis control amount, full consideration is given to the decoupling of the entire process of the three-axis self-stabilizing gimbal from the reference coordinate system to the carrier coordinate system and finally to the motor coordinate system to ensure accurate and stable control.

[0088] When decoupling the coordinate system, we consider the situation that when there is a certain deviation between the carrier coordinate system where the camera IMU is located and the reference coordinate system where the camera attitude angle is located, the attitude angular rate is not equal to the carrier angular rate. When the gimbal tilt angle is large, strengthening the decoupling of the camera attitude angular rate will help reduce the error; when the deviation is small, the mutual influence between them can be ignored, thereby improving the decoupling efficiency.

[0089] It should be understood that when the motor roll axis θ m When gradually approaching 90°, the roll coupling factor h tends to positive infinity, and the pitch motor and yaw motor are prone to overshoot, affecting the self-stabilization. m When gradually approaching 0°, the roll coupling factor h is equal to 1, and there is no coupling relationship between the roll axis and other axes.

[0090] When the motor roll angle |θ m|≥60°, that is, when h≥2, there is a constrained carrier angular rate decoupling method with a roll coupling factor of h=2, taking into account that the roll coupling factor is infinitely close to positive infinity, which may lead to negative effects in the decoupling process. Therefore, special attention should be paid to and this factor should be properly handled during the decoupling process. According to actual experience, the threshold of the motor roll angle judgment and the corresponding roll coupling factor can also be appropriately adjusted.

[0091] Embodiment 2,

[0092] This embodiment provides a device for implementing a three-axis self-stabilizing gimbal coordinate system decoupling method. An executable computer program is stored on the device. When the computer program is executed, the three-axis self-stabilizing gimbal coordinate system decoupling method described above is correspondingly completed.

[0093] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the technical solution of the present invention, and are not intended to limit the specific implementation methods of the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the claims of the present invention shall be included in the protection scope of the claims of the present invention.

Claims

1. A three-axis self-stabilizing gimbal coordinate system decoupling method, characterized in that: The method comprises: S1. Decouple the camera pod attitude angular rate in the reference coordinate system to obtain the carrier angular rate in the carrier coordinate system; S2, decoupling the carrier angular velocity in the carrier coordinate system to the initial motor axis coordinate system of the gimbal to obtain a first motor angular velocity in the initial motor axis coordinate system of the gimbal, and decoupling the first motor angular velocity to the motor axis coordinate system after the gimbal rotates to obtain a second motor angular velocity in the motor axis coordinate system after the gimbal rotates, thereby obtaining a coupling relationship between the carrier angular velocity in the carrier coordinate system and the second motor angular velocity in the motor axis coordinate system after the gimbal rotates; S3, based on the coupling relationship between the carrier angular velocity in the carrier coordinate system and the second motor angular velocity in the motor shaft coordinate system after the gimbal rotates, and in combination with the roll coupling factor, determine the coupling mode between the carrier angular velocity and the second motor angular velocity, and decouple the carrier angular velocity to the motor shaft coordinate system after the gimbal rotates based on the determined coupling mode; the coupling mode includes unconstrained decoupling and constrained decoupling; S4. Input the second motor angular velocity in the motor shaft coordinate system after the pan / tilt rotation obtained by decoupling based on the predetermined coupling mode into the PID controller to calculate the control amount of each motor shaft of the pan / tilt.

2. The three-axis self-stabilizing gimbal coordinate system decoupling method according to claim 1, characterized in that: The step S1 also includes: calculating the tilt angle α of the pan / tilt platform, and the calculation formula is: α=atan2(sin(θ m -θ r ),cos(φ m -f r )) (1); In formula (1): m ,θ m They represent the pitch angle and roll angle of the motor measured by the magnetic encoder, φ r ,θ r They represent the pod pitch angle and pod roll angle respectively, the superscript m represents the motor axis coordinate system, and the superscript r represents the reference coordinate system.

3. The three-axis self-stabilizing gimbal coordinate system decoupling method according to claim 2, characterized in that: The S1 specifically includes: When the value of the gimbal tilt angle α is greater than the given maximum tilt angle threshold ξ, that is, |α|>ξ, the camera pod attitude angular rate is decoupled from the carrier angular rate in the carrier coordinate system, which is expressed as a strong coupling mode of the pod attitude angular rate, that is: In formula (2): is the carrier angular velocity in the carrier coordinate system obtained by strong coupling, and corresponds to the carrier pitch angular velocity, carrier roll angular velocity and carrier yaw angular velocity, respectively. represents the pod pitch rate, represents the yaw rate of the pod, represents the pod roll angular rate, and the superscript b represents the carrier coordinate system; When the value of the gimbal tilt angle α is less than or equal to the given tilt angle maximum threshold ξ, that is, |α≤ξ, the camera pod attitude angular rate is decoupled from the carrier angular rate in the carrier coordinate system, which is expressed as a weak coupling mode of the pod attitude angular rate, that is: In formula (3): is the carrier angular velocity in the carrier coordinate system obtained by weak coupling, and corresponds to the carrier pitch angular velocity, carrier roll angular velocity and carrier yaw angular velocity respectively; That is, the carrier angular velocity in the carrier coordinate system is obtained as:

4. The three-axis self-stabilizing gimbal coordinate system decoupling method according to claim 3, characterized in that: In S2, the carrier angular velocity in the carrier coordinate system is decoupled to the initial motor axis coordinate system of the gimbal, and the first motor angular velocity in the initial motor axis coordinate system of the gimbal is obtained as: In formula (5): 1 X φ , 1 Y θ , 1 Z ψ is the first motor angular velocity in the initial motor axis coordinate system of the gimbal, and corresponds to the pitch motor axis angular velocity, the roll motor axis angular velocity, and the yaw motor axis angular velocity, respectively. m ,θ m , m They respectively represent the pitch angle, roll angle and yaw angle of the motor measured by the magnetic encoder, and the superscript m represents the motor axis coordinate system.

5. The three-axis self-stabilizing gimbal coordinate system decoupling method according to claim 4, characterized in that: In S2, the first motor angular velocity is decoupled to the motor axis coordinate system after the gimbal rotates, and the second motor angular velocity in the motor axis coordinate system after the gimbal rotates is obtained as: In formula (6): 2 X φ , 2 Y θ , 2 Z ψ It is the second motor angular rate in the motor axis coordinate system after the gimbal rotates, and corresponds to the pitch motor axis angular rate, roll motor axis angular rate and yaw motor axis angular rate respectively.

6. The three-axis self-stabilizing gimbal coordinate system decoupling method according to claim 5, characterized in that: In S3, the roll coupling factor h=1 / cosθ m , and when |θ m |<60°, that is, h<2, the unconstrained carrier angular rate decoupling algorithm is executed, that is: In formula (7): 2 X φ '、 2 Y′ θ , 2 Z ψ ′ is the second motor angular velocity in the motor axis coordinate system after the gimbal rotates obtained by unconstrained decoupling, and corresponds to the pitch motor axis angular velocity, the roll motor axis angular velocity and the yaw motor axis angular velocity respectively.

7. The three-axis self-stabilizing gimbal coordinate system decoupling method according to claim 5, characterized in that: In S3, the roll coupling factor h=1 / cosθ m , and when |θ m |≥60°, that is, h≥2, the roll coupling factor h=2, and the constrained carrier angular rate decoupling algorithm is executed, that is: In formula (8): 2 X φ ″、 2 Y θ ″、 2 Z ψ ″ is the second motor angular velocity in the motor axis coordinate system after the gimbal rotates obtained with constrained decoupling, and corresponds to the pitch motor axis angular velocity, the roll motor axis angular velocity, and the yaw motor axis angular velocity, respectively.

8. A device for realizing a three-axis self-stabilizing gimbal coordinate system decoupling method, characterized in that: An executable computer program is stored on the device, and when the computer program is executed, the following corresponding steps are completed: the three-axis self-stabilizing gimbal coordinate system decoupling method as described in any one of claims 1-7.