CN114237266A - Flapping wing flight attitude control method based on L1 self-adaption - Google Patents
Flapping wing flight attitude control method based on L1 self-adaption Download PDFInfo
- Publication number
- CN114237266A CN114237266A CN202111256208.6A CN202111256208A CN114237266A CN 114237266 A CN114237266 A CN 114237266A CN 202111256208 A CN202111256208 A CN 202111256208A CN 114237266 A CN114237266 A CN 114237266A
- Authority
- CN
- China
- Prior art keywords
- flapping
- adaptive
- flapping wing
- coordinate system
- control
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000003044 adaptive effect Effects 0.000 claims abstract description 101
- 238000004088 simulation Methods 0.000 claims abstract description 36
- 239000011664 nicotinic acid Substances 0.000 claims abstract description 13
- 238000004364 calculation method Methods 0.000 claims abstract description 8
- 239000013598 vector Substances 0.000 claims description 33
- 238000013461 design Methods 0.000 claims description 19
- 230000014509 gene expression Effects 0.000 claims description 13
- 230000004044 response Effects 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 12
- 239000011159 matrix material Substances 0.000 claims description 11
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 230000008859 change Effects 0.000 claims description 8
- 230000001052 transient effect Effects 0.000 claims description 8
- 230000001133 acceleration Effects 0.000 claims description 7
- 206010034719 Personality change Diseases 0.000 claims description 6
- 238000010276 construction Methods 0.000 claims description 6
- 230000009466 transformation Effects 0.000 claims description 6
- 230000006641 stabilisation Effects 0.000 claims description 3
- 238000011105 stabilization Methods 0.000 claims description 3
- 238000009795 derivation Methods 0.000 claims description 2
- 238000001914 filtration Methods 0.000 claims description 2
- 239000000203 mixture Substances 0.000 claims description 2
- 230000010355 oscillation Effects 0.000 claims description 2
- 239000013643 reference control Substances 0.000 claims description 2
- RZVHIXYEVGDQDX-UHFFFAOYSA-N 9,10-anthraquinone Chemical compound C1=CC=C2C(=O)C3=CC=CC=C3C(=O)C2=C1 RZVHIXYEVGDQDX-UHFFFAOYSA-N 0.000 description 25
- 238000010586 diagram Methods 0.000 description 16
- 238000004422 calculation algorithm Methods 0.000 description 8
- 238000012706 support-vector machine Methods 0.000 description 7
- 238000005457 optimization Methods 0.000 description 4
- 238000002790 cross-validation Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000012067 mathematical method Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000000342 Monte Carlo simulation Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 238000011217 control strategy Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 230000033228 biological regulation Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000003562 lightweight material Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
- 238000002054 transplantation Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/08—Control of attitude, i.e. control of roll, pitch, or yaw
- G05D1/0808—Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft
- G05D1/0816—Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft to ensure stability
- G05D1/0825—Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft to ensure stability using mathematical models
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/10—Simultaneous control of position or course in three dimensions
- G05D1/101—Simultaneous control of position or course in three dimensions specially adapted for aircraft
- G05D1/106—Change initiated in response to external conditions, e.g. avoidance of elevated terrain or of no-fly zones
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Remote Sensing (AREA)
- Radar, Positioning & Navigation (AREA)
- Aviation & Aerospace Engineering (AREA)
- Algebra (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Toys (AREA)
Abstract
Description
技术领域technical field
本发明是一种基于L1自适应的扑翼飞行姿态控制方法,属于无人飞行器控制领域。The invention is a flapping-wing attitude control method based on L1 self-adaptation, and belongs to the field of unmanned aerial vehicle control.
背景技术Background technique
扑翼飞行控制是一种典型的高阶不确定非线性控制问题,扑翼飞行器依靠机翼快速扑动产生飞行所需动力,飞行器本身需要采用柔性轻质材料以提升飞行效率,但是柔性轻质机身容易受到外力干扰,造成飞行不稳定。同时,扑翼飞行时机翼快速扑动会造成系统整体产生较大的振动,自身振动及外力扰动会造成传感器及执行机构性能下降,运动参数测量误差增大。因此,针对扑翼飞行器的姿态控制需要与扑翼飞行自身飞行特点相匹配的控制算法来实现其系统稳定。Flapping-wing flight control is a typical high-order uncertain nonlinear control problem. A flapping-wing aircraft relies on the rapid flapping of the wings to generate the power required for flight. The aircraft itself needs to use flexible and lightweight materials to improve flight efficiency. The fuselage is easily disturbed by external forces, resulting in unstable flight. At the same time, the rapid flapping of the wing during flapping flight will cause a large vibration of the whole system. Self-vibration and external force disturbance will cause the performance of the sensor and the actuator to decrease, and the measurement error of the motion parameter will increase. Therefore, the attitude control of the flapping-wing aircraft requires a control algorithm that matches the flight characteristics of the flapping-wing aircraft to achieve its system stability.
传统的固定翼及旋翼的飞行控制算法无法满足扑翼飞行的控制要求,为解决扑翼这种非线性非定常的飞行控制难题,国内外许多学者对其展开研究,大体的思路是以现有的传统控制方法为基础,引入滑模、模糊等控制理论与之结合应用到扑翼的飞行控制当中。Traditional fixed-wing and rotary-wing flight control algorithms cannot meet the control requirements of flapping-wing flight. In order to solve the nonlinear and unsteady flight control problem of flapping-wing, many scholars at home and abroad have carried out research on it. On the basis of the traditional control method, the sliding mode, fuzzy and other control theories are introduced and applied to the flight control of flapping wings.
现有技术中采用以下几种控制方法:The following control methods are adopted in the prior art:
一、利用基于广义混合灵敏度阶梯设计方法进行扑翼飞行器的建模与控制,由于扑翼产生的升力具有一定的周期性,采用平均理论将非线性时变模型转换为非线性时不变模型,然后将模型在不同飞行条件下线性化,提出一种基于凸优化的新型H-infinity控制方法,处理多种可能相互冲突的控制参数(如系统的输入输出的频率和时域闭环特性)。1. Use the generalized mixed sensitivity ladder design method to model and control the flapping wing aircraft. Since the lift generated by the flapping wing has a certain periodicity, the average theory is used to convert the nonlinear time-varying model into a nonlinear time-invariant model. The model is then linearized under different flight conditions, and a novel H-infinity control method based on convex optimization is proposed to deal with multiple possibly conflicting control parameters (such as the frequency and time-domain closed-loop characteristics of the system's input and output).
二、一种非线性控制策略,使用基于差分平面控制器模拟扑翼在俯仰平面的控制,同时飞行圆形轨迹并保持相对地平线的恒定方向。Second, a nonlinear control strategy that uses a differential plane controller to simulate the control of flapping wings in the pitch plane, while flying a circular trajectory and maintaining a constant orientation relative to the horizon.
三、采用滑模控制方法验证两种不同类型的滑模控制策略在扑翼受到外界风力干扰及机翼损坏时能够维持扑翼俯仰平面悬停时的有效性。3. The sliding mode control method is used to verify the effectiveness of two different types of sliding mode control strategies in maintaining the flapping-wing pitch plane when it is disturbed by external wind and damaged.
四、扑翼飞行器纵向控制方法,以常规飞行器控制模型为基础,引入机翼惯性对系统模型的影响,采用振动和反馈控制相结合对扑翼纵向动力学方程进行控制。4. The longitudinal control method of flapping-wing aircraft is based on the control model of conventional aircraft, introduces the influence of wing inertia on the system model, and adopts the combination of vibration and feedback control to control the longitudinal dynamic equation of flapping-wing.
五、建立了三种非线性扑翼飞行控制模型,模型的复杂程度不断提高。第一种模型只包含了刚体动力学而忽略的机翼动力学,第二种模型包含了刚体动力学与机翼动力学,第三种模型包含了完整的刚体和刚性机翼动力学。同时为提高模型的精确度,采用线性二次调节(LQR)作为主控系统的设计方法,结合非线性参数优化算法,给出了扑翼飞行控制算法。5. Three nonlinear flapping-wing flight control models are established, and the complexity of the models continues to increase. The first model includes only rigid body dynamics and ignores wing dynamics, the second model includes rigid body dynamics and wing dynamics, and the third model includes full rigid body and rigid wing dynamics. At the same time, in order to improve the accuracy of the model, the linear quadratic regulation (LQR) is used as the design method of the main control system, combined with the nonlinear parameter optimization algorithm, the flapping flight control algorithm is given.
上述针对扑翼的飞行控制方法大多仅在一个维度上解决扑翼飞行的姿态控制问题,并没有根据外界环境的变化来适时的调整飞行姿态,建立的动力学模型也没有考虑外界风扰和自身振动的问题。Most of the above flight control methods for flapping wing only solve the attitude control problem of flapping flight in one dimension, and do not adjust the flight attitude in time according to the changes of the external environment, and the established dynamic model does not consider the external wind disturbance and itself. Vibration problem.
发明内容SUMMARY OF THE INVENTION
本发明要解决的技术问题是针对以上不足,提供一种基于L1自适应的扑翼飞行姿态控制方法,将L1自适应控制方法应用的扑翼飞行姿态控制中,结建立的扑翼动力学模型,搭建扑翼飞行姿态控制系统,自适应控制根据控制律调整参数估计,保证状态预测器与被控对象输出误差在李雅普诺夫意义下稳定,并由此得到控制律。根据调整后的参数和预定的控制信号,按照控制律调整控制量。当自适应增益足够大时,通过数学方法证明系统具有较好的暂态响应特性。同时为了检验控制系统的鲁棒性,增加了参数不确定性。采用结合蒙特卡洛- 支持向量机方法对飞控控制参量边界优化,获得了符合扑翼飞行器控制预期的控制参量并进行分类判断,能够为后续基于L1AC的扑翼飞控算法向嵌入式系统移植及进一步开发提供理论基础。The technical problem to be solved by the present invention is to aim at the above deficiencies, and to provide a flapping-wing attitude control method based on L1 self-adaptation. , build a flapping-wing flight attitude control system, and the adaptive control adjusts the parameter estimation according to the control law to ensure that the output error between the state predictor and the controlled object is stable in the sense of Lyapunov, and the control law is obtained from this. According to the adjusted parameters and the predetermined control signal, the control amount is adjusted according to the control law. When the adaptive gain is large enough, it is proved by mathematical method that the system has better transient response characteristics. At the same time, in order to test the robustness of the control system, parameter uncertainty is increased. The boundary of flight control control parameters is optimized by combining the Monte Carlo-Support Vector Machine method, and the control parameters that meet the control expectations of the flapping aircraft are obtained and classified and judged, which can be transplanted to the embedded system for the subsequent L1AC-based flapping flight control algorithm. and provide a theoretical basis for further development.
为解决以上技术问题,本发明采用以下技术方案:In order to solve the above technical problems, the present invention adopts the following technical solutions:
一种基于L1自适应的扑翼飞行姿态控制方法,包括以下步骤:A flapping flight attitude control method based on L1 adaptation, comprising the following steps:
步骤一,建立扑翼飞行运动模型;
步骤二,构建L1AC自适应控制器;
步骤三,仿生扑翼飞行L1自适应控制,对搭建的实际扑翼飞行动力学模型进行验证;Step 3: L1 adaptive control of bionic flapping-wing flight to verify the built actual flapping-wing flight dynamics model;
步骤四,仿真分析与计算,将实际的的扑翼飞行器参数输入到控制模型当中,验证构建的L1AC自适应控制器在平台应用中的有效性。
进一步的,所述建立扑翼飞行运动模型的具体步骤如下:Further, the concrete steps of establishing the flapping flight motion model are as follows:
步骤1,建立扑翼质心运动的动力学方程;
步骤2,建立扑翼绕质心转动的动力学方程;
步骤3,建立扑翼质心运动的运动学方程;
步骤4,建立扑翼质心转动的运动学方程;
步骤5,建立扑翼飞行系统动力模型。
进一步的,所述L1AC自适应控制器包括被控对象、状态预测器、自适应律和控制律,控制律添加了一个低通滤波器D(s),将控制律和自适应律分离,且只允许低频信号进入系统。Further, the L1AC adaptive controller includes a controlled object, a state predictor, an adaptive law and a control law, and a low-pass filter D(s) is added to the control law to separate the control law and the adaptive law, and Only low frequency signals are allowed into the system.
进一步的,所述L1AC自适应控制器的构建具体包括以下步骤Further, the construction of the L1AC adaptive controller specifically includes the following steps
步骤1,构建状态预测器;
步骤2,构建自适应律;
步骤3,构建控制律。
本发明采用以上技术方案,与现有技术相比,具有如下技术效果:The present invention adopts the above technical scheme, compared with the prior art, has the following technical effects:
将L1自适应控制方法应用的扑翼飞行姿态控制中,结建立的扑翼动力学模型,搭建扑翼飞行姿态控制系统,自适应控制根据控制律调整参数估计,保证状态预测器与被控对象输出误差在李雅普诺夫意义下稳定,并由此得到控制律。根据调整后的参数和预定的控制信号,按照控制律调整控制量。当自适应增益足够大时,通过数学方法证明系统具有较好的暂态响应特性。同时为了检验控制系统的鲁棒性,增加了参数不确定性。采用结合蒙特卡洛-支持向量机方法对飞控控制参量边界优化,获得了符合扑翼飞行器控制预期的控制参量并进行分类判断,能够为后续基于L1AC的扑翼飞控算法向嵌入式系统移植及进一步开发提供理论基础。Apply the L1 adaptive control method to the flapping-wing attitude control, combine the established flapping-wing dynamics model, and build a flapping-wing attitude control system. The adaptive control adjusts the parameter estimation according to the control law to ensure the state predictor and the controlled object. The output error is stable in the Lyapunov sense, and thus the control law is obtained. According to the adjusted parameters and the predetermined control signal, the control amount is adjusted according to the control law. When the adaptive gain is large enough, it is proved by mathematical method that the system has better transient response characteristics. At the same time, in order to test the robustness of the control system, parameter uncertainty is increased. The boundary of the flight control control parameters is optimized by combining the Monte Carlo-Support Vector Machine method, and the control parameters that meet the control expectations of the flapping aircraft are obtained and classified and judged, which can be transplanted to the embedded system for the subsequent L1AC-based flapping flight control algorithm. and provide a theoretical basis for further development.
附图说明Description of drawings
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍。在所有附图中,类似的元件或部分一般由类似的附图标记标识。附图中,各元件或部分并不一定按照实际的比例绘制。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are required to be used in the description of the specific embodiments or the prior art. Similar elements or parts are generally identified by similar reference numerals throughout the drawings. In the drawings, each element or section is not necessarily drawn to actual scale.
图1为本发明中扑翼飞行坐标系定义图;Fig. 1 is the definition diagram of flapping flight coordinate system in the present invention;
图2为本发明中机翼与机身的位置关系图;Fig. 2 is the positional relationship diagram of the wing and the fuselage in the present invention;
图3为本发明中机身所受作用力图;FIG. 3 is a diagram of the force acting on the fuselage in the present invention;
图4为本发明中L1AC自适应控制器的结构框图;Fig. 4 is the structural block diagram of L1AC adaptive controller in the present invention;
图5为本发明中L1AC自适应控制器结构图;5 is a structural diagram of an L1AC adaptive controller in the present invention;
图6为本发明中L1AC自适应控制器仿真框图;Fig. 6 is the simulation block diagram of L1AC adaptive controller in the present invention;
图7为本发明中未知参数不同时L1自适应控制器控制输出跟踪结果曲线图;Fig. 7 is the curve diagram of L1 adaptive controller control output tracking result when unknown parameters are different in the present invention;
图8为本发明中未知参数不同时控制量响应曲线图;Fig. 8 is a control variable response curve diagram when unknown parameters are different in the present invention;
图9为本发明中不同干扰信号时L1控制器控制输出跟踪结果曲线图;Fig. 9 is the curve diagram of L1 controller control output tracking result when different interference signals in the present invention;
图10为本发明中不同干扰信号时控制量变化曲线图;Fig. 10 is the change curve diagram of control amount when different interference signals in the present invention;
图11为本发明中不同干扰信号时估计误差变化曲线图;FIG. 11 is a graph showing the variation curve of estimation error when different interference signals in the present invention;
图12为本发明中扑翼飞行姿态控制系统原理图;12 is a schematic diagram of the flapping-wing attitude control system in the present invention;
图13为本发明中扑翼飞行L1自适应姿态控制系统框图;13 is a block diagram of the L1 adaptive attitude control system for flapping wing flight in the present invention;
图14为本发明中扑翼姿态控制系统仿真流程图;Fig. 14 is the simulation flow chart of flapping attitude control system in the present invention;
图15为本发明中扑翼飞行姿态角响应曲线图;Fig. 15 is the response curve diagram of flapping flight attitude angle in the present invention;
图16为本发明中基于蒙特卡洛-支持向量机输入控制参量分类预测图;16 is a classification prediction diagram of input control parameters based on Monte Carlo-Support Vector Machine in the present invention;
图17为本发明中目标函数模型图;Fig. 17 is the objective function model diagram in the present invention;
图18为本发明中正负样本及超平面图。FIG. 18 is a diagram of positive and negative samples and a hyperplane in the present invention.
具体实施方式Detailed ways
实施例1,一种基于L1自适应的扑翼飞行姿态控制方法,包括以下步骤:
步骤一,建立扑翼飞行运动模型。The first step is to establish a flapping flight motion model.
扑翼飞行运动模型的具体介绍如下:The specific introduction of the flapping flight motion model is as follows:
1、扑翼飞行运动模型坐标系定义1. Definition of the coordinate system of the flapping flight motion model
扑翼仿生弹药模仿鸟类通过扑翼扑动产生飞行所需动力,为建立扑翼飞行运动模型,需要定义一套扑翼飞行运动过程的坐标系统。扑翼飞行过程中,由于扑翼上下扑动过程中会引起飞行系统整体的质心和惯性矩的改变,此时扑翼飞行时系统的质心位置和惯性矩均为时变函数。因此,需要分别描述扑翼飞行系统各环节部分的运动方程。描述系统运动模型时,将各部件的运动参量通过坐标转换到同一坐标系统下进行描述。为此,根据扑翼仿生弹药的飞行需要分别建立:地面坐标系、航迹坐标系、速度坐标系、机身坐标系和机翼坐标系,如图1所示。The flapping-wing bionic ammunition imitates birds to generate the power required for flight by flapping their wings. In order to establish a flapping-wing flight motion model, it is necessary to define a set of coordinate systems for the process of flapping-wing flight motion. During the flapping flight, the center of mass and inertia moment of the entire flight system will change due to the flapping up and down. Therefore, it is necessary to describe the motion equations of each link part of the flapping-wing flight system separately. When describing the system motion model, the motion parameters of each component are described in the same coordinate system through coordinate transformation. To this end, according to the flight requirements of flapping-wing bionic ammunition, the following are established respectively: ground coordinate system, track coordinate system, velocity coordinate system, fuselage coordinate system and wing coordinate system, as shown in Figure 1.
(1)地面坐标系(1) Ground coordinate system
系统地面坐标系OXeYeZe,其坐标原点固连在地球表面,OXe轴为扑翼飞行时航迹面与水平面的交线,指向飞行方向为正;OYe轴垂直于OXe轴,指向上方为正;OZe轴垂直于两轴并符合右手定则。The system ground coordinate system OX e Y e Z e , whose coordinate origin is fixed on the surface of the earth, the OX e axis is the intersection of the track plane and the horizontal plane during flapping flight, and the flying direction is positive; the OY e axis is perpendicular to the OX e Axis, pointing upward is positive; OZ e -axis is perpendicular to the two axes and conforms to the right-hand rule.
(2)机身坐标系(2) Fuselage coordinate system
机身坐标系oxayaza原点o取在机身的质心上,oxb轴与机身轴线平行,由机身尾部指向头部为正;oyb轴位于机身纵向对称面内与oxb轴垂直,指向上方为正;ozb轴垂直于oxbzb平面,方向按右手坐标系确定。The origin o of the fuselage coordinate system ox a y a z a is taken on the center of mass of the fuselage, the ox b axis is parallel to the fuselage axis, and the direction from the tail of the fuselage to the head is positive; the oy b axis is located in the longitudinal symmetry plane of the fuselage and The ox b axis is vertical, pointing upward is positive; the oz b axis is perpendicular to the ox b z b plane, and the direction is determined by the right-hand coordinate system.
(3)速度坐标系(3) Speed coordinate system
速度坐标系oxayaza,原点位于扑翼飞行平台质心,oxa轴线沿飞行速度矢量方向,oya轴位于机体纵向平面内,垂直于oxa轴,指向上方为正,oza轴与其余两轴垂直并符合右手定则。The velocity coordinate system ox a y a za , the origin is located at the center of mass of the flapping-wing flight platform, the ox a axis is along the direction of the flight speed vector, the oy a axis is located in the longitudinal plane of the body, perpendicular to the ox a axis, pointing upward is positive, the oz a axis It is perpendicular to the other two axes and obeys the right-hand rule.
(4)航迹坐标系(4) Track coordinate system
航迹坐标系oxkykzk,原点固连与扑翼飞行平台的瞬时质心,oxk轴与飞行器的地速矢量方向重合,oyk轴位于包含oxk轴的垂直平面内,并垂直oxk轴,指向上方为正,ozk轴与其余两轴垂直符合右手定则。在航迹坐标系中,建立扑翼飞行时的质心运动方程相对简单。因此在后续建立扑翼质心运动方程时,扑翼的各个参量均转换到航迹坐标系。The track coordinate system ox k y k z k , the origin is fixed to the instantaneous center of mass of the flapping flight platform, the ox k axis coincides with the ground speed vector direction of the aircraft, the oy k axis is located in the vertical plane containing the ox k axis, and is perpendicular to the The ox k -axis is positive pointing upward, and the oz k -axis is perpendicular to the other two axes in accordance with the right-hand rule. In the track coordinate system, it is relatively simple to establish the motion equation of the center of mass during flapping flight. Therefore, when establishing the motion equation of the center of mass of the flapping wing, each parameter of the flapping wing is converted to the track coordinate system.
(5)机翼坐标系(5) Wing coordinate system
机翼坐标系oxwywzw原点ow固连在机翼与机身连接处,owxw轴与机翼的弦向方向平行,由机翼后缘指向机翼前缘为正;owyw轴与翼面垂直,指向上方为正;owzw轴与其余两轴线垂直并符合右手定则。本专利的扑翼飞行平台能够实现上下扑动与弦向扭转运动,当机翼不扭转时其机翼翼弦与机身轴线平行。The origin of the wing coordinate system ox w y w z w o w is fixed at the connection between the wing and the fuselage, and the o w x w axis is parallel to the chordwise direction of the wing, and it is positive from the trailing edge of the wing to the leading edge of the wing. ; o w y w axis is perpendicular to the airfoil, pointing upward is positive; o w z w axis is perpendicular to the other two axes and conforms to the right-hand rule. The flapping flight platform of this patent can realize up and down flapping and chordwise twisting motion. When the wing does not twist, its wing chord is parallel to the fuselage axis.
2、扑翼仿生弹药坐标系间的转换2. Conversion between coordinate systems of flapping-wing bionic ammunition
扑翼飞行过程中,地面坐标系、速度坐标系、航迹坐标系、机身坐标系和机翼坐标系在空间中有各自的指向,它们之间也存在着一定的关系,作用在机身和机翼上的力和力矩及其相应的运动参数一般情况下均是在各自独立的坐标系下定义的,为准确描述扑翼飞行时的运动及动力学模型,需要把各部件下的运动参量由所定义的坐标系转换到同一坐标系上,这需要进行各坐标系的转换。During flapping flight, the ground coordinate system, speed coordinate system, track coordinate system, fuselage coordinate system and wing coordinate system have their own directions in space, and there is a certain relationship between them, which acts on the fuselage. The forces and moments on the wings and their corresponding motion parameters are generally defined in their independent coordinate systems. In order to accurately describe the motion and dynamic model of flapping wing flight, it is necessary to The parameters are converted from the defined coordinate system to the same coordinate system, which requires the conversion of each coordinate system.
2.2地面坐标系与航迹坐标系之间的转换关系2.2 Conversion relationship between ground coordinate system and track coordinate system
地面坐标系与航迹坐标系之间的关系可以用两个欧拉角表示:航迹偏角Ψ和航迹倾角Θ,两个欧拉角度的定义如下:The relationship between the ground coordinate system and the track coordinate system can be represented by two Euler angles: the track declination angle Ψ and the track inclination angle Θ. The two Euler angles are defined as follows:
航迹偏角Ψ:扑翼飞行的速度矢量,即航迹坐标系下oxa轴与地面坐标系的OXe之间的夹角。oxa轴在水平面上方,则Ψ为正;反之为负。Track declination Ψ: The velocity vector of flapping flight, that is, the angle between the ox a axis in the track coordinate system and the OX e in the ground coordinate system. If the ox a axis is above the horizontal plane, then Ψ is positive; otherwise, it is negative.
航迹倾角Θ:扑翼机身的速度矢量与OXeYe面之间的夹角。当机身速度的头像在OZe轴的正方向时,航迹倾角为正;反之为负。Track inclination Θ: The angle between the velocity vector of the flapping fuselage and the OX e Y e surface. When the head of the fuselage speed is in the positive direction of the OZ e -axis, the track inclination is positive; otherwise, it is negative.
2.3速度坐标系与机身坐标系之间的转换关系2.3 Conversion relationship between velocity coordinate system and fuselage coordinate system
由于速度坐标系的oya与机身坐标系的oyb轴处均在机身的纵向对称面内,因此速度坐标系与机身坐标系之间可以用两个欧拉角表示:攻角α和侧滑角β,这两个角度的定义为:Since the oy a of the velocity coordinate system and the oy b axis of the fuselage coordinate system are both in the longitudinal symmetry plane of the fuselage, two Euler angles can be used between the velocity coordinate system and the fuselage coordinate system: the angle of attack α and the sideslip angle β, which are defined as:
攻角α:机身速度矢量在机身纵向对称面oxbyb的投影与oxb轴之间的夹角。若速度矢量投影在oyb轴的负方向,则攻角为正;反之为负。Angle of attack α: the angle between the projection of the fuselage velocity vector on the longitudinal symmetry plane ox b y b of the fuselage and the ox b axis. If the velocity vector is projected in the negative direction of the oy b axis, the angle of attack is positive; otherwise, it is negative.
侧滑角β:机身速度矢量与机身纵向对称面oxbyb之间的夹角。若速度矢量投影在ozb轴的正方向,则侧滑角为正。Side slip angle β: the angle between the fuselage velocity vector and the fuselage longitudinal symmetry plane ox b y b . If the velocity vector is projected in the positive direction of the oz b axis, the sideslip angle is positive.
2.4航迹坐标系与速度坐标系之间的转换关系2.4 Conversion relationship between track coordinate system and speed coordinate system
无风条件下,航迹坐标系的oxk轴与速度坐标系的oxa重合,且航迹坐标系与机身的速度矢量重合,因此描述航迹坐标系与速度坐标系之间的转换关系只有一个速度滚转角γa。Under no wind conditions, the ox k axis of the track coordinate system coincides with the ox a of the speed coordinate system, and the track coordinate system coincides with the speed vector of the fuselage, so the conversion relationship between the track coordinate system and the speed coordinate system is described. There is only one velocity roll angle γ a .
速度滚转角γa:速度坐标系中oya轴与航迹坐标系内oxkyk之间的夹角。从与飞行速度方向相同的方向看,若机身纵向对称面向右倾斜,则速度滚转角γa为正;反之为负。根据与上述相同的推导方法,可以得到航迹坐标系到速度坐标系的转换矩阵为:Speed roll angle γ a : the angle between the oy a axis in the speed coordinate system and the ox k y k in the track coordinate system. Viewed from the same direction as the flight speed direction, if the longitudinal symmetry plane of the fuselage is inclined to the right, the speed roll angle γ a is positive; otherwise, it is negative. According to the same derivation method as above, the transformation matrix from the track coordinate system to the velocity coordinate system can be obtained as:
2.5机身坐标系与机翼坐标系之间的转换关系2.5 Conversion relationship between the fuselage coordinate system and the wing coordinate system
机翼的运动是时变且独立的,本文设计的扑翼飞行平台机翼能够实现上下扑动和弦向扭转运动。因此在机翼坐标系下,可以用机翼的扑动幅值角φ、扭转角度Φ来描述机翼与机身之间的关系,如图2所示。The motion of the wing is time-varying and independent. The wing of the flapping flight platform designed in this paper can realize the up and down flapping and chordwise twisting motion. Therefore, in the wing coordinate system, the relationship between the wing and the fuselage can be described by the flapping amplitude angle φ and the twist angle Φ of the wing, as shown in Figure 2.
扑动幅值角φ:机翼oyw轴线与机身oxbyb平面之间的夹角,轴线oyw在平面的上方,则φ为正,在oyw在平面的下方,则φ为负。Flutter amplitude angle φ: the angle between the wing oy w axis and the fuselage ox b y b plane, the axis oy w is above the plane, then φ is positive, and when oy w is below the plane, then φ is burden.
扭转角度Φ:oxw轴与机身平面oxbyb之间的夹角,若oxw轴线在oxbyb平面的上方,则Φ为正,在oxbyb平面的下方,则Φ为负。Torsion angle Φ: the angle between the ox w axis and the fuselage plane ox b y b , if the ox w axis is above the ox b y b plane, then Φ is positive, and below the ox b y b plane, then Φ is negative.
3、扑翼空气动力参数分析3. Analysis of aerodynamic parameters of flapping wings
建立扑翼飞行的运动学与动力学数学模型之前,需要对扑翼飞行时作用在机身和机翼上的力进行分析。由于扑翼是一种复杂的多输入多输出的非线性系统,其飞行过程中受外界和自身扰动因素较多。因此,本文在对扑翼进行空气动力分析时,需要对仿生扑翼模型做出了一些限定。Before establishing the kinematics and dynamics mathematical model of flapping flight, it is necessary to analyze the forces acting on the fuselage and wing during flapping flight. Since the flapping wing is a complex nonlinear system with multiple inputs and multiple outputs, it is subject to many external and self-disturbing factors during its flight. Therefore, in the aerodynamic analysis of the flapping wing, some limitations need to be made on the bionic flapping wing model.
(1)仿生扑翼系统各组成部分的质量特性与运动特性均为可测且恒定的。(1) The mass characteristics and motion characteristics of each component of the bionic flapping wing system are measurable and constant.
(2)两侧机翼均绕机身轴线做对称扑动,且扑动速度为恒定。(2) The wings on both sides flap symmetrically around the fuselage axis, and the flapping speed is constant.
(3)不考虑扑动时机翼质量所引起的系统重心和惯性矩与惯性积的改变。(3) The change of the system center of gravity, moment of inertia and product of inertia caused by the mass of the wing during flapping is not considered.
(4)系统为刚性,不发生柔性变形且质量分布均匀。(4) The system is rigid, with no flexible deformation and uniform mass distribution.
扑翼飞行系统整体可以分为机身、机翼两部分。机翼是飞行所需升力的主要动力来源,而机身产生一部分升力和承受空气阻力。因此在对扑翼系统进行空气动力参数分析时,也按这两个部分进行。The flapping flight system can be divided into two parts: the fuselage and the wing. The wing is the main source of power for the lift required for flight, while the fuselage generates a portion of the lift and withstands air resistance. Therefore, when analyzing the aerodynamic parameters of the flapping wing system, it is also carried out according to these two parts.
3.1机身受力及力矩分析3.1 Analysis of the force and moment of the fuselage
扑翼飞行时,机身所受的外部力主要有三个:重力G、外部气动力Q和机翼扑动作用在机身上的力T,如图3所示。During flapping flight, there are three main external forces on the fuselage: gravity G, external aerodynamic force Q and force T acting on the fuselage by the flapping of the wings, as shown in Figure 3.
3.2机翼空气动力参数确定3.2 Determination of wing aerodynamic parameters
扑翼飞行过程中,外界阵风及扑翼拍动过程中的气流扰动会影响扑翼飞行时的稳定性。因此在进行扑翼飞行姿态控制时,需要考虑外界干扰力对扑翼产生的力矩对姿态的影响。设外界干扰力产生的力矩用MG,沿机体坐标系的各个分量可以表示为:MGx、MGy、MGz,则根据上述分离,则机体的上的总力矩为:During the flapping flight, the external gust and the airflow disturbance during the flapping process will affect the stability of the flapping flight. Therefore, in the attitude control of flapping wing flight, it is necessary to consider the influence of external disturbance force on the attitude of the moment generated by the flapping wing. Assuming that the moment generated by the external disturbance force is MG, the components along the body coordinate system can be expressed as: MGx, MGy, MGz , then according to the above separation, the total moment on the body is:
式中,In the formula,
建立扑翼飞行运动模型具体包括以下步骤:The establishment of the flapping flight motion model includes the following steps:
步骤1,建立扑翼质心运动的动力学方程。
建立扑翼飞行质心运动的动力学模型时,参考系的选取直接影响到所建立的扑翼质心运动方程的繁简程度。通过扑翼质心运动的动力学问题时,建立的扑翼飞行力学矢量方程投影到航迹坐标系oxkykzk中,得到相应的动力学方程。When establishing the dynamic model of the center of mass motion of the flapping wing, the selection of the reference frame directly affects the complexity of the equation of motion of the center of mass of the flapping wing. Through the dynamic problem of flapping-wing mass center motion, the established flapping-wing flight mechanics vector equation is projected into the track coordinate system ox k y k z k , and the corresponding dynamic equation is obtained.
航迹坐标系oxkykzk为动坐标系,它相对地面坐标系既有位移运动(其速度为V),又有转动运动(其角速度为Ω)。在动坐标系中建立动力学方程,扑翼飞行时的绝对速度与其牵连速度之间的关系为:The track coordinate system ox k y k z k is a moving coordinate system, which has both displacement motion (its velocity is V) and rotational motion (its angular velocity is Ω) relative to the ground coordinate system. The dynamic equation is established in the moving coordinate system, and the relationship between the absolute speed during flapping flight and its implicated speed is:
其中,为速度矢量V在地面坐标系中的绝对导数,为速度矢量在航迹坐标系中的相对导数。in, is the absolute derivative of the velocity vector V in the ground coordinate system, is the relative derivative of the velocity vector in the track coordinate system.
扑翼飞行时质心运动方程可以表示为:The equation of motion of the center of mass in flapping flight can be expressed as:
式中,各矢量在航迹坐标系oxkykzk各轴上的投影可以写成:In the formula, the projection of each vector on each axis of the track coordinate system oxkykzk can be written as:
根据航迹坐标系oxkykzk中的定义,速度矢量V与航迹坐标系中oxa轴重合,故速度矢量在航迹坐标系中的投影分量可以写成:According to the definition in the track coordinate system ox k y k z k , the velocity vector V coincides with the ox a axis in the track coordinate system, so the projected component of the velocity vector in the track coordinate system can be written as:
根据式(1.49)~(1.50),可以得到:According to formula (1.49)~(1.50), we can get:
Ω×V=[0 VΩza -VΩya]T (1.53)。Ω×V=[0 VΩ za −VΩ ya ] T (1.53).
由地面坐标系准换到航迹坐标系需要经过两次旋转,两次旋转的角速度分别为则航迹坐标系相对地面坐标系的旋转角速度为两次旋转的角速度合成。根据两个坐标系之间的变换矩阵可得:It takes two rotations to switch from the ground coordinate system to the track coordinate system, and the angular velocities of the two rotations are Then the rotational angular velocity of the track coordinate system relative to the ground coordinate system is the composite of the angular velocity of the two rotations. According to the transformation matrix between the two coordinate systems, we can get:
将公式(1.51)和(1.52)带入(1.50)中,最终得到扑翼飞行的质心运动动力学方程为:Bringing formulas (1.51) and (1.52) into (1.50), the kinetic equation of the center of mass motion of flapping flight is finally obtained as:
式中,为航迹切向加速度,为航迹法向加速度,为航迹测向加速度,为扑翼飞行平台质心所受合力在航迹坐标系下各轴分量。In the formula, is the track tangential acceleration, is the normal acceleration of the track, is the track direction finding acceleration, It is the component of each axis in the track coordinate system of the resultant force on the center of mass of the flapping-wing flight platform.
步骤2,建立扑翼绕质心转动的动力学方程。
扑翼绕质心转动的动力学方程在机身坐标系下的标量形式最为清晰。机身坐标系oxbybzb为动坐标系,假设机身坐标系相对于地面坐标系的转动角速度为ω,H为作用在机身质心上的动量矩,M为质心处的力矩。机身坐标系中,扑翼绕质心转动的动力学方程为:The scalar form of the dynamic equation of the flapping wing rotating around the center of mass is clearest in the fuselage coordinate system. The fuselage coordinate system ox b y b z b is the moving coordinate system, assuming that the rotational angular velocity of the fuselage coordinate system relative to the ground coordinate system is ω, H is the moment of momentum acting on the center of mass of the fuselage, and M is the moment at the center of mass. In the fuselage coordinate system, the dynamic equation of the flapping wing rotating around the center of mass is:
式中,分别为动量矩的绝对、相对导数。In the formula, are the absolute and relative derivatives of the moment of momentum, respectively.
假定i、j、k分别为沿机身坐标系各轴的单位矢量,p、q、r为机身坐标系下转动角速度ω沿机身坐标系各轴的分量,则机身动量矩可以表示为:Assuming that i, j, and k are the unit vectors along each axis of the fuselage coordinate system, respectively, and p, q, r are the components of the rotational angular velocity ω along each axis of the fuselage coordinate system under the fuselage coordinate system, then the moment of fuselage momentum can be expressed as for:
H=J·ω (1.57)。H=J·ω (1.57).
式中,J为惯性张量,其矩阵表达形式为:In the formula, J is the inertia tensor, and its matrix expression is:
Jx、Jy、Jz表示扑翼飞行平台对机身坐标系各轴的转动惯量,Jxy、Jyz、Jzx表示扑翼飞行平台对机身坐标系各轴的惯性积。为了对转动方程进行简化,扑翼飞行平台对机身坐标系各轴的惯性积为零,则动量矩H沿机身坐标系各轴的分量为:J x , J y , J z represent the moment of inertia of the flapping-wing flight platform to each axis of the fuselage coordinate system, and J xy , J yz , J zx represent the inertial product of the flapping-wing flight platform to each axis of the fuselage coordinate system. In order to simplify the rotation equation, the inertial product of the flapping-wing flight platform to each axis of the fuselage coordinate system is zero, then the components of the momentum moment H along each axis of the fuselage coordinate system are:
而,and,
根据公式(1.58),可以得到:According to formula (1.58), we can get:
将公式(1.59)和(1.60)带入(1.55),则扑翼飞行绕质心转动的动力学方程可以表示为:Taking formulas (1.59) and (1.60) into (1.55), the dynamic equation of flapping flight rotating around the center of mass can be expressed as:
式中,Mx、My、Mz分别为作用与扑翼飞行平台上的所有外力对质心力矩在机身坐标系oxbybzb各轴上的分量,公式(1.61)也可以写成:In the formula, M x , My y , and M z are the components of all external forces acting on the flapping flight platform to the moment on the center of mass on each axis of the fuselage coordinate system ox b y b z b . Formula (1.61) can also be written as :
式中Mx、My、Mz的表达式见公式(1.44)~(1.46)。The expressions of M x , My , and M z in the formula are shown in formulas (1.44) to (1.46).
步骤3,建立扑翼质心运动的运动学方程
扑翼质心运动学方程描述的是扑翼飞行实时坐标位置,设u、v、w分别为扑翼速度矢量在地面坐标系中沿各轴的分量。The kinematics equation of the center of mass of the flapping wing describes the real-time coordinate position of the flapping wing. Let u, v, and w be the components of the flapping wing velocity vector along each axis in the ground coordinate system, respectively.
由航迹坐标系oxayaza的定义可知,速度矢量V与oxa轴重合,根据航迹坐标系和地面坐标系之间的转换关系可以得到:According to the definition of the track coordinate system ox a y a z a , the velocity vector V coincides with the ox a axis. According to the conversion relationship between the track coordinate system and the ground coordinate system, we can get:
根据上述分析,得到扑翼质心的运动学方程为:According to the above analysis, the kinematic equation of the centroid of the flapping wing is obtained as:
步骤4,建立扑翼质心转动的运动学方程
要确定扑翼飞行时在空间中的姿态变化,需要建立扑翼相对地面坐标系姿态变化的运动学方程,即建立扑翼偏航角ψ、俯仰角θ、滚转角γ对时间的导数与转动角速度分量p、q、r之间的对应关系。To determine the attitude change of the flapping wing in space during flight, it is necessary to establish the kinematic equation of the attitude change of the flapping wing relative to the ground coordinate system, that is, to establish the derivative and rotation of the flapping wing yaw angle ψ, pitch angle θ, and roll angle γ to time Correspondence between angular velocity components p, q, r.
根据机身坐标系与地面坐标系之间的转换关系,According to the transformation relationship between the fuselage coordinate system and the ground coordinate system,
对上式进行变化后,得到扑翼绕质心转动的运动学方程:After changing the above formula, the kinematics equation for the rotation of the flapping wing around the center of mass is obtained:
步骤5,建立扑翼飞行系统动力模型
根据上述分析,可以得到扑翼飞行时系统整体的动力学模型如式(1.69) 所示:According to the above analysis, the dynamic model of the whole system during flapping flight can be obtained as shown in formula (1.69):
由于建立扑翼飞行系统的动力学模型时,忽略机翼质量以及机翼扑动过程的柔性变形因素,因此模型中没有考虑机翼惯性力以及柔性变形情况对系统整体作用力及力矩的影响。从而使得建立的扑翼飞行姿态控制系统动力学模型并不是很精确,与实际扑翼飞行时的姿态变化存在建模误差。同时由于扑翼飞行时机翼扑动会引起整体系统的较大振动,使得模型中的动力学参数出现变动,外界阵风以及来流的干扰同样也会对扑翼飞行时的姿态稳定产生影响。因此在设计扑翼飞行控制系统是需要考虑多种因素对扑翼飞行的影响。Since the mass of the wing and the flexible deformation factors of the wing flapping process are ignored when establishing the dynamic model of the flapping flight system, the influence of the inertial force of the wing and the flexible deformation on the overall force and moment of the system is not considered in the model. As a result, the established dynamic model of the flapping-wing attitude control system is not very accurate, and there is a modeling error with the attitude change of the actual flapping-wing flight. At the same time, because the flapping of the wing during flapping flight will cause a large vibration of the overall system, the dynamic parameters in the model will change, and the disturbance of external gusts and incoming flow will also affect the attitude stability during flapping flight. Therefore, in designing the flapping flight control system, it is necessary to consider the influence of various factors on flapping flight.
步骤二,构建L1AC自适应控制器。
建立了扑翼飞行的动力学方程,并对刚柔性扑翼的气动力特性进行了分析,得到了不同参数条件下的升力、阻力及力矩变化情况。通过扑翼姿态控制方程与扑翼非定常气动力特性可以知道,扑翼飞行姿态控制控制受外界扰动因素干扰较大,是具有不确定性的多输入多输出的非线性系统。对于扑翼飞行姿态的稳定性设计,由于建模误差、参数变化、外部干扰及未建模动态等原因,使得控制系统普遍存在着不确定性。为了保证扑翼飞行的稳定性与系统的可控性,其反馈控制必须具有鲁棒性。一般而言,对于一个非线性系统,如能够在参数变化、外部干扰、未建模动态等条件下仍能够表现出稳定的可控性,就可以认定该系统为鲁棒的。扑翼飞行动力学主要受参数不确定性的影响,处理不确定性问题常见方式为调整增益,但该方法计算复杂且耗时长。过去许多研究人员针对这种不确定性的非线性系统已经应用了多种类型的鲁棒控制和自适应控制技术,但是直到最近,在稳定性方面的计算能力和理论知识成熟,这些技术才得以应用到实际的飞行控制中。The dynamic equation of flapping-wing flight is established, and the aerodynamic characteristics of the rigid-flexible flapping-wing are analyzed, and the changes of lift, drag and moment under different parameters are obtained. From the attitude control equation of flapping wing and the unsteady aerodynamic characteristics of flapping wing, it can be known that the attitude control of flapping wing is greatly disturbed by external disturbance factors, and it is a nonlinear system with multiple inputs and multiple outputs with uncertainty. For the stability design of flapping-wing flight attitude, due to modeling errors, parameter changes, external disturbances and unmodeled dynamics, the control system generally has uncertainties. In order to ensure the stability of flapping flight and the controllability of the system, its feedback control must be robust. Generally speaking, for a nonlinear system, if it can still show stable controllability under the conditions of parameter changes, external disturbances, and unmodeled dynamics, the system can be considered robust. Flapping wing flight dynamics are mainly affected by parameter uncertainty. A common way to deal with uncertainty is to adjust the gain, but this method is complex and time-consuming. Various types of robust and adaptive control techniques have been applied by many researchers in the past to such uncertain nonlinear systems, but these techniques have not been possible until recently with the maturity of computational power and theoretical knowledge in stability. applied to the actual flight control.
针对扑翼飞行姿态控制系统,拟采用一种快速鲁棒的自适应控制(L1AC)方法,通过在控制律中加入一个低通滤波器,将控制率与自适应律设计的分离。通过设计状态预测器,对扑翼姿态控制模型中的不确定参数进行估计和监视,自适应律调整参数估计,从而保证状态预测器与被控对象输出误差在李雅普诺夫意义下稳定,最终得到自适应控制律。根据调整后的参数和预定的控制信号,按照控制律调整控制量。当自适应增益足够大时,通过数学方法证明系统具有较好的暂态响应特性。同时为了检验控制系统的鲁棒性,增加了参数不确定性。采用蒙特卡洛-支持向量机方法对飞控中的控制参量边界优化,得到能够符合控制预期的控制参量,跟根据稳定平飞条件对获得参量进行分类判断。For flapping-wing flight attitude control system, a fast and robust adaptive control (L1AC) method is proposed. By adding a low-pass filter to the control law, the control rate and the design of the adaptive law are separated. By designing a state predictor, the uncertain parameters in the flapping-wing attitude control model are estimated and monitored, and the parameter estimation is adjusted by the adaptive law, so as to ensure that the output error between the state predictor and the controlled object is stable in the sense of Lyapunov. Adaptive control law. According to the adjusted parameters and the predetermined control signal, the control amount is adjusted according to the control law. When the adaptive gain is large enough, it is proved by mathematical method that the system has better transient response characteristics. At the same time, in order to test the robustness of the control system, parameter uncertainty is increased. The Monte Carlo-support vector machine method is used to optimize the control parameter boundaries in the flight control, and the control parameters that can meet the control expectations are obtained, and the obtained parameters are classified and judged according to the stable level flight conditions.
1、L1AC自适应控制器构成1. Composition of L1AC adaptive controller
L1AC自适应控制器是一种快速鲁棒的自适应控制,与传统的模型参考自适应控制(MRAC)不同,如图4所示,L1AC自适应控制器包括被控对象、状态预测器、自适应律和控制律,控制律添加了一个低通滤波器D(s),将控制律和自适应律分离,且只允许低频信号进入系统。L1AC算法不仅能够保证系统输出的渐进稳定性,还能使系统的控制信号、输入和输出信号具备良好的暂态响应特性。The L1AC adaptive controller is a fast and robust adaptive control, which is different from the traditional model reference adaptive control (MRAC), as shown in Fig. Adaptive law and control law. The control law adds a low-pass filter D(s) to separate the control law and the adaptive law, and only allow low-frequency signals to enter the system. The L1AC algorithm can not only ensure the asymptotic stability of the system output, but also make the control signal, input and output signals of the system have good transient response characteristics.
L1AC自适应控制器中状态预测器对系统的不确定参数进行估计,这与传统的MRAC相一致,但与MRAC不同之处在于L1AC自适应控制器通过引入一个低通滤波器C(s),使得L1AC自适应控制器的误差信号与扑翼飞行姿态控制器相互独立,通过这种方法可以保证闭环状态预测器在有界的前提下,控制器可以任意的设计,通过低通滤波器C(s)对控制信号进行滤波,调整C(s)的的截止带宽,从而控制系统的频率,保证L1AC自适应控制器的幅值裕度和相位裕度都不受高增益的影响,提高L1AC自适应控制器的鲁棒性,L1AC自适应控制器可以是自适应增益很大,降低系统的误差,能够保证系统未建模动态特性存在时,仍具备良好的暂态性能和稳态性能。The state predictor in the L1AC adaptive controller estimates the uncertain parameters of the system, which is consistent with the traditional MRAC, but differs from the MRAC in that the L1AC adaptive controller introduces a low-pass filter C(s), Make the error signal of the L1AC adaptive controller and the flapping flight attitude controller independent of each other. This method can ensure that the closed-loop state predictor is bounded, and the controller can be arbitrarily designed, through the low-pass filter C ( s) Filter the control signal, adjust the cut-off bandwidth of C(s), thereby control the frequency of the system, ensure that the amplitude margin and phase margin of the L1AC adaptive controller are not affected by high gain, and improve the L1AC self-efficacy. To adapt to the robustness of the controller, the L1AC adaptive controller can have a large adaptive gain, reduce the error of the system, and ensure that the system still has good transient performance and steady-state performance when the dynamic characteristics of the system are not modeled.
根据建立的扑翼飞行的动学方程,建立扑翼姿态的状态方程,其表达式可以写成:According to the established dynamic equation of flapping flight, the state equation of flapping attitude is established, and its expression can be written as:
式中,x(t)∈R为系统的状态变量,能够利用传感器进行测量,u(t)∈R为系统的控制信号;y(t)∈R为系统输出值;b∈R、c∈R为已知常量,Am为n×n 的方阵,要求(Am,b)。θ∈R,为系统的不确定项,σ∈R为系统干扰项。ω、θ、σ描述了被控对象的参数不确定性。In the formula, x(t)∈R is the state variable of the system, which can be measured by sensors, u(t)∈R is the control signal of the system; y(t)∈R is the output value of the system; b∈R, c∈ R is a known constant, Am is an n×n square matrix, and requires (Am,b). θ∈R is the uncertainty item of the system, and σ∈R is the disturbance item of the system. ω, θ, σ describe the parameter uncertainty of the plant.
根据被控对象的模型建立建立系统的状态预测器,其状态空间表达式可以写成:According to the model of the controlled object, the state predictor of the system is established, and its state space expression can be written as:
式中,分别时对x、ω、θ、σ的估计值,当时间区域无穷时,被控对象与状态预测器具有一致的动力学模型,估计偏差在李雅普诺夫意义下稳定。In the formula, When the estimated values of x, ω, θ, σ are respectively, when the time area is infinite, the controlled object and the state predictor have the same dynamic model, and the estimated deviation is stable in the sense of Lyapunov.
被控对象与状态预测器之间的状态变量误差可以表示为:State variable error between plant and state predictor It can be expressed as:
自适应控制以状态变量误差为主要输入,且误差在李雅普诺夫定理下稳定,得到了对估计参量的数学表达式,即公式(2.16)。同时为保证闭环控制系统的输入输出稳定性,估计参量在控制律中也会应用。Adaptive Control with State Variable Error is the main input, and the error is stable under the Lyapunov theorem, the estimated parameters are obtained Mathematical expression, ie formula (2.16). At the same time, in order to ensure the input and output stability of the closed-loop control system, the estimated parameters are also used in the control law.
控制律包括两个部分,一是与状态预测器相匹配的对参考输入的重构;另一是低通滤波环节,通过与状态预测器相匹配对参考的重构,保证参考输入到状态预测器输出稳定,自适应律和状态预测器设计在保证系统误差x~在李雅普诺夫意义下稳定时,L1AC控制系统同样是输入输出稳定,经过低通滤波环节,对输入控制信号进行滤波,使得参数估计与控制环节解耦,这样就可以在较大自适应增益的情况下获得较快的参数估计收敛速率,从而得更好的控制性能,同时也避免了传统MRAC中大自适应增益带来的系统对噪声及时滞敏感问题,并可从理论上保证被控系统对参考模型的跟踪误差界。The control law consists of two parts, one is the reconstruction of the reference input matched with the state predictor; the other is the low-pass filtering link, through the reconstruction of the reference matched with the state predictor, to ensure that the reference input is used to predict the state The output of the L1AC controller is stable, and the adaptive law and state predictor are designed to ensure that the system error x ~ is stable in the sense of Lyapunov, the L1AC control system is also stable in input and output. The parameter estimation is decoupled from the control link, so that a faster convergence rate of parameter estimation can be obtained under the condition of large adaptive gain, so as to obtain better control performance, and at the same time, it also avoids the large adaptive gain in traditional MRAC. The system is sensitive to noise and delay, and can theoretically guarantee the tracking error bound of the controlled system to the reference model.
2、L1AC自适应控制器的构建具体包括以下步骤:2. The construction of the L1AC adaptive controller includes the following steps:
步骤1,构建状态预测器
为获得L1AC自适应控制器存在未知扰动时的状态响应,构建状态预测器结构,式(2.34)所示,实现对被控对象的状态估计,状态预测器与被控对象的状态空间表达式相似,只是L1AC自适应控制器中的输入增益、未知不确定参数、干扰项等采用自适应估计参数所代替,状态预测器建模为:In order to obtain the state response of the L1AC adaptive controller when there is an unknown disturbance, a state predictor structure is constructed, as shown in Equation (2.34), to realize the state estimation of the controlled object. The state predictor is similar to the state space expression of the controlled object. , but the input gain, unknown uncertain parameters, interference terms, etc. in the L1AC adaptive controller adopt adaptive estimation parameters Instead, the state predictor is modeled as:
定义误差向量:Define the error vector:
将式(2.34)与(2.8)做差,得到由控制输入u(t)到L1AC自适应控制器的系统误差的状态空间表达式:The difference between equations (2.34) and (2.8) can be obtained to obtain the system error from the control input u(t) to the L1AC adaptive controller The state space expression for :
根据建立控制输入与误差之间的关系,使得状态预测器与被控对象具备一致的动力学响应,为确保输入与L1AC自适应控制器的系统误差为渐进稳定的,选取二次型标量函数作为Lyapunov函数:According to the relationship between the control input and the error, the state predictor and the controlled object have consistent dynamic responses. In order to ensure that the system error between the input and the L1AC adaptive controller is asymptotically stable, a quadratic scalar function is selected as Lyapunov function:
式中,P=PT>0为正定对称矩阵且是的解,I=IT>0,Γ为 L1AC自适应控制器的自适应增益,通过增大系统增益Γ,可以提高被控对象的追踪控制精度。In the formula, P=P T > 0 is a positive definite symmetric matrix and is The solution of , I=IT>0, Γ is the adaptive gain of the L1AC adaptive controller. By increasing the system gain Γ, the tracking control accuracy of the controlled object can be improved.
为使得闭环系统的渐进稳定,需要满足对式(2.34)求导可得:In order to make the closed-loop system asymptotically stable, it is necessary to satisfy Taking the derivative of equation (2.34), we can get:
根据式(2.38)可知,当定义的李雅普诺夫函数的导数为负定时,则可以证明L1AC自适应控制器的系统误差在李雅普诺夫意义下式稳定的。According to equation (2.38), when the derivative of the defined Lyapunov function is negative, it can be proved that the system error of the L1AC adaptive controller is stable in the Lyapunov sense.
步骤2,构建自适应律
自适应律的构建需要根据估计参数得到自适应律的模型,要保证L1AC自适应控制器的系统误差在李雅普诺夫意义下稳定,需要使得定义的标量函数为负定,即式(2.38)小于零,由于未知参数x(t)、和均存在连续边界,则参数的估计值可以根据基于投影算子的自适应律得到,如式(2.39)~(2.41) 所示:The construction of the adaptive law needs to obtain the model of the adaptive law according to the estimated parameters. To ensure that the system error of the L1AC adaptive controller is stable in the sense of Lyapunov, it is necessary to make the defined scalar function negative definite, that is, formula (2.38) is less than zero, due to the unknown parameters x(t), and There are continuous boundaries, the estimated values of the parameters can be obtained according to the adaptive law based on the projection operator, as shown in equations (2.39) to (2.41):
式中,分别为ω(t)、θ(t)和σ(t)的估计值,Γω=Γθ=Γσ=Γ,Γ>0&Γ∈R+为自适应增益,Γ与的边界成反比,即增大Γ的值能够有效降低L1AC自适应控制器的系统误差,提高被控对象的追踪精度。 Proj(·,·)为投影算子,Proj(·,·)投影算子的计算公式为公知技术,此处不再赘述。In the formula, are the estimated values of ω(t), θ(t) and σ(t), respectively, Γ ω = Γ θ = Γ σ = Γ, Γ>0 & Γ∈R + is the adaptive gain, Γ and The boundary is inversely proportional to , that is, increasing the value of Γ can effectively reduce the system error of the L1AC adaptive controller and improve the tracking accuracy of the controlled object. Proj(·,·) is a projection operator, and the calculation formula of the Proj(·,·) projection operator is a well-known technique, and will not be repeated here.
步骤3,构建控制律
控制律设计的目的是通过控制信号来补偿系统中的不确定性,并保证系统的实际输出快速的跟踪参考输入。根据理想控制器与参数估计值,给定L1自适应初步控制律如下:The purpose of the control law design is to compensate the uncertainty in the system through the control signal, and to ensure that the actual output of the system quickly tracks the reference input. According to the ideal controller and parameter estimates, the given L1 adaptive initial control law is as follows:
式中,K>0为反馈增益,D(s)为一个严格真函数,r(s)为参考控制输入, r(s)为控制输入信号r(t)的拉普拉斯变换,为的拉氏变换,可以表示为:where K>0 is the feedback gain, D(s) is a strictly true function, r(s) is the reference control input, r(s) is the Laplace transform of the control input signal r(t), for The Laplace transform of , It can be expressed as:
由于L1自适应控制会出现高频振荡,引入一个低通滤波环节,对自适应控制产生的高频信号进行滤波。通过控制滤波器的截止频率,使得系统的幅值裕度和相位裕度不受系统增益变化的影响,达到参数估计与控制律的解耦,提高系统的鲁棒性。最终控制律中kg的定义如式(2.11)所示,而K的选择与控制器内的滤波器设计有关,设计一种低通滤波器,其表达式为:Since the L1 adaptive control will have high frequency oscillation, a low-pass filter is introduced to filter the high frequency signal generated by the adaptive control. By controlling the cut-off frequency of the filter, the amplitude margin and phase margin of the system are not affected by the change of the system gain, so as to achieve the decoupling of parameter estimation and control law, and improve the robustness of the system. The definition of kg in the final control law is shown in formula (2.11), and the selection of K is related to the filter design in the controller. Design a low-pass filter whose expression is:
为了设计控制器方便,定义D(s)=1/s,则最终设计的低通滤波器可以表示为:For the convenience of designing the controller, define D(s)=1/s, then the final designed low-pass filter can be expressed as:
L1增益稳定的必要条件是设计的低通滤波器需要满足L1小增益定理(引理 1),使得闭环控制系统瞬态和稳态性能一致有界,定义,The necessary condition for the stability of L1 gain is that the designed low-pass filter needs to satisfy the L1 small gain theorem (Lemma 1), so that the transient and steady-state performance of the closed-loop control system are consistent and bounded. Define,
H(s)=(sI-Am)-1B (2.47)。H(s)=(sI-A m ) -1 B (2.47).
G(s)=H(s)(1-C(s)) (5.48)。G(s)=H(s)(1-C(s)) (5.48).
系统L1增益稳定,且能够获得期望的性能需要满足的条件为:The L1 gain of the system is stable and the conditions that need to be met to obtain the desired performance are:
综上所述,根据L1自适应理论设计的姿态控制系统包括状态预测器 (2.36)、自适应律(2.39)~(2.41)和控制律(2.42),当该系统满足式(2.49)条件,则系统具备较好的稳定性。L1自适应控制系统结构如图5所示。To sum up, the attitude control system designed according to L1 adaptive theory includes state predictor (2.36), adaptive law (2.39)~(2.41) and control law (2.42). When the system satisfies the condition of equation (2.49), The system has better stability. The structure of the L1 adaptive control system is shown in Figure 5.
3、L1AC自适应控制器仿真验证3. Simulation and verification of L1AC adaptive controller
采用L1AC自适应控制器对扑翼飞行过程中的姿态进行控制,通过Matlab/Simulink构建上述设计的控制系统仿真模块,对其控制系能进行分析。The L1AC adaptive controller is used to control the attitude during flapping flight, and the above-designed control system simulation module is constructed through Matlab/Simulink, and its control system performance is analyzed.
构建的仿真模块对如下二阶系统进行仿真分析。The constructed simulation module performs simulation analysis on the following second-order system.
其中,in,
c=[1 0] c=[1 0]
u(t)表示控制输入,σ(t)表示系统干扰。u(t) represents the control input and σ(t) represents the system disturbance.
假设系统模型中的不确定向量和干扰向量为:Assume that the uncertainty vector and disturbance vector in the system model are:
ω=1;σ(t)=sin(πt)ω=1; σ(t)=sin(πt)
定义不确定参数边界为:The bounds of uncertain parameters are defined as:
Ω=[0.5,2];Δ=[-10,10]Ω=[0.5,2]; Δ=[-10,10]
根据李雅普诺夫方程求得矩阵P为:According to the Lyapunov equation The matrix P is obtained as:
为了保证系统输出以零稳定误差跟踪到理想系统输出,选取自适应增益Γ=10000,则。In order to ensure that the system output tracks the ideal system output with zero stable error, the adaptive gain Γ = 10000 is selected, then.
yid=cTH(s)kgr(s) (2.69)。y id =c T H(s)k g r(s) (2.69).
其中,r(t)=cos(2t/π)。where r(t)=cos(2t/π).
选取则有:select Then there are:
L1自适应范数稳定条件为:The L1 adaptive norm stability condition is:
根据G(s)函数的形式可知,在状态矩阵Am对应的系统闭环性能条件下,适当增大低通滤波器带宽可以保证系统满足范数稳定条件和闭环自适应系统良好的跟踪性能。但过大的滤波器带宽也会引起控制信号对外部干扰敏感,导致系统鲁棒性能降低。为验证设计的控制器性能,这里选取的低通滤波器带宽为ωK=60。According to the form of the G(s) function, under the closed-loop performance condition of the system corresponding to the state matrix Am, appropriately increasing the bandwidth of the low-pass filter can ensure that the system satisfies the norm stability condition and the closed-loop adaptive system has good tracking performance. However, an excessively large filter bandwidth will also cause the control signal to be sensitive to external disturbances, resulting in reduced system robustness. In order to verify the performance of the designed controller, the bandwidth of the low-pass filter selected here is ωK=60.
在matlab/simulink编译环境下建模开展仿真分析,设计的L1AC自适应控制器仿真构架如图6所示。Modeling and simulation analysis are carried out in the matlab/simulink compilation environment. The designed L1AC adaptive controller simulation framework is shown in Figure 6.
在此控制器设计中,分别针对系统未知参数θ(t)和σ(t)的不同信号进行控制器的鲁棒性和自适应性分析,首先对参数θ(t),选取不同的信号进行仿真:In this controller design, the robustness and adaptability of the controller are analyzed separately for different signals of the unknown parameters θ(t) and σ(t) of the system. simulation:
其中,awgn(x,0.1)为信号中加入高斯白噪声,chrip(0,0.1,100,1)为扫频干扰信号同时仿真过程中施加了10倍增益。Among them, awgn(x, 0.1) is the Gaussian white noise added to the signal, chrip(0, 0.1, 100, 1) is the swept-frequency interference signal, and a 10-fold gain is applied during the simulation process.
在此控制器设计中,分别针对系统未知参数θ(t)和σ(t)的不同信号进行控制器的鲁棒性和自适应性分析。首先对参数θ(t),选取不同的信号进行仿真:In this controller design, the robustness and adaptability of the controller are analyzed for different signals of the system unknown parameters θ(t) and σ(t), respectively. First, for the parameter θ(t), select different signals for simulation:
其中,awgn(x,0.1)为信号中加入高斯白噪声,chrip(0,0.1,100,1)为扫频干扰信号同时仿真过程中施加了10倍增益。图7所示为θ(t)在不同信号时系统的输出与参考输入之间的响应,图8为控制量变化情况。Among them, awgn(x, 0.1) is the Gaussian white noise added to the signal, chrip(0, 0.1, 100, 1) is the swept-frequency interference signal, and a 10-fold gain is applied during the simulation process. Figure 7 shows the response of θ(t) between the output of the system and the reference input under different signals, and Figure 8 shows the variation of the control amount.
如图9至图11所示,为干扰信号σ(t)分别采用如下信号进行仿真时:As shown in Figure 9 to Figure 11, for the interference signal σ(t), the following signals are used for simulation:
σ4(t)=2。 σ 4 (t)=2.
根据上述仿真结果可以看出,针对具有时变参数和扰动的系统,设计的L1AC 控制器的控制信号与系统响应能够在快速自适应的情况下有界的跟踪参考信号。系统在考虑时变参数与干扰时,系统的调节时间在10s以内,超调小于5%,估计误差小于0.02。通过上述仿真结果表明设计的L1AC控制器在快速自适应满足动态性能的条件能够保持较好的鲁棒性以避免时变参数与外界扰动的干扰。According to the above simulation results, it can be seen that for the system with time-varying parameters and disturbances, the control signal and system response of the designed L1AC controller can track the reference signal with bounds in the case of fast self-adaptation. When the system considers time-varying parameters and interference, the adjustment time of the system is within 10s, the overshoot is less than 5%, and the estimation error is less than 0.02. The above simulation results show that the designed L1AC controller can maintain good robustness under the condition of fast self-adaptation to meet the dynamic performance to avoid the interference of time-varying parameters and external disturbances.
步骤三,仿生扑翼飞行L1自适应控制,对搭建的实际扑翼飞行动力学模型进行验证。Step 3: L1 adaptive control of bionic flapping-wing flight to verify the actual flapping-wing flight dynamics model built.
扑翼仿生弹药执行特定的作战任务时,其飞行姿态的稳定控制是保证任务有效完成的前提。前述建立了扑翼飞行动力学模型,但由于理论水平与技术条件限制,建立的扑翼姿态控制模型并不能十分准确的描述扑翼飞行过程中因机翼柔性变形以及自身振动所引起的姿态变化,因此不可避免的存在着系统建模误差。同时,由于扑翼飞行时容易受外界环境因素的影响,如阵风、涡流等因素的干扰,必然会对扑翼姿态控制参量产生影响,因此在进行扑翼飞行姿态控制时需要考虑这些因素的影响。When flapping-wing bionic ammunition performs specific combat missions, the stable control of its flight attitude is the premise to ensure the effective completion of the mission. The flapping-wing flight dynamics model was established above, but due to the limitation of theoretical level and technical conditions, the established flapping-wing attitude control model cannot very accurately describe the attitude changes caused by the flexible deformation of the wing and its own vibration during the flapping-wing flight. , so there is inevitably a systematic modeling error. At the same time, because flapping flight is easily affected by external environmental factors, such as gusts, eddy currents and other factors, it will inevitably affect the flapping attitude control parameters, so it is necessary to consider the influence of these factors when performing flapping flight attitude control. .
扑翼姿态控制系统系能指标与参数设计System energy index and parameter design of flapping wing attitude control system
扑翼飞行控制系统在控制过程中实际上是对扑翼飞行时的姿态角度进行实时修正以保证姿态角偏差在合理的范围内,其姿态控制原理如图12所示。During the control process, the flapping-wing flight control system actually corrects the attitude angle of flapping-wing flight in real time to ensure that the attitude angle deviation is within a reasonable range. The attitude control principle is shown in Figure 12.
θr、ψr和γr分别为俯仰角、偏航角和滚转角的给定量,而eθ、eψ和eγ为实际姿态角与给定量之间的偏差。扑翼飞行控制系统通过减小实际姿态角度与输入给定量之间的差值,从而实现扑翼仿生弹药的稳定飞行。θ r , ψ r and γ r are the given quantities of pitch angle, yaw angle and roll angle, respectively, and e θ , e ψ , and e γ are the deviations between the actual attitude angle and the given quantities. The flapping-wing flight control system realizes the stable flight of flapping-wing bionic ammunition by reducing the difference between the actual attitude angle and the input given value.
为实现扑翼仿生弹药能够具备执行作战任务的能力,其飞行控制系统必须具备良好的鲁棒性和抗干扰能力,同时具有较高的可靠性,使其本身的系统参数受模型影响的因素影响降低到最小。扑翼飞行控制系统的暂态特性要求相应快速、平稳且具有较小的超调量。In order to realize the ability of flapping-wing bionic ammunition to perform combat tasks, its flight control system must have good robustness and anti-interference ability, and at the same time have high reliability, so that its own system parameters are affected by factors affected by the model. reduced to a minimum. The transient characteristics of flapping-wing flight control system require correspondingly fast, stable and small overshoot.
构建扑翼飞行控制系统时,对于给定初始条件和给定扰动,系统达到稳定的条件时间不超过5s,且系统超调不超高5°。能够克服外界阵风的干扰,假设外界风速为5m/s。由于不同尺寸的扑翼飞行器其飞行参数不尽相同,所以本设计参数仅针对本文设计的扑翼仿生弹药进行定义。同时由于实际飞行过程中受机械设计、系统振动以及选用材料性能不同,所达到的控制性能指标也会出现一定的改变。When building a flapping flight control system, for a given initial condition and a given disturbance, the time for the system to reach a stable condition does not exceed 5s, and the overshoot of the system does not exceed 5°. It can overcome the interference of external gusts, assuming the external wind speed is 5m/s. Due to the different flight parameters of flapping-wing aircraft of different sizes, the design parameters are only defined for the flapping-wing bionic ammunition designed in this paper. At the same time, due to the different mechanical design, system vibration and selected material properties during the actual flight, the achieved control performance indicators will also change to a certain extent.
步骤四,仿真分析与计算,将实际的的扑翼飞行器参数输入到控制模型当中,验证构建的L1AC自适应控制器在平台应用中的有效性。
1、扑翼飞行姿态控制系统参数1. Parameters of flapping flight attitude control system
扑翼飞行姿态控制系统采用的参数如表1所示。The parameters used by the flapping-wing flight attitude control system are shown in Table 1.
表1扑翼设计参数Table 1 Design parameters of flapping wings
仿真过程中扑翼飞行采用的转动惯量分别选取为:Jx=112.57×10-6 (kg·m2),Jy=3799.3×10-6(kg·m2),Jz=3739.4×10-6(kg·m2)。由于各种扑翼飞行器的外形结构、适用环境有所差异,实际扑翼飞行器的的设计参数也会有所不同。表1给出的设计参数主要为后面的飞行姿态控制仿真之用,具体设计时还要根据实际对象的特点来确定。In the simulation process, the moment of inertia used for flapping flight is selected as: Jx=112.57×10-6 (kg·m2), Jy=3799.3×10-6 (kg·m2), Jz=3739.4×10-6 (kg·m2) m2). Due to the differences in the shape, structure and applicable environment of various flapping-wing aircraft, the design parameters of the actual flapping-wing aircraft will also be different. The design parameters given in Table 1 are mainly used for the subsequent flight attitude control simulation, and the specific design should be determined according to the characteristics of the actual object.
2、扑翼控制系统构建及仿真分析2. Construction and simulation analysis of flapping wing control system
根据上述分析,建立的扑翼飞行L1AC自适应姿态控制系统。考虑到扑翼飞控系统状态方程较为复杂;系统收敛受到诸多时变参数影响;飞行状态收敛速度较慢,在建立飞控仿真系统的同时,需要对输入控制参量进行一定约束,并预测该控制状态。因此系统包括系统动力学模型、L1AC自适应控制器、扑翼飞行控制器和蒙特卡洛-支持向量机参数边界预测分类模块。According to the above analysis, the L1AC adaptive attitude control system for flapping wing flight is established. Considering that the state equation of the flapping flight control system is relatively complex; the system convergence is affected by many time-varying parameters; the flight state convergence speed is slow, while establishing the flight control simulation system, it is necessary to impose certain constraints on the input control parameters, and predict the control parameters. state. Therefore, the system includes system dynamics model, L1AC adaptive controller, flapping flight controller and Monte Carlo-SVM parameter boundary prediction and classification module.
根据扑翼实际飞行情况,设系统的不确定向量系统的干扰向量σi(t)=[0.3°sint 0.2°sint 0.1°sint]T,飞行速度Vini=5m/s,设控制器目标飞行状态:θr=0°,ψr=0°,γr=0°。以 Matlab2018b为平台建立仿真系统建立扑翼飞行器L1自适应姿态控制仿真系统,如图13所示。According to the actual flight situation of the flapping wing, the uncertainty vector of the system is set System disturbance vector σ i (t)=[0.3°sint 0.2°sint 0.1°sint] T , flight speed V ini =5m/s, set the controller target flight state: θ r =0°, ψ r =0° , γ r =0°. Using Matlab2018b as the platform to establish a simulation system, the L1 adaptive attitude control simulation system of the flapping-wing aircraft is established, as shown in Figure 13.
系统整体仿真由基于L1AC的扑翼飞控仿真系统和基于蒙特卡洛-支持向量机输入控制参量预测分类仿真两部分组成,扑翼飞行器仿真完整系统工作流程如图14所示。仿真初始需要对构建仿真系统参数进行初始化,包括扑翼飞行器系统参数、外部环境参数以及仿真控制参数等。初始化完成后,求解扑翼飞行器动力学模块,得到扑翼飞行非线性多元函数最小值,进而得到扑翼稳定飞行的初始条件。对系统模型线性化并完成极点配置,计算自适应控制器参数矩阵,完成扑翼飞行横、纵向仿真分析,并输出达到目标装调时扑翼行器横滚、俯仰和航向随时间变化响应曲线,如图15所示。The overall simulation of the system consists of two parts: the L1AC-based flapping-wing flight control simulation system and the Monte Carlo-support vector machine input control parameter prediction and classification simulation. The complete system workflow of flapping-wing aircraft simulation is shown in Figure 14. At the beginning of the simulation, the parameters of the simulation system need to be initialized, including the system parameters of the flapping aircraft, the external environment parameters, and the simulation control parameters. After the initialization is completed, the dynamics module of the flapping-wing aircraft is solved, and the minimum value of the nonlinear multivariate function of flapping-wing flight is obtained, and then the initial conditions of stable flapping-wing flight are obtained. Linearize the system model and complete the pole configuration, calculate the adaptive controller parameter matrix, complete the horizontal and vertical simulation analysis of the flapper flight, and output the response curve of the flapper's roll, pitch and heading with time when the target setting is achieved , as shown in Figure 15.
通过图15可以看出,扑翼飞行器L1AC控制器的横滚(γ)、俯仰(θ)与偏航(ψ)参量能够跟踪预设目标值。仿真系统引入控制变量随机干扰时,系统的俯仰角和偏航角度调节时间在5s以内实现稳定,而滚转角10s以内也能够实现稳定,控制稳态误差较小,稳定后超调也不大,能够达到控制系统性能指标要求。It can be seen from Figure 15 that the roll (γ), pitch (θ) and yaw (ψ) parameters of the flapper L1AC controller can track the preset target values. When random interference of control variables is introduced into the simulation system, the pitch angle and yaw angle adjustment time of the system can be stabilized within 5s, and the roll angle can also be stabilized within 10s, the control steady-state error is small, and the overshoot after stabilization is not large. It can meet the performance requirements of the control system.
考虑到基于蒙特卡洛-支持向量机的飞控控制参量边界优化仿真使用蒙特卡洛方法对横滚(γ)/俯仰(θ)变量边界进行计算。如图14所示,使用matlab 中自带的随机函数,对滚转与俯仰目标飞行状态(target point)进行随机增量,并在通过L1AC控制器进行姿态角度计算,当计算14s后姿态参量输出仍不满足任意以下条件时,仿真终止:Considering the Monte Carlo-SVM-based flight control parameter boundary optimization simulation, the Monte Carlo method is used to calculate the roll (γ)/pitch (θ) variable boundary. As shown in Figure 14, using the random function that comes with matlab, the roll and pitch target flight states (target point) are randomly incremented, and the attitude angle is calculated by the L1AC controller, and the attitude parameters are output after 14s of calculation The simulation terminates when any of the following conditions are still not met:
(1)俯仰角角度方差大于3;(1) The pitch angle variance is greater than 3;
(2)滚转角度方差大于3;(2) The roll angle variance is greater than 3;
(3)高程差大于5m。(3) The elevation difference is greater than 5m.
程序进入下一次迭代计算,将超过14s系统稳定时间后theta、phi、高程差参量依然无法收敛的状态定义为控制预设目标(target point)超过飞控冗限,计入失败参数集,同理完成系统控制参量成功数据集,为下一步进行控制参量分类预测提供数据集基础。The program enters the next iterative calculation, and the state where theta, phi, and elevation difference parameters still cannot converge after the system stabilization time of more than 14s is defined as the control preset target (target point) exceeding the flight control redundancy limit, which is included in the failure parameter set. Similarly, The successful data set of system control parameters is completed, which provides a data set basis for the next step of classification and prediction of control parameters.
如图16所示,采用matlab中的支持向量机(SVM)模块对控制输入θ、γ状态进行分类训练。一般通过交叉验证后,需要调整核函数参数满足更好的预测精度,为此采用OptimizeHyperparameters变量进行超参数优化,调整核函数尺度参数(KernelScale)与框约束(BoxConstraint)尺度,可以方便的找到最小化五折交叉验证损失的超参数。这里一方面尝试盒约束参数的几何序列,增大框约束尺度可能会减少支持向量的数量,但也可能会增加训练时间。另一方面尝试以原始内核比例缩放的RBF sigma参数的几何序列。不断迭代计算并交叉验证,可以得到最低分类误差的模型,如图17所示。As shown in Figure 16, the support vector machine (SVM) module in matlab is used to classify and train the control input θ and γ states. Generally, after passing the cross-validation, it is necessary to adjust the kernel function parameters to achieve better prediction accuracy. For this reason, the OptimizeHyperparameters variable is used for hyperparameter optimization, and the kernel function scale parameter (KernelScale) and the box constraint (BoxConstraint) scale are adjusted to easily find the minimization Hyperparameters for 5-fold cross-validation loss. Here, on the one hand, try the geometric sequence of box constraint parameters. Increasing the box constraint scale may reduce the number of support vectors, but may also increase the training time. On the other hand try a geometric sequence of RBF sigma parameters scaled by the original kernel. Iterative calculation and cross-validation can obtain the model with the lowest classification error, as shown in Figure 17.
如图18所示,可以看出,经过蒙特卡洛模拟提供的输入预期状态正负样本集训练及超参数调整,可以找到较为分明的超平面对符合扑翼飞行器预期控制参量(targetpoint)进行分类判断,这为后续基于L1AC的扑翼飞控算法向嵌入式系统移植及进一步开发提供基础。As shown in Figure 18, it can be seen that through the training of positive and negative sample sets of input expected states provided by Monte Carlo simulation and the adjustment of hyperparameters, a relatively clear hyperplane can be found to classify the targetpoints that meet the expected control parameters of the flapping aircraft. Judging, this provides the basis for the subsequent transplantation and further development of the flapping flight control algorithm based on L1AC to the embedded system.
本发明的描述是为了示例和描述起见而给出的,而并不是无遗漏的或者将本发明限于所公开的形式。很多修改和变化对于本领域的普通技术人员而言是显然的。选择和描述实施例是为了更好的说明本发明的原理和实际应用,并且使本领域的普通技术人员能够理解本发明从而设计适于特定用途的带有各种修改的各种实施例。The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or to limit the invention to the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to better explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111256208.6A CN114237266A (en) | 2021-10-27 | 2021-10-27 | Flapping wing flight attitude control method based on L1 self-adaption |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111256208.6A CN114237266A (en) | 2021-10-27 | 2021-10-27 | Flapping wing flight attitude control method based on L1 self-adaption |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114237266A true CN114237266A (en) | 2022-03-25 |
Family
ID=80743254
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111256208.6A Withdrawn CN114237266A (en) | 2021-10-27 | 2021-10-27 | Flapping wing flight attitude control method based on L1 self-adaption |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114237266A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115016514A (en) * | 2022-05-10 | 2022-09-06 | 哈尔滨工业大学(深圳) | Full-autonomous flight control method for takeoff, cruise and landing of bionic flapping wing aircraft |
| CN115167124A (en) * | 2022-06-20 | 2022-10-11 | 安徽大学 | Bionic flapping wing control system and method for realizing track tracking and vibration suppression |
| CN115200580A (en) * | 2022-07-20 | 2022-10-18 | 淮阴工学院 | Quasi-dynamic micro aircraft attitude measurement method and system |
| CN117909659A (en) * | 2024-03-20 | 2024-04-19 | 中国空气动力研究与发展中心超高速空气动力研究所 | Method and device for processing aerodynamic force signals of balance in wind tunnel dynamic test of variant aircraft |
| CN119759068A (en) * | 2025-03-10 | 2025-04-04 | 杭州科技职业技术学院 | Helicopter flight attitude tracking control method and system based on explicit model prediction |
-
2021
- 2021-10-27 CN CN202111256208.6A patent/CN114237266A/en not_active Withdrawn
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115016514A (en) * | 2022-05-10 | 2022-09-06 | 哈尔滨工业大学(深圳) | Full-autonomous flight control method for takeoff, cruise and landing of bionic flapping wing aircraft |
| CN115167124A (en) * | 2022-06-20 | 2022-10-11 | 安徽大学 | Bionic flapping wing control system and method for realizing track tracking and vibration suppression |
| CN115200580A (en) * | 2022-07-20 | 2022-10-18 | 淮阴工学院 | Quasi-dynamic micro aircraft attitude measurement method and system |
| CN117909659A (en) * | 2024-03-20 | 2024-04-19 | 中国空气动力研究与发展中心超高速空气动力研究所 | Method and device for processing aerodynamic force signals of balance in wind tunnel dynamic test of variant aircraft |
| CN117909659B (en) * | 2024-03-20 | 2024-05-14 | 中国空气动力研究与发展中心超高速空气动力研究所 | Method and device for processing aerodynamic force signals of balance in wind tunnel dynamic test of variant aircraft |
| CN119759068A (en) * | 2025-03-10 | 2025-04-04 | 杭州科技职业技术学院 | Helicopter flight attitude tracking control method and system based on explicit model prediction |
| CN119759068B (en) * | 2025-03-10 | 2025-05-06 | 杭州科技职业技术学院 | Helicopter flight attitude tracking control method and system based on explicit model prediction |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114237266A (en) | Flapping wing flight attitude control method based on L1 self-adaption | |
| CN109144084B (en) | An Attitude Tracking Control Method for Vertical Takeoff and Landing Reusable Vehicle Based on Fixed Time Convergence Observer | |
| CN109976366B (en) | Nonlinear trajectory tracking control method for suspended load system of rotor unmanned aerial vehicle | |
| CN104950901B (en) | Depopulated helicopter attitude error finite time convergence control nonlinear robust control method | |
| CN102749851B (en) | Fine anti-interference tracking controller of flexible hypersonic vehicle | |
| CN108803317A (en) | Adaptive multivariable quadrotor drone finite time fault tolerant control method | |
| CN107479371A (en) | A kind of four rotor wing unmanned aerial vehicle finite time self-adaptation control methods based on quick non-singular terminal sliding formwork | |
| CN108132134A (en) | Aerodynamic derivative discrimination method and system based on wind tunnel free flight test | |
| CN107479370A (en) | A kind of four rotor wing unmanned aerial vehicle finite time self-adaptation control methods based on non-singular terminal sliding formwork | |
| CN108052117A (en) | Flight control method is hung based on Partial feedback linearization quadrotor unmanned plane | |
| 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 | |
| CN107390531A (en) | The hypersonic aircraft control method of parameter learning finite time convergence control | |
| CN108776434A (en) | A kind of quick self-adapted sliding formwork fault tolerant control method of hypersonic aircraft | |
| Dillsaver et al. | Trajectory control of very flexible aircraft with gust disturbance | |
| Tao et al. | Modeling and control of a powered parafoil in wind and rain environments | |
| Nettari et al. | Adaptive backstepping integral sliding mode control combined with super-twisting algorithm for nonlinear UAV quadrotor system | |
| CN118732589A (en) | Intelligent control method of hypersonic shape-shifting aircraft driven by knowledge and data hybridization | |
| CN112441253A (en) | Simulation analysis system and method for real-time trail of multi-rotor unmanned aerial vehicle | |
| CN119846963A (en) | Unmanned helicopter control method based on fuzzy neural network extended state observer | |
| CN104965515A (en) | Attitude control method for propeller unmanned drone aircraft based on adaptive control | |
| Xiong et al. | Neuroadaptive sliding mode tracking control for an uncertain TQUAV with unknown controllers | |
| Niu et al. | Control-oriented modeling of a high-aspect-ratio flying wing with coupled flight dynamics | |
| Forte et al. | Gust Load Alleviation Control and Gust Estimation for a High Aspect Ratio Wing Wind Tunnel Model | |
| Park et al. | Hybrid analysis for quadrotor type uav and modified blade element momentum theory considering gust and flight condition |
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 | ||
| WW01 | Invention patent application withdrawn after publication | ||
| WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220325 |