Four-rotor unmanned aerial vehicle attitude control method and system based on internal model MFAILC method

By introducing high-order iterative learning control and internal model control into the quad-rotor UAV system, the model-free adaptive iterative learning control method is improved, solving the strong coupling and nonlinear problems of the system, and improving control accuracy and anti-interference. ability, achieving more efficient attitude control.

CN118584989APending Publication Date: 2024-09-03JIANGSU AVIATION VOCATIONAL & TECH COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410581292.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-11
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The existing PID method is difficult to effectively solve the problems of strong coupling, strong nonlinearity and difficulty in obtaining accurate mathematical models of the quad-rotor UAV system. It also has poor control accuracy and weak anti-interference ability.

Method used

A quadrotor UAV attitude control method based on the internal model MFAILC method is adopted. By introducing high-order iterative learning control and internal model control, combined with model-free adaptive iterative learning control, the control law and controller structure are improved, and the control accuracy of the system is enhanced. and anti-interference ability.

Benefits of technology

It significantly improves the trajectory tracking control accuracy and error convergence speed of the quad-rotor UAV, enhances the anti-interference ability and stability of the system, and improves the robustness and flexibility of the control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118584989A
    Figure CN118584989A
Patent Text Reader

Abstract

The invention provides a quadrotor unmanned aerial vehicle attitude control method based on an internal model MFAILC method. The quadrotor unmanned aerial vehicle attitude control method comprises the steps that S1, a high-order iterative learning control method is introduced on the basis of a model-free adaptive iterative learning control method; s2, introducing an internal model control method on the basis of the model-free adaptive iterative learning control method; s3, performing a simulation test of control precision improvement and error convergence speed improvement; s4, respectively comparing the error convergence curve and the trajectory tracking curve made in the S3; s5, performing a simulation test for enhancing the anti-interference capability and improving the system stability; and S6, respectively comparing the error convergence curve and the trajectory tracking curve made in the S5. The method has the beneficial effects that the system control precision is improved, the trajectory tracking error convergence speed is increased, and the anti-interference capability and the flexibility are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a quad-rotor unmanned aerial vehicle attitude control method and system based on an internal model MFAILC method, belonging to the technical field of quad-rotor unmanned aerial vehicles. Background Art

[0002] As a typical under-actuated system, the quadrotor drone has the characteristics of strong coupling and strong nonlinearity, and the system parameters vary greatly. It is difficult to establish an accurate mathematical model, and even if it is established, it will waste a lot of manpower and material resources. The currently widely used PID method is difficult to guarantee stability and has poor flexibility when facing the quadrotor nonlinear system. How to improve the tracking accuracy and anti-interference ability of the quadrotor drone system is the main content and important challenge faced by the design of the quadrotor drone flight control system.

[0003] At present, the PID method is difficult to solve the problems of strong coupling, strong nonlinearity, and difficulty in obtaining an accurate mathematical model of the quadrotor UAV system. In addition, the PID method has weak self-learning ability and poor control accuracy. Summary of the invention

[0004] Purpose of the invention: In view of the deficiencies in the prior art, the present invention provides a quad-rotor UAV attitude control method based on the internal model MFAILC method to solve the problems mentioned in the above background technology.

[0005] Technical solution: A quadrotor drone attitude control method based on the internal model MFAILC method, comprising the following steps:

[0006] S1: Based on the model-free adaptive iterative learning control method, a high-order iterative learning control method is introduced to obtain a model-free adaptive iterative learning control method based on a high-order learning law;

[0007] S2: Based on the model-free adaptive iterative learning control method, the internal model control method is introduced to obtain the model-free adaptive iterative learning control method based on internal model control;

[0008] S3: Conduct simulation tests to improve control accuracy and error convergence speed. Use the model-free adaptive iterative learning control method and PID control method based on high-order learning law and the model-free adaptive iterative learning control method obtained in S1 to control the attitude angle of the quadrotor drone, record the data of the control process, and make pitch angle and roll angle trajectory tracking curves and pitch angle and roll angle error convergence curves based on the recorded data.

[0009] S4: Compare the error convergence curve and trajectory tracking curve made in S3 respectively to obtain the quadrotor drone attitude control method with the best control accuracy and error convergence speed;

[0010] S5: Conduct simulation tests to enhance anti-interference capability and improve system stability, introduce nonlinear signal interference into the quadrotor drone system, and use the model-free adaptive iterative learning control method based on internal model control and PID control method and model-free adaptive iterative learning control method obtained in S2 to control the attitude angle of the quadrotor drone respectively, and record the data of the control process, and make the pitch angle and roll angle trajectory tracking curves and the pitch angle and roll angle error convergence curves according to the recorded data;

[0011] S6: Compare the error convergence curve and trajectory tracking curve made in S5 respectively to obtain the attitude control method of the quadrotor drone with the best anti-interference ability.

[0012] Furthermore, the S1 is specifically:

[0013] In order to improve the convergence performance of the MFAILC method, a high-order iterative learning control method is introduced. Compared with the general learning law, the high-order iterative learning control law uses the input and output information generated by the iteration in the previous period to construct a new control input, achieving faster error convergence speed and transient learning behavior.

[0014] The control input signal u of the high-order learning law k (t) and the tracking error term e k (t) has a high-order form, and the expression is shown in formula (1):

[0015]

[0016] Where: α i and β j is the weight coefficient;

[0017] Improve the traditional model-free adaptive iterative learning control method by using the high-order form of the input quantity and change the estimation method form of the quasi-pseudo partial derivative;

[0018] A new criterion function with a high-order form is adopted, and the expression is shown in formula (2):

[0019]

[0020] Where: α i is the weight coefficient, m is the order;

[0021] In the above formula Find partial derivatives and combine them with optimal conditions The high-order estimation method expression of the quasi-pseudo partial derivative is shown in formula (3):

[0022]

[0023] Where: ηk,t is the step size factor. After properly selecting the high-order m, when the number of system iterations is greater than or equal to the high-order, that is, k≥m, the pseudo-partial derivative is calculated using the high-order estimation method; when the number of system iterations is less than the high-order, that is, 2≤k<m, the pseudo-partial derivative is calculated using the original estimation method;

[0024] The control input method and reset method adopted by the model-free adaptive iterative learning control method based on the high-order learning law are consistent with those of the model-free adaptive iterative learning control method, and the online estimation method of the quasi-pseudo partial derivative is replaced by an estimation method based on high-order parameters;

[0025] Combining the above derivation process, we can obtain the model-free adaptive iterative learning control method based on high-order learning law as shown in equations (4) to (6):

[0026]

[0027] when or |Δu k (t)|≤ε

[0028]

[0029] Furthermore, the S2 is specifically:

[0030] In order to suppress the influence of disturbance on the control system, the internal model control is combined with the model-free adaptive iterative learning method to construct an internal model controller and add a filter to reduce the influence of model mismatch and noise interference.

[0031] The internal model control system structure mainly includes the internal model controller G IMC , controlled object model G p and the internal model of the system G' p ;

[0032] In the internal model control process, the internal model G' p and the controlled object model G p The difference is fed back to the main loop as an error signal, and then compared with the system setting value to obtain the error signal which is input to the internal model controller G IMC In the process, the control effect can be adjusted and optimized.

[0033] Furthermore, the S2 is specifically:

[0034] The internal model control equivalent structure is obtained by transforming the internal model control system structure, and an actual internal model is established in the controller. The internal model control equivalent structure includes: the controlled object model G p and feedback control system G c ; The feedback control system G cIncluding internal model controller G IMC and the internal model G' p ,

[0035] The internal model controller G IMC , feedback control system G c The expressions of are shown in formula (7) and formula (8):

[0036]

[0037]

[0038] Since the internal model is exactly the same as the actual model, the internal model is moved to the front, and the same structure as the proportional integral PI control is constructed. The transfer function is calculated to obtain the internal model equivalent controller, and the transfer function of the entire system is calculated.

[0039] Furthermore, the S2 is specifically:

[0040] Traditional iterative learning control theory contains two dimensions: iteration axis and time axis. In order to transform the system into a one-dimensional multi-input multi-output system, a variable iteration domain operator ω is introduced, which has the characteristics shown in formula (9):

[0041] ω -1 u k (t) = u k-1 (t) (9)

[0042] The above formula is a standard z-transformation formula, which reflects the operating relationship between adjacent iterations when time t remains unchanged. After defining a new z-transformation formula, the two-dimensional multi-input multi-output system can be converted into a one-dimensional static system. In the ω domain, the one-dimensional equivalent system reflects the update law of iterative learning, which includes both the high-order properties of the time domain and the high-order properties of the iteration domain.

[0043] By introducing a new variable iteration domain operator ω, the basic structure of the iterative learning system is obtained, including the learning gain matrix L and the system model H p , where the learning gain matrix L contains a scalar ω-domain expression C(ω)=ω -1 / (1-ω -1 );

[0044] The basic structure of the ω domain iterative learning system is converted into the basic form of internal model control. While introducing the ω operator, the internal model control is combined with the iterative learning control to form an iterative learning control method based on internal model control, and the ω domain IMC-ILC structure is obtained, including the system model H p and feedback control system G c , the feedback control system G c Including internal model H' pand the internal model controller G IMC .

[0045] Furthermore, the S2 is specifically:

[0046] The ω domain IMC-ILC structure also includes a feedback control system G c The ω domain vector Y of the desired signal input at the input d (ω) and system model H p The ω domain vector D(ω) of the external interference signal input at the output end; then the expression of the overall closed-loop corresponding output Y(ω) is:

[0047]

[0048] Where G d (ω) is the error transfer function, and Y(ω) is the overall closed-loop response output;

[0049] When the system model matches, then H p =H p ', let G d (ω)=1, then the feedback control system G c Substituting the expression into equation (10), we can get the closed-loop response of the system as shown in equation (11).

[0050]

