






摘要:提出一種帶遺忘因子和分解辨識策略的有限數(shù)據(jù)窗口遞歸最小二乘Hammerstein系統(tǒng)辨識方法。針對Hammerstein系統(tǒng)具有耦合參數(shù)的問題,將Hammerstein系統(tǒng)分解為2個子系統(tǒng):一個子系統(tǒng)包含線性子系統(tǒng)參數(shù),另一個子系統(tǒng)包含非線性子系統(tǒng)參數(shù);提出一種基于遺忘因子的有限窗口遞歸最小二乘方法對分解模型進(jìn)行在線遞歸估計;仿真示例驗(yàn)證了所提算法能夠快速跟蹤參數(shù),實(shí)現(xiàn)對Hammerstein系統(tǒng)的精確辨識。
關(guān)鍵詞:Hammerstein系統(tǒng);遞歸辨識;最小二乘法;遺忘因子
中圖分類號:N945.14" " " " " "文獻(xiàn)標(biāo)志碼:A" " " " "文章編號:1000-582X(2023)07-036-08
Identification of Hammerstein systems using decomposition based finite-data-window recursive least squares method with a forgetting factor
ZHANG Yangming1, SU Hao2, LIU Jawei2
(1. General Key Laboratory of Complex System Simulation, Beijing 100000, P. R. China; 2. School of Automation, Chongqing University of Posts and Telecommunications, Chongqing 400065, P. R. China)
Abstract: In this paper, a decomposition based recursive finite-data-window least squares identification method with a forgetting factor is proposed for Hammerstein systems. The proposed method aims to identify the parameters of Hammerstein systems by decomposing them into two subsystems, one involving linear subsystem parameters, and the other containing the nonlinear subsystem parameters. To achieve this, a two-step finite-data-window recursive least squares method with a forgetting factor is developed. To verify the effectiveness and merits of the proposed algorithm, a simulation example is provided, demonstrating that the proposed algorithm can quickly track parameters and accurately and effectively identify Hammerstein systems.
Keywords: Hammerstein systems; recursive identification; least-squares method; forgetting factor
Hammerstein模型由一個非線性無記憶部分和一個線性動態(tài)系統(tǒng)組成,在許多工程問題中得到廣泛應(yīng)用,因此多年以來,Hammerstein模型辨識一直是一個活躍的研究領(lǐng)域 [1?6]。辨識Hammerstein系統(tǒng)有很多方法[7?14],包括過參數(shù)化法、隨機(jī)法、可分離最小二乘法、盲法、頻域法、子空間法、迭代法和遞階法等。
筆者重點(diǎn)研究了基于遞階辨識原理的方法[8], 將Hammerstein模型分解為2個子系統(tǒng):一個子系統(tǒng)包含線性子系統(tǒng)參數(shù),另一個子系統(tǒng)包含非線性子系統(tǒng)參數(shù)?;谶f階辨識原理的方法的特點(diǎn)是這2個子系統(tǒng)包含的未知參數(shù)最少,與過參數(shù)化方法相比具有更高計算效率。大量遞階Hammerstein模型辨識方法已被相繼提出[15?18]。
基于遞階辨識原理,提出基于遺忘因子[19]和有限數(shù)據(jù)窗的最小二乘法算法,對Hammerstein模型進(jìn)行遞歸辨識。該方法同時保留了遺忘因子最小二乘法和有限數(shù)據(jù)窗最小二乘法的優(yōu)點(diǎn),因此,該方法能夠快速跟蹤估計參數(shù)。提出的基于遞階原理的Hammerstein模型辨識方法的優(yōu)點(diǎn)在于它能夠快速地跟蹤Hammerstein模型中的參數(shù),并且比基于過參數(shù)化模型的算法具有更高計算效率[20?22]。
1 問題描述
考慮如圖1所示的Hammerstein非線性系統(tǒng),由下式描述:
, (1)
。 (2)
式中:和分別是時刻系統(tǒng)的輸入數(shù)據(jù)和輸出數(shù)據(jù);是零均值的不相關(guān)的隨機(jī)噪聲;是系統(tǒng)內(nèi)部的過程變量,由未知系數(shù)和已知基函數(shù)的線性組合描述,其中是基函數(shù)的條目;和分別是多項(xiàng)式和的階次,其中,。本研究的任務(wù)是通過利用輸入數(shù)據(jù)和輸出數(shù)據(jù)來辨識未知參數(shù)ai,和。
2 研究方法
用單位推移算子來重寫式(1)和式(2)(即),得到
, (3)
。 (4)
定義線性子系統(tǒng)的參數(shù)向量a、b和非線性部分的參數(shù)向量c如下:
,
,
,
。
關(guān)于參數(shù)向量c,給出如下假設(shè)。
假設(shè)1.,并且向量c的第一項(xiàng)是正的。也就是說,函數(shù)的第一個系數(shù)是正的,即。
基于式(3)和式(4),可得
。 (5)
式中:
,
。
為了識別系統(tǒng)并避免使用具有更高計算效率的過參數(shù)化方法[20?22],使用遞階辨識原理[15?18]將式(5)所示的Hammerstein系統(tǒng)分解為如下所示的2個子系統(tǒng):
, (6)
。 (7)
式中:
;
;
;
;
。
式中,p為過去的水平數(shù)。定義加權(quán)數(shù)據(jù)矩陣和加權(quán)輸出向量
, (8)
, (9)
, (10)
, (11)
。 (12)
式中,遺忘因子。
為了辨識未知的系統(tǒng)參數(shù)a、b和c,定義如下的2個損失函數(shù):
, (13)
。 (14)
令J1和J2對θ和?的導(dǎo)數(shù)為0,有
, (15)
。 (16)
θ和?的最小二乘估計值由下式給出:
, (17)
。 (18)
類似于(17)和(18),有
, (19)
。 (20)
類似于(8)~(12),定義
, (21)
, (22)
, (23)
, (24)
, (25)
, (26)
, (27)
。 (28)
定義矩陣
, (29)
, (30)
, (31)
, (32)
, (33)
。 (34)
由式(29)~(34)得
, (35)
, (36)
, (37)
, (38)
, (39)
。 (40)
把式(29)~(34)帶入式(19)~(20)中,有
(41)
, (42)
, (43)
, (44)
, (45)
。 (46)
通過上述等式,可以得到如下FF-FDW-RLS算法:
, (47)
, (48)
, (49)
, (50)
, (51)
, (52)
, (53)
。 (54)
由于式(47)~(54)中包含了未知參數(shù)a、b、c,這些未知參數(shù)是無法使用的。用估計值 、、來代替真實(shí)值[23]:
, (55)
, (56)
, (57)
, (58)
, (59)
, (60)
, (61)
。 (62)
為了初始化FF-FDW-RLS算法,取,或一些小的實(shí)數(shù)向量,例如,,,其中是元素全為1的n維列向量;,,,,其中是單位矩陣,是很大的正數(shù),例如。
隨著增加,用FF-FDW-RLS 算法計算和的步驟如下。
1) 采集輸入輸出數(shù)據(jù),選擇數(shù)據(jù)長度和遺忘因子,得到,。
2) 通過式(55)和(59),計算和。
3) 如果, 則終止程序并得到參數(shù)估計值;否則,遞增1并轉(zhuǎn)到步驟3。
3 仿真研究
考慮參考文獻(xiàn)[24]中的Hammerstein系統(tǒng)如下:
,
,
,
,
。
其中輸入采用均值為0、方差為1的白噪聲,噪聲是均值為0、方差為0.01或0.04的白噪聲。取p=10,遺忘因子λ=0.98。用所提出的算法和H-MISG 算法[24](p=10,λ=0.98)來估計這個系統(tǒng)的參數(shù)。圖1和圖2分別表示在噪聲方差為0.01和0.04的情況下,參數(shù)估計的誤差與t的關(guān)系。可以看出,與參考文獻(xiàn)[24]中提出的H-MISG算法相比,本研究中的方法可以快速跟蹤估計的參數(shù),可以提高識別精度和收斂速度。
4 結(jié)" 論
提出了一種基于遺忘因子的分解遞歸有限數(shù)據(jù)窗口最小二乘法來識別Hammerstein系統(tǒng),該方法同時保留了FF-LS和FDW-LS的優(yōu)點(diǎn),能夠快速跟蹤參數(shù)實(shí)現(xiàn)對Hammerstein系統(tǒng)的精確有效辨識,通過仿真實(shí)驗(yàn)驗(yàn)證了本文方法的有效性,和現(xiàn)有方法相比,通過引入窗口遺忘因子得到了較快的跟蹤效果。
參考文獻(xiàn)
[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 amp; 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.
(編輯" 羅敏)