CN116165896A - An Aircraft Adaptive Control Method Based on Online Frequency Domain Recursive Identification - Google Patents

An Aircraft Adaptive Control Method Based on Online Frequency Domain Recursive Identification Download PDF

Info

Publication number
CN116165896A
CN116165896A CN202310168326.4A CN202310168326A CN116165896A CN 116165896 A CN116165896 A CN 116165896A CN 202310168326 A CN202310168326 A CN 202310168326A CN 116165896 A CN116165896 A CN 116165896A
Authority
CN
China
Prior art keywords
aircraft
control
identification
time
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310168326.4A
Other languages
Chinese (zh)
Other versions
CN116165896B (en
Inventor
刘凯
金泽宇
周大鹏
安帅斌
董哲
闫明
侯霖飞
段俊屹
吴国强
吴高奡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dalian University of Technology
Original Assignee
Dalian University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dalian University of Technology filed Critical Dalian University of Technology
Priority to CN202310168326.4A priority Critical patent/CN116165896B/en
Publication of CN116165896A publication Critical patent/CN116165896A/en
Application granted granted Critical
Publication of CN116165896B publication Critical patent/CN116165896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

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)

Abstract

本发明属于飞机控制技术领域,涉及一种基于在线频域递推辨识的飞机自适应控制方法,包括在线递推的频域气动参数辨识方法和改进自适应干扰抑制控制方法。使用递推辨识方法可以精确地对气动导数进行辨识,静稳定系数和舵效系数辨识误差不超过1%。改进自适应动态逆控制在传统自适应动态逆控制基础上引入超前矫正环节,使得自适应动态逆控制器响应更快,结合在线辨识方法可以实现气动模型不准确情况下的高精度控制,将其应用于飞机俯仰姿态控制,相比传统控制器和普通的自适应动态逆控制器而言,超调量更小,上升时间和峰值时间更短,具有良好的控制品质。

Figure 202310168326

The invention belongs to the technical field of aircraft control, and relates to an aircraft adaptive control method based on online frequency-domain recursive identification, including an online recursive frequency-domain aerodynamic parameter identification method and an improved adaptive interference suppression control method. The aerodynamic derivative can be accurately identified by using the recursive identification method, and the identification error of static stability coefficient and rudder effect coefficient does not exceed 1%. The improved adaptive dynamic inverse control introduces the advanced correction link on the basis of the traditional adaptive dynamic inverse control, so that the adaptive dynamic inverse controller responds faster. Combined with the online identification method, it can realize high-precision control under the condition of inaccurate aerodynamic model. Applied to aircraft pitch attitude control, compared with traditional controllers and ordinary adaptive dynamic inverse controllers, the overshoot is smaller, the rise time and peak time are shorter, and it has good control quality.

Figure 202310168326

Description

一种基于在线频域递推辨识的飞机自适应控制方法An adaptive control method for aircraft based on online frequency domain recursive identification

技术领域Technical Field

本发明属于飞机控制技术领域,涉及一种基于在线频域递推辨识的飞机自适应控制方法。The invention belongs to the technical field of aircraft control and relates to an aircraft adaptive control method based on online frequency domain recursive identification.

背景技术Background Art

目前在役的绝大多数飞机采用的控制系统是传统控制器,比如PID控制器等,但是由于真实的飞机气动模型具有非线性的特点,造成传统方法的控制性能不能完全满足期望并且鲁棒性不佳,同时还会带来控制系统开发周期长等次生问题,为了克服这一问题,近些年来,大量的研究集中在非线性控制系统设计,比如自适应控制方法、智能控制方法等。The control systems used by the vast majority of aircraft in service today are traditional controllers, such as PID controllers. However, due to the nonlinear characteristics of real aircraft aerodynamic models, the control performance of traditional methods cannot fully meet expectations and has poor robustness. It also brings secondary problems such as a long control system development cycle. In order to overcome this problem, in recent years, a large amount of research has focused on nonlinear control system design, such as adaptive control methods, intelligent control methods, etc.

在已发表的研究中,多数将气动辨识方法与自适应控制方法分开研究,并且在两个方面都有了丰厚的研究成果。Among the published studies, most of them studied aerodynamic identification methods and adaptive control methods separately, and achieved fruitful research results in both aspects.

气动辨识的作用包括气动模型的修正,故障情况下的控制重构、控制参数实时调节等,在一些应用场景下,气动模型必须满足可以实时辨识的需求,随着积累的飞行数据增多,逐步实现准确的辨识。准确获取飞机的实时动力学信息是进行非线性自适应控制调节的前提,这里采用的方法是动力学参数辨识,飞机动力学辨识的方法包括时域辨识和频域辨识的方法两大类,具体而言包括以最小二乘法为代表的回归法,目前已经有很多方法基于最小二乘方法被提出,此外常用的辨识方法还包括极大似然法、卡尔曼滤波方法等。在频域方法方面,也已经有一些实用的方法被提出。此外智能方法也在逐步被使用到气动辨识中,其中比较有代表性的是将神经网络用于动力学辨识。The role of aerodynamic identification includes the correction of aerodynamic models, control reconstruction in fault conditions, real-time adjustment of control parameters, etc. In some application scenarios, the aerodynamic model must meet the requirements of real-time identification. As the accumulated flight data increases, accurate identification is gradually achieved. Accurately obtaining the real-time dynamic information of the aircraft is the prerequisite for nonlinear adaptive control adjustment. The method used here is dynamic parameter identification. The methods of aircraft dynamic identification include two categories: time domain identification and frequency domain identification. Specifically, they include regression methods represented by the least squares method. At present, many methods have been proposed based on the least squares method. In addition, commonly used identification methods also include the maximum likelihood method and the Kalman filter method. In terms of frequency domain methods, some practical methods have also been proposed. In addition, intelligent methods are gradually being used in aerodynamic identification, among which the more representative one is the use of neural networks for dynamic identification.

在非线性自适应控制方法方面,有很多不同的技术路线,比如通过神经网络或模糊控制器与PID控制器结合起来的串联控制系统,实现基于控制误差或其他观测量的控制增益实时调节,自适应动态逆方法(NDI)控制也是一种自适应控制方法,动态逆方法是一种有较强适应性和通用性的控制方法,由于该方法能较好地应对非线性对象各通道间繁杂的解耦工作,且无需反复调节各回路增益,因此在飞机非线性控制中也有较多应用,在长时间的发展历程中,动态逆控制通过对控制器结构的调节或者与其他控制器的结合产生了许多不同的形式,基于L1的自适应动态逆就是一个具有代表性的方向。In terms of nonlinear adaptive control methods, there are many different technical routes, such as a series control system that combines a neural network or fuzzy controller with a PID controller to achieve real-time adjustment of the control gain based on the control error or other observables. Adaptive dynamic inversion (NDI) control is also an adaptive control method. The dynamic inversion method is a control method with strong adaptability and versatility. Since this method can better cope with the complicated decoupling work between the channels of nonlinear objects and there is no need to repeatedly adjust the gains of each loop, it is also widely used in aircraft nonlinear control. In the long development process, dynamic inversion control has produced many different forms by adjusting the controller structure or combining with other controllers. Adaptive dynamic inversion based on L1 is a representative direction.

在线气动辨识与自适应控制方法结合,从而实现在线的调节是一种近些年提出的学习控制方法路线。一些研究项目对这种控制优化思路也进行了相当的技术探索工作。但是在这些研究中,关于频域的在线递推应用研究却鲜见成果,而将频域辨识与改进的自适应动态逆控制方法结合的方法则更少有人涉足。Combining online aerodynamic identification with adaptive control methods to achieve online regulation is a learning control method route proposed in recent years. Some research projects have also conducted considerable technical exploration work on this control optimization idea. However, in these studies, there are few results in the online recursive application research in the frequency domain, and even fewer people have been involved in the method of combining frequency domain identification with improved adaptive dynamic inverse control methods.

发明内容Summary of the invention

为解决上述问题,本发明提供一种基于在线频域递推辨识的飞机自适应控制方法。In order to solve the above problems, the present invention provides an aircraft adaptive control method based on online frequency domain recursive identification.

本发明的技术方案:The technical solution of the present invention:

一种基于在线频域递推辨识的飞机自适应控制方法,包括在线递推的频域气动参数辨识方法和改进自适应干扰抑制控制方法。具体如下:An aircraft adaptive control method based on online frequency domain recursive identification includes an online recursive frequency domain aerodynamic parameter identification method and an improved adaptive interference suppression control method. The details are as follows:

(1)飞机六自由度动力学建模(1) Aircraft six-degree-of-freedom dynamics modeling

飞机质心动力学方程可以表示为:The aircraft center of mass dynamics equation can be expressed as:

Figure BDA0004096937000000021
Figure BDA0004096937000000021

Figure BDA0004096937000000022
Figure BDA0004096937000000022

Figure BDA0004096937000000023
Figure BDA0004096937000000023

