Time sequence signal real-time decoupling method based on adaptive filtering and causal decomposition

Through adaptive filtering and causal decomposition technology, a nonlinear discrete time model is established to identify the causal relationship of a two-input and two-output system, solving the problem of difficulty in decoupling nonlinear deterministic system signals with existing technology, and improving the interpretability of the model. and predictability.

CN118568438AInactive Publication Date: 2024-08-30UNIV OF ELECTRONICS SCI & TECH OF CHINA +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410716225.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

It is difficult for existing technologies to effectively identify and decouple two-input, two-output nonlinear deterministic system signals that contain causal characteristics. Especially in complex time-varying dynamic processes, traditional methods cannot adaptively capture the subtle changes and causal relationships of the system.

Method used

A real-time decoupling method of time series signals based on adaptive filtering and causal decomposition is adopted. By establishing a nonlinear, time-invariant discrete time model, and combining adaptive filtering algorithms and causal decomposition technology, the model parameters are gradually adjusted to identify the causal relationship of the system. And achieve real-time decoupling.

Benefits of technology

It improves the interpretability and predictability of the model, can more accurately identify and classify nonlinear dynamic systems, breaks through the limitations of traditional methods in adaptability and causality identification, and achieves real-time decoupling of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568438A
    Figure CN118568438A
Patent Text Reader

Abstract

The invention discloses a time sequence signal real-time decoupling method based on adaptive filtering and causal decomposition, and the method comprises the following steps: S1, carrying out the order selection of a to-be-analyzed time sequence, and building a discrete time model 1; s2, identifying and solving the discrete time model 1 based on an adaptive filtering method; s3, performing decomposition and causal analysis on an estimated value generated by filtering in the adaptive filtering process; s4, further rewriting the discrete time model 1 into a two-input two-output system structure containing autoregression information and causal information to establish a model 2, and comparing the autoregression information intensity of the time sequence in the model 2; and S5, repeating the steps S3-S4 to realize real-time decoupling of the system, and obtaining a stable model 2 structure within an error allowable range. According to the method, a two-input two-output nonlinear deterministic system signal containing causal characteristics can be decoupled in real time, and a model capable of describing dynamic behaviors of the system is established.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to signal processing, in particular to a real-time decoupling method for two-input and two-output time series signals based on adaptive filtering and causal decomposition. Background Art

[0002] In many research fields, irregular, non-stationary and highly noisy bivariate data are ubiquitous. Usually, two simultaneously recorded time series are characterized by traditional cross-correlation (cross-spectrum) techniques or nonlinear statistics such as mutual information or maximum correlation. In the past two decades, people have been committed to finding various nonlinear dynamic tools to describe the dynamic interdependence between systems, especially in climate, epidemiology and other fields. Nonlinear dynamic systems are widely present in nature, whether in deterministic dynamic systems or in systems containing noise, they are closely related to nonlinear dynamics and nonlinear coupling.

[0003] Nonlinear system identification has been widely recognized. Iterative and non-iterative methods are usually used to solve the modeling problems of time domain and frequency domain signals. Iterative methods often gradually adjust model parameters through an iterative process to minimize the error between the actual output and the model output. Non-iterative methods often model according to the mathematical relationship between input and output data when establishing the system model, without iteratively adjusting model parameters. For complex time-varying dynamic processes, a single deterministic model cannot describe them. Nonlinear system identification has many advantages and is often used for static modeling. However, it is necessary to determine the form of the model in advance or select a specific function class to fit the data. This means that non-iterative methods may not be able to adapt to complex nonlinear systems or cannot capture small changes (dynamic characteristics) in the system, that is, they cannot adaptively iterate the time-varying nature of complex dynamic systems. In contrast, iterative methods are more flexible and can gradually adjust model parameters to adapt to different system behaviors. Common iterative methods such as least squares and gradient descent focus more on convergence and optimization performance. However, for real-world causal nonlinear deterministic dynamic systems, the variables between systems are often interdependent and causally interactive. Therefore, it is not enough to pursue convergence for the analysis of these systems. By further considering the intrinsic relationships and dynamic interactions of the system, capturing the temporal properties and evolution of the system, the interpretability and predictability of the model may be improved. Achieving convergence alone may ignore the overall benefits and optimization goals of the system, especially when the analysis of the real physical meaning of the system is missing. Identifying the causal network of these systems may make the identification of nonlinear systems more in-depth. Since nonlinear deterministic systems have complex dynamic characteristics and interdependence between input and output variables, identifying them remains a challenging task. More combined schemes can also provide more model options for nonlinear system identification. More importantly, in the current system structure modeling, the main difficulty of multivariable systems is to jointly select a suitable regular form. Some such forms are feasible, but the structural problem has not been fully solved. For example, there are few good techniques that can combine prior knowledge of the nature of no coupling between two variables or coupling between two other variables. If a multivariable system is identified as a collection of multi-input single-output systems, then how different single-input single-output systems should be combined into a model and how to decide whether a specific pattern is common to several loops considering uncertainty are issues that need to be addressed urgently. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a real-time decoupling method for time series signals based on adaptive filtering and causal decomposition, which can effectively decouple two-input and two-output nonlinear deterministic system signals containing causal characteristics in real time, and establish a model that can describe the dynamic behavior of the system, thereby providing convenience for more accurate identification and classification of the system.

[0005] The object of the present invention is achieved through the following technical scheme: a real-time decoupling method for time series signals based on adaptive filtering and causal decomposition, comprising the following steps:

[0006] S1. Input the time series signals u1 and u2 to be analyzed, select the order of the time series u1 and u2 to be analyzed, and establish a nonlinear, time-invariant discrete time model 1 with two inputs and two outputs;

[0007] S2. Based on the adaptive filtering method, the discrete time model 1 is identified and solved to obtain the first time when the convergence condition is met and the corresponding adaptive filtering estimate;

[0008] S3. Decomposing and causally analyzing the estimated values ​​generated by filtering during the adaptive filtering process;

[0009] S4. Further rewrite the discrete time model 1 into a two-input and two-output system structure containing autoregressive information and causal information to establish model 2, and compare the autoregressive information strength of the time series in model 2;

[0010] S5. Repeat steps S3 to S4 to obtain a stable model 2 structure and realize real-time decoupling of the system.

[0011] The beneficial effects of the present invention are: the present invention effectively analyzes the model structure containing causal information. Compared with the traditional method, the analysis results of the present application can reflect the causal relationship of the time series on the existing model structure, improve the interpretability of the model, and provide ideas for the identification of nonlinear dynamic systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0013] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings, but the protection scope of the present invention is not limited to the following.

[0014] Adaptive filtering is an iterative method. RLS-FF is a commonly used parameter estimation algorithm, which can be used in dynamic system modeling, signal processing, adaptive control and other fields. Kalman introduced the Kalman filter, which is a recursive solution to the problem of discrete data linear filtering. It has a recursive expression form and is suitable for real-time prediction and filtering. The LMS algorithm is widely used due to its simplicity. Compared with LMS, the advantage of the RLS algorithm is that it can generate more accurate estimates in the transient stage, while the advantage of the KF algorithm is mainly because it can generate conditional expected values ​​of unknown parameters based on past measurement results under ideal conditions. Obviously, real-world systems often have time-varying parameters, but in the transient state (in a very short time), we can also think that complex dynamic time-varying systems can be composed of time-invariant systems. Using adaptive filtering, the characteristics of complex dynamic processes can be captured. Based on the above viewpoints, the KF algorithm and RLS have different advantages in capturing dynamics. And for such a complex system, it is also possible to identify the causal dynamic network of these systems.

[0015] In recent years, causal inference has been a hot topic in the fields of ecology, brain activity and epidemiology. Albert Yang et al. proposed the Ensemble Empirical Mode Decomposition (EEMD) method. EEMD is not based on time dependence and state dependence, but on the instantaneous phase dependence between causal relationships, namely the causal decomposition theory. Subsequently, it was compared with GrangerCausality, CCM and Mutual Information from Mixed Embedding (MIME) in random processes, deterministic processes and real ecological processes, showing the effectiveness and robustness of the theory in causal inference, but there are also limitations in the application of the theory. Specifically, unlike traditional prediction theories, causal decomposition is based on the Hilbert-Huang Transform (HHT). In recent years, HHT has also been widely used in brain science and electrophysiology, but most of them use bivariate time series signal processing methods such as Empirical Mode Decomposition (EMD). Obviously, combined with causal inference technology, the signal can be separated into causal components and non-causal components, thereby capturing the causal characteristics of the system. That is, assuming that there is a causal system in the actual system, based on this, for nonlinear systems, we can use a completely new definition to model the system, extract features related to the system's causal relationship and time dependency, and obtain the state of the system, which may help to identify and classify the system more accurately.

[0016] In summary, this method proposes a fast real-time decoupling method for 2I2O nonlinear deterministic systems based on adaptive filtering and causal decomposition, that is, for the simplest two-input and two-output differential equation that exhibits coupled chaotic behavior (the simplest biological reality model including spatial effects), the real-time prediction and parameter estimation of adaptive filtering technology are combined with the causal decomposition in causal inference, and a method for realizing real-time decoupling of system states using a causal model is proposed. This is not based on data fitting approximation, but based on the component analysis of the system, the system is represented by a new definition, and the formulation of the identification problem is discussed, including the selection of standards and model structures. According to the steps S1-S5 of the patent of the present invention, the short-term and slow-changing system dynamics can be described. Repeating the above steps S1-S5 can repeatedly describe the changed system dynamics, and realize the real-time decoupling process. Specifically:

[0017] like Figure 1 As shown, the real-time decoupling method of time series signals based on adaptive filtering and causal decomposition is characterized by comprising the following steps:

[0018] S1. Input the time series signals u1 and u2 to be analyzed, select the order of the time series u1 and u2 to be analyzed, and establish a nonlinear, time-invariant discrete time model 1 with two inputs and two outputs;

[0019] S101. Input the time series signals u1 and u2 to be analyzed:

[0020]

[0021] k c Indicates the preset minimum length threshold;

[0022] S102. Use a regression analysis algorithm (such as a least squares algorithm, a least squares algorithm, etc.) to perform polynomial fitting of different orders on the time series u1 and u2 to be analyzed, and select the order that minimizes the fitting error;

[0023] Construct u based on u1 1_in ,u 1_ou :

[0024]

[0025] u 1_in ,u 1_ou They are the input and output signals of the polynomial fitting method when fitting u1, that is, u 1_in is the independent variable, u 1_ou is the dependent variable; the input point x i The corresponding output point is x i+1 (1≤i≤n-1).

[0026] Construct u from u2 2_in ,u 2_ou :

[0027]

[0028] u 2_in ,u 2_ou They are the input and output signals of the polynomial fitting method when fitting u2, that is, u 2_in is the independent variable, u 2_ou is the dependent variable; the input point y i The corresponding output point is y i+1 (1≤i≤n-1).

[0029] Select the polynomial degree (i.e. the order of the polynomial) Or to be used, where Or∈[1,5], and Or is an integer. Since the higher the order, the greater the flexibility of fitting, but it may also lead to overfitting, and the order of real-world signals generally does not exceed 5th order. So start from Or=1 to observe the fitting effect. Use regression analysis algorithm to fit the polynomial, and fit the data by minimizing the absolute error and. Specifically: the existing u 1_in ,u 1_ou The data point pairs (x1,x2),(x2,x3),...,(x n-1 ,x n ), hoping to find a polynomial that minimizes the deviation between the polynomial and the data point pairs.

[0030] When Or=1,2,3,4,5, u is analyzed by regression analysis algorithm in turn. 1_in ,u 1_ou Fit the polynomial coefficients under the order Or, and calculate the fitting error under the order Or, and take the first order that is less than the error threshold (0.1) as u 1_in ,u 1_ou The fitting order of is denoted as p;

[0031] (1) When Or=1, the first-order fitting polynomial and the fitting error (the sum of the absolute values ​​of the deviations) Ad are:

[0032]

[0033]

[0034] Among them, x i is the input signal u 1_in The i-th data point of is the output generated by the fitted polynomial, x i+1 is the output signal u 1_ou The i-th data point of , Ad is the output generated by the fitted polynomial With x i+1 The sum of the absolute differences of (1≤i≤n-1). a and b are the polynomial coefficients determined by the polynomial fitting method. After the fitting is completed, if Ad<0.1, the order selection result of the time series u1 is Or=1. If Ad>0.1, continue to fit the time series u1 with Or=2.

[0035] (2) When Or=2, the quadratic fitting polynomial and the sum of the absolute values ​​of the deviations Ad are:

[0036]

[0037]

[0038] Among them, x i is the input signal u 1_in The i-th data point of is the output generated by the fitted polynomial, x i+1 is the output signal u 1_ou The i-th data point of , Ad is the output generated by the fitted polynomial With x i+1 The sum of the absolute differences of (1≤i≤n-1). a, b and c are the polynomial coefficients determined by the polynomial fitting method. After the fitting is completed, if Ad<0.1, the order selection result of the time series u1 is Or=2. If Ad>0.1, continue to fit the time series u1 with Or=3.

[0039] (3) When Or=3, the sum of the cubic fitting polynomial and the absolute value of the deviation Ad is:

[0040]

[0041]

[0042] Among them, x i is the input signal u 1_in The i-th data point of is the output generated by the fitted polynomial, x i+1 is the output signal u 1_ou The i-th data point of , Ad is the output generated by the fitted polynomial With x i+1 The sum of the absolute differences of (1≤i≤n-1). a, b, c and d are the polynomial coefficients determined by the polynomial fitting method. After the fitting is completed, if Ad<0.1, the order selection result of the time series u1 is Or=3. If Ad>0.1, continue to fit the time series u1 with Or=4.

[0043] (4) When Or=4, the sum of the fourth-order fitting polynomial and the absolute value of the deviation Ad is:

[0044]

[0045]

