Hammerstein模型由一个非线性无记忆部分和一个线性动态系统组成,在许多工程问题中得到广泛应用,因此多年以来,Hammerstein模型辨识一直是一个活跃的研究领域 [1⁃6]。辨识Hammerstein系统有很多方法[7⁃14],包括过参数化法、随机法、可分离最小二乘法、盲法、频域法、子空间法、迭代法和递阶法等。
笔者重点研究了基于递阶辨识原理的方法[8], 将Hammerstein模型分解为2个子系统:一个子系统包含线性子系统参数,另一个子系统包含非线性子系统参数。基于递阶辨识原理的方法的特点是这2个子系统包含的未知参数最少,与过参数化方法相比具有更高计算效率。大量递阶Hammerstein模型辨识方法已被相继提出[15⁃18]。
基于递阶辨识原理,提出基于遗忘因子[19]和有限数据窗的最小二乘法算法,对Hammerstein模型进行递归辨识。该方法同时保留了遗忘因子最小二乘法和有限数据窗最小二乘法的优点,因此,该方法能够快速跟踪估计参数。提出的基于递阶原理的Hammerstein模型辨识方法的优点在于它能够快速地跟踪Hammerstein模型中的参数,并且比基于过参数化模型的算法具有更高计算效率[20⁃22]。
考虑如图1所示的Hammerstein非线性系统,由下式描述:
式中:和分别是时刻系统的输入数据和输出数据;是零均值的不相关的随机噪声;是系统内部的过程变量,由未知系数和已知基函数的线性组合描述,其中是基函数的条目;和分别是多项式和的阶次,其中,。本研究的任务是通过利用输入数据和输出数据来辨识未知参数ai,和。
Fig. 1 The Hammerstein system
用单位推移算子来重写式(1)和式(2)(即),得到
定义线性子系统的参数向量a、b和非线性部分的参数向量c如下:
关于参数向量c,给出如下假设。
假设1.,并且向量c的第一项是正的。也就是说,函数的第一个系数是正的,即。
基于式(3)和式(4),可得
式中:
为了识别系统并避免使用具有更高计算效率的过参数化方法[20⁃22],使用递阶辨识原理[15⁃18]将式(5)所示的Hammerstein系统分解为如下所示的2个子系统:
式中:
;
;
;
;
式中,p为过去的水平数。定义加权数据矩阵和加权输出向量
式中,遗忘因子。
为了辨识未知的系统参数a、b和c,定义如下的2个损失函数:
令J1和J2对θ和ϑ的导数为0,有
θ和ϑ的最小二乘估计值由下式给出:
类似于(17)和(18),有
类似于(8)~(12),定义
定义矩阵
由式(29)~(34)得
把式(29)~(34)带入式(19)~(20)中,有
通过上述等式,可以得到如下FF-FDW-RLS算法:
由于式(47)~(54)中包含了未知参数a、b、c,这些未知参数是无法使用的。用估计值 、、来代替真实值[23]:
为了初始化FF-FDW-RLS算法,取,或一些小的实数向量,例如,,,其中是元素全为1的n维列向量;,,,,其中是单位矩阵,是很大的正数,例如。
随着增加,用FF-FDW-RLS 算法计算和的步骤如下。
1) 采集输入输出数据,选择数据长度和遗忘因子,得到,。
2) 通过式(55)和(59),计算和。
3) 如果, 则终止程序并得到参数估计值;否则,递增1并转到步骤3。
考虑参考文献[24]中的Hammerstein系统如下:
其中输入采用均值为0、方差为1的白噪声,噪声是均值为0、方差为0.01或0.04的白噪声。取p=10,遗忘因子λ=0.98。用所提出的算法和H-MISG 算法[24](p=10,λ=0.98)来估计这个系统的参数。图1和图2分别表示在噪声方差为0.01和0.04的情况下,参数估计的误差与t的关系。可以看出,与参考文献[24]中提出的H-MISG算法相比,本研究中的方法可以快速跟踪估计的参数,可以提高识别精度和收敛速度。
图2 噪声方差为0.01时,参数估计误差与t的关系
Fig. 2 Parameter estimation errors of versus t for noise variance of 0.01
图3 噪声方差为0.04时,参数估计误差与t的关系
Fig. 3 The parameter estimation errors of versus t for noise variances of 0.04
提出了一种基于遗忘因子的分解递归有限数据窗口最小二乘法来识别Hammerstein系统,该方法同时保留了FF-LS和FDW-LS的优点,能够快速跟踪参数实现对Hammerstein系统的精确有效辨识,通过仿真实验验证了本文方法的有效性,和现有方法相比,通过引入窗口遗忘因子得到了较快的跟踪效果。
参考文献
1 Greblicki W, Pawlak M. The weighted nearest neighbor estimate for Hammerstein system identification[J]. IEEE Transactions on Automatic Control, 2019, 64(4): 1550-1565. [百度学术]
2 Bao Y, Wang L Y, Wang C S, et al. Hammerstein models and real-time system identification of load dynamics for voltage management[J]. IEEE Access, 2018, 6: 34598-34607. [百度学术]
3 Ávila F R, Duarte L T, Biscainho L W P. On the sparsity-based identification and compensation of Hammerstein systems[J]. IEEE Signal Processing Letters, 2017, 24(9): 1363-1367. [百度学术]
4 Mu B Q, Chen H F, Wang L Y, et al. Recursive identification of Hammerstein systems: convergence rate and asymptotic normality[J]. IEEE Transactions on Automatic Control, 2017, 62(7): 3277-3292. [百度学术]
5 Alonge F, Rabbeni R, Pucci M, et al. Identification and robust control of a quadratic DC/DC boost converter by Hammerstein model[J]. IEEE Transactions on Industry Applications, 2015, 51(5): 3975-3985. [百度学术]
6 Scarpiniti M, Comminiello D, Parisi R, et al. Hammerstein uniform cubic spline adaptive filters: learning and convergence properties[J]. Signal Processing, 2014, 100: 112-123. [百度学术]
7 Greblicki W, Pawlak M. Hammerstein system identification with the nearest neighbor algorithm[J]. IEEE Transactions on Information Theory, 2017, 63(8): 4746-4757. [百度学术]
8 Ding F, Chen T W. Identification of Hammerstein nonlinear ARMAX systems[J]. Automatica, 2005, 41(9): 1479-1489. [百度学术]
9 Pouliquen M, Pigeon E, Gehan O. Identification scheme for Hammerstein output error models with bounded noise[J]. IEEE Transactions on Automatic Control, 2016, 61(2): 550-555. [百度学术]
10 Risuleo R S, Bottegal G, Hjalmarsson H. A nonparametric kernel-based approach to Hammerstein system identification[J]. Automatica, 2017, 85: 234-247. [百度学术]
11 Wang D Q, Chu Y Y, Yang G W, et al. Auxiliary model based recursive generalized least squares parameter estimation for Hammerstein OEAR systems[J]. Mathematical and Computer Modelling, 2010, 52(1/2): 309-317. [百度学术]
12 Zhang L M, Hua C C, Guan X P. Structure and parameter identification for Bayesian Hammerstein system[J]. Nonlinear Dynamics, 2015, 79(3): 1847-1861. [百度学术]
13 Bai E W, Li D. Convergence of the iterative Hammerstein system identification algorithm[J]. IEEE Transactions on Automatic Control, 2004, 49(11): 1929-1940. [百度学术]
14 Yu C P, Zhang C S, Xie L H. A new deterministic identification approach to Hammerstein systems[J]. IEEE Transactions on Signal Processing, 2014, 62(1): 131-140. [百度学术]
15 Wang Z Y, Wang Y, Ji Z C. Hierarchical recursive least squares algorithm for Hammerstein systems using the filtering method[J]. Nonlinear Dynamics, 2014, 77(4): 1773-1781. [百度学术]
16 Chen H B, Xiao Y S, Ding F. Hierarchical gradient parameter estimation algorithm for Hammerstein nonlinear systems using the key term separation principle[J]. Applied Mathematics and Computation, 2014, 247: 1202-1210. [百度学术]
17 Chen H B, Ding F. Hierarchical least squares identification for Hammerstein nonlinear controlled autoregressive systems[J]. Circuits, Systems, and Signal Processing, 2015, 34(1): 61-75. [百度学术]
18 Wang D Q. Hierarchical parameter estimation for a class of MIMO Hammerstein systems based on the reframed models[J]. Applied Mathematics Letters, 2016, 57: 13-19. [百度学术]
19 Ding F, Xiao Y S. A finite-data-window least squares algorithm with a forgetting factor for dynamical modeling[J]. Applied Mathematics and Computation, 2007, 186(1): 184-192. [百度学术]
20 Wang J D, Zhang Q H, Ljung L. Revisiting Hammerstein system identification through the two-stage algorithm for bilinear parameter estimation[J]. Automatica, 2009, 45(11): 2627-2633. [百度学术]
21 Zhang J, Chin K S, Ławryńczuk M. Nonlinear model predictive control based on piecewise linear Hammerstein models[J]. Nonlinear Dynamics, 2018, 92(3): 1001-1021. [百度学术]
22 Chaudhary N I, Raja M A Z. Identification of Hammerstein nonlinear ARMAX systems using nonlinear adaptive algorithms[J]. Nonlinear Dynamics, 2015, 79(2): 1385-1397. [百度学术]
23 Ding F, Shi Y, Chen T W. Auxiliary model-based least-squares identification methods for Hammerstein output-error systems[J]. Systems & Control Letters, 2007, 56(5): 373-380. [百度学术]
24 Ding F. Hierarchical multi-innovation stochastic gradient algorithm for Hammerstein nonlinear system modeling[J]. Applied Mathematical Modelling, 2013, 37(4): 1694-1704. [百度学术]