式中,m为飞机质量,V=[Vx Vy Vz]表示飞机速度在机体坐标系下的分量,Ω=[pq r]表示飞机角速度在机体坐标系下的分量,[Fx Fy Fz]表示飞机所受合外力在机体坐标系下的分量。变量上标为点表示该变量的导数,下同。Where m is the mass of the aircraft, V = [V x V y V z ] represents the component of the aircraft velocity in the body coordinate system, Ω = [pq r] represents the component of the aircraft angular velocity in the body coordinate system, and [F x F y F z ] represents the component of the total external force on the aircraft in the body coordinate system. The dot above a variable represents the derivative of the variable, and the same applies below.

结合飞机受力分析,飞机的质心动力学方程最终表示如下:Combined with the aircraft force analysis, the aircraft's center of mass dynamics equation is finally expressed as follows:

Figure BDA0004096937000000031
Figure BDA0004096937000000031

式中,G为飞机所受重力,D为阻力,L为升力,FAy为侧向力,φT为发动机安装角,FTy为发动机推力在Obyb轴的分量。In the formula, G is the gravity acting on the aircraft, D is the drag, L is the lift, F Ay is the lateral force, φ T is the engine installation angle, and F Ty is the component of the engine thrust on the O b y b axis.

飞机惯性矩阵I为:The aircraft inertia matrix I is:

Figure BDA0004096937000000032
Figure BDA0004096937000000032

在惯性矩阵中,Ixx、Iyy、Izz分别表示飞机绕机体轴Obxb、Obyb、Obzb三个轴的转动惯量,Ixy、Ixz、……Iyz分别为飞机绕机体坐标系各轴的惯量积。In the inertia matrix, Ixx , Iyy , and Izz represent the moments of inertia of the aircraft around the three axes of the fuselage Obxb , Obyb , and Obzb , respectively, and Ixy , Ixz , ..., Iyz are the products of inertia of the aircraft around each axis of the fuselage coordinate system.

角动量H方程为:The equation for angular momentum H is:

Figure BDA0004096937000000033
Figure BDA0004096937000000033

式中,Hx、Hy、Hz分别是角动量在机体坐标系下的分量。Where H x , Hy , and H z are the components of angular momentum in the body coordinate system.

飞机绕质心运动可表示为:The motion of an aircraft around its center of mass can be expressed as:

Figure BDA0004096937000000034
Figure BDA0004096937000000034

式中,LA、MA、NA分别为气动力矩在机体坐标系下的分量,LT、MT、NT分别为推力产生的力矩在机体坐标系下的分量,重力由于过质心,故不产生力矩。Where LA , MA and NA are the components of aerodynamic torque in the body coordinate system, LT , MT and NT are the components of torque generated by thrust in the body coordinate system, and gravity does not generate torque because it passes through the center of mass.

(2)频域在线递推辨识方法(2) Frequency domain online recursive identification method

频域在线递推辨识中包括多正弦舵面激励、数据去趋势和CZT变换三部分内容,具体流程图见图3,飞机到达预定飞行状态后,对舵面施加激励信号,获取传感器数据后,计算气动力或力矩系数;对获取到的数据和计算得到的气动系数进行数据去趋势,剔除与时间成线性关系的数据,保留动态分量,随后通过CZT变换将数据从时域转化至感兴趣的频域频段内,进行递推最小二乘辨识,得到辨识结果后恢复静态信息,得到最终的辨识结果,并判断辨识是否收敛。The frequency domain online recursive identification includes three parts: multi-sinusoidal control surface excitation, data detrending and CZT transformation. The specific flow chart is shown in Figure 3. After the aircraft reaches the predetermined flight state, the excitation signal is applied to the control surface, and the aerodynamic force or torque coefficient is calculated after the sensor data is obtained. The acquired data and the calculated aerodynamic coefficient are detrended, and the data that is linearly related to time is eliminated, and the dynamic component is retained. Then, the data is converted from the time domain to the frequency domain band of interest through CZT transformation, and recursive least squares identification is performed. After obtaining the identification result, the static information is restored to obtain the final identification result, and it is judged whether the identification converges.

这种流程化的在线递推辨识方法适用于力或力矩辨识。This streamlined online recursive identification method is suitable for force or torque identification.

下面详细介绍三部分的内容。The following is a detailed introduction to the contents of the three parts.

(2.1)多正弦舵面激励:(2.1) Multi-sine rudder excitation:

当飞机处于平稳飞行时,飞行数据所包含的信息量很少,这种低信息量的飞行数据无法支持准确地对飞机的气动系数进行准确辨识,因此,必须采用一种有效的机动方式,提高飞行数据包含的信息量以达到辨识的需求。When the aircraft is in a stable flight, the flight data contains very little information. This low-information flight data cannot support accurate identification of the aircraft's aerodynamic coefficients. Therefore, an effective maneuvering method must be adopted to increase the amount of information contained in the flight data to meet the identification requirements.

本发明采用的方法是一种多正弦叠加输入的舵面激励信号,该信号可以和控制指令叠加,作为最终的操纵舵面偏转指令。多正弦激励输入的形式为:The method adopted by the present invention is a multi-sine superposition input rudder excitation signal, which can be superimposed with the control command as the final control rudder deflection command. The multi-sine excitation input is in the form of:

Figure BDA0004096937000000041
Figure BDA0004096937000000041

在这里设定,应用在第j个控制面的扰动输入为uj,是具有单个相移的正弦波谐波φk总和。其中m是可用的谐波相关频率的总数,T是激励的时间长度。Ak是第k个正弦波分量的振幅,并且t是时间向量。Here, the disturbance input applied to the jth control surface is assumed to be u j , which is the sum of sinusoidal harmonics φ k with a single phase shift. Where m is the total number of available harmonically related frequencies, T is the time length of the excitation. A k is the amplitude of the kth sinusoidal component, and t is the time vector.

(2.2)数据去趋势:(2.2) Data detrending:

为了满足飞机的实时控制,必须采用一种实时去趋势方法,这里采用四阶巴特沃斯高通滤波器进行去趋势。In order to meet the real-time control of the aircraft, a real-time detrending method must be adopted. Here, a fourth-order Butterworth high-pass filter is used for detrending.

这里采用一种递推的方法进行滤波,这是很关键的一点,因为在这种方法可以实现实时对传感器数据进行去趋势,最终达到实时辨识的效果。A recursive method is used here for filtering, which is a critical point because this method can realize real-time detrending of sensor data and ultimately achieve the effect of real-time identification.

滤波器的表达式可以写成如下有理传递函数的差分方程形式:The filter expression can be written in the form of a difference equation of the following rational transfer function:

a(1)y(n)=b(1)x(n)+b(2)x(n-1)+…+b(nb+1)x(n-nb)a(1)y(n)=b(1)x(n)+b(2)x(n-1)+…+b(n b +1)x(nn b )

-a(2)y(n-1)-…-a(na+1)y(n-na)-a(2)y(n-1)-…-a(n a +1)y(nn a )

式中,na是反馈滤波器阶数,nb是前馈滤波器的阶数,a(i)代表有理传递函数向量的分母系数,b(i)代表有理传递函数向量的分子系数,x(i)为输入数据,y(i)为过滤后的数据。Where n a is the order of the feedback filter, n b is the order of the feedforward filter, a(i) represents the denominator coefficient of the rational transfer function vector, b(i) represents the numerator coefficient of the rational transfer function vector, x(i) is the input data, and y(i) is the filtered data.

(2.3)CZT变换:(2.3) CZT transformation:

将时域数据转换至频域时,最常采用的方法是DFT方法,但是DFT方法有诸多不足,特别是对于飞机动力学辨识而言,通常只需要关注某一个范围很小的频段,而DFT则会引入干扰信息,因此此处采用CZT方法,该方法的数据频域变换效果见图4。When converting time domain data to frequency domain, the most commonly used method is the DFT method, but the DFT method has many shortcomings, especially for aircraft dynamics identification, usually only a small frequency band needs to be concerned, and DFT will introduce interference information. Therefore, the CZT method is used here. The data frequency domain transformation effect of this method is shown in Figure 4.

CZT变换的起始点z0可任意选定,因此可以从任意频率上开始对输入数据进行窄带高分辨率分析,同时还能根据需要调整频率分辨率,从而可以对任意感兴趣的频段进行精密分析。The starting point z 0 of the CZT transformation can be selected arbitrarily, so the input data can be analyzed with narrowband high resolution starting from any frequency. At the same time, the frequency resolution can be adjusted as needed, so that any frequency band of interest can be precisely analyzed.

CZT变换的步骤可以表示为:The steps of CZT transformation can be expressed as:

首先构成两个L点序列g(n)和h(n):First, form two L-point sequences g(n) and h(n):

Figure BDA0004096937000000051
Figure BDA0004096937000000051

Figure BDA0004096937000000052
Figure BDA0004096937000000052