[0051] According to formula (11), if external disturbance exists, IMC-ILC can reduce the impact of external disturbance on the system by adjusting parameter A. Let A = 0 to obtain the feedback controller G c As shown in formula (12):

[0052]

[0053] because is the lower triangular Markov matrix of the system, and the inverse matrix H p -1 There exists and it is also a lower triangular matrix, so formula (12) is rewritten as shown in formula (13):

[0054]

[0055] By performing an inverse transformation on equation (13), we can obtain the expression of the controller of the iterative learning control method based on internal model control in the time domain as shown in equation (14):

[0056]

[0057] According to the above formula, the control law of the IMC-ILC control method contains an error term with a high-order form on the time axis, which reflects the internal model information of the control system and uses the strong robustness of the internal model control to enhance the control performance of the system.

[0058] Furthermore, the S2 is specifically:

[0059] Introduce internal model control into model-free adaptive iterative learning control, improve the control law form of model-free iterative controller, add the high-order form of the error term of IMC-ILC control law to MFAILC control law, and introduce time-varying proportional control term on the basis of time-varying integral control term;

[0060] The quasi-pseudo partial derivative online estimation method and reset method adopted by the IMC-MFAILC method are consistent with the MFAILC method that introduces a high-order learning law, replacing the error term in the control law with the high-order form of the error term in the IMC-ILC method;

[0061] Combining the above processes, the overall control scheme of the IMC-MFAILC method can be obtained as shown in equations (15), (16), and (17):

[0062]

[0063] when or |Δu k (t)|≤ε

[0064]

[0065] Where: β1, β2, γ i , k p and k i is the weight coefficient, γ i =2i / t(t+1) takes a value greater than 0.

[0066] Furthermore, the switching rules of the control method are as follows:

[0067] After the expected tracking trajectory of the quadrotor UAV system is given, the system starts iterative operation. When the number of iterations k is greater than or equal to 2 and less than the high-order m, the original method is used for the partial derivative estimation method. When the number of iterations k is greater than or equal to the high-order m, the high-order estimation method is used for the partial derivative estimation method.

[0068] After the quasi-pseudo partial derivative values ​​are calculated, they are sent to the improved IMC-MFAILC controller to correct the control signal.

[0069] Beneficial effect: Improved system control accuracy. Compared with the traditional PID control method and the model-free adaptive iterative learning control method, it is verified that the improved model-free adaptive iterative learning control method can significantly enhance the control accuracy of the quadrotor UAV trajectory tracking system and greatly improve the dynamic and static performance indicators of the system.

[0070] The trajectory tracking error convergence speed is faster. Compared with the traditional PID control method and the model-free adaptive iterative learning control method, the improved method combines the high-order iterative learning control law with faster error convergence speed and transient learning behavior, and uses the high-order form of the input signal and error to effectively improve the error convergence speed and reduce the control system adjustment time.

[0071] Improved anti-interference ability and flexibility. Internal model control is based on the principles of model prediction and error compensation, and has the advantages of strong practicality, good robustness, and strong anti-interference ability. Combined with the universality and strong flexibility of the time-varying proportional control law, it is added to the improved model-free adaptive iterative learning control method structure, which can effectively suppress various unknown disturbances of the system, reduce the control error, improve the anti-interference ability and robustness of the system, and further enhance the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0073] Figure 1 This is the PID control pitch angle and roll angle trajectory tracking curve of the present invention.

[0074] Figure 2 This is the error convergence curve of the pitch angle and roll angle controlled by PID in the present invention.

[0075] Figure 3 This is the PID control yaw angle trajectory tracking curve of the present invention.

[0076] Figure 4 This is the yaw angle error convergence curve of the PID control of the present invention.

[0077] Figure 5 This is the trajectory tracking curve of the pitch angle and roll angle controlled by the MFAILC of the present invention.

[0078] Figure 6 This is the yaw angle trajectory tracking curve controlled by the MFAILC of the present invention.

[0079] Figure 7It is the MFAILC control error convergence curve of the present invention.

[0080] Figure 8 This is the trajectory tracking curve of the pitch angle and roll angle controlled by the IMC-MFAILC of the present invention.

[0081] Fig. 9 This is the IMC-MFAILC control yaw angle trajectory tracking curve of the present invention.

[0082] Fig.10 It is the IMC-MFAILC control error convergence curve of the present invention.

[0083] Fig.11 This is the PID control pitch angle and roll angle tracking curve under the interference of the present invention.

[0084] Fig.12 This is the error convergence curve of the pitch angle and roll angle controlled by PID under the interference of the present invention.

[0085] Fig.13 This is the yaw angle tracking curve of PID control under interference of the present invention.

[0086] Fig.14 It is the convergence curve of yaw angle error of PID control under interference of the present invention.

[0087] Fig.15 This is the tracking curve of the pitch angle and roll angle controlled by MFAILC under the interference of the present invention.

[0088] Fig.16 This is the yaw angle tracking curve controlled by MFAILC under interference of the present invention.

