Power supply system key equipment fault diagnosis method based on digital twinning
By constructing a fault behavior twin model and a fault state perception twin model, combined with physical information neural networks and differential algebraic equations, the model representation capabilities and data-driven method sample problems of aviation power supply system fault diagnosis methods in the existing technology are solved, and a more complete model is achieved. Efficient fault identification and diagnosis effects.
Patent Information
- Application Number
- CN202410524741.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-22
- Filing Date
- 2024-04-29
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-04-29
AI Technical Summary
Existing aviation power supply system fault diagnosis methods are difficult to consider the coupling between components and environmental interactions during the modeling process, resulting in limited fault representation capabilities of the model in actual situations. In addition, the data-driven method has problems due to unbalanced samples and small sample size. This results in poor fault diagnosis results.
A method based on digital twins is used to construct a fault behavior twin model and a fault state perception twin model. The physical information neural network is combined with Hilbert-Huang transform and differential algebraic equations to extract fault data characteristics and construct PINN to realize the key equipment of the power supply system. fault diagnosis.
It improves the effect and interpretability of fault diagnosis, can more accurately identify and locate faults, reduces training errors, and achieves dynamic update and adaptability of the model.
Smart Images

Figure CN118535914A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fault diagnosis, and in particular to a fault diagnosis method for key equipment of a power supply system based on digital twins. Background Art
[0002] The aviation power supply system is an important part of the aircraft functional system. It is responsible for generating, converting, transmitting and distributing electrical energy. It is a system that provides power to all aircraft electrical equipment to meet regulatory requirements. With the rapid development of multi-electric and all-electric aircraft, aircraft power systems have become more complex due to electrification, which has put forward higher requirements on aircraft power systems in terms of safety, maintainability, reliability and testability.
[0003] In order to improve the safety of equipment and the success rate of tasks, while reducing safety costs, fault prediction and health management are regarded as one of the key technologies of the new generation of equipment. It can combine the system's historical status information, fault information, working condition information and other multi-source information, as well as historical parameter data, under a certain working environment, and use intelligent algorithms to identify whether the system's working state is normal or has deteriorated, and then isolate and locate the fault according to the data characteristics. Fault diagnosis is one of the important links in fault prediction and health management technology. The existing fault diagnosis methods of power systems mainly include model-based and data-driven methods. The model-based method uses the system composition principle and fault mode analysis to build a mathematical model of the object in order to perform fault diagnosis of the power supply system. However, it is often difficult to consider the coupling between components in the system and the interaction with the environment during the modeling process, resulting in the limited ability of the model to represent faults in actual situations, and the model is very complex. Data-driven fault diagnosis requires a large amount of historical data to support model construction and training. However, the power supply system fault data has problems such as sample imbalance and small sample size, which makes the existing data-driven algorithm not very interpretable for fault diagnosis and the fault diagnosis effect is poor. Summary of the invention
[0004] The present invention aims to improve the fault diagnosis effect of key equipment in the power system and provides a fault diagnosis method for key equipment in the power supply system based on digital twin.
[0005] To achieve this object, the present invention adopts the following technical solutions:
[0006] A method for fault diagnosis of key equipment in a power supply system based on digital twin is provided, and the steps include:
[0007] S1, constructing a fault behavior twin model for key equipment in the power supply system to generate a fault data set for each of the key equipment;
[0008] S2, constructing and updating a fault state perception twin model that characterizes fault laws according to the fault data set and based on a physical information neural network;
[0009] S3, using the updated fault state perception twin model to perform fault diagnosis on the sample to be tested.
[0010] Preferably, constructing the fault behavior twin model in step S1 specifically includes the following steps:
[0011] S11, analyzing the failure mode of each of the key equipment, and clarifying the failure behavior twin modeling location in the key equipment model;
[0012] S12, simulating the fault behavior of the corresponding fault mode at the fault behavior twin modeling part, and collecting the three-phase output voltage and current of the key equipment in a normal state and a fault state;
[0013] S13, comparing the three-phase output voltage and current of the key equipment in a normal state and in a fault state, and after verifying that the fault behavior twin modeling location identified is correct, obtaining the fault behavior twin model of the key equipment.
[0014] Preferably, each failure mode of the key equipment has a corresponding failure data set, each failure data set includes several groups of samples, and a Gaussian noise signal with a specified signal-to-noise ratio is added to each group of samples.
[0015] Preferably, the specified signal-to-noise ratio is 15;
[0016] The method for generating the fault data set corresponding to the key equipment under the fault mode is: simulating the fault behavior of the fault mode at the fault behavior twin modeling part in the model of the key equipment, and then collecting data samples at the fault behavior twin modeling part according to the preset sampling time and sampling rate, and intercepting several data points within the preset sampling time period as samples.
[0017] Preferably, in step S11, the fault mode and the corresponding fault behavior twin modeling location obtained by analysis are shown in Table 1 below:
[0018] Table 1
[0019]
[0020] Preferably, the key equipment in the power supply system includes the power supply system of the aircraft, and the power supply system includes a main power supply and / or a secondary power supply, the main power supply includes any one or more of a main generator, an exciter and a rotating rectifier; the secondary power supply includes any one or more of a static converter, a DC booster, and a transformer rectifier; any one or more components of the main power supply and / or the secondary power supply serve as fault behavior twin objects.
[0021] Preferably, the main power supply includes a single-channel power supply system and / or a multi-channel power supply system, and at least two generators are connected in parallel to form the multi-channel power supply system.
[0022] Preferably, the multi-channel power supply system is a four-channel power supply system, and each channel power supply subsystem in the four-channel power supply system includes the generator, a transformer-rectifier electrically connected to the generator, and a load, the transformer-rectifier includes a 270V transformer-rectifier and a 28V transformer-rectifier, the load includes an AC load and a DC load, the AC load is a three-phase resistor, the DC load includes a high-voltage DC load and a low-voltage DC load, the high-voltage DC load is a hydraulic pump, and the low-voltage DC load is a resistor, the transformer-rectifier is connected to the electrical output end of the generator, and is used to convert the AC power output by the generator into DC power and output it to the DC load, and the AC load is connected to the electrical output end of the generator.
[0023] Preferably, the main power supply is a constant speed and constant frequency power supply system, and the generator is a three-phase AC generator.
[0024] Preferably, in step S2, the method for constructing and updating the fault state perception twin model comprises the steps of:
[0025] S21, extracting fault data features based on Hilbert-Huang transform and effective value;
[0026] S22, expressing the physical information of the key equipment in the power supply system as DAE-PINN built-in parameters based on differential algebraic equations;
[0027] S23, build and update the fault state perception twin model based on DAE-PINN.
[0028] Preferably, in step S21, the fault data features extracted include the instantaneous frequency ω(t) and instantaneous phase of the original signal x(t). Instantaneous amplitude a(t) and effective value X rms Any one or more of the above, decompose x(t) by Hilbert-Huang transform to obtain ω(t), a(t),
[0029] The effective value Xrms The calculation method of is expressed by the following formula (1):
[0030]
[0031] In formula (1), X i represents the current value at the i-th sampling point;
[0032] N represents the number of sampling points;
[0033] i represents sampling point i.
[0034] Preferably, the input of the rotating rectifier is connected to the output of the main exciter, the input of the main motor is connected to the output of the rotating rectifier, and the output of the main motor is respectively connected to each of the key devices under the topological relationship of the AC load, the 270V transformer rectifier and the 28V transformer rectifier, and step S22 specifically includes the steps of:
[0035] S221, constructing the differential algebraic equation for expressing the physical information of each of the key devices in the power supply system under the topological relationship;
[0036] S222, obtaining device parameters of each of the key devices in the topological relationship;
[0037] S223, substituting each of the device parameters into the differential algebraic equation constructed in step S221, and setting the physical information as a DAE-PINN built-in parameter.
[0038] Preferably, the differential algebraic equation constructed in step S221 is expressed as the following formulas (2)-(9):
[0039]
[0040] -(1 / V A )(g)=0 Formula (3)
[0041] f1=B 12 V1V2 sin(δ1-δ2)-P1 formula (4)
[0042] f2=B 21 V2V1 sin(δ2-δ1)+B 23 V2V3 sin(δ2-δ3)-P2 formula (5)
[0043]
[0044]
[0045]
[0046]
[0047] In formulas (2)-(9), m k is the inertia constant, d k is the damping coefficient, is the angular frequency, is the angular velocity, f k represents the zero-order differential term in (2), V A represents the voltage of the AC load, g represents the zero-order differential term in the algebraic equation, k=1,2,3,H,L,A, respectively representing the main exciter, the rotating rectifier, the main motor, the 270V transformer rectifier, the 28V transformer rectifier and the AC load, B 21 represents the magnetization matrix between the rotating rectifier and the main exciter, B 23 represents the magnetization matrix between the rotating rectifier and the main motor, B 31 represents the magnetization matrix between the main motor and the main exciter, B 3A represents the magnetization matrix between the main motor and the AC load, B 3H represents the magnetization matrix between the main motor and the 270V transformer rectifier, B 2L represents the magnetization matrix between the rotating rectifier and the 28V transformer rectifier, B H3 represents the magnetization matrix between the 270V transformer rectifier and the main motor, B HA represents the magnetization matrix between the 270V transformer rectifier and the AC load, B HL represents the magnetization matrix between the 270V transformer rectifier and the 28V transformer rectifier, B L3 represents the magnetization matrix between the 28V transformer rectifier and the main motor, B LA represents the magnetization matrix between the 28V transformer rectifier and the AC load, B LH represents the magnetization matrix between the 28V transformer rectifier and the 270V transformer rectifier, B A3 represents the magnetization matrix between the AC load and the main motor, B AH represents the magnetization matrix between the AC load and the 270V transformer rectifier, B AL represents the magnetization matrix between the AC load and the 28V transformer rectifier; wherein the dynamic unknown quantity characterizing the system state is y=(δ1,δ2,δ3,δ H ,δ L ,δ A ) T , the algebraic unknown is z=V A ;
[0048] In step S222, the equipment parameters include the voltage V1 of the main exciter, the voltage V2 of the rotating rectifier, the voltage V3 of the main motor, the voltage V A , the voltage V of the 270V transformer rectifier H , the voltage V of the 28V transformer rectifier L ;
[0049] In step S223, the DAE-PINN built-in parameters include m1, m2, m3, m H ,m L ,d1,d2,d3,d H ,d L , and voltages V1, V2, V3, V H ,V L ,V A , power P1, P2, P3, P H ,P L ,P A ,Q A .
[0050] Preferably, step S23 specifically includes the steps of:
[0051] S231, solving the differential algebraic equation using an implicit Runge-Kutta method;
[0052] S232, building a neural network based on physical information;
[0053] S233, using a neural network based on physical information to train a fault state perception twin model of the key equipment.
[0054] Preferably, the method for solving the differential algebraic equation in step S231 is:
[0055] When the step length is h = t n+1 -t n >0, the integral from (t n ,y n ,z n ) to (t n+1 ,y n+1 ,z n+1 ), the v-order implicit Runge-Kutta method is applied to the differential algebraic equations expressed in formulas (5)-(9) to obtain
[0056]
[0057] 0=g(ξ i ,ζ i ), j = 1, 2, ..., v Formula (11)
[0058]
[0059] 0 = g(y n+1 ,z n+1 ) Formula (13)
[0060] where ξ j =y(t n +c j h),ζ j = z(t n +c j h), {a j,i ,b j ,c i} are the unknown parameters of the implicit Runge–Kutta method, and the parameters are specified
[0061] ξ j Indicates the y value corresponding to the jth discrete point at a certain time step;
[0062] c j represents the node coefficient;
[0063] y(t n +c j h) represents the value of the dynamic variable at the jth discrete point at the nth time step;
[0064] z(t n +c j h) represents the value of the algebraic variable at the jth discrete point at the nth time step;
[0065] a j,i represents the coefficient;
[0066] b j represents the coefficient;
[0067] y n Represents the value of the dynamic variable in the differential algebraic equation at the nth time step;
[0068] z n Represents the value of the algebraic variable in the differential algebraic equation at the nth time step;
[0069] t n represents the nth time step;
[0070] n represents the time step number;
[0071] v represents the order of the implicit Runge-Kutta method;
[0072] ζ i Indicates the z value corresponding to the jth discrete point at a certain time step;
[0073] f(ξ i ,ζi ) represents the value of the zero-order term of the dynamic equation corresponding to the j-th discrete point at a certain time step;
[0074] g(ξ i ,ζ i ) represents the value of the non-zero term of the algebraic equation corresponding to the jth discrete point at a certain time step;
[0075] g(y n+1 ,z n+1 ) represents the value of the non-zero term of the algebraic equation at the n+1th time step.
[0076] Preferably, in step S232, the method for constructing a neural network based on physical information is:
[0077] Define a neural network with physical information:
[0078]
[0079] In formula (14), f(t,x) is an algebraic term containing physical information;
[0080] N[u;λ] is a nonlinear operator connecting the state variable u and the system parameter λ;
[0081] t represents time;
[0082] x represents the system input;
[0083] The shared parameters of the neural network are optimized by minimizing the loss function. The loss function MSE is expressed as follows:
[0084]
[0085] In formula (15), MSE u is the mean square error loss corresponding to the initial data, N u is the total number of training data, i represents the i-th training data, represents the time of the i-th training data, represents the input of the i-th training data, Represents the dynamics value corresponding to the i-th training data;
[0086] MSE f is the mean square error on a finite set of collocation points, N f is the total number of configuration points, represents the time of the i-th configuration point, represents the input of the i-th configuration point, It represents the algebraic value corresponding to the i-th configuration point. The finite configuration point set is the point set of the algebraic term of physical information in discrete processing.
[0087] Preferably, in step S233, the method for training the fault state perception twin model of key equipment specifically includes the steps of:
[0088] The implicit Runge-Kutta method is integrated into the loss function MSE expressed by formula (15), and the loss function is converted to:
[0089]
[0090] The Adam optimizer is used to minimize the loss function to train the neural network parameters. The training method is expressed as follows:
[0091]
[0092] In formulas (16)-(17), Represents the total loss function, w f represents the weight corresponding to the dynamics loss function, represents the loss function of the dynamics equation, w g represents the weight corresponding to the algebraic equation loss function, represents the algebraic equation loss function;
[0093] N τ represents the size of the training data set, v represents the order of the implicit Runge-Kutta method, k represents the kth training data, j represents the jth implicit Runge-Kutta method step, y n,k represents the value of the dynamic variable in the differential algebraic equation at the nth time step and the kth training data, represents the dynamic variables in the differential-algebraic equation at the nth time step and the kth training data at the jth implicit Runge-Kutta method step;
[0094] represents the algebraic equation loss function, Indicates the y value corresponding to the jth discrete point and the kth training data at a certain time step, Indicates the z value corresponding to the jth discrete point and the kth training data at a certain time step, It represents the value of the non-zero term of the algebraic equation corresponding to the j-th discrete point and the k-th training data at a certain time step. represents the value of the dynamic variable in the differential algebraic equation at the n+1th time step and the kth training data, represents the value of the algebraic variable in the differential algebraic equation at the n+1th time step and the kth training data. Represents the value of the non-zero term of the epoch equation at the n+1th time step and the kth training data;
[0095] represents the dynamic variables in the differential algebraic equation at the nth time step and the kth training data at the jth implicit Runge-Kutta method step, represents the conditions that the dynamic variables in the differential algebraic equation should satisfy when the kth training data is in the jth implicit Runge-Kutta method step at the nth time step, h represents the step size, i represents the ith implicit Runge-Kutta method step, a j,i represents a constant coefficient, Indicates the value of the zero-order term of the differential equation corresponding to the j-th discrete point and the k-th training data at a certain time step;
[0096] represents the dynamic variables in the differential algebraic equation at the nth time step and the kth training data at the v+1th implicit Runge-Kutta method step, represents the conditions that the dynamic variables in the differential algebraic equation should satisfy at the nth time step and the kth training data in the v+1th order implicit Runge-Kutta method step, represents the dynamic variable in the differential algebraic equation of the kth training data at the n+1th time step, b j represents a constant coefficient;
[0097] θ * Represents the optimal parameters obtained by the Adam optimizer.
[0098] As a preference, solve the following unconstrained optimization problem at the kth iteration
[0099]
[0100] in, and is the penalty coefficient for the kth iteration;
[0101] At the beginning of each iteration, the penalty coefficient is increased by a constant factor β>1, expressed as:
[0102]
[0103] represents the initial value of the penalty coefficient corresponding to the dynamic equation, represents the initial value of the penalty coefficient corresponding to the algebraic equation, (β) k represents the kth power of a constant factor;
[0104] The neural network fitting the differential algebraic equation uses a fully connected structure and a forward propagation structure. The structure of the neural network is expressed as follows:
[0105]
[0106] X is the input tensor of the neural network, d is the number of hidden layers, ⊙ is the Hadamard product or the corresponding element product, and φ is the point-by-point sine activation function;
[0107] U represents the activated tensor corresponding to the initial weight 1, H (1) Represents the input tensor of layer 1, Z (k) represents the tensor after the activation of the kth layer, H (k) represents the input tensor of the kth layer, H (k+1) represents the output tensor of the kth layer, W z,k represents the weight matrix corresponding to the kth layer after activation, b z,k Represents the bias corresponding to the kth layer after activation;
[0108] The width of each hidden layer is w, and the normal Glorot initialization algorithm is used. The training parameters of the network architecture are as follows:
[0109]
[0110] Preferably, a neural network with a stacked structure or a non-stacked structure is used to train the fault state perception twin model, wherein in the non-stacked structure, the dynamic state variable in the differential algebraic equation is and algebraic variables Assign the corresponding neural network separately;
[0111] In the stacked structure, a separate neural network is used to fit all dynamic states and state variables
[0112] Preferably, in the stacked structure, the width of the neural network is w=200 and the depth is d=6; in the non-stacked structure, the width of the neural network allocated to the dynamic state variables is w=200 and the depth is d=6, and the width of the neural network allocated to the algebraic variables is w=40 and the depth is d=4, and the sample size ratio of the training set, the test set and the validation set is 1:1:2.
[0113] Preferably, in step S3, the method for performing fault diagnosis comprises the steps of:
[0114] S31, constructing an intrinsic feature set S of the failure mode of the sample to be tested fault , i m ,i d ,i v ,i p The values of include 1, 2, 3, H, L, A, which represent the main exciter, rotating rectifier, main motor, 280V transformer rectifier, 28V transformer rectifier and AC load respectively. The magnetization matrix parameters between the key devices represented by 1, 2, 3, H, L, A are uniformly set to b. They represent inertia constant, damping coefficient, input voltage, mechanical power, and Q A Indicates the AC load virtual power;
[0115] S32, the fault state perception twin model is based on the intrinsic feature set S fault is input, and the classification output is the fault diagnosis result of the sample to be tested.
[0116] The present invention has the following beneficial effects:
[0117] First, based on expert knowledge and design solutions, key equipment modeling of the power supply system was carried out, fault mode analysis was performed, and a fault behavior twin model was established. The experimental results proved the effectiveness of the twin modeling method, and it was well adapted to the expected results. Then, by adding random noise, the actual operating conditions were simulated well, and the twin modeling of the fault behavior dimension was successfully realized. The present invention also uses the data set generated by the fault behavior twin model as a basis, and analyzes the transient stability of key equipment in the system to derive differential algebraic equations that can describe physical information. After combining it with the neural network loss function, the construction of PINN was completed relatively ideally, reaching 10 after 400 training times. -3 The training error of magnitude. BRIEF DESCRIPTION OF THE DRAWINGS
[0118] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0119] Figure 1 It is an overall technical architecture diagram of a fault diagnosis method for key equipment of a power supply system based on digital twins provided in an embodiment of the present invention;
[0120] Figure 2 It is a structural diagram of a power supply system formed using four three-phase AC generators;
[0121] Figure 3 It is a schematic diagram of the distribution of key equipment measurement points of the power supply system in an embodiment of the present invention;
[0122] Figure 4 is a schematic diagram of a main power supply model of a power supply system in an embodiment of the present invention;
[0123] Figure 5 is a schematic diagram of a single-phase output current and voltage signal of a main power supply model of a power supply system in an embodiment of the present invention;
[0124] Figure 6is a schematic diagram of a 270V transformer-rectifier model in a power supply system in an embodiment of the present invention;
[0125] Figure 7 It is a schematic diagram of the output current and voltage signals of the 270V transformer-rectifier model;
[0126] Figure 8 It is a schematic diagram of the 28V transformer-rectifier model;
[0127] Fig. 9 It is a schematic diagram of the output current and voltage signals of the 28V transformer-rectifier model;
[0128] Fig.10 It is a schematic diagram of the three-phase AC resistance model;
[0129] Fig.11 is a schematic diagram of the fuel pump model;
[0130] Fig.12 is a schematic diagram of the DC heater model;
[0131] Fig.13 It is a schematic diagram of the speed of the hydraulic pump model;
[0132] Fig.14 It is the armature current diagram of the fuel pump model;
[0133] Fig.15 It is the torque diagram of the fuel pump model;
[0134] Fig.16 It is a schematic diagram of twin modeling of the interphase short-circuit behavior of the main generator armature winding;
[0135] Fig.17 It is a schematic diagram of the three-phase current and voltage output signals of the main motor under normal conditions during the twin modeling process of the interphase short-circuit behavior of the armature winding of the main generator;
[0136] Fig.18 It is a schematic diagram of the three-phase current and voltage output signals of the main motor under phase-to-phase short circuit during the twin modeling process of the phase-to-phase short circuit behavior of the armature winding of the main generator;
[0137] Fig.19 It is a schematic diagram of twin modeling of single-phase open-circuit behavior of the main generator armature winding;
[0138] Fig. 20 It is a schematic diagram of the three-phase current and voltage output signals of the main motor under normal conditions during the twin modeling process of the single-phase open-circuit behavior of the armature winding of the main generator;
[0139] Fig.21It is a schematic diagram of the three-phase current and voltage output signals of the main motor under single-phase open circuit during the twin modeling process of the single-phase open circuit behavior of the armature winding of the main generator;
[0140] Fig. 22 It is a schematic diagram of twin modeling of the single-phase open-circuit behavior of the exciter armature winding;
[0141] Fig.23 It is a schematic diagram of the single-phase voltage output signal of the exciter under normal conditions during the twin modeling process of the single-phase open-circuit behavior of the exciter armature winding;
[0142] Fig.24 It is a schematic diagram of the single-phase voltage output signal of the exciter under single-phase open circuit during the twin modeling process of the single-phase open circuit behavior of the exciter armature winding;
[0143] Fig.25 It is a schematic diagram of twin modeling of the interphase short-circuit behavior of the exciter armature winding;
[0144] Fig.26 It is a schematic diagram of the output voltage and current signals of the C phase of the exciter under normal conditions during the twin modeling process of the interphase short-circuit behavior of the armature winding of the exciter;
[0145] Fig. 27 It is a schematic diagram of the output voltage and current signals of the C phase of the exciter under the state of the interphase short circuit of the armature winding in the process of twin modeling of the interphase short circuit behavior of the exciter armature winding;
[0146] Fig.28 It is a schematic diagram of the twin modeling of the short-circuit behavior of a single diode of a rotating rectifier;
[0147] Fig.29 It is a schematic diagram of the output voltage and current signals of the rotating rectifier under normal conditions during the twin modeling process of the short-circuit behavior of a single diode of the rotating rectifier;
[0148] Fig.30 It is a schematic diagram of the output voltage and current signals of the rotating rectifier under the short-circuit state of a single diode in the twin modeling process of the short-circuit behavior of a single diode of the rotating rectifier;
[0149] Fig.31 It is a schematic diagram of twin modeling of the impedance rise behavior of a 28V transformer rectifier;
[0150] Fig.32 It is a schematic diagram of the output voltage and current signals of a 28V transformer-rectifier under normal conditions during the twin modeling process of the transformer-rectifier impedance increase behavior;
[0151] Fig.33It is a schematic diagram of the output voltage and current signals of a 28V transformer-rectifier in the impedance increase state during the twin modeling process of the transformer-rectifier impedance increase behavior;
[0152] Fig.34 It is a schematic diagram of the twin modeling of the open-circuit behavior of the 270V transformer-rectifier filter inductor;
[0153] Fig.35 It is a schematic diagram of the output voltage and current signals of the 270V transformer rectifier under normal conditions during the twin modeling process of the open-circuit behavior of the 270V transformer rectifier filter inductor;
[0154] Fig.36 It is a schematic diagram of the output voltage and current signals of the 270V transformer rectifier when the filter inductor is open-circuited during the twin modeling process of the 270V transformer rectifier filter inductor open-circuit behavior;
[0155] Fig.37 is a flow chart of the fault data feature extraction method;
[0156] Fig.38 It is a schematic diagram of the output signal of the key equipment of the phase-to-phase short circuit of the armature winding of the main generator of one channel;
[0157] Fig.39 It is the feature extraction result of normal state and seven types of fault modes of three channels;
[0158] Fig.40 This is an example diagram of the topological relationship of key equipment;
[0159] Fig.41 is a schematic diagram of a multi-output fully connected layer neural network architecture used in this embodiment;
[0160] Fig.42 It is a comparison chart of the training and validation errors of the constructed DAE-PINN neural network;
[0161] Fig.43 This is a comparison chart of the effects of stacked and non-stacked neural networks on training errors;
[0162] Fig.44 It is a structural diagram of the effect of neural network depth on training error;
[0163] Fig.45 It is a structural diagram of the effect of neural network width on training error;
[0164] Fig.46 is a schematic diagram of the influence of the training method provided by an embodiment of the present invention on the training error;
[0165] Fig.47 It is a schematic diagram of the TPE tree structure;
[0166] Fig.48 It is a schematic diagram of the change of loss function when training the fault state perception twin model;
[0167] Fig.49 It is a schematic diagram of the fault diagnosis results for the test set. DETAILED DESCRIPTION
[0168] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.
[0169] Among them, the drawings are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on the present invention. In order to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of actual products. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.
[0170] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "inside", "outside", etc. appear to indicate the orientation or position relationship, it is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as a limitation on the present invention. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0171] In the description of the present invention, unless otherwise clearly specified and limited, if the term "connection" or the like appears to indicate the connection relationship between components, the term should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two components or the interaction relationship between two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0172] The embodiment of the present invention takes the aviation power supply system as the object of fault diagnosis. Aiming at the problem of fault data imbalance in traditional fault-targeting methods, combined with the structure and working mechanism of typical aviation power supply systems, a fault behavior twin model is established to generate a typical fault data set of key equipment in the power supply system, providing the necessary fault data foundation for state-aware twin modeling. Aiming at the problem of weak fault characterization ability of single data-driven or mechanism models, based on the physical information neural network, a deep fusion of model and data is realized, and a fault state-aware twin network architecture and parameter information foundation are constructed. Aiming at the problem of poor dynamic adaptive update ability of traditional fault mechanism models, based on the model and data fusion information contained in the physical information network, the complete fault data set generated by the fault behavior twin model is used to realize dynamic update of hyperparameters, and applied to fault diagnosis of key equipment in the power supply system, and improve fault state-aware twin modeling.
[0173] like Figure 1 As shown, the present invention respectively targets the fault behavior twin problem of the power supply system, the fault state perception modeling problem of deep fusion of models and data, and the twin network update and fault diagnosis application problem. Based on the typical aircraft power supply system, digital mapping is established by using technical means such as fault mechanism analysis and physical information neural network to realize dynamic parameter update of key equipment. This improves the fault characterization capability of the twin network and realizes multi-faceted fault diagnosis, including achieving multi-dimensional, multi-factor and integrated diagnosis goals.
[0174] In view of the shortcomings of data imbalance in traditional fault diagnosis, by analyzing and studying the fault mechanism and typical fault mode of the aircraft power supply system, a digital twin fault behavior model (referred to as the "fault behavior twin model") is established. On the one hand, it provides knowledge support for the composition structure and operation mechanism of the aircraft power supply system, and on the other hand, it also provides data support for the subsequent training and verification of the fault state perception twin network. Specifically, the power supply system model is constructed in combination with the power supply system design of a certain type of aircraft, and the typical fault mode of the aircraft is determined by combining expert knowledge and fault analysis. The fault behavior twin modeling under the typical fault mode is realized through the model, and the data is analyzed and verified to generate a sufficient and complete fault test data set, which provides the mechanism knowledge and data basis for the subsequent update of the fault state perception twin model and fault diagnosis.
[0175] In view of the incomplete state representation of existing digital twin models, a fault state perception digital twin model that represents fault laws is constructed based on physical information neural networks to achieve the integration of models and digital, improve the fault representation ability and interpretability of the model, and provide parameter information input and credibility guarantee for subsequent fault diagnosis. The simulation fidelity of the mechanism-based twin model is not high in complex system conditions, and it is difficult to achieve mirror consistency with the real system; while the data-driven twin model requires extensive training support and lacks the ability to represent potential mechanisms. Physics-informed neural networks (PINNs) encode basic physical laws into the loss function of the neural network. It is a type of neural network used to solve supervised learning tasks, while respecting the given physical laws described by general nonlinear partial differential equations. Therefore, the use of physical information neural networks can increase the dimensions and means of perception modeling, more completely represent the fault state, and establish a state perception twin network with strong interpretability.
[0176] Traditional fault diagnosis models are rigid and difficult to adapt to changes in the operating environment, which affects diagnostic efficiency and accuracy. Therefore, it is necessary to dynamically update model parameters based on the state-aware twin network and system operation data to achieve adaptive updates of digital twin models. In the present invention, a fault behavior twin model is used to generate complete samples, and these samples are used to train and select parameters for the fault state-aware twin network that fuses the model and data, thereby achieving dynamic updates of the fault state-aware twin model. And based on the updated fault state-aware twin model, fault diagnosis is performed on the sample to be tested.
[0177] The following is a detailed description of the method of constructing a fault behavior twin model, a fault state perception twin model, and using the fault state perception twin model to perform fault diagnosis on key equipment in the power supply system in the present invention in three parts:
[0178] 1. Failure Mechanism Analysis and Failure Behavior Twin Modeling of Key Equipment in Power Supply Systems
[0179] 1. Modeling of key equipment in a typical aircraft power supply system
[0180] The power supply system of an aircraft is generally divided into two main parts: an aircraft power supply system and a power distribution system. The embodiments of the present invention are mainly directed to the power supply system.
[0181] The aircraft power supply system consists of a main power supply, a secondary power supply, an emergency power supply and an auxiliary power supply. The main power supply is the main power supply of the aircraft electrical system. Its function is to convert the mechanical energy transmitted by the aircraft engine into electrical energy. At present, a constant speed and constant frequency power supply system is commonly used as the main power supply, with a frequency of 400Hz and an output voltage of 115 / 200V. At present, in the aircraft power supply system, the constant frequency and constant speed AC power generation system has become a widely used type of power supply system. The main power supply of the system is composed of a constant speed transmission device and an AC generator, an excitation regulation, a control protection device and other parts. The aircraft secondary power supply is to meet the power demand of multiple types of loads of the aircraft and convert the electric energy generated by the aircraft main power supply. Commonly used secondary power supplies include static converters, DC boosters, transformer rectifiers, etc. The transformer rectifier is a combination of a transformer and a rectifier. The purpose is to convert the high-voltage AC power generated by the main power supply into corresponding DC power for use by electrical equipment. The secondary power supply used in the present invention is mainly a transformer rectifier. Since the auxiliary power supply and the emergency power supply are not connected to the power supply system during normal operation, the modeling and analysis of the two are not considered in the present invention.
[0182] In order to meet the power demand and reliability requirements of the aircraft, the main power supply of modern large aircraft usually uses multiple generators in parallel to form a main power supply system, and the common ones are two-channel power supply systems, four-channel power supply systems, etc. In general, the AC generators in each channel are powered separately, and the power is integrated and distributed through the bus bar. When a channel fails, the aircraft can work normally. When all the main power supplies fail, the emergency power supply will be connected to the circuit to provide emergency power supply.
[0183] This embodiment uses the aviation AC main power supply model provided by a certain cooperative unit, combined with research data and experimental verification, to build a typical aircraft four-channel power supply system model based on the Simulink tool in MATLAB, and combines the real parameter data of the power supply system provided by the cooperative unit to modify and improve the model. Figure 2 As shown, four three-phase AC generators are used as an independent power supply system, and each AC line is not connected in parallel. The secondary power supply uses a transformer rectifier, including 270V and 28V transformer rectifiers, and each line is connected to a 270V and 28V transformer rectifier (high voltage and low voltage). At the same time, the DC power supplies of channels one and two are integrated through bus bars, and the DC power supplies of channels three and four are integrated. The DC power supplies are respectively connected to two hydraulic pump loads (high voltage loads, working in parallel) and two resistors (low voltage loads, working in parallel). There are also 4 AC loads in the system, represented by two three-phase resistors, which are connected to 4 generators respectively. Please refer to the structural diagram of the power supply system formed by four three-phase AC generators. Figure 2 .
[0184] In order to realize the fault characterization and parameter change analysis of different fault modes of the power supply system, it is necessary to Figure 2 The parameters of each component at each level in the system shown are collected and analyzed, respectively for Figure 2 The power supply system shown in the figure has 4 levels and 24 devices for status monitoring. Therefore, the distribution of the power supply system parameter collection points is shown in the attached figure. Figure 3 As shown ( Figure 2 Take channels 1 and 2 in the example as an example).
[0185] 1) Main power supply modeling
[0186] Four generators are used in the power supply system model for independent power supply. Figure 3 The main exciter, main exciter, main motor, rotating rectifier and rectifier bridge are shown in the figure. A three-stage brushless AC synchronous generator is mainly used to build a constant frequency and constant speed AC power supply system. Important equipment such as the main exciter, protection circuit and excitation controller are powered by the auxiliary exciter. The main function of the main exciter is to output AC power. The output three-phase AC power is converted into DC power by a rotating rectifier and provided to the main motor. The main motor converts DC power into three-phase AC power and outputs it to the subsequent circuit. The model of the main power supply of the power supply system is as follows: Figure 4 shown.
[0187] The single-phase output current and voltage signals of the main power supply model constructed in the present invention are as follows: Figure 5 As shown, the sampling frequency of the data points output by the model is 20,000, and 5,000 data points are intercepted for analysis. Figure 5 It can be seen that the number of voltage cycles within 500 data points (0.025s) is 10, so it can be inferred that the number of voltage cycles within 1s is 400, that is, the signal frequency is 400Hz, the voltage amplitude is about 161V, and the effective value of the sinusoidal signal voltage is That is, the effective value of the model's output voltage is 115V, proving that the model meets the power requirements of 400Hz, 115V in constant frequency and constant speed AC voltage. At the same time, the three-phase voltages output by the main motor maintain a certain phase difference, and the amplitude and frequency of the output voltage and current have certain stability and consistency, which can achieve the constant frequency and constant speed power supply requirements of the power supply system.
[0188] 2) Modeling of 270V transformer rectifier
[0189] The power supply system in the embodiment of the present invention is composed of four 270V transformer-rectifiers that rectify the AC power output by the generator into 270V DC power for use by high-voltage DC loads. The 270V transformer-rectifier is mainly composed of a transformer, two rectifiers, and a filter. The main function of the transformer is to convert the input 115V / 400Hz AC power into 270V AC power. The function of the rectifier is to eliminate certain high-frequency harmonics to improve the stability of power supply. The function of the filter is to filter out the high-frequency harmonic components in the rectified voltage, thereby generating a stable 270V DC power. The model constructed for the 270V transformer-rectifier is as follows: Figure 6 shown.
[0190] The output current and voltage signals of the 270V transformer rectifier model constructed in the embodiment of the present invention are as follows: Figure 7 As shown, the sampling frequency of the data points output by the model is 20,000, and 36,000 data points are intercepted for analysis. Figure 7 It can be seen that the output voltage of the model is maintained at about 270V. Therefore, the 270V transformer-rectifier model constructed in this embodiment can achieve the function of transforming and rectifying the 115V / 400Hz high-frequency AC power supply and distributing electric energy, and has a certain stability.
[0191] 3) 28V transformer rectifier modeling
[0192] The power supply system in the embodiment of the present invention is composed of four 28V transformer-rectifiers that rectify the AC power output by the generator into 28V DC power for use by low-voltage DC loads. The main structure of the 28V transformer-rectifier is a transformer, a rectifier part, and a filter. It converts the 115V / 400Hz AC power input from the main power supply into 28V DC power. The main function of the transformer is to step down the voltage, and combined with the rectification link, it can eliminate certain high-order harmonics. The rectification part is composed of two rectifiers in parallel, and mainly realizes the rectification of AC signals through diodes. The function of the filter is to filter out the high-frequency harmonic components in the rectified voltage output from the rectification part, and it can prevent electromagnetic interference. Generally, an LC filter is used. The larger the filter capacitor, the smaller the output impedance and the better the filtering effect. The model of the 28V transformer-rectifier is as follows: Figure 8 shown.
[0193] The output current and voltage signals of the 28V transformer rectifier model constructed in this embodiment are as follows: Fig. 9 As shown, the sampling frequency of the data points output by the model is 20,000, and 40,000 data points are intercepted for analysis. Fig. 9It can be seen that the output voltage of the model is maintained at about 28 V. Therefore, the 28V transformer rectifier model constructed in this embodiment can achieve the function of transforming and rectifying the 115V / 400Hz high-frequency AC power supply and distributing electric energy, and has a certain stability.
[0194] 4) Power supply system load modeling
[0195] In this embodiment, in order to simulate the load condition in the power supply system, a typical three-phase AC resistor, a DC heater and a fuel pump are used as loads to connect to the circuit to simulate the load condition in the power supply system. The three-phase AC resistor model, the fuel pump model and the DC heater model are respectively referred to in Figure 10-12 .
[0196] The load of the power supply system model constructed in this embodiment is mainly composed of a three-phase AC resistor, a fuel pump and a DC heater. The impedance of the three-phase AC resistor is set to 1 ohm, and the impedance of the DC heater is set to 1 ohm. The speed, armature current and torque signals of the fuel pump under normal working conditions are as follows: Fig.13 , Fig.14 , Fig.15 As shown, the fuel pump speed is maintained at around 240r / s and the torque is maintained at 0-3N, which is consistent with the actual operating conditions.
[0197] Based on the power supply system model analysis and structure analysis, the power supply system in this embodiment is divided into four levels: power supply system, subsystem, equipment, and components. The composition of each level is shown in Table 1 below:
[0198] Table 1
[0199]
[0200] 2. Twin modeling of fault behavior of key equipment in power supply system
[0201] 1) Failure mode analysis of key equipment in power supply system
[0202] The main source of power in the power supply system is the main power supply. The main power supply is responsible for converting the mechanical energy brought by the engine into the power required by the power supply system and rectifying the power, which affects the overall power supply and distribution quality of the power supply system. Therefore, it is a key device in the power supply system. The main motor, exciter and rotating rectifier in the main power supply are key components of the main power supply, which are responsible for the conversion and rectification of power. Therefore, the main motor, exciter and rotating rectifier are selected as the twin objects of the main power failure behavior of the power supply system.
[0203] This embodiment clarifies the common and important failure modes of the main power supply, such as phase-to-phase short circuit of the main generator armature winding, single-phase open circuit of the main generator armature winding, single-phase open circuit of the exciter armature winding, phase-to-phase open circuit of the exciter armature winding, open circuit of a single diode of the rotating rectifier, etc., and performs fault behavior twin modeling.
[0204] In the secondary power supply, the 28V transformer rectifier and the 270V transformer rectifier directly affect the input power quality of the load in the power supply system, and are therefore also important components for ensuring the power supply quality in the power supply system. In this embodiment, the 28V transformer rectifier and the 270V transformer rectifier are selected as twin objects for modeling.
[0205] The types of failure modes involved in this embodiment are shown in Table 2 below:
[0206] Table 2
[0207]
[0208] 2) Twin modeling of the short-circuit behavior of the main generator armature winding
[0209] Due to the complexity of aircraft missions and power supply system working conditions, the insulation medium between the turns of the main generator winding may age during long-term use, causing the insulation performance between the turns of the winding to degrade, resulting in turn-to-turn short circuits, destroying the balance between the three phases, causing output voltage deviations, and affecting the normal operation of the power supply system. When reflected in the parameters, it is manifested as a gradual decrease in turn-to-turn resistance.
[0210] The following combination Fig.16 The twin modeling method of this type of fault behavior is explained in detail:
[0211] Since the three-phase windings are symmetrical to each other, only the connection relationship between two turns needs to be changed. The parameter representation of the other two turn-to-turn short circuit situations is consistent with the first one. Fig.16 The fault behavior between phase B and phase C shown in the figure is simulated. The initial state turn-to-turn resistance value is set to 1e6 ohms, and the fault state resistance value is 0 ohms. The sampling time is set to 3s for each simulation, and the sampling rate is 20000. 1000 data points are selected for data analysis. The three-phase output voltage and current of the main motor in normal state and fault state are shown in Fig.17 , Fig.18 shown.
[0212] Depend on Fig.17 and Fig.18The comparison of the output voltage signals of the main motor under different states shows that, under normal conditions, the output voltage amplitude of the main motor remains at 161V, the current amplitude remains at 80A, and the frequency remains at 400Hz, meeting the normal power supply requirements. When the armature winding is short-circuited, the frequency of the output current and voltage of the main motor remains unchanged, and the output voltage and current of phase A also remain stable. However, in phases B and C, the voltage amplitude drops to 85V, the current amplitude drops to 46A, and the current and voltage are reduced to about 50% of the previous value, that is, it is considered that phases B and C are connected and working, and the current and voltage of the two are consistent. At the same time, the frequency of the three phases remains stable, proving that the fault behavior twin model is reasonable.
[0213] 3) Twin modeling of single-phase open-circuit behavior of main generator armature winding
[0214] Due to the complexity of aircraft missions and power supply system conditions, during long-term use, the armature winding of the main generator may become loose due to high vibration environments or burn out due to circuit shock waves, resulting in a single-phase open circuit, affecting the three-phase current output and the normal operation of the power supply system. This is reflected in the parameters as the resistance of the single-phase wire of the armature winding increases. Therefore, in the model, the single-phase open circuit of the armature winding of the main generator is simulated by changing the resistance of the main generator winding wire. In the main generator, this type of fault behavior twin modeling method is used, such as Fig.19 shown.
[0215] The following combination Fig.19 The twin modeling method of this type of fault behavior is explained in detail:
[0216] Since the three-phase windings are symmetrical, only one of the wire resistances needs to be changed. The parameters of the other two are consistent with the first method. In this embodiment, the fault behavior of single-phase open circuit is twinned for phase A. The wire resistance value in the initial state is set to 0 ohms, and the resistance value in the fault state is set to 1e6 ohms. The sampling time is set to 3s and the sampling rate is set to 20000 for each simulation. 500 data points are intercepted for data analysis. The three-phase output voltage and current of the main motor in normal state and fault state are as follows: Fig. 20 , Fig.21 shown.
[0217] Depend on Fig. 20 , Fig.21The comparison of the output voltage signals of the main motor under different states shows that in the normal state, the output voltage amplitude of the main motor is maintained at 161V, the current amplitude is maintained at 80A, and the frequency is maintained at 400Hz, which meets the normal power supply requirements. Under the fault of the armature winding phase A open circuit, the voltage and current output by the main motor have changed, the voltage of phase A and phase C increases, and the voltage of phase B decreases. Since phase A is open circuit, the output current of phase A is 0. In order to meet the power demand, the current of phase B and phase C has increased to a certain extent compared with the normal situation. Among them, the current of phase C increases more because the output voltage of phase C is higher. The frequency of the three-phase output voltage remains stable, proving that the fault behavior twin model is reasonable.
[0218] 4) Twin modeling of single-phase open-circuit behavior of exciter armature winding
[0219] During long-term flight, the armature winding of the main power exciter may become loose due to high vibration environment or burn out due to circuit shock wave, resulting in single-phase open circuit, affecting the three-phase current output and the normal operation of the power supply system. This is reflected in the parameters as the resistance of the single-phase wire of the armature winding increases. Therefore, in the model, the single-phase open circuit of the armature winding of the exciter is simulated by changing the resistance of the armature winding wire. In the exciter, this type of fault behavior twin modeling method is as follows Fig. 22 shown.
[0220] Since the three-phase windings are symmetrical, only one of the wire resistances needs to be changed. The parameters of the other two are consistent with the first one. In this embodiment, the fault behavior twinning of single-phase open circuit is performed on phase A. The wire resistance value in the initial state is set to 0 ohms, and the resistance value in the fault state is set to 1e6 ohms. The sampling time is set to 3s and the sampling rate is set to 20000 for each simulation. 500 data points are intercepted for data analysis. The output voltage of the exciter in the normal state and the fault state is as follows: Fig.23 , Fig.24 As shown, since the current is 0 when the single-phase is open, there is no need to compare.
[0221] Depend on Fig.23 and Fig.24 The comparison of the single-phase voltage output signal of the exciter under the normal state and the single-phase open circuit of the armature winding shows that under normal state, the single-phase voltage signal range is maintained in the range of 15V-50V, with certain fluctuation characteristics. Under the single-phase open circuit fault of the armature winding, the output voltage frequency has increased significantly compared with the normal state due to the open circuit of one phase. In terms of output voltage, the overall resistance of the exciter increases due to the single-phase open circuit, causing the output voltage of the armature winding of the exciter to increase accordingly, and the voltage range becomes the range of 0V-80V, which proves that the fault behavior twin model is reasonable.
[0222] 5) Twin modeling of interphase short-circuit behavior of exciter armature winding
[0223] The short circuit between phases of the armature winding of the exciter is reflected in the parameters, that is, the inter-turn resistance of the winding is gradually reduced instead of being completely open-circuited. Therefore, in the model, the degradation of the insulation performance between turns of the armature winding of the exciter is simulated by changing the inter-turn connection relationship of the armature winding of the exciter. In the exciter, the twin modeling method of this type of fault behavior is as follows Fig.25 shown.
[0224] Since the three-phase windings are symmetrical, only the connection relationship between two turns needs to be changed. The parameter representation of the other two inter-turn short-circuit situations is consistent with the first one. In this embodiment, phase B and phase C are twinned for inter-phase short-circuit fault behavior. The resistance value of the 28V variable coil in the initial state is set to 0 ohm, and the resistance value in the fault state is set to 1 ohm. The sampling time is set to 3s for each simulation, and the sampling rate is 20000. 10,000 data points are intercepted for data analysis. The output voltage and current of phase C of the exciter in normal state and fault state are as follows: Fig.26 , Fig. 27 shown.
[0225] Depend on Fig.26 and Fig. 27 From the comparative analysis of the output voltage and current signals of the C phase of the exciter in the normal state and the state of interphase short circuit of the armature winding, it can be obtained that in the normal state, the maximum output voltage of the C phase of the exciter is maintained at 50V and the signal stability is strong, and the maximum current is maintained at 18V. In the fault state, the maximum voltage increases to a certain extent, and the fluctuation of the voltage signal increases to a certain extent. In terms of the current signal, due to the increase in current caused by the phase-to-phase short circuit, the maximum value reaches 50V, which proves that the fault behavior twin model is reasonable.
[0226] 6) Twin modeling of short-circuit behavior of a single diode in a rotating rectifier
[0227] The short circuit of a single diode in a rotating rectifier is manifested as the failure of the filtering function of a single diode in terms of parameters, and as a short circuit in terms of circuits. Therefore, in the model, a single diode short circuit fault in an excitation rotating rectifier is simulated by connecting a wire in parallel next to the single diode. In a rotating rectifier, this type of fault behavior twin modeling method is as follows Fig.28 shown.
[0228] The initial state is set to connect the current diode to the circuit, and the fault state is set to short-circuit the diode. The sampling time is set to 3s for each simulation, and the sampling rate is 20000. 20000 data points are intercepted for data analysis. The output voltage and current of the rotating rectifier under normal and fault conditions are as follows: Fig.29 , Fig.30 shown.
[0229] Depend on Fig.29 and Fig.30 By comparing the output voltage and current signals of the rotating rectifier in the normal state and the fault state shown in the figure, it can be seen that in the normal state, the voltage is maintained in the range of 20V to 50V, and the current is maintained in the range of 15A to 20A. The short circuit of a single diode affects the rectification effect of the rotating rectifier, so that the voltage range is expanded to 0 to 100V and the current signal is expanded to the range of 5A to 25A, which proves that the twin modeling of fault behavior is reasonable.
[0230] 7) 28V transformer rectifier impedance rise behavior twin modeling
[0231] The function of the transformer rectifier is to convert AC power into DC power and transform the voltage for use by the onboard DC load. In the model, the resistance of the single-phase winding of the transformer is changed to simulate the fault mode of increased winding impedance and copper loss as the transformer is used. In the 28V transformer rectifier, the twin modeling method of this type of fault behavior is as follows Fig.31 shown.
[0232] Since the three-phase transformer windings are symmetrical, only one impedance relationship needs to be changed. The parameters of the other two impedance increases are consistent with the first one. The initial state impedance is set to 0 ohms, the fault state impedance is set to 1 ohm, and the sampling time is set to 3s and the sampling rate is set to 20000 for each simulation. The output voltage and current of the 28V transformer rectifier in normal state and fault state are as follows Fig.32 , Fig.33 shown.
[0233] Depend on Fig.32 and Fig.33 The comparison of the 28V transformer rectifier output voltage and current signals in the normal state and the fault state shows that the voltage regulation capability of the transformer is reduced due to the increase of the transformer impedance of the 28V transformer rectifier. In the normal state, the voltage is kept in the range of 27.6 to 28V, while in the fault state, the voltage drops to 27.5 to 27.9V, which is a significant decrease in voltage. At the same time, due to the increase of the transformer impedance, the output current of the 28V transformer rectifier is greatly reduced. The comparative analysis verifies that the fault behavior twin model is reasonable.
[0234] 8) Twin modeling of the open-circuit behavior of the 270V transformer rectifier filter inductor
[0235] The function of the 270V transformer-rectifier is to convert AC power into 270V DC power and transform the voltage for use by the onboard DC load. In the model, the transformer inductance resistance value is changed to simulate the fault mode of the filter inductor open circuit as the transformer is used. In the 270V transformer-rectifier, the twin modeling method of this type of fault behavior is as follows Fig.34 shown.
[0236] The filter is set to be connected to the circuit in the initial state, and disconnected in the fault state. The sampling time is set to 3s and the sampling rate is set to 20000 for each simulation. The output voltage and current of the 270V transformer rectifier in normal state and fault state are as follows: Fig.35 , Fig.36 shown.
[0237] Depend on Fig.35 and Fig.36 The comparison of the 270V transformer output voltage and current signals in the normal state and the fault state shown in the figure shows that the filtering ability of the high-frequency signal of the transformer component is reduced due to the open circuit of the filter inductor of the 270V transformer rectifier. Therefore, when the voltage range remains normal, the output voltage signal fluctuation of the 270V transformer when the filter inductor is open is significantly higher than the normal state. At the same time, due to the open circuit of a certain filter, an open circuit occurs inside the 270V transformer rectifier, causing a certain current component to be unable to pass, and a part of the final output current is output as 0, causing the current range to change from the normal 3A~5V to 0~5A. The rationality of the fault behavior twin model is verified by comparative analysis.
[0238] Since the channels of the power supply system have certain similarities and symmetries, the fault behavior twin modeling of the four channels is carried out according to the method provided above, and the test data is sorted.
[0239] 3. Construction of fault data set with random noise
[0240] Based on the fault behavior twin model, Simulink is used to construct the fault data set. The main parameters are as follows:
[0241] 1) Fault type
[0242] The data set contains seven typical fault behavior twin modes, including main generator armature winding phase short circuit, main generator armature winding single-phase open circuit, exciter armature winding single-phase open circuit, exciter armature winding phase short circuit, rotating rectifier single diode short circuit, 28V transformer rectifier impedance increase, 270V transformer rectifier filter inductor open circuit, etc.
[0243] 2) Data length
[0244] In the experiment, the sampling time is set to 3s and the sampling rate is set to 20000 for each simulation. To ensure the stability of the data, a total of 20000 data points in the 2-3s time period are intercepted as samples.
[0245] 3) Sample generation
[0246] Since the power supply system is a typical circuit model, its signal is often relatively stable. However, due to the accuracy of the signal acquisition equipment, the electromagnetic environment, etc., there is often noise in the signal measurement, which affects the collection and analysis of the signal. Therefore, in order to better simulate the monitoring environment of the power supply system, random noise is added to the original signal to generate samples with the same characteristics as the real data. Based on expert experience, a Gaussian noise signal with a signal-to-noise ratio of 15 is added to the data. Each fault mode generates 20 groups of samples. Table 4 shows the composition of the fault data. For the seven types of fault modes, the fault behavior twin modeling of single fault points is performed on the four channels respectively. The details are shown in Table 4.
[0247] Table 4
[0248]
[0249] In order to simulate the monitoring parameter data under the real operating environment as much as possible, the present invention generates samples by adding noise to the data, so that the newly generated samples can simulate the data noise caused by electromagnetic interference, signal fluctuations and distortion of monitoring instruments in real operation, so that the generated fault sample data is more in line with the data conditions under real monitoring conditions. Although the data with added noise still retains certain fault feature information, it is easy to be submerged by the noise signal, thereby affecting the accuracy of the fault diagnosis model. In addition, the amount of information contained in the high-frequency signal is very large, and directly using it for fault diagnosis will greatly increase the complexity of the model. Therefore, it is necessary to extract and analyze the signal features of the fault sample data, so as to extract the fault feature information in the data and reduce the complexity of the model.
[0250] So far, the fault behavior twin modeling of key equipment in the power supply system has been completed through behavioral twins and data generation, providing a data basis for fault state perception twin network modeling.
[0251] 2. Fault state perception twin modeling of key equipment in power supply system based on physical information network
[0252] 1. Fault data feature extraction based on Hilbert-Huang transform and effective value
[0253] Most of the current generated in the power supply system is an AC signal with high frequency and high fluctuation characteristics. The time domain signal processing method often cannot be directly analyzed, which easily causes information loss. The signal needs to be preprocessed to extract the required fault state characteristic information from the complex signal. Common signal analysis methods include time domain analysis, frequency domain analysis, and time-frequency domain analysis. The time domain analysis method uses statistical methods to analyze and extract the stability and distribution characteristics of time series data through indicators such as mean, variance, root mean square, and kurtosis; the frequency domain analysis method converts the time domain signal into the frequency domain signal through Fourier transform and other methods, and analyzes the signal characteristics through the signal distribution of different frequencies; and the time-frequency domain analysis method can extract the characteristics of the time domain and frequency domain, analyze the frequency information that changes with time, etc., and is more comprehensive for signal analysis and feature extraction. The most common method is the Hilbert-Huang Transformation.
[0254] First, the original signal x(t) is decomposed into EMD (Empirical Mode Decomposition)
[0255]
[0256] Among them, c i (t) is the i-th fundamental mode component (Intrinsic Mode Functions, IMF), r n (t) is the residual value sequence, the basic modal component c i (i=0,1,2,...) represents signals in different frequency bands.
[0257] Assume that the IMF component is c(t), then its complex analysis signal h(t) is
[0258]
[0259] in, is the result of the Hilbert transform of c(t)
[0260]
[0261] a(t) is the amplitude function. At the same time, a(t) is also the envelope signal of the IMF component c(t), which can be expressed as
[0262]
[0263] in is the phase function
[0264]
[0265] Taking the derivative of it gives the instantaneous frequency
[0266]
[0267] Therefore, the original signal x(t) can be represented by a time-frequency function containing instantaneous amplitude and instantaneous frequency:
[0268]
[0269] The instantaneous amplitude of the IMF component is also its envelope signal. The envelope signal is similar to a periodic signal, which is helpful for fault identification, and has great advantages even for fault detection of weak signals. In this study, the envelope of the first analytical signal h(t), i.e., the principal component, is taken to obtain a(t), which is the envelope curve of the IMF component, and further decomposed.
[0270] At the same time, since there are both DC power supply signals and AC power supply signals in the power supply system, and since the frequency of the power supply system electrical signal is high, the instantaneous voltage changes greatly, and there are changes in the peak value, in order to analyze and measure the overall change trend of the AC signal, the alternating current is evaluated from the power effect generated by the AC power, that is, the effective value is used. The effective value calculation is shown in formula (3.8).
[0271]
[0272] X i represents the current value at the i-th sampling point;
[0273] N represents the number of sampling points;
[0274] i represents sampling point i.
[0275] The effective value can clearly capture the changing trend of the signal and the characteristics of the amount of information, and is also of great significance in the research of power supply system fault diagnosis.
[0276] From the above analysis, it can be seen that the HHT transform can decompose high-frequency signals and obtain the instantaneous frequency and instantaneous phase of the signal. The effective value feature, as a common parameter in circuit analysis, can reflect the trend of circuit energy changes over a period of time. Therefore, the feature extraction method in this article can obtain the characteristic information of the data in four aspects: frequency, phase, amplitude and trend, which can retain or even enhance the fault characteristics. Fig.37 Flowchart for fault data feature extraction.
[0277] The following is the main generator armature winding phase short circuit ( Figure 2 Taking the first channel fault shown in the figure as an example, the time domain signals of the three key devices in the main power supply, the high-voltage and low-voltage transformer rectifiers, and the AC load are as follows: Fig.38shown.
[0278] Based on HHT transformation, the instantaneous phase, instantaneous frequency, and instantaneous amplitude characteristics of the data can be captured. In order to reduce the computational complexity, the instantaneous phase and instantaneous frequency of the first component after HHT transformation are used as characteristic parameters. At the same time, the effective value of the signal can obviously reflect the change trend and information volume characteristics of the signal. Therefore, these three-dimensional features are selected as the feature extraction results of the signal. The results of all 7 types of fault modes and normal states are as follows Fig.39 (For three channels).
[0279] Depend on Fig.39 It can be seen that different fault modes have a certain degree of response in the trend of effective values, and are more reflected in numerical changes in instantaneous phase and instantaneous frequency. It can be seen that the Hilbert-Huang transform and effective value proposed in this paper can play a role in identifying and classifying the characteristics of different fault modes, effectively reducing the interference of noise, and extracting effective features from high-frequency signal data.
[0280] 2. Physical information expression based on differential algebraic equations
[0281] 1) Transient stability analysis and differential algebraic equations of power supply systems
[0282] The transient stability of the power system means whether the generator components can return to the previous synchronous and stable operation state after the transient process and maintain acceptable voltage and frequency levels when the power system suffers major disturbances (such as faults, machine disconnection, load shedding, reclosing, etc.).
[40] At present, there are two main methods used for transient stability analysis of power systems, namely the time domain simulation method (time simulation) also known as the step-by-step integration method (step by step), and the direct method (direct method), also known as the transient energy function method (transient energy function method).
[0283] The time domain simulation method first constructs the models of each component in the power system into an overall system model according to their topological relationship. The model consists of a set of differential equations and algebraic equations. Then, starting from the steady-state condition or power flow solution, the numerical solution under disturbance is gradually solved, that is, the curve of the system state quantity and algebraic quantity changing with time is obtained. The analysis of the generator rotor swing curve can be used to determine whether the system can maintain transient stability when subjected to major disturbances.
[0284] The above-mentioned system of simultaneous differential equations and algebraic equations, also called differential-algebraic equations (DAE), can be regarded as an extended form of the explicit ordinary differential equation y'=f(t,y), which is a constrained ordinary differential equation, such as
[0285] x'=f(t,x,z) (3.9a)
[0286] 0 = g(t,x,z) (3.9b) In this case, the ordinary differential equation (3.9a) describing the dynamic evolution of the differential variable depends on another algebraic variable, and its solution must also satisfy the constraints of the algebraic equation (3.9b). Compared with the classical ordinary differential equation form of the power system, it contains more topological structure information of each node and network, which helps this study to achieve a deep integration of model and data.
[0287] Solving DAE requires a complicated hybrid process of differentiation and integration, so it is expected that by analytically differentiating a given system (repeatedly if necessary) and eliminating variables, an explicit ordinary differential equation system involving all variables can be obtained for solution (the problem to be solved needs to be non-singular). The number of differentiations required for this transformation is called the index of the DAE. Trivially, the index of the ODE is 0. The DAE system equation of Hessenberg index-1 is exactly in the form of (3.9). When solving, we can solve (3.9b) for z=G(y,t) and then substitute it into (3.9a), which means that its Jacobian matrix Reversible and bounded in the neighborhood of the exact solution.
[0288] 2) Physical information expression of key equipment in power supply system
[0289] Ignoring transmission loss and bus voltage deviation, combining time domain simulation method and dynamics knowledge, for generator k,
[0290]
[0291] The parameter m k is the inertia constant, d k is the damping coefficient, B kj is the magnetization matrix between {k,j} nodes, P k is the generator mechanical power, V k 、V j is the voltage, δ k , δ j represents the transient voltage phase angle behind the reactance, is the angular frequency, also commonly denoted as ω k Generally, m is ignored for loads. k , and Pk <0.
[0292] In this embodiment, based on the aforementioned fault behavior twin modeling, a physical information expression based on differential algebraic equations is established for key equipment. Taking a certain channel as an example, the topological relationship of key equipment is abstracted as follows: Fig.40 When
[0293]
[0294] and algebraic equations
[0295] -(1 / V A )(g)=0 (3.11b)
[0296] In (3.11a), k is 1, 2, 3, H, and L, representing the main exciter, rotating rectifier, main motor, 270V transformer, and 28V transformer, respectively.
[0297] f1=B 12 V1V2 sin(δ1-δ2)-P1 (3.12a)
[0298] f2=B 21 V2V1 sin(δ2-δ1)+B 23 V2V3 sin(δ2-δ3)-P2 (3.12b)
[0299]
[0300]
[0301]
[0302]
[0303] Among them, m k is the inertia constant, d k is the damping coefficient, is the angular frequency, is the angular velocity, f k represents the zero-order differential term in (2), V A represents the voltage of the AC load, g represents the zero-order differential term in the algebraic equation, k=1,2,3,H,L,A, respectively representing the main exciter, rotating rectifier, main motor, 270V transformer rectifier, 28V transformer rectifier and AC load, B 21 represents the magnetization matrix between the rotating rectifier and the main exciter, B 23 represents the magnetization matrix between the rotating rectifier and the main motor, B 31 represents the magnetization matrix between the main motor and the main exciter, B 3Arepresents the magnetization matrix between the main motor and the AC load, B 3H represents the magnetization matrix between the main motor and the 270V transformer rectifier, B 2L represents the magnetization matrix between the rotating rectifier and the 28V transformer rectifier, B H3 It represents the magnetization matrix between the 270V transformer rectifier and the main motor, B HA It represents the magnetization matrix between the 270V transformer rectifier and the AC load, B HL Represents the magnetization matrix between the 270V transformer-rectifier and the 28V transformer-rectifier, B L3 Represents the magnetization matrix between the 28V transformer rectifier and the main motor, B LA It represents the magnetization matrix between the 28V transformer rectifier and the AC load, B LH Represents the magnetization matrix between the 28V transformer-rectifier and the 270V transformer-rectifier, B A3 represents the magnetization matrix between the AC load and the main motor, B AH represents the magnetization matrix between the AC load and the 270V transformer rectifier, B AL represents the magnetization matrix between the AC load and the 28V transformer rectifier; where the dynamic unknown quantity representing the system state is y = (δ1, δ2, δ3, δ H ,δ L ,δ A ) T , the algebraic unknown is z = V A .
[0304] Next, set m1, m2, m3, m according to the equipment parameters and model. H ,m L ,d1,d2,d3,d H ,d L , and voltages V1, V2, V3, V H ,V L ,V A (The voltage of the main exciter is V1, the voltage of the rotating rectifier is V2, the voltage of the main motor is V3, and the voltage of the AC load is V A , 270V transformer rectifier voltage V H , 28V transformer rectifier voltage V L ;), power P1, P2, P3, P H ,P L ,P A ,Q A , as DAE-PINN built-in parameters. These parameters will be adjusted later when applying different fault mode samples for training.
[0305] 3) Fault state perception twin modeling based on DAE-PINN
[0306] (1) Implicit Runge-Kutta method
[0307] After listing the DAE, a variety of numerical integration methods can be applied to solve it, such as the explicit Euler method, the improved Euler method, the explicit Runge-Kutta method, the implicit trapezoidal integration method, etc. When the generator adopts a non-classical model, the system differential equations cannot be numerically integrated using simple explicit methods (such as the explicit Runge-Kutta method). If the differential equations in the DAE system include not only electromechanical equations (swing equations), but also model the rotor flux (fast dynamic process), AVR, speed governor, and turbine, it is a rigid equation group, and a robust integration method is required to simulate its dynamic behavior. In view of the stability requirements for rigid problems in power systems, the present invention uses the implicit Runge-Kutta (IRK) method for numerical solution.
[0308] Specifically, when the step size is h = t n+1 -t n >0, the integral from (t n ,y n ,z n ) to (t n+1 ,y n+1 ,z n+1 ), applying the v-order implicit Runge-Kutta method to the DAE of (3.12) yields
[0309]
[0310] 0=g(ξ i ,ζ i ), j = 1, 2, ..., v (3.13b)
[0311]
[0312] 0 = g(y n+1 ,z n+1 ) (3.13d)
[0313] where ξ j =y(t n +c j h),ζ j = z(t n +c j h), {a j,i ,b j ,c i} are the unknown parameters of the implicit Runge–Kutta method, and the parameters are specified
[0314] ξj Indicates the y value corresponding to the jth discrete point at a certain time step;
[0315] c j represents the node coefficient;
[0316] y(t n +c j h) represents the value of the dynamic variable at the jth discrete point at the nth time step;
[0317] z(t n +c j h) represents the value of the algebraic variable at the jth discrete point at the nth time step;
[0318] a j,i represents the coefficient;
[0319] b j represents the coefficient;
[0320] y n Represents the value of the dynamic variable in the differential algebraic equation at the nth time step;
[0321] z n Represents the value of the algebraic variable in the differential algebraic equation at the nth time step;
[0322] t n represents the nth time step;
[0323] n represents the time step number;
[0324] v represents the order of the implicit Runge-Kutta method;
[0325] ζ i Indicates the z value corresponding to the jth discrete point at a certain time step;
[0326] f(ξ i ,ζ i ) represents the value of the zero-order term of the dynamic equation corresponding to the j-th discrete point at a certain time step;
[0327] g(ξ i ,ζ i ) represents the value of the non-zero term of the algebraic equation corresponding to the jth discrete point at a certain time step;
[0328] g(y n+1 ,z n+1 ) represents the value of the non-zero term of the algebraic equation at the n+1th time step.
[0329] (2) Neural Networks Based on Physical Information
[0330] The principle of training a neural network is to adjust the input weight matrix and the hidden layer bias to minimize the difference between the neural network prediction and the training data. Neural networks can be used as universal function approximators to learn nonlinear mappings between input and output of differential equations. However, if the underlying physical model is not considered during training, a large amount of training data and neurons are required. Physics-informed neural networks (PINNs) take into account the constraints of physical laws during training, so the requirements for the amount of training data and the size of the neural network are lower, which helps to learn a more generalized model.
[41] The general form of the function approximated by PINNs is:
[0331]
[0332] Where u(t,x) is the solution, N[u;λ] is the nonlinear operator connecting the state variable u and the system parameter λ, t represents time, x represents the system input, the domain Ω can be based on the prior knowledge of the dynamic system and is bounded, and [0,T] is the time interval of the system evolution. The model parameter λ can be a constant or unknown. When λ is unknown, the approximation problem of function (2.3) becomes a system identification problem, and it is necessary to find the parameter λ that satisfies the expression in (2.3). In order to strengthen the physical laws that describe the dynamic system, a neural network with physical information is defined:
[0333]
[0334] Optimize the shared parameters of two neural networks by minimizing the loss function
[0335]
[0336] In the formula, MSE u is the mean square error loss corresponding to the initial data, N u is the total number of training data, i represents the i-th training data, represents the time of the i-th training data, represents the input of the i-th training data, Represents the dynamics value corresponding to the i-th training data;
[0337] MSE f is the mean square error on a finite set of collocation points, N f is the total number of configuration points, represents the time of the i-th configuration point, represents the input of the i-th configuration point, It represents the algebraic value corresponding to the i-th configuration point. The finite configuration point set is the point set of the algebraic term of physical information in discrete processing.
[0338] Given a training data set and a known system parameter λ, we strive to find the neural network parameters that minimize the weights and biases. When the parameter λ is unknown, we consider the system parameters as additional variables.
[0339] (3) Twin modeling of fault status perception of key equipment in power supply system
[0340] In order to overcome the constraints of computing power, the present invention expects to establish a discrete DAE-PINN framework, and on the basis of expressing the physical laws of key equipment in the power supply system, construct a state-aware twin model driven by data and model fusion.
[0341] First, from the DAE hierarchical structure, we know that we need to use differential equations and algebraic equations as physical information to train the neural network separately. We can use stacked and unstacked solutions. The following will compare the two solutions in solving this problem. The input is y n When and
[0342] Next, the IRK method is integrated into the iterative calculation of the neural network loss function (dynamics and algebra are divided into two equations, and two loss functions are calculated, so the loss function consists of two parts; the Runge-Kutta method is a numerical analysis (solving differential equations) method that converts continuous differentials into many discrete iterative steps, so the original continuous function is combined with IRK (implicit Runge-Kutta method) to convert it into a discrete form). The form of the loss function is as follows:
[0343]
[0344] Finally, the neural network parameters are trained by minimizing the loss function using a gradient-based optimizer, for example, using the Adam optimizer:
[0345]
[0346] Represents the total loss function, w f represents the weight corresponding to the dynamics loss function, represents the loss function of the dynamics equation, w g represents the weight corresponding to the algebraic equation loss function, represents the algebraic equation loss function;
[0347] N τ represents the size of the training data set, v represents the order of the implicit Runge-Kutta method, k represents the kth training data, j represents the jth implicit Runge-Kutta method step, y n,krepresents the value of the dynamic variable in the differential algebraic equation at the nth time step and the kth training data, represents the dynamic variables in the differential-algebraic equation at the nth time step and the kth training data at the jth implicit Runge-Kutta method step;
[0348] represents the algebraic equation loss function, Indicates the y value corresponding to the jth discrete point and the kth training data at a certain time step, Indicates the z value corresponding to the jth discrete point and the kth training data at a certain time step, It represents the value of the non-zero term of the algebraic equation corresponding to the j-th discrete point and the k-th training data at a certain time step. represents the value of the dynamic variable in the differential algebraic equation at the n+1th time step and the kth training data, represents the value of the algebraic variable in the differential algebraic equation at the n+1th time step and the kth training data. Represents the value of the non-zero term of the epoch equation at the n+1th time step and the kth training data;
[0349] represents the dynamic variables in the differential algebraic equation at the nth time step and the kth training data at the jth implicit Runge-Kutta method step, represents the conditions that the dynamic variables in the differential algebraic equation should satisfy when the kth training data is in the jth implicit Runge-Kutta method step at the nth time step, h represents the step size, i represents the ith implicit Runge-Kutta method step, a j,i represents a constant coefficient, Indicates the value of the zero-order term of the differential equation corresponding to the j-th discrete point and the k-th training data at a certain time step;
[0350] represents the dynamic variables in the differential algebraic equation at the nth time step and the kth training data at the v+1th implicit Runge-Kutta method step, represents the conditions that the dynamic variables in the differential algebraic equation should satisfy at the nth time step and the kth training data in the v+1th order implicit Runge-Kutta method step, represents the dynamic variable in the differential algebraic equation of the kth training data at the n+1th time step, b j represents a constant coefficient;
[0351] θ * Represents the optimal parameters obtained by the Adam optimizer.
[0352] It should be noted that the IRK method is integrated into the neural network loss function to obtain The conversion process is as follows:
[0353] The loss function is solved separately based on the mean square error of the dynamic and algebraic equations, and the mean square error is calculated by summing the implicit Runge-Kutta according to the order and the number of training data; the last two equations (3.17), namely (3.13a) and (3.13c), are derived.
[0354] The present invention uses the weight coefficient ω f and ω g To balance the differential dynamics variables and algebraic variables The residual loss term. It is easy to find that ω f and ω g When ω is too large, the convergence of the neural network deteriorates; f and ω g If the value is too small, the optimization result may not satisfy the dynamic equation, or may satisfy the dynamic equation but not satisfy the manifold described by the algebraic equation. In order to prevent the optimization problem from becoming an ill-conditioning problem, the present invention adopts a penalty method to update the weight coefficient ω f and ω g The value of , adds an approximate hard constraint to this DAE problem. Specifically, at the kth iteration, the following unconstrained optimization problem is solved
[0355]
[0356] in, and is the penalty coefficient for the kth iteration. In addition, at the beginning of each iteration, the penalty coefficient is increased by a constant factor β>1, so
[0357]
[0358] represents the initial value of the penalty coefficient corresponding to the dynamic equation, represents the initial value of the penalty coefficient corresponding to the algebraic equation, (β) k represents the kth power of a constant factor;
[0359] Assuming the neural network is well trained, the solution to the sequence of unconstrained optimization problems will converge to a solution that approximately satisfies the DAEs as hard constraints.
[0360] By minimizing the loss function To train the model, we use the Adam optimizer with default hyperparameters and an initial learning rate of η = 10 -3 , when the loss function When the value of enters a plateau or starts to increase, the learning rate is reduced.
[0361] In the present invention, the neural networks for fitting the kinetic equations and the algebraic equations all use a fully connected structure and a forward propagation structure:
[0362]
[0363] Here, X is the input tensor of the neural network, d is the number of hidden layers (i.e., the depth of the network), ⊙ is the Hadamard product or the corresponding element-wise product, and φ is the point-by-point sine activation function. U represents the activated tensor corresponding to the initial weight 1, and H (1) Represents the input tensor of layer 1, Z (k) represents the tensor after the activation of the kth layer, H (k) represents the input tensor of the kth layer, H (k+1) represents the output tensor of the kth layer, W z,k represents the weight matrix corresponding to the kth layer after activation, b z,k Represents the bias corresponding to the kth layer after activation.
[0364] At the same time, assuming that the width of each hidden layer is w, using the normal Glorot initialization algorithm, the trainable parameters of the network architecture are as follows
[0365]
[0366] This new architecture outperforms the traditional fully connected architecture because it explicitly accounts for the multiplicative interactions between different inputs and enhances the hidden state representation with residual connections, as shown in the figure. Fig.41 As shown:
[0367] Therefore, a fault state-aware twin network model can be constructed based on the above network structure. On the basis of setting the model hyperparameters, the fault data generated by the fault behavior twin network can be used for training, verification and prediction. Obviously, when the model hyperparameters are selected and the data set of the same fault mode is used for training, the twin networks obtained are equivalent in sufficient training times. Predictions can be implemented based on neural networks and historical data, so the network model obtained based on historical data is a twin of the real model, that is, a state-aware twin network, which can run synchronously with the real equipment based on the data generated by the behavioral twin of a certain fault mode.
[0368] Furthermore, by using new fault data to train the model, the twin network can dynamically interact with the real entity and automatically update, which can easily ensure the consistency between the two and achieve the adaptive update capability requirements of the digital twin. Due to the model and data fusion characteristics of the physical information neural network, the twin network can more completely characterize the system state. It can be seen that the fault state perception twin model established by the present invention has better solved the problems existing in the existing methods. At the same time, the data set generated by the fault behavior twin model avoids the shortcomings such as imbalanced fault data. So far, the present invention has established the twin model architecture required for fault diagnosis of key equipment in the power supply system.
[0369] Set the network width to 200 and the depth to 6 layers. Use 100 samples to train the twin network model in the normal state and iterate 1500 times. The results are as follows Fig.42 As shown in Figure 2, the mean square error of training and validation has basically converged to 10 after 400 iterations. -3 The magnitude of the results is significant, proving the convergence of the network and the feasibility of the model.
[0370] 3. Fault state perception twin model update and key equipment fault diagnosis of power supply system
[0371] 1. Fault state perception twin network optimization
[0372] In this embodiment, the convergence of the network architecture, network size and training data set applied to the proposed state-aware twin network is also studied. The time step h = 0.1 and the number of iterations epochs = 1500 are uniformly selected to complete the model convergence experiment, and w is used to represent the width of the neural network (the number of channels per layer), and d is used to represent the depth of the hidden layer of the neural network.
[0373] The network architecture includes stacking structure and non-stacking structure. The non-stacking structure is a dynamic state variable. Assign a neural network to the algebraic variables Assign another neural network; in a stacked structure, a single neural network is used to fit all dynamic variables and state variables In order to determine which twin network structure has better effect, multiple experiments are carried out with fixed width, depth and training scheme. For the stacked structure, the network is trained with a moderate [w=200, d=5] and a normal data set; for the non-stacked structure, a neural network with [w=200, d=5] is used to train differential equations, and a neural network with [w=100, d=3] is used to train algebraic equations. Run 10 times and compare the training and validation mean square error (MSE) of the stacked and non-stacked structures. The results after running 10 times are as follows: Fig.43 As shown, it can be seen that the non-stacked structure shows better performance on this problem.
[0374] Furthermore, the influence of the two dimensions of depth and width on the performance of non-stacked twin networks is discussed. Many experiments have shown that the influence of the width and depth of the neural network on the training loss is not monotonic. When the width is too small, it is difficult to learn rich features and the model performance is limited. When the width is too large, the features are repeatedly extracted and the amount of calculation is too large. When the depth is too small, the nonlinear expression ability is weak, and when the depth is too large, problems such as gradient instability and network degradation occur. Therefore, several possible values are set for the width and depth, and multiple experiments are performed under appropriate training schemes. On the one hand, when the depth is fixed to d = 5, the width is changed, and w = 20, 40, 100, 200, 500, 1000 are taken to compare the results; on the other hand, w = 200 is fixed, and the network depth is changed to d = 1, 2, 4, 6, 8, 10, respectively, and the results are compared. After running 10 times, the optimal combination of w = 200 and d = 6 is found.
[0375] Finally, we study the training dataset size N τ The influence of ≡|τ| on the convergence of twin network training. Generally speaking, the training data can be appropriately expanded, but when the network level is insufficient, the feature training will be insufficient, the prediction results will deteriorate, and overfitting and other problems will occur. Several possible values are set for the training data set size for experimentation. At the same time, in order to eliminate the influence of the stacking structure, width, and depth of the neural network, the unstacked structure, [w=200,d=6] dynamic network and [w=40,d=4] algebraic network are selected, and N is changed. τ =50,100,500,1000,2000, after running 10 times, the results are as follows Fig.46 As shown, it can be seen that when the number of training times is 100, better training effect can be obtained with less training cost.
[0376] In summary, the non-stacked DAE-PINN with [w=200,d=6] is selected as the basic structure of the twin network; [N train =100, N test =100, N valid =200] training scheme was used for testing. So far, the optimization of the twin network structure has been completed. However, since several hyperparameters in the differential algebraic equations have not yet been determined, the network is not yet a perfect twin model of key equipment in the power supply system. It is necessary to train and update the unknown parameter values of DAE based on the fault data sets under different fault modes, characterize the failure modes of key equipment, establish a state-aware twin model and apply it to fault diagnosis.
[0377] 2. Fault state perception twin network update based on Bayesian optimization
[0378] TPE (Tree-structured Parzen Estimator) is a method for adjusting model hyperparameters based on the tree-structured Bayesian method. Let P(θ|y) be the probability that the hyperparameter is θ when the model error is y. It is defined by two density functions:
[0379]
[0380] where l(θ) is based on the observation space {θ (i)}Establish, θ (i) represents the hyperparameter θ of the i-th observation. In this observation space, the loss f(θ (i) ) is less than y*, y * represents the model error threshold; g(θ) is established based on the remaining observation space. Usually, the Gaussian process-based method directly fits P(y|θ) in the hope of obtaining a larger y*; while the TPE strategy combines the Bayesian optimization idea and indirectly obtains P(y|θ) by fitting P(θ|y) and P(y), looking for a larger y* based on the current observation f(θ). The process of fitting P(y|θ) is: The expected improvement function (EI) is the maximization objective of TPE. The expression of the expected improvement function is as follows:
[0381] According to the Bayesian formula, the expected improvement function is converted into the following form:
[0382]
[0383] The Parzen window (Parzen–Rosenblatt Window) used in this method uses a Gaussian function as the window function and estimates the probability density based on the prior distribution and the current observation value. At the same time, the method of finding the optimal solution of the objective function is limited to the tree structure, such as Fig.47 shown.
[0384] Using TPE, all hyperparameters are set based on a tree structure to ensure that they are independent of each other, so that some can be fixed and other hyperparameters can be optimized. Furthermore, Parzen window sampling is used from top to bottom from the root node of the tree to obtain a set of hyperparameters and calculate the joint probability, which is then substituted into the expected improvement function for optimization.
[0385] In order to realize the automatic selection of hyperparameters based on TPE, the Hyperopt optimization tool is used to adjust several hyperparameters of the fault state perception twin network, specifically, the m, d, V, P, Q, and B values of each device in the DAE equation. Hyperopt (Distributed Hyperparameter Optimization) is a Python library for serial and parallel optimization based on the Bayesian method in the search space. The search values can include real-valued continuous points, discrete points, etc. The algorithms used by Hyperopt include random search, simulated annealing, and TPE. This paper selects the TPE algorithm. The key to the application of the algorithm is to specify the objective function, search variables, and search space. After several parameter selection experiments, the loss and hyperparameter set of each experiment are recorded, and the appropriate hyperparameter value is given based on the minimum loss.
[0386] Therefore, based on the above method, the hyperparameters of the fault state-aware twin network under different fault modes are selected.
[0387] 3. Fault diagnosis of key equipment in power supply system based on convolutional neural network
[0388] 1) Construction of fault mode intrinsic feature set
[0389] From the above analysis, it can be concluded that the specific differences between multiple fault state perception twin networks are uniquely determined by the values of several variables in the DAE equation, and the parameters within the network are gradually iterated during the training process. Therefore, for different fault modes, the value set of this set of hyperparameters is different. Suppose the hyperparameter value space under a certain fault mode is
[0390]
[0391] where i m ,i d ,i V ,i P The values of include 1, 2, 3, H, and L, which represent the main exciter, rotating rectifier, main motor, 280V transformer rectifier, 28V transformer rectifier, and AC load, respectively. The magnetization matrix parameters between devices are uniformly set to b.
[0392] It can be seen that S fault Different, can be used as a basis for fault diagnosis. The present invention converts the hyperparameter feature space S fault It is called the intrinsic feature set of the fault mode. The key task below is to search for the intrinsic feature sets of 7 types of fault modes and normal operating conditions, and carry out fault diagnosis based on them.
[0393] First, estimate the intrinsic feature set S under normal conditions normalWhen modeling the key equipment of the power supply system, some parameter values have been set in MATLAB / Simulink, including the inertia constant m, damping coefficient d and mechanical power P of the main exciter and main motor, as well as the input voltage V of all key equipment. Therefore, based on setting these fixed values, the remaining hyperparameters are selected based on Hyperopt.TPE.
[0394] For different hyperparameters, set the search upper and lower bounds, train 1500 times respectively, and implement the above training tasks 200 times continuously based on Hyperopt as a hyperparameter iteration. The specific operations in each iteration are: sort the minimum training error values in the 200 training tasks, take the top 10% of the intrinsic feature value results, draw a box plot, and take the upper and lower quartile values as the new search upper and lower bounds for the next round of iteration. A total of 5 iterations were implemented. For large search spans, the step size is gradually reduced from 100 to 1; at the same time, the order of magnitude of the parameters is unified, and the units of physical quantities are set as shown in the following table to improve the convergence during training.
[0395] Table 5 Intrinsic characteristics and related physical quantity units
[0396]
[0397] Combining model information, expert knowledge and automatic parameter optimization results, the estimated value of the normal state intrinsic feature set after 5 search iterations is:
[0398] Table 6 Intrinsic characteristic values under normal conditions
[0399]
[0400]
[0401] Furthermore, 7 kinds of fault mode data were input, and the intrinsic feature sets were obtained according to the above test scheme. It should be noted that after 5 iterations to obtain relatively stable search upper and lower bounds, 10 more tests were performed without changing the range. For each fault mode and normal state, a set of intrinsic feature observations under the condition of minimum loss was generated, which was applied to the next step of fault diagnosis.
[0402] 2) Fault diagnosis based on convolutional neural network
[0403] Convolutional neural network is a deep learning technology that uses convolution structure for calculation. It is a multi-layer neural network for supervised learning, mainly composed of convolution layer, downsampling layer and fully connected layer. Each layer contains multiple feature maps, each of which extracts certain features of input data through convolution filters and multiple neurons. These three hierarchical structures constitute the key part of convolutional neural network and realize the function of extracting data features.
[0404] Convolutional layer: Usually a trainable filter is used to gradually convolve the input image (input vector) and add a bias to obtain the convolutional layer. This is because the convolution operation can enhance certain features of the original signal and reduce noise.
[0405] The downsampling layer, also known as the pooling layer, generates a reduced feature map by weighted merging of neighboring pixels, adding bias, and using an activation function to compress the linear features of the input layer. Downsampling can reduce the amount of data processing and retain important information. In addition, the sampling operation can confuse the location information of the feature, because it only requires relative position information and can be used to handle deformation and distortion of similar objects. The fully connected layer usually uses Softmax full connection, and the activation value obtained is the feature result extracted by the convolutional neural network.
[0406] Fully connected layer: Softmax full connection is often used, and the activation value obtained is the feature result extracted by the convolutional neural network.
[0407] The present invention uses a CNN model to perform fault diagnosis on key equipment in the power supply system. When solving the intrinsic feature set, the hyperparameters of non-faulty key equipment are fixed, and the power and input voltage feature values of the faulty key equipment are selected using the Hyperopt library to obtain feature results. After setting labels from 1 to 7 for the seven types of fault modes, CNN is used to perform supervised multi-classification diagnosis on the intrinsic feature set.
[0408] The parameters of the fault identification model are as follows:
[0409] The first layer (input layer): The layer type is input layer, and the input vector dimension is 10*1*1, which is equal to the dimension of a single sample;
[0410] The second layer (convolutional layer): The layer type is convolutional layer, the number of neurons in this layer is 128, the convolution kernel is 2*1, and the activation function is "tanh";
[0411] The third layer (pooling layer): the layer type is pooling layer, and the pooling size is 2*1;
[0412] The fourth layer (convolutional layer): The layer type is convolutional layer, the number of neurons in this layer is 64, the convolution kernel is 2*1, and the activation function is "tanh";
[0413] The fifth layer (pooling layer): the layer type is pooling layer, and the pooling size is 2*1;
[0414] The sixth layer (fully connected layer): the layer type is fully connected layer, the number of network nodes is 40, and the activation function is "relu"; the seventh layer (Dropout1): the layer type is Dropout layer, and the hidden layer nodes are ignored at a ratio of 0.1;
[0415] The seventh layer (fully connected layer): the layer type is fully connected layer, the number of network nodes is 20, and the activation function is "relu". The eighth layer (Dropout2): the layer type is Dropout layer, and the hidden layer nodes are ignored at a ratio of 0.1;
[0416] The ninth layer (fully connected layer): the layer type is a fully connected layer, and the number of network nodes is 40;
[0417] The tenth layer (output layer): The layer type is a fully connected layer, the number of network nodes is equal to the number of fault types, and the activation function of this layer is "softmax".
[0418] The training method is supervised training. The categorical cross entropy function is selected as the loss function, and Adam (Adaptive Momentum) is selected as the optimization algorithm. The first 70% of the data of each fault state is used as training samples, and the rest are test samples. The number of training rounds is set to 300 times and the batch size is 4.
[0419] The loss function calculation formula is as follows:
[0420]
[0421] Among them, c is the predicted category, and the symbol function Y i The value is 0 or 1. If the true category of the sample is the same as c, it takes 1, otherwise it takes 0. ic ) represents the probability that sample i is predicted to be c, and N represents the sample size. In this experiment, N = 20.
[0422] The loss function changes during training as follows Fig.48 The fault diagnosis results for the test set are shown in Fig.49 shown.
[0423] After calculation, the classification accuracy of the intrinsic feature set is 100%, and the fault diagnosis accuracy is 100%. The features in the intrinsic parameter set solved by the twin network hyperparameter selection process are clearly distinguished, making it easy to carry out fault diagnosis and obtain a high accuracy. Therefore, fault diagnosis using the intrinsic feature set has good accuracy, indicating that the hyperparameter selection method based on Bayesian optimization can effectively identify system features, and further illustrates that the fault state perception twin network based on DAE-PINN is a high-fidelity twin of the research object, which can be used as a carrier to perform system analysis and diagnosis tasks.
[0424] In summary, the present invention firstly carried out modeling of key equipment of the power supply system based on expert knowledge and design scheme, conducted fault mode analysis and established a fault behavior twin model. The experimental results proved the effectiveness of the twin modeling method and its good adaptability to the expected results. Then, by adding random noise, the real operation situation was simulated well, and the twin modeling of the fault behavior dimension was successfully realized.
[0425] Based on the data set generated by the fault behavior twin model, the present invention obtains the differential algebraic equation that can describe the physical information by analyzing the transient stability of the key equipment in the system. After combining it with the neural network loss function, the construction of PINN is completed in an ideal way, reaching 10 after 400 training times. -3 The training error of magnitude.
[0426] In addition, a reasonable twin network structure was selected based on the structural optimization test, and the intrinsic feature values under different fault modes were adaptively estimated based on the Bayesian method. The fault diagnosis results showed that the diagnostic accuracy of the diagnostic method for 7 types of faults reached 100%, proving the effectiveness of the feature recognition method.
[0427] It should be noted that the above specific implementations are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art should understand that various modifications, equivalent substitutions, changes, etc. can be made to the present invention. However, as long as these changes do not deviate from the spirit of the present invention, they should be within the scope of protection of the present invention. In addition, some terms used in the specification and claims of this application are not restrictive, but are only for the convenience of description.
Claims
1. A method for fault diagnosis of key equipment in a power supply system based on digital twins, characterized in that the steps include: S1, constructing a fault behavior twin model for key equipment in the power supply system to generate a fault data set for each of the key equipment; S2, constructing and updating a fault state perception twin model that characterizes fault laws according to the fault data set and based on a physical information neural network; S3, using the updated fault state perception twin model to perform fault diagnosis on the sample to be tested.
2. The method for fault diagnosis of key equipment in a power supply system based on digital twin according to claim 1 is characterized in that: Constructing the fault behavior twin model in step S1 specifically includes the following steps: S11, analyzing the failure mode of each of the key equipment, and clarifying the failure behavior twin modeling location in the key equipment model; S12, simulating the fault behavior of the corresponding fault mode at the fault behavior twin modeling part, and collecting the three-phase output voltage and current of the key equipment in a normal state and a fault state; S13, comparing the three-phase output voltage and current of the key equipment in a normal state and in a fault state, and after verifying that the fault behavior twin modeling location identified is correct, obtaining the fault behavior twin model of the key equipment; Each failure mode of the key equipment has a corresponding failure data set, each failure data set includes a plurality of groups of samples, and a Gaussian noise signal with a specified signal-to-noise ratio is added to each group of samples; The specified signal-to-noise ratio is 15; The method for generating the fault data set corresponding to the key equipment under the fault mode is as follows: simulating the fault behavior of the fault mode at the fault behavior twin modeling part in the model of the key equipment, and then collecting data samples at the fault behavior twin modeling part according to a preset sampling time and sampling rate, and intercepting a number of data points within a preset sampling time period as samples; In step S11, the analyzed fault modes and the corresponding fault behavior twin modeling locations are shown in Table 1 below: Table 1 The key equipment in the power supply system includes the power supply system of the aircraft, and the power supply system includes a main power supply and / or a secondary power supply, wherein the main power supply includes any one or more of a main generator, an exciter and a rotating rectifier; the secondary power supply includes any one or more of a static converter, a DC booster and a transformer rectifier; any one or more components in the main power supply and / or the secondary power supply serve as fault behavior twin objects; The main power supply includes a single-channel power supply system and / or a multi-channel power supply system, and at least two generators are connected in parallel to form the multi-channel power supply system; The multi-channel power supply system is a four-channel power supply system, and each channel power supply subsystem in the four-channel power supply system includes the generator, a transformer rectifier electrically connected to the generator, and a load, the transformer rectifier includes a 270V transformer rectifier and a 28V transformer rectifier, the load includes an AC load and a DC load, the AC load is a three-phase resistor, the DC load includes a high-voltage DC load and a low-voltage DC load, the high-voltage DC load is a hydraulic pump, and the low-voltage DC load is a resistor, the transformer rectifier is connected to the electrical output end of the generator, and is used to convert the AC power output by the generator into DC power and output it to the DC load, and the AC load is connected to the electrical output end of the generator; The main power supply is a constant speed constant frequency power supply system, and the generator is a three-phase AC generator.
3. The method for fault diagnosis of key equipment of a digital twin power supply system according to claim 1 is characterized in that: In step S2, the method for constructing and updating the fault state perception twin model includes the steps of: S21, extracting fault data features based on Hilbert-Huang transform and effective value; S22, expressing the physical information of the key equipment in the power supply system as DAE-PINN built-in parameters based on differential algebraic equations; S23, build and update the fault state perception twin model based on DAE-PINN; In step S21, the fault data features extracted include the instantaneous frequency ω(t) and instantaneous phase of the original signal x(t). Instantaneous amplitude a(t) and effective value X rms Any one or more of the above, decompose x(t) by Hilbert-Huang transform to obtain ω(t), a(t), The effective value X rms The calculation method of is expressed by the following formula (1): In formula (1), X i represents the current value at the i-th sampling point; N represents the number of sampling points; i represents sampling point i; The input of the rotating rectifier is connected to the output of the main exciter, the input of the main motor is connected to the output of the rotating rectifier, and the output of the main motor is respectively connected to each of the key devices under the topological relationship of the AC load, the 270 transformer rectifier and the 28V transformer rectifier, and step S22 specifically includes the following steps: S221, constructing the differential algebraic equation for expressing the physical information of each of the key devices in the power supply system under the topological relationship; S222, obtaining device parameters of each of the key devices in the topological relationship; S223, substituting each of the device parameters into the differential algebraic equation constructed in step S221, and setting the physical information as a DAE-PINN built-in parameter; The differential algebraic equation constructed in step S221 is expressed as the following formulas (2)-(9): -(1 / V A )(g)=0 Formula (3) f1=B 12 V1V2sin(δ1-δ2)-P1 Formula (4) f2 = B 21 V2V1sin(δ2 - δ1)+B 23 V2V3sin(δ2 - δ3)-P2 Equation (5) In formulas (2)-(9), m k is the inertia constant, d k is the damping coefficient, is the angular frequency, is the angular velocity, f k represents the zero-order differential term in (2), V A represents the voltage of the AC load, g represents the zero-order differential term in the algebraic equation, k=1,2,3,H,L,A, respectively representing the main exciter, the rotating rectifier, the main motor, the 270V transformer rectifier, the 28V transformer rectifier and the AC load, B 21 represents the magnetization matrix between the rotating rectifier and the main exciter, B 23 represents the magnetization matrix between the rotating rectifier and the main motor, B 31 represents the magnetization matrix between the main motor and the main exciter, B 3A represents the magnetization matrix between the main motor and the AC load, B 3H represents the magnetization matrix between the main motor and the 270V transformer rectifier, B 2L represents the magnetization matrix between the rotating rectifier and the 28V transformer rectifier, B H3 represents the magnetization matrix between the 270V transformer rectifier and the main motor, B HA represents the magnetization matrix between the 270V transformer rectifier and the AC load, B HL represents the magnetization matrix between the 270V transformer rectifier and the 28V transformer rectifier, B L3 represents the magnetization matrix between the 28V transformer rectifier and the main motor, B LA represents the magnetization matrix between the 28V transformer rectifier and the AC load, B LH represents the magnetization matrix between the 28V transformer rectifier and the 270V transformer rectifier, B A3 represents the magnetization matrix between the AC load and the main motor, B AH represents the magnetization matrix between the AC load and the 270V transformer rectifier, B AL represents the magnetization matrix between the AC load and the 28V transformer rectifier; wherein the dynamic unknown quantity characterizing the system state is y=(δ1,δ2,δ3,δ H ,δ L ,δ A ) T , the algebraic unknown is z=V A ; In step S222, the equipment parameters include the voltage V1 of the main exciter, the voltage V2 of the rotating rectifier, the voltage V3 of the main motor, the voltage V A , the voltage V of the 270V transformer rectifier H , the voltage V of the 28V transformer rectifier L ; In step S223, the DAE-PINN built-in parameters include m1, m2, m3, m H ,m L ,d1,d2,d3,d H ,d L , and voltages V1, V2, V3, V H ,V L ,V A , power P1, P2, P3, P H ,P L ,P A ,Q A .
4. The method for fault diagnosis of key equipment in a power supply system based on digital twin according to claim 3 is characterized in that: Step S23 specifically includes the following steps: S231, solving the differential algebraic equation using an implicit Runge-Kutta method; S232, building a neural network based on physical information; S233, using a neural network based on physical information to train a fault state perception twin model of the key equipment.
5. The method for fault diagnosis of key equipment in a power supply system based on digital twin according to claim 4 is characterized in that: The method for solving the differential algebraic equation in step S231 is: When the step length is h = t n+1 -t n >0, the integral from (t n ,y n ,z n ) to (t n+1 ,y n+1 ,z n+1 ), the v-order implicit Runge-Kutta method is applied to the differential algebraic equations expressed in formulas (5)-(9) to obtain 0 = g(ξ i , ζ i ), j = 1, 2, ..., v Equation (11) 0 = g(y n+1 ,z n+1 ) Official(13) where ξ j =y(t n +c j h),ζ j = z(t n +c j h), {a j,i ,b j ,c i } are the unknown parameters of the implicit Runge–Kutta method, and the parameters are specified ξ j Indicates the y value corresponding to the jth discrete point at a certain time step; c j represents the node coefficient; y(t n +c j h) represents the value of the dynamic variable at the jth discrete point at the nth time step; z(t n +c j h) represents the value of the algebraic variable at the jth discrete point at the nth time step; a j,i represents the coefficient; b j represents the coefficient; y n Represents the value of the dynamic variable in the differential algebraic equation at the nth time step; z n Represents the value of the algebraic variable in the differential algebraic equation at the nth time step; t n represents the nth time step; n represents the time step number; v represents the order of the implicit Runge-Kutta method; ζ i Indicates the z value corresponding to the jth discrete point at a certain time step; f(ξ i ,ζ i ) represents the value of the zero-order term of the dynamic equation corresponding to the j-th discrete point at a certain time step; g(ξ i ,ζ i ) represents the value of the non-zero term of the algebraic equation corresponding to the jth discrete point at a certain time step; g(y n+1 ,z n+1 ) represents the value of the non-zero term of the algebraic equation at the n+1th time step.
6. The method for fault diagnosis of key equipment in a power supply system based on digital twin according to claim 5 is characterized in that: In step S232, the method for constructing a neural network based on physical information is: Define a neural network with physical information: In formula (14), f(t,x) is an algebraic term containing physical information; N[u;λ] is a nonlinear operator connecting the state variable u and the system parameter λ; t represents time; x represents the system input; The shared parameters of the neural network are optimized by minimizing the loss function. The loss function MSE is expressed as follows: In formula (15), MSE u is the mean square error loss corresponding to the initial data, N u is the total number of training data, i represents the i-th training data, represents the time of the i-th training data, represents the input of the i-th training data, Represents the dynamics value corresponding to the i-th training data; MSE f is the mean square error on a finite set of collocation points, N f is the total number of configuration points, represents the time of the i-th configuration point, represents the input of the i-th configuration point, It represents the algebraic value corresponding to the i-th configuration point. The finite configuration point set is the point set of the algebraic term of physical information in discrete processing.
7. The method for fault diagnosis of key equipment in a power supply system based on digital twin according to claim 6 is characterized in that: In step S233, the method for training the fault state perception twin model of key equipment specifically includes the following steps: The implicit Runge-Kutta method is integrated into the loss function MSE expressed by formula (15), and the loss function is converted to: The Adam optimizer is used to minimize the loss function to train the neural network parameters. The training method is expressed as follows: In formulas (16)-(17), Represents the total loss function, w f represents the weight corresponding to the dynamics loss function, represents the loss function of the dynamics equation, w g represents the weight corresponding to the algebraic equation loss function, represents the algebraic equation loss function; N τ represents the size of the training data set, v represents the order of the implicit Runge-Kutta method, k represents the kth training data, j represents the jth implicit Runge-Kutta method step, y n,k represents the value of the dynamic variable in the differential algebraic equation at the nth time step and the kth training data, represents the dynamic variables in the differential-algebraic equation at the nth time step and the kth training data at the jth implicit Runge-Kutta method step; represents the algebraic equation loss function, Indicates the y value corresponding to the jth discrete point and the kth training data at a certain time step, Indicates the z value corresponding to the jth discrete point and the kth training data at a certain time step, It represents the value of the non-zero term of the algebraic equation corresponding to the j-th discrete point and the k-th training data at a certain time step. represents the value of the dynamic variable in the differential algebraic equation at the n+1th time step and the kth training data, represents the value of the algebraic variable in the differential algebraic equation at the n+1th time step and the kth training data. Represents the value of the non-zero term of the epoch equation at the n+1th time step and the kth training data; represents the dynamic variables in the differential algebraic equation at the nth time step and the kth training data at the jth implicit Runge-Kutta method step, represents the conditions that the dynamic variables in the differential algebraic equation should satisfy when the kth training data is in the jth implicit Runge-Kutta method step at the nth time step, h represents the step size, i represents the ith implicit Runge-Kutta method step, a j,i represents a constant coefficient, Indicates the value of the zero-order term of the differential equation corresponding to the j-th discrete point and the k-th training data at a certain time step; represents the dynamic variables in the differential algebraic equation at the nth time step and the kth training data at the v+1th implicit Runge-Kutta method step, represents the conditions that the dynamic variables in the differential algebraic equation should satisfy at the nth time step and the kth training data in the v+1th order implicit Runge-Kutta method step, represents the dynamic variable in the differential algebraic equation of the kth training data at the n+1th time step, b j represents a constant coefficient; θ * Represents the optimal parameters obtained by the Adam optimizer.
8. The method for fault diagnosis of key equipment in a power supply system based on digital twin according to claim 7 is characterized in that: At the kth iteration, solve the following unconstrained optimization problem in, and is the penalty coefficient for the kth iteration; At the beginning of each iteration, the penalty coefficient is increased by a constant factor β>1, expressed as: represents the initial value of the penalty coefficient corresponding to the dynamic equation, represents the initial value of the penalty coefficient corresponding to the algebraic equation, (β) k represents the kth power of a constant factor; The neural network fitting the differential algebraic equation uses a fully connected structure and a forward propagation structure. The structure of the neural network is expressed as follows: X is the input tensor of the neural network, d is the number of hidden layers, ⊙ is the Hadamard product or the corresponding element product, and φ is the point-by-point sine activation function; U represents the activated tensor corresponding to the initial weight 1, H (1) Represents the input tensor of layer 1, Z (k) represents the tensor after the activation of the kth layer, H (k) represents the input tensor of the kth layer, H (k+1) represents the output tensor of the kth layer, W z,k represents the weight matrix corresponding to the kth layer after activation, b z,k Represents the bias corresponding to the kth layer after activation; The width of each hidden layer is w, and the normal Glorot initialization algorithm is used. The training parameters of the network architecture are as follows:
9. The method for fault diagnosis of key equipment in a power supply system based on digital twins according to claim 8 is characterized in that: The fault state perception twin model is trained by using a neural network with a stacked structure or a non-stacked structure, wherein in the non-stacked structure, the dynamic state variables in the differential algebraic equation are and algebraic variables Assign the corresponding neural network separately; In the stacked structure, a separate neural network is used to fit all dynamic states and state variables In the stacked structure, the width of the neural network is w=200 and the depth is d=6. In the non-stacked structure, the width of the neural network allocated to the dynamic state variables is w=200 and the depth is d=6, and the width of the neural network allocated to the algebraic variables is w=40 and the depth is d=4. The sample size ratio of the training set, the test set and the validation set is 1:1:
2.
10. The method for fault diagnosis of key equipment in a power supply system based on digital twin according to claim 1, characterized in that: In step S3, the method for performing fault diagnosis includes the steps of: S31, constructing an intrinsic feature set of the failure mode of the sample to be tested i m ,i d ,i v ,i p The values of include 1, 2, 3, H, L, A, which represent the main exciter, rotating rectifier, main motor, 280V transformer rectifier, 28V transformer rectifier and AC load respectively. The magnetization matrix parameters between the key devices represented by 1, 2, 3, H, L, A are uniformly set to b. Respectively represent the inertia constant, damping coefficient, input voltage, mechanical power, Q A Indicates the AC load virtual power; S32, the fault state perception twin model is based on the intrinsic feature set S fault is input, and the classification output is the fault diagnosis result of the sample to be tested.
Citation Information
Patent Citations
Rolling bearing fault diagnosis method
CN114091553A
Power electronic circuit fault diagnosis method based on optimizing deep belief network
US20200285900A1
Generative digital twin of complex systems
WO2021160686A1
Method for diagnosis of fault in machine tool bearing
WO2022037068A1
Cited By
Flexible AC power supply system based on three-phase MMC rectification control
CN118801374A
Multi-machine system transient stability evaluation method and system based on supercut plane, terminal equipment and storage medium
CN119180143A
Transient stability assessment method, system, terminal equipment and storage medium for multi-machine system based on hyper-tangent plane
CN119180143B
Armored vehicle permanent magnet synchronous motor health monitoring model construction method and system based on reduced-order digital twin model
CN119830651A
Armored vehicle permanent magnet synchronous motor health monitoring model construction method and system based on reduced-order digital twin model
CN119830651B