其中,L满足L≥N+M-1,且L=2M,M为整数,A、W表示为:Wherein, L satisfies L≥N+M-1, and L= 2M , M is an integer, and A and W are expressed as:

Figure BDA0004096937000000053
Figure BDA0004096937000000053

Figure BDA0004096937000000054
Figure BDA0004096937000000054

A0表示初始取样点半径,θ0表示初始取样点相角,

Figure BDA0004096937000000055
表示相邻两点等分角,W0表示螺旋线伸展率。A 0 represents the radius of the initial sampling point, θ 0 represents the phase angle of the initial sampling point,
Figure BDA0004096937000000055
W 0 represents the angle divided equally between two adjacent points, and W 0 represents the helix stretch rate.

然后分别计算g(n)和h(n)的傅里叶变换G(k)和H(k),并计算Y(k)=G(k)H(k)。Then, the Fourier transforms G(k) and H(k) of g(n) and h(n) are calculated respectively, and Y(k)=G(k)H(k) is calculated.

随后计算Y(k)的L点傅里叶反变换X(zk):Then calculate the L-point inverse Fourier transform X(z k ) of Y(k):

Figure BDA0004096937000000061
Figure BDA0004096937000000061

常规的CZT变换过程要实现实时辨识的效果,需要同时采用递推有限傅里叶变换,后一时刻Xi(ω)可以表示为:To achieve the effect of real-time identification in the conventional CZT transformation process, it is necessary to use recursive finite Fourier transform at the same time. The next moment Xi (ω) can be expressed as:

Xi(ω)=Xi-1(ω)+x(i)e-jωiΔt X i (ω)=X i-1 (ω)+x(i)e -jωiΔt

其中in

e-jωiΔt=e-jωΔte-jω(i-1)Δt e -jωiΔt =e -jωΔt e -jω(i-1)Δt

(3)自适应干扰抑制控制(3) Adaptive interference suppression control

(3.1)自适应干扰抑制控制器:(3.1) Adaptive disturbance rejection controller:

为了跟踪每个变量的命令,利用变量的时标分离,依次采用非线性动态逆(NDI)来生成用于更快变量的命令,该控制器结构见图5。最外环快回路的动态逆是将轨迹倾角χ、轨迹偏角γ的指令转换为θ和φ指令。对于线性跟踪,所需的控制导数与变量及其命令之间的误差成比例,根据动力学方程组,逆过程产生的滚转角指令为:In order to track the command of each variable, the time scale separation of the variables is used to sequentially use nonlinear dynamic inversion (NDI) to generate commands for faster variables. The controller structure is shown in Figure 5. The dynamic inversion of the outermost fast loop converts the commands of the trajectory inclination angle χ and the trajectory deflection angle γ into θ and φ commands. For linear tracking, the required control derivative is proportional to the error between the variable and its command. According to the dynamic equations, the roll angle command generated by the inverse process is:

Figure BDA0004096937000000062
Figure BDA0004096937000000062

式中,χc和γc为轨迹倾角、轨迹偏角的指令,θc和φc为θ和φ指令,变量右下角标表示改变量指令值,下同,V为重力合速度,g为当地重力加速度,Kχ为外环控制增益。Where, χc and γc are the instructions for the trajectory inclination and trajectory deflection, θc and φc are the instructions for θ and φ, the lower right subscript of the variable represents the change instruction value, the same below, V is the total velocity of gravity, g is the local acceleration of gravity, and is the outer loop control gain.

轨迹倾角导数表示为:The trajectory inclination derivative is expressed as:

Figure BDA0004096937000000063
Figure BDA0004096937000000063

上述两式联列化简得:The above two equations can be simplified to:

Figure BDA0004096937000000064
Figure BDA0004096937000000064

根据一阶线性非齐次微分方程求解公式可得:According to the first-order linear non-homogeneous differential equation solution formula, we can get:

Figure BDA0004096937000000065
Figure BDA0004096937000000065

在一定时间内,χ收敛至轨迹倾角指令χc,χ(0)为轨迹倾角初值。Within a certain period of time, χ converges to the trajectory inclination angle command χ c , where χ(0) is the initial value of the trajectory inclination angle.

内环慢回路动态逆则是求解下一步动态逆指令,根据

Figure BDA0004096937000000071
θ、β的指令求解p、q、r的指令,根据动力学方程:则有如下指令形式:The dynamic inversion of the inner slow loop is to solve the next step of dynamic inversion instructions.
Figure BDA0004096937000000071
The instructions of θ and β solve the instructions of p, q and r. According to the dynamic equation: the instructions are in the following form:

Figure BDA0004096937000000072
Figure BDA0004096937000000072

其中,Kφ、Kβ、Kθ为角速度环控制增益。Among them, K φ , K β , K θ are the angular velocity loop control gains.

将上述控制指令带回到动力学方程中,可得:Bringing the above control instructions back to the dynamic equation, we can get:

Figure BDA0004096937000000073
Figure BDA0004096937000000073

根据一阶线性非齐次微分方程求解公式可得:According to the first-order linear non-homogeneous differential equation solution formula, we can get:

Figure BDA0004096937000000074
Figure BDA0004096937000000074

可求得与航迹角形式相同的时域响应函数,其在一定时间内可达到收敛。The time domain response function with the same form as the track angle can be obtained, and it can converge within a certain period of time.

求解跟踪这些角速率命令内环的动力学方程逆,产生与角速率误差成比例的所需角加速度,可得:Solving the inverse of the dynamic equations for the inner loop that tracks these angular rate commands, yielding the required angular acceleration proportional to the angular rate error, yields:

Figure BDA0004096937000000075
Figure BDA0004096937000000075

式中,

Figure BDA0004096937000000076
是由飞机当前的辨识模型确定,即通过步骤(2)的方法获得的当前辨识结果和传感器指令反向求解的俯仰力矩;Kq为角速度控制增益,Mδ,c为控制舵偏力矩指令。In the formula,
Figure BDA0004096937000000076
It is determined by the current identification model of the aircraft, that is, the pitch moment obtained by inversely solving the current identification result and the sensor command obtained by the method of step (2); K q is the angular velocity control gain, and M δ,c is the control rudder deflection moment command.

将控制力矩指令代入

Figure BDA0004096937000000077
的动力学方程中可得:Substitute the control torque command into
Figure BDA0004096937000000077
From the kinetic equation, we can get:

Figure BDA0004096937000000081
Figure BDA0004096937000000081

式中,M是传感器获取的力矩值。Where M is the torque value obtained by the sensor.

(3.2)改进自适应干扰抑制控制器:(3.2) Improved adaptive disturbance rejection controller:

针对非定常气动力作用下基于常规动态逆的误差大和迟滞强的问题,引入了一种改进的自适应动态逆控制方法,改善气动辨识结果存在误差情况下的控制效果。该控制器结构见图6。具体如下:In order to solve the problem of large error and strong hysteresis based on conventional dynamic inversion under the action of unsteady aerodynamic force, an improved adaptive dynamic inversion control method is introduced to improve the control effect when there are errors in the aerodynamic identification results. The controller structure is shown in Figure 6. The details are as follows:

考虑气流角度[α β μ]的变化相对于角速度[p q r]的变化要慢,其中μ为航迹滚转角,因此将系统分为慢变子系统和快变子系统,在慢回路中:Considering that the change of airflow angle [α β μ] is slower than the change of angular velocity [p q r], where μ is the track roll angle, the system is divided into a slow-changing subsystem and a fast-changing subsystem. In the slow loop:

Figure BDA0004096937000000082
Figure BDA0004096937000000082

式中,ωαd、ωβd、ωμd分别为[α β μ]对应的带宽频率,

Figure BDA0004096937000000083
为慢回路中右下角标相应变量的期望动态响应。In the formula, ω αd , ω βd , ω μd are the bandwidth frequencies corresponding to [α β μ],
Figure BDA0004096937000000083
is the expected dynamic response of the corresponding variable in the lower right corner in the slow loop.

由于气动模型的不确定性,导致常规动态逆方法响应速度较慢从而带来指令跟踪的误差,通过串联超前校正环节可以改善这一情况,则慢回路期望系统可以写为:Due to the uncertainty of the aerodynamic model, the conventional dynamic inversion method has a slow response speed, which leads to command tracking errors. This situation can be improved by connecting the advance correction link in series. Then the slow loop expectation system can be written as:

Figure BDA0004096937000000084
Figure BDA0004096937000000084

其中,G(s)为超前校正装置:Among them, G(s) is the advance correction device:

Figure BDA0004096937000000085
Figure BDA0004096937000000085

ωC为复平面极点位置,ωD为零点位置,零极点右下角标识变量名称代表对应该变量。选择参数时,当ωCD时,G(s)为超前环节,当ωCD时,G(s)为滞后环节,因此这里应取ωCDω C is the position of the pole in the complex plane, ω D is the position of the zero point, and the variable name marked in the lower right corner of the zero pole represents the corresponding variable. When selecting parameters, when ω CD , G(s) is the leading link, and when ω CD , G(s) is the lagging link, so here we should take ω CD.