[0089] Fig.17 It is the MFAILC control error convergence curve under the interference of the present invention.

[0090] Fig.18 This is the pitch angle and roll angle tracking curve controlled by IMC-MFAILC under the interference of the present invention.

[0091] Fig.19 This is the yaw angle tracking curve controlled by IMC-MFAILC under interference of the present invention.

[0092] Fig. 20 It is the IMC-MFAILC control error convergence curve under the interference of the present invention.

[0093] Fig.21 It is the switching rule of the control method of the present invention.

[0094] Fig. 22 The figure is a flow chart of the overall method of the present invention. Fig.23 This is the inner mold control structure of the present invention. Fig.24 It is the equivalent structure of the internal model control of the present invention. Fig.25 It is an ω domain iterative learning control structure of the present invention. Fig.26 This is the IMC-ILC structure of the present invention. DETAILED DESCRIPTION

[0095] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0096] In the description of the present invention, it is necessary to understand that the terms "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0097] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.

[0098] A quadrotor unmanned aerial vehicle attitude control method based on an internal model MFAILC method comprises the following steps:

[0099] S1: Based on the model-free adaptive iterative learning control method, a high-order iterative learning control method is introduced to obtain a model-free adaptive iterative learning control method based on a high-order learning law;

[0100] The S1 is specifically:

[0101] The trajectory adjustment of the quadrotor drone is a process of error convergence. Reducing the time consumed by trajectory tracking and accelerating the error convergence speed can effectively improve the work efficiency of the quadrotor drone. In order to improve the convergence performance of the MFAILC method, a high-order iterative learning control method is introduced. Compared with the general learning law, the high-order iterative learning control law uses the input and output information generated by the iteration in the previous period of time to construct a new control input, achieving faster error convergence speed and transient learning behavior;

[0102] The control input signal u of the high-order learning law k (t) and the tracking error term e k (t) has a high-order form, and the expression is shown in formula (1):

[0103]

[0104] Where: α i and β j is the weight coefficient;

[0105] Improve the traditional model-free adaptive iterative learning control method by using the high-order form of the input quantity and change the estimation method form of the quasi-pseudo partial derivative;

[0106] A new criterion function with a high-order form is adopted, and the expression is shown in formula (2):

[0107]

[0108] Where: α i is the weight coefficient, m is the order;

[0109] In the above formula Find partial derivatives and combine them with optimal conditions The high-order estimation method expression of the quasi-pseudo partial derivative is shown in formula (3):

[0110]

[0111] Where: η k,t is the step size factor. After properly selecting the high-order m, when the number of system iterations is greater than or equal to the high-order, that is, k≥m, the pseudo-partial derivative is calculated using the high-order estimation method; when the number of system iterations is less than the high-order, that is, 2≤k<m, the pseudo-partial derivative is calculated using the original estimation method;

[0112] The control input method and reset method adopted by the model-free adaptive iterative learning control method based on the high-order learning law are consistent with those of the model-free adaptive iterative learning control method, and the online estimation method of the quasi-pseudo partial derivative is replaced by an estimation method based on high-order parameters;

[0113] Combining the above derivation process, we can obtain the model-free adaptive iterative learning control method based on high-order learning law as shown in equations (4) to (6):

[0114]

[0115] when or |Δu k (t)|≤ε

[0116]

[0117] S2: Based on the model-free adaptive iterative learning control method, the internal model control method is introduced to obtain the model-free adaptive iterative learning control method based on internal model control;

[0118] Furthermore, the S2 is specifically:

[0119] In order to suppress the influence of disturbance on the control system, the internal model control is combined with the model-free adaptive iterative learning method to construct an internal model controller and add a filter to reduce the influence of model mismatch and noise interference.

[0120] The internal model control system structure mainly includes the internal model controller G IMC , controlled object model G p and the internal model of the system G' p ;

[0121] like Fig.23 Shown: y d represents the expected signal, u represents the controller output signal,

[0122] G IMC represents the internal model controller, G p Represents the controlled object, G' p represents the internal model of the system, d represents the interference signal,

[0123] G d is the disturbance transfer function, and y represents the system output signal.

[0124] In the internal model control process, the internal model G' p and the controlled object model G p The difference is fed back to the main loop as an error signal, and then compared with the system setting value to obtain the error signal which is input to the internal model controller G IMC In the process, the control effect can be adjusted and optimized.

[0125] Furthermore, the S2 is specifically:

[0126] By transforming the internal model control system structure, the internal model control equivalent structure is obtained, such as Fig.24 As shown: Establish an actual internal model in the controller.

[0127] The internal model control equivalent structure includes: the controlled object model G p and feedback control system G c ;

[0128] The feedback control system G c Including internal model controller G IMC and the internal model G' p ,

[0129] The internal model controller G IMC , feedback control system G c The expressions of are shown in formula (7) and formula (8):

[0131]

[0132]

[0133] Since the internal model is exactly the same as the actual model, the internal model is moved to the front, and the same structure as the proportional integral PI control is constructed. The transfer function is calculated to obtain the internal model equivalent controller, and the transfer function of the entire system is calculated.