[0046] Among them, x i is the input signal u 1_in The i-th data point of is the output generated by the fitted polynomial, x i+1 is the output signal u 1_ou The i-th data point of , Ad is the output generated by the fitted polynomial With x i+1 The sum of the absolute differences of (1≤i≤n-1). a, b, c, d, e are the polynomial coefficients determined by the polynomial fitting method. After the fitting is completed, if Ad<0.1, the order selection result of the time series u1 is Or=4. If Ad>1.0, continue to fit the time series u1 with Or=5.

[0047] (5) When Or=5, the sum of the quintic fitting polynomial and the absolute value of the deviation Ad is:

[0048]

[0049]

[0050] Among them, x i is the input signal u 1_in The i-th data point of is the output generated by the fitted polynomial, x i+1 is the output signal u 1_ou The i-th data point of , Ad is the output generated by the fitted polynomial With x i+1 The sum of the absolute differences of (1≤i≤n-1). a, b, c, d, e, f are polynomial coefficients determined by the polynomial fitting method. After the fitting is completed, if Ad<0.1, the order selection result of the time series u1 is Or=5. If Ad>0.1, the time series cannot be fitted, the next time series is input, and the process returns to step S1.

[0051] When Or=1,2,3,4,5, u is analyzed by regression analysis algorithm in turn. 2_in ,u 2_ou Fit the polynomial coefficients under the order Or, and calculate the fitting error under the order Or, and take the first order that is less than the error threshold as u 2_in ,u 2_ou The fitting order of is denoted as q;

[0052] When Or=1,2,3,4,5, the fitting process is exactly the same as (1)~(5). i 、x i+1 , Just replace x with y.

[0053] S103. Establish a nonlinear, time-invariant discrete-time model 1 with two inputs and two outputs:

[0054]

[0055] k represents the current state, k-1 represents the previous state, using discrete time model 1, let p+q=r, [] T represents the matrix transpose, "[·] ad " indicates that the matrix is ​​identified and solved using the adaptive filtering algorithm," [·] ad ” contains autoregressive information determined by the past state of the system;

[0056] [x k-1 x k-1 2 …x k-1 p y k-1 y k-1 2 …y k-1 q ] T is the filter input, [x k y k ] T is the filter output, [·] ad The weight matrix of the filter needs to be constantly modified.

[0057] S2. Based on the adaptive filtering method, the discrete time model 1 is identified and solved to obtain the first time when the convergence condition is met and the corresponding adaptive filtering estimate;

[0058] The step S2 comprises:

[0059] S201. Rewrite the discrete time model 1 as:

[0060]

[0061] in, Y k =[x k y k ] T , using the adaptive filtering algorithm to solve Θ in model 1 k , denoted as The adaptive filtering algorithm is RLS-FF or KF, RLS-FF refers to the recursive least square method with a forgetting factor, and KF represents the Kalman filtering algorithm;

[0062] Then, using the solved Estimated When input, the corresponding output estimate

[0063] Let the system estimation error be E:

[0064]

[0065] or

[0066]

[0067] The convergence bound of the adaptive filtering algorithm in this system is EB, where:

[0068] EB RLS-FF =0.001

[0069] EB KF =0.1

[0070] EB RLS-FF is the error bound of the RLS-FF algorithm; EB KF is the bound of the KF algorithm error;

[0071] The Fisher information matrix of the system at time k is denoted as I: The matrix I is an r-dimensional symmetric square matrix, in which the corresponding position elements are:

[0072]

[0073] Among them, I ij represents the element with row i and column j in matrix I, are the noise variances of sequences u1 and u2 respectively; when the system processes the data k=k1, if det(I)≠0, the observation at this time can estimate an accurate value;

[0074] S202. According to the system input at time k=1,2,...,n Constantly solve the Θ of model 1 k Matrix, records the system estimation error E and the rank of the information matrix det(I) in each solution process;

[0075] When the convergence condition is met for the first time: E<EB and det(I)≠0, record the time k at this time c ;

[0076] Then when k=1,2,...,k cAt each moment, a matrix is ​​solved And at each moment, an output estimate is obtained

[0077] The estimated signal generated by the filter during the adaptive filtering process is recorded as

[0078]

[0079] S3. Continue to perform adaptive filtering on model 1, and perform decomposition and causal analysis on the estimated value generated by the filtering during the adaptive filtering process;

[0080] For any value greater than or equal to k c k, and the corresponding estimated signal is obtained as u1′ according to step S2 ,k ,u2′ ,k ; Under the condition that the system error E still does not exceed the set limit EB and the rank of the information matrix det(I) is greater than zero, the output estimate u1′ generated by the filtering in the adaptive filtering process is ,k ,u2′ ,k Conduct decomposition and cause-and-effect analysis;

[0081]

[0082] S301. Using EEMD algorithm to analyze the signal u1′ ,k ,u2′ ,k To break it down:

[0083]

[0084]

[0085] in, It means that the signal is decomposed by EEMD algorithm. EEMD algorithm is an improved empirical mode decomposition (EMD) method, which mainly includes four steps: adding white noise, applying EMD, repeating the first two processes and integrating average. The decomposition effect mainly depends on the size of the auxiliary noise added and the number of times EMD is applied. IMF is the decomposed intrinsic eigenfunction, and w is the number of decomposed IMFs (the present invention assumes that the two time series u1′ ,k ,u2′ ,k The decomposed IMFs are aligned, that is, v = w). The signal u1′ is given below ,k EEMD decomposition steps, u′ 2,k The decomposition process is similar:

[0086] S3011. Set the EMD calculation times M, M = 1000 in the present invention;

[0087] S3012. The standard normal distribution white noise n with length k i , added to the original signal u1′ ,k (t) above, where t∈[1,k]:

[0088] U i (t) = u1′ ,k (t)+n i (t)

[0089] Among them, n i represents the ith additive white noise sequence, n i (t) represents taking n i The tth value in U i represents the additional noise signal of the i-th trial, i=1,2,...M; U i (t) represents U i The tth value in the signal, t∈[1,k].

[0090] S3013. The obtained noisy signal U i (t) Perform EMD decomposition to obtain the respective IMF forms:

[0091]

[0092] IMF ji =A ji cosφ ji

[0093] Among them, IMF ji is the jth IMF obtained by decomposing after adding white noise for the i-th time, r ji is the residual function, representing the average trend of the signal, and J is the number of IMFs. According to the Hilbert transform, we define

[0094] S3014. Repeat steps S3012 and S3013 M times to obtain the set of the j-th IMF:

[0095]

[0096] S3014. Based on the statistical average value of the uncorrelated sequence being 0, perform ensemble average operation on the j-th IMF to obtain the final IMF after EEMD decomposition:

[0097]

[0098] Among them, IMF j is the signal u1′ ,kPerform EEMD decomposition on the jth IMF, j∈[1,v], then u1′ ,k Decomposed into the following form:

[0099]

[0100] Similarly, u′ 2,k Decomposed into the following form:

[0101]

[0102] In order to distinguish u1′ ,k , u′ 2,k Decomposing the IMF, the above two decomposition forms can be rewritten as:

[0103]

[0104]

[0105] S302. Signal u1′ ,k ,u2′ ,k Perform causal analysis and convert u1′ ,k ,u2′ ,k The decomposed IMFs are paired according to the serial numbers:

[0106] (IMF 1,1 ,IMF 2,1 ),(IMF 1,2 ,IMF 2,2 ),....,(IMF 1,w ,IMF 2,w )

[0107] In each IMF pair, the time lengths of the two IMF signals are equal;

[0108] S303. Calculate the average instantaneous phase difference of each IMF pair, and compare the calculated average instantaneous phase difference with a preset threshold, select the IMF pairs whose average instantaneous phase difference is less than the preset threshold, and generate an ICC set:

[0109]

[0110] in, Represents u1′ ,k ,u2′ ,k A set of IMFs are paired in the system and the average instantaneous phase difference is less than the preset threshold. Represents the total number of IMF pairs that meet the threshold condition.

[0111] S304. Calculate the instantaneous phase coherence Coh of each pair of ICCs:

[0112]

[0113]

[0114] in, T stands for IMF 1,r and IMF 2,r The length of the time series, Φ 1,r (t) represents IMF 1,r The instantaneous phase at time t, Φ 2,r (t) represents IMF 2,r The instantaneous phase at time t;

[0115] S305. Signal re-decomposition: From the IMF pairs corresponding to the serial numbers in the ICC set, select the IMF pair with the largest frequency. Assume that the serial number of the IMF pair with the largest frequency is r i , using the original signal u′2 minus Get u″2, use u″2 to replace u′2 in the input signal group u1′,u′2, and then perform EEMD decomposition on the replaced input signal group u1′,u″2;

[0116] After decomposition, the decomposition signal {IMF′ corresponding to u″2 is taken out 2,1 ,IMF′ 2,2 ,...,IMF′ 2,w};

[0117] Similarly, after decomposition, the decomposition signal {IMF′ corresponding to u1″ is taken out 1,1 ,IMF′ 1,2 ,...,IMF′ 1,w};

[0118] S306. Calculate relative causal strength C xy ,C yx , assuming that r in S305 i =1:

[0119] First, calculate the absolute causal strength A:

[0120]

[0121]

[0122]

[0123] in, represents the absolute causal strength of u1′ on u′2, represents the absolute causal strength of u′2 on u1′; Var 1j represents the variance of the jth IMF decomposed by u1′, Var 2jrepresents the variance of the jth IMF of the u′2 decomposition.

[0124] Normalizing the absolute causal strength A to get the relative causal strength C xy ,C yx :

[0125]

[0126]

[0127] Among them, C xy ,C yx ∈(0,1); C xy +C yx =1.

[0128] If C xy >0.5, u1′ can be considered as the cause and u′2 as the effect;

[0129] If C xy <0.5, we can consider u′2 as the cause and u1′ as the effect;

[0130] If C xy =0.5, it can be considered that u1′ and u′2 have no causal relationship or are causally related to each other.

[0131] S4. If step S3 can be completed, establish model 2 and compare the autoregressive information strength of u1′ and u′2 in model 2:

[0132] The discrete-time model 1 is further rewritten as a two-input and two-output system structure containing autoregressive information and causal information. The rewritten model is denoted as model 2:

[0133]

[0134] Among them, (·)′ represents the value after resolving the parameter matrix. s k-1 ·y t k-1 represents the coupling relationship between u1′ and u′2, and inherits the causal relationship in this nonlinear coupling term x s k-1 ·y t k-1 In general, s = 1, t = 1. Autoregressive information refers to the impact of the system's past state on the current state, while causal information refers to the impact of external factors on the current state. By decomposing the system into autoregressive information and causal information, it helps identify key factors and dynamic patterns in the system.

[0135] To facilitate calculation, the causal information in Model 2 is moved:

[0136]

[0137] in[] os_k Represents a numerical solution.

[0138] In order to compare the autoregressive information strength of u1′ and u′2 in model 2, we further convert [] os_k Normalize the elements in a matrix:

[0139]

[0140] If AR>0.5, then under the condition of order i, the autoregressive information strength of u1′ is greater than that of u1′;

[0141] If AR < 0.5, then under the condition of order i, the autoregressive information strength of u1′ is less than that of u1′;

[0142] If AR = 0.5, then under the condition of order i, the autoregressive information strength of u1′ is equal to the autoregressive information strength of u1′;

[0143] S5. Repeat steps S3 to S4 to obtain a stable model 2 structure and achieve real-time decoupling of the system:

[0144] S501. When k=k c ,k c +1,...,k c +w-1, repeat steps S3 to S4 to obtain w numerical solution matrices [] os_k ,[] os_k+1 ...,[] os_k+w-1 ,in:

[0145]

[0146] Take out the first value in the w numerical solution matrix,

[0147]

[0148] Wherein, std(·) represents the standard deviation, std_s is a constant, which is the set parameter standard deviation threshold. The smaller the threshold, the more stable the obtained parameter. Let std_s = 0.1;

[0149]

[0150] S502. Repeat step S501 to obtain θ′ 11_z ,θ′ 12_z ,…θ′ 1p_z ,θ′ 2(p+1)_z ,θ′2(p+2)_z ,…θ′ 2(p+q)_z . Finally, the decoupling results in a stable model 2 structure:

[0151]

[0152] The model contains the autoregressive information and causal information of the system, realizing the real-time decoupling of the system.

[0153] The above is a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art do not depart from the spirit and scope of the present invention, and should be within the scope of protection of the claims attached to the present invention.

Claims

1. A real-time decoupling method for time series signals based on adaptive filtering and causal decomposition, characterized by: The following steps are involved: S1. Input the time series signals u1 and u2 to be analyzed, select the order of the time series u1 and u2 to be analyzed, and establish a nonlinear, time-invariant discrete time model 1 with two inputs and two outputs; S2. Based on the adaptive filtering method, the discrete time model 1 is identified and solved to obtain the first time when the convergence condition is met and the corresponding adaptive filtering estimate; S3. Decomposing and causally analyzing the estimated values ​​generated by filtering during the adaptive filtering process; S4. Further rewrite the discrete time model 1 into a two-input and two-output system structure containing autoregressive information and causal information to establish model 2, and compare the autoregressive information strength of the time series in model 2; S5. Repeat steps S3 to S4 to obtain a stable model 2 structure and realize real-time decoupling of the system.

2. The method for real-time decoupling of time series signals based on adaptive filtering and causal decomposition according to claim 1, characterized in that: The step S1 comprises: S101. Input the time series signals u1 and u2 to be analyzed: k c Indicates the preset minimum length threshold; S102. Using a regression analysis algorithm, perform polynomial fitting of different orders on the time series u1 and u2 to be analyzed, and select the order that minimizes the fitting error; Construct u based on u1 1_in ,u 1_ou : u 1_in ,u 1_ou They are the input and output signals of the polynomial fitting method when fitting u1, that is, u 1_in is the independent variable, u 1_ou is the dependent variable; Construct u from u2 2_in ,u 2_ou : u 2_in ,u 2_ou They are the input and output signals of the polynomial fitting method when fitting u2, that is, u 2_in is the independent variable, u 2_ou is the dependent variable; In the given polynomial fitting process, the value range of the order Or is Or∈[1,5], and Or is an integer; When Or=1,2,3,4,5, u is analyzed by regression analysis algorithm in turn. 1_in ,u 1_ou Fit the polynomial coefficients under the order Or, and calculate the fitting error under the order Or, and take the first order that is less than the error threshold as u 1_in ,u 1_ou The fitting order of is denoted as p; When Or=1,2,3,4,5, u is analyzed by regression analysis algorithm in turn. 2_in ,u 2_ou Fit the polynomial coefficients under the order Or, and calculate the fitting error under the order Or, and take the first order that is less than the error threshold as u 2_in ,u 2_ou The fitting order of is denoted as q; S103. Establish a nonlinear, time-invariant discrete-time model 1 with two inputs and two outputs: k represents the current state, k-1 represents the previous state, using discrete time model 1, let p+q=r, [ ] T represents the matrix transpose, "[·] ad " indicates that the matrix is ​​identified and solved by using the adaptive filtering algorithm, "[·] ad ” contains autoregressive information determined by the past state of the system; [x k-1 x k-1 2 …x k-1 p y k-1 y k-1 2 …y k-1 q ] T is the filter input, [x k y k ] T is the filter output, [·] ad The weight matrix of the filter needs to be constantly modified.

3. The real-time decoupling method for time series signals based on adaptive filtering and causal decomposition according to claim 1, characterized in that: The step S2 comprises: S201. Rewrite the discrete time model 1 as: in, Y k =[x k y k ] T , using the adaptive filtering algorithm to solve Θ in model 1 k , denoted as The adaptive filtering algorithm is RLS-FF or KF, RLS-FF refers to the recursive least square method with a forgetting factor, and KF represents the Kalman filtering algorithm; Then, using the solved Estimated When input, the corresponding output estimate Let the system estimation error be E: or Let the convergence bound of the adaptive filtering algorithm be EB; The Fisher information matrix of the system at time k is denoted as I: The matrix I is an r-dimensional symmetric square matrix, in which the corresponding position elements are: Among them, I ij represents the element with row i and column j in matrix I, are the noise variances of sequences u1 and u2 respectively; when the system processes the data k=k1, if det(I)≠0, the observation at this time can estimate an accurate value; S202. According to the system input at time k=1,2,...,n Constantly solve the Θ of model 1 k Matrix, records the system estimation error E and the rank of the information matrix det(I) in each solution process; When the convergence condition is met for the first time: E<EB and det(I)≠0, record the time k at this time c ; Then when k=1,2,...,k c At each moment, a matrix is ​​solved And at each moment, an output estimate is obtained The estimated signal generated by the filter during the adaptive filtering process is recorded as 4. The real-time decoupling method for time series signals based on adaptive filtering and causal decomposition according to claim 1, characterized in that: The step S3 comprises: For any value greater than or equal to k c k, and the corresponding estimated signal is obtained as u′ according to step S2 1,k ,u′ 2,k , under the condition that the system error E still does not exceed the set limit EB and the rank of the information matrix det(I) is greater than zero, the output estimate u′ generated by the filtering in the adaptive filtering process is 1,k ,u′ 2,k Conduct decomposition and cause-and-effect analysis; S301. Using EEMD algorithm to analyze the signal u′ 1,k ,u′ 2,k To break it down: in, Indicates that the signal is decomposed using the EEMD algorithm. The signal u1′ is given below ,k EEMD decomposition steps, u′ 2,k The decomposition process is similar: S3011. Set the EMD calculation times M; S3012. The standard normal distribution white noise n with length k i , added to the original signal u1′ ,k (t) above, where U i (t)=u1′ ,k (t)+n i (t) Among them, n i represents the ith additive white noise sequence, n i (t) represents taking n i The tth value in U i represents the additional noise signal of the i-th trial, i=1,2,...M; U i (t) represents U i The tth value in the signal, t∈[1,k]; S3013. The obtained noisy signal U i (t) Perform EMD decomposition to obtain the respective IMF forms: IMF ji =A ji cosφ ji Among them, IMF ji is the jth IMF obtained by decomposing after adding white noise for the i-th time, r ji is the residual function, representing the average trend of the signal, and J is the number of IMFs. According to the Hilbert transform, we define S3014. Repeat steps S3012 and S3013 M times to obtain the set of the j-th IMF: S3014. Based on the statistical average value of the uncorrelated sequence being 0, perform ensemble average operation on the j-th IMF to obtain the final IMF after EEMD decomposition: Among them, IMF j is the signal u1′ ,k Perform EEMD decomposition on the jth IMF, j∈[1,v], then u1′ ,k Decomposed into the following form: Similarly, u′ 2,k Decomposed into the following form: In order to distinguish u′ 1,k , u′ 2,k Decomposing the IMF, the above two decomposition forms can be rewritten as: S302. Signal u′ 1,k ,u′ 2,k Perform causal analysis and convert u′ 1,k ,u′ 2,k The decomposed IMFs are paired according to the serial numbers: (IMF 1,1 ,IMF 2,1 ),(IMF 1,2 ,IMF 2,2 ),....,(IMF 1,w ,IMF 2,w ) In each IMF pair, the time lengths of the two IMF signals are equal; S303. Calculate the average instantaneous phase difference of each IMF pair, and compare the calculated average instantaneous phase difference with a preset threshold, select the IMF pairs whose average instantaneous phase difference is less than the preset threshold, and generate an ICC set: in, represents u′ 1,k ,u′ 2,k A set of IMFs are paired in the system and the average instantaneous phase difference is less than the preset threshold. represents the total number of IMF pairs that meet the threshold condition; S304. Calculate the instantaneous phase coherence Coh of each pair of ICCs: in, T stands for IMF 1,r and IMF 2,r The length of the time series, Φ 1,r (t) represents IMF 1,r The instantaneous phase at time t, Φ 2,r (t) represents IMF 2,r The instantaneous phase at time t; S305. Signal re-decomposition: From the IMF pairs corresponding to the serial numbers in the ICC set, select the IMF pair with the largest frequency. Assume that the serial number of the IMF pair with the largest frequency is r i , using the original signal u′2 minus Get u″2, use u″2 to replace u′2 in the input signal group u′1,u′2, and then perform EEMD decomposition on the replaced input signal group u′1,u″2; After decomposition, the decomposition signal {IMF′ corresponding to u″2 is taken out 2,1 ,IMF′ 2,2 ,...,IMF′ 2,w }; Similarly, after decomposition, the decomposition signal {IMF′ corresponding to u″1 is taken out 1,1 ,IMF′ 1,2 ,...,IMF′ 1,w }; S306. Calculate relative causal strength C xy ,C yx , assuming that r in S305 i =1: First, calculate the absolute causal strength A: in, represents the absolute causal strength of u′1 on u′2, represents the absolute causal strength of u′2 on u′1; Var 1j represents the variance of the jth IMF decomposed by u′1, Var 2j represents the variance of the jth IMF of the u′2 decomposition. Normalizing the absolute causal strength A to get the relative causal strength C xy ,C yx : Among them, C xy ,C yx ∈(0,1); C xy +C yx =1. If C xy >0.5, u′1 can be considered as the cause and u′2 as the effect; If C xy <0.5, u′2 can be considered as the cause and u′1 as the effect; If C xy =0.5, it can be considered that u′1 and u′2 have no causal relationship or are causally related to each other.

5. The method for real-time decoupling of time series signals based on adaptive filtering and causal decomposition according to claim 1, characterized in that: The step S4 comprises: S401. Establish model 2, and further rewrite model 1 into a system structure of two-input and two-output system containing autoregressive information and causal information: Among them, (·)′ represents the value after resolving the parameter matrix, and x s k-1 ·y t k-1 represents the coupling relationship between u′1 and u′2, and inherits the causal relationship in this nonlinear coupling term x s k-1 ·y t k-1 Above, take s = 1, t = 1; S402. Move the causal information contained in Model 2: in[ ] os represents a numerical solution; S403. Further [ ] os Normalize the elements in a matrix: If AR>0.5, then under the condition of order i, the autoregressive information strength of u′1 is greater than that of u′1; If AR < 0.5, then under the condition of order i, the autoregressive information strength of u′1 is less than that of u′1; If AR = 0.5, then under the condition of order i, the autoregressive information strength of u′1 is equal to the autoregressive information strength of u′1.

6. The method for real-time decoupling of time series signals based on adaptive filtering and causal decomposition according to claim 1, characterized in that: The step S5 comprises: S501. When k=k c ,k c +1,...,k c +w-1, repeat steps S3 to S4 to obtain w numerical solution matrices [] os_k ,[] os_k+1 ...,[] os_k+w-1 ; Take out the first value in the t numerical solution matrix, if: Where std(·) represents the standard deviation, std_s is a constant, and is the set parameter standard deviation threshold. The smaller the threshold, the more stable the obtained parameter. S502. Repeat step S501 to obtain θ′ 11_z ,θ′ 12_z ,θ′ 1p_z ,θ′ 2(p+1)_z ,θ′ 2(p+2)_z ,θ′ 2(p+q)_z . Finally, the decoupling results in a stable model 2 structure: The model contains the autoregressive information and causal information of the system, realizing the real-time decoupling of the system.