在引入超前校正环节后需要在离散控制仿真中实现,因此对超前环节的传递函数进行相关离散化。After the lead correction link is introduced, it needs to be implemented in discrete control simulation, so the transfer function of the lead link is discretized.

超前环节是在慢回路中求解标称角速率的时候加入的。常规慢回路角速率求解方表示为:The advance link is added when solving the nominal angular rate in the slow loop. The conventional slow loop angular rate solution is expressed as:

qc=Kθc-θ)q c =K θc -θ)

加入超前环节后,表达式变为:After adding the lookahead phase, the expression becomes:

Figure BDA0004096937000000091
Figure BDA0004096937000000091

其中,

Figure BDA0004096937000000092
为改进的期望角速度。in,
Figure BDA0004096937000000092
is the desired angular velocity for improvement.

写成时域的形式:Written in time domain:

Figure BDA0004096937000000093
Figure BDA0004096937000000093

用近似差分代替微分,整理得加入超前环节后的标称角速率:Using approximate differences instead of differentials, we can get the nominal angular rate after adding the lead link:

Figure BDA0004096937000000094
Figure BDA0004096937000000094

本发明的有益效果:Beneficial effects of the present invention:

本发明重点研究了基于实时频域递推辨识的自适应控制方法,重点关注其实时应用的可实现性以及控制方法的效果。频域气动参数辨识方法对噪声不敏感的特性使得其在实际应用方面有很大价值,引入的递推去趋势方法进一步减少了计算量需求。使用递推辨识方法可以精确地对气动导数进行辨识,静稳定系数和舵效系数辨识误差不超过1%。改进动态逆控制在传统动态逆控制基础上引入超前矫正环节,使得动态逆控制器响应更快,结合在线辨识方法可以实现气动模型不准确情况下的高精度控制,将其应用于飞机俯仰姿态控制,相比传统控制器和普通的自适应动态逆控制器而言,超调量更小,上升时间和峰值时间更短,具有良好的控制品质。The present invention focuses on the study of an adaptive control method based on real-time frequency domain recursive identification, focusing on the feasibility of its real-time application and the effect of the control method. The frequency domain aerodynamic parameter identification method is insensitive to noise, which makes it of great value in practical applications. The introduced recursive detrending method further reduces the computational requirements. The aerodynamic derivatives can be accurately identified using the recursive identification method, and the identification errors of the static stability coefficient and the rudder efficiency coefficient do not exceed 1%. The improved dynamic inverse control introduces an advance correction link on the basis of the traditional dynamic inverse control, so that the dynamic inverse controller responds faster. Combined with the online identification method, high-precision control can be achieved when the aerodynamic model is inaccurate. It is applied to aircraft pitch attitude control. Compared with traditional controllers and ordinary adaptive dynamic inverse controllers, the overshoot is smaller, the rise time and peak time are shorter, and it has good control quality.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是基于在线频域气动辨识的改进自适应控制方法流程图;FIG1 is a flow chart of an improved adaptive control method based on online frequency domain aerodynamic identification;

图2是基于在线频域气动辨识的改进自适应控制算法流程图;FIG2 is a flow chart of an improved adaptive control algorithm based on online frequency domain aerodynamic identification;

图3是频域在线递推气动参数辨识方法流程图;FIG3 is a flow chart of a method for online recursive aerodynamic parameter identification in the frequency domain;

图4是线性调频z变换功能示意图;FIG4 is a schematic diagram of a linear frequency modulation z-transform function;

图5是自适应动态逆控制方法流程图;FIG5 is a flow chart of an adaptive dynamic inverse control method;

图6是改进自适应动态逆控制方法流程图;FIG6 is a flow chart of an improved adaptive dynamic inverse control method;

图7是舵面激励信号及分量图;FIG7 is a diagram of the rudder excitation signal and its components;

图8是辨识时间区间飞行状态图;FIG8 is a diagram of the flight status of the identification time interval;

图9是辨识区间飞行数据去趋势结果;Figure 9 is the result of detrending the flight data in the identification interval;

图10是静稳定系数辨识结果与真实值对比图;Figure 10 is a comparison diagram of the static stability coefficient identification result and the true value;

图11是舵效系数辨识结果与真实值对比图;Figure 11 is a comparison chart of the rudder efficiency coefficient identification result and the true value;

图12是PID和动态逆阶跃信号仿真跟踪效果对比;Figure 12 is a comparison of the simulation tracking effects of PID and dynamic inverse step signals;

图13是PID和动态逆阶跃信号仿真跟踪舵偏角效果对比;Figure 13 is a comparison of the rudder angle tracking effects of PID and dynamic inverse step signal simulation;

图14是PID和动态逆阶跃信号仿真跟踪俯仰角速度效果对比;FIG14 is a comparison of the effects of PID and dynamic inverse step signal simulation tracking pitch angular velocity;

图15是PID、动态逆和改进动态逆阶跃信号仿真跟踪效果对比;Figure 15 is a comparison of the simulation tracking effects of PID, dynamic inversion and improved dynamic inversion step signals;

图16是PID、动态逆和改进动态逆阶跃信号仿真跟踪舵偏角效果对比;Figure 16 is a comparison of the rudder angle tracking effects of PID, dynamic inversion and improved dynamic inversion step signal simulation;

图17是PID、动态逆和改进动态逆阶跃信号仿真跟踪俯仰角速度效果对比。FIG17 is a comparison of the effects of PID, dynamic inverse and improved dynamic inverse step signal simulation tracking pitch angular velocity.

具体实施方式DETAILED DESCRIPTION

以下结合附图和技术方案,进一步说明本发明的具体实施方式。The specific implementation of the present invention is further described below in conjunction with the accompanying drawings and technical solutions.

本发明的基于在线频域气动辨识的改进自适应控制方法如图1和图2所示。The improved adaptive control method based on online frequency domain aerodynamic identification of the present invention is shown in FIG1 and FIG2 .

在这一部分的方法实施仿真示例中,总体包括两个大部分,分别是频域在线递推辨识部分和基于在线辨识结果的自适应控制部分内容。针对频域实时辨识,通过实时飞行仿真获取实时的飞行数据,首先对实时数据进行递推去趋势处理,对去趋势的结果进行分析,随后代入频域递推辨识程序,观察辨识结果的准确性,确定辨识精度。在控制仿真部分中,对比常规PID控制器与自适应动态逆控制器的控制效果,随后引进带有超前矫正的改进NDI控制器,对比三者控制效果,并验证改进自适应动态逆控制器的鲁棒性。最后给出包括实时频域辨识、改进自适应动态逆控制的全流程仿真,证明本发明方法可以满足实时运行的要求。In the simulation example of the method implementation in this part, it generally includes two major parts, namely the frequency domain online recursive identification part and the adaptive control part based on the online identification results. For real-time identification in the frequency domain, real-time flight data is obtained through real-time flight simulation. First, the real-time data is recursively detrended, and the results of detrending are analyzed. Then, it is substituted into the frequency domain recursive identification program to observe the accuracy of the identification results and determine the identification accuracy. In the control simulation part, the control effects of the conventional PID controller and the adaptive dynamic inverse controller are compared, and then the improved NDI controller with lead correction is introduced to compare the control effects of the three, and the robustness of the improved adaptive dynamic inverse controller is verified. Finally, a full-process simulation including real-time frequency domain identification and improved adaptive dynamic inverse control is given to prove that the method of the present invention can meet the requirements of real-time operation.

(1)输入初始状态,给定目标状态(1) Input the initial state and give the target state

表1仿真初始参数Table 1 Simulation initial parameters

Figure BDA0004096937000000111
Figure BDA0004096937000000111

目标状态为保持俯仰角11°平飞。The target state is to maintain level flight at a pitch angle of 11°.

(2)建立飞行动力学模型(2) Establishing a flight dynamics model

1)地面坐标系1) Ground coordinate system

取地面的某一点(飞机初始位置)作为原点Og,Ogxg轴处于水平面内沿着起飞方向,向前为正,Ogyg轴位于水平面内且与Ogxg轴垂直,向右为正,Ogzg轴垂直于地面,向下为正。Take a point on the ground (the initial position of the aircraft) as the origin O g , the O g x g axis is in the horizontal plane along the take-off direction, forward is positive, the O g y g axis is in the horizontal plane and perpendicular to the O g x g axis, right is positive, and the O g z g axis is perpendicular to the ground, downward is positive.

2)机体坐标系2) Body coordinate system