[0134] Furthermore, the S2 is specifically:

[0135] Traditional iterative learning control theory contains two dimensions: iteration axis and time axis. In order to transform the system into a one-dimensional multi-input multi-output system, a variable iteration domain operator ω is introduced, which has the characteristics shown in formula (9):

[0136] ω -1 u k (t) = u k-1 (t) (9)

[0137] The above formula is the standard z-transform formula, which reflects the operating relationship between adjacent iterations when time t remains unchanged. After defining the new z-transform formula, the two-dimensional multi-input multi-output system can be converted into a one-dimensional static system. In the ω domain, the one-dimensional equivalent system reflects the update law of iterative learning, which includes both the high-order properties in the time domain and the high-order properties in the iteration domain, such as Fig.25 As shown;

[0138] By introducing a new variable iteration domain operator ω, the basic structure of the iterative learning system is obtained, as follows: Fig.25 Shown: Y d (ω) represents the ω domain vector of the desired signal, E(ω) represents the ω domain vector of the tracking error,

[0139] U(ω) represents the ω domain vector of the control input signal, D(ω) represents the ω domain vector of the external interference signal,

[0140] Y(ω) represents the ω domain vector of the system output signal, C(ω) = ω -1 / (1-ω -1 ) is a scalar ω-domain expression,

[0141] L is the learning gain matrix, H p represents the system model, G d (ω) is the error transfer function.

[0142] Including learning gain matrix L and system model H p , where the learning gain matrix L contains a scalar ω-domain expression C(ω)=ω -1 / (1-ω -1 );

[0143] The basic structure of the ω domain iterative learning system is converted into the basic form of internal model control. While introducing the ω operator, the internal model control is combined with the iterative learning control to form an iterative learning control method based on internal model control, and the ω domain IMC-ILC structure is obtained, as shown in Fig.26 As shown, including system model H p and feedback control system G c , the feedback control system G c Including internal model H' p and the internal model controller G IMC .

[0144] Furthermore, the S2 is specifically:

[0145] Depend on Fig.26 It can be seen that in the presence of interference D(ω), the ω domain IMC-ILC structure also includes a feedback control system G c The ω domain vector Y of the desired signal input at the input d (ω) and system model H p The ω domain vector D(ω) of the external interference signal input at the output end;

[0146] Then the expression of the overall closed-loop corresponding output Y(ω) is:

[0148]

[0149] Where G d (ω) is the error transfer function, and Y(ω) is the overall closed-loop response output;

[0150] When the system model matches, then H p =H p ', let Gd (ω)=1, then the feedback control system G c Substituting the expression into equation (10), we can get the closed-loop response of the system as shown in equation (11).

[0151]

[0152] According to formula (11), if external disturbance exists, IMC-ILC can reduce the impact of external disturbance on the system by adjusting parameter A. Let A = 0 to obtain the feedback controller G c As shown in formula (12):

[0153]

[0154] because is the lower triangular Markov matrix of the system, and the inverse matrix H p -1 There exists and it is also a lower triangular matrix, so formula (12) is rewritten as shown in formula (13):

[0155]

[0156] By performing an inverse transformation on equation (13), we can obtain the expression of the controller of the iterative learning control method based on internal model control in the time domain as shown in equation (14):

[0157]

[0158] According to the above formula, the control law of the IMC-ILC control method contains an error term with a high-order form on the time axis, which reflects the internal model information of the control system and uses the strong robustness of the internal model control to enhance the control performance of the system.

[0159] Furthermore, the S2 is specifically:

[0160] Introduce internal model control into model-free adaptive iterative learning control, improve the control law form of model-free iterative controller, add the high-order form of the error term of IMC-ILC control law to MFAILC control law, and introduce time-varying proportional control term on the basis of time-varying integral control term;

[0161] The quasi-pseudo partial derivative online estimation method and reset method adopted by the IMC-MFAILC method are consistent with the MFAILC method that introduces a high-order learning law, replacing the error term in the control law with the high-order form of the error term in the IMC-ILC method;

[0162] Combining the above processes, the overall control scheme of the IMC-MFAILC method can be obtained as shown in equations (15), (16), and (17):

[0163]

[0164] when or |Δu k (t)|≤ε

[0165]

[0166] Where: β1, β2, γ i , k p and k i is the weight coefficient, γ i =2i / t(t+1) takes a value greater than 0.

[0167] Furthermore, the switching rules of the control method are as follows:

[0168] like Fig.21 As shown, given the expected tracking trajectory of the quadrotor UAV system, the system starts iterative operation. When the number of iterations k is greater than or equal to 2 and less than the high-order m, the partial derivative estimation method adopts the original method. When the number of iterations k is greater than or equal to the high-order m, the partial derivative estimation method adopts the high-order estimation method.

[0169] After the quasi-pseudo partial derivative values ​​are calculated, they are sent to the improved IMC-MFAILC controller to correct the control signal.

