A lightweight autonomous fault diagnosis method for spacecraft
By constructing information optimization models and dynamic characteristic equations, lightweight fault diagnosis of spacecraft is realized, which solves the problem of complexity of spacecraft fault diagnosis and insufficient computing power, reduces the amount of data to be processed, and improves the engineering practicality and design of fault diagnosis. degrees of freedom.
Patent Information
- Application Number
- CN202310780419.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-28
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2043-06-28
AI Technical Summary
Due to the complex scale and harsh operating environment of spacecraft, fault diagnosis is difficult, and computer computing power is limited, making it difficult to run complex fault diagnosis algorithms, making it difficult to detect and handle faults in a timely manner.
By establishing the state equation of the spacecraft control system, constructing the information optimization model, optimization equivalent space model and dynamic characteristic equation, we obtain the optimal information optimization model, calculate lightweight fault diagnosis residuals and diagnosis thresholds, and realize autonomous fault diagnosis of the spacecraft. .
It reduces the information dimension processed by the on-board computer, breaks through strict resource constraints, has strong engineering practicality and design freedom, and ensures that the design results meet actual needs.
Smart Images

Figure CN116880171B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of spacecraft, and in particular relates to a lightweight autonomous fault diagnosis method for spacecraft. Background Art
[0002] The complex scale and harsh operating environment of spacecraft greatly increase the probability of failure and make it difficult to diagnose. If the fault cannot be discovered and handled in time, it is easy to cause the fault to deteriorate, resulting in mission degradation or mission failure, which will cause huge economic losses. On the other hand, when performing deep space exploration and other missions, it is difficult to rely on ground stations for real-time operation and control management, which requires spacecraft to have the ability to operate autonomously. Therefore, in order to improve the reliability and stability of spacecraft, extend the service life of spacecraft and ensure the completion of space missions, spacecraft need to realize autonomous fault diagnosis. Jiang et al. (Jiang B, Zhang K, Shi P. Integrated fault estimation and accommodation design for discrete time Takagi-Sugeno fuzzy systems with actuator faults [J]. IEEE Transactions on Fuzzy Systems, 2011, 19 (2): 291-304) proposed a comprehensive design method for robust fault diagnosis and fault-tolerant control of discrete TS fuzzy systems, using a fault estimation observer to diagnose actuator faults. However, spacecraft is a typical type of system that cannot be repaired and has severely limited resources. In particular, the computing power of the computers on board spacecraft is limited, making it difficult to run complex fault diagnosis algorithms on the spacecraft. Summary of the invention
[0003] The technical problem solved by the present invention is: to overcome the deficiencies of the prior art, to provide a lightweight autonomous fault diagnosis method for spacecraft, to reduce the dimension of information that needs to be processed by the onboard computer, and to realize autonomous fault diagnosis of the spacecraft.
[0004] The object of the present invention is achieved through the following technical solutions: A method for lightweight autonomous fault diagnosis of spacecraft, comprising: establishing a state equation of a spacecraft control system; constructing an information optimization model according to the state equation of the spacecraft control system; constructing a preferred equivalent space model according to the information optimization model; constructing a dynamic characteristic equation according to the preferred equivalent space model; obtaining an optimal information optimization model according to the fault sequence, the total number of fault modes, the amount of information used and the dynamic characteristic equation; obtaining a lightweight fault diagnosis residual of the spacecraft according to the optimal information optimization model; obtaining a parameter matrix of the lightweight fault diagnosis residual according to the lightweight fault diagnosis residual of the spacecraft; obtaining a lightweight fault diagnosis evaluation function according to the parameter matrix of the lightweight fault diagnosis residual; constructing a diagnosis threshold according to the lightweight fault diagnosis evaluation function, and judging whether the spacecraft is faulty according to the diagnosis threshold.
[0005] In the above-mentioned spacecraft lightweight autonomous fault diagnosis method, the state equation of the spacecraft control system is obtained by the following formula:
[0006] x(k+1)=Ax(k)+B[u(k)+f a (k)]+B w w(k)
[0007] y(k)=Cx(k)+Du(k)+D v v(k)+f s (k);
[0008] Among them, x(k+1) is the state vector of the system at time k+1, x(k) is the state vector of the system at time k, u(k) is the control input vector of the system at time k, and f a (k) is the actuator fault vector of the system at the kth moment, w(k) is the process noise vector of the system at the kth moment, y(k) is the output vector of the system at the kth moment, v(k) is the measurement noise vector of the system at the kth moment, k represents the moment, f s (k) is the sensor fault vector of the system at the kth moment, A, B, B w , C, D and D v are the parameter matrices of the system state equation.
[0009] In the above-mentioned spacecraft lightweight autonomous fault diagnosis method, the information optimization model is obtained by the following formula:
[0010] y c (k) = M c y(k);
[0011] in, y c (k) is the system output after optimization, y(k) is the output vector of the system at the kth moment, M c is the information optimization matrix, is a unit vector whose m1th element is 1, is a unit vector whose m2th element is 1, For m N A unit vector with elements equal to 1.
[0012] In the above-mentioned spacecraft lightweight autonomous fault diagnosis method, the preferred equivalent space model is obtained by the following formula:
[0013] M c y s (k)-M c H cu u s (k) = M c H cx x(k-s+1)+M c H cd d s (k)+M c H cf f s (k);
[0014] in,
[0015] y s (k) = [y T (k-s+1) … y T (k)] T , f s (k) = [f T (k-s+1) … f T (k)] T ,
[0016] d s (k)=[w T (k-s+1) … w T (k) v T (k-s+1) … v T (k)] T ,u s (k)=[u T (k-s+1) … u T (k)] T ,
[0017] M c is the information optimization matrix, y s (k) is the system output vector of the optimal equivalent space model at the kth moment, u s(k) is the system input vector of the optimal equivalent space model at the kth moment, s is the dimension of the optimal equivalent space model, d s (k) is the noise vector of the optimal equivalent space model at the kth moment, f s (k) is the fault vector of the optimal equivalent space model at the kth moment, y(k) is the output vector of the system at the kth moment, H cu is the first system parameter matrix of the optimal equivalent space model, H cx is the second system parameter matrix of the optimal equivalent space model, H cd is the third system parameter matrix of the optimal equivalent space model, H cf is the fourth system parameter matrix of the optimal equivalent space model, y(k-s+1) is the output vector at the k-s+1th moment, y(k) is the output vector at the kth moment, f(k-s+1) is the fault vector at the k-s+1th moment, f(k) is the fault vector at the kth moment, w(k-s+1) is the process noise vector at the k-s+1th moment, w(k) is the process noise vector at the kth moment, v(k-s+1) is the measurement noise vector at the k-s+1th moment, v(k) is the measurement noise vector at the kth moment, u(k-s+1) is the control input vector at the k-s+1th moment, u(k) is the control input vector at the kth moment, D is the parameter matrix of the system state equation, CB is the process parameter matrix of the optimal equivalent space model, CA s-2 B is the process parameter matrix of the optimal equivalent space model, C is the parameter matrix of the system state equation, CA is the process parameter matrix of the optimal equivalent space model, s-1 is the process parameter matrix of the optimal equivalent space model, CB d is the process parameter matrix of the optimal equivalent space model, CA s-2 B d is the process parameter matrix of the optimal equivalent space model, D d is the parameter matrix of the system state equation.
[0018] In the above-mentioned spacecraft lightweight autonomous fault diagnosis method, the dynamic characteristic equation is obtained by the following formula:
[0019] N s M c y s (k)-N s M c H cu u s (k) = N s M c H cd d s (k)+N s M c H cf fs (k);
[0020] Among them, N s M c H cx The orthogonal basis of the left null space, that is, N s M c H cx =0;M c is the information optimization matrix, y s (k) is the system output vector of the optimal equivalent space model, H cu is the first system parameter matrix of the optimal equivalent space model, u s (k) is the system input vector of the optimal equivalent space model, H cd is the third system parameter matrix of the optimal equivalent space model, d s (k) is the noise vector of the optimal equivalent space model, H cf is the fourth system parameter matrix of the optimal equivalent space model, f s (k) is the fault vector of the optimal equivalent space model, and k is the time.
[0021] In the above-mentioned spacecraft lightweight autonomous fault diagnosis method, the optimal information selection model is obtained by the following formula:
[0022]
[0023]
[0024]
[0025] in, is the optimal output vector of the system for the optimal equivalent space model, is the optimal information optimization matrix, D(f s,i ,M c ) is the system diagnostic capability evaluation index, f s,i is the fault sequence, N f is the total number of fault modes, i is the fault mode number, N is the number of used information, H cf,i is the matrix H cf Corresponding to the fault f s,i submatrix, k is the time, y(k) is the output vector of the system at the kth time, N s M c H cx Orthogonal basis of the left null space, M c is the information optimization matrix, H cx is the second system parameter matrix of the optimal equivalent space model.
[0026] In the above-mentioned spacecraft lightweight autonomous fault diagnosis method, the spacecraft lightweight fault diagnosis residual is obtained by the following formula:
[0027]
[0028] Among them, r * (k) is the residual error of the lightweight fault diagnosis of the spacecraft, P s is the parameter matrix of lightweight fault diagnosis residual, N s M c H cx Orthogonal basis of the left null space, M c is the information optimization matrix, H cx is the second system parameter matrix of the optimal equivalent space model, is the optimal information optimization matrix, y s (k) is the system output vector of the optimal equivalent space model, k is the time, H cu is the first system parameter matrix of the optimal equivalent space model, u s (k) is the system input vector of the preferred equivalent space model.
[0029] In the above-mentioned spacecraft lightweight autonomous fault diagnosis method, the parameter matrix P of the lightweight fault diagnosis residual is s It is obtained by the following formula:
[0030] P s =S -1 U T ;
[0031] S=diag(σ1,……,σ γ );
[0032] H cd =U∑V T ;
[0033] UU T =I,VV T =I,∑=[S 0];
[0034] Among them, P s is the parameter matrix of lightweight fault diagnosis residual, S, U and V are all parameter matrices obtained by singular value decomposition, I is the unit matrix with appropriate dimension, diag(σ1, ..., σ γ ) is a matrix with σ1...σ γ is a diagonal matrix with diagonal elements, σ1, σ γ are the 1st and γth singular values respectively, and γ is the number of singular values.
[0035] In the above-mentioned spacecraft lightweight autonomous fault diagnosis method, the lightweight fault diagnosis evaluation function J *(k) is obtained by the following formula:
[0036]
[0037] Among them, J * (k) is the lightweight fault diagnosis evaluation function; P s is the parameter matrix of lightweight fault diagnosis residual, N s M c H cx Orthogonal basis of the left null space, M c is the information optimization matrix, H cx is the second system parameter matrix of the optimal equivalent space model, is the optimal information optimization matrix, y s (k) is the system output vector of the optimal equivalent space model, k is the time, H cu is the first system parameter matrix of the optimal equivalent space model, u s (k) is the system input vector of the preferred equivalent space model.
[0038] In the above-mentioned spacecraft lightweight autonomous fault diagnosis method, the diagnosis threshold H is obtained by the following formula:
[0039]
[0040] Among them, H is the diagnostic threshold, J * (k) is the lightweight fault diagnosis evaluation function, and n is the length of time the system is fault-free;
[0041] According to the diagnosis threshold H, whether the spacecraft is faulty can be determined by the following formula:
[0042]
[0043] A spacecraft lightweight autonomous fault diagnosis system comprises: a first module for establishing a state equation of a spacecraft control system; a second module for constructing an information optimization model according to the state equation of the spacecraft control system; a third module for constructing an optimal equivalent space model according to the information optimization model; a fourth module for constructing a dynamic characteristic equation according to the optimal equivalent space model; a fifth module for constructing a dynamic characteristic equation according to a fault time sequence f s,i , total number of failure modes N f , using the information quantity N and the dynamic characteristic equation to obtain the optimal information optimization model; the sixth module is used to obtain the lightweight fault diagnosis residual of the spacecraft according to the optimal information optimization model; the seventh module is used to obtain the parameter matrix P of the lightweight fault diagnosis residual according to the lightweight fault diagnosis residual of the spacecraft s ; The eighth module is used to obtain the lightweight fault diagnosis evaluation function J according to the parameter matrix of the lightweight fault diagnosis residual *(k); The ninth module is used to diagnose the lightweight fault according to the evaluation function J * (k) Construct a diagnostic threshold H and determine whether the spacecraft is faulty based on the diagnostic threshold H.
[0044] Compared with the prior art, the present invention has the following beneficial effects:
[0045] (1) The present invention reduces the amount of data that needs to be processed by the onboard computer during the fault diagnosis process by constructing an information optimization model, which can break through the strict constraints of onboard resources and has strong engineering practicality;
[0046] (2) The present invention has a relatively large degree of freedom in design and can select appropriate data dimensions in a targeted manner according to actual engineering requirements or the actual computing power of the onboard computer to ensure that the design results meet actual requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0048] Figure 1 It is a flow chart of a method for autonomous fault diagnosis of spacecraft lightweighting provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to be able to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0050] Figure 1 : is a flow chart of a method for autonomous fault diagnosis of spacecraft lightweighting provided by an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0051] (1) Using the spacecraft design parameters, establish the state equation of the spacecraft control system (A, B, B w ,C,D,D v ).
[0052] (2) Based on the state equation of the spacecraft control system obtained in (1), the information optimization model y is constructedc (k).
[0053] (3) Based on the information optimization model obtained in (2), construct the optimization equivalent space model (M c ,H cx ,H cd ,H cf ,y s ,u s ,d s ,f s ).
[0054] (4) Construct the system dynamic characteristic equation based on the optimal equivalent space model obtained in (3).
[0055] (5) Select appropriate fault sequence f according to project requirements s,i , total number of failure modes N f , using the information quantity N, combined with the dynamic feature matrix obtained in (4), construct and solve the optimization problem corresponding to the information optimization model, and determine the optimal information optimization model
[0056] (6) According to the optimal information optimization model obtained in (5), the residual error r of lightweight fault diagnosis of spacecraft is designed. * (k).
[0057] (7) Calculate the parameter matrix P of the lightweight fault diagnosis residual s .
[0058] (8) According to the lightweight fault diagnosis residual obtained in (7), the lightweight fault diagnosis evaluation function J is designed * (k).
[0059] (9) Based on the lightweight fault diagnosis evaluation function obtained in (8), the diagnosis threshold H and the spacecraft fault diagnosis logic are constructed to form a complete lightweight spacecraft fault diagnosis algorithm.
[0060] Specifically, (1) using the spacecraft design parameters, the state equation of the spacecraft control system (A, B, B w ,C,D,D v ):
[0061] The spacecraft attitude dynamics equation is given as follows:
[0062]
[0063] in, θ and ψ are the roll angle, pitch angle and yaw angle of the spacecraft respectively, I x ,I y and I zrepresents the main inertia of the spacecraft, ω0 is the orbital angular velocity of the spacecraft, T dx 、T dy and T dz is the external disturbance torque of the spacecraft, u x 、u y and u z is the control torque acting on the spacecraft.
[0064] make u=[u x u y u z ] T , Considering the momentum wheel failure, sensor failure, process noise and measurement noise, the state equation of the system can be obtained according to the dynamic equation as follows:
[0065]
[0066] y(t)=Cx(t)+Du(t)+D v v(t)+f s (t)
[0067] Among them, f a (t) and f s (t) represents the momentum wheel fault and sensor fault of the spacecraft respectively; w(t) and v(t) represent the process noise and measurement noise of the spacecraft respectively; the specific values of A′, B′, C′, and D′ are expressed as
[0068] C=I6,D=0 3×3 , D′ v =I6,T dx =T dy =T dz = 0, and there is
[0069] Discretize the state equation, let the discrete time interval be dt, and get the discrete time state equation:
[0070] x(k+1)=Ax(k)+B[u(k)+f a (k)]+B w w(k)
[0071] y(k)=Cx(k)+Du(k)+D v v(k)+f s (k);
[0072] Wherein, subscript a represents the actuator, subscript s represents the sensor, subscript w represents the process noise, subscript v represents the measurement noise, x(k+1) is the state vector of the system at time k+1, x(k) is the state vector of the system at time k, u(k) is the control input vector of the system at time k, and f a (k) is the actuator fault vector of the system at the kth moment, w(k) is the process noise vector of the system at the kth moment, y(k) is the output vector of the system at the kth moment, v(k) is the measurement noise vector of the system at the kth moment, k represents the moment, f s (k) is the sensor fault vector of the system at the kth moment, A, B, B w , C, D, D v The parameter matrix representing the system state equation is determined by the system structure.
[0073] (2) Based on the state equation of the spacecraft control system obtained in (1), an information optimization model is constructed:
[0074] y c (k) = M c y(k)
[0075] in, It is used to determine the information used for fault diagnosis. N represents the amount of information used (N≤6). Indicates the mth τ A unit vector with 1 elements and rank(M c )=N,m γ ∈{1,2,3,4,5,6}, γ=1,…,N. y c (k) is the system output after optimization, M c is the information optimization matrix, Indicates the mth τ A unit vector with elements equal to 1, is a unit vector whose m1th element is 1, is a unit vector whose m2th element is 1, For m N A unit vector with elements equal to 1.
[0076] (3) Based on the information optimization model obtained in (2), construct the optimization equivalent space model (M c ,H cx ,H cd ,H cf ,y s ,u s ,d s ,f s ):
[0077] M c y s(k)-M c H cu u s (k) = M c H cx x(k-s+1)+M c H cd d s (k)+M c H cf f s (k)
[0078] in,
[0079] y s =[y T (k-s+1) … y T (k)] T , f s =[f T (k-s+1) … f T (k)] T ,
[0080] d s =[w T (k-s+1) … w T (k) v T (k-s+1) … v T (k)] T ,u s =[u T (k-s+1) … u T (k)] T ,
[0081] M c is the information optimization matrix, y s (k) is the system output vector of the optimal equivalent space model, u s (k) is the system input vector of the optimal equivalent space model, s is the dimension of the optimal equivalent space model, d s (k) is the noise vector of the optimal equivalent space model, f s (k) is the fault vector of the optimal equivalent space model, y(k) is the output vector of the system at the kth moment, H cu is the first system parameter matrix of the optimal equivalent space model, H cx is the second system parameter matrix of the optimal equivalent space model, H cd is the third system parameter matrix of the optimal equivalent space model, H cfis the fourth system parameter matrix of the optimal equivalent space model, y(k-s+1) is the output vector at the k-s+1th moment, y(k) is the output vector at the kth moment, f(k-s+1) is the fault vector at the k-s+1th moment, f(k) is the fault vector at the kth moment, w(k-s+1) is the process noise vector at the k-s+1th moment, w(k) is the process noise vector at the kth moment, v(k-s+1) is the measurement noise vector at the k-s+1th moment, v(k) is the measurement noise vector at the kth moment, u(k-s+1) is the control input vector at the k-s+1th moment, u(k) is the control input vector at the kth moment, D is the parameter matrix of the system state equation, CB is the process parameter matrix of the optimal equivalent space model, CA s-2 B is the process parameter matrix of the optimal equivalent space model, C is the parameter matrix of the system state equation, CA is the process parameter matrix of the optimal equivalent space model, s-1 is the process parameter matrix of the optimal equivalent space model, CB d is the process parameter matrix of the optimal equivalent space model, CA s-2 B d is the process parameter matrix of the optimal equivalent space model, D d is the parameter matrix of the system state equation.
[0082] (4) Based on the optimal equivalent space model obtained in (3), the system dynamic characteristic equation is constructed:
[0083] N s M c y s (k)-N s M c H cu u s (k) = N s M c H cd d s (k)+N s M c H cf f s (k)
[0084] Among them, N s M c H cx The orthogonal basis of the left null space, that is, N s M c H cx =0;M c is the information optimization matrix, y s (k) is the system output vector of the optimal equivalent space model, H cu is the first system parameter matrix of the optimal equivalent space model, u s(k) is the system input vector of the optimal equivalent space model, H cd is the third system parameter matrix of the optimal equivalent space model, d s (k) is the noise vector of the optimal equivalent space model, H cf is the fourth system parameter matrix of the optimal equivalent space model, f s (k) is the fault vector of the optimal equivalent space model, and k is the time.
[0085] (5) Select appropriate fault sequence f according to project requirements s,i , total number of failure modes N f , using the information quantity N, combined with the dynamic feature matrix obtained in (4), construct and solve the optimization problem corresponding to the information optimization model, and determine the optimal information optimization model
[0086]
[0087]
[0088] Among them, H cf,i Denotes the matrix H cf Corresponding to the fault f s,i submatrix of ;
[0089] Then we have:
[0090]
[0091] in, is the optimal output vector of the system for the optimal equivalent space model, is the optimal information optimization matrix, D(f s,i ,M c ) is the system diagnostic capability evaluation index, f s,i is the fault sequence, N f is the total number of fault modes, i is the fault mode number, N is the number of used information, H cf,i is the matrix H cf Corresponding to the fault f s,i submatrix, k is the time, y(k) is the output vector of the system at the kth time, N s M c H cx Orthogonal basis of the left null space, M c is the information optimization matrix, H cx is the second system parameter matrix of the optimal equivalent space model.
[0092] (6) According to the optimal information optimization model obtained in (5), the lightweight fault diagnosis residual of the spacecraft is designed:
[0093]
[0094] Among them, r * (k) is the residual error of the lightweight fault diagnosis of the spacecraft, P s is the parameter matrix of lightweight fault diagnosis residual, N s M c H cx Orthogonal basis of the left null space, M c is the information optimization matrix, H cx is the second system parameter matrix of the optimal equivalent space model, is the optimal information optimization matrix, y s (k) is the system output vector of the optimal equivalent space model, k is the time, H cu is the first system parameter matrix of the optimal equivalent space model, u s (k) is the system input vector of the preferred equivalent space model.
[0095] (7) Calculate the parameter matrix P of the lightweight fault diagnosis residual s :
[0096] For the matrix H cd Perform singular value decomposition and get:
[0097] H cd =U∑V T ;
[0098] Among them, UU T =I,VV T =I, ∑=[S 0], S=diag(σ1,...,σ γ ). Further, we can get:
[0099] P s =S -1 U T .
[0100] Among them, P s is the parameter matrix of lightweight fault diagnosis residual, S, U and V are all parameter matrices obtained by singular value decomposition, I is the unit matrix with appropriate dimension, diag(σ1, ..., σ γ ) is a matrix with σ1...σ γ is a diagonal matrix with diagonal elements, σ1, σ γ are the 1st and γth singular values respectively, and γ is the number of singular values.
[0101] (8) According to the lightweight fault diagnosis residual obtained by (7), the lightweight fault diagnosis evaluation function is designed:
[0102]
[0103] Among them, J * (k) is the lightweight fault diagnosis evaluation function; P s is the parameter matrix of lightweight fault diagnosis residual, N s M c H cx Orthogonal basis of the left null space, M c is the information optimization matrix, H cx is the second system parameter matrix of the optimal equivalent space model, is the optimal information optimization matrix, y s (k) is the system output vector of the optimal equivalent space model, k is the time, H cu is the first system parameter matrix of the optimal equivalent space model, u s (k) is the system input vector of the preferred equivalent space model.
[0104] (9) According to the lightweight fault diagnosis evaluation function obtained in (8), the diagnosis threshold H is constructed:
[0105] Assume that the system is in k n ,…,k n+N There is no fault between the times, select the detection threshold:
[0106]
[0107] Among them, H is the diagnostic threshold, J * (k) is the lightweight fault diagnosis evaluation function, and n is the length of time the system is fault-free.
[0108] Design corresponding fault diagnosis logic:
[0109]
[0110] The present invention reduces the amount of data that needs to be processed by the onboard computer during fault diagnosis by constructing an information optimization model, which can break through the strict constraints of onboard resources and has strong engineering practicality. The present invention has a relatively large degree of design freedom and can select appropriate data dimensions in a targeted manner according to actual engineering needs or the actual computing power of the onboard computer to ensure that the design results meet actual needs.
[0111] Although the present invention has been disclosed as above in the form of a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art may make possible changes and modifications to the technical solution of the present invention by using the methods and technical contents disclosed above without departing from the spirit and scope of the present invention. Therefore, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the protection scope of the technical solution of the present invention.
Claims
1. A method for autonomous fault diagnosis of lightweight spacecraft, characterized in that include: Establish the state equations of spacecraft control systems; Constructing information optimization model based on the state equation of spacecraft control system; Constructing the optimization equivalent space model according to the information optimization model; Construct dynamic characteristic equations based on the optimal equivalent space model; According to the fault sequence, the total number of fault modes, the amount of information used and the dynamic characteristic equation, the optimal information selection model is obtained; The residual error of lightweight fault diagnosis of spacecraft is obtained according to the optimal information selection model; According to the lightweight fault diagnosis residual of the spacecraft, a parameter matrix of the lightweight fault diagnosis residual is obtained; A lightweight fault diagnosis evaluation function is obtained according to the parameter matrix of lightweight fault diagnosis residuals; A diagnostic threshold is constructed based on a lightweight fault diagnosis evaluation function, and the fault of the spacecraft is determined based on the diagnostic threshold. The optimal information optimization model is obtained by the following formula: in, is the optimal output vector of the system for the optimal equivalent space model, is the optimal information optimization matrix, D(f s,i ,M c ) is the system diagnostic capability evaluation index, f s,i is the fault sequence, N f is the total number of fault modes, i is the fault mode number, N is the number of used information, H cf,i is the matrix H cf Corresponding to the fault f s,i submatrix, k is the time, y(k) is the output vector of the system at the kth time, N s M c H cx Orthogonal basis of the left null space, M c is the information optimization matrix, H cx is the second system parameter matrix of the optimal equivalent space model.
2. The method for autonomous fault diagnosis of lightweight spacecraft according to claim 1, characterized in that: The state equation of the spacecraft control system is obtained by the following formula: x(k+1)=Ax(k)+B[u(k)+f a (k)]+B w w(k) y(k)=Cx(k)+Du(k)+D v v(k)+f s (k); Among them, x(k+1) is the state vector of the system at time k+1, x(k) is the state vector of the system at time k, u(k) is the control input vector of the system at time k, and f a (k) is the actuator fault vector of the system at the kth moment, w(k) is the process noise vector of the system at the kth moment, y(k) is the output vector of the system at the kth moment, v(k) is the measurement noise vector of the system at the kth moment, k represents the moment, f s (k) is the sensor fault vector of the system at the kth moment, A, B, B w , C, D and D v are the parameter matrices of the system state equation.
3. The method for autonomous fault diagnosis of lightweight spacecraft according to claim 1, characterized in that: The information optimization model is obtained through the following formula: and c (k)=M c and(k); in, y c (k) is the system output after optimization, y(k) is the output vector of the system at the kth moment, M c is the information optimization matrix, is a unit vector whose m1th element is 1, is a unit vector whose m2th element is 1, For m N A unit vector with elements equal to 1.
4. The method for autonomous fault diagnosis of spacecraft lightweight according to claim 1, characterized in that: The optimal equivalent space model is obtained by the following formula: M c y s (k)-M c H cu u s (k)=M c H cx x(k-s+1)+M c H cd d s (k)+M c H cf f s (k); in, y s (k)=[y T (k-s+1) … y T (k)] T ,f s (k)=[f T (k-s+1) … f T (k)] T , d s (k)=[w T (k-s+1) … w T (k) v T (k-s+1) … v T (k)] T ,u s (k)=[u T (k-s+1) … u T (k)] T , M c is the information optimization matrix, y s (k) is the system output vector of the optimal equivalent space model at the kth moment, u s (k) is the system input vector of the optimal equivalent space model at the kth moment, s is the dimension of the optimal equivalent space model, d s (k) is the noise vector of the optimal equivalent space model at the kth moment, f s (k) is the fault vector of the optimal equivalent space model at the kth moment, y(k) is the output vector of the system at the kth moment, H cu is the first system parameter matrix of the optimal equivalent space model, H cx is the second system parameter matrix of the optimal equivalent space model, H cd is the third system parameter matrix of the optimal equivalent space model, H cf is the fourth system parameter matrix of the optimal equivalent space model, y(k-s+1) is the output vector at the k-s+1th moment, y(k) is the output vector at the kth moment, f(k-s+1) is the fault vector at the k-s+1th moment, f(k) is the fault vector at the kth moment, w(k-s+1) is the process noise vector at the k-s+1th moment, w(k) is the process noise vector at the kth moment, v(k-s+1) is the measurement noise vector at the k-s+1th moment, v(k) is the measurement noise vector at the kth moment, u(k-s+1) is the control input vector at the k-s+1th moment, u(k) is the control input vector at the kth moment, D is the parameter matrix of the system state equation, CB is the process parameter matrix of the optimal equivalent space model, CA s-2 B is the process parameter matrix of the optimal equivalent space model, C is the parameter matrix of the system state equation, CA is the process parameter matrix of the optimal equivalent space model, s-1 is the process parameter matrix of the optimal equivalent space model, CB d is the process parameter matrix of the optimal equivalent space model, CA s-2 B d is the process parameter matrix of the optimal equivalent space model, D d is the parameter matrix of the system state equation.
5. The method for autonomous fault diagnosis of lightweight spacecraft according to claim 1, characterized in that: The dynamic characteristic equation is obtained by the following formula: N s M c y s (k)-N s M c H cu u s (k)=N s M c H cd d s (k)+N s M c H cf f s (k); Among them, N s M c H cx The orthogonal basis of the left null space, that is, N s M c H cx =0;M c is the information optimization matrix, y s (k) is the system output vector of the optimal equivalent space model, H cu is the first system parameter matrix of the optimal equivalent space model, u s (k) is the system input vector of the optimal equivalent space model, H cd is the third system parameter matrix of the optimal equivalent space model, d s (k) is the noise vector of the optimal equivalent space model, H cf is the fourth system parameter matrix of the optimal equivalent space model, f s (k) is the fault vector of the optimal equivalent space model, and k is the time.
6. The method for autonomous fault diagnosis of lightweight spacecraft according to claim 1, characterized in that: The residual error of lightweight fault diagnosis of spacecraft is obtained by the following formula: Among them, r * (k) is the residual error of lightweight fault diagnosis of spacecraft, Ps is the parameter matrix of lightweight fault diagnosis residual error, N s M c H cx Orthogonal basis of the left null space, M c is the information optimization matrix, H cx is the second system parameter matrix of the optimal equivalent space model, M c * is the optimal information optimization matrix, ys(k) is the system output vector of the optimal equivalent space model, k is the time, H cu is the first system parameter matrix of the optimal equivalent space model, u s (k) is the system input vector of the preferred equivalent space model.
7. The method for autonomous fault diagnosis of spacecraft lightweighting according to claim 1, characterized in that: The parameter matrix P of lightweight fault diagnosis residual s It is obtained by the following formula: P s =S -1 U T ; S=diag(σ1,……,σ γ ); H cd =UΣV T ; UU T =I, VV T =I, Σ=[S 0]; Among them, P s is the parameter matrix of lightweight fault diagnosis residual, S, U and V are all parameter matrices obtained by singular value decomposition, I is the unit matrix with appropriate dimension, diag(σ1, ..., σ γ ) is a matrix with σ1…σ γ is a diagonal matrix with diagonal elements, σ1, σ γ are the 1st and γth singular values respectively, and γ is the number of singular values.
8. The method for autonomous fault diagnosis of lightweight spacecraft according to claim 1, characterized in that: Lightweight fault diagnosis evaluation function J * (k) is obtained by the following formula: Among them, J * (k) is the lightweight fault diagnosis evaluation function; Ps is the parameter matrix of lightweight fault diagnosis residual, N s M c H cx Orthogonal basis of the left null space, M c is the information optimization matrix, H cx is the second system parameter matrix of the optimal equivalent space model, is the optimal information optimization matrix, y s (k) is the system output vector of the optimal equivalent space model, k is the time, H cu is the first system parameter matrix of the optimal equivalent space model, u s (k) is the system input vector of the preferred equivalent space model.
9. The method for autonomous fault diagnosis of lightweight spacecraft according to claim 1, characterized in that: The diagnostic threshold H is obtained by the following formula: Among them, H is the diagnostic threshold, J * (k) is the lightweight fault diagnosis evaluation function, and n is the length of time the system is fault-free; According to the diagnosis threshold H, whether the spacecraft is faulty can be determined by the following formula:
