+

CN113253617A - Online self-adaptive control method for quad-rotor unmanned aerial vehicle - Google Patents

Online self-adaptive control method for quad-rotor unmanned aerial vehicle Download PDF

Info

Publication number
CN113253617A
CN113253617A CN202110748953.6A CN202110748953A CN113253617A CN 113253617 A CN113253617 A CN 113253617A CN 202110748953 A CN202110748953 A CN 202110748953A CN 113253617 A CN113253617 A CN 113253617A
Authority
CN
China
Prior art keywords
subsystem
model
fuzzy
attitude
sliding mode
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.)
Pending
Application number
CN202110748953.6A
Other languages
Chinese (zh)
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.)
Central South University
Original Assignee
Central South University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Central South University filed Critical Central South University
Priority to CN202110748953.6A priority Critical patent/CN113253617A/en
Publication of CN113253617A publication Critical patent/CN113253617A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
    • G05B13/042Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Feedback Control In General (AREA)

Abstract

本发明提供了一种用于四旋翼无人机的在线自适应控制方法,包括:基于四旋翼无人机的机理模型,分析模型的非线性耦合特性,引入中间变量对模型在位置和姿态两个环路上的耦合问题进行处理,得到外环位置子系统和内环姿态子系统;对所述外环位置子系统,根据一阶跟踪误差,设计基于滑模控制算法的鲁棒控制器,该控制器引入指数逼近律作为鲁棒项,实现外环控制系统对外部扰动的抑制;对所述内环姿态子系统,为解决机理模型中不确定部分导致的建模偏差,设计模糊补偿策略,并建立基于模糊补偿的自适应模糊滑模控制器,用于模型参数的实时辨识和在线调整;根据所述外环位置子系统和所述内环姿态子系统分析证明四旋翼无人机的模型的稳定性。

Figure 202110748953

The invention provides an online self-adaptive control method for a quadrotor unmanned aerial vehicle. The coupling problem on each loop is processed to obtain the outer loop position subsystem and the inner loop attitude subsystem; for the outer loop position subsystem, according to the first-order tracking error, a robust controller based on the sliding mode control algorithm is designed. The controller introduces the exponential approximation law as a robust term to realize the suppression of external disturbances by the outer loop control system; for the inner loop attitude subsystem, in order to solve the modeling deviation caused by the uncertain part of the mechanism model, a fuzzy compensation strategy is designed. And establish an adaptive fuzzy sliding mode controller based on fuzzy compensation for real-time identification and online adjustment of model parameters; according to the outer ring position subsystem and the inner ring attitude subsystem, the model of the quadrotor UAV is analyzed and proved stability.

Figure 202110748953

Description

用于四旋翼无人机的在线自适应控制方法Online adaptive control method for quadrotor UAV

技术领域technical field

本发明涉及四旋翼无人机控制领域,特别涉及一种用于四旋翼无人机的在线自适应控制方法。The invention relates to the field of quad-rotor UAV control, in particular to an online adaptive control method for quad-rotor UAV.

背景技术Background technique

近年来,四旋翼无人机在军事、农业、搜救、消防、环保和个人娱乐等领域得到了广泛的应用。无人机的普及得益于其安全性和机动性。与直升机和固定翼无人机相比,四旋翼具有垂直起降能力强、机动性强、机械结构简单、成本低等显著优点。此外,其尺寸和规格的灵活设计性能允许四旋翼快速适应给定行业的要求。尽管有这些优点,但在实际飞行环境中,四旋翼的理想轨迹跟踪性能总是受到不确定的内外非线性因素的影响。由于四旋翼系统是一个典型的动态非线性系统,具有强耦合和欠驱动的特点,并且由于机体振动和空气阻力的影响,模型存在不确定性,因此很难获得精确的系统模型。In recent years, quadrotor UAVs have been widely used in the fields of military, agriculture, search and rescue, fire protection, environmental protection and personal entertainment. The popularity of drones has benefited from their safety and mobility. Compared with helicopters and fixed-wing UAVs, quadrotors have significant advantages such as strong vertical take-off and landing capability, strong maneuverability, simple mechanical structure, and low cost. In addition, the flexible design capabilities of its size and specification allow the quadrotor to be quickly adapted to the requirements of a given industry. Despite these advantages, in the actual flight environment, the ideal trajectory tracking performance of the quadrotor is always affected by uncertain internal and external nonlinear factors. Since the quadrotor system is a typical dynamic nonlinear system, it has the characteristics of strong coupling and underactuation, and the model has uncertainty due to the influence of airframe vibration and air resistance, so it is difficult to obtain an accurate system model.

发明内容SUMMARY OF THE INVENTION

本发明提供了一种用于四旋翼无人机的在线自适应控制方法,其目的是为了解决四旋翼无人机无法实现控制参数与机体状态的实时调节的问题。The invention provides an online self-adaptive control method for a quadrotor unmanned aerial vehicle, the purpose of which is to solve the problem that the quadrotor unmanned aerial vehicle cannot realize real-time adjustment of control parameters and body state.

为了达到上述目的,本发明的实施例提供了一种用于四旋翼无人机的在线自适应控制方法,包括:In order to achieve the above object, an embodiment of the present invention provides an online adaptive control method for a quadrotor unmanned aerial vehicle, including:

基于四旋翼无人机的机理模型,分析模型的非线性耦合特性,引入中间变量对模型在位置和姿态两个环路上的耦合问题进行处理,得到外环位置子系统和内环姿态子系统;Based on the mechanism model of the quadrotor UAV, analyze the nonlinear coupling characteristics of the model, introduce intermediate variables to deal with the coupling problem of the model in the two loops of position and attitude, and obtain the outer loop position subsystem and the inner loop attitude subsystem;

对所述外环位置子系统,根据一阶跟踪误差,设计基于滑模控制算法的鲁棒控制器,该控制器引入指数逼近律作为鲁棒项,实现外环控制系统对外部扰动的抑制;For the outer-loop position subsystem, according to the first-order tracking error, a robust controller based on the sliding mode control algorithm is designed, and the controller introduces an exponential approximation law as a robust term to achieve the outer-loop control system's suppression of external disturbances;

对所述内环姿态子系统,设计针对模型不确定性的模糊补偿策略,并建立基于模糊补偿的自适应模糊滑模控制器,用于模型参数的实时辨识和在线调整;For the inner loop attitude subsystem, a fuzzy compensation strategy for model uncertainty is designed, and an adaptive fuzzy sliding mode controller based on fuzzy compensation is established for real-time identification and online adjustment of model parameters;

根据所述外环位置子系统和所述内环姿态子系统分析证明四旋翼无人机的模型的稳定性。According to the analysis of the outer ring position subsystem and the inner ring attitude subsystem, the stability of the model of the quadrotor UAV is proved.

其中,所述步骤1具体包括:Wherein, the step 1 specifically includes:

根据牛顿力学和牛顿-拉格朗日方程,四旋翼相对于惯性坐标系的动力学方程一般可表示为:According to Newtonian mechanics and the Newton-Lagrange equation, the dynamic equation of the quadrotor relative to the inertial coordinate system can generally be expressed as:

Figure 820385DEST_PATH_IMAGE001
(1)
Figure 820385DEST_PATH_IMAGE001
(1)

通过引入两个虚拟变量𝑈𝑥和𝑈𝑦,对外环位置子系统解耦;Decouple the outer loop position subsystem by introducing two dummy variables 𝑈𝑥 and 𝑈𝑦;

Figure 677483DEST_PATH_IMAGE002
(2)
Figure 677483DEST_PATH_IMAGE002
(2)

其中,

Figure 371769DEST_PATH_IMAGE003
in,
Figure 371769DEST_PATH_IMAGE003

施加了内外部扰动下的外环子系统模型为:The outer-loop subsystem model with internal and external disturbances applied is:

Figure 711746DEST_PATH_IMAGE004
(3)
Figure 711746DEST_PATH_IMAGE004
(3)