[0170] S3: Conduct simulation tests to improve control accuracy and error convergence speed. Use the model-free adaptive iterative learning control method and PID control method based on high-order learning law and the model-free adaptive iterative learning control method obtained in S1 to control the attitude angle of the quadrotor drone, record the data of the control process, and make pitch angle and roll angle trajectory tracking curves and pitch angle and roll angle error convergence curves based on the recorded data.

[0171] Specifically: First, PID control is used to control the attitude angle of the quadrotor drone.

[0172] The trajectory tracking effects of the three channels of pitch angle, roll angle and yaw angle are as follows Figure 1 , Figure 2 As shown, the tracking error is Figure 3 , Figure 4 shown.

[0173] The MFAILC method is used to control the attitude angle of the quadrotor UAV.

[0174] The trajectory tracking effects of the three channels of pitch angle, roll angle and yaw angle are as follows Figure 5 , Figure 6As shown, in the figure, k = 10, 20, 120 represent the output trajectories of the system iterative running 10 times, 20 times and 120 times respectively.

[0175] As can be seen from the figure, the MFAILC method can better control the attitude angle of the quadrotor drone. As the number of iterations increases, the tracking accuracy continues to increase, the tracking effect is continuously optimized, and finally the expected trajectory of the three channels can be accurately tracked.

[0176] The system control error convergence curve is as follows: Figure 7 As shown in the figure, the error gradually decreases with the increase of the number of system iterations, and the maximum tracking error converges to zero after about 120 iterations.

[0177] In order to compare the control effects of the methods, IMC-MFAILC is used to control the attitude angle of the quadrotor UAV.

[0178] The trajectory tracking effect of the system pitch angle, roll angle and yaw angle is as follows Figure 8 , 9 shown.

[0179] It can be seen that the tracking effect changes with time and the number of iterations. Compared with the MFAILC method, the tracking accuracy of the IMC-MFAILC method is always better than that of the MFAILC method when the parameters remain basically unchanged. When the same iterations are run for 10 and 20 times, the trajectory tracking accuracy of the IMC-MFAILC method is always higher and more stable. As the number of iterations increases, the trajectory tracking effect is continuously optimized until accurate tracking is achieved. When the iteration runs for about 80 times, the output trajectory has reached the expected trajectory requirements.

[0180] The error convergence curve of the IMC-MFAILC method is as follows: Fig.10 As shown in the figure, it can be seen that the tracking error decreases with the iteration and converges along the iteration axis, which verifies the effectiveness of the method. When the iteration runs to about 80 times, the maximum tracking error is close to zero, and the convergence speed is much greater than the error convergence speed of the MFAILC method. It can be seen that the IMC-MFAILC method has good tracking ability when controlling the attitude angle of the quadrotor drone, with high control accuracy, fast error convergence speed, and good control performance.

[0181] In order to more intuitively compare the control effects of the MFAILC and IMC-MFAILC schemes, the mean square error (MSE) and mean absolute error (MAE) of each scheme under different iteration numbers are calculated, and the results are shown in Table 1. It can be clearly seen from the calculation results that under the same number of iterations, the error of the IMC-MFAILC control scheme is always the smallest, its error convergence speed is significantly faster, the tracking effect is accurate, and the control performance is good.

[0182] Table 1 Control error comparison

[0183]

[0184] S5: Conduct simulation tests to enhance anti-interference capability and improve system stability, introduce nonlinear signal interference into the quadrotor drone system, and use the model-free adaptive iterative learning control method based on internal model control and PID control method and model-free adaptive iterative learning control method obtained in S2 to control the attitude angle of the quadrotor drone respectively, and record the data of the control process, and make the pitch angle and roll angle trajectory tracking curves and the pitch angle and roll angle error convergence curves according to the recorded data;

[0185] Specifically: nonlinear signal interference is introduced into the quadrotor UAV system, and traditional PID control, model-free adaptive iterative learning control and model-free adaptive iterative learning control based on internal model control are compared, and the control effects are as follows.

[0186] The trajectory tracking effect of the three channels of pitch angle, roll angle and yaw angle under interference is as follows Fig.11 , Fig.12 As shown in Figure 2, the tracking error under interference is Fig.13 , Fig.14 shown.

[0187] The trajectory tracking effect of the three channels of pitch angle, roll angle and yaw angle under interference is as follows Fig.15 , Fig.16 As shown,

[0188] The system control error convergence curve under disturbance is as follows: Fig.17 As shown,

[0189] The trajectory tracking effect of the system pitch angle, roll angle and yaw angle under interference is as follows Fig.18 , 19 As shown,

[0190] The error convergence curve of the IMC-MFAILC method under interference is as follows: Fig. 20 As shown,

[0191] It can be seen that after adding the disturbance, the PID control system produced a large error without changing the parameters, the system stability and adaptability were poor, and the control performance was poor. The MFAILC method had a large tracking fluctuation after adding the disturbance, the control system had poor stability, and poor anti-interference and robustness.

