A Fault Estimation Method for Nonlinear Systems Based on Improved PD-Type Iterative Average Operator
Through the improved PD-type iterative average operator and fault observer, combined with the norm theory, the dependence of the traditional fault estimation method on the fixed operating cycle is solved, and the robustness and convergence speed of the nonlinear system fault estimation are significantly improved. It is applicable for nonlinear and nonperiodic systems.
Patent Information
- Application Number
- CN202410750671.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-06-12
AI Technical Summary
Traditional fault estimation methods based on iterative learning are difficult to adapt to nonlinear, non-periodic systems and systems susceptible to interference and noise. Especially when the operating cycle is not fixed, it is difficult to accurately detect system faults.
Using the improved PD iterative average operator, by constructing a mathematical model of the nonlinear discrete time system, using the recursive Gaussian distribution to characterize the random changes in the operating cycle, designing a fault observer and weighted average operator, combining norm theory and recursive analysis methods , calculate the upper bound of the fault estimation error, and design the gain matrix to achieve fault estimation.
It effectively copes with information loss or redundancy problems caused by changes in the operating cycle, significantly enhances the robustness of the system, reduces the upper bound of fault estimation deviation, and improves the convergence speed and accuracy of fault estimation.
Smart Images

Figure CN118331241B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of periodic system fault estimation, and in particular to a nonlinear system fault estimation method based on an improved PD-type iterative averaging operator. Background Art
[0002] The scale and complexity of modern industrial systems are increasing day by day. In order to ensure the stable operation of the system and improve the system reliability, it is necessary to use fault estimation technology to accurately and timely detect and estimate system fault information to avoid serious accidents. However, considering the dynamic characteristics and fault evolution characteristics of repetitive systems, traditional fault estimation methods are difficult to apply.
[0003] Fault estimation methods based on iterative learning can make up for the shortcomings of traditional methods. However, such methods require the system to have the same repetitive operation cycle in each iteration process, and gradually approach the fault state through the iterative process to achieve fault estimation. It is well known that the actual system will make it difficult to keep the operation cycle completely unchanged due to random events and system settings, especially for those nonlinear, non-periodic or susceptible to interference and noise. For example, the overall operation process of a humanoid bipedal robot is divided into multiple stages. Due to different foot impact times, the duration of the movement will change. At this point, the traditional fault estimation method based on iterative learning is difficult to apply directly. In order to deal with this periodic system fault estimation problem, a new iterative learning method needs to be proposed. Summary of the invention
[0004] In view of the shortcomings of the prior art, the present invention provides a nonlinear system fault estimation method based on an improved PD-type iterative averaging operator, which solves the technical problem that the traditional fault estimation method based on iterative learning relies on the limitation of the system having a fixed operating cycle.
[0005] To solve the above technical problems, the present invention provides the following technical solutions: a nonlinear system fault estimation method based on an improved PD-type iterative averaging operator, the method comprising the following steps:
[0006] S1. Construct a mathematical model of a nonlinear discrete-time system based on system parameters and satisfying conditions;
[0007] S2. The random variation of the operation period of the nonlinear discrete time system is characterized by using recursive Gaussian distribution, and the probability of each possible period is analyzed to determine the overall operation time probability of the nonlinear discrete time system;
[0008] S3. Design a corresponding fault estimator based on the nonlinear discrete time system model, and perform online estimation of the actuator fault to obtain the fault estimation error;
[0009] S4, through The upper bound of fault estimation error is calculated using norm theory and recursive analysis method;
[0010] S5. Design the gain matrix of the fault observer according to the upper bound of the fault estimation error , the gain matrix of the fault estimator , as well as norm;
[0011] S6, into the gain matrix , , as well as The norm is used to obtain the fault estimator which is finally used to estimate the fault of the nonlinear system.
[0012] Furthermore, in step S1, the expression of the mathematical model of the nonlinear discrete-time system is:
[0013] ;
[0014] In the above formula, , They are the iteration index and the time index of each iteration respectively; Represents the input of a nonlinear discrete-time system; Represents a fault that occurs in a nonlinear discrete-time system; and Represent the state and output of a nonlinear discrete-time system, respectively; , , is the corresponding dimension information; is a nonlinear vector function of a nonlinear discrete-time system; , and is the nonlinear system matrix with corresponding dimensions; and It is the interference and noise of nonlinear discrete-time system.
[0015] Furthermore, in step S2, the specific process includes the following steps:
[0016] S21, according to the ideal running time And the sampling period Sets the maximum operation period of a nonlinear discrete-time system , the maximum operating cycle set for:
[0017] ;
[0018] in, and are two constants of a nonlinear discrete-time system;
[0019] S22, the maximum operating cycle Divide into the first subinterval for further describing the running time of the nonlinear discrete-time system and the second subinterval ,in,
[0020] The first sub-interval It is expressed as:
[0021] ;
[0022] The second sub-interval It is expressed as:
[0023] ;
[0024] S23. Set the running time to ,in , The time that can be reached in each iteration process;
[0025] S24. Introducing random variables The probability of running the cycle length for each iteration To characterize, random variables Satisfies Bernoulli distribution, and takes values of 0 and 1;
[0026] S25. Determine the overall running time probability of the nonlinear discrete-time system, namely:
[0027] ;
[0028] In the above formula, is a random variable; is the ideal running time of a nonlinear discrete-time system; and are two constants of a nonlinear discrete-time system; t The running time for the setting; is the probability value of the overall operation of the nonlinear discrete-time system, and the corresponding probability is obtained according to different values of m.
[0029] Furthermore, in step S3, the specific process includes the following steps:
[0030] S31. Set the improved PD type iterative average operator to:
[0031] ;
[0032] ;
[0033] ;
[0034] In the above formula, , They are the iteration index and the time index of each iteration respectively; Represents the input of a nonlinear discrete-time system; Represents a fault that occurs in a nonlinear discrete-time system;
[0035] S32. Design an iterative learning fault observer for nonlinear discrete-time systems as follows:
[0036] ;
[0037] in, , Represent the state estimate and output estimate respectively; It is a virtual fault. An estimated value of is the gain matrix of the fault observer to be designed; , and is the nonlinear system matrix with corresponding dimensions; is the state of the nonlinear discrete-time system; is a nonlinear vector function of a nonlinear discrete-time system. An estimated value of
[0038] S33, based on the deviation between the nonlinear discrete time system and the fault observer Redefining the output estimation error of iterative learning fault observer , the output estimation error is redefined as:
[0039] ;
[0040] In the above formula, t is the running time; and are the first subinterval and the second subinterval respectively. If the running time of the nonlinear discrete-time system can reach the ideal running time, then ;
[0041] S34, based on output estimation error Design the corresponding improved PD type weighted average operator fault estimator as follows:
[0042] ;
[0043] In the above formula, , are the gain matrices of the fault estimator, satisfying , ; is the maximum operating period of the nonlinear discrete-time system; The j-th iteration time is t The redefined output error; For the k The deviation between the actual secondary fault and the virtual fault is improved by the PD type weighted average operator;
[0044] S35. Online estimation of the actuator fault is performed by a fault estimator to obtain a fault estimation error.
[0045] Furthermore, in step S4, the specific process includes the following steps:
[0046] S41. Solving the state error between the nonlinear discrete-time system and the fault observer The dynamic model obtains the deviation between the actual fault and the virtual fault ;
[0047] S42, state error The dynamic model of the expected value is calculated and the average operator is used to obtain the expected value. , the expression is:
[0048] ;
[0049] In the above formula, is a nonlinear vector function and the observer estimate Expected value between is the expected value between the actual fault and the virtual fault; is the expected value between the state of the nonlinear discrete-time system and the observer's estimate of the state; and It is the disturbance and noise of nonlinear discrete-time system; is the nonlinear system matrix with corresponding dimensions;
[0050] S43. Expectations Take the norm and adjust the nonlinear term Taking the Lipschitz constant, we get the expression of the upper bound as follows:
[0051] ;
[0052] In the above formula, The upper bound of the Lipschitz constant is greater than 0. , , The system matrices are , , As the nonlinear discrete-time system runs, the 2-norm upper bound is taken, which is a constant greater than 0; , Both are 2-norm upper bounds for the noise in the system operation, which are constants greater than 0; is the 2-norm symbol;
[0053] S44. Recursively operate the expression of the upper bound to obtain the following expression, namely:
[0054] ;
[0055] In the above formula, , They are the iteration index and the time index of each iteration respectively; is the maximum operating period of the nonlinear discrete-time system; is the expected value obtained by performing progressive operations on each time; is the expected value between the actual fault and the virtual fault; is the 2-norm symbol; , is the expression after state recursion;
[0056] S45, taking the λ norm of the expression obtained by recursive operation in step S44 and abbreviating it to obtain the expression of the upper bound of the fault estimation error, as follows:
[0057] ;
[0058] in, ;
[0059] ;
[0060] In the above formula, Expected value The upper bound value obtained is a constant greater than 0; is the maximum operating period of the nonlinear discrete-time system; , is the expression after state recursion.
[0061] Furthermore, in step S5, the specific process includes the following steps:
[0062] S51. Using the improved PD-type iterative average operator, a new expression of fault estimation error is obtained, namely:
[0063] ;
[0064] In the above formula, is the deviation between the jth fault and the jth virtual fault of the nonlinear discrete-time system; For nonlinear discrete-time systems k +1 failure with k +1 deviation for virtual failure; It is for k The secondary fault deviation takes the above improved PD type weighted average operator; For the k +1 fault deviation takes the above improved PD type weighted average operator;
[0065] S52, obtaining a new fault deviation based on the fault of the original system and the virtual fault;
[0066] S53, take the new fault deviation norm, and perform recursive processing to obtain a recursive expression;
[0067] S54. Design the gain matrix of the fault observer based on the recursive expression , the gain matrix of the fault estimator , as well as Norm.
[0068] Further, in step S52, the specific process includes the following steps:
[0069] S521. Calculate the deviation between the original system fault and the virtual fault, that is:
[0070] ;
[0071] In the above formula, , are the gain matrices of the fault estimator; is the jth iteration, and the time is The output error is redefined when
[0072] S522, substituting the new fault estimation error into the fault deviation can obtain the error equation, namely:
[0073] ;
[0074] In the above formula, , All are cumulative The value obtained by division; is the probability value at time t+1; It is an improved PD type weighted average operator for error information;
[0075] S523, the state error Substituting into the error equation, we get the new fault deviation:
[0076] ;
[0077] in, , ,satisfy ;
[0078] In the above formula, I is the identity matrix; It is for k The deviation between the secondary fault and the virtual fault is improved by using the PD type weighted average operator; It is for k +The deviation between the state and the observer state estimate is taken as the improved PD type weighted average operator; It is for k The deviation between the sub-nonlinear vector function and the observer's estimated value is taken as an improved PD type weighted average operator; and is the nonlinear system matrix with corresponding dimensions; and It is the interference and noise of nonlinear discrete-time system.
[0079] Further, in step S54, The norm is 4; the gain matrix of the fault observer is ; Gain matrix of fault estimator , .
[0080] By means of the above technical solution, the present invention provides a nonlinear system fault estimation method based on an improved PD-type iterative averaging operator, which has at least the following beneficial effects:
[0081] 1. The present invention designs an improved PD-type iterative learning average operator to effectively deal with the information loss or redundancy problem caused by the operation cycle change. At the same time, a fault observer is designed based on the operator to accurately estimate the actuator fault.
[0082] 2. In order to ensure the boundedness of the fault estimation error, the present invention further introduces norm theory and recursive analysis technology, which not only overcomes the dependence of traditional iterative learning methods on the fixed operating cycle of the system, but also significantly enhances the robustness of the system, effectively reduces the upper bound of the fault estimation deviation, and improves the convergence speed of fault estimation. BRIEF DESCRIPTION OF THE DRAWINGS
[0083] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0084] Figure 1 is a flow chart of a nonlinear system fault estimation method of the present invention;
[0085] Figure 2 This is a diagram showing the effect of the fault estimation of the present invention;
[0086] Figure 3 Outputting an estimated effect diagram for the system of the present invention;
[0087] Figure 4 This is a diagram showing the effect of the average error of fault estimation decreasing as the number of iterations increases. DETAILED DESCRIPTION
[0088] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific implementation methods, so that the implementation process of how the present application uses technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly.
[0089] The present invention aims at nonlinear systems affected by actuator faults, interference and noise, and designs an improved PD-type iterative learning average operator to effectively deal with the information loss or redundancy caused by operating cycle changes. Furthermore, based on the operator, a fault observer is designed to accurately estimate the actuator fault. In order to ensure the boundedness of the fault estimation error, the present invention further introduces norm theory and recursive analysis technology, which not only overcomes the dependence of traditional iterative learning methods on the fixed operating cycle of the system, but also significantly enhances the robustness of the system, effectively reduces the upper bound of the fault estimation deviation, and improves the speed of fault estimation. Please refer to Figure 1-Figure 4 This embodiment proposes a nonlinear system fault estimation method based on an improved PD-type iterative averaging operator. This embodiment first constructs a mathematical model of the nonlinear system, considers the random changes in the operation cycle of the nonlinear system, introduces a Gaussian recursive distribution to characterize the probability of different operation cycle lengths, designs a fault observer and introduces an improved PD-type iterative averaging operator to complete fault estimation. By using The norm method and mathematical induction method are used to obtain the iterative learning matrix and the gain matrix of the fault observer. and the gain matrix of the fault estimator , The method comprises the following steps:
[0090] S1. Construct a mathematical model of a nonlinear discrete-time system based on system parameters and conditions. In this step, the prerequisite for constructing a mathematical model of a nonlinear discrete-time system is to determine the basic parameters for model construction, namely, system parameters and assumed conditions, where system parameters include nonlinear vector functions. and the system matrix , , , as follows:
[0091] Nonlinear Vector Functions of Nonlinear Discrete-Time Systems for:
[0092] ;
[0093] System matrix of corresponding dimension for nonlinear discrete-time system , , They are:
[0094] ;
[0095] ;
[0096] ;
[0097] The assumed conditions are as follows:
[0098] Assumption 1: For nonlinear vector functions, the global Lipschitz condition must be satisfied, that is:
[0099] ;
[0100] In the formula is a known Lipschitz constant and is greater than 0; is a nonlinear function Take a value from ; The value is The nonlinear function of .
[0101] Assumption 2: The interference and noise in the system take random values between [-0.1~0.1], with an upper bound:
[0102] ;
[0103] ;
[0104] In the formula, and is the upper bound constant of interference and noise, which is known and greater than 0; is the maximum operating period of the nonlinear discrete-time system.
[0105] Assumption 3: The parameter matrix in the system has an upper bound, namely:
[0106] ;
[0107] in, , and and is a known constant.
[0108] Definition 1. Define function of The norm is: ;
[0109] in, is an arbitrary function, where and , choose a sufficiently large It can ensure the convergence of the system. is the norm of the function.
[0110] The expression of the mathematical model of the nonlinear discrete-time system constructed based on the system parameters and the conditions met is:
[0111] ;
[0112] In the above formula, , They are the iteration index and the time index of each iteration respectively; Represents the input of a nonlinear discrete-time system; Represents a fault that occurs in a nonlinear discrete-time system; and Represent the state and output of a nonlinear discrete-time system, respectively; , , is the corresponding dimension information; is a nonlinear vector function of a nonlinear discrete-time system; , and is the nonlinear system matrix with corresponding dimensions, where Satisfying the full rank of the column ensures the observability of the nonlinear system. and It is the interference and noise of nonlinear discrete-time system.
[0113] S2. The random changes of the operation cycle of the nonlinear discrete time system are characterized by recursive Gaussian distribution, and the probability of each possible cycle is analyzed to determine the overall operation time probability of the nonlinear discrete time system. The specific process includes the following steps:
[0114] S21, according to the ideal running time And the sampling period Sets the maximum operation period of a nonlinear discrete-time system , in this embodiment, the ideal running time of the nonlinear discrete-time system is , the sampling period is , the maximum operating cycle set for:
[0115] ;
[0116] in, and are two constants of a nonlinear discrete-time system.
[0117] S22, the maximum operating cycle Divide into the first subinterval for further describing the running time of the nonlinear discrete-time system and the second subinterval ,in,
[0118] The first sub-interval It is expressed as:
[0119] ;
[0120] The second sub-interval It is expressed as:
[0121] ;
[0122] In order to further describe the running time of the nonlinear discrete time system, the running time of the entire nonlinear discrete time system is further divided into two sub-intervals, one of which is the minimum running period. Each iteration of the system can be completed in this interval, which is the first sub-interval. The other interval represents the actual operation part of the system, that is, the second sub-interval .
[0123] S23. To facilitate analysis, set the running time to ,in , is the time that can be reached in each iteration process.
[0124] S24. Introducing random variables The probability of running the cycle length for each iteration To characterize, random variables Satisfies Bernoulli distribution, and takes values of 0 and 1;
[0125] when represents a nonlinear discrete-time system that can run up to time , the probability is , a nonlinear discrete-time system cannot run to the time When , the probability is .
[0126] S25, determining the overall running time probability of the nonlinear discrete time system. In this embodiment, the entire running time of the nonlinear discrete time system is divided into two sub-intervals, namely, the first sub-interval and the second subinterval .when When the random variable is necessarily true, with a probability of 1; , its probability needs further analysis, its probability for:
[0127] ;
[0128] Then, the expression of the overall running time probability is:
[0129] ;
[0130] In the above formula, is a random variable; is the ideal running time of a nonlinear discrete-time system; and are two constants of a nonlinear discrete-time system; t The running time for the setting; is the probability value of the overall operation of the nonlinear discrete-time system, and the corresponding probability is obtained according to different values of m.
[0131] S3. Design a corresponding fault estimator based on the nonlinear discrete time system model, and perform online estimation of the actuator fault to obtain the fault estimation error; the specific process includes the following steps:
[0132] S31, set the improved PD type iterative average operator to:
[0133] ;
[0134] ;
[0135] ;
[0136] in, It is a cumulative value, and the specific value is based on the input To make a choice, when input When the corresponding , which specifically means that the average value is no longer like the previous average operator, which directly takes all 1s and adds them up and then averages them, which will cause a waste of calculation; The specific value is ;
[0137] In the above formula, , They are the iteration index and the time index of each iteration respectively; Represents the input of a nonlinear discrete-time system; Represents a fault that occurs in a nonlinear discrete-time system.
[0138] S32. Design an iterative learning fault observer for nonlinear discrete-time systems as follows:
[0139] ;
[0140] in, , Represent the state estimate and output estimate respectively; It is a virtual fault. An estimated value of is the gain matrix of the fault observer to be designed; , and is the nonlinear system matrix with corresponding dimensions; is the state of the nonlinear discrete-time system; is a nonlinear vector function of a nonlinear discrete-time system. The estimated value of .
[0141] S33, based on the deviation between the nonlinear discrete time system and the fault observer Redefining the output estimation error of iterative learning fault observer , where the deviation , since the nonlinear discrete-time system will cause insufficient information when the running time changes each time, the error information needs to be redefined as: , therefore, the output estimation error is redefined as:
[0142] ;
[0143] In the above formula, t is the running time; and are the first subinterval and the second subinterval respectively. If the running time of the nonlinear discrete-time system can reach the ideal running time, then ;
[0144] S34, based on output estimation error Design the corresponding improved PD type weighted average operator fault estimator as follows:
[0145] ;
[0146] In the above formula, , are the gain matrices of the fault estimator, satisfying , ; is the maximum operating period of the nonlinear discrete-time system; The j-th iteration time is t The redefined output error; For the k The deviation between the actual secondary fault and the virtual fault is improved by the PD type weighted average operator.
[0147] ;
[0148] The above formula is the designed improved PD type weighted average operator, mainly based on the k Secondary failure The information is weighted. It is j For each fault, the fault value needs to be accumulated, starting from arrive Accumulate to get an accumulated fault value, and then get the average value by averaging ,when When it is not 0, ,when When the corresponding , as follows:
[0149] ;
[0150] in, ;
[0151] The above formula is correct from arrive The accumulation is performed so that the previously accumulated fault information is divided by it to obtain the required average value. In order to save computing resources and reduce the computational complexity, this weighted average method is selected.
[0152] S35. Online estimation of the actuator fault is performed by a fault estimator to obtain a fault estimation error.
[0153] This embodiment aims at the fault estimation problem of nonlinear repetitive systems based on iterative learning observers, and proposes an improved weighted average factor to solve the problem of incomplete information in the system. At the same time, in order to improve the tracking performance of the system, a design method of PD autocoupled nonlinear iterative learning observer is proposed, and its robustness is proved through recursive analysis.
[0154] pass The upper bound of the fault estimation error is calculated using norm theory and recursive analysis method; the specific process includes the following steps:
[0155] S41. Solving the state error between the nonlinear discrete-time system and the fault observer The dynamic model obtains the deviation between the actual fault and the virtual fault ; Among them, the state error The dynamic model is:
[0156] ;
[0157] In the above formula, is a nonlinear vector function of a nonlinear discrete-time system; , They are the iteration index and the time index of each iteration respectively; Represents the input of a nonlinear discrete-time system; Represents a fault that occurs in a nonlinear discrete-time system; and Represent the state and output of a nonlinear discrete-time system, respectively; , is the nonlinear system matrix with corresponding dimensions; , Represent the state estimate and output estimate respectively; is the disturbance of the nonlinear discrete-time system; is the gain matrix of the fault observer to be designed; is the deviation between the actual fault and the virtual fault; It is an estimate of the nonlinear vector function of a nonlinear discrete-time system; It is the deviation of the nonlinear function term of the nonlinear system from the estimated value of the nonlinear vector function of the nonlinear discrete-time system.
[0158] Among them, the deviation between the actual fault and the virtual fault is .
[0159] S42, state error The dynamic model of the expected value is calculated and the average operator is used to obtain the expected value. , which means that the average value of the state obtained by using the improved PD type weighted average operator mentioned above is then used to calculate the expectation (the expectation is also a weighted average value), and the expression is:
[0160] ;
[0161] In the above formula, is a nonlinear vector function and the observer estimate After the deviation is calculated, the average value is calculated using the proposed improved PD-type weighted average operator and then its expected value is calculated; After finding the deviation between the actual fault and the virtual fault, the average value obtained by using the proposed improved PD type weighted average operator is used to find its expected value; After finding the deviation between the state of the nonlinear discrete-time system and the estimated value of the observer's estimated state, the average value obtained by using the proposed improved PD-type weighted average operator is used to find its expected value. and It is the disturbance and noise of nonlinear discrete-time system; is the nonlinear system matrix with corresponding dimensions.
[0162] S43. Expectations Take the norm and adjust the nonlinear term Taking the Lipschitz constant, we get the expression of the upper bound as follows:
[0163] ;
[0164] In the above formula, The upper bound of the Lipschitz constant is greater than 0. , , The system matrices are , , As the nonlinear discrete-time system runs, the 2-norm upper bound is taken, which is a constant greater than 0; , Both are 2-norm upper bounds for the noise in the system operation, which are constants greater than 0; It is the symbol of 2-norm. The upper bound is the maximum value of 2-norm, which is the maximum value produced by the whole operation process of the system. 2-norm is the definition of matrix theory and measures the size.
[0165] S44. Recursively operate the expression of the upper bound to obtain the following expression, namely:
[0166] ;
[0167] In the above formula, , They are the iteration index and the time index of each iteration respectively; is the maximum operating period of the nonlinear discrete-time system; is the expected value obtained by performing progressive operations on each time; is the expected value between the actual fault and the virtual fault; is the 2-norm symbol; , is the expression after state recursion.
[0168] S45, take the expression obtained by recursive operation in step S44 The norm is abbreviated to obtain the expression of the upper bound of the fault estimation error, as follows:
[0169] ;
[0170] in, ;
[0171] ;
[0172] In the above formula, Expected value The upper bound value obtained is a constant greater than 0; is the maximum operating period of the nonlinear discrete-time system; , is the expression after state recursion. is the upper bound function, the upper bound takes the maximum value of the function, and the function will not exceed this value during the running cycle; sup is the symbol of the upper bound function; t For time.
[0173] This embodiment uses The norm method and mathematical induction techniques are used to obtain the solutions of the iterative learning matrix and the observer gain matrix, which significantly improves the fault estimation performance.
[0174] S5. Design the gain matrix of the fault observer according to the upper bound of the fault estimation error , the gain matrix of the fault estimator , And choose a large enough The fault estimation is bounded by the norm. The specific process includes the following steps:
[0175] S51. Using the improved PD-type iterative average operator, a new expression of fault estimation error is obtained, namely:
[0176] ;
[0177] In the above formula, Yes from arrive Add together the previous Similar, the k Second change k +1 times, is the deviation between the jth fault and the jth virtual fault of the nonlinear discrete-time system; For nonlinear discrete-time systems k +1 failure with k +1 deviation for virtual failure; It is for k The secondary fault deviation takes the above improved PD type weighted average operator; For the k The +1 fault deviation takes the above improved PD type weighted average operator.
[0178] S52, obtaining a new fault deviation based on the fault of the original system and the virtual fault, the specific process includes the following steps:
[0179] S521. Calculate the deviation between the original system fault and the virtual fault, that is:
[0180] ;
[0181] In the above formula, , are the gain matrices of the fault estimator; Yes from arrive To accumulate, when When it is not 0, ,when When the corresponding , as follows:
[0182] ;
[0183] in, and Same, and Same, is the jth iteration, and the time is The output error is redefined when
[0184] S522, substituting the new fault estimation error into the fault deviation can obtain the error equation, namely:
[0185] ;
[0186] In the above formula, , All are cumulative The value obtained by division is:
[0187] ;
[0188] ;
[0189] is the probability value at time t+1; It is an improved PD type weighted average operator for error information, as follows: .
[0190] S523, the state error Substituting into the error equation, we get the new fault deviation:
[0191] ;
[0192] in, , ,satisfy ;
[0193] In the above formula, I is the identity matrix; It is for k The deviation between the secondary fault and the virtual fault is improved by the PD type weighted average operator as follows: ;
[0194] It is for k +The deviation between the state and the observer state estimate is taken as the improved PD type weighted average operator; It is for k The deviation between the sub-nonlinear vector function and the observer's estimated value is taken as an improved PD type weighted average operator; and is the nonlinear system matrix with corresponding dimensions; and It is the interference and noise of nonlinear discrete-time system.
[0195] S53, take the new fault deviation norm, and perform recursive processing to obtain a recursive expression;
[0196] Among them, the λ norm is taken as:
[0197] ;
[0198] in, ;
[0199] ;
[0200] ;
[0201] , ,satisfy ;
[0202] In the above formula, is the expected value of the weighted average of the k-th fault deviation beg Norm, of a function The norm is as shown in Definition 1 above; is the expected value of the weighted average of the k+1th fault deviation Find the norm; is an upper bound value; is a weighted sum of the upper bounds of the above system; , are the gain matrices of the fault estimator and The upper bound of Represents the input of a nonlinear discrete-time system; , is the expression after state recursion.
[0203] Recursive calculation yields:
[0204] ;
[0205] in, ;
[0206] ;
[0207] ;
[0208] In the above formula, is a matrix inverse, The number of iterations k represented by is a natural number, It represents time.
[0209] Will Divide the current fault deviation and the previous fault deviation to get the recursive expression, that is:
[0210] ;
[0211] In the formula, , after multiple iterations, as , the deviation of the fault It is bounded and converges in the expected sense.
[0212] S54. Design the gain matrix of the fault observer based on the recursive expression , the gain matrix of the fault estimator , as well as In order to ensure the boundedness of the fault deviation, it is necessary to select a suitable fault observer gain matrix and the gain matrix of the fault estimator and , and choose a sufficiently large norm, thus obtaining the upper bound of the fault deviation.
[0213] in, The norm is 4; the gain matrix of the fault observer is ; Gain matrix of fault estimator , .
[0214] S6, into the gain matrix , , as well as norm to obtain the fault estimator used to estimate the fault of the nonlinear system; choose a sufficiently large Get what you need norm, the present invention is set as , set the gain matrix of the fault observer to , the gain matrix of the fault estimator , Thus, the comparison , The two get an upper bound to compress the fault deviation. , we can further get , and finally the upper bound of the fault deviation can be obtained as:
[0215] ;
[0216] in, , in order to simplify the expression, we use , and are the upper bound constants mentioned above.
[0217] In this embodiment, in order to better understand the implementation of the present invention by those skilled in the art, the present invention uses Matlab software for simulation verification. The interference and noise of the system are random values in the range of [-0.1~0.1], and the specific parameters and fault information of the system are:
[0218] ;
[0219] in,
[0220] ;
[0221] The gain matrix of the selected fault observer is , the gain matrices of the fault estimator are , , select , we can get the upper bound of the fault estimation deviation as:
[0222] ;
[0223] The feasibility of the method of the present invention is verified by numerical simulation. Figure 2It is an estimation of the fault. The virtual fault can generally keep up in the first 5 iterations, but there is still a large deviation. After many iterations, the effect gets better and it can be mostly tracked after about 10 times, but there is still a slight deviation. After 30 iterations, the virtual fault is close to the real fault. Figure 3 This is an observation of the system output. It can be seen that after multiple iterations, it can be very close to the actual output effect. Figure 4 This is a diagram showing that the average error of fault estimation decreases as the number of iterations increases. The present invention has a faster convergence speed and a smaller convergence upper bound, which proves the feasibility of the present invention.
[0224] The method proposed in the present invention can improve the limitation of iterative learning that requires a fixed operating cycle, and utilizes a PD-type iterative learning estimator to enhance the robustness of the system, reduce the upper bound of the fault estimation deviation, and improve the convergence speed of the fault estimation error.
[0225] Those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, so the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0226] The above implementation methods have been described in detail. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A nonlinear system fault estimation method based on an improved PD-type iterative averaging operator, characterized in that: The method comprises the following steps: S1. Construct a mathematical model of a nonlinear discrete-time system based on system parameters and satisfying conditions; S2. The random variation of the operation period of the nonlinear discrete time system is characterized by using recursive Gaussian distribution, and the probability of each possible period is analyzed to determine the overall operation time probability of the nonlinear discrete time system; S3. Design a corresponding fault estimator based on the nonlinear discrete-time system model, and perform online estimation of the actuator fault to obtain the fault estimation error. The specific process includes the following steps: S31. Set the improved PD type iterative average operator to: ; In the above formula, , They are the iteration index and the time index of each iteration respectively; Represents the input of a nonlinear discrete-time system; Represents a fault that occurs in a nonlinear discrete-time system; S32. Design an iterative learning fault observer for nonlinear discrete-time systems as follows: ; in, , Represent the state estimate and output estimate respectively; It is a virtual fault. An estimated value of is the gain matrix of the fault observer to be designed; , and is the nonlinear system matrix with corresponding dimensions; is the state of the nonlinear discrete-time system; is a nonlinear vector function of a nonlinear discrete-time system. An estimated value of S33, based on the deviation between the nonlinear discrete time system and the fault observer Redefining the output estimation error of iterative learning fault observer , the output estimation error is redefined as: ; In the above formula, t is the running time; and are the first subinterval and the second subinterval respectively. If the running time of the nonlinear discrete-time system can reach the ideal running time, then ; S34, based on output estimation error Design the corresponding improved PD type iterative average operator fault estimator as follows: ; In the above formula, are the gain matrices of the fault estimator, satisfying , ; is the maximum operating period of the nonlinear discrete-time system; The j-th iteration time is t The redefined output error; For the k The deviation between the actual secondary fault and the virtual fault is improved by the PD type iterative average operator; S35, performing online estimation of the actuator fault by a fault estimator to obtain a fault estimation error; S4, through The upper bound of fault estimation error is calculated using norm theory and recursive analysis method; S5. Design the gain matrix of the fault observer according to the upper bound of the fault estimation error , the gain matrix of the fault estimator as well as norm; S6, into the gain matrix , as well as The norm is used to obtain the fault estimator which is finally used to estimate the fault of the nonlinear system.
2. The nonlinear system fault estimation method according to claim 1, characterized in that: In step S1, the mathematical model of the nonlinear discrete-time system is expressed as: ; In the above formula, , They are the iteration index and the time index of each iteration respectively; Represents the input of a nonlinear discrete-time system; Represents a fault that occurs in a nonlinear discrete-time system; and Represent the state and output of a nonlinear discrete-time system, respectively; , , is the corresponding dimension information; is a nonlinear vector function of a nonlinear discrete-time system; , and is the nonlinear system matrix with corresponding dimensions; and It is the interference and noise of nonlinear discrete-time system.
3. The nonlinear system fault estimation method according to claim 1, characterized in that: In step S2, the specific process includes the following steps: S21, according to the ideal running time And the sampling period Sets the maximum operation period of a nonlinear discrete-time system , the maximum operating cycle set for: ; in, and are two constants of a nonlinear discrete-time system; S22, the maximum operating cycle Divide into the first subinterval for further describing the running time of the nonlinear discrete-time system and the second subinterval ,in, The first sub-interval It is expressed as: ; The second sub-interval It is expressed as: ; S23. Set the running time to ,in , The time that can be reached in each iteration process; S24. Introducing random variables The probability of running the cycle length for each iteration To characterize, random variables Satisfies Bernoulli distribution, and takes values of 0 and 1; when represents a nonlinear discrete-time system that can run up to time , the probability is , a nonlinear discrete-time system cannot run to the time When , the probability is ; S25. Determine the overall running time probability of the nonlinear discrete-time system, namely: ; In the above formula, is a random variable; is the ideal running time of a nonlinear discrete-time system; and are two constants of a nonlinear discrete-time system; t The running time for the setting; is the probability value of the overall operation of the nonlinear discrete-time system, and the corresponding probability is obtained according to different values of m.
4. The nonlinear system fault estimation method according to claim 1, characterized in that: In step S4, the specific process includes the following steps: S41. Solving the state error between the nonlinear discrete-time system and the fault observer The dynamic model obtains the deviation between the actual fault and the virtual fault ; S42, state error The dynamic model of the expected value is calculated and the average operator is used to obtain the expected value. , the expression is: ; In the above formula, is a nonlinear vector function and the observer estimate Expected value between is the expected value between the actual fault and the virtual fault; is the expected value between the state of the nonlinear discrete-time system and the observer's estimate of the state; and It is the disturbance and noise of nonlinear discrete-time system; is the nonlinear system matrix with corresponding dimensions; S43. Expectations Take the norm and adjust the nonlinear term Taking the Lipschitz constant, we get the expression of the upper bound as follows: ; In the above formula, The upper bound of the Lipschitz constant is greater than 0. , , The system matrix is , , As the nonlinear discrete-time system runs, the 2-norm upper bound is taken, which is a constant greater than 0; , Both are 2-norm upper bounds for the noise in the system operation, which are constants greater than 0; is the 2-norm symbol; S44. Recursively operate the expression of the upper bound to obtain the following expression, namely: ; In the above formula, , They are the iteration index and the time index of each iteration respectively; is the maximum operating period of the nonlinear discrete-time system; is the expected value obtained by performing progressive operations on each time; is the expected value between the actual fault and the virtual fault; is the 2-norm symbol; , is the expression after state recursion; S45, taking the λ norm of the expression obtained by recursive operation in step S44 and abbreviating it to obtain the expression of the upper bound of the fault estimation error, as follows: ; in, ; In the above formula, Expected value The upper bound value obtained is a constant greater than 0; is the maximum operating period of the nonlinear discrete-time system; , is the expression after state recursion.
5. The nonlinear system fault estimation method according to claim 1, characterized in that: In step S5, the specific process includes the following steps: S51. Using the improved PD-type iterative average operator, a new expression of fault estimation error is obtained, namely: ; In the above formula, is the deviation between the jth fault and the jth virtual fault of the nonlinear discrete-time system; For nonlinear discrete-time systems k +1 failure with k +1 deviation for virtual failure; It is for k The secondary fault deviation takes the above improved PD type iterative average operator; For the k +1 fault deviation takes the above improved PD type iterative average operator; S52, obtaining a new fault deviation based on the fault of the original system and the virtual fault; S53, take the new fault deviation norm, and perform recursive processing to obtain a recursive expression; S54. Design the gain matrix of the fault observer based on the recursive expression , the gain matrix of the fault estimator , as well as Norm.
6. The nonlinear system fault estimation method according to claim 5, characterized in that: In step S52, the specific process includes the following steps: S521. Calculate the deviation between the original system fault and the virtual fault, that is: ; In the above formula, , are the gain matrices of the fault estimator; is the jth iteration, and the time is The output error is redefined when S522, substituting the new fault estimation error into the fault deviation can obtain the error equation, namely: ; In the above formula, , All are cumulative The value obtained by division; is the probability value at time t+1; It is an improved PD-type iterative average operator for error information; S523, the state error Substituting into the error equation, we get the new fault deviation: ; in, , ,satisfy ; In the above formula, I is the identity matrix; It is for k The deviation between the secondary fault and the virtual fault is improved by the PD type iterative average operator; It is for k +1 The deviation between the state and the observer state estimate is taken as the improved PD type iterative average operator; It is for k The deviation between the sub-nonlinear vector function and the observer estimate is taken as the improved PD type iterative average operator; and is the nonlinear system matrix with corresponding dimensions; and It is the interference and noise of nonlinear discrete-time system.
7. The nonlinear system fault estimation method according to claim 5, characterized in that: In step S54, The norm is 4; the gain matrix of the fault observer is ; Gain matrix of fault estimator , .
Citation Information
Patent Citations
Fault reconstruction method based on PD (Proportional Differential) type learning observer
CN109991857A
Numerical control machine tool rapid error compensation control system and method based on iterative learning
CN113031518A