其中,

Figure 757062DEST_PATH_IMAGE005
表示系统在x,y和z三个方向上的内部不确定性,
Figure 152272DEST_PATH_IMAGE006
代表实际环境中的阵风、突变因素导致的外部扰动;in,
Figure 757062DEST_PATH_IMAGE005
represents the internal uncertainty of the system in the three directions of x, y and z,
Figure 152272DEST_PATH_IMAGE006
Represents external disturbances caused by gusts and sudden changes in the actual environment;

对内环姿态子系统解耦;Decoupling the inner loop attitude subsystem;

根据式(1)中的模型表达式,内环姿态子系统的方程可表示为According to the model expression in Eq. (1), the equation of the attitude subsystem of the inner ring can be expressed as

Figure 701065DEST_PATH_IMAGE007
(4)
Figure 701065DEST_PATH_IMAGE007
(4)

其中,

Figure 789106DEST_PATH_IMAGE008
。in,
Figure 789106DEST_PATH_IMAGE008
.

其中,所述步骤2具体包括:Wherein, the step 2 specifically includes:

通过引入三个虚拟变量Ux、Uy和Uz,平移运动方程可以简化为:By introducing three dummy variables Ux, Uy and Uz, the translational motion equation can be simplified to:

Figure 56140DEST_PATH_IMAGE009
(5)
Figure 56140DEST_PATH_IMAGE009
(5)

定义两个状态变量x1,x2,等式(5)可以重写为以下状态空间形式:Defining two state variables x 1 , x 2 , equation (5) can be rewritten in the following state space form:

Figure 989460DEST_PATH_IMAGE010
(6)
Figure 989460DEST_PATH_IMAGE010
(6)

其中,𝑈𝑥 = 𝑈1(𝑐𝑜𝑠𝜙𝑠𝑖𝑛𝜃𝑐𝑜𝑠𝜓 + 𝑠𝑖𝑛𝜙𝑠𝑖𝑛𝜓) ,𝑥1 , 𝑥2分别表示x方向上的速度和加速度,用于描述系统在x方向上的运动状态𝑥方向;Among them, 𝑈𝑥 = 𝑈1(𝑐𝑜𝑠𝜙𝑠𝑖𝑛𝜃𝑐𝑜𝑠𝜓 + 𝑠𝑖𝑛𝜙𝑠𝑖𝑛𝜓) , 𝑥 1 , 𝑥 2 are used to describe the speed and acceleration of the system in the x direction, respectively;

定义一个虚拟变量𝛽,并引入一阶跟踪误差,Define a dummy variable 𝛽 and introduce a first-order tracking error,

Figure 596022DEST_PATH_IMAGE011
(7)
Figure 596022DEST_PATH_IMAGE011
(7)

定义两个误差变量𝑒1𝑥, 𝑒2𝑥,并设置Define two error variables 𝑒 1 𝑥, 𝑒 2 𝑥, and set

Figure 854965DEST_PATH_IMAGE012
(8)
Figure 854965DEST_PATH_IMAGE012
(8)

引入滑模面

Figure 343715DEST_PATH_IMAGE013
,根据方程(8)得:Introduce sliding surface
Figure 343715DEST_PATH_IMAGE013
, according to equation (8):

Figure 346307DEST_PATH_IMAGE014
(9)
Figure 346307DEST_PATH_IMAGE014
(9)

利用指数逼近律来提高位置控制系统的鲁棒性:Use the exponential approximation law to improve the robustness of the position control system:

Figure 869692DEST_PATH_IMAGE015
(10)
Figure 869692DEST_PATH_IMAGE015
(10)

最终得到控制量如下:The final control amount is as follows:

Figure 33957DEST_PATH_IMAGE016
Figure 33957DEST_PATH_IMAGE016

定义李雅普诺夫函数

Figure 462533DEST_PATH_IMAGE017
,求导得:Define a Lyapunov function
Figure 462533DEST_PATH_IMAGE017
, find the derivation:

Figure 3236DEST_PATH_IMAGE018
(11)
Figure 3236DEST_PATH_IMAGE018
(11)

当满足

Figure 381128DEST_PATH_IMAGE019
使,滑动面s→0,位置控制子系统是渐近稳定的;when satisfied
Figure 381128DEST_PATH_IMAGE019
so that the sliding surface s→0, the position control subsystem is asymptotically stable;

进一步可计算y和z方向上的控制量:Further control quantities in the y and z directions can be calculated:

Figure 981873DEST_PATH_IMAGE020
(12)。
Figure 981873DEST_PATH_IMAGE020
(12).

其中,所述步骤3包括:Wherein, the step 3 includes:

使用模糊补偿模型解决机理模型中不确定部分导致的建模偏差,建立基于模糊补偿的自适应模糊滑模控制器,用于模型参数的实时辨识和在线调整,所述自适应模糊滑模控制器采用改进的超扭曲算法,抑制控制系统在滑模面上的抖振,通过将模糊模型和鲁棒滑模控制器集成到一个统一的框架中,实现对闭环控制系统参数的实时辨识。Use the fuzzy compensation model to solve the modeling deviation caused by the uncertain part of the mechanism model, and establish an adaptive fuzzy sliding mode controller based on fuzzy compensation for real-time identification and online adjustment of model parameters. The adaptive fuzzy sliding mode controller The improved super-twisting algorithm is used to suppress the chattering of the control system on the sliding mode surface. By integrating the fuzzy model and the robust sliding mode controller into a unified framework, the real-time identification of the parameters of the closed-loop control system is realized.

本发明的上述方案有如下的有益效果:The above-mentioned scheme of the present invention has the following beneficial effects:

本发明的用于四旋翼无人机的在线自适应控制方法依赖于实际的机理模型,兼顾了模型内部不确定性和外部扰动,具有很好的鲁棒性。针对系统的非线性耦合特性,将系统解耦为内外环子系统,充分考虑了各子系统的特点和扰动特征,以独立地设计控制器,有效保证了控制过程的稳定性。在内环控制器的设计中,根据反馈补偿控制的思想,将模糊建模方法用于模型内部不确定性的自适应补偿,以有效还原真实系统动态;在此基础上建立的自适应模糊滑模控制器,采用了改进的超扭曲算法,不仅能有效抑制控制系统在滑模面上的抖振,也提高了整个闭环控制系统的鲁棒性。The online self-adaptive control method for the quadrotor UAV of the present invention relies on the actual mechanism model, takes into account the internal uncertainty and external disturbance of the model, and has good robustness. According to the nonlinear coupling characteristics of the system, the system is decoupled into inner and outer loop subsystems, and the characteristics and disturbance characteristics of each subsystem are fully considered to design the controller independently, which effectively ensures the stability of the control process. In the design of the inner loop controller, according to the idea of feedback compensation control, the fuzzy modeling method is used for the adaptive compensation of the internal uncertainty of the model to effectively restore the real system dynamics; The model controller adopts an improved super-twist algorithm, which can not only effectively suppress the chattering of the control system on the sliding mode surface, but also improve the robustness of the entire closed-loop control system.

附图说明Description of drawings

图1为本发明的用于四旋翼无人机的在线自适应控制方法的流程示意图;1 is a schematic flowchart of an online adaptive control method for a quadrotor unmanned aerial vehicle of the present invention;

图2为本发明的用于四旋翼无人机的在线自适应控制方法的总体架构图;2 is an overall architecture diagram of an online adaptive control method for a quadrotor unmanned aerial vehicle of the present invention;

图3为本发明的外环位置子系统的鲁棒滑模控制方法的架构图;Fig. 3 is the framework diagram of the robust sliding mode control method of the outer loop position subsystem of the present invention;

图4为本发明的基于模糊补偿的内环姿态子系统自适应滑模控制方法的架构图;Fig. 4 is the framework diagram of the self-adaptive sliding mode control method of the inner loop attitude subsystem based on fuzzy compensation of the present invention;

