System identification device and method and storage medium having system identification program recorded therein
By introducing a high-speed filter-based method in system identification and using the conversion factor between the linear prediction error in advance and the linear prediction error after the event, the problems of large calculation amount and slow convergence speed of the existing algorithm are solved, and high-speed, real-time processing of large-scale systems is achieved. , high-precision identification.
Patent Information
- Application Number
- CN201910428966.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-05-23
- Filing Date
- 2019-05-22
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2039-05-22
AI Technical Summary
Existing system identification algorithms such as LMS, RLS and Kalman filter require large amounts of calculations and slow convergence speed in large-scale audio or communication systems. They are especially unstable in single-precision calculations and are difficult to be suitable for real-time processing.
A filter-based high-speed system identification method is adopted. By adjusting the step size and attenuation level, and using the conversion factor of the prior linear prediction error and the post-linear prediction error to reduce the amount of calculation, C-high-speed H∞ filter and C-whitening high-speed H filter are proposed. ∞ filter, suitable for real-time identification of large-scale systems.
It achieves high-speed, real-time, and high-precision identification of large-scale audio or communication systems, reduces the amount of calculation, is suitable for applications such as feedback cancellers, and improves the system's real-time processing capabilities.
Smart Images

Figure CN110535452B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on Japanese Patent Application No. 2018-098503 filed with the Japan Patent Office on May 23, 2018, and all the contents of the Japanese Patent Application are hereby incorporated by reference. Technical Field
[0003] Embodiments of the present disclosure relate to a system identification device, a system identification method, a system identification program, and a storage medium having the system identification program recorded thereon. In particular, embodiments of the present disclosure relate to a system identification device, a system identification method, a system identification program, and a storage medium having the system identification program recorded thereon for high-speed, digital, and stable identification of a large-scale sound system or communication system. Background Art
[0004] System identification refers to the use of a mathematical model (transfer function or impulse response, etc.) to estimate the input-output relationship of a system based on input-output data. Representative application examples include: echo cancellers in international communications, automatic equalizers in data communications, echo cancellers in audio systems, sound field reproduction and active noise control, and feedback cancellers in hearing aids, etc. In the past, LMS (Least Mean Square) algorithm, RLS (Recursive Least Square) algorithm, and Kalman filter were widely used as adaptive algorithms in system identification. Generally speaking, the input-output relationship of a linear system is expressed as follows.
[0005]
[0006] Among them, u k is the input, h i is the impulse response of the system, y k is the noise v included in the observation k Output.
[0007] The details are shown in Non-Patent Document 1 and the like.
[0008] 1.LMS algorithm
[0009] LMS is based on the input u k and output y k The impulse response x of the system is estimated as follows k =[h0,…,h N-1 ] T .
[0010]
[0011] Among them, H k =[u k 、…、u k-N+1 ]. μ (μ>0) is called the step size. In addition, μ / (||H T k || 2 The algorithm that replaces the step size μ by δ is called the NLMS algorithm. δ is a positive constant that is predetermined so that the denominator is not 0 even if there is no input.
[0012] 2.RLS
[0013] RLS according to the input u k and output y k , the impulse response x of the system is estimated as follows k =[h0,…,h N-1 ] T .
[0014]
[0015]
[0016] P k =(P k-1 -K k H k P k-1 ) / p (5)
[0017] Among them, P0=e0I,∈ o >0. 0 is the zero vector. I is the unit matrix. In addition, the forgetting factor ρ satisfies 0<ρ≤1. (In addition, "^" and "v" refer to estimated values, as expressed in the formula, originally attached directly above the character. In addition, for ease of input, they are sometimes recorded in the upper right corner of the character. The same applies below).
[0018] 3. Kalman filter
[0019] Linear systems represented by state-space models
[0020]
[0021] Related to this formula, the state x k The minimum variance estimate x ^ k|k It is obtained by the following Kalman filter.
[0022]
[0023]
[0024]
[0025]
[0026]
[0027] x k : state vector or just state; unknown, it is an inferred object.
[0028] Here, the following relational expression (10) is satisfied.
[0029]
[0030] y k : Observed signal; becomes the input of the filter, known.
[0031] H k : Observation matrix; known.
[0032] v k : Observation noise; unknown.
[0033] ρ: Forgetting factor; usually determined through repeated trials.
[0034] K k : Filter gain; by the matrix Σ ^ k|k-1 get.
[0035] Σ^ k|k : with x ^ k|k The covariance matrix of the error corresponds to ; obtained by the Riccati equation.
[0036] Σ^ k+1|k : with x ^ k+1|k The covariance matrix of the error corresponds to ; obtained by the Riccati equation.
[0037] Σ^ 0|-1 : corresponds to the covariance matrix of the initial state; originally unknown, but ε0I is used for ease of explanation.
[0038] In addition, there are conventional technologies disclosed in Patent Documents 1 to 3 and Non-Patent Documents 2 to 6 as shown below.
[0039] Patent Document 1: Japanese Patent Gazette No. 4067269
[0040] Patent Document 2: Japanese Patent Gazette No. 4444919
[0041] Patent Document 3: Japanese Patent Gazette No. 5196653
[0042] Non-patent literature 1: S. Haykin, Adaptive Filter Theory, 3rd Edition, Prentice-Hall, 1996.
[0043] Non-patent document 2: K.Nishiyama, Derivation of a Fast Algorithm of Modified H∞Filters, Proceedings of IEEE International Conference on Industrial Electronics, Control and Instrumentation, RBC-II, pp.462-467, 2000.
[0044] Non-patent literature 3: K. Nishiyama, An H∞Optimization and Its Fast Algorithm for Time-Variant System Identification, IEEE Transactions on Signal Processing, 52, 5, pp. 1335-1342, 2004.
[0045] Non-patent document 4: K.Nishiyama, A Unified View of Adaptive Algorithms for Finite Impulse Response Filters using the H Framework, Signal Processing (Elsevier), 97, pp.55-64, April 2014.
[0046] Non-patent literature 5: B. Hassibi, AH Sayed, and T. Kailath, Indefinite-Quadratic Estimation and Control, 1st Edition, SIAM, 1999.
[0047] Non-patent document 6: G.Glentis, K.Berberidis, and S.Theodoridis, Efficient leastsquares adaptive algorithms for FIR transversal filtering, IEEE SignalProcessing Magazine, 16, 4, pp.13-41, 1999.
[0048] Currently, the most widely used adaptive algorithm in system identification is LMS. LMS has the problem that although the amount of calculation is small, the convergence speed is very slow. On the other hand, the Σ^ of RLS and Kalman filter is k|k-1 and P k Originally, it was a positive-definite symmetric matrix. However, in single-precision (e.g., 32-bit) calculations, this condition is often not met. This is one of the main reasons why the Kalman filter and RLS are numerically unstable. In addition, the amount of calculation is O(N 2 ), so the state vector x k When the dimension (number of taps) N is large, the number of operations per step increases dramatically. Therefore, these are sometimes not necessarily suitable for real-time processing. Summary of the invention
[0049] One object of the present disclosure is to identify a large-scale sound system or communication system at high speed and high accuracy. Another object of the present disclosure is to apply a system identification method and a system identification device for performing such identification to a feedback canceller.
[0050] The system identification device of the first embodiment of the present disclosure performs high-speed real-time identification of the system based on input and output data.
[0051] The system identification device includes a filter, which determines the maximum energy gain from the disturbance to the filter error as a suppression ratio by an upper limit value γ provided in advance as an evaluation criterion. f 2 Small and robust to interference,
[0052] The filter is provided by the following equations (49) to (62) with respect to the state space model represented by the following equations (11) to (13),
[0053] Infer the state x of the system k The estimated value of the state x ^ k|k ,
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071] Among them, C k and W are defined by the following formulas,
[0072]
[0073] It is C k =[c k ......, c k-N+1 ],
[0074]
[0075]
[0076] H k =[u k 、…、u k-N+1 ]
[0077] in,
[0078] x k : The state vector or just the state, unknown, becomes the object of inference;
[0079] x0: initial state, unknown;
[0080] w k : System noise, unknown;
[0081] v k : Observation noise, unknown;
[0082] y k : The observed signal becomes the input of the filter and is known;
[0083] z k : Output signal, unknown;
[0084] G k : driving matrix, known at execution time;
[0085] H k : Observation matrix, known;
[0086] x^ k|k :Use observation signal y0~y k The state x at time k k An estimate of (the impulse response of the unknown system) is provided by the filter equation;
[0087] x^ k+1|k :Use observation signal y0~y k The state x at time k k+1 The one-step prediction of is provided by the filter equation;
[0088] x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation;
[0089] K s、k : Filter gain, represented by the matrix Σ k|k-1 get.
[0090] R e、k : auxiliary variables, 2×2 matrix;
[0091] χ k : conversion factor, 2×2 matrix;
[0092] N: The dimension of the state vector (number of taps), provided in advance;
[0093] μ ~ k :K U k The N+1th 1×2 row vector of U k get;
[0094] m~ k : By K U k The N×2 matrix consisting of the first to Nth rows of U k get;
[0095] W: weight matrix, composed of γ fSure;
[0096] a k : forward linear prediction coefficient, N-dimensional column vector;
[0097] b k : posterior linear prediction coefficient, N-dimensional column vector;
[0098] e k : posterior forward prediction error, two-dimensional column vector;
[0099] e k : posterior forecast error, two-dimensional column vector;
[0100] γ f : Attenuation level, provided during design.
[0101] The system identification device of the second embodiment of the present disclosure performs high-speed real-time identification of the system based on input and output data.
[0102] The system identification device includes a filter, which determines the maximum energy gain from the disturbance to the filter error as a suppression ratio by an upper limit value γ provided in advance as an evaluation criterion. f 2 Small and robust to interference,
[0103] The filter is provided by the following equations (49), (50), (55), (58), (60) to (62) relative to the state space model represented by the following equations (11) to (13),
[0104] Infer the state x of the system k The estimated value of the state x ^ k|k ,
[0105]
[0106]
[0107]
[0108]
[0109]
[0110]
[0111]
[0112]
[0113] Among them, C kand W are defined by the following formulas,
[0114]
[0115] It is C k =[c k ......, c k-N+1 ],
[0116]
[0117]
[0118] H k =[u k 、…、u k-N+1 ]
[0119] in,
[0120] x k : The state vector or just the state, unknown, becomes the object of inference;
[0121] x0: initial state, unknown;
[0122] w k : System noise, unknown;
[0123] v k : Observation noise, unknown;
[0124] y k : The observed signal becomes the input of the filter and is known;
[0125] z k : Output signal, unknown;
[0126] G k : driving matrix, known at execution time;
[0127] H k : Observation matrix, known;
[0128] x^ k|k :Use observation signal y0~y k The state x at time k k An estimate of (the impulse response of the unknown system) is provided by the filter equation;
[0129] x^ k+1|k :Use observation signal y0~y k The state x at time k k+1 The one-step prediction of is provided by the filter equation;
[0130] x^ -1|-1: The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation;
[0131] K s、k : Filter gain, represented by the matrix Σ k|k-1 get;
[0132] R e、k : auxiliary variables, 2×2 matrix;
[0133] N: The dimension of the state vector (number of taps), provided in advance;
[0134] μ~ k :K U k The N+1th 1×2 row vector of U k get;
[0135] W: weight matrix, composed of γ f Sure;
[0136] e k : posterior forward prediction error, two-dimensional column vector;
[0137] e k : posterior forecast error, two-dimensional column vector;
[0138] γ f : Attenuation level, provided during design;
[0139] μ: step size (relaxation factor), a real number with μ>0, provided in advance.
[0140] The system identification device of the third embodiment of the present disclosure performs high-speed real-time identification of the system based on input and output data.
[0141] The system identification device includes a filter, which determines the maximum energy gain from the disturbance to the filter error as a suppression ratio by an upper limit value γ provided in advance as an evaluation criterion. f 2 Small and robust to interference,
[0142] The filter is provided by the following equations (49), (50), (55), and (58) relative to the state space model represented by the following equations (11) to (13),
[0143] Infer the state x of the system k The estimated value of the state x ^ k|k ,
[0144]
[0145]
[0146]
[0147]
[0148]
[0149]
[0150] Among them, C k and W are defined by the following formulas.
[0151]
[0152] It is C k =[c k ......, C k-N+1 ],
[0153]
[0154]
[0155] H k =[u k 、…、u k-N+1 ]
[0156] in,
[0157] x k : The state vector or just the state, unknown, becomes the object of inference;
[0158] x0: initial state, unknown;
[0159] w k : System noise, unknown;
[0160] v k : Observation noise, unknown;
[0161] y k : The observed signal becomes the input of the filter and is known;
[0162] z k : Output signal, unknown;
[0163] G k : driving matrix, known at execution time;
[0164] H k : Observation matrix, known;
[0165] x^ k|k :Use observation signal y0~y kThe state x at time k k An estimate of (the impulse response of the unknown system) is provided by the filter equation;
[0166] x^ k+1|k :Use observation signal y0~y k The state x at time k k+1 The one-step prediction of is provided by the filter equation;
[0167] x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation;
[0168] K s、k : Filter gain, represented by the matrix Σ k|k-1 get;
[0169] R e、k : auxiliary variables, 2×2 matrix;
[0170] N: The dimension of the state vector (number of taps), provided in advance;
[0171] μ~ k :K U k The N+1th 1×2 row vector of U k get;
[0172] W: weight matrix, composed of γ f Sure;
[0173] e k : posterior forward prediction error, two-dimensional column vector;
[0174] e k : posterior forecast error, two-dimensional column vector;
[0175] ε0: any positive constant, ε0>0, provided in advance;
[0176] γ f : Attenuation level, provided during design;
[0177] μ: step size (relaxation factor), a real number with μ>0, provided in advance.
[0178] The system identification method of the fourth embodiment of the present disclosure performs high-speed real-time identification of the system based on input and output data.
[0179] The system identification method uses a filter, which determines the maximum energy gain from the disturbance to the filter error as an evaluation criterion to suppress the upper limit value γ provided in advance in proportion. f 2Small and robust to interference,
[0180] The filter is provided by the following equations (49) to (62) with respect to the state space model represented by the following equations (11) to (13),
[0181] Infer the state x of the system k The estimated value of the state x ^ k|k ,
[0182]
[0183]
[0184]
[0185]
[0186]
[0187]
[0188]
[0189]
[0190]
[0191]
[0192]
[0193]
[0194]
[0195]
[0196]
[0197]
[0198]
[0199] Among them, C k and W are defined by the following formulas,
[0200]
[0201] It is C k =[c k ......C k-N+1],
[0202]
[0203]
[0204] H k =[u k 、…、u k-N+1 ]
[0205] in,
[0206] x k : The state vector or just the state, unknown, becomes the object of inference;
[0207] x0: initial state, unknown;
[0208] w k : System noise, unknown;
[0209] v k : Observation noise, unknown;
[0210] y k : The observed signal becomes the input of the filter and is known;
[0211] z k : Output signal, unknown;
[0212] G k : driving matrix, known at execution time;
[0213] H k : Observation matrix, known;
[0214] x^ k|k :Use observation signal y0~y k The state x at time k k An estimate of (the impulse response of the unknown system) is provided by the filter equation;
[0215] x^ k+1|k :Use observation signal y0~y k The state x at time k k+1 The one-step prediction of is provided by the filter equation;
[0216] x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation;
[0217] K s、k : Filter gain, represented by the matrix Σ k|k-1 get;
[0218] R e、k : auxiliary variables, 2×2 matrix;
[0219] χ k : Conversion factor; a 2×2 matrix.
[0220] N: The dimension of the state vector (number of taps), provided in advance;
[0221] μ~ k :K U k The N+1th 1×2 row vector of U k get;
[0222] m~ k : By K U k The N×2 matrix consisting of the first to Nth rows of U k get;
[0223] W: weight matrix, composed of γ f Sure;
[0224] a k : forward linear prediction coefficient, N-dimensional column vector;
[0225] b k : posterior linear prediction coefficient, N-dimensional column vector;
[0226] e k : posterior forward prediction error, two-dimensional column vector;
[0227] e k : posterior forecast error, two-dimensional column vector;
[0228] γ f : Attenuation level, provided during design.
[0229] The system identification method of the fifth embodiment of the present disclosure performs high-speed real-time identification of the system based on input and output data.
[0230] The system identification method uses a filter, which determines the maximum energy gain from the disturbance to the filter error as an evaluation criterion to suppress the upper limit value γ provided in advance in proportion. f 2 Small and robust to interference,
[0231] The filter is provided by the following equations (49), (50), (55), (58), (60) to (62) relative to the state space model represented by the following equations (11) to (13),
[0232] Infer the state x of the system k The estimated value of the state x ^k|k ,
[0233]
[0234]
[0235]
[0236]
[0237]
[0238]
[0239]
[0240]
[0241] Among them, C k and W are defined by the following formulas.
[0242]
[0243] It is C k =[c k ......C k-N+1 ],
[0244]
[0245]
[0246] H k =[u k 、…、u k-N+1 ]
[0247] in,
[0248] x k : The state vector or just the state, unknown, becomes the object of inference;
[0249] x0: initial state, unknown;
[0250] w k : System noise, unknown;
[0251] v k : Observation noise, unknown;
[0252] y k : The observed signal becomes the input of the filter and is known;
[0253] z k : Output signal, unknown;
[0254] G k : driving matrix, known at execution time;
[0255] H k : Observation matrix, known;
[0256] x^ k|k :Use observation signal y0~y k The state x at time k k An estimate of (the impulse response of the unknown system) is provided by the filter equation;
[0257] x^ k+1|k :Use observation signal y0~y k The state x at time k k+1 The one-step prediction of is provided by the filter equation;
[0258] x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation;
[0259] K s , k : Filter gain, represented by the matrix Σ k|k-1 get;
[0260] R e , k : auxiliary variables, 2×2 matrix;
[0261] N: The dimension of the state vector (number of taps), provided in advance;
[0262] μ~ k :K U k The N+1th 1×2 row vector of U k get;
[0263] W: weight matrix, composed of γ f Sure;
[0264] e k : posterior forward prediction error, two-dimensional column vector;
[0265] e k : posterior forecast error, two-dimensional column vector;
[0266] γ f : Attenuation level, provided during design;
[0267] μ: step size (relaxation factor), a real number with μ>0, provided in advance.
[0268] According to the system identification method of the sixth embodiment of the present disclosure, high-speed real-time identification of the system is performed based on input and output data.
[0269] The system identification method uses a filter, which determines the maximum energy gain from the disturbance to the filter error as an evaluation criterion to suppress the upper limit value γ provided in advance in proportion. f 2 Small and robust to interference,
[0270] The filter is provided by the following equations (49), (50), (55), and (58) relative to the state space model represented by the following equations (11) to (13),
[0271] Infer the state x of the system k The estimated value of the state x ^ k|k ,
[0272]
[0273]
[0274]
[0275]
[0276]
[0277]
[0278] Among them, C k and W are defined by the following formulas,
[0279]
[0280] It is C k =[c k ......c k-N+1 ],
[0281]
[0282]
[0283] H k =[u k 、…、u k-N+1 ]
[0284] in,
[0285] x k : The state vector or just the state, unknown, becomes the object of inference;
[0286] x0: initial state, unknown;
[0287] w k : System noise, unknown;
[0288] v k : Observation noise, unknown;
[0289] y k : The observed signal becomes the input of the filter and is known;
[0290] z k : Output signal, unknown;
[0291] G k : driving matrix, known at execution time;
[0292] H k : Observation matrix, known;
[0293] x^ k|k :Use observation signal y0~y k The state x at time k k An estimate of (the impulse response of the unknown system) is provided by the filter equation;
[0294] x^ k+1|k :Use observation signal y0~y k The state x at time k k+1 The one-step prediction of is provided by the filter equation;
[0295] x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation;
[0296] K s、k : Filter gain, represented by the matrix Σ k|k-1 get;
[0297] R e、k : auxiliary variables, 2×2 matrix;
[0298] N: The dimension of the state vector (number of taps), provided in advance;
[0299] μ~ k :K U k The N+1th 1×2 row vector of U k get;
[0300] W: weight matrix, composed of γ f Sure;
[0301] e k : posterior forward prediction error, two-dimensional column vector;
[0302] e k : posterior forecast error, two-dimensional column vector;
[0303] ε0: any positive constant, ε0>0, provided in advance;
[0304] γ f : Attenuation level, provided during design;
[0305] μ: step size (relaxation factor), a real number with μ>0, provided in advance.
[0306] The system identification program of the seventh embodiment of the present disclosure is used to enable a computer to perform high-speed real-time identification of a system based on input and output data.
[0307] The system identification program causes the computer to execute the following steps:
[0308] The processing unit provides a filter step by the following formulas (49) to (62) with respect to the state space model represented by the following formulas (11) to (13);
[0309] The processing unit reads out the initial state of the recursive formula from the storage unit or inputs the initial state from the input unit or the interface unit to initialize the recursive variable of the filter;
[0310] The processing unit determines the maximum energy gain from the disturbance to the filter error as a suppression ratio of the upper limit value γ provided in advance as an evaluation criterion. f 2 A filter that is small and robust to disturbances is used to estimate the state x of the system by calculating the formula that provides the filter in descending order. k The estimated value of the state x ^ k|k steps; and
[0311] The processing unit converts the state estimation value x^ k|k The step of storing in a storage unit and / or outputting from an output unit or an interface unit.
[0312] Furthermore, the recording medium of the seventh embodiment of the present disclosure is a computer-readable recording medium having the program recorded thereon.
[0313] H k =[u k 、…、u k-N+1 ]
[0314]
[0315]
[0316]
[0317]
[0318]
[0319]
[0320]
[0321]
[0322]
[0323]
[0324]
[0325]
[0326]
[0327]
[0328]
[0329]
[0330] Among them, C k and W are defined by the following formulas,
[0331]
[0332] It is C k =[c k ......c k-N+1 ],
[0333]
[0334]
[0335] in,
[0336] x k : The state vector or just the state, unknown, becomes the object of inference;
[0337] x0: initial state, unknown;
[0338] w k : System noise, unknown;
[0339] v k : Observation noise, unknown;
[0340] y k : The observed signal becomes the input of the filter and is known;
[0341] z k : Output signal, unknown;
[0342] G k : driving matrix, known at execution time;
[0343] H k : Observation matrix, known;
[0344] x^ k|k :Use observation signal y0~y k The state x at time k k An estimate of (the impulse response of the unknown system) is provided by the filter equation;
[0345] x^ k+1|k :Use observation signal y0~y k The state x at time k k+1 The one-step prediction of is provided by the filter equation;
[0346] x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation;
[0347] K s、k : Filter gain, represented by the matrix Σ k|k-1 get;
[0348] R e、k : auxiliary variables, 2×2 matrix;
[0349] χ k : conversion factor, 2×2 matrix;
[0350] N: The dimension of the state vector (number of taps), provided in advance;
[0351] μ~ k :K U k The N+1th 1×2 row vector of U k get;
[0352] m~ k : By K U k The N×2 matrix consisting of the first to Nth rows of U k get;
[0353] W: weight matrix, composed of γ f Sure;
[0354] a k : forward linear prediction coefficient, N-dimensional column vector;
[0355] b k : posterior linear prediction coefficient, N-dimensional column vector;
[0356] e k : posterior forward prediction error, two-dimensional column vector;
[0357] e k : posterior forecast error, two-dimensional column vector;
[0358] γ f : Attenuation level, provided during design.
[0359] An eighth embodiment of the present disclosure provides a system identification program for causing a computer to perform high-speed real-time identification of a system based on input and output data, and provides a computer-readable recording medium having the program recorded thereon.
[0360] The system identification program is used to enable the computer to execute the following steps:
[0361] The processing unit provides a filter by the following formulas (49), (50), (55), (58), (60) to (62) with respect to the state space model represented by the following formulas (11) to (13);
[0362] The processing unit reads out the initial state of the recursive formula from the storage unit or inputs the initial state from the input unit or the interface unit to initialize the recursive variable of the filter;
[0363] The processing unit determines the maximum energy gain from the disturbance to the filter error as a suppression ratio of the upper limit value γ provided in advance as an evaluation criterion. f 2 A filter that is small and robust to disturbances is used to estimate the state x of the system by calculating the formula that provides the filter in descending order. k The estimated value of the state x ^ k|k steps; and
[0364] The processing unit converts the state estimation value x^ k|k The step of storing in a storage unit and / or outputting from an output unit or an interface unit.
[0365] Furthermore, the recording medium of the eighth embodiment of the present disclosure is a computer-readable recording medium having the program recorded thereon.
[0366]
[0367]
[0368]
[0369]
[0370]
[0371]
[0372]
[0373]
[0374] Among them, C k and W are defined by the following formulas,
[0375]
[0376] It is C k =[c k ......c k-N+1 ],
[0377]
[0378]
[0379] H k =[u k 、…、u k-N+1 ]
[0380] in,
[0381] x k : The state vector or just the state, unknown, becomes the object of inference;
[0382] x0: initial state, unknown;
[0383] w k : System noise, unknown;
[0384] v k : Observation noise, unknown;
[0385] y k : The observed signal becomes the input of the filter and is known;
[0386] z k : Output signal, unknown;
[0387] G k: driving matrix, known at execution time;
[0388] H k : Observation matrix, known;
[0389] x^ k|k :Use observation signal y0~y k The state x at time k k An estimate of (the impulse response of the unknown system) is provided by the filter equation;
[0390] x^ k+1|k :Use observation signal y0~y k The state x at time k k+1 The one-step prediction of is provided by the filter equation;
[0391] x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation;
[0392] K s , k : Filter gain, represented by the matrix Σ k|k-1 get;
[0393] R e , k : auxiliary variables, 2×2 matrix;
[0394] N: The dimension of the state vector (number of taps), provided in advance;
[0395] μ~ k :K U k The N+1th 1×2 row vector of U k get;
[0396] W: weight matrix, composed of γ f Sure;
[0397] e k : posterior forward prediction error, two-dimensional column vector;
[0398] e k : posterior forecast error, two-dimensional column vector;
[0399] γ f : Attenuation level, provided during design;
[0400] μ: step size (relaxation factor), a real number with μ>0, provided in advance.
[0401] A ninth embodiment of the present disclosure provides a system identification program for causing a computer to perform high-speed real-time identification of a system based on input and output data, and provides a computer-readable recording medium having the program recorded thereon.
[0402] The system identification program is used to enable the computer to execute the following steps:
[0403] The processing unit provides a filter according to the following formulas (49), (50), (55), and (58) with respect to the state space model represented by the following formulas (11) to (13);
[0404] The processing unit reads out the initial state of the recursive formula from the storage unit or inputs the initial state from the input unit or the interface unit to initialize the recursive variable of the filter;
[0405] The processing unit determines the maximum energy gain from the disturbance to the filter error as a suppression ratio of the upper limit value γ provided in advance as an evaluation criterion. f 2 A filter that is small and robust to disturbances is used to estimate the state x of the system by calculating the formula that provides the filter in descending order. k The estimated value of the state x ^ k|k steps; and
[0406] The processing unit converts the state estimation value x^ k|k The step of storing in a storage unit and / or outputting from an output unit or an interface unit.
[0407] Furthermore, the recording medium of the ninth embodiment of the present disclosure is a computer-readable recording medium having the program recorded thereon.
[0408]
[0409]
[0410]
[0411]
[0412]
[0413] Among them, C k and W are defined by the following formulas,
[0414]
[0415] It is C k =[ck ......, c k-N+1 ],
[0416]
[0417] H k =[u k 、…、u k-N+1 ]
[0418] in,
[0419] x k : state vector or just state, unknown, which becomes the object of inference; x0: initial state, unknown;
[0420] w k : System noise, unknown;
[0421] v k : Observation noise, unknown;
[0422] y k : The observed signal becomes the input of the filter and is known;
[0423] z k : Output signal, unknown;
[0424] G k : driving matrix, known at execution time;
[0425] H k : Observation matrix, known;
[0426] x^ k|k :Use observation signal y0~y k The state x at time k k An estimate of (the impulse response of the unknown system) is provided by the filter equation;
[0427] x^ k+1|k :Use observation signal y0~y k The state x at time k k+1 The one-step prediction of is provided by the filter equation;
[0428] x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation;
[0429] K s、k : Filter gain, represented by the matrix Σ k|k-1 get;
[0430] R e、k : auxiliary variables, 2×2 matrix;
[0431] N: The dimension of the state vector (number of taps), provided in advance;
[0432] μ~ k :K U k The N+1th 1×2 row vector of U k get;
[0433] W: weight matrix, composed of γ f Sure;
[0434] e k : posterior forward prediction error, two-dimensional column vector;
[0435] e k : posterior forecast error, two-dimensional column vector;
[0436] ε0: an arbitrary positive constant, ε0>0, provided in advance;
[0437] γ f : Attenuation level, provided during design;
[0438] μ: step size (relaxation factor), a real number with μ>0, provided in advance.
[0439] According to the embodiments of the present disclosure, a large-scale acoustic system or communication system can be identified at high speed and high accuracy. In addition, according to the embodiments of the present disclosure, a system identification method and a system identification device for performing such identification can be applied to a feedback canceller. BRIEF DESCRIPTION OF THE DRAWINGS
[0440] Figure 1 Yes f -σ w 2 Illustration of the distribution and properties of solutions in space.
[0441] Figure 2 It means to find the high speed H ∞ The filter bank x k|k 、z^ k|k-1 =H k x^ k-1|k-1 Flowchart of the processing.
[0442] Figure 3 This is a flowchart for checking the scalar existence condition.
[0443] Figure 4 This is a diagram illustrating a communication system and an echo.
[0444] Figure 5 This is the schematic diagram of the echo canceller.
[0445] Figure 6 (a) and Figure 6 (b) is an explanatory diagram of the transition of the tap square error in the present embodiment (C-FHF) and other methods.
[0446] Figure 7 This is a diagram illustrating sound signals.
[0447] Figure 8 (a) and Figure 8 (b) is the input Figure 7 This figure illustrates the results when the sound signal is .
[0448] Fig. 9 It is high speed H ∞ An illustration of the filter processing and time calculation (Table 1).
[0449] Fig.10 Yes C-High Speed H ∞ An illustration of the filter processing and time calculation (Table 2).
[0450] Fig.11 Yes C-whitening high speed H ∞ An illustration of the filter processing and time calculation (Table 3).
[0451] Fig.12 This is a diagram illustrating the filter processing and time calculation amount of the C-NLMS algorithm (Table 4).
[0452] Fig.13 is a graph showing the impulse response of the echo path (Table 5).
[0453] Fig.14 This is a diagram showing the configuration of hardware related to this embodiment.
[0454] Fig.15 Yes C-whitening high speed H ∞ An explanatory diagram of the processing and time calculation amount of an example of the optimal version of the filter.
[0455] Fig.16 This is a diagram for explaining the processing and time calculation amount of an example of the optimal version of the filter of the C-NLMS algorithm. DETAILED DESCRIPTION
[0456] In the detailed description below, for the purpose of illustration, in order to provide a thorough understanding of the disclosed embodiments, many specific details are set forth. However, it is apparent that one or more embodiments may be implemented without these specific details. In other cases, in order to simplify drawing, well-known structures and devices are schematically shown.
[0457] 1. Summary
[0458] According to the embodiment of the present disclosure and / or the identification method of the present embodiment, it is possible to identify an unknown system in real time, at high speed and with high accuracy based on input and output data. In addition, the identification method can appropriately introduce the assumption of whiteness in the input signal. Therefore, since the algorithm can be effectively simplified, the amount of calculation can be greatly reduced. These are effective, for example, for feedback eliminators of closed-loop systems such as hearing aids.
[0459] According to the embodiment of the present disclosure and / or this embodiment, for example, the following contents can be provided.
[0460] 1) A method, device, program and recording medium for identifying an unknown system in real time, at high speed and with high accuracy based on input and output data.
[0461] 2) A system identification method that can introduce a whiteness assumption into the input signal and significantly reduce the amount of calculation.
[0462] 3) Feedback eliminator in closed-loop systems such as hearing aids.
[0463] In addition, in the embodiments of the present disclosure and / or the present embodiment, by using the conversion factor of the prior linear prediction error and the subsequent linear prediction error of the input signal, the previously proposed high-speed H ∞ The computational complexity of the filter (FHF) is reduced from O(11N) to O(7N) C-High-Speed H ∞ Filter (Conversion Factor-based Fast H ∞ Filter based on conversion factor high speed H ∞ Filter: C-FHF). In addition, according to the embodiments of the present disclosure and / or the present embodiment, by introducing the assumption of whiteness into the input signal, a C-whitening high-speed H filter with a reduced calculation amount to O(2N) is provided. ∞ Filter (ConversionFactor-based Whiten Fast H ∞ Filter Whitening high speed H based on conversion factor ∞ Filter: C-WFHF). In addition, as a special case thereof, the C-NLMS algorithm (Conversion Factor-based Normalized Least Mean Square Algorithm) is provided.
[0464] The embodiments of the present disclosure and / or the high-speed identification method of the present embodiment can be applied to the identification of large-scale audio systems and communication systems. The high-speed identification method is effective for acoustic echo cancellers, active noise control, and sound field reproduction in smart speakers and video conferencing systems. In addition, in the present identification method, the assumption of whiteness can be appropriately introduced into the input signal. Therefore, since the algorithm can be effectively simplified, the amount of calculation can be greatly reduced. These simplified algorithms are effective for feedback eliminators of closed-loop systems such as hearing aids and full-duplex relay stations for high-speed data transmission.
[0465] 2. Explanation of symbols
[0466] First, main symbols used in this embodiment are described.
[0467] x k : state vector or just state; unknown, it becomes the object of inference.
[0468] x0: Initial state; unknown.
[0469] w k : System noise; unknown.
[0470] v k : Observation noise; unknown.
[0471] y k : Observed signal; becomes the input of the filter, known.
[0472] z k : Output signal; unknown.
[0473] G k : Driving matrix; known at execution time.
[0474] H k : Observation matrix; known (H k =[u k 、…、u k-N+1 ]).
[0475] x^ k|k :Use observation signal y0~y k The state x at time k k An estimate of (the impulse response of the unknown system); provided by the filter equation.
[0476] z^ k|k :Use observation signal y0~y k The output z at time k k The estimated value H k x^ k|k ; provided by the filter equation.
[0477] z^k|k-1 :Use observation signal y0~y k-1 The output z at time k k One-step prediction value H k x^ k-1|k-1 ; provided by the filter equation.
[0478] x^ k+1|k :Use observation signal y0~y k The state x at time k k+1 One-step prediction of ; provided by the filter equation.
[0479] x^ -1|-1 : Initial estimated value of the state; originally unknown, but 0 is used for ease of explanation.
[0480] Σ^ k|k : with x ^ k|k The covariance matrix of the error corresponds to ; provided by the Riccati equation.
[0481] Σ^ k+1|k : with x ^ k+1|k The covariance matrix of the error corresponds to ; provided by the Riccati equation.
[0482] Σ^ 0|-1 : corresponds to the covariance matrix of the initial state; originally unknown, but ε0I, ε0>0 is used for ease of explanation.
[0483] K s、k : Filter gain; According to the matrix Σ^ k|k-1 Or the gain matrix K k get.
[0484] ρ: forgetting factor; if γ f Determine, then ρ=1-χ(γ f )Sure.
[0485] Can also be used with γ f Determined separately and independently.
[0486] μ: step size (relaxation factor); it is a real number with μ>0, provided in advance.
[0487] Σ0 -1 : The inverse matrix of the weight matrix representing the uncertainty of the state; for ease of explanation, Σ0=ε0I, ε0>0 is used.
[0488] e f、i : filter error; e f、i =z v i|i -H i x i , z vi|i is the output estimated value H i x^ i|i .
[0489] R e、k : Auxiliary variables; 2×2 matrix.
[0490] χ k : Conversion factor; a 2×2 matrix.
[0491] N: Dimension of the state vector (number of taps); provided in advance.
[0492] μ~ k :K U k The N+1th 1×2 row vector of U k get.
[0493] m~ k : By K U k The N×2 matrix consisting of the first to Nth rows of U k get.
[0494] γ f : Attenuation level; provided during design.
[0495] W: weight matrix; composed of γ f Sure.
[0496] a k : Forward linear prediction coefficient; N-dimensional column vector.
[0497] b k : Posterior linear prediction coefficients; N-dimensional column vector.
[0498] e k : posterior forward forecast error; two-dimensional column vector.
[0499] e k : posterior forecast errors; two-dimensional column vector.
[0500] ε0: an arbitrary positive constant; ε0>0, provided in advance.
[0501] O: The amount of computation (order of magnitude); for example, the number of multiplications is N 2 +2N+3 means O(N 2 ).
[0502] In addition, "^" and "v" assigned to symbols refer to estimated values. In addition, "~", "_", "U", etc. are symbols added for convenience of explanation. These symbols are recorded in the upper right corner of the characters for ease of input, but as shown in the formula, they are the same as if they were recorded directly above the characters. In addition, x, w, H, G, K, R, Σ, etc. are vectors or matrices, and are recorded in bold characters as shown in the formula. However, in order to facilitate input, they are sometimes recorded in ordinary characters.
[0503] 2. Hardware and procedures for system identification
[0504] The system identification method, system identification device, and system of the present embodiment can be provided by a system identification program for causing a computer to execute each step thereof, a computer-readable recording medium recording the system identification program, a program product that includes the system identification program and can be loaded into an internal memory of a computer, and a computer such as a server that includes the program. The recording medium is, for example, a non-temporary recording medium that can store stored content even when power is cut off. The recording medium may be a hard disk drive, a ROM, a RAM, a removable USB flash drive, and the like.
[0505] Fig.14 This is a diagram showing the configuration of hardware related to this embodiment.
[0506] The hardware includes a processing unit 101 as a central processing unit (CPU), an input unit 102, an output unit 103, a display unit 104, a storage unit 105, and an interface unit (I / F) 106. The processing unit 101, the input unit 102, the output unit 103, the display unit 104, the storage unit 105, and the interface unit (I / F) 106 are connected by an appropriate connection method such as a star type or a bus type. The storage unit 105 stores known data shown in "2. Description of symbols" for system recognition as needed. The processing unit 101 writes and / or reads unknown and known data, and calculates and C-high-speed H ∞ The processing unit 101 performs calculation processing based on the input and output data and in accordance with the formula representing each filter in this embodiment to estimate (identify) the mathematical model of the input and output relationship of the system. The processing unit 101 can, for example, obtain a state estimation value and an output prediction value.
[0507] 3. Device for identification method related to this embodiment
[0508] In order to distinguish it from the usual H ∞ filter, which will further optimize the model set and weighted set H ∞ The filter is specifically called a high pass H ∞ filter (Non-patent literature 2-4).∞ Filters have the advantage of being applicable even when the dynamics of the state are unknown.
[0509] [Qualcomm H ∞ filter]
[0510] State Space Model
[0511]
[0512]
[0513]
[0514]
[0515] The state estimation value x^ that satisfies the above formula (14) defined by the variables provided by the above formulas (11), (12) and (13) is k|k (or output estimated value z v k|k ) by the next level γ f Qualcomm H ∞ Filter provided.
[0516]
[0517]
[0518]
[0519]
[0520]
[0521] Here, the following relational expression is satisfied.
[0522]
[0523]
[0524]
[0525] 0<ρ=1-x(γ f )≤1,γ f ≥1 (20)
[0526] χ(γ f ) is a γ that satisfies χ(1)=1, χ(∞)=0 f A monotonic decay function. In addition, the driving matrix G k It is generated as follows.
[0527]
[0528] Here, the following existence conditions must be met.
[0529]
[0530] Qualcomm H ∞ The filter is characterized by having the following five properties that are important for the echo canceller (state estimation).
[0531] 1) Convergence;
[0532] 2) Ability to track echo path changes;
[0533] 3) Robustness to near-end speaker signals;
[0534] 4) Insensitivity related to input signal characteristics;
[0535] 5) Aspects of numerical stability can be adjusted.
[0536] Figure 1 Yes f -σ w 2 Illustration of the distribution and properties of solutions in space.
[0537] Figure 1 The circular mark indicates the high pass H ∞ The solutions in the parameter space of the filter. Each solution has different γ f and σ w 2 High pass H ∞ The filter corresponds to γ. In particular, the straight line γ f =∞ is consistent with the forgetting factor RLS algorithm. f , σ w 2 )=(1,0) is consistent with the NLMS algorithm with step size 1. From this, it can be seen that the high-pass H ∞ The filter includes NLMS and RLS which are conventional adaptive algorithms.
[0538] Since Qualcomm H ∞ The computational complexity of the filter is O(N 2 ), so this situation is not suitable for real-time processing. However, a measurement matrix H is developed k With offset characteristic H k =[u k , H k-1 (1) H k-1 (2),…,H k-1 A high-speed algorithm with a calculation amount of O(N) when the calculation amount is O(N-1)] (Non-Patent Document 2, Non-Patent Document 3).
[0539] [High Speed H ∞ filter]
[0540] The observation matrix H k When the offset characteristic is satisfied, the high-pass H with Σ0=ε0I>0 ∞ The filter can be implemented according to the following formula.
[0541]
[0542]
[0543]
[0544]
[0545]
[0546]
[0547]
[0548]
[0549]
[0550] Among them, C k and W are defined by the following formulas.
[0551]
[0552] C k ∈R 2×1 It is C k =[C k ,…,c k-N+1 ] is the first column vector. Assume that c k-i =0 2×1 , ki<0, set the initial value to K -1 =0 N×2 、a -1 =0 N×1 , S -1 =1 / ε0,ε0>0,b -1 =0 N×1 、x^ -1|-1 =0 N×1 Among them, 0 m×n represents an m×n zero matrix.
[0553] At this time, it is preferable that the following scalar existence condition is satisfied.
[0554]
[0555] in, It is defined by the following formula.
[0556]
[0557] 4. Device for the Identification Method of the Present Embodiment
[0558] 4.1 Preparation
[0559] Indicates the high speed H ∞ To prove this proposition, we use the (N+1)×(N+1) matrix Q defined as follows: U k .
[0560]
[0561] Here, the following relational expression is satisfied.
[0562]
[0563] The matrix Q U k According to the observation matrix C U i The offset characteristics of are decomposed into two modes as follows.
[0564]
[0565] Among them, Q k and Q k-1 is an N×N block matrix. t k and t k is an N×1 block matrix. k f and q k b is a 1×1 block matrix (scalar).
[0566] The decomposition of Q U k It is found recursively using the following formula.
[0567]
[0568] Where W is defined by the following formula.
[0569]
[0570] Proposition 1
[0571] Gain matrix K k :=Q k-1 C k T Using the suspected gain matrix K~ k :=Q k-1 -1 C k T , can be expressed as follows.
[0572]
[0573] The 2×2 matrix R is defined by the following formula.
[0574] R=ρW -1 (37)
[0575] Proposition 2
[0576] The backward linear prediction coefficient b k :=-Q k -1 t k The new update formula for is provided by the following formula.
[0577]
[0578] Proposition 3
[0579] Ex post forecast error e k Using the prior posterior prediction error e~ k , can be expressed as follows.
[0580]
[0581] Among them, the conversion factor matrix χ with 2 rows and 2 columns k It is defined by the following formula.
[0582] χ k =ρ -1 R e,k W (40)
[0583] Proposition 4
[0584] The posterior forward forecast error e k It is possible to use the prior forward prediction error e~ k It is expressed as follows.
[0585]
[0586] Proposition 5
[0587] The backward linear prediction coefficient b k Ability to use ex post facto forecast errorse k Update recursively as follows.
[0588]
[0589] Proposition 6
[0590] Forward linear prediction coefficient a: =-Q k-1 -1 t k It is possible to use the posterior forward forecast error e k It is updated recursively by the following formula.
[0591]
[0592] Proposition 7
[0593] Calculate the suspected gain matrix K~ k Another form of is given by the following formula.
[0594]
[0595] Among them, N×2 matrix and a 1×2 matrix They are defined by the following formulas respectively.
[0596]
[0597] Proposition 8
[0598] Prior Posterior Forecast Error e ~ k Can use μ~ k It is expressed as follows.
[0599]
[0600] Proposition 9
[0601] The 2×2 matrix R of formula (36) e、k It can be updated recursively by the following formula.
[0602]
[0603] 4.2 Algorithm Derivation
[0604] By using Propositions 1 to 9, the new high-speed H is obtained as follows ∞ Filter (C-High Speed H ∞ filter), the new high-speed H ∞ Filter (C-High Speed H ∞ filter) is used to utilize the posterior forward prediction error e kand the ex-post forecast error e k To update the forward linear prediction coefficient a k and the posterior linear prediction coefficient b k .
[0605]
[0606]
[0607]
[0608]
[0609]
[0610]
[0611]
[0612]
[0613]
[0614]
[0615]
[0616]
[0617]
[0618]
[0619]
[0620] The setting and initialization of each parameter are similar to the high-speed H ∞ The same is true for filters. ∞ The filter is equivalent to using the conversion factor χ k High speed H ∞ The posterior prediction error form of the filter.
[0621] 4.3 Evaluation of computational effort
[0622] C-High Speed H ∞ Filter and High Speed H ∞ The filters are theoretically equivalent. However, in C-H ∞ The amount of calculation in the filter is less. C-whitening high speed H ∞The filter assumes the input signal is white and degrades the algorithm significantly. ∞ The C-NLMS algorithm corresponds to the C-whitening high-speed H when the parameters are fixed values. ∞ The filter is theoretically equivalent to the NLMS algorithm. The computational complexity in the C-NLMS algorithm is O(2N).
[0623] Fig. 9 Indicates high speed H ∞ An illustration of the filter processing and time calculation (Table 1).
[0624] Fig. 9 (Table 1) summarizes the high-speed H ∞ The number of multiplications and additions used in the calculation of each filter formula (see Patent Document 1, which is described for comparison). ∞ filter, by utilizing Figure 2 The core algorithm of the algorithm calculates the formulas in the table in order from the top (from the formula with the largest number to the smallest number in descending order), and can execute the filter for each sample (unit time). The order of the above formulas is opposite to the description of the general filter. In addition, in each table, "Mul." indicates the number of multiplication calculations, and "Add." indicates the number of addition calculations.
[0625] Fig.10 Indicates C-High Speed H ∞ An illustration of the filter processing and time calculation (Table 2).
[0626] Fig.10 (Table 2) shows the C-high speed H ∞ The number of multiplications and additions of the filter. Each calculation of the number of operations uses K k , C k 、e~ k 、e k and W structures. For example, K k-1 We~ k Use K k-1 (:,1)=K k-1 (:,2) and e~ k (1, 1) = e~ k (2, 1), replaced by (1-γ f -2 )K k-1 (:,1)e~ k (1, 1). Similarly, each time C is calculated k-1 and a k-1 When the product of k-1 (2,:)a k-1 Replace with Ck-1 (1,:)a k-1 When there are multiple multiplication calculations of two terms of the same combination, only the first calculation is counted. k-1 -1 Using the χ calculated in the previous step k -1 The division of a scalar by a vector is handled as the multiplication of the vector of the reciprocal of the scalar. The number of additions is calculated in the same way.
[0627] When N is large enough, C-high speed H ∞ The filter can perform only 7N multiplications and 7N additions per unit sample. On the other hand, high-speed H ∞ The filter performs 11N multiplications and 10N additions per unit sample. In both filters, three multiplications are performed per unit sample. In addition, in either high-speed H ∞ In the filter, the amount of space calculation (memory) is O(6N).
[0628] 4.4 High Speed H ∞ Filter Bank Processing
[0629] Figure 2 Indicates high speed H ∞ The filter bank obtains x^ k|k 、z^ k|k-1 =H k x^ k-1|k-1 Flow chart of the processing. Among them, high-speed H ∞ Filter bank representation, for example, C-high speed H ∞ Filter (C-FHF), C-whitening high speed H ∞ filter (C-WFHF) and C-NLMS algorithm filter. ∞ Filter and C-High Speed H ∞ In the filter, as described later, this flowchart sometimes adds Figure 3 In addition, z^ can be obtained as needed. k|k .
[0630] Next, referring to the flowchart, the high-speed H ∞ The processing of the filter bank is described below.
[0631] [Step S101, initialization]
[0632] The processing unit 101 processes the high speed H ∞ The recursive variables of the filter are initialized. For example, the processing unit 101 reads the initial state of the recursive formula from the storage unit 105 or inputs the initial state from the input unit 102 or the I / F 106, and determines it as shown in the figure.
[0633] [Step S103]
[0634] The processing unit 101 determines whether the data length exceeds the predetermined data length L. For example, the processing unit 101 compares the time k and the data number L. In addition, L can represent the predetermined maximum number of data. If the time k is below the data number L, the processing unit 101 proceeds to the next step S105. If the time k exceeds the data number L, the processing unit 101 initializes the filter gain to restart or end the filter (S113). In addition, the processing unit 101 can eliminate unnecessary conditional statements. In addition, the processing unit 101 can be restarted as needed.
[0635] [Step S105, input]
[0636] If time k is below L, the processing unit 101 updates the amplified observation matrix C using the input signal and the offset characteristic. U k For example, the processing unit 101 receives an input signal u from the input unit 102 or the I / F 106. k , and C U k The processing unit 101 can read the input signal u from the storage unit 105. k .
[0637] Here, the input signal u k The 2×(N+1) magnified observation matrix
[0638]
[0639] If the above offset characteristics are used Then it can Effectively updates to look like this.
[0640]
[0641] [Step S107, Core Algorithm]
[0642] The processing unit 101 uses the core algorithm to execute Fig. 9 (Table 1) to Fig.12 (Table 4) and Fig.15 , Fig.16 In any of these algorithms, the processing unit 101 may update the state estimation value x^ by a relaxation factor (step length) μ (where μ is a real number with μ>0). k|kIn this case, for example, the processing unit 101 can implement the update with the relaxation factor (step size) μ by multiplying the second term on the right side of formula (49) by μ. In addition, the processing unit 101 can implement the update at an appropriate time such as after or before the execution of the algorithm as needed. Figure 3 The processing for determining the existence condition is shown (described in detail later).
[0643] [Step S109, estimated value]
[0644] The processing unit 101 converts the state estimation value x^ calculated in step S107 into k|k (or output estimated value z ^ k|k ) is stored in the storage unit 105 and / or is output from the output unit 103 or the I / F 106.
[0645] [Step S111]
[0646] The processing unit 101 advances the time k (k=k+1), returns to step S103, and continues to repeat the process as long as there is data or a predetermined number of times.
[0647] In addition, the processing unit 101 can appropriately store appropriate intermediate values and final values, values of existence conditions, etc. obtained in each step such as steps S105 to S109 in the storage unit 105, or read them from the storage unit 105 as needed. In addition, the processing unit 101 can create data, charts, and / or graphs using various values according to instructions from the input unit 102 or I / F 106 or according to predetermined processing, and store them in the storage unit 105 and / or output them from the output unit 103 or I / F 106.
[0648] Figure 3 Flowchart showing the check of scalar existence condition.
[0649] exist Figure 2 You can also add Figure 3 For example, the processing unit 101 performs the step of determining the scalar existence condition shown in the figure at an appropriate time such as after or before the processing of step S107 is executed. If formula (30) is not satisfied, the processing can be terminated or restarted. In addition, this step can also be performed at Figure 2 The processing unit 101 executes the above formula (30) at an appropriate time such as before or after the step (S111) of advancing the time k. In the figure, EXC(k) corresponds to the left side of the above formula (30).
[0650] 4.5 Introduction of the Whiteness Hypothesis
[0651] Fig.11 Indicates the C-whitening high-speed H with the introduction of relaxation factor μ ∞An illustration of the filter processing and time calculation (Table 3).
[0652] By assuming the input signal to be white noise, the linear prediction coefficient a k and b k is 0. At this time, e is not needed. k =c k +C k-1 a k-1 =c k 、e k =c k +C k-1 a k =c k and e ~ k =c k-N +C k b k-1 =c k-N , e k =c k-N +C k b k =c k-N , K~ k =m~ k , S k Therefore, formula (49), formula (50), formula (55), formula (58), formula (60), formula (61) and formula (62) can be arranged as follows. Wherein, μ is a relaxation factor (step length), which is a real number with μ>0 and is provided in advance.
[0653] In addition, e~ k Formula (56) and e k In addition to the original definition formula, formula (53) has multiple theoretically equivalent expressions that can be expressed in the above manner. In addition, in the calculation of C-WFHF, since the variables (underlined) of the backward prediction relationship can be omitted, these calculations do not need to be performed.
[0654]
[0655]
[0656]
[0657]
[0658]
[0659] Therefore, C-High Speed H ∞The filter degenerates to the C-whitening high-speed H of Table 3 ∞ filter. Here, z^ is omitted k|k =H k x^ k|k .
[0660] Execute C-whitening high speed H ∞ When using the filter Figure 2 The core algorithm of Fig.11 The formulas in (Table 3) are calculated in order from the top (in descending order of formula numbers). Thus, a filter can be executed for each sample (unit time). The order of the formula is opposite to that of the general filter. In addition, in each table, "Mul." indicates the number of multiplication calculations, and "Add." indicates the number of addition calculations.
[0661] 4.6C-NLMS Algorithm
[0662] Fig.12 An explanatory diagram showing the filter processing and time calculation amount of the C-NLMS algorithm (Table 4).
[0663] γ f =1.0 and ρ =1.0, S k =S k-1 =S -1 =1 / ε0. Thus, C-whitening high speed H ∞ The filter degenerates to the following.
[0664]
[0665]
[0666]
[0667] This is theoretically equivalent to the NLMS algorithm with a step size of μ = 1. Therefore, by introducing the relaxation factor μ (a real number with μ>0) into formula (49), the C-NLMS algorithm with a step size of μ in Table 4 can be obtained. The computational complexity of this algorithm is O(2N). S -1 =1 / ε0 is consistent with the regularization term δ of the NLMS algorithm.
[0668] When executing the filter of the C-NLMS algorithm, use Figure 2 The core algorithm will Fig.12 The formulas in (Table 4) are calculated sequentially from the top (the formula numbers are in descending order). Thus, a filter can be executed for each sample (unit time). The order of the formula is opposite to the description of a general filter. In addition, in each table, "Mul." indicates the number of multiplication calculations, and "Add." indicates the number of addition calculations.
[0669] 4.7C-High Speed H∞ Reasonableness of filter whitening
[0670] High speed H ∞ The filter can perform whitening as follows by setting the linear prediction coefficients of the input signal to zero.
[0671]
[0672]
[0673]
[0674] Among them, K k-1 (1:N-1,:) indicates that K k-1 The matrix consists of the first row to the (N-1)th row of .
[0675] The whitening high speed H ∞ Filter (WFHF) in γ f =∞, it degenerates as follows.
[0676]
[0677]
[0678]
[0679] At this time, the normalization term 1+γ in the denominator of the filter gain f -2 H k K k (:, 1) is 1. Consider the following situation: if the input signal u k The amplitude of the filter increases sharply, the filter gain is too large and the whitening is unstable (due to γ f <∞ when the denominator has H k K k (:, 1), so the gain level is limited). From this, it can be seen that in the previous high-speed H ∞ There are problems in the whitening of the filter. In addition, the amount of calculation of WFHF is O(3N).
[0680] The embodiments of the present disclosure and / or the C-WFHF of the present embodiment solve this problem and can appropriately perform whitening. For whitening, for example, a linear prediction coefficient a is selected from a large number of parameters. k and b k As 0. In addition, from e~ k 、e k , e ~ kN ,and e kIn addition, use K ~ k =m ~ k Such a formula, moreover, does not require S k Therefore, it is extremely difficult to select a specific parameter from a large number of existing parameters as a specific value, and to use a specific formula for a specific parameter from a large number of existing formulas. Therefore, the embodiments of the present disclosure and / or this embodiment achieve appropriate whitening.
[0681] 4.8C-Whitening High Speed H ∞ Research on the Optimal Version of the Filter (C-WFHF) and the C-NLMS Algorithm (C-NLMS)
[0682] An example of optimization of calculation formulas in consideration of the installation of C-WFHF and C-NLMS and the estimation of the amount of calculation is performed. Here, optimization particularly refers to "optimization for embedding". Here, for example, the case where a formula (form) is obtained that minimizes the number of operations of an embedded program is called optimization. In addition, "a form that maintains the relationship with C-FHF" and "a form suitable for embedding (optimal version)" are theoretically equivalent. For example, the meaning of the algorithm of "a form that maintains the relationship with C-FHF" is easy to understand. On the other hand, "a form suitable for embedding" is a form suitable for actual programming in a CPU.
[0683] When embedding a processor or hardware such as a DSP (digital signal processor), the number of required loops differs depending on whether the multiplication (Mul.), division (Div.), or addition (Add.) is embedded. Therefore, the number of loops is estimated based on the number of operations. In practice, the number of loops used varies greatly depending on the reading from the memory or registry and the parallelization operation. However, the number of loops is calculated without considering the change in the number of loops of the embedding method.
[0684] Fig.15 Indicates C-whitening high speed H ∞ An explanatory diagram of the processing and time calculation amount of an example of the optimal version of the filter.
[0685] At this time, C-whitening high speed H ∞ The filter equations (60), (58), (55), (49) and (50) can be summarized as follows. ~ k-1 (1:N-1,1) means K~ k-1 The matrix from the first row to the first column of the N-1th row.
[0686] In addition, by using the C-whitening high-speed H ∞ By giving μ (step size, real number with μ>0) to the filter (C-WFHF) formula, C-WFHF can be expressed in a way that C-NLMS is completely included in C-WFHF. f =1 and the C-WFHF when ρ = 1 is completely consistent.
[0687] The optimized formula is a formula that is reorganized so that the number of operations is reduced, and is theoretically equivalent to the formula before reorganization. For example, by extracting the first component of the first column of the C-WFHF formula (58) and using the Nth component, the following K~ can be obtained. k The formula for (:, 1).
[0688]
[0689]
[0690]
[0691]
[0692] Here, the following relational expression is satisfied.
[0693]
[0694]
[0695]
[0696]
[0697]
[0698] In addition, K~ is derived from the equations (58), (61) and (62) of C-WFHF. k-1 (N, 1) = u k-N / S k-N-1 Therefore, the above R is derived from the formula (55) of C-WFHF e、k The formula of (1,1).
[0699] Therefore, the operation used for the actual calculation is R e、k The scalar value of the first row and first column, so C-whitening high speed H ∞ The filter formula (55) can be shortened to the above formula.
[0700] Execute C-whitening high speed H ∞ When using the filter Figure 2The core algorithm calculates the formulas in the chart in order from the top (the formula numbers are in descending order). This allows the filter to be executed for each sample (unit time). The order of the formulas is opposite to the description of general filters. In addition, in each table, "Mul." indicates the number of multiplication calculations, "Div." indicates the number of division calculations, and "Add." indicates the number of addition calculations.
[0701] Thus, according to this optimization, the C-whitening high-speed H ∞ The filter can further reduce the amount of calculation.
[0702] Fig.16 This is a diagram illustrating the processing and time calculation amount of an example of an optimal version of the filter of the C-NLMS algorithm.
[0703] At this time, the filter formulas (58), (55), (49) and (50) of the C-NLMS algorithm can be organized as follows. In addition, for example, by extracting the first component to the Nth component of the first column of the C-NLMS formula (58) and using them, the following K~ k The formula for (:, 1).
[0704]
[0705]
[0706]
[0707] Here, the following relational expression is satisfied.
[0708]
[0709]
[0710]
[0711]
[0712]
[0713] (μ is the step size, which is a real number with μ>0)
[0714] In addition, from the C-NLMS formula (58), K~ k-1 (N, 1) = ε0u k-N Therefore, the above R is derived from the C-NLMS formula (55). e、k The formula of (1,1).
[0715] Therefore, the operation used for the actual calculation is R e、kThe scalar value of the first row and first column of , so the formula (55) of the filter of the C-NLMS algorithm can be omitted to the above formula.
[0716] When executing the filter of the C-NLMS algorithm, use Figure 2 The core algorithm calculates the formulas in the chart in order from the top (the formula numbers are in descending order). This allows the filter to be executed for each sample (unit time). The order of the formulas is opposite to the description of general filters. In addition, in each table, "Mul." indicates the number of multiplication calculations, "Div." indicates the number of division calculations, and "Add." indicates the number of addition calculations.
[0717] Therefore, according to this optimization example, the amount of calculation can be further reduced compared to the filter of the C-NLMS algorithm shown above. This is consistent with the NLMS algorithm of δ=1 / ε0.
[0718] 5. Echo Canceller
[0719] 5.1 Preparation
[0720] Hereinafter, an example of an echo canceller is given as an implementation method to confirm the operation of the present identification algorithm. Prior to this, a communication echo canceller is briefly described. The principle of an acoustic echo canceller, which is indispensable in a sound interface such as a smart speaker that has recently attracted attention, is the same.
[0721] Figure 4 An explanatory diagram showing a communication system and echoes.
[0722] In long-distance telephone lines such as those used for international calls, four-wire lines are used for reasons such as signal amplification. On the other hand, two-wire lines are used because the distance is short in subscriber lines. In the connection between the two-wire line and the four-wire line, Figure 4 As shown, a hybrid transformer is introduced and impedance matching is performed. If the impedance matching is perfect, the signal (sound) from speaker B reaches only speaker A. However, it is generally difficult to achieve perfect matching. Therefore, a part of the received signal leaks into the four-wire line, and a phenomenon occurs in which it returns to the sender (speaker B) again after amplification. This is called echo. It is assumed that as the transmission distance increases, the influence of echo increases, and the call quality deteriorates significantly. In addition, in pulse transmission, even at a short distance, it is assumed that the deterioration of call quality due to echo becomes a problem.
[0723] Figure 5 A schematic diagram showing an echo canceller.
[0724] Here, if Figure 5As shown, an echo canceller is introduced. In this echo canceller, the impulse response of the echo path is estimated successively using the received signal and the echo that can be directly observed. The echo is canceled by subtracting the pseudo echo obtained by using the result from the actual echo, thereby achieving echo removal.
[0725] The impulse response of the echo path is estimated by using the residual echo k The estimation is performed in such a way that the mean square error of is minimized. At this time, the factors that hinder the estimation of the echo path are the line noise and the signal (sound) from speaker A. Generally, when two speakers start talking at the same time (two-way talking), the estimation of the impulse response is interrupted.
[0726] Next, we create a mathematical model for the echo cancellation problem. First, if we consider the received signal u k becomes the input signal to the echo path, then according to the impulse response h of the echo path i [k], echo d k The observed value y k It is expressed by the following formula.
[0727]
[0728] Among them, u k and k Respectively represent the received signal and the observed value of the echo at time k. k is the line noise with an average value of 0 at time k. The number of taps N is known. At this time, if the estimated value h^ of the impulse response can be obtained at every moment i [k], then use it to generate a suspected echo in the following way.
[0729]
[0730] If we subtract it from the echo (y k -d ^ k ≒0), the echo can be eliminated. Among them, when ki<0, u k-i =0.
[0731] Therefore, the elimination problem can be attributed to the following problem: according to the directly observable received signal u k and the observed value y of the echo k , successively estimate the impulse response h of the echo path i [k].
[0732] Generally speaking, in order to ∞ The filter is applied to the echo canceller. First, equation (65) is expressed as a state space model consisting of a state equation and an observation equation. Here, by replacing {h i [k]}N-1 i=o As the state variable x k And allow w k The following state-space model can be established for the echo path based on the degree of change.
[0733]
[0734]
[0735]
[0736] Here, the following relational expression is satisfied.
[0737] x k =[h0[k],…,h N-1 [k]] T ,w k =[u k (1),…,w k (N)] T
[0738] H k =[u k ,…,u k-N+1 ]
[0739] 5.2 Action Confirmation
[0740] Fig.13 is a graph showing the impulse response of the echo path (Table 5).
[0741] Next, using the echo path identification problem, confirm that C-High Speed H ∞ filter (C-FHF), and shows the rationality of the C-high-speed H ∞ The unknown system consists of an impulse response {h i (k)} N-1 i=0 The impulse response shifts once at time k = 4000 and then maintains this value. At this time, the observed value y of the echo k It is expressed by the following formula.
[0742]
[0743] Among them, as {h i} 23 i=0 Use the values in Table 5, other {h i} 127 i=24 is 0. In addition, V kAs the mean value is 0 and the standard deviation is σ v =10 -40 The stable Gaussian white noise.
[0744] In addition, the received signal u k is approximated by a second-order AR model in the following manner.
[0745] u k =α1u k-1 +α2u k-2 +w' k (71)
[0746] Among them, α1=0.7, α2=0.1. w' k As the mean value is 0 and the standard deviation is σ w’ = 0.02 stable Gaussian white noise.
[0747] Figure 6 (a) and Figure 6 (b) is an explanatory diagram showing changes in tap square errors in the present embodiment (C-FHF) and other methods.
[0748] Figure 6 (a) and Figure 6 (b) indicates that C-high speed H ∞ The tap square error of the filter (C-FHF) ||x^ k|k -x k || 2 The transition and high speed H ∞ The results of the comparison between the fast Kalman filter (FHF), the fast Kalman filter (FKF) and the fast transverse filter (FTF). 1.3<γ f <∞, there is a difference in the amount of calculation, but almost no high-speed H ∞ Filter (FHF) and C-High Speed H ∞ The performance of the filter (C-FHF) is poor. It is worth noting that when the observation noise is very small, the high-speed H ∞ Filter and C-High Speed H ∞ Compared with the high-speed Kalman filter and the high-speed lateral filter, the filter has high convergence performance and following performance.
[0749] then, Figure 7 This is a diagram illustrating sound signals.
[0750] also, Figure 8 (a) and Figure 8 (b) indicates input Figure 7 This figure illustrates the results when the sound signal is .
[0751] In this case, C-High Speed H ∞The filter exhibits better convergence and following performance than the high-speed Kalman filter and the high-speed transverse filter.
[0752] 6. Proof of the Proposition
[0753] The proof of each of the above propositions is described below.
[0754] Proof of Proposition 1
[0755] The gain matrix K can be expressed as follows: k To organize.
[0756]
[0757] Proof of Proposition 2
[0758] If you use and Then the formula Q k-1 b k-1 =- t k-1 Expand as follows.
[0759] Q k-1 b k-1 =- t k-1
[0760]
[0761]
[0762]
[0763]
[0764]
[0765] If we compare the last formula with Q k b k =- t k By comparison, the following formula can be obtained.
[0766]
[0767] Proof of Proposition 3
[0768] By using Propositions 1 and 2, the ex post forecast error e k The prior backward prediction error e can be used as follows k To express.
[0769]
[0770] Proof of Proposition 4
[0771] By using Proposition 1, the ex post forecast error e k The a priori forward prediction error can be used as follows e ~ k To express.
[0772]
[0773] Proof of Proposition 5
[0774] By using Proposition 1, Proposition 2 and Proposition 3, the posterior linear prediction coefficient b k The update formula of can be rewritten as follows.
[0775]
[0776] Proof of Proposition 6
[0777] By applying Proposition 1 and Proposition 4 to formula (29), we can obtain the forward linear prediction coefficient a k The new update formula.
[0778] Proof of Proposition 7
[0779] (N+1)×(N+1) matrix Q U k It can be decomposed into two modes as follows.
[0780]
[0781] By applying the auxiliary theorem for inverse matrices to the QU decomposed in the above manner k-1 , we can get the following formula.
[0782]
[0783] Here, the following relational expression is satisfied.
[0784]
[0785] By multiplying both sides of formula (79) by C from the right U k T , the formula can be organized as K U K .
[0786]
[0787] Next, the N×2 matrix is defined by the following formula (82): and a 1×2 matrix According to the last equation of formula (81), the following relationship (83) is obtained.
[0788]
[0789]
[0790] At this time, by comparing the terms on both sides of formula (83), the following formula can be obtained.
[0791]
[0792] Proof of Proposition 8
[0793] According to the second terms on both sides of formula (83), we can get μ~ k = e ~T k / S k-1 . Thus, formula (46) is derived.
[0794] Proof of Proposition 9
[0795] By multiplying both sides of formula (79) by C U k and C U k T , we can get the following formula.
[0796]
[0797] The proof is completed by applying Proposition 8 to this.
[0798] The detailed description has been given for the purpose of example and illustration. In light of the above teachings, many variations and changes are possible. The detailed description is not exhaustive or intended to limit the subject matter described herein. Although the subject matter has been described in words with specific structural features and / or method processes, it should be understood that the subject matter defined in the claims is not necessarily limited to the specific features or specific processes described. More specifically, the specific features and specific processes are described as examples of implementing the claims.
Claims
1. A system identification device, the system identification device performs high-speed real-time identification of the system based on input and output data, the system identification device is characterized in that: A filter is included, wherein the filter determines the maximum energy gain from the disturbance to the filter error as a suppression ratio of the upper limit value γ provided in advance as an evaluation criterion f 2 Small and robust to interference, The filter is provided by the following equations (49), (50), (55), (58), (60) to (62) for the state space model represented by the following equations (11) to (13), Infer the state x of the system k The estimated value of the state x^ k|k , in, C k and W are defined by the following formulas, It is C k =[c k , ..., c k-N+1 ], H k =[u k 、…、u k-N+1 ] in, x k : The state vector or just the state, unknown, becomes the object of inference; x0: initial state, unknown; w k : System noise, unknown; V k : Observation noise, unknown; y k : The observed signal becomes the input of the filter and is known; z k : Output signal, unknown; G k : driving matrix, known at execution time; H k : Observation matrix, known; x^ k|k :Use observation signal y0~y k The state x at time k k The estimated value of , provided by the filter equation, x k is the impulse response of the unknown system; x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation; R e、k : auxiliary variables, 2×2 matrix; N: The dimension of the state vector, i.e. the number of taps, is provided in advance; μ ~ k :K U k The N+1th 1×2 row vector of U k get; W: weight matrix, composed of γ f Sure; S k : with u k 2 The relevant variables, S -1 =1 / ε0, ε0 is a positive constant; e k : posterior forward prediction error, two-dimensional column vector; e ~ k : Prior forward prediction error; γ f : Attenuation level, provided during design; μ: step size, i.e. relaxation factor, a real number μ>0, provided in advance; ρ: forgetting factor; K ~ k : The auxiliary matrix used to calculate the filter gain can be recursively calculated by formula (58); u k : The received signal at time k.
2. The system identification device according to claim 1, characterized in that: Using formula (60), for formula (58), formula (55), formula (49) and formula (50), use the following formula after transforming formula (58), formula (55), formula (49) and formula (50), where μ is the step size, which is a real number with μ>0. x^ k is x k The estimated value of .
3. The system identification device according to claim 1, characterized in that: Also includes a processing unit for executing the filter, The processing unit implements the following steps: The first step is to read the initial state of the recursive formula from the storage unit or input the initial state from the input unit or the interface unit to initialize the recursive variable of the filter; The second step is to determine whether the time k exceeds the predetermined data length L, and if so, initialize the filter gain and restart or end the processing; In the third step, when the time k is less than the data length L, the input signal u is input from the input unit or the interface unit. k Or read the input signal u from the storage unit k , using the input signal u k and offset characteristics C U k =[c k , C k-1 ]=[C k , c k-N ] to update the magnified observation matrix C U k ; The fourth step includes calculating the second term on the right side of formula (49) by the relaxation factor μ in descending order from formula (62) to formula (49), and executing the filter algorithm per unit time; The fifth step is to update the filter equation including formula (49) and convert the state estimation value x^ k|k stored in a storage unit and / or output from an output unit or an interface unit; and In the sixth step, the time k is advanced and the processing from the first step to the fourth step is repeated.
4. A system identification device, the system identification device performs high-speed real-time identification of the system based on input and output data, the system identification device is characterized in that: A filter is included, wherein the filter determines the maximum energy gain from the disturbance to the filter error as a suppression ratio of the upper limit value γ provided in advance as an evaluation criterion f 2 Small and robust to interference, The filter is provided by the following formulas (49), (50), (55), and (58) for the state space model represented by the following formulas (11) to (13), Infer the state x of the system k The estimated value of the state x^ k|k , in, C k and W are defined by the following formulas, It is C k =[c k .....c k-N+1 ], H k =[u k 、…、u k-N+1 ] in, x k : The state vector or just the state, unknown, becomes the object of inference; x0: initial state, unknown; w k : System noise, unknown; V k : Observation noise, unknown; y k : The observed signal becomes the input of the filter and is known; z k : Output signal, unknown; G k : driving matrix, known at execution time; H k : Observation matrix, known; x^ k|k :Use observation signal y0~y k The state x at time k k The estimated value of , provided by the filter equation, x k is the impulse response of the unknown system; x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation; R e、k : auxiliary variables, 2×2 matrix; N: The dimension of the state vector, i.e. the number of taps, is provided in advance; μ ~ k :K U k The N+1th 1×2 row vector of U k get; W: weight matrix, composed of γ f Sure; ε0: any positive constant, ε0>0, provided in advance; γ f : Attenuation level, provided during design; μ: step size, i.e. relaxation factor, a real number μ>0, provided in advance; K ~ k : The auxiliary matrix used to calculate the filter gain can be recursively calculated by formula (58); u k : The received signal at time k.
5. The system identification device according to claim 4, characterized in that: For formula (58), formula (55), formula (49) and formula (50), the following formula after transforming formula (58), formula (55), formula (49) and formula (50) is used: Where, μ is the step size, which is a real number with μ>0; x^ k is x k The estimated value of .
6. The system identification device according to claim 4, characterized in that: Also includes a processing unit for executing the filter, The processing unit implements the following steps: The first step is to read the initial state of the recursive formula from the storage unit or input the initial state from the input unit or the interface unit to initialize the recursive variable of the filter; The second step is to determine whether the time k exceeds the predetermined data length L, and if so, initialize the filter gain and restart or end the processing; In the third step, when the time k is less than the data length L, the input signal u is input from the input unit or the interface unit. k Or read the input signal u from the storage unit k , using the input signal u k and offset characteristics C U k =[c k , C k-1 ]=[C k , c k-N ] to update the magnified observation matrix C U k ; The fourth step comprises calculating the formulas providing the filter in descending order from formula (58) to formula (49) by the step size μ, and executing the filter algorithm per unit step size; The fifth step is to update the filter equation including formula (49) and convert the state estimation value x^ k|k stored in a storage unit and / or output from an output unit or an interface unit; and In the sixth step, the time k is advanced and the processing from the first step to the fourth step is repeated.
7. The system identification device according to any one of claims 1 to 6, characterized in that: The evaluation criterion satisfies the following formula (14) with respect to the state space model: in, e f、i : Filter error, e f、i =z v i|i -H i x i , z v i|i is the output estimated value H i x^ i|i ; Σ0 -1 : The inverse matrix of the weight matrix representing the uncertainty of the state, Σ0 is known; ρ: forgetting factor, γ f When determined, ρ = 1-χ(γ f ) is determined, and can also be compared with γ f Separation is determined independently, where χ(γ f ) is a monotonic decay function satisfying χ(1)=1, χ(∞)=0; γ f : Attenuation level, provided during design.
8. The system identification device according to claim 3 or 6, characterized in that: The processing unit of the filter in the third step executes a step of determining the scalar existence condition of the following formula before or after the execution of the processing, and ends the processing or restarts the processing when the formula (30) is not satisfied. in, They are defined by the following formulas respectively, 9. The system identification device according to claim 3 or 6, characterized in that: The filter processing unit further calculates the output estimated value z using the following formula (48) in the fifth step: v k|k , z v k|k-1 , stored in the storage unit and / or output from the output unit or the interface unit, z^ k|k =H k x^ k|k (48) in, z^ k|k :Use observation signal y0~y k The output z at time k k The estimated value H k x^ k|k , provided by the filter equation; z^ k|k-1 :Use observation signal y0~y k-1 The output z at time k k One-step prediction value H k x^ k-1|k-1 , provided by the filter equation.
10. The system identification device according to any one of claims 1 to 6, characterized in that: Apply the filter to obtain the estimated state value x k|k , The suspected echo d ^ is estimated as shown in the following formula (66): k and subtract it from the echo to cancel the echo, in, [h^0[k], …, h^ N-1 [k]] T It is x k-1|k-1 To x ^ k|k ,u k is the time t k The received signal in , N is the known number of taps, t k =kT, T is the sampling period.
11. A system identification method for performing high-speed real-time identification of a system based on input and output data, characterized in that: A filter is used, which determines the maximum energy gain from the disturbance to the filter error as an evaluation criterion to suppress the upper limit value γ provided in advance in proportion. f 2 Small and robust to interference, With respect to the state space model represented by the following equations (11) to (13), the filter is provided by the following equations (49), (50), (55), (58), (60) to (62), Infer the state x of the system k The estimated value of the state x^ k|k , Among them, C k and W are defined by the following formulas, It is C k =[c k .....c k-N+1 ], H k =[u k 、…、u k-N+1 ] in, x k : The state vector or just the state, unknown, becomes the object of inference; x0: initial state, unknown; w k : System noise, unknown; V k : Observation noise, unknown; y k : The observed signal becomes the input of the filter and is known; z k : Output signal, unknown; G k : driving matrix, known at execution time; H k : Observation matrix, known; x^ k|k :Use observation signal y0~y k The state x at time k k The estimated value of , provided by the filter equation, x k is the impulse response of the unknown system; x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation; R e、k : auxiliary variables, 2×2 matrix; N: The dimension of the state vector, i.e. the number of taps, is provided in advance; μ ~ k :K U k The N+1th 1×2 row vector of U k get; W: weight matrix, composed of γ f Sure; S k : with u k 2 The relevant variables, S -1 =1 / ε0, ε0 is a positive constant; e k : posterior forward prediction error, two-dimensional column vector; e ~ k : Prior forward prediction error; γ f : Attenuation level, provided during design; μ: step size, i.e. relaxation factor, a real number μ>0, provided in advance; ρ: forgetting factor; K ~ k : The auxiliary matrix used to calculate the filter gain can be recursively calculated by formula (58); u k : The received signal at time k.
12. A system identification method for performing high-speed real-time identification of a system based on input and output data, characterized in that: A filter is used, which determines the maximum energy gain from the disturbance to the filter error as an evaluation criterion to suppress the upper limit value γ provided in advance in proportion. f 2 Small and robust to interference, With respect to the state space model represented by the following equations (11) to (13), the filter is provided by the following equations (49), (50), (55), and (58), Infer the state x of the system k The estimated value of the state x ^ k|k , Among them, C k and W are defined by the following formulas, It is C k =[c k .....c k-N+1 The first column vector of | H k =[u k 、…、u k-N+1 ] in, x k : The state vector or just the state, unknown, becomes the object of inference; x0: initial state, unknown; w k : System noise, unknown; V k : Observation noise, unknown; y k : The observed signal becomes the input of the filter and is known; z k : Output signal, unknown; G k : driving matrix, known at execution time; H k : Observation matrix, known; x^ k|k :Use observation signal y0~y k The state x at time k k The estimated value of , provided by the filter equation, x k is the impulse response of the unknown system; x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation; R e、k : auxiliary variables, 2×2 matrix; N: The dimension of the state vector, i.e. the number of taps, is provided in advance; μ ~ k :K U k The N+1th 1×2 row vector of U k get; W: weight matrix, composed of γ f Sure; ε0: any positive constant, ε0>0, provided in advance; γ f : Attenuation level, provided during design; μ: step size, i.e. relaxation factor, a real number μ>0, provided in advance; K ~ k : The auxiliary matrix used to calculate the filter gain can be recursively calculated by formula (58); u k : The received signal at time k.
13. A computer-readable recording medium having a system identification program recorded thereon, the system identification program being used to cause a computer to perform high-speed real-time identification of a system based on input and output data, The computer-readable recording medium having the system identification program recorded thereon is characterized in that the system identification program causes the computer to execute the following steps: The processing unit provides a filter step by the following formulas (49), (50), (55), (58), (60) to (62) with respect to the state space model represented by the following formulas (11) to (13); The processing unit reads out the initial state of the recursive formula from the storage unit or inputs the initial state from the input unit or the interface unit to initialize the recursive variable of the filter; The processing unit determines the maximum energy gain from the disturbance to the filter error as a suppression ratio of the upper limit value γ provided in advance as an evaluation criterion. f 2 A filter that is small and robust to disturbances is used to estimate the state x of the system by calculating the formula that provides the filter in descending order. k The estimated value of the state x ^ k|k steps; and The processing unit converts the state estimation value x^ k|k The steps of storing in a storage unit and / or outputting from an output unit or an interface unit, in, C k and W are defined by the following formulas, It is C k =[c k .....c k-N+1 ], H k =[u k 、…、u k-N+1 ] in, x k : The state vector or just the state, unknown, becomes the object of inference; x0: initial state, unknown; w k : System noise, unknown; V k : Observation noise, unknown; y k : The observed signal becomes the input of the filter and is known; z k : Output signal, unknown; G k : driving matrix, known at execution time; H k : Observation matrix, known; x^ k|k :Use observation signal y0~y k The state x at time k k The estimated value of , provided by the filter equation, x k is the impulse response of the unknown system; x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation; R e、k : auxiliary variables, 2×2 matrix; N: The dimension of the state vector, i.e. the number of taps, is provided in advance; μ ~ k :K U k The N+1th 1×2 row vector of U k get; W: weight matrix, composed of γ f Sure; S k : with u k 2 The relevant variables, S -1 =1 / ε0, ε0 is a positive constant; e k : posterior forward prediction error, two-dimensional column vector; e ~ k : Prior forward prediction error; γ f : Attenuation level, provided during design; μ: step size, i.e. relaxation factor, a real number μ>0, provided in advance; ρ: forgetting factor; K ~ k : The auxiliary matrix used to calculate the filter gain can be recursively calculated by formula (58); u k : The received signal at time k.
14. A computer-readable recording medium having a system identification program recorded thereon, the system identification program being used to cause a computer to perform high-speed real-time identification of a system based on input and output data, The computer-readable recording medium having the system identification program recorded thereon is characterized in that the system identification program causes the computer to execute the following steps: The processing unit provides a filter step by the following formulas (49), (50), (55), and (58) with respect to the state space model represented by the following formulas (11) to (13); The processing unit reads out the initial state of the recursive formula from the storage unit or inputs the initial state from the input unit or the interface unit to initialize the recursive variable of the filter; The processing unit determines the maximum energy gain from the disturbance to the filter error as a suppression ratio of the upper limit value γ provided in advance as an evaluation criterion. f 2 A filter that is small and robust to disturbances is used to estimate the state x of the system by calculating the formula that provides the filter in descending order. k The estimated value of the state x ^ k|k steps; and The processing unit converts the state estimation value x^ k|k The steps of storing in a storage unit and / or outputting from an output unit or an interface unit, in, C k and W are defined by the following formulas, It is C k =[c k .....c k-N+1 ], H k =[u k 、…、u k-N+1 ] in, x k : The state vector or just the state, unknown, becomes the object of inference; x0: initial state, unknown; w k : System noise, unknown; V k : Observation noise, unknown; y k : The observed signal becomes the input of the filter and is known; z k : Output signal, unknown; G k : driving matrix, known at execution time; H k : Observation matrix, known; x^ k|k :Use observation signal y0~y k The state x at time k k The estimated value of , provided by the filter equation, x k is the impulse response of the unknown system; x^ -1|-1 : The initial estimated value of the state, which is originally unknown, but 0 is used for ease of explanation; R e、k : auxiliary variables, 2×2 matrix; N: The dimension of the state vector, i.e. the number of taps, is provided in advance; μ ~ k :K U k The N+1th 1×2 row vector of U k get; W: weight matrix, composed of γ f Sure; ε0: any positive constant, ε0>0, provided in advance; γ f : Attenuation level, provided during design; μ: step size, i.e. relaxation factor, a real number μ>0, provided in advance; K ~ k : The auxiliary matrix used to calculate the filter gain can be recursively calculated by formula (58); u k : The received signal at time k.