取飞机的质心作为机体坐标系的原点Ob,坐标系与飞机固连,Obxb轴与机身的轴线重合,并处于机身的纵向对称面内,向前为正,Obyb与纵向对称面垂直,向右为正,Obzb位于纵向对称面内与Obxb垂直,向下为正。Take the center of mass of the aircraft as the origin O b of the fuselage coordinate system. The coordinate system is fixed to the aircraft. The O b x b axis coincides with the axis of the fuselage and is in the longitudinal symmetry plane of the fuselage. The forward direction is positive. O b y b is perpendicular to the longitudinal symmetry plane and is positive to the right. O b z b is located in the longitudinal symmetry plane and is perpendicular to O b x b and is positive downward.

3)速度坐标系/气流坐标系3) Velocity coordinate system/airflow coordinate system

取飞机的质心作为坐标原点Oa,Oaxa与飞机空速方向一致,向前为正,Oaza轴垂直且位于纵向对称面内,向下为正,Oaya垂直于平面Oaxaza,向右为正。Take the center of mass of the aircraft as the coordinate origin Oa . Oaxa is consistent with the direction of the aircraft's airspeed, and is positive forward. The Oaza axis is vertical and located in the longitudinal symmetry plane, and is positive downward. Oaya is perpendicular to the plane Oaxaza , and is positive to the right.

4)航迹坐标系4) Track coordinate system

航迹坐标系与飞机固连,以飞机的质心为原点Os,Osxs指向飞机速度在飞机纵向对称面内的投影方向,Oszs轴在飞机纵向对称面内,垂直于轴指向飞机下,Osys轴垂直于平面并指向飞机右方。The track coordinate system is fixed to the aircraft, with the aircraft's center of mass as the origin Os , Osxs pointing to the projection direction of the aircraft 's velocity in the aircraft's longitudinal symmetry plane, Oszs axis in the aircraft's longitudinal symmetry plane, perpendicular to the axis and pointing down the aircraft, and Osys axis perpendicular to the plane and pointing to the right of the aircraft.

本发明用到几种坐标转换关系,分别是:The present invention uses several coordinate transformation relationships, which are:

1)从地面坐标系到机体坐标系的转换矩阵1) Transformation matrix from ground coordinate system to body coordinate system

Figure BDA0004096937000000121
Figure BDA0004096937000000121

2)从气流坐标系到机体坐标系的转换矩阵2) Transformation matrix from airflow coordinate system to body coordinate system

Figure BDA0004096937000000122
Figure BDA0004096937000000122

式中,θ、φ、ψ分别表示俯仰角、滚转角、偏航角,α表示迎角,β表示侧滑角。Where θ, φ, ψ represent the pitch angle, roll angle, and yaw angle respectively, α represents the angle of attack, and β represents the sideslip angle.

(1.2)飞机六自由度动力学建模(1.2) Aircraft six-degree-of-freedom dynamics modeling

飞机质心动力学方程可以表示为:The aircraft center of mass dynamics equation can be expressed as:

Figure BDA0004096937000000123
Figure BDA0004096937000000123

Figure BDA0004096937000000124
Figure BDA0004096937000000124

Figure BDA0004096937000000125
Figure BDA0004096937000000125

式中,m为飞机质量,V=[Vx Vy Vz]表示飞机速度在机体坐标系下的分量,Ω=[pq r]表示飞机角速度在机体坐标系下的分量,[Fx Fy Fz]表示飞机所受合外力在机体坐标系下的分量。变量上标为点表示该变量的导数,下同。Where m is the mass of the aircraft, V = [V x V y V z ] represents the component of the aircraft velocity in the body coordinate system, Ω = [pq r] represents the component of the aircraft angular velocity in the body coordinate system, and [F x F y F z ] represents the component of the total external force on the aircraft in the body coordinate system. The dot above a variable represents the derivative of the variable, and the same applies below.

结合飞机受力分析,飞机的质心动力学方程最终表示如下:Combined with the aircraft force analysis, the aircraft's center of mass dynamics equation is finally expressed as follows:

Figure BDA0004096937000000131
Figure BDA0004096937000000131

式中,G为飞机所受重力,D为阻力,L为升力,FAy为侧向力,φT为发动机安装角,FTy为发动机推力在Obyb轴的分量。In the formula, G is the gravity acting on the aircraft, D is the drag, L is the lift, F Ay is the lateral force, φ T is the engine installation angle, and F Ty is the component of the engine thrust on the O b y b axis.

飞机惯性矩阵I为:The aircraft inertia matrix I is:

Figure BDA0004096937000000132
Figure BDA0004096937000000132

在惯性矩阵中,Ixx、Iyy、Izz三项分别表示飞机绕机体轴Obxb、Obyb、Obzb三个轴的转动惯量,Ixy、Ixz、……Iyz分别为飞机绕机体坐标系各轴的惯量积。In the inertia matrix, the three items Ixx , Iyy , and Izz represent the moments of inertia of the aircraft around the three axes of the fuselage Obxb , Obyb , and Obzb , respectively, and Ixy , Ixz ,... Iyz are the products of inertia of the aircraft around the axes of the fuselage coordinate system.

角动量H方程为:The equation for angular momentum H is:

Figure BDA0004096937000000133
Figure BDA0004096937000000133

式中,Hx、Hy、Hz三项分别是角动量在机体坐标系下的分量。Wherein, H x , Hy , and H z are the components of angular momentum in the body coordinate system.

飞机绕质心运动可表示为:The motion of an aircraft around its center of mass can be expressed as:

Figure BDA0004096937000000134
Figure BDA0004096937000000134

式中,LA、MA、NA分别为气动力矩在机体坐标系下的分量,LT、MT、NT分别为推力产生的力矩在机体坐标系下的分量,重力由于过质心,故不产生力矩。Where LA , MA and NA are the components of aerodynamic torque in the body coordinate system, LT , MT and NT are the components of torque generated by thrust in the body coordinate system, and gravity does not generate torque because it passes through the center of mass.

(3)频域在线辨识流程仿真示例(3) Frequency domain online identification process simulation example

本实施例以飞机的俯仰力矩系数为例进行仿真。飞机的俯仰力矩系数可以通过线性化的方法简化为以下的形式,这里主要关注力矩,可以将其视为与一些飞行状态量有关,并且满足一种瞬时线性关系:This embodiment uses the pitch moment coefficient of an aircraft as an example for simulation. The pitch moment coefficient of an aircraft can be simplified into the following form by a linearization method. Here, we mainly focus on the moment, which can be regarded as being related to some flight state quantities and satisfying an instantaneous linear relationship:

Figure BDA0004096937000000141
Figure BDA0004096937000000141

式中,Cl、Cm、Cn分别是俯仰、偏航、滚转力矩系数,三个变量右下角标表示某一变量代表力矩系数对该变量的导数,右下角标为0代表本体构型造成的力矩系数,b代表翼展长度,c代表平均气动弦长。Where C l , C m , and C n are the pitch, yaw, and roll moment coefficients, respectively. The lower right subscripts of the three variables indicate that a certain variable represents the derivative of the moment coefficient with respect to the variable. The lower right subscript 0 represents the moment coefficient caused by the body configuration, b represents the wingspan, and c represents the average aerodynamic chord length.

有时等式右侧的建模项还包括一些高次项或者不同变量的耦合项,针对不同构型的飞机需要做出合适的调整以进行准确建模,在建模变量数和动态相应信息量二者之间做出权衡,从而达到既能准确辨识又能尽可能减少计算量的目的。Sometimes the modeling terms on the right side of the equation also include some higher-order terms or coupling terms of different variables. Appropriate adjustments need to be made for aircraft of different configurations to accurately model the aircraft, and a trade-off should be made between the number of modeling variables and the amount of dynamic response information, so as to achieve the purpose of accurate identification while minimizing the amount of calculation.

这里主要以俯仰力矩为例进行分析,定义变量为X为由直接从飞机传感器获取到的数据组成的向量,它包含以下内容:Here we mainly take the pitch moment as an example for analysis, and define the variable X as a vector composed of data directly obtained from the aircraft sensor, which contains the following content:

Figure BDA0004096937000000142
Figure BDA0004096937000000142

通过前面介绍的去趋势方法可以实现对数据的递推去趋势,完成去趋势后的向量定义为Xd,它的内容表达为如下:The detrending method introduced above can be used to achieve recursive detrending of data. The vector after detrending is defined as X d , and its content is expressed as follows:

Figure BDA0004096937000000143
Figure BDA0004096937000000143

经过去趋势的数据即可采用前面介绍的方法进行递推傅里叶变换,得到

Figure BDA0004096937000000144
其表达式为:The detrended data can be recursively Fourier transformed using the method described above to obtain
Figure BDA0004096937000000144
Its expression is:

Figure BDA0004096937000000151
Figure BDA0004096937000000151

在频域内,递推求解的问题可以表示为递推最小二乘的形式,表达式如下:In the frequency domain, the recursive solution problem can be expressed in the form of recursive least squares, as follows:

Figure BDA0004096937000000152
Figure BDA0004096937000000152

Figure BDA0004096937000000153
Figure BDA0004096937000000153

Figure BDA0004096937000000154
Figure BDA0004096937000000154