图5为本发明的所设计的在线模糊逼近模型结构图;Fig. 5 is the designed online fuzzy approximation model structure diagram of the present invention;

图6为本发明的自适应鲁棒滑模控制器的控制思路示意图;Fig. 6 is the control idea schematic diagram of the adaptive robust sliding mode controller of the present invention;

图7为本发明的横滚角姿态跟踪结果与误差示意图;7 is a schematic diagram of the roll angle attitude tracking result and error of the present invention;

图8为本发明的俯仰角姿态跟踪结果与误差示意图;Fig. 8 is the pitch angle attitude tracking result and error schematic diagram of the present invention;

图9为本发明的航向角姿态跟踪结果与误差示意图;9 is a schematic diagram of the heading angle and attitude tracking result and error of the present invention;

图10为本发明的仿真中引入的高斯白噪声示意图;10 is a schematic diagram of white Gaussian noise introduced in the simulation of the present invention;

图11为本发明的随机噪声下的轨迹跟踪结果示意图。FIG. 11 is a schematic diagram of a trajectory tracking result under random noise according to the present invention.

具体实施方式Detailed ways

为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, the following will be described in detail with reference to the accompanying drawings and specific embodiments.

如图1和图2所示,本发明的实施例提供了一种用于四旋翼无人机的在线自适应控制方法,包括:对于外环位置子系统的模型特征,开发了基于滑模控制算法的鲁棒控制器;通过在该控制器中引入一阶跟踪误差的积分,并采用指数逼近律作为鲁棒项,实现外环控制系统对外部扰动的抑制,有效提高了系统的鲁棒跟踪性能。其次,对于内环姿态子系统,为解决机理模型中不确定部分导致的建模偏差,设计了针对模型不确定性的模糊补偿策略,并建立基于模糊补偿的自适应模糊滑模控制器,用于模型参数的实时辨识和在线调整,该内环控制器采用改进的超扭曲算法,有效抑制了控制系统在滑模面上的抖振。将这些子控制系统集成到一个统一的闭环系统中,并对整个系统的一致稳定性进行了理论分析和严格证明,与几种常用方法相比,其优越的控制性能得以体现。As shown in FIG. 1 and FIG. 2 , an embodiment of the present invention provides an online adaptive control method for a quadrotor UAV, including: for the model features of the outer loop position subsystem, develop a sliding mode control method based on The robust controller of the algorithm; by introducing the integration of the first-order tracking error into the controller, and using the exponential approximation law as the robust term, the outer loop control system can suppress the external disturbance and effectively improve the robust tracking of the system. performance. Secondly, for the attitude subsystem of the inner loop, in order to solve the modeling deviation caused by the uncertain part of the mechanism model, a fuzzy compensation strategy for the uncertainty of the model is designed, and an adaptive fuzzy sliding mode controller based on fuzzy compensation is established. For the real-time identification and online adjustment of model parameters, the inner loop controller adopts an improved superdistortion algorithm, which effectively suppresses the chattering of the control system on the sliding surface. These sub-control systems are integrated into a unified closed-loop system, and the consistent stability of the whole system is theoretically analyzed and rigorously proved, and its superior control performance compared with several commonly used methods is demonstrated.

在对位置子系统进行控制时,将姿态子系统控制切换引起的抖振视为外部干扰,引入一阶跟踪误差的积分,以提高对外部干扰的鲁棒性。在进行姿态控制时,将位置子系统控制切换引起的抖振视为外部干扰,引入模糊和超扭曲算法,保证系统对干扰的鲁棒性。这样,控制切换引起的抖动被抑制。When controlling the position subsystem, the chattering caused by the control switching of the attitude subsystem is regarded as the external disturbance, and the integral of the first-order tracking error is introduced to improve the robustness to the external disturbance. During attitude control, the chattering caused by the control switching of the position subsystem is regarded as external disturbance, and fuzzy and super-distortion algorithms are introduced to ensure the robustness of the system to disturbances. In this way, jitter caused by control switching is suppressed.

1)四旋翼无人机模型的构建1) Construction of the quadrotor UAV model

根据牛顿力学和牛顿-拉格朗日方程,四旋翼相对于惯性坐标系的动力学方程一般可表示为:According to Newtonian mechanics and the Newton-Lagrange equation, the dynamic equation of the quadrotor relative to the inertial coordinate system can generally be expressed as:

Figure 74244DEST_PATH_IMAGE001
(1)
Figure 74244DEST_PATH_IMAGE001
(1)

在实际飞行中,四旋翼的升力主要由螺旋桨的旋转产生。首先根据飞机的重力,通过反算得到每个螺旋桨的转速,使飞机通过四个螺旋桨来抵消自身重力,从而获得基本升力。然后,在基本推力的基础上,控制器主要进行增量式和减量式调节,即根据目标点与当前位置的偏差来调节四台电机的转速。如式(1)所示,旋转信息,,分别与U2、U3、U4有关;类似地,位置加速度ẍ, ÿ, z̈ 与U1,m,,,有关。实际问题可能导致模型和控制的困难:(1)实际飞行环境中阵风的不同形式,即突变、高频、旋风等,影响控制器的鲁棒性;(2)由空气阻力等外部因素引起的机体振动,可能导致模型的不确定性。一个有效的方法是对位置和姿态参数进行解耦,开发基于内外环子系统的自适应控制算法。当跟踪目标轨迹时,外回路位置控制器将根据输入的目标轨迹和实际位置信息调用相应的算法来控制四旋翼的角度。将输出的规则速度偏差传递给内环姿态控制器。然后内环根据这个偏差来调整飞机的姿态,将推力信息传递给最终的执行单元。In actual flight, the lift of the quadrotor is mainly generated by the rotation of the propeller. First, according to the gravity of the aircraft, the rotation speed of each propeller is obtained by inverse calculation, so that the aircraft can offset its own gravity through the four propellers, so as to obtain the basic lift. Then, on the basis of the basic thrust, the controller mainly performs incremental and decrement adjustments, that is, adjusts the speed of the four motors according to the deviation between the target point and the current position. As shown in Equation (1), the rotation information, , is related to U2, U3, and U4, respectively; similarly, the positional accelerations ẍ, ÿ, z̈ are related to U1, m, , . Practical problems may lead to difficulties in modeling and control: (1) different forms of wind gusts in the actual flight environment, i.e. sudden changes, high frequencies, cyclones, etc., affect the robustness of the controller; (2) caused by external factors such as air resistance Body vibrations can lead to model uncertainty. An effective method is to decouple the position and attitude parameters and develop an adaptive control algorithm based on the inner and outer loop subsystems. When tracking the target trajectory, the outer loop position controller will call the corresponding algorithm to control the angle of the quadrotor according to the input target trajectory and actual position information. The output regular velocity deviation is passed to the inner loop attitude controller. Then the inner loop adjusts the attitude of the aircraft according to this deviation, and transmits the thrust information to the final execution unit.

A.外环位置子系统解耦A. Outer loop position subsystem decoupling

通过引入两个虚拟变量𝑈𝑥以及𝑈𝑦,提出了一种解耦方法解决内外环控制系统之间的耦合关系:By introducing two dummy variables 𝑈𝑥 and 𝑈𝑦, a decoupling method is proposed to solve the coupling relationship between the inner and outer loop control systems:

Figure 418638DEST_PATH_IMAGE002
(2)
Figure 418638DEST_PATH_IMAGE002
(2)

其中,

Figure 916615DEST_PATH_IMAGE003
in,
Figure 916615DEST_PATH_IMAGE003

施加了内外部扰动下的外环子系统模型为:The outer-loop subsystem model with internal and external disturbances applied is:

Figure 422683DEST_PATH_IMAGE004
(3)
Figure 422683DEST_PATH_IMAGE004
(3)

其中,