[0192] The IMC-MFAILC method control system has better tracking effect, can make the output trajectory track the expected trajectory well, and has small curve fluctuation and stronger anti-interference ability, which shows that the added internal model control can effectively improve the robustness of the system.

[0193] Comparing the error convergence curves, it can be seen that both the IMC-MFAILC and MFAILC methods can converge the error to a lower level, but the IMC-MFAILC method has a lower error convergence level, faster convergence speed, and better adaptability and stability.

[0194] The tracking errors of the control system with different iterations are shown in Table 2. The simulation effects of different control schemes can be compared intuitively through the mean square error and mean absolute error. From the error calculation results, it can be seen that the IMC-MFAILC method still maintains good control performance under the influence of the low-frequency disturbance d(k, t) on the time axis and iteration axis. The mean square error and mean absolute error values ​​are at a low level, and the error is decreasing with the increase of the number of iterations. It is more intuitive and clear that the IMC-MFAILC method has good robustness and anti-interference performance, and can better control various disturbances of the quadrotor UAV system.

[0195] Table 2 Error calculation results under interference

[0196]

[0197] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0198] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A quadrotor drone attitude control method based on internal model MFAILC method, characterized in that: The following steps are involved: S1: Based on the model-free adaptive iterative learning control method, a high-order iterative learning control method is introduced to obtain a model-free adaptive iterative learning control method based on a high-order learning law; S2: Based on the model-free adaptive iterative learning control method, the internal model control method is introduced to obtain the model-free adaptive iterative learning control method based on internal model control; S3: Conduct simulation tests to improve control accuracy and error convergence speed. Use the model-free adaptive iterative learning control method and PID control method based on high-order learning law and the model-free adaptive iterative learning control method obtained in S1 to control the attitude angle of the quadrotor drone, record the data of the control process, and make pitch angle and roll angle trajectory tracking curves and pitch angle and roll angle error convergence curves based on the recorded data. S4: Compare the error convergence curve and trajectory tracking curve made in S3 respectively to obtain the quadrotor drone attitude control method with the best control accuracy and error convergence speed; S5: Conduct simulation tests to enhance anti-interference capability and improve system stability, introduce nonlinear signal interference into the quadrotor drone system, and use the model-free adaptive iterative learning control method based on internal model control and PID control method and model-free adaptive iterative learning control method obtained in S2 to control the attitude angle of the quadrotor drone respectively, and record the data of the control process, and make the pitch angle and roll angle trajectory tracking curves and the pitch angle and roll angle error convergence curves according to the recorded data; S6: Compare the error convergence curve and trajectory tracking curve made in S5 respectively to obtain the attitude control method of the quadrotor drone with the best anti-interference ability.

2. The method for controlling the attitude of a quadrotor drone based on the internal model MFAILC method according to claim 1, characterized in that: The S1 is specifically: In order to improve the convergence performance of the MFAILC method, a high-order iterative learning control method is introduced. Compared with the general learning law, the high-order iterative learning control law uses the input and output information generated by the iteration in the previous period to construct a new control input, achieving faster error convergence speed and transient learning behavior. The control input signal u of the high-order learning law k (t) and the tracking error term e k (t) has a high-order form, and the expression is shown in formula (1): Where: α i and β j is the weight coefficient; Improve the traditional model-free adaptive iterative learning control method by using the high-order form of the input quantity and change the estimation method form of the quasi-pseudo partial derivative; A new criterion function with a high-order form is adopted, and the expression is shown in formula (2): Where: α i is the weight coefficient, m is the order; In the above formula Find partial derivatives and combine them with optimal conditions The high-order estimation method expression of the quasi-pseudo partial derivative is shown in formula (3): Where: η k,t is the step size factor; After selecting the high-order m, when the number of system iterations is greater than or equal to the high-order, that is, k ≥ m, the pseudo-partial derivative is calculated using the high-order estimation method; when the number of system iterations is less than the high-order, that is, 2 ≤ k < m, the pseudo-partial derivative is calculated using the original estimation method; The control input method and reset method adopted by the model-free adaptive iterative learning control method based on the high-order learning law are consistent with those of the model-free adaptive iterative learning control method, and the online estimation method of the quasi-pseudo partial derivative is replaced by an estimation method based on high-order parameters; Combining the above derivation process, we can obtain the model-free adaptive iterative learning control method based on high-order learning law as shown in equations (4) to (6): when or |Δu k (t)|≤ε 3. The method for controlling the attitude of a quadrotor drone based on the internal model MFAILC method according to claim 1, characterized in that: The S2 is specifically: In order to suppress the influence of disturbance on the control system, the internal model control is combined with the model-free adaptive iterative learning method to construct an internal model controller and add a filter to reduce the influence of model mismatch and noise interference. The internal model control system structure mainly includes the internal model controller G IMC , controlled object model G p and the internal model of the system G' p ; In the internal model control process, the internal model G' p and the controlled object model G p The difference is fed back to the main loop as an error signal, and then compared with the system setting value to obtain the error signal which is input to the internal model controller G IMC In the process, the control effect can be adjusted and optimized.