辨识结果的数值可以通过以下表达式求出:The numerical value of the identification result can be obtained by the following expression:

Figure BDA0004096937000000155
Figure BDA0004096937000000155

最终需要恢复去趋势环节中过滤掉的静态信息:Finally, it is necessary to restore the static information filtered out in the detrending process:

Figure BDA0004096937000000156
Figure BDA0004096937000000156

以纵向姿态控制为例,辨识结束之后,基于辨识结果可以进行控制舵面指令求解,公式为:Taking longitudinal attitude control as an example, after the identification is completed, the control surface command can be solved based on the identification results. The formula is:

Figure BDA0004096937000000157
Figure BDA0004096937000000157

在控制舵面施加主动激励信号可以激发飞机的动态特性,使得飞行数据中包含更多的信息,提高辨识的准确性,本发明由于只关注纵向俯仰力距辨识,因此只在升降舵上施加激励,激励表达式为:Applying active excitation signals to the control surfaces can stimulate the dynamic characteristics of the aircraft, so that the flight data contains more information and the accuracy of identification is improved. Since the present invention only focuses on the longitudinal pitch force identification, the excitation is only applied to the elevator. The excitation expression is:

Figure BDA0004096937000000158
Figure BDA0004096937000000158

式中,T为激励周期,对应的图像如图7所示:Where T is the excitation period, and the corresponding image is shown in Figure 7:

本发明选取的辨识阶段飞行状态如图8所示:The flight state of the identification phase selected by the present invention is shown in FIG8 :

飞行高度约为5000m,速度约为150m/s,在水平飞行状态进行动力学辨识。The flight altitude is about 5000m, the speed is about 150m/s, and dynamic identification is performed in horizontal flight state.

采用4阶巴特沃斯高通滤波器,滤波器相关信息表示如下:A 4th-order Butterworth high-pass filter is used, and the filter-related information is expressed as follows:

表2滤波器状态Table 2 Filter status

Figure BDA0004096937000000161
Figure BDA0004096937000000161

首先需要对数据进行去趋势处理,为了实现实时辨识,这里采用递推去趋势方法,处理前后数据的对比如图9所示。First, the data needs to be detrended. In order to achieve real-time identification, a recursive detrending method is used here. The comparison of the data before and after processing is shown in Figure 9.

图中,实线代表未经处理的原始数据,当数据存在常值分量或者与时间线性相关的分量事,将无法进行辨识。在上图中,可以明显地看出,攻角、升降舵角度都存在明显的常值分量,因此必须对这些数据进行处理。相对而言,其他两项则偏差较小,但是也需要进行处理。In the figure, the solid line represents the unprocessed raw data. When the data has a constant component or a component that is linearly related to time, it will not be able to be identified. In the above figure, it can be clearly seen that the angle of attack and the elevator angle have obvious constant components, so these data must be processed. Relatively speaking, the other two items have smaller deviations, but they also need to be processed.

图中虚线为实时递推去趋势的结果,为了更加直观地观察去趋势效果,在仿真结束后,离线采用更为准确的批处理去趋势方法进行数据处理,并将所有结果展示在一张图片中,必须指出,这种批处理方法不满足实时运行的需求,因为它需要对所有的飞行数据进行同时处理,如果在每一次获取数据后都对之前所有的数据进行批处理也可以达到类似递推方法的效果,但是这样会造成非常大的计算量,对飞机的硬件计算能力提出很高的要求。离线批处理的结果用蓝色虚线表示,从图中可以明显看出,递推方法需要经过20秒左右的时间才能收敛痣与批处理方法相同的精度,这是因为在初始时刻,飞行数据非常少,无法准确的识别出飞行数据中包含的常值分量。The dotted line in the figure is the result of real-time recursive detrending. In order to observe the detrending effect more intuitively, after the simulation, a more accurate batch detrending method is used offline to process the data, and all the results are displayed in a picture. It must be pointed out that this batch processing method does not meet the requirements of real-time operation, because it requires all flight data to be processed simultaneously. If all previous data are batch processed after each data acquisition, the effect similar to the recursive method can be achieved, but this will cause a very large amount of calculation and put forward high requirements on the hardware computing power of the aircraft. The result of offline batch processing is represented by the blue dotted line. It can be clearly seen from the figure that the recursive method needs about 20 seconds to converge to the same accuracy as the batch processing method. This is because at the initial moment, there are very few flight data and it is impossible to accurately identify the constant components contained in the flight data.

通过本实施例可知,采用递推实时去趋势方法时,需要在开始去趋势处理后,等待一段时间才可以开展递推气动辨识,具体的等待时间长度要通过飞行数据分析来确定,这里采用的等待时间是20秒。It can be seen from this embodiment that when the recursive real-time detrending method is used, it is necessary to wait for a period of time after starting the detrending process before carrying out the recursive aerodynamic identification. The specific waiting time length is determined by flight data analysis. The waiting time used here is 20 seconds.

完成去趋势之后就可以进行频域递推辨识,图10和图11辨识结果:After detrending, recursive identification in the frequency domain can be performed. The identification results are shown in Figures 10 and 11:

在等待实时滤波器收敛阶段,人为设置辨识结果为0,为了保证辨识结果在开始递推时刻出现较大的波动,取前90个样本进行一次批处理,并以该结果为初始值进行后续的递推,同样地,在等待批处理的数据收集阶段,人为设置辨识结果为0。While waiting for the real-time filter to converge, the identification result is manually set to 0. In order to ensure that the identification result does not fluctuate greatly at the beginning of the recursion, the first 90 samples are taken for batch processing, and the result is used as the initial value for subsequent recursion. Similarly, while waiting for the data collection stage of batch processing, the identification result is manually set to 0.

在图中,可以看到经过批处理之后得到的初始值误差已经非常小,并且在后续的递推过程中没有出现偏离现象,可以说明辨识迅速,收敛性好,误差小。为了更加明显地说明辨识精度,选取开始递推后的一段时间,将参数辨识相对误差求平均数,计算结果展示在下表中:In the figure, we can see that the error of the initial value obtained after batch processing is already very small, and there is no deviation in the subsequent recursive process, which shows that the identification is fast, the convergence is good, and the error is small. In order to more clearly illustrate the identification accuracy, a period of time after the start of recursion is selected to average the relative error of parameter identification, and the calculation results are shown in the following table:

表3气动参数辨识相对误差Table 3 Relative error of aerodynamic parameter identification

Figure BDA0004096937000000171
Figure BDA0004096937000000171

(4)基于实时气动参数辨识的自适应动态逆控制仿真(4) Adaptive dynamic inversion control simulation based on real-time aerodynamic parameter identification

首先对常规构型自适应动态逆控制器进行仿真验证,探究在阶跃指令下自适应动态逆控制器和PID控制器的控制效果对比。这里首先进行上一部分的气动辨识环节,包括递推去趋势和实时递推辨识两部分在完成辨识之后才进行控制方法的转换,最后通过给出阶跃俯仰角指令,分别在PID和自适应动态逆控制模式下进行阶跃俯仰角指令的跟踪观察跟踪效果。本部分的仿真都按照这样的流程进行,但是由于上一部分已经对辨识的精度进行过详细的探究和说明,故本章只展示指令跟踪部分的图像。First, the conventional configuration adaptive dynamic inverse controller is simulated and verified, and the control effect comparison between the adaptive dynamic inverse controller and the PID controller under the step command is explored. Here, the aerodynamic identification link in the previous part is first carried out, including the recursive detrending and real-time recursive identification. The control method is converted only after the identification is completed. Finally, by giving a step pitch angle command, the step pitch angle command is tracked and observed in the PID and adaptive dynamic inverse control modes respectively. The simulation of this part is carried out according to this process, but since the accuracy of the identification has been explored and explained in detail in the previous part, this chapter only shows the image of the command tracking part.

仿真图12、13、14中,可以明显看出,相比于PID控制器,自适应动态逆控制器有着更快的响应速度和更小的超调量,从升降舵偏转角度图像和俯仰角速度图像可以看出,自适应动态逆控制器在控制飞机跟踪阶跃俯仰角指令时,能够同时实现更大角度的舵面偏转量和更快的调节响应,从而达到更好的控制效果。为了从数值上比较两者的差异,选取上升时间、峰值时间、超调量三个指标对二者的控制效果进行定量比较。It can be clearly seen from simulation figures 12, 13, and 14 that the adaptive dynamic inverse controller has a faster response speed and a smaller overshoot than the PID controller. From the elevator deflection angle image and the pitch angle velocity image, it can be seen that the adaptive dynamic inverse controller can simultaneously achieve a larger angle of rudder deflection and a faster adjustment response when controlling the aircraft to track the step pitch angle command, thereby achieving a better control effect. In order to compare the difference between the two numerically, the three indicators of rise time, peak time, and overshoot are selected to quantitatively compare the control effects of the two.

表4PID控制器与自适应动态逆控制器控制效果比较Table 4 Comparison of control effects between PID controller and adaptive dynamic inverse controller