Figure 638900DEST_PATH_IMAGE005
表示系统在x,y和z三个方向上的内部不确定性,
Figure 521406DEST_PATH_IMAGE006
代表实际环境中的阵风、突变等因素导致的外部扰动。in,
Figure 638900DEST_PATH_IMAGE005
represents the internal uncertainty of the system in the three directions of x, y and z,
Figure 521406DEST_PATH_IMAGE006
It represents the external disturbance caused by factors such as gusts and sudden changes in the actual environment.

B.内环姿态子系统解耦B. Inner loop attitude subsystem decoupling

根据式(1)中的模型表达式,内环姿态子系统的方程可表示为According to the model expression in Eq. (1), the equation of the attitude subsystem of the inner ring can be expressed as

Figure 811573DEST_PATH_IMAGE007
(4)
Figure 811573DEST_PATH_IMAGE007
(4)

其中,

Figure 488542DEST_PATH_IMAGE008
。in,
Figure 488542DEST_PATH_IMAGE008
.

2)外环位置控制器的构建2) Construction of the outer loop position controller

如(3)所述,通过引入三个虚拟变量Ux、Uy和Uz,平移运动方程可以简化为:As mentioned in (3), by introducing three dummy variables Ux, Uy and Uz, the translational motion equation can be simplified as:

Figure 926476DEST_PATH_IMAGE009
(5)
Figure 926476DEST_PATH_IMAGE009
(5)

虽然模型的不确定性和干扰在实际飞行中是不可预测的,不能作为先验知识来获取,但这些因素的影响却可以通过引入控制项减轻。这里构造一个鲁棒滑模控制器来实现三维精确稳定的运动,如图3所示。Although model uncertainties and disturbances are unpredictable in actual flight and cannot be acquired as prior knowledge, the effects of these factors can be mitigated by introducing control terms. Here, a robust sliding mode controller is constructed to achieve accurate and stable motion in three dimensions, as shown in Figure 3.

以x方向为例来说明控制器的设计过程。该控制器通过设计虚拟变量来保证系统渐近有界,使控制输出不仅能抑制干扰,而且能实现对参考信号的渐近跟踪。定义两个状态变量x1,x2,等式(5)可以重写为以下状态空间形式:Take the x-direction as an example to illustrate the design process of the controller. The controller ensures that the system is asymptotically bounded by designing dummy variables, so that the control output can not only suppress interference, but also achieve asymptotic tracking of the reference signal. Defining two state variables x 1 , x 2 , equation (5) can be rewritten in the following state space form:

Figure 612673DEST_PATH_IMAGE010
(6)
Figure 612673DEST_PATH_IMAGE010
(6)

其中,𝑈𝑥 = 𝑈1(𝑐𝑜𝑠𝜙𝑠𝑖𝑛𝜃𝑐𝑜𝑠𝜓 + 𝑠𝑖𝑛𝜙𝑠𝑖𝑛𝜓) ; 𝑥1 , 𝑥2分别表示x方向上的速度和加速度,用于描述系统在x方向上的运动状态𝑥方向。受backstepping算法的启发,这里定义一个虚拟变量𝛽,并引入一阶跟踪误差,以保证跟踪的鲁棒性。Among them, 𝑈𝑥 = 𝑈1(𝑐𝑜𝑠𝜙𝑠𝑖𝑛𝜃𝑐𝑜𝑠𝜓 + 𝑠𝑖𝑛𝜙𝑠𝑖𝑛𝜓𝑥) ; 𝑥1 , 𝑥2 are used to describe the speed and acceleration of the system in the x direction, respectively. Inspired by the backstepping algorithm, a dummy variable 𝛽 is defined here, and a first-order tracking error is introduced to ensure the robustness of the tracking.

Figure 819663DEST_PATH_IMAGE011
(7)
Figure 819663DEST_PATH_IMAGE011
(7)

定义两个误差变量𝑒1𝑥,𝑒2𝑥,并设置Define two error variables 𝑒 1𝑥 ,𝑒 2𝑥 , and set

Figure 120063DEST_PATH_IMAGE012
(8)
Figure 120063DEST_PATH_IMAGE012
(8)

引入滑模面

Figure 45294DEST_PATH_IMAGE013
,根据方程(8)得:Introduce sliding surface
Figure 45294DEST_PATH_IMAGE013
, according to equation (8):

Figure 269602DEST_PATH_IMAGE014
(9)
Figure 269602DEST_PATH_IMAGE014
(9)

利用指数逼近律来提高位置控制系统的鲁棒性:Use the exponential approximation law to improve the robustness of the position control system:

Figure 596678DEST_PATH_IMAGE015
(10)
Figure 596678DEST_PATH_IMAGE015
(10)

最终得到控制量如下:The final control amount is as follows:

Figure 881029DEST_PATH_IMAGE016
Figure 881029DEST_PATH_IMAGE016
;

定义李雅普诺夫函数

Figure 965659DEST_PATH_IMAGE017
,求导得:Define a Lyapunov function
Figure 965659DEST_PATH_IMAGE017
, find the derivation:

Figure 993658DEST_PATH_IMAGE018
(11)
Figure 993658DEST_PATH_IMAGE018
(11)

当满足

Figure 175241DEST_PATH_IMAGE019
使,滑动面s→0,位置控制子系统是渐近稳定的。when satisfied
Figure 175241DEST_PATH_IMAGE019
Let, the sliding surface s→0, the position control subsystem is asymptotically stable.

进一步可计算y和z方向上的控制量:Further control quantities in the y and z directions can be calculated:

Figure 630493DEST_PATH_IMAGE020
(12)
Figure 630493DEST_PATH_IMAGE020
(12)

3)内环姿态控制器的构建3) Construction of the inner loop attitude controller

针对姿态子控制系统,提出了一种在线自适应模糊滑模控制器。如图4所示,此方法分别使用模糊模型和SMC来克服不确定性和外部干扰。此外,为了缓解传统滑模控制中存在的抖振问题,我们引入了一种改进的STA,通过引入积分项和指数项,将抖振切换函数应用于滑模变量的高阶导数。在此基础上,设计了一种在线自适应策略,将模糊模型和鲁棒滑模控制器集成到一个统一的框架中,实现了控制系统参数的实时辨识。For the attitude sub-control system, an online adaptive fuzzy sliding mode controller is proposed. As shown in Fig. 4, this method uses fuzzy model and SMC to overcome uncertainty and external disturbance, respectively. Furthermore, to alleviate the chattering problem existing in traditional sliding mode control, we introduce an improved STA that applies a chattering switching function to the higher-order derivatives of sliding mode variables by introducing integral and exponential terms. On this basis, an online adaptive strategy is designed, which integrates the fuzzy model and the robust sliding mode controller into a unified framework, and realizes the real-time identification of the control system parameters.

A. 模糊逼近系统A. Fuzzy Approximation System

由于很难得到精确的f(t, q, q)方程,根据普遍逼近定理,必然存在一个模糊系统 f̂(t, q ,q̇) 高度逼近于f(t, q, q̇)。因此,可构造二维模糊控制器逼近f(t, q, q̇)。为了保证近似精度,这里定义为近似误差ε。Since it is difficult to obtain an exact f(t, q, q) equation, according to the universal approximation theorem, there must be a fuzzy system f̂(t, q ,q̇) highly approximate to f(t, q, q̇). Therefore, a two-dimensional fuzzy controller can be constructed to approximate f(t, q, q̇). In order to ensure the approximation accuracy, it is defined here as the approximation error ε.

由式(4)可知,姿态控制系统中有三个角度变量,在设计模糊系统时应综合考虑。这里,我们使用俯仰角ϕ 举个例子。详细的模糊系统如图5所示。It can be seen from formula (4) that there are three angle variables in the attitude control system, which should be considered comprehensively when designing the fuzzy system. Here, we use the pitch angle ϕ as an example. The detailed fuzzy system is shown in Figure 5.

假设A1和A2分别表示φ1和φ2的模糊结果集,建立模糊规则如下:Assuming that A1 and A2 represent the fuzzy result sets of φ1 and φ2, respectively, the fuzzy rules are established as follows:

Figure DEST_PATH_IMAGE021
Figure DEST_PATH_IMAGE021

在模糊系统中,采用单值模糊器计算规则结果,函数值

Figure 218731DEST_PATH_IMAGE022
对应于隶属函数的最大值。此外,借助于乘积推理机,推理结论可以表述为
Figure DEST_PATH_IMAGE023
。因此,基于中心平均解模糊器获得系统输出为:In the fuzzy system, a single-value fuzzer is used to calculate the rule result, the function value
Figure 218731DEST_PATH_IMAGE022
corresponds to the maximum value of the membership function. In addition, with the help of the product inference engine, the inference conclusion can be expressed as
Figure DEST_PATH_IMAGE023
. Therefore, the system output obtained based on the center-averaged defuzzifier is:

Figure 784842DEST_PATH_IMAGE024
(13)
Figure 784842DEST_PATH_IMAGE024
(13)

定义参数𝜔𝜙,并引入一个新的权重𝜁(𝜙),然后模糊输出可进一步转化为:Define the parameters 𝜔 𝜙 and introduce a new weight 𝜁(𝜙), then the fuzzy output can be further transformed into:

Figure DEST_PATH_IMAGE025
(14)
Figure DEST_PATH_IMAGE025
(14)

然后,第l1l2(l1 = 1,2, ⋯ , 𝑚; l2 =1,2, ⋯ , 𝑛)成员的权重𝜁(𝜙)可表示为:Then, the weight 𝜁(𝜙) of the member l 1 l 2 (l 1 = 1,2, ⋯ , 𝑚; l 2 =1,2, ⋯ , 𝑛) can be expressed as:

Figure 820931DEST_PATH_IMAGE026
(15)
Figure 820931DEST_PATH_IMAGE026
(15)

假设

Figure DEST_PATH_IMAGE027
,可得:Assumption
Figure DEST_PATH_IMAGE027
,Available:

Figure 384768DEST_PATH_IMAGE028
(16)
Figure 384768DEST_PATH_IMAGE028
(16)

其中,ε表示逼近误差。where ε is the approximation error.

定义

Figure 506307DEST_PATH_IMAGE029
有:definition
Figure 506307DEST_PATH_IMAGE029
Have:

Figure 876109DEST_PATH_IMAGE030
(17)
Figure 876109DEST_PATH_IMAGE030
(17)

对于

Figure 32284DEST_PATH_IMAGE031
有:for
Figure 32284DEST_PATH_IMAGE031
Have:

Figure 829338DEST_PATH_IMAGE032
(18)
Figure 829338DEST_PATH_IMAGE032
(18)

动态姿态方程可以改写为

Figure 625125DEST_PATH_IMAGE033
(19)The dynamic attitude equation can be rewritten as
Figure 625125DEST_PATH_IMAGE033
(19)

B. 基于模糊补偿的自适应滑膜控制器B. Adaptive Synovial Controller Based on Fuzzy Compensation

利用前一种模糊逼近系统,可以补偿系统的模型不确定性。为了获得满意的跟踪精度和抗外界干扰的鲁棒性能,进一步提出了一种自适应鲁棒控制器。在该控制器中,引入了一种改进的STA作为鲁棒项,以缓解传统滑模控制器存在的抖振问题。鲁棒逼近律随实时反馈状态和模糊逼近项的变化而变化。鲁棒滑模算法的结构如图6。Using the former fuzzy approximation system, the model uncertainty of the system can be compensated. In order to obtain satisfactory tracking accuracy and robust performance against external disturbances, an adaptive robust controller is further proposed. In this controller, an improved STA is introduced as a robust term to alleviate the chattering problem of traditional sliding mode controllers. The robust approximation law changes with the real-time feedback state and the fuzzy approximation term. The structure of the robust sliding mode algorithm is shown in Figure 6.

引入滑模面

Figure 533038DEST_PATH_IMAGE034
且有
Figure 543719DEST_PATH_IMAGE035
。因此,sq可进一步表示为:Introduce sliding surface
Figure 533038DEST_PATH_IMAGE034
and have
Figure 543719DEST_PATH_IMAGE035
. Therefore, s q can be further expressed as:

Figure 511675DEST_PATH_IMAGE036
(20)
Figure 511675DEST_PATH_IMAGE036
(20)

众所周知,当滑动模态函数sq→0,高度误差e及其导数指数收敛到零。由此可得It is well known that when the sliding modal function s q → 0, the height error e and its derivative exponentially converge to zero. Therefore

Figure 545491DEST_PATH_IMAGE037
(21)
Figure 545491DEST_PATH_IMAGE037
(twenty one)

这里提出一个改进的STA算法作为SMC的鲁棒项,它继承了传统线性和非线性STA在干扰抑制方面的特性,以克服二阶滑模的抖振,提高系统对外部干扰的鲁棒性:Here, an improved STA algorithm is proposed as the robust term of SMC, which inherits the characteristics of traditional linear and nonlinear STA in interference suppression to overcome the chattering of the second-order sliding mode and improve the robustness of the system to external interference:

Figure 257095DEST_PATH_IMAGE038
(22)
Figure 257095DEST_PATH_IMAGE038
(twenty two)

最终得到控制量如下:The final control amount is as follows:

Figure 387862DEST_PATH_IMAGE039
(23)
Figure 387862DEST_PATH_IMAGE039
(twenty three)

定义李雅普诺夫函数

Figure 526719DEST_PATH_IMAGE040
,求导得:Define a Lyapunov function
Figure 526719DEST_PATH_IMAGE040
, find the derivation:

Figure 844568DEST_PATH_IMAGE041
(24)
Figure 844568DEST_PATH_IMAGE041
(twenty four)

显然,

Figure 45349DEST_PATH_IMAGE043
的第一部分满足
Figure 30622DEST_PATH_IMAGE044
;此外,当满足
Figure 340381DEST_PATH_IMAGE045
成立。因此,这里只需计算𝑠𝑞收敛到0的边界条件即可。最终推导得到的边界条件如下:Obviously,
Figure 45349DEST_PATH_IMAGE043
The first part satisfies
Figure 30622DEST_PATH_IMAGE044
; in addition, when satisfying
Figure 340381DEST_PATH_IMAGE045
established. Therefore, it is only necessary to calculate the boundary conditions where 𝑠 𝑞 converges to 0. The final derived boundary conditions are as follows:

Figure 145526DEST_PATH_IMAGE046
(25)
Figure 145526DEST_PATH_IMAGE046
(25)

最后,将这些子控制系统集成到一个统一的闭环系统中,即可实现四旋翼无人机在内部参数不确定和外部扰动下的精确稳定控制。Finally, by integrating these sub-control systems into a unified closed-loop system, the precise and stable control of the quadrotor UAV under uncertain internal parameters and external disturbances can be realized.

本发明的用于四旋翼无人机的在线自适应控制方法依赖于实际的机理模型,兼顾了模型内部不确定性和外部扰动,具有很好的鲁棒性。针对系统的非线性耦合特性,将系统解耦为内外环子系统,充分考虑了各子系统的特点和扰动特征,以独立地设计控制器,有效保证了控制过程的稳定性。在内环控制器的设计中,根据反馈补偿控制的思想,将模糊建模方法用于模型内部不确定性的自适应补偿,以有效还原真实系统动态;在此基础上建立的自适应模糊滑模控制器,采用了改进的超扭曲算法,不仅能有效抑制控制系统在滑模面上的抖振,也提高了整个闭环控制系统的鲁棒性。The online self-adaptive control method for the quadrotor UAV of the present invention relies on the actual mechanism model, takes into account the internal uncertainty and external disturbance of the model, and has good robustness. According to the nonlinear coupling characteristics of the system, the system is decoupled into inner and outer loop subsystems, and the characteristics and disturbance characteristics of each subsystem are fully considered to design the controller independently, which effectively ensures the stability of the control process. In the design of the inner loop controller, according to the idea of feedback compensation control, the fuzzy modeling method is used for the adaptive compensation of the internal uncertainty of the model to effectively restore the real system dynamics; The model controller adopts an improved super-twist algorithm, which can not only effectively suppress the chattering of the control system on the sliding mode surface, but also improve the robustness of the entire closed-loop control system.

基于三种常用的控制算法开展本发明的仿真和对比实验。这样做是为了详细展示其具体实施过程,并验证所提出方法的有效性。仿真中使用的四旋翼飞机的参数如表1所示。The simulation and comparison experiments of the present invention are carried out based on three commonly used control algorithms. This is done to demonstrate its specific implementation in detail and to verify the effectiveness of the proposed method. The parameters of the quadrotor used in the simulation are shown in Table 1.

表1 四旋翼相关Table 1 Four-rotor related

Figure 136616DEST_PATH_IMAGE048
Figure 136616DEST_PATH_IMAGE048

1.姿态跟踪仿真1. Attitude tracking simulation

为了说明所提出的模糊自适应滑模控制器的鲁棒性和收敛性能,我们以姿态子系统为例,对其姿态跟踪效果和输入稳定性进行了对比仿真。To illustrate the robustness and convergence performance of the proposed fuzzy adaptive sliding mode controller, we take the attitude subsystem as an example to conduct a comparative simulation of its attitude tracking effect and input stability.

(1)串级PID控制器(PID)(1) Cascade PID controller (PID)

(2)改进的滑模控制器(M-SOSM)(2) Improved sliding mode controller (M-SOSM)

(3)模糊滑模控制器(3) Fuzzy sliding mode controller

(4)模糊自适应滑模控制器(AdapFuzzy M-SOSM)(4) Fuzzy adaptive sliding mode controller (AdapFuzzy M-SOSM)

在这三种控制器中,串级PID控制器包含了角速度和角速度的双闭环PID控制策略。采用改进的超扭曲算法(STA)对M-SOSM控制器和模糊M-SOSM控制器的滑模控制进行了优化,该算法与模糊自适应M-SOSM控制器的鲁棒项相同。这也是为了证明抗干扰鲁棒性和在线逼近性能。姿态子系统的模型不确定性选择为:Among these three kinds of controllers, the cascade PID controller contains the double closed-loop PID control strategy of angular velocity and angular velocity. The sliding mode control of the M-SOSM controller and the fuzzy M-SOSM controller is optimized by an improved superwarping algorithm (STA), which is the same as the robust term of the fuzzy adaptive M-SOSM controller. This is also to demonstrate anti-jamming robustness and online approximation performance. The model uncertainty selection for the attitude subsystem is:

Figure 976396DEST_PATH_IMAGE049
(26)
Figure 976396DEST_PATH_IMAGE049
(26)

如式 (27)所示,多频函数u(t)和正弦信号τ(t)分别作为变频参考信号和高频动态外部干扰。As shown in equation (27), the multi-frequency function u(t) and the sinusoidal signal τ(t) are used as the frequency conversion reference signal and the high-frequency dynamic external disturbance, respectively.

Figure 457055DEST_PATH_IMAGE050
(27)
Figure 457055DEST_PATH_IMAGE050
(27)

对比仿真中使用的参数如表2所示:The parameters used in the comparative simulation are shown in Table 2:

表2 姿态仿真过程中使用的控制参数Table 2 Control parameters used in the attitude simulation process

Figure 15076DEST_PATH_IMAGE052
Figure 15076DEST_PATH_IMAGE052

模糊隶属函数说明如下:The fuzzy membership function is explained as follows:

Figure 793545DEST_PATH_IMAGE053
(28)
Figure 793545DEST_PATH_IMAGE053
(28)

在选择隶属权值Wq时,发现在跟踪过程稳定之前,跟踪效果随初始值的增大而减小。但对跟踪收敛时间没有影响。这意味着在选择Wq的初始值时,应尽量选择较小的初始值。这里,当隶属权值取值为

Figure 753411DEST_PATH_IMAGE054
时,三个姿态角的跟踪效果和跟踪误差如图7-图9所示。从图中可以看出,采用改进的超扭曲算法可以有效地缓解高频干扰。此外,与M-SOSM和模糊M-SOSM相比,该控制器的跟踪误差减小很快,在0.5s内收敛到零。这意味着自适应律和模糊系统的引入大大提高了跟踪精度。通过与PID串级控制器和二阶滑模控制器的比较,说明了所设计的自适应控制策略只需在时间上(近0.6s)进行极小的调整,就可以达到令人满意的跟踪效果。另外,其他算法的跟踪误差分别在和[-0.7,0.4]、[-0.3,0.3]和[0,0.3]之间。对比仿真的均方根误差(RMSE)在表3中进行了定量总结。给出了这些结果,并与串级PID、M-SOSM和模糊M-SOSM进行了比较,所设计的控制器在姿态跟踪稳定性方面具有更快的收敛速度和稳定性。When selecting the membership weight Wq, it is found that the tracking effect decreases with the increase of the initial value before the tracking process is stable. But it has no effect on tracking convergence time. This means that when choosing the initial value of Wq, try to choose a small initial value. Here, when the membership weight value is
Figure 753411DEST_PATH_IMAGE054
, the tracking effects and tracking errors of the three attitude angles are shown in Figures 7-9. It can be seen from the figure that the use of the improved superdistortion algorithm can effectively alleviate the high frequency interference. Furthermore, compared with M-SOSM and fuzzy M-SOSM, the tracking error of this controller decreases rapidly, converging to zero within 0.5s. This means that the introduction of adaptive laws and fuzzy systems greatly improves the tracking accuracy. By comparing with the PID cascade controller and the second-order sliding mode controller, it shows that the designed adaptive control strategy can achieve satisfactory tracking with only a very small adjustment in time (near 0.6s). Effect. In addition, the tracking errors of other algorithms are between [-0.7, 0.4], [-0.3, 0.3] and [0, 0.3], respectively. The root mean square error (RMSE) of the comparative simulations is quantitatively summarized in Table 3. These results are given and compared with Cascade PID, M-SOSM and Fuzzy M-SOSM, the designed controller has faster convergence speed and stability in attitude tracking stability.

表3 跟踪性能的定量比较Table 3 Quantitative comparison of tracking performance

Figure 404972DEST_PATH_IMAGE056
Figure 404972DEST_PATH_IMAGE056

2.轨迹跟踪仿真2. Trajectory tracking simulation

通过轨迹跟踪仿真,验证了该控制策略的有效性和移动性。使用的物体轨迹是一个圆柱形螺旋,如式(29)所示,Through trajectory tracking simulation, the effectiveness and mobility of the control strategy are verified. The object trajectory used is a cylindrical spiral, as shown in Eq. (29),

Figure 184709DEST_PATH_IMAGE057
(29)
Figure 184709DEST_PATH_IMAGE057
(29)

仿真时间为20s,将四旋翼的初始位置坐标和姿态设定为[x,y,z]=[0 0 0];此外,[ϕ,θ,ψ]=[0 0 0]表示模型的不确定性。假设模型不确定部分如下:The simulation time is 20s, and the initial position coordinates and attitude of the quadrotor are set as [x, y, z]=[0 0 0]; in addition, [ϕ, θ, ψ]=[0 0 0] certainty. Suppose the uncertain part of the model is as follows:

Figure 579918DEST_PATH_IMAGE058
(30)
Figure 579918DEST_PATH_IMAGE058
(30)

在模拟中提出了两种形式的阵风:高频随机扰动(高频正弦信号)和多频随机扰动(方波信号)。跟踪模拟中使用的干扰包括以下两部分:Two forms of gusts are proposed in the simulations: high-frequency random disturbances (high-frequency sinusoidal signals) and multi-frequency random disturbances (square-wave signals). The interference used in the tracking simulation consists of the following two parts:

Figure DEST_PATH_IMAGE059
(31)
Figure DEST_PATH_IMAGE059
(31)

相关研究表明,参数cx不影响控制系统的稳定性,但与收敛时间有直接关系。如果参数cx过大,收敛速度过快会产生强烈的抖振;如果参数a太小,则收敛时间较长。因此,在这个模拟中,我们使用了经验值cx=5。高度和姿态控制器的模糊基向量为w=[0.1*one(75,1)]和w=[zeros(25,1)]。此外,由于测量噪声和导航误差等实际因素会在一定程度上影响控制性能,因此在随机噪声环境下进行了附加跟踪仿真,验证了所提出的控制策略的有效性。在该仿真中,对仿真时间、初始位置坐标、目标轨迹、模型不确定性、外部干扰等相关参数进行了分析,结果如图10-11所示。图10的随机噪声反映了在实际环境中模拟测量噪声和导航误差。参考一些文献对测量误差的处理,当忽略测量技术、人和仪器等因素时,测量误差的值和符号以不可预测的方式随机变化,服从正态分布。因此,在仿真中,我们选择高斯白噪声作为测量噪声,它服从0均值和0.05方差的正态分布。随机数发生器产生的噪声,采样周期为0.001s。图11展示了轨迹跟踪的结果。结果表明,尽管存在高斯随机噪声,控制系统仍具有稳定的跟踪性能,并能快速收敛跟踪圆柱螺旋轨迹。根据跟踪误差,四旋翼无人机对随机噪声和外部干扰的位置响应呈波动趋势,振幅非常小(有界于±0.1m),证明了所提出控制器对随机噪声的抑制效果。表4显示了x、y、z方向的置信指标,随机噪声为0.95置信度。Related research shows that the parameter cx does not affect the stability of the control system, but has a direct relationship with the convergence time. If the parameter cx is too large, the convergence speed is too fast and strong chattering will occur; if the parameter a is too small, the convergence time will be long. Therefore, in this simulation, we used the empirical value of cx=5. The fuzzy basis vectors for the altitude and attitude controllers are w=[0.1*one(75,1)] and w=[zeros(25,1)]. In addition, since practical factors such as measurement noise and navigation error will affect the control performance to a certain extent, additional tracking simulations are performed in a random noise environment to verify the effectiveness of the proposed control strategy. In this simulation, relevant parameters such as simulation time, initial position coordinates, target trajectory, model uncertainty, and external disturbance are analyzed, and the results are shown in Figure 10-11. The random noise in Figure 10 reflects simulated measurement noise and navigation errors in a real environment. Referring to the treatment of measurement error in some literatures, when factors such as measurement technology, people and instruments are ignored, the value and sign of measurement error change randomly in an unpredictable manner and obey a normal distribution. Therefore, in the simulation, we choose white Gaussian noise as the measurement noise, which follows a normal distribution with 0 mean and 0.05 variance. Noise generated by random number generator, sampling period is 0.001s. Figure 11 shows the results of trajectory tracking. The results show that despite the presence of Gaussian random noise, the control system still has stable tracking performance and can quickly converge to track the cylindrical helical trajectory. According to the tracking error, the positional response of the quadrotor UAV to random noise and external disturbance shows a fluctuating trend, and the amplitude is very small (bounded at ±0.1m), which proves the suppression effect of the proposed controller on random noise. Table 4 shows the confidence metrics in the x, y, and z directions, with a 0.95 confidence level for random noise.

表4 随机测量噪声下的置信水平 (95%)Table 4 Confidence level (95%) under random measurement noise

Figure 331973DEST_PATH_IMAGE061
Figure 331973DEST_PATH_IMAGE061

综上,针对四旋翼无人机在时变模型不确定性和外界干扰下的精确轨迹跟踪问题,在对四旋翼无人机运动学和动力学机理进行建模的基础上,对四旋翼无人机的内外环模型进行解耦,有效解决四旋翼无人机位置参数与姿态参数之间的耦合问题。首先,对于外环位置子系统的模型特征,开发了基于滑模控制算法的鲁棒控制器;通过在该控制器中引入一阶跟踪误差的积分,有效提高了系统对外界干扰的鲁棒跟踪性能。其次,对于内环姿态子系统,将模糊算法与滑模控制相结合,设计了基于改进STA算法的自适应模糊滑模控制器,在保证系统对外界干扰鲁棒性的同时,有效实现了参数的实时辨识和调整。最后,将这些子控制系统集成到一个统一的闭环系统中。在对位置子系统进行控制时,将姿态子系统控制切换引起的抖振视为外部干扰,引入一阶跟踪误差的积分,以提高对外部干扰的鲁棒性。在进行姿态控制时,将位置子系统控制切换引起的抖振视为外部干扰,引入模糊和超扭曲算法,保证系统对干扰的鲁棒性,以有效抑制控制切换引起的抖振。To sum up, in view of the accurate trajectory tracking problem of quadrotor UAV under the uncertainty of time-varying model and external interference, on the basis of modeling the kinematics and dynamic mechanism of quadrotor UAV, the quadrotor unmanned aerial vehicle has no problem. The inner and outer ring models of the human-machine are decoupled, which effectively solves the coupling problem between the position parameters and attitude parameters of the quadrotor UAV. Firstly, for the model characteristics of the outer loop position subsystem, a robust controller based on the sliding mode control algorithm is developed; by introducing the integration of the first-order tracking error into the controller, the robust tracking of the system to external disturbances is effectively improved performance. Secondly, for the attitude subsystem of the inner loop, an adaptive fuzzy sliding mode controller based on the improved STA algorithm is designed by combining the fuzzy algorithm with the sliding mode control. real-time identification and adjustment. Finally, these sub-control systems are integrated into a unified closed-loop system. When controlling the position subsystem, the chattering caused by the control switching of the attitude subsystem is regarded as the external disturbance, and the integral of the first-order tracking error is introduced to improve the robustness to the external disturbance. During attitude control, the chattering caused by the control switching of the position subsystem is regarded as an external disturbance, and fuzzy and super-distortion algorithms are introduced to ensure the robustness of the system to the disturbance, so as to effectively suppress the chattering caused by the control switching.

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. It should be regarded as the protection scope of the present invention.

Claims (4)

1. An online adaptive control method for a quad-rotor drone, comprising:
analyzing the nonlinear coupling characteristic of the model based on a mechanism model of the quad-rotor unmanned aerial vehicle, and introducing an intermediate variable to process the coupling problem of the model on two loops of position and attitude to obtain an outer loop position subsystem and an inner loop attitude subsystem;
for the outer ring position subsystem, designing a robust controller based on a sliding mode control algorithm according to a first-order tracking error, and introducing an exponential approximation law into the controller to serve as a robust item to realize the suppression of the outer ring control system on external disturbance;
designing a fuzzy compensation strategy aiming at model uncertainty for the inner ring attitude subsystem, and establishing a self-adaptive fuzzy sliding mode controller based on fuzzy compensation for real-time identification and online adjustment of model parameters;
and the stability of the model of the quad-rotor unmanned aerial vehicle is proved according to the analysis of the outer ring position subsystem and the inner ring attitude subsystem.
2. An online adaptive control method for a quad-rotor unmanned aerial vehicle according to claim 1, wherein the step 1 specifically comprises:
the dynamic equation of a quadrotor relative to an inertial coordinate system can be generally expressed as follows according to newton mechanics and newton-lagrange equation:
Figure 706312DEST_PATH_IMAGE001
(1)
decoupling the outer ring position subsystem by introducing two virtual variable sums;
Figure 930620DEST_PATH_IMAGE002
(2)
wherein,
Figure 992117DEST_PATH_IMAGE003
the model of the outer ring subsystem with the applied internal and external disturbances is:
Figure 276468DEST_PATH_IMAGE004
(3)
wherein,
Figure 688995DEST_PATH_IMAGE005
representing the internal uncertainty of the system in the three x, y and z directions,
Figure 716994DEST_PATH_IMAGE006
representing gusts in the actual environment, external disturbances caused by sudden change factors;
decoupling the inner ring attitude subsystem;
according to the model expression in equation (1), the equation for the inner ring attitude subsystem can be expressed as
Figure 960893DEST_PATH_IMAGE007
(4)
Wherein,
Figure 150566DEST_PATH_IMAGE008
3. an online adaptive control method for a quad-rotor drone according to claim 1, characterized in that said step 2 comprises in particular:
by introducing three virtual variables Ux, Uy and Uz, the translational motion equation can be simplified as:
Figure 50389DEST_PATH_IMAGE009
(5)
two state variables x are defined1,x2Equation (5) can be rewritten as the following state space form:
Figure 616499DEST_PATH_IMAGE010
(6)
wherein,𝑈𝑥 = 𝑈1(𝑐𝑜𝑠𝜙𝑠𝑖𝑛𝜃𝑐𝑜𝑠𝜓 + 𝑠𝑖𝑛𝜙𝑠𝑖𝑛𝜓) ,𝑥1 , 𝑥2respectively representing the speed and the acceleration in the x direction and used for describing the motion state of the system in the x direction𝑥Direction;
defining a virtual variable, and introducing a first-order tracking error,
Figure 918168DEST_PATH_IMAGE011
(7)
defining two error variables𝑒1𝑥, 𝑒2𝑥And is provided with
Figure 341059DEST_PATH_IMAGE012
(8)
Introducing slip form surfaces
Figure 728178DEST_PATH_IMAGE013
From equation (8), we obtain:
Figure 97979DEST_PATH_IMAGE014
(9)
the robustness of the position control system is improved by using an exponential approximation law:
Figure 988575DEST_PATH_IMAGE015
(10)
the control quantities are finally obtained as follows:
Figure 785630DEST_PATH_IMAGE016
defining Lyapunov functions
Figure 394466DEST_PATH_IMAGE017
And obtaining a derivative:
Figure 567958DEST_PATH_IMAGE018
(11)
when it is satisfied with
Figure 640956DEST_PATH_IMAGE019
So that, sliding surface s → 0, the position control subsystem is asymptotically stable;
the control quantities in the y and z directions can further be calculated:
Figure 608912DEST_PATH_IMAGE020
(12)。
4. an online adaptive control method for a quad-rotor drone according to claim 1, wherein said step 3 comprises:
the method comprises the steps of solving modeling deviation caused by an uncertain part in a mechanism model by using a fuzzy compensation model, establishing a self-adaptive fuzzy sliding mode controller based on fuzzy compensation for real-time identification and online adjustment of model parameters, inhibiting buffeting of a control system on a sliding mode surface by adopting an improved super-distortion algorithm, and realizing real-time identification of parameters of a closed-loop control system by integrating the fuzzy model and a robust sliding mode controller into a unified frame.
CN202110748953.6A 2021-07-02 2021-07-02 Online self-adaptive control method for quad-rotor unmanned aerial vehicle Pending CN113253617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110748953.6A CN113253617A (en) 2021-07-02 2021-07-02 Online self-adaptive control method for quad-rotor unmanned aerial vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110748953.6A CN113253617A (en) 2021-07-02 2021-07-02 Online self-adaptive control method for quad-rotor unmanned aerial vehicle

Publications (1)

Publication Number Publication Date
CN113253617A true CN113253617A (en) 2021-08-13

Family

ID=77190428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110748953.6A Pending CN113253617A (en) 2021-07-02 2021-07-02 Online self-adaptive control method for quad-rotor unmanned aerial vehicle

Country Status (1)

Country Link
CN (1) CN113253617A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721465A (en) * 2021-08-30 2021-11-30 东南大学 Plug-and-play unmanned aerial vehicle self-adaptive flight control system and method
CN114296471A (en) * 2021-11-17 2022-04-08 湖北航天飞行器研究所 Unmanned aerial vehicle accurate landing control method based on full-strapdown downward-looking camera
CN117908384A (en) * 2024-03-19 2024-04-19 南京航空航天大学 Adaptive sliding mode-based cascade control method and system for variant aircraft

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BOWEN XU 等: "An Online Adaptive Control Strategy for Trajectory Tracking of Quadrotors Based on Fuzzy Approximation and Robust Sliding Mode Algorithm", 《IEEE》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721465A (en) * 2021-08-30 2021-11-30 东南大学 Plug-and-play unmanned aerial vehicle self-adaptive flight control system and method
CN113721465B (en) * 2021-08-30 2023-10-31 东南大学 “Plug and play” UAV adaptive flight control system and method
CN114296471A (en) * 2021-11-17 2022-04-08 湖北航天飞行器研究所 Unmanned aerial vehicle accurate landing control method based on full-strapdown downward-looking camera
CN114296471B (en) * 2021-11-17 2024-05-24 湖北航天飞行器研究所 Unmanned aerial vehicle accurate landing control method based on full strapdown downward-looking camera
CN117908384A (en) * 2024-03-19 2024-04-19 南京航空航天大学 Adaptive sliding mode-based cascade control method and system for variant aircraft

Similar Documents

Publication Publication Date Title
He et al. A simple attitude control of quadrotor helicopter based on Ziegler‐Nichols rules for tuning PD parameters
Zulu et al. A review of control algorithms for autonomous quadrotors
Mohammadi et al. Adaptive nonlinear stabilization control for a quadrotor UAV: Theory, simulation and experimentation
Islam et al. Robust control of four-rotor unmanned aerial vehicle with disturbance uncertainty
CN111766889B (en) Four-rotor self-adaptive dynamic surface sliding mode controller based on output feedback
CN113759979B (en) Event-driven-based online track planning method for unmanned aerial vehicle hanging system
CN109521786A (en) Quadrotor drone Sliding Mode Attitude control method based on Proportional integral observer
CN113253617A (en) Online self-adaptive control method for quad-rotor unmanned aerial vehicle
CN108594837A (en) Model-free quadrotor UAV trajectory tracking controller and method based on PD-SMC and RISE
CN108638068B (en) A design method of a flying robot control system carrying a redundant manipulator
Cheng et al. Neural-networks control for hover to high-speed-level-flight transition of ducted fan uav with provable stability
CN107357166A (en) The model-free adaption robust control method of small-sized depopulated helicopter
Yacef et al. Adaptive fuzzy backstepping control for trajectory tracking of unmanned aerial quadrotor
Sartori et al. Design and development of a backstepping controller autopilot for fixed-wing UAVs
El Houm et al. Optimal new sliding mode controller combined with modified supertwisting algorithm for a perturbed quadrotor UAV
Lv et al. Finite-time control design for a coaxial tilt-rotor UAV
Brahim et al. Finite time adaptive SMC for UAV trajectory tracking under unknown disturbances and actuators constraints
Zhang et al. Position and attitude control based on single neuron pid with gravity compensation for quad rotor uav
Aruneshwaran et al. Neural adaptive flight controller for ducted-fan UAV performing nonlinear maneuver
Zhao et al. Smoothlander: A quadrotor landing control system with smooth trajectory guarantee based on reinforcement learning
Mlayeh et al. Stabilization of a quadrotor vehicle using PD and recursive nonlinear control techniques
Ma et al. Finite-time trajectory tracking control of quadrotor UAV via adaptive RBF neural network with lumped uncertainties
An et al. Adaptive state-constrained/model-free iterative sliding mode control for aerial robot trajectory tracking
CN117706936A (en) Adaptive adjustment control method of four-rotor unmanned aerial vehicle considering error constraint and unknown interference
CN116430884A (en) Unmanned aerial vehicle sliding mode attitude control method and system based on neural network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210813

RJ01 Rejection of invention patent application after publication
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载