4. The method for controlling the attitude of a quadrotor drone based on the internal model MFAILC method according to claim 3 is characterized in that: The S2 is specifically: The internal model control equivalent structure is obtained by transforming the internal model control system structure, and an actual internal model is established in the controller. The internal model control equivalent structure includes: the controlled object model G p and feedback control system G c ; The feedback control system G c Including internal model controller G IMC and the internal model G' p , The internal model controller G IMC , feedback control system G c The expressions of are shown in formula (7) and formula (8): Since the internal model is exactly the same as the actual model, the internal model is moved to the front, and the same structure as the proportional integral PI control is constructed. The transfer function is calculated to obtain the internal model equivalent controller, and the transfer function of the entire system is calculated.

5. The method for controlling the attitude of a quadrotor drone based on the internal model MFAILC method according to claim 4, characterized in that: The S2 is specifically: Traditional iterative learning control theory contains two dimensions: iteration axis and time axis. In order to transform the system into a one-dimensional multi-input multi-output system, a variable iteration domain operator ω is introduced, which has the characteristics shown in formula (9): ω -1 u k (t)=u k-1 (t) (9) The above formula is a standard z-transformation formula, which reflects the operating relationship between adjacent iterations when time t remains unchanged. After defining a new z-transformation formula, the two-dimensional multi-input multi-output system can be converted into a one-dimensional static system. In the ω domain, the one-dimensional equivalent system reflects the update law of iterative learning, which includes both the high-order properties of the time domain and the high-order properties of the iteration domain. By introducing a new variable iteration domain operator ω, the basic structure of the iterative learning system is obtained, including the learning gain matrix L and the system model H p , where the learning gain matrix L contains a scalar ω-domain expression C(ω)=ω -1 / (1-ω -1 ); The basic structure of the ω domain iterative learning system is converted into the basic form of internal model control. While introducing the ω operator, the internal model control is combined with the iterative learning control to form an iterative learning control method based on internal model control, and the ω domain IMC-ILC structure is obtained, including the system model H p and feedback control system G c , the feedback control system G c Including internal model H' p and the internal model controller G IMC .

6. The method for controlling the attitude of a quadrotor drone based on the internal model MFAILC method according to claim 5, characterized in that: The S2 is specifically: The ω domain IMC-ILC structure also includes a feedback control system G c The ω domain vector Y of the desired signal input at the input d (ω) and system model H p The ω domain vector D(ω) of the external interference signal input at the output end; then the expression of the overall closed-loop corresponding output Y(ω) is: Where G d (ω) is the error transfer function, and Y(ω) is the overall closed-loop response output; When the system model matches, then H p =H p ', let G d (ω)=1, then the feedback control system G c Substituting the expression into equation (10), we can get the closed-loop response of the system as shown in equation (11). According to formula (11), if external disturbance exists, IMC-ILC can reduce the impact of external disturbance on the system by adjusting parameter A. Let A = 0 to obtain the feedback controller G c As shown in formula (12): because is the lower triangular Markov matrix of the system, and the inverse matrix H p -1 There exists and it is also a lower triangular matrix, so formula (12) is rewritten as shown in formula (13): By performing an inverse transformation on equation (13), we can obtain the expression of the controller of the iterative learning control method based on internal model control in the time domain as shown in equation (14): According to the above formula, the control law of the IMC-ILC control method contains an error term with a high-order form on the time axis, which reflects the internal model information of the control system and uses the strong robustness of the internal model control to enhance the control performance of the system.

7. The method for controlling the attitude of a quadrotor drone based on the internal model MFAILC method according to claim 6, characterized in that: The S2 is specifically: Introduce internal model control into model-free adaptive iterative learning control, improve the control law form of model-free iterative controller, add the high-order form of the error term of IMC-ILC control law to MFAILC control law, and introduce time-varying proportional control term on the basis of time-varying integral control term; The quasi-pseudo partial derivative online estimation method and reset method adopted by the IMC-MFAILC method are consistent with the MFAILC method that introduces a high-order learning law, replacing the error term in the control law with the high-order form of the error term in the IMC-ILC method; Combining the above processes, the overall control scheme of the IMC-MFAILC method can be obtained as shown in equations (15), (16), and (17): when or |Δu k (t)|≤ε Where: β1, β2, γ i , k p and k i is the weight coefficient, γ i =2i / t(t+1) takes a value greater than 0.

8. The method for controlling the attitude of a quadrotor drone based on the internal model MFAILC method according to claim 2 or 7, characterized in that: Including the switching rules of the control method, specifically: After the expected tracking trajectory of the quadrotor UAV system is given, the system starts iterative operation. When the number of iterations k is greater than or equal to 2 and less than the high-order m, the original method is used for the partial derivative estimation method. When the number of iterations k is greater than or equal to the high-order m, the high-order estimation method is used for the partial derivative estimation method. After the quasi-pseudo partial derivative values ​​are calculated, they are sent to the improved IMC-MFAILC controller to correct the control signal.