Figure BDA0004096937000000181
Figure BDA0004096937000000181

定量分析显示,在三个指标上,自适应动态逆都有比PID控制器更好的控制效果。控制器Quantitative analysis shows that the adaptive dynamic inversion controller has better control effects than the PID controller in terms of the three indicators.

(5)基于实时气动参数辨识的改进自适应动态逆控制仿真(5) Improved adaptive dynamic inversion control simulation based on real-time aerodynamic parameter identification

在相同的条件下进行改进自适应动态逆控制方法的仿真验证,同样地,也采用了包括递推去趋势、辨识以及阶跃俯仰角指令的全部环节,并只展示阶跃指令跟踪阶段的图像。The simulation verification of the improved adaptive dynamic inverse control method was carried out under the same conditions. Similarly, all the links including recursive detrending, identification and step pitch angle command were adopted, and only the image of the step command tracking stage was displayed.

图15、16、17展示了改进自适应动态逆控制方法、常规自适应动态逆控制以及PID控制的阶跃响应跟踪效果。Figures 15, 16 and 17 show the step response tracking effects of the improved adaptive dynamic inverse control method, conventional adaptive dynamic inverse control and PID control.

仿真图中可以看出,相比于PID控制器和自适应动态逆控制器,改进自适应动态逆控制器在响应速度和超调量方面有着进一步的提升,同样,从升降舵偏转角度图像和俯仰角速度图像可以看出,改进自适应动态逆控制器有着更好的升降舵偏转角的响应效果。为了从数值上比较两者的差异,选取上升时间、峰值时间、超调量三个指标对三者的控制效果进行定量比较。It can be seen from the simulation diagram that compared with the PID controller and the adaptive dynamic inverse controller, the improved adaptive dynamic inverse controller has further improved the response speed and overshoot. Similarly, from the elevator deflection angle image and the pitch angular velocity image, it can be seen that the improved adaptive dynamic inverse controller has a better response effect of the elevator deflection angle. In order to compare the difference between the two numerically, the three indicators of rise time, peak time and overshoot are selected to quantitatively compare the control effects of the three.

表5PID控制器、自适应动态逆控制器和改进自适应动态逆控制器控制效果比较Table 5 Comparison of control effects of PID controller, adaptive dynamic inverse controller and improved adaptive dynamic inverse controller

Figure BDA0004096937000000182
Figure BDA0004096937000000182

通过上述分析,可以得出结论:本发明改进自适应动态逆控制相比常规自适应动态逆控制而言有更好的控制效果。Through the above analysis, it can be concluded that the improved adaptive dynamic inverse control of the present invention has a better control effect than the conventional adaptive dynamic inverse control.

Claims (1)

1. The aircraft self-adaptive control method based on the online frequency domain recursion identification is characterized by comprising an online recursion frequency domain pneumatic parameter identification method and an improved self-adaptive interference suppression control method; the method comprises the following steps:
(1) Six-degree-of-freedom dynamics modeling of aircraft
The aircraft centroid dynamics equation is expressed as:
Figure FDA0004096936980000011
Figure FDA0004096936980000012
Figure FDA0004096936980000013
wherein m is aircraft mass, V= [ V ] x V y V z ]Representing the component of the aircraft speed in the body coordinate system, Ω= [ pqr ]]Representing the component of the angular velocity of an aircraft in the body coordinate system, [ F ] x F y F z ]Representing the components of the combined external force applied by the aircraft under the coordinate system of the aircraft body; the variable superscript indicates the derivative of the variable;
in connection with aircraft stress analysis, the mass dynamics equation of the aircraft is finally expressed as follows:
Figure FDA0004096936980000014
wherein G is the gravity of the aircraft, D is the resistance, L is the lift,
Figure FDA0004096936980000015
is a lateral force phi T For engine mounting angle->
Figure FDA0004096936980000016
For engine thrust at O b y b A component of the shaft;
the aircraft inertia matrix I is:
Figure FDA0004096936980000017
in the inertial matrix, I xx 、I yy 、I zz Respectively represent the axis O of the aircraft around the aircraft body b x b 、O b y b 、O b z b Moment of inertia of three axes, I xy 、I xz 、……I yz The inertia products of the aircraft around each axis of the machine body coordinate system are respectively calculated;
the angular momentum H equation is:
Figure FDA0004096936980000018
in the formula ,Hx 、H y 、H z The components of the angular momentum under the machine body coordinate system are respectively;
the movement of the aircraft around the centroid is expressed as:
Figure FDA0004096936980000021
in the formula ,LA 、M A 、N A Components of aerodynamic moment under the machine body coordinate system, L T 、M T 、N T The components of the moment generated by the thrust under the machine body coordinate system are respectively, and the gravity is not generated due to the fact that the gravity passes through the center of mass;
(2) Frequency domain online recursion identification method
The frequency domain online recursion identification comprises three parts of contents of multi-sine control surface excitation, data trend removal and CZT conversion; after the aircraft reaches a preset flight state, applying an excitation signal to a control surface, acquiring sensor data, and calculating aerodynamic force or moment coefficient; carrying out data trending on the acquired data and the calculated pneumatic coefficient, removing the data which has a linear relation with time, retaining a dynamic component, then converting the data from a time domain into a frequency domain frequency band of interest through CZT conversion, carrying out recursive least square identification, recovering static information after an identification result is obtained, obtaining a final identification result, and judging whether the identification is converged or not; the three parts are specifically as follows:
(2.1) multiple sinusoidal control surface excitation:
a control surface excitation signal which is input by multi-sine superposition is adopted, and the signal is superposed with a control instruction to be used as a final control surface deflection instruction; the form of the multi-sinusoidal excitation input is:
Figure FDA0004096936980000022
the disturbance input applied to the j-th control plane is u j Is a sine wave harmonic phi with a single phase shift k Sum up; where m is the total number of available harmonically related frequencies and T is the length of time of excitation; a is that k Is the amplitude of the kth sine wave component, and t is the time vector;
(2.2) data trending:
in order to meet the real-time control of the aircraft, a fourth-order Baud Wo Sigao pass filter is adopted for trending;
the expression of the filter is written as a differential equation of the rational transfer function:
a(1)y(n)=b(1)x(n)+b(2)x(n-1)+…+b(n b +1)x(n-n b )-a(2)y(n-1)-…-a(n a +1)y(n-n a )
in the formula ,na Is the order of the feedback filter, n b Is the order of the feedforward filter, a (i) represents the denominator coefficient of the rational transfer function vector, b (i) represents the numerator coefficient of the rational transfer function vector, x (i) is the input data, and y (i) is the filtered data;
(2.3) CZT conversion:
when converting the time domain data into the frequency domain, adopting a CZT method; the CZT transformation steps are as follows:
first two L-point sequences g (n) and h (n) are constructed:
Figure FDA0004096936980000031
Figure FDA0004096936980000032
wherein L satisfies L.gtoreq.N+M-1, and L=2 M M is an integer, A, W is expressed as:
Figure FDA0004096936980000033
Figure FDA0004096936980000034
A 0 represents the initial sampling point radius, θ 0 Indicating the phase angle of the initial sampling point,
Figure FDA0004096936980000035
represents the equal division angle of two adjacent points, W 0 Representing the helix stretching rate;
then fourier transforms G (k) and H (k) of G (n) and H (n), respectively, are calculated, and Y (k) =g (k) H (k) is calculated;
then calculate the L-point Fourier inverse transform X (z) of Y (k) k ):
Figure FDA0004096936980000036
The CZT transformation process needs to adopt recursive finite Fourier transformation at the same time to realize the effect of real-time identification, and the latter moment X i (ω) is expressed as:
X i (ω)=X i-1 (ω)+x(i)e -jωiΔt
wherein
e -jωiΔt =e -jωΔt e -jω(i-1)Δt
(3) Adaptive interference suppression control
(3.1) an adaptive interference suppression controller:
to track the commands for each variable, nonlinear dynamic inversion is employed in turn to generate commands for faster variables using time scale separation of the variables; the dynamic inversion of the outermost loop is to convert the instruction of the track inclination angle χ and the track deflection angle γ into an instruction of θ and φ; for linear tracking, the required control derivative is proportional to the error between the variable and its command, and the roll angle command generated by the inverse process is, according to the system of kinetic equations:
Figure FDA0004096936980000041
in the formula ,χc and γc Is the instruction of track inclination angle and track deflection angle theta c and φc For the theta and phi instructions, the right lower corner mark of the variable represents the instruction value of the change amount, and the following is that V is the gravity combined speed, g is the local gravity acceleration, K χ Controlling gain for the outer loop;
the track tilt derivative is expressed as:
Figure FDA0004096936980000042
the two types of the combination are simplified to obtain:
Figure FDA0004096936980000043
the method is obtained by solving a formula according to a first-order linear non-homogeneous differential equation:
Figure FDA0004096936980000044
in a certain time period, χ converges to the track inclination instruction χ c X (0) is the initial value of the track inclination angle;
the dynamic inversion of the inner loop slow loop is to solve the dynamic inversion instruction of the next step according to
Figure FDA0004096936980000045
Instructions of theta and beta solve instructions of p, q and r, and according to a dynamics equation: then there is the following instruction form:
Figure FDA0004096936980000051
wherein ,Kφ 、K β 、K θ Gain is controlled for the angular velocity loop;
and (3) bringing the control command back to a dynamics equation to obtain:
Figure FDA0004096936980000052
the method is obtained by solving a formula according to a first-order linear non-homogeneous differential equation:
Figure FDA0004096936980000053
obtaining a time domain response function which is the same as the track angular form and can achieve convergence in a certain time;
solving the inverse of the kinetic equation that tracks these angular rate command inner loops, produces the required angular acceleration proportional to the angular rate error, yielding:
Figure FDA0004096936980000054
in the formula ,
Figure FDA0004096936980000055
is made of flyingDetermining a current identification model of the machine, namely determining a current identification result obtained by the method of the step (2) and a pitching moment reversely solved by a sensor instruction; k (K) q For angular velocity control gain, M δ,c A rudder deflection moment command is controlled;
substituting control moment command into
Figure FDA0004096936980000056
Can be obtained in the kinetic equation of (a):
Figure FDA0004096936980000057
wherein M is a moment value obtained by a sensor;
(3.2) improving the adaptive interference suppression controller:
an improved self-adaptive dynamic inverse control method is introduced to improve the control effect under the condition that the pneumatic identification result has errors; the method comprises the following steps:
considering that the change in the air flow angle [ αβμ ] is slow relative to the change in the angular velocity [ pqr ], where μ is the track roll angle, the system is thus divided into a slow-varying subsystem and a fast-varying subsystem, in a slow loop:
Figure FDA0004096936980000061
in the formula ,ωαd 、ω βd 、ω μd Respectively [ alpha beta mu ]]The frequency of the corresponding bandwidth is chosen to be the frequency of the corresponding bandwidth,
Figure FDA0004096936980000062
expected dynamic response for the corresponding variable for the lower right corner mark in the slow loop;
because of uncertainty of the pneumatic model, the response speed of the conventional dynamic inverse method is low, so that an error of command tracking is brought, and the situation is improved through a series lead correction link, so that a slow loop expects the system to write as follows:
Figure FDA0004096936980000063
wherein G(s) is an advance correction device:
Figure FDA0004096936980000064
ω C omega is the complex plane pole position D The zero position is the zero position, and the name of the variable is identified by the right lower angle of the zero pole and corresponds to the variable; when selecting parameters, ω CD In the case of G(s) being the leading element, when ω CD G(s) is a hysteresis, and therefore ω is taken CD
After the lead correction link is introduced, the lead correction link is required to be realized in discrete control simulation, so that the transfer function of the lead link is subjected to relevant discretization;
the lead link is added when the nominal angular rate is solved in the slow loop; the slow loop angular rate solver is expressed as:
q c =K θc -θ)
after the advance link is added, the expression becomes:
Figure FDA0004096936980000071
wherein ,
Figure FDA0004096936980000074
for improved desired angular velocity;
written in the form of the time domain:
Figure FDA0004096936980000072
the approximate difference is used for replacing the differential, and the nominal angular rate after the advance link is added is obtained by arrangement:
Figure FDA0004096936980000073
CN202310168326.4A 2023-02-27 2023-02-27 Airplane self-adaptive control method based on online frequency domain recursion identification Active CN116165896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310168326.4A CN116165896B (en) 2023-02-27 2023-02-27 Airplane self-adaptive control method based on online frequency domain recursion identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310168326.4A CN116165896B (en) 2023-02-27 2023-02-27 Airplane self-adaptive control method based on online frequency domain recursion identification

