Unknown system finite time domain state estimation method based on noise data
Through the finite time domain state estimation method based on noise data, a state feedback controller is constructed to solve the state estimation and control problems of unknown systems in complex production lines, achieve stable operation and accurate state acquisition of the system, adapt to dynamic changes, and improve instantaneous performance. static performance and robustness.
Patent Information
- Application Number
- CN202410795753.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-22
AI Technical Summary
In complex production lines, traditional state estimation methods are difficult to effectively handle unknown systems, especially in limited time domains, and it is difficult to control open-loop unstable systems. Moreover, commonly used infinite time domain state estimation may lead to overfitting and inflexibility. Responsive system dynamic performance.
Through the finite time domain state estimation method based on noise data, the offline stage constructs the input, state and output data matrices, calculates the control gain matrix, state-input inverse matrix and observation gain matrix, constructs a feedback controller for state estimation, and utilizes these in the online stage The matrix performs state estimation and closed-loop control to adapt to changes in dynamic systems.
It achieves accurate state estimation and closed-loop control in unknown systems, improves the transient performance of the system, ensures robustness to noise, and avoids the over-fitting problem in traditional methods.
Smart Images

Figure CN118819085A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent manufacturing technology, and in particular to a finite time domain state estimation method for an unknown system based on noise data. Background Art
[0002] Intelligent manufacturing emphasizes improving the data collection, processing and analysis capabilities of the production system, as well as unmanned technology and intelligent foundations to achieve autonomous learning, autonomous decision-making and optimization of the system. In the actual production process, the production line is usually composed of multiple components, equipment and processes, and its operating status is affected by various factors and has certain uncertainties. Therefore, by using system models, sensor data and observation information, the internal state of the system can be inferred and estimated. This process can be modeled as system state estimation.
[0003] State estimation is of great significance in the management and control of complex production lines. It can realize real-time monitoring, optimal scheduling, fault prediction and quality control of the production process, and therefore has received extensive attention and research from scholars and enterprises. Commonly used research methods mainly include Kalman filtering, least squares estimation and maximum a posteriori estimation. However, most of these state estimation methods are model-based, that is, it is necessary to pre-build a system model or use the collected data for system identification. For complex systems or large-scale data sets, traditional physical modeling methods may become very difficult or even infeasible, and the difficulty and computational complexity of system identification also show an exponential growth. In addition, traditional state estimation methods are mostly applicable to self-stabilizing systems, while for open-loop unstable systems, additional control laws still need to be designed. On the other hand, the infinite time domain state estimation considered in the past may overfit the data of certain periods, resulting in inflexible response to the dynamic performance of the system.
[0004] In order to meet the above challenges, data-driven methods have attracted extensive research attention in recent years. Data-driven control methods provide an end-to-end solution, that is, there is no need to perform system identification, but only use the collectible system data to design control strategies to deal with unknown model situations. At the same time, the noise during data acquisition should also be considered to ensure that the designed controller has a certain degree of robustness to noise. In a finite time domain, by constructing a feedback controller based on state estimation using input, state, and output data, this method can not only stabilize the closed-loop system, but also adapt to changes in the system in different time periods, thereby better matching the time domain characteristics of the actual system.
[0005] Therefore, there is an urgent need for a method that can directly obtain the control strategy and state estimation of the system based on noise data in a limited time domain, so as to ensure that the unknown system operates stably while minimizing energy consumption and obtaining a more accurate system state estimate. Summary of the invention
[0006] In view of this, the present invention provides a method for estimating the finite time domain state of an unknown system based on noise data, which method can adapt to dynamic systems, thereby improving the transient performance of the system.
[0007] In order to achieve the above-mentioned object of the invention, the technical solution of the present invention is:
[0008] A method for estimating the finite time domain state of an unknown system based on noise data, the specific steps comprising:
[0009] Offline stage: By collecting noisy input, state and output data matrices offline, the control gain matrix, state-input violation matrix and observation gain matrix are calculated in a finite time domain, and a feedback controller for state estimation is constructed based on the calculated matrices;
[0010] Online stage: Using the noisy input and output data of the unknown system, the state of the unknown system is estimated using the state estimation feedback controller constructed in the offline stage, and the estimated state is used to perform state feedback control on the system to achieve closed-loop control of the unknown system.
[0011] Furthermore, the offline stage of the present invention includes an offline-data matrix construction stage;
[0012] The offline-data matrix construction stage: connect the system and the controller through the network, apply control input to the system, wherein the data does not interact with the controller but directly collects the corresponding state and output of the system; construct the recorded input, state, and output values into input data matrices U 0 , the state data matrix X after receiving the input 1 , the initial state data matrix X 0 And the output data matrix Y 0 .
[0013] Furthermore, the offline stage of the present invention includes an offline-optimization problem solving stage;
[0014] The offline optimization problem solving stage: Based on the data matrix, in a limited time domain, the control problem and the observation problem are transformed into solving three semi-definite programming optimization problems to obtain the control gain matrix State-input violation matrix And the observation gain matrix
[0015] Furthermore, the control gain matrix of the present invention is Obtained by solving as follows:
[0016]
[0017] in, is the variable to be solved, is a sequence of n×n matrices, is a matrix sequence of N×n, is a c×c matrix sequence is an N×N matrix sequence, matrix I n is the unit matrix, a>0 is the process noise adjustment parameter, and the matrix H F is the control-based terminal cost weight matrix, matrix H X is the control-based operation cost weight matrix, matrix H Y is the control-based input cost weight matrix. For any matrix W, Tr(W) represents the trace of the matrix W. Let It is expressed as the optimal solution of the above semidefinite programming, and the controller gain matrix is The symbol ≥ means that the matrix is semi-positive definite, the symbol -1 in the upper right corner means the inverse of the matrix, the symbol T in the upper right corner means the transpose of the matrix, and the symbol 1 / 2 in the upper right corner means the arithmetic square root of the matrix.
[0018] Furthermore, the state-input violation matrix component of the present invention Obtained by solving as follows:
[0019]
[0020] in, is the variable to be solved, the matrix H is an n×n matrix sequence, and the matrix Υ 1 is a sequence of N×n matrices, the matrix Υ 2 is a matrix sequence of N×c. The + in the upper right corner indicates the right inverse of the matrix. It is represented as the optimal solution of the above semidefinite programming.
[0021] Furthermore, the observation gain matrix of the present invention is Obtained by solving as follows:
[0022]
[0023] in, is the variable to be solved, the matrix is a sequence of n×n matrices, the matrix is a matrix sequence of n×c, the matrix is a c×c matrix sequence, the matrix M F is the estimated terminal cost weight matrix, matrix M X is the estimated running cost weight matrix, matrix M Y is the input cost weight matrix based on the estimate, b>0 is the setting parameter, let It is expressed as the optimal solution of the above semidefinite programming, and the observer gain matrix is
[0024]
[0025] Furthermore, the offline stage of the present invention includes an offline-controller design stage;
[0026] The offline controller design stage: Based on the control gain matrix State-input violation matrix component And the observation gain matrix Constructing a controller based on state estimation
[0027]
[0028] in, y k ,u k are the estimated state of the unknown system, the system output, and the system control input respectively; X 1 is the state data matrix Y 0 is the output data matrix, is the state-input violation matrix component.
[0029] Beneficial effects:
[0030] First, the method of the present invention provides a finite time domain state estimation method for an unknown system based on noise data. During the offline operation, the input-state-output data matrix of the system is used to iteratively calculate the feedback controller gain matrix and the state estimator gain matrix in the finite time domain to adapt to the dynamic system, thereby improving the transient performance of the system.
[0031] Second, in the method of the present invention, the unknown system is affected by unknown noise. In the offline process, the controller is constructed using the collected noisy data matrix. In the online process, the system noise is also considered to obtain a more accurate system state estimate. The proposed method can ensure the robustness of the system to noise.
[0032] Third, in the method of the present invention, there is no need to perform a priori system identification. Instead, the input-state-output data of the controlled system is directly used to design a controller based on state estimation, thereby achieving state estimation and closed-loop control of the unknown system. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 This is the structural diagram of the system.
[0035] Figure 2 The figure is a flow chart of the method of the present invention.
[0036] Figure 3 This is a diagram showing the state estimation and control effect of an F-18 aircraft nuclear reactor embodiment of the present invention. DETAILED DESCRIPTION
[0037] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0038] It should be noted that the following embodiments and features in the embodiments may be combined with each other in the absence of conflict; and, based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making any creative work are within the scope of protection of the present disclosure.
[0039] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.
[0040] The method of the present invention is divided into offline operation ( Figure 1 Left) and online operation ( Figure 1 Right) Two stages. In the offline operation stage, the system and the controller do not transmit data. Instead, a series of continuous excitation input sequences are applied to the system, and the state and output sequences of the system are collected. Using these collected noisy input, state, and output data, the control gain matrix and the observation gain matrix are obtained by solving three semidefinite programming problems in a finite time domain. Then, these matrix parameters are used to construct a controller based on state estimation. In the online operation stage, the output of the system is sent to the constructed controller at each moment. The controller uses a state estimation-based method to obtain the state estimate at this moment, and generates a control input according to the state feedback control law and sends it to the system to achieve closed-loop control of the system.
[0041] Consider the following unknown system:
[0042] x k+1 =Axk +Bu k +ω k
[0043] y k =Cx k +ν k
[0044] Among them, x k 、u k ,y k are the state value, input value, and output value of the unknown system at time k, and their dimensions are n, m, and c respectively. In addition, ω k , ν k They represent the process noise and transmission noise of the unknown system at time k, respectively. They are independent additive Gaussian white noises. That is, for any time k, there is Matrices A, B, and C are unknown real matrices of n×n, n×m, and c×n dimensions, respectively, and the matrix pair (A, B) is controllable, and the matrix pair (C, A) is observable.
[0045] The present application embodiment provides a method for estimating the finite time domain state of an unknown system based on noise data, such as Figure 2 As shown, the specific steps are as follows:
[0046] S1, offline-data matrix construction stage.
[0047] The system and controller are connected through a network, and control input is applied to the system, wherein the data does not interact with the controller but directly collects the corresponding status and output of the system.
[0048] Let N = (n+1)m+n, the input sequence consists of N inputs satisfy where λ min (A) represents the minimum singular value of matrix A, Defined as
[0049]
[0050] Apply an input sequence to the system Collect the corresponding state sequence and the output sequence
[0051] The above input, state, and output values are respectively used to construct the input data matrix U 0 =[u 0 u 1 …u N-1 ], state data matrix X 1 =[x 0 x 1 …xN-1 ](1 step), X 0 =[x 0 x 1 …x N-1 ](0 step) and the output data matrix Y 0 =[y 0 y 1 …y N-1 ] and construct the input-state data matrix
[0052] S2, offline - optimization problem solving stage.
[0053] Based on the data matrix in S1, the control problem and observation problem are transformed into solving three semidefinite programming optimization problems in a finite time domain. The specific process is as follows:
[0054] First, solve the following semidefinite programming problem
[0055]
[0056] in, is the variable to be solved, is a sequence of n×n matrices, is a matrix sequence of N×n, is a c×c matrix sequence is a matrix sequence of N×N, matrix I is a unit matrix of appropriate dimension, a>0 is the process noise adjustment parameter, matrix H F is the control-based terminal cost weight matrix, matrix H X is the control-based operation cost weight matrix, matrix H Y is the control-based input cost weight matrix. For any matrix W, Tr(W) represents the trace of the matrix W. Let It is expressed as the optimal solution of the above semidefinite programming, and the controller gain matrix is
[0057] Next, solve the following semidefinite programming problem
[0058]
[0059] in, is the variable to be solved, the matrix H is an n×n matrix sequence, and the matrix Υ 1 is a sequence of N×n matrices, the matrix Υ 2 is a matrix sequence of N×c, and the + in the upper right corner indicates the right inverse of the matrix. It is represented as the optimal solution of the above semidefinite programming.
[0060] Finally, the following semidefinite programming problem
[0061]
[0062] in, is the variable to be solved, the matrix is a sequence of n×n matrices, the matrix is a matrix sequence of n×c, the matrix is a c×c matrix sequence, the matrix M F is the estimated terminal cost weight matrix, matrix M X is the estimated running cost weight matrix, matrix M Y is the input cost weight matrix based on the estimate. Let It is expressed as the optimal solution of the above semidefinite programming, and the observer gain matrix is
[0063] S3, offline - controller design stage.
[0064] Using the matrix obtained in S2 Constructing a feedback controller based on state estimation
[0065]
[0066] in, y k ,u k They are the estimated state of the system, the system output, and the system control input, respectively.
[0067] S4, online-closed-loop system operation stage.
[0068] The system sends the output at each moment to the feedback controller based on state estimation designed in S3. The controller uses the pre-calculated control gain matrix and observation gain matrix to estimate the state at each moment in a finite time domain, and transmits the control input back to the system through the network channel, thereby performing closed-loop control on the unknown system.
[0069] It should be noted that the selection of the above parameters a and b is related to the maximum value of the process noise and transmission noise of the unknown system. The larger the noise, the corresponding a and b values should be increased to ensure the solvability of the semidefinite programming problem. However, if these two values are too large, the stabilization time of the system will be prolonged, and the accuracy of the system state estimation will also be reduced.
[0070] like Figure 3 As shown, the effect diagram of the embodiment running on the nuclear reactor system for 40 unit times is shown. The corresponding system matrix is:
[0071]
[0072] Set parameter N = 15, process noise and random noise are Gaussian noise with zero mean, and their covariance matrix is M X =0.001I 4 , M Y =0.001I 2 The control weight matrix is set to H F =H X =I 4 , H Y =I 2 , according to the covariance matrix, the estimated weight matrix is set to M F =M X =0.001I 4 , M Y =0.001I 2 , and select the parameter a=b=0.1. The horizontal axis in the simulation results represents the time step, and the simulation results show the effectiveness of the invented unknown system finite time domain state estimation method based on noise data.
[0073] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for estimating the state of an unknown system in a finite time domain based on noise data, characterized in that: The specific steps include: Offline stage: By collecting noisy input, state and output data matrices offline, the control gain matrix, state-input violation matrix and observation gain matrix are calculated in a finite time domain, and a feedback controller for state estimation is constructed based on the calculated matrices; Online stage: Using the noisy input and output data of the unknown system, the state of the unknown system is estimated using the state estimation feedback controller constructed in the offline stage, and the estimated state is used to perform state feedback control on the system to achieve closed-loop control of the unknown system.
2. The method for estimating the unknown system finite time domain state based on noise data according to claim 1, characterized in that: The offline stage includes an offline-data matrix construction stage; The offline-data matrix construction stage: connect the system and the controller through the network, apply control input to the system, wherein the data does not interact with the controller but directly collects the corresponding state and output of the system; construct the recorded input, state, and output values into an input data matrix U0, a state data matrix X1 after receiving the input, an initial state data matrix X0, and an output data matrix Y0.
3. The method for estimating the unknown system finite time domain state based on noise data according to claim 1, characterized in that: The offline stage includes an offline-optimization problem solving stage; The offline optimization problem solving stage: Based on the data matrix, in a limited time domain, the control problem and the observation problem are transformed into solving three semi-definite programming optimization problems to obtain the control gain matrix State-input violation matrix And the observation gain matrix 4. The method for estimating the unknown system finite time domain state based on noise data according to claim 3 is characterized in that: The offline stage includes an offline-controller design stage; The offline controller design stage: Based on the control gain matrix State-input violation matrix component And the observation gain matrix Constructing a controller based on state estimation in, y k ,u k They are the estimated state, system output, and system control input of the unknown system respectively; X1 is the state data matrix and Y0 is the output data matrix.
5. The method for estimating the unknown system finite time domain state based on noise data according to claim 4, characterized in that: The control gain matrix It is obtained by solving the following semidefinite programming optimization problem: Where a>0, is the variable to be solved, is a sequence of n×n matrices, is a matrix sequence of N×n, is a c×c matrix sequence is an N×N matrix sequence, matrix I n is the unit matrix, a>0 is the process noise adjustment parameter, and the matrix H F is the control-based terminal cost weight matrix, matrix H X is the control-based operation cost weight matrix, matrix H Y is the control-based input cost weight matrix. For any matrix W, Tr(W) represents the trace of the matrix W. Let It is expressed as the optimal solution of the above semidefinite programming, and the controller gain matrix is The symbol ≥ means that the matrix is semi-positive definite, the symbol -1 in the upper right corner means the inverse of the matrix, the symbol T in the upper right corner means the transpose of the matrix, and the symbol 1 / 2 in the upper right corner means the arithmetic square root of the matrix.
6. The method for estimating the unknown system finite time domain state based on noise data according to claim 4, characterized in that: The state-input violation matrix component It is obtained by solving the following semidefinite programming optimization problem: in, is the variable to be solved, the matrix H is an n×n matrix sequence, and the matrix I n is the unit matrix, matrix Y1 is an N×n matrix sequence, matrix Y2 is an N×c matrix sequence, the + in the upper right corner indicates the right inverse of the matrix, let It represents the optimal solution of the above semidefinite programming, and the symbol ≥ means that the matrix is semi-positive definite.
7. The method for estimating the unknown system finite time domain state based on noise data according to claim 4, characterized in that: The observation gain matrix Obtained by solving as follows: in, is the variable to be solved, the matrix is a sequence of n×n matrices, the matrix is a matrix sequence of n×c, the matrix is a c×c matrix sequence, the matrix M F is the estimated terminal cost weight matrix, matrix M X is the estimated running cost weight matrix, matrix M Y is the estimated input cost weight matrix, let It is expressed as the optimal solution of the above semidefinite programming, and the observer gain matrix is