Publications (2)

Publication Number Publication Date
CN116165896A true CN116165896A (en) 2023-05-26
CN116165896B CN116165896B (en) 2023-10-20

Family

ID=86418030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310168326.4A Active CN116165896B (en) 2023-02-27 2023-02-27 Airplane self-adaptive control method based on online frequency domain recursion identification

Country Status (1)

Country Link
CN (1) CN116165896B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6341247B1 (en) * 1999-12-17 2002-01-22 Mcdonell Douglas Corporation Adaptive method to control and optimize aircraft performance
CN103995463A (en) * 2014-05-30 2014-08-20 北京敬科海工科技有限公司 Method for performing position servo driving on electro-hydraulic proportional valve based on hybrid control
CN104635492A (en) * 2014-12-19 2015-05-20 中国科学院长春光学精密机械与物理研究所 Parametric adaptive feed-forward control method of guide head stabilizing platform
CN110187713A (en) * 2019-04-12 2019-08-30 浙江大学 A Longitudinal Control Method of Hypersonic Vehicle Based on Online Identification of Aerodynamic Parameters
CN113625555A (en) * 2021-06-30 2021-11-09 佛山科学技术学院 Adaptive inverse control AGV rotation speed control method based on recursive subspace identification
CN115048724A (en) * 2022-06-27 2022-09-13 南京航空航天大学 B-type spline-based method for online identification of aerodynamic coefficient of variant aerospace vehicle
CN115169002A (en) * 2022-07-06 2022-10-11 哈尔滨工业大学 Time-varying parameter identification method for straight-air compound flight control system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6341247B1 (en) * 1999-12-17 2002-01-22 Mcdonell Douglas Corporation Adaptive method to control and optimize aircraft performance
CN103995463A (en) * 2014-05-30 2014-08-20 北京敬科海工科技有限公司 Method for performing position servo driving on electro-hydraulic proportional valve based on hybrid control
CN104635492A (en) * 2014-12-19 2015-05-20 中国科学院长春光学精密机械与物理研究所 Parametric adaptive feed-forward control method of guide head stabilizing platform
CN110187713A (en) * 2019-04-12 2019-08-30 浙江大学 A Longitudinal Control Method of Hypersonic Vehicle Based on Online Identification of Aerodynamic Parameters
CN113625555A (en) * 2021-06-30 2021-11-09 佛山科学技术学院 Adaptive inverse control AGV rotation speed control method based on recursive subspace identification
CN115048724A (en) * 2022-06-27 2022-09-13 南京航空航天大学 B-type spline-based method for online identification of aerodynamic coefficient of variant aerospace vehicle
CN115169002A (en) * 2022-07-06 2022-10-11 哈尔滨工业大学 Time-varying parameter identification method for straight-air compound flight control system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
鲁兴举 等: "基于递推傅里叶变换的飞行器参数在线辨识方法", 航空学报, vol. 35, no. 2, pages 532 - 540 *

Also Published As

Publication number Publication date
CN116165896B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
CN106325291B (en) Sliding mode control law and ESO (electronic stability program) based four-rotor aircraft attitude control method and system
Scott et al. Active control of wind-tunnel model aeroelastic response using neural networks
CN107357166B (en) Model-free self-adaptive robust control method of small unmanned helicopter
CN108595756B (en) Method and device for large envelope flight interference estimation
CN108594837A (en) Model-free quadrotor UAV trajectory tracking controller and method based on PD-SMC and RISE
CN113128035B (en) Fault-tolerant control method for civil aircraft flight control sensor signal reconstruction
CN106681345A (en) Crowd-searching-algorithm-based active-disturbance-rejection control method for unmanned plane
CN112180965A (en) High-precision overload control method
CN106527462A (en) Unmanned aerial vehicle (UAV) control device
CN113961010A (en) Four-rotor plant protection unmanned aerial vehicle tracking control method based on anti-saturation finite time self-adaptive neural network fault-tolerant technology
CN117094075A (en) Design method of HSV controller with preset convergence time and tracking error
Zhou et al. Neural network/PID adaptive compound control based on RBFNN identification modeling for an aerial inertially stabilized platform
CN116360255A (en) A non-linear parametric adaptive control method for hypersonic vehicles
Fu et al. Finite-time observer based predefined-time aircraft attitude tracking control
Li et al. Application of neural network based on real-time recursive learning and Kalman filter in flight data identification
CN113759718B (en) Self-adaptive control method for aircraft wing damage
Moin et al. State space model of an aircraft using Simulink
CN116165896A (en) An Aircraft Adaptive Control Method Based on Online Frequency Domain Recursive Identification
Pak et al. New time-domain technique for flutter boundary identification
Haley et al. Generalized predictive control for active flutter suppression
Suh et al. Modal filtering for control of flexible aircraft
CN117850223A (en) Method and system for designing disturbance rejection control law of aircraft
Sobolic et al. Aerodynamic-free adaptive control of the NASA generic transport model
CN112327897B (en) A quadrotor UAV attitude control method with input dead zone
CN103809444B (en) Aircraft multiloop model bunch man-machine loop's PID robust Controller Design method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant