Narrow rectangular coolant channel deformation small sample fault diagnosis method for nuclear reactor core based on physical information twin mapping network

By constructing a physical information twin mapping network, virtual fault samples are generated using normal measured data and physical priors, which solves the problem of scarce real fault samples and achieves more accurate channel deformation fault diagnosis.

CN123179077APending Publication Date: 2026-11-27CHONGQING UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611378477.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-07
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies struggle to fully utilize normal liquid film monitoring data and physical priors to generate virtual fault samples with clear fault categories and physical consistency, especially when real channel deformation fault samples are scarce. Furthermore, virtual fault data differs from measured fault data in terms of local fluctuations and statistical distribution.

Method used

A physical information twin mapping network is constructed. Through a high-fidelity multi-parameter virtual data generation model and a dual latent variable variational twin mapping mechanism, virtual fault samples are generated using normal measured liquid film thickness data and physical priors related to channel deformation. The conditional probability mapping from virtual fault data to measured fault data is learned through global structural latent variables and local residual latent variables.

Benefits of technology

It improves the accuracy of channel deformation fault identification under limited fault sample conditions. The generated virtual fault samples are closer to the distribution of actual fault data, which expands the training samples of the fault diagnosis classifier and enhances the feature extraction and generalization ability of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179077A_ABST
    Figure CN123179077A_ABST
Patent Text Reader

Abstract

The present application relates to a kind of nuclear reactor core narrow rectangular coolant channel deformation small sample fault diagnosis method based on physical information twin mapping network, belong to nuclear power safety monitoring and intelligent fault diagnosis field.It includes: using high-fidelity virtual data generation model, with the measured liquid film thickness data under normal state as benchmark, channel deformation geometric parameter, gas-liquid operating parameter and measuring point position information are introduced into virtual fault data generation process;Subsequently using the global structure latent variable and local residual latent variable in double implicit variable twin mapping mechanism, respectively represent the liquid film main structure shared by virtual and real data and local disturbance in measured fault data, establish the conditional probability mapping of virtual fault data to measured fault data distribution;Finally, using mapping sample trains fault diagnosis classifier, realize the coolant channel deformation state recognition under the condition of limited measured fault sample.The present application can improve the diagnostic performance and fault recognition accuracy under the condition of limited fault sample.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of nuclear power safety monitoring and intelligent fault diagnosis, and relates to a small sample fault diagnosis method for the deformation of narrow rectangular coolant channels in nuclear reactor cores based on physical information twin mapping networks. Background Technology

[0002] The nuclear reactor cooling system plays a crucial role in core heat removal and system temperature control, and its operational status directly affects the safety and reliability of the nuclear reactor. Under gas-liquid two-phase annular flow conditions, the liquid film formed on the coolant channel walls is a significant factor influencing the flow and heat transfer process. The thickness, fluctuation amplitude, and distribution characteristics of the liquid film along the flow direction all change with the channel conditions. Under complex service conditions, the coolant channels may experience varying degrees of local deformation, altering the channel cross-section and local gas-liquid flow states, thereby causing abnormal liquid film distribution. Therefore, accurately identifying the deformation state of the coolant channels based on liquid film monitoring signals is of great importance for ensuring the safe and stable operation of the cooling system.

[0003] With the development of sensor and data analysis technologies, establishing fault diagnosis models based on operational monitoring data has become an important means of channel condition identification. This type of method can extract features related to channel deformation from monitoring signals such as liquid film thickness and establish a mapping relationship between monitoring data and different channel states. However, existing data-driven diagnostic methods typically require a large number of accurately labeled fault samples to achieve stable diagnostic performance. In actual operation, normal liquid film data can be continuously obtained through daily monitoring, while channel deformation faults have a low probability of occurrence. Furthermore, due to limitations such as experimental costs and safety conditions, it is difficult to obtain a large number of real fault samples, resulting in a problem of sufficient normal samples but scarce fault samples. Directly training the diagnostic model using a small number of fault samples easily leads to overfitting, causing unstable model diagnostic results.

[0004] To address the issue of insufficient fault samples, existing technologies have proposed methods such as few-shot learning, meta-learning, and metric learning. These methods improve the efficiency of utilizing a small number of labeled samples by refining model training strategies and category representations. However, these methods primarily extract and reassemble information from existing fault samples, making it difficult to supplement intra-class variations not covered by the original samples. For coolant channel deformation faults, even within the same fault category, different degrees of deformation, deformation locations, and gas-liquid operating parameters can cause the liquid film signal to exhibit different fluctuation characteristics. A small number of fault samples cannot fully characterize the complex information under different channel deformation states, thus limiting the feature extraction and generalization capabilities of few-shot diagnostic models.

[0005] To expand fault training data, some existing methods employ data augmentation or generative models to generate virtual fault samples. Traditional data generation methods typically rely on existing, limited fault data for interpolation, perturbation, or distribution learning. When the original fault samples cannot adequately cover the variation range of the liquid film signal, the generated samples also struggle to contain new and effective fault information. Furthermore, the purely data-driven generation process does not fully consider the channel deformation geometry, the physical relationship between gas-liquid operating parameters and liquid film changes, making it difficult to ensure consistency between the generated data and the corresponding channel deformation state. While introducing physical models can improve the rationality of virtual samples, idealized physical models cannot fully describe the random fluctuations and local details in actual monitoring signals, and the real operating characteristics contained in a large amount of normal liquid film data are not fully utilized, resulting in distribution differences between virtual and real fault samples. In addition, existing virtual-real data mapping methods typically use an overall distribution alignment approach, making it difficult to separately maintain the global structural features and local detail features of the liquid film signal. The mapping process may also alter the fault category attributes determined by the channel deformation mechanism.

[0006] Therefore, how to fully utilize a sufficient number of normal liquid film monitoring data, and combine the channel deformation geometric parameters and gas-liquid operation parameters, to generate virtual fault samples with clear fault categories and physical consistency under the condition of scarce real channel deformation fault samples; and how to use a small number of real fault samples to correct the distribution differences between virtual fault data and actual measurement data, while maintaining the global structure and local fluctuation details related to the channel deformation state, are problems that urgently need to be solved by existing nuclear reactor core coolant channel deformation fault diagnosis technology. Summary of the Invention

[0007] In view of this, the purpose of this invention is to provide a small sample fault diagnosis method for narrow rectangular coolant channel deformation in nuclear reactor core based on physical information twin mapping network, so as to solve the problems of difficulty in obtaining real channel deformation fault samples, the failure of existing generation methods to make full use of normal measured data and physical priors, and the differences between virtual fault data and measured fault data in terms of local fluctuations and statistical distribution.

[0008] To achieve the above objectives, the present invention provides the following technical solution: A method for small-sample fault diagnosis of narrow rectangular coolant channel deformation in nuclear reactor core based on physical information twin mapping network, the method comprising: Acquire measured liquid film thickness data under normal operating conditions of the coolant channel, a small number of labeled measured fault samples under different channel deformation categories, as well as channel geometric parameters, channel deformation geometric parameters, gas-liquid operation parameters, and liquid film thickness measurement point location information; A physical information twin mapping network is constructed to generate virtual fault samples of channel deformation and diagnose the deformation state of coolant channels. The physical information twin mapping network includes a high-fidelity multi-parameter virtual data generation model, a dual latent variable variational twin mapping mechanism, and a fault diagnosis classifier.

[0009] During the training of the mapping network, virtual fault samples with channel deformation category labels are first generated using normal measured liquid film thickness data, channel deformation geometric parameters, gas-liquid operation parameters, and measurement point location information through a virtual data generation model. Then, the virtual fault samples are paired with a small number of measured fault samples under the same operating conditions and channel deformation categories. These paired samples are then input into a dual-latent variable variational twin mapping mechanism. Through global structural latent variables and local residual latent variables, the conditional probability mapping from virtual fault data to measured fault data distribution is learned, resulting in mapped samples whose distribution more closely approximates the measured fault data. Next, the mapped samples are used to train a fault diagnosis classifier. Finally, the measured liquid film thickness sample to be diagnosed is input into the trained fault diagnosis classifier to obtain the corresponding channel deformation category.

[0010] Furthermore, the virtual data generation model uses the measured liquid film thickness data under normal operating conditions as a benchmark. By calculating the geometric blockage caused by channel deformation, the change in momentum of the gas-liquid two phases, and the spatial attenuation of the deformation effect along the flow direction, it physically corrects the normal measured liquid film thickness data and generates virtual liquid film thickness data under different channel deformation categories.

[0011] (1) Geometric blockage: Let the width and height of the channel be respectively W and H The cross-sectional area of ​​the channel under normal conditions is... A It can be represented as: (1) Since the liquid film thickness sensor is positioned downstream of the deformation region, its measurement results reflect the comprehensive influence of the entire deformation region on the downstream liquid film distribution, rather than being determined solely by the maximum degree of blockage at the deformation center cross-section. Therefore, this paper uses the equivalent obstruction area averaged along the flow direction to characterize the overall geometric influence of local deformation on the downstream liquid film thickness: Since the liquid film thickness measurement points are located downstream of the channel deformation region, the measurement results reflect the comprehensive influence of the entire deformation region on the downstream liquid film distribution. Therefore, the equivalent shielding area averaged along the flow direction is used to characterize the geometric influence of local channel deformation. Let... m Indicates the channel deformation category, L m Indicates the first m The characteristic length of the deformable region along the flow direction. A m ( z() indicates the location of the flow. z The local cross-sectional shading area at point , then the first m Equivalent occlusion area of ​​channel-like deformation A m,eq Represented as: (2) The calculation process of the equivalent shading area is illustrated using pincushion and spherical deformations as examples. For pincushion deformation, let its lateral width be... W p The length of the flow direction is L p The deformation height is H d To describe the geometric feature where the deformation height gradually decreases from the center to the edge, a sixth-power function that is separable in lateral and flow directions is used to equivalently characterize the deformation profile: (3) In the formula, x and z These represent the lateral and flow directions, respectively. Integrating the deformed profile laterally and averaging along the flow direction yields the equivalent occlusion area of ​​the pincushion deformation: (4) For a spherical deformation, let its base radius be... R s The deformation height is H d This deformation can be approximated as a spherical cap structure, and its volume is expressed as: (5) Based on this, the equivalent occlusion area of ​​the spherical deformation is expressed as: (6) In the formula, Let be the radius of the spherical deformable base.

[0012] Therefore, both pillow-shaped and spherical three-dimensional local deformations can be uniformly equivalent to the average cross-sectional obstruction area along the flow direction. To quantitatively describe the degree of obstruction of the flow cross-section by different local deformations, the geometric obstruction ratio of the channel deformation is defined as: (7) (2) Momentum changes in the gas-liquid two-phase system: Channel deformation reduces the effective flow area. Assuming a constant inlet gas-liquid volumetric flow rate, the apparent velocities of the gas and liquid phases near the deformed region will change. According to the law of conservation of flow, the effective flow area after deformation is: (8) Accordingly, the first cUnder these operating conditions, the apparent velocities of the gas phase and the liquid phase become: (9) (10) In the formula, and These are the gas phase and liquid phase volumetric flow rates, respectively. and These are the apparent velocities of the gas phase and liquid phase under the current operating conditions, respectively. The apparent velocity of the gas phase under the c-th operating condition and the m-th channel deformation condition is given. Let be the apparent velocity of the liquid phase under the c-th operating condition and the m-th channel deformation condition.

[0013] The effect of local velocity changes on the liquid film response is characterized by gas-liquid two-phase momentum flux. The equivalent momentum flux under normal conditions is: (11) The equivalent momentum flux under the deformed state of the channel is: (12) In the formula, and These are the densities of the gas phase and the liquid phase, respectively.

[0014] To characterize the effect of changes in momentum flux before and after deformation on the liquid film thickness, a momentum constraint factor is defined: (13) (3) Deformation affects the spatial attenuation along the flow direction: The effect of channel deformation on measuring points with different liquid film thicknesses is also related to the axial distance from the measuring point to the center of channel deformation. Let the first... i The axial distance from each liquid film thickness measuring point to the channel deformation center is: d i An exponential function is used to describe the attenuation of the deformation effect along the flow direction: (14) Combining geometrical blocking and distance decay functions Construct space correction factor: (15) In the formula, N This indicates the number of measurement points for the liquid film thickness.

[0015] The normalization form is used to maintain the relative spatial differences between different measurement points and to avoid the overall amplitude of the virtual liquid film thickness data shifting with the number of measurement points.

[0016] Finally, in the first c Type of operating conditions, firstm Under channel-like deformation, the virtual data generation model generates the first... i The virtual liquid film thickness data for each measuring point is represented as follows: (16) In the formula, For the first i Normal liquid film thickness data at each measuring point.

[0017] Through the above process, the virtual data generation model retains the real operational fluctuation characteristics in normal measured data, and introduces channel deformation geometric parameters, gas-liquid operation parameters and measurement point location information to generate virtual liquid film thickness data with corresponding category labels under different channel deformation states.

[0018] Furthermore, the dual-latent variable variational twin mapping mechanism is used to reduce the differences between virtual fault data and measured fault data in terms of local fluctuations and statistical distribution.

[0019] set up x This refers to virtual fault samples generated by the virtual data generation model. y Indicates and x A small number of measured fault samples with the same operating conditions and the same channel deformation category are used. Virtual fault data can reflect the main trends of measured fault data, but differences still exist in local fluctuations and statistical distributions. Therefore, a dual-latent variable variational twin mapping mechanism is introduced to introduce global structural latent variables. and local residual latent variables Among them, global structure hidden variables The liquid film host structure used to characterize the sharing of virtual fault data and measured fault data, and the local residual latent variables. It is used to characterize the difference between virtual fault data and measured fault data caused by local fluctuations, measurement disturbances, and unmodeled factors.

[0020] The two-latent-variable variational twin mapping mechanism is as follows: (1) The double latent variable variational twin mapping mechanism based on conditional distribution p ( y | x Taking the modeling objective as the modeling target, an approximate posterior is introduced. The conditional log-likelihood can be decomposed into: (17) In the formula, the first term on the right-hand side is the lower bound of the conditional evidence. CELBO ), denoted as The second term on the right-hand side of the equation is the posterior KL divergence term. Since the true posterior... It is difficult to calculate directly, and the KL divergence is non-negative. Therefore, it can be solved by maximizing... To approximate the maximization of conditional log-likelihood Based on the dual latent variable generation hypothesis, the conditional joint distribution can be written as: (18) In the formula, This represents the prior distribution of global structural latent variables conditioned on virtual data x. The conditional prior distribution representing the latent variables of the local residuals. This represents the conditional generation distribution of the measured fault data y.

[0021] Accordingly, the approximate posterior distribution can be decomposed into: (19) In the formula, Used to infer structural information shared between virtual data and measured data. Used to extract local residual information from measured data relative to the global structure.

[0022] Substituting the conditional joint distribution and the approximate posterior distribution into the lower bound of conditional evidence, we obtain: (20) (2) To constrain the shared liquid film structure in the virtual fault data and the measured fault data, a dual-latent variable variational twin mapping mechanism is used to construct two twin structure encoding branches with identical network structures, and the global structure is approximately represented as follows: (twenty one) In the formula, This represents the approximate posterior distribution of the global structure latent variables of the virtual fault data obtained by the encoding branch of the virtual data structure; This represents the approximate posterior distribution of the global structure latent variables of the measured fault data obtained from the coding branches of the measured data structure. By constraining the consistency of the latent distributions obtained from the two coding branches, the virtual data and the measured data are mapped to a unified liquid film structure space. This can be achieved by setting a twin structure alignment constraint, which is expressed as: (twenty two) (3) To enhance the global structural hidden variables To enhance the characterization capabilities of the liquid film's main structure, a virtual data structure is introduced to reconstruct the distribution. In paired samples ( x , y Under the training conditions, the final minimization objective of the two latent variable variational twin mapping mechanism is expressed as: (twenty three) In the formula, coefficients α, β and γ are weighting coefficients, which are used for balanced structure reconstruction, residual regularization and twin structure alignment constraints, respectively. To use global structure hidden variables z g and local residual latent variables z r The distribution of measured fault data is generated under certain conditions. To use global structure hidden variables z g Reconstruct the distribution of virtual data structures based on conditions; This is the training loss function for the dual latent variable variational twin mapping mechanism.

[0023] (4) In order to further improve the model's ability to express information about liquid film structure and residuals at different levels, the two latent variables are extended to a hierarchical form: (twenty four) In the formula, This represents the total number of latent variables. l For implicit variable hierarchical indexes, l =1,…, L Among them, hierarchical index l The larger the value, the higher the level of the latent variable. l =1 is the lowest level. l = L The highest level is represented by the hidden variable. As the level of the hidden variable increases, its representation gradually focuses on the overall structural information of the liquid film signal; as the level of the hidden variable decreases, its representation gradually focuses on the local fluctuations and detailed information of the liquid film signal.

[0024] Based on the above definition of hierarchical latent variables, the probability distribution in equation (23) can be decomposed according to the chain rule as follows: (25) (26) (27) (28) In the formula, , . Virtual fault samples x Given global structure implicit variables Conditions, No. l Hidden variables in the global structure of the layer The approximate posterior distribution; For actual fault samples y Given global structure implicit variables Conditions, No. l Hidden variables in the global structure of the layer The approximate posterior distribution, For the first l Hidden variables of local residuals in layers The approximate posterior distribution, For the first l Hidden variables of local residuals in layers The conditional prior distribution.

[0025] Based on the above hierarchical reasoning relationship, the twin structure alignment constraint can be further expanded as follows: (29) Accordingly, the KL divergence expansion between the posterior distribution of the local residuals and the conditional prior distribution of the local residuals is as follows: (30) In the formula, To include latent variables in local residuals Global structure hidden variables z g and measured fault samples y Conditions, No. l Hidden variables of local residuals in layers The approximate posterior distribution; To include latent variables in local residuals and global structure hidden variables z g Conditions, No. l Hidden variables of local residuals in layers The conditional prior distribution.

[0026] (5) In the process of network implementation, the condition distribution of each layer is parameterized using Gaussian distribution.

[0027] With virtual fault samples x Taking the global structure encoding as an example, its parameterization process is as follows: For global structure implicit variables, the first l The approximate posterior distribution of the latent variables of the layer global structure is expressed as: (31) In the formula, and The first l The mean and variance of the latent variable distribution of the global layer structure. I It is an identity matrix.

[0028] The mean and log-variance are calculated from the structural parametric network: (32) In the formula, For the first l Layered parametric network, For virtual fault samples in the first l The coding features of the layer For the first l +1 floor to theL The first layer of implicit variables in the global structure are obtained by recursion layer by layer. l Layer structure decoding features.

[0029] Actual fault sample y The structure encoding branches use the same parameterization method.

[0030] The structural coding features of the virtual fault samples are calculated layer by layer in the following manner: (33) In the formula, The first branch of the virtual data structure encoding l Layered coding network. The structural decoding features are calculated recursively from higher to lower layers: (34) In the formula, For the first l Layered decoding network; during recursive computation, the hierarchical index... l Depend on L Decrease toward 2.

[0031] For local residual latent variables, the first... The posterior distribution of local residuals in the layer is expressed as: (35) The corresponding number l The prior distribution of local residual conditions in the layer is expressed as: (36) The mean and log-variance of the local residual posterior distribution are calculated from the residual posterior parameter network: (37) The mean and log-variance of the local residual conditional prior distribution are calculated from the residual prior parameter network: (38) In the formula, For the first l Layer residual posterior parameter network, For the first l Layer residual prior parameter network, For the actual fault sample in the first l Residual coding features of the layer To integrate the global structural information of the corresponding level and the latent variable information of the residuals of higher levels, the first... l Layer residual decoding features.

[0032] The residual coding features are calculated layer by layer in the following manner: (39) In the formula, For the first l Layer residual coding network.

[0033] The residual decoding features are calculated recursively from higher levels to lower levels: (40) In the formula, For the first l Layer residual decoding network. This involves using the global structural hidden variables of the corresponding layer. By introducing residual decoding features, the generation of local residuals at each layer is based on the main structure of the virtual fault data.

[0034] Furthermore, after network training is completed, during the generation of virtual fault data, the virtual data structure reconstruction distribution and the measured fault data conditional generation distribution are respectively represented as: (41) (42) In the formula, This represents the virtual liquid film data reconstructed from the hidden variables of the global structure. This represents a mapping sample generated by global structural latent variables and local residual latent variables. To reconstruct the variance parameters of the distribution for the virtual data structure. Variance parameters are generated for the distribution of measured fault data.

[0035] Through the above-mentioned dual latent variable and hierarchical probability modeling, the dual latent variable variational twin mapping mechanism uses a small number of paired virtual and real fault samples under the same operating conditions and the same fault category to learn the conditional mapping relationship between the distribution of virtual fault data and measured fault data. While preserving the main structure and fault category attributes of virtual fault data, it introduces the conditional residual features learned from a small number of measured fault samples to generate mapping samples with local fluctuations and statistical distributions that are closer to the measured fault data.

[0036] Furthermore, the mapped samples and their corresponding channel deformation category labels are used to train the fault diagnosis classifier, and the liquid film thickness samples to be diagnosed are input into the trained fault diagnosis classifier to obtain the corresponding channel deformation state.

[0037] The beneficial effects of this invention are as follows: (1) This invention proposes a physical information twin mapping network (PISMN) for channel deformation fault diagnosis. By using normal measured liquid film thickness data and channel deformation-related physical priors to generate virtual fault samples with clear fault categories, and using a small number of measured fault samples to establish a conditional probability mapping from virtual fault data to measured fault data distribution, a mapping sample with a distribution closer to the measured fault data is obtained, thereby expanding the effective training samples of the fault diagnosis classifier and improving the channel deformation fault identification accuracy under limited fault sample conditions.

[0038] (2) The present invention constructs a high-fidelity multi-parameter virtual data generation model (HFMP), which can generate virtual samples that better reflect the characteristics of actual working conditions by using only normal monitoring data and physical prior knowledge.

[0039] (3) This invention proposes a dual latent variable variational twin mapping mechanism (DLVS), which uses dual latent variables to represent the shared features and local differences between virtual data and real data respectively, thereby reducing the distribution difference between virtual data and real data.

[0040] Other advantages, objectives, and features of the invention will be set forth in part in the description which follows, and in part will be apparent to those skilled in the art from the following examination, or may be learned from practice of the invention. The objectives and other advantages of the invention can be realized and obtained through the following description. Attached Figure Description

[0041] To make the objectives, technical solutions, and advantages of the present invention clearer, the preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, wherein: Figure 1 A schematic diagram of a small-sample fault diagnosis method for narrow rectangular coolant channels in nuclear reactor cores based on physical information twin mapping networks, provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of a physical twin mapping network framework. Figure 3 This is a diagram of the subsystems of the reactor coolant channel local deformation test rig. Detailed Implementation

[0042] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0043] The accompanying drawings are for illustrative purposes only and are schematic diagrams, not actual pictures. They should not be construed as limiting the invention. To better illustrate the embodiments of the invention, some parts in the drawings may be omitted, enlarged, or reduced, and do not represent the actual product dimensions. It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.

[0044] In the accompanying drawings of the embodiments of the present invention, the same or similar reference numerals correspond to the same or similar components. In the description of the present invention, it should be understood that if terms such as "upper," "lower," "left," "right," "front," and "rear" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, they are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, the terms used to describe positional relationships in the drawings are only for illustrative purposes and should not be construed as limiting the present invention. For those skilled in the art, the specific meaning of the above terms can be understood according to the specific circumstances.

[0045] like Figure 1 The image shows a method for small-sample fault diagnosis of narrow rectangular coolant channels in nuclear reactor cores based on physical information twin mapping networks, according to an embodiment of the present invention. The method includes: 1. Construct a test bench for local deformation of reactor coolant channels to build datasets of various fault liquid film thicknesses under different operating conditions.

[0046] like Figure 3 As shown, the reactor coolant channel local deformation test rig uses a narrow rectangular channel to simulate the reactor coolant channel, and mainly consists of a liquid film sensor, oscilloscope, host computer, signal generator, gas flow meter, and liquid flow meter. During the experiment, the inlet flow rates of the gas and liquid phases are adjusted by the gas and liquid flow meters to create an upward flow of the two phases within the narrow rectangular channel.

[0047] Four typical deformation faults were designed in the channel of the experimental platform, including spherical and pincushion deformations with a thickness of 1.8 mm and spherical and pincushion deformations with a thickness of 1.2 mm.

[0048] Under stable operating conditions, the gas and liquid phases form an annular flow structure in the channel with the gas phase as the core and a liquid film attached to the wall. The liquid film thickness is an important parameter reflecting the flow stability and heat transfer capacity. Therefore, the liquid film thickness is selected as a key monitoring parameter. After preprocessing the four types of fault data under different operating conditions, they are divided into training set and test set.

[0049] Sensors deployed on the experimental platform were used to collect liquid film thickness signals for various faults under different operating conditions, in order to facilitate the construction of subsequent migration diagnostic tasks. Then, the collected raw signals were used to expand the sample using sliding window sampling technology.

[0050] 2. Construct as follows Figure 2 The diagram shows a physical information twin mapping network framework.

[0051] The physical information twin mapping network framework includes a high-fidelity multi-parameter virtual data generation model, a dual latent variable variational twin mapping mechanism, and a fault diagnosis classifier.

[0052] (1) A high-fidelity multi-parameter virtual data generation model is constructed to generate virtual fault samples with channel deformation category labels based on the measured liquid film thickness data under normal conditions and physical prior information. The measured liquid film thickness data under normal conditions is used as the generation benchmark, and the channel width, channel height, channel deformation type, deformation geometry, gas-liquid two-phase operating parameters, and liquid film thickness measurement point location information are obtained.

[0053] Specifically, the cross-sectional area of ​​the channel under normal conditions is calculated according to Equation (1), and the average equivalent shielding area of ​​the local deformation along the flow direction is calculated according to Equation (2). For the pincushion deformation, its geometric profile is described by the lateral and flow direction separable sixth power function shown in Equation (3), and the equivalent shielding area of ​​the pincushion deformation is calculated according to Equation (4); for the spherical deformation, it is approximated as a spherical cap structure, the volume of the spherical cap is calculated according to Equation (5), and the equivalent shielding area of ​​the spherical deformation is calculated according to Equation (6).

[0054] The geometric blockage ratio of the channel deformation is calculated according to equation (7), and the effective flow area after channel deformation is calculated according to equation (8). Under the condition that the inlet gas volume flow rate and liquid volume flow rate remain unchanged, the apparent gas velocity and apparent liquid velocity under the channel deformation state are calculated according to equations (9) and (10) respectively, based on the flow conservation relationship.

[0055] In order to characterize the effect of local velocity changes caused by channel deformation on liquid film thickness, the gas-liquid two-phase equivalent momentum flux under normal channel conditions and channel deformation conditions is calculated according to Equations (11) and (12), and the momentum constraint factor is constructed according to Equation (13).

[0056] Meanwhile, considering that the influence of channel deformation on measuring points of different liquid film thicknesses gradually decreases with the increase of the axial distance from the measuring point to the deformation center, a distance attenuation function is constructed according to equation (14), and the distance attenuation function is combined with the geometric blockage ratio to calculate the spatial correction factor corresponding to each measuring point according to equation (15). The normalized denominator in equation (15) is used to maintain the relative spatial difference between different measuring points and to avoid the overall amplitude shift of the virtual liquid film thickness data caused by changes in the number of measuring points.

[0057] Finally, the normal measured liquid film thickness data, momentum constraint factor and spatial correction factor of each measuring point under the corresponding operating conditions are combined to generate virtual liquid film thickness data under different operating conditions and different channel deformation categories according to Equation (16), and the virtual liquid film thickness data are assigned category labels according to the corresponding channel deformation type and deformation size.

[0058] (2) Construct a dual-latent variational twin mapping mechanism to learn the conditional mapping relationship between virtual fault data and the distribution of measured fault data. The virtual fault samples generated by the high-fidelity multi-parameter virtual data generation model are denoted as... x A small number of measured fault samples collected under the same operating conditions and the same channel deformation category will be recorded as follows: y And then combine the two to form a virtual-real paired sample.

[0059] The double latent variable variational twin mapping mechanism sets global structural latent variables. and local residual latent variables Among them, global structure hidden variables The liquid film host structure used to characterize the sharing of virtual fault data and measured fault data, and the local residual latent variables. It is used to characterize the difference between virtual and real data caused by local fluctuations, measurement disturbances, and unmodeled factors.

[0060] The dual latent variable variational twin mapping mechanism is based on conditional distribution. p ( y | x As the modeling objective, the conditional log-likelihood is decomposed into the conditional evidence lower bound and the posterior KL divergence term according to Equation (17); the conditional joint distribution of measured fault data, global structural latent variables and local residual latent variables is established according to Equation (18); the approximate posterior distribution of the two latent variables is decomposed according to Equation (19), and the conditional evidence lower bound is obtained according to Equation (20).

[0061] To constrain the liquid film main structure shared by virtual fault data and measured fault data, virtual data structure encoding branches and measured data structure encoding branches with identical network structures are constructed. According to equation (21), the approximate posterior distributions of the global structural latent variables corresponding to the virtual fault data and measured fault data are obtained through the virtual data structure encoding branches and measured data structure encoding branches, respectively. and And calculate the twin structure alignment constraint according to Equation (22) so that the global structural latent variable distribution obtained by the two structural coding branches is mapped to a unified structural space.

[0062] Furthermore, a virtual data structure is introduced to reconstruct the distribution. The training objective of the dual latent variable variational twin mapping mechanism is constructed according to equation (23). The training objective includes a measured fault data condition generation term, a virtual data structure reconstruction term, a local residual regularization term, and a twin structure alignment term.

[0063] In order to improve the model’s ability to represent liquid film structure and local fluctuation information at different scales, the global structure latent variable and the local residual latent variable are extended into a hierarchical form according to Equation (24), and the virtual data global structure distribution, the measured data global structure distribution, the local residual posterior distribution and the local residual conditional prior distribution are decomposed according to Equations (25) to (28).

[0064] Based on this, the twin structure alignment constraint is expanded to different levels of global structural latent variables according to equation (29), and the KL divergence between the local residual posterior distribution and the local residual conditional prior distribution is expanded to different latent variable levels according to equation (30).

[0065] Furthermore, the conditional distributions at each layer are parameterized using a Gaussian distribution. The global structural latent variable distribution and its parameters of the virtual fault data are calculated according to equations (31) and (32), respectively. The virtual data encoding features and structural decoding features are recursively derived according to equations (33) and (34), respectively. The actual fault data structure encoding branches adopt the same parameterization form.

[0066] The posterior and conditional prior distributions of the local residual latent variables are determined according to equations (35) and (36), respectively, and their mean and logarithmic variance are calculated according to equations (37) and (38), respectively. The residual coding features of the measured fault data are extracted layer by layer according to equation (39), and the residual decoding features are generated recursively from the higher to the lower layers according to equation (40), thereby introducing the global structural information of the corresponding level into the local residual decoding path layer by layer.

[0067] After the dual latent variable variational twin mapping mechanism is learned, the virtual fault sample is input into the encoding branch of the virtual data structure to obtain the global structural latent variables. Based on the prior distribution of local residual conditions Obtaining local residual latent variables Then generate the distribution according to the conditions shown in equation (42). Generate mapping samples. The virtual data structure reconstruction distribution shown in Equation (41) is used to maintain the main structure and channel deformation category attributes in the virtual fault samples.

[0068] (3) The generated mapping samples and their corresponding channel deformation category labels are combined to form a mapping dataset, and the fault diagnosis classifier is trained using the mapping dataset. After training, the measured liquid film thickness samples to be diagnosed are input into the fault diagnosis classifier, and the corresponding channel deformation state is determined according to the category prediction results output by the classifier.

[0069] Through the above process, the Physical Information Twin Map Network (PISMN) framework first generates virtual fault samples with physical consistency using normal measured data and physical prior knowledge. Then, it uses a small number of measured fault samples of the same working conditions and the same category to correct the local fluctuations and statistical distribution of the virtual fault samples, and obtains expanded training samples with a distribution closer to the measured fault data, thereby realizing the channel deformation fault diagnosis under the limited conditions of measured fault samples.

[0070] The following embodiment demonstrates the effectiveness of the method described in this invention through experiments.

[0071] Ten sets of 4-way 5-shot small-sample diagnostic tasks were set up. Liquid film thickness data were collected through a sensor array, and 1000 samples were collected for each fault type under 10 operating conditions to provide data input for the PISMN framework.

[0072] Table 1 Experimental Operating Parameter Settings

[0073] Table 2. Fault Diagnosis Task Settings for Small Samples

[0074] Wherein, S1.2 and S1.8 represent 1.2 mm spherical deformation and 1.8 mm spherical deformation, respectively, and P1.2 and P1.8 represent 1.2 mm pincushion deformation and 1.8 mm pincushion deformation, respectively.

[0075] Comparative experiment: The variable gas velocity and variable liquid velocity transfer tasks in Tables 2 and 3 were set up, with each transfer task repeated 5 times to ensure the reliability of the experimental results. This invention was compared with several methods, including Variance Difference Representation (VDR), RelaNet, ProtoNet, Model-Independent Meta-Learning (MAML), Generalized Model-Independent Meta-Learning (GMAML), Extreme Gradient Boosting (XGBoost), and Lightweight Gradient Boosting Machine (LightGBM). To ensure the fairness of the experimental results, all methods were implemented under the same experimental conditions: a learning rate of 0.001, a batch size of 256, a total of 100 training phases, and each diagnostic model used the DAGCN backbone network. Furthermore, all models ran on the same computing platform, including an AMD Ryzen 9 9900X CPU, 32GB of RAM, an NVIDIA GeForce RTX 5080 graphics card, and Python 3.11. The results are shown in Table 3. It can be seen that this invention achieved the best classification accuracy of 86.79% in the 4-way 5-shot classification task.

[0076] Table 3. Experimental diagnostic results of various methods

[0077] In summary, this invention provides a small-sample fault diagnosis method for narrow rectangular coolant channels in nuclear reactor cores based on physical information twin mapping networks. This method first utilizes a high-fidelity virtual data generation model, using measured liquid film thickness data under normal conditions as a benchmark, to introduce channel deformation geometric parameters, gas-liquid operation parameters, and measurement point location information into the virtual fault data generation process. Then, it employs the global structural latent variable and local residual latent variable in the dual latent variable twin mapping mechanism to characterize the main liquid film structure shared by virtual and real data, as well as the local disturbances in the measured fault data, respectively, establishing a conditional probability mapping from virtual fault data to the distribution of measured fault data. Finally, it uses the mapped samples to train a fault diagnosis classifier, achieving channel deformation state identification under limited conditions of measured fault samples.

[0078] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A method for small-sample fault diagnosis of deformation in narrow rectangular coolant channels in nuclear reactor cores based on physical information twin mapping networks, characterized in that, The method includes: Acquire measured liquid film thickness data under normal operating conditions of the coolant channel, labeled measured fault samples under different channel deformation categories, as well as channel geometric parameters, channel deformation geometric parameters, gas-liquid operation parameters, and liquid film thickness measurement point location information; A physical information twin mapping network is constructed to generate virtual fault samples of coolant channel deformation and diagnose the deformation state of the coolant channel; the physical information twin mapping network includes a virtual data generation model, a dual latent variable variational twin mapping mechanism, and a fault diagnosis classifier. The constructed physical information twin mapping network is trained. The training process includes: first, using normal measured liquid film thickness data, channel deformation geometric parameters, gas-liquid operation parameters, and liquid film thickness measurement point location information, a virtual fault sample with channel deformation category label is generated through a virtual data generation model; then, the virtual fault sample is paired with measured fault samples under the same operating conditions and the same channel deformation category, and input into a dual latent variable variational twin mapping mechanism. Through global structural latent variables and local residual latent variables, the conditional probability mapping from virtual fault data to measured fault data distribution is learned, resulting in a mapping sample whose distribution is closer to the measured fault data; finally, the mapping sample is used to train a fault diagnosis classifier. Input the measured liquid film thickness sample to be diagnosed into the trained fault diagnosis classifier to obtain the corresponding flow channel deformation category.

2. The method according to claim 1, characterized in that, The virtual data generation model uses the measured liquid film thickness data under normal operating conditions as a benchmark. It calculates the geometric blockage caused by channel deformation, the change in momentum of the gas and liquid phases, and the spatial attenuation of the deformation effect along the flow direction to physically correct the normal measured liquid film thickness data and generate virtual liquid film thickness data under different channel deformation categories.

3. The method according to claim 2, characterized in that, Calculating geometric blockage includes: obtaining the cross-sectional area of ​​the channel under normal conditions; calculating the average equivalent blocking area along the flow direction under different channel deformation types, obtaining the equivalent blocking area by integrating the cross-sectional blocking area of ​​the channel along the flow direction; and taking the ratio of the equivalent blocking area to the cross-sectional area of ​​the channel under normal conditions as the geometric blockage. The calculation of momentum change in the gas-liquid two-phase system includes: calculating the effective flow area after channel deformation based on the equivalent obstruction area and the channel cross-sectional area under normal conditions, according to the law of conservation of flow rate; calculating the apparent velocities of the gas and liquid phases under different operating conditions based on the effective flow area; calculating the equivalent momentum flux under the channel deformation state based on the density and apparent velocity of the gas and liquid phases; and constructing the momentum constraint factor using the equivalent momentum flux of the gas and liquid phases under normal and channel deformation states. The calculation of the spatial attenuation of deformation effects along the flow direction includes: considering that the influence of channel deformation on the measurement point position with different liquid film thicknesses gradually decreases with the increase of the axial distance from the measurement point position to the deformation center, constructing a distance attenuation function in the form of an exponential function; and constructing a spatial correction factor by combining geometric blockage and the distance attenuation function.

4. The method according to claim 3, characterized in that, Physical corrections are made to the normal measured liquid film thickness data to generate virtual liquid film thickness data under different channel deformation categories. This includes combining the normal measured liquid film thickness data of each measuring point under different operating conditions, momentum constraint factors, and spatial correction factors to generate virtual liquid film thickness data under different operating conditions and different channel deformation categories. Category labels are then assigned to the virtual liquid film thickness data according to the corresponding channel deformation type and deformation size.

5. The method according to claim 1, characterized in that, The dual-latent variable variational twin mapping mechanism is used to learn the conditional mapping relationship from virtual fault data to the distribution of measured fault data, including: Set up global structural latent variables and local residual latent variables; the global structural latent variables represent the main structure of the liquid film shared by virtual fault data and measured fault data, and the local residual latent variables represent the differences between virtual and real data caused by local fluctuations, measurement disturbances and unmodeled factors. Conditional distribution p ( y | x ) is the modeling objective. x Virtual fault samples generated for the virtual data generation model. y This is a sample of actual faults; based on p ( y | x The conditional log-likelihood of ) is decomposed into a conditional evidence lower bound and a posterior KL divergence term; Construct virtual data structure encoding branches and measured data structure encoding branches with the same network structure, set twin structure alignment constraints, so that the global structure latent variable distributions obtained by the two structure encoding branches are mapped to a unified structure space; A virtual data structure is introduced to reconstruct the distribution, and a training objective is constructed using a dual latent variable variational twin mapping mechanism. The training objective includes a measured fault data condition generation term, a virtual data structure reconstruction term, a local residual regularization term, and a twin structure alignment constraint term. The global structural latent variables and local residual latent variables are extended into a hierarchical form to improve the model's ability to express liquid film structure and residual information at different levels. Based on the hierarchical global structural latent variables and local residual latent variables, a chain decomposition is performed on the global structure distribution of virtual data, the global structure distribution of measured data, the posterior distribution of local residuals, and the conditional prior distribution of local residuals. Based on the global structure distribution of virtual data, global structure distribution of measured data, posterior distribution of local residuals, and prior distribution of local residuals after chain decomposition, the twin structure alignment constraint term is expanded to different levels of global structure latent variables. At the same time, the KL divergence between the posterior distribution of local residuals and the prior distribution of local residuals is expanded to different levels of latent variables. Based on the hierarchical structure, the conditional distribution of each layer is parameterized using a Gaussian distribution; among them, the virtual fault samples and the measured fault samples use the same parameterization method. After learning is complete, input the virtual fault sample into the encoding branch of the virtual data structure to obtain the global structural hidden variables. Local residual latent variables are obtained based on the prior distribution of local residual conditions. Then, based on the measured fault data conditions, a distribution is generated to create a mapping sample.

6. The method according to claim 5, characterized in that, Based on p ( y | x The conditional log-likelihood of is decomposed into a conditional evidence lower bound and a posterior KL divergence term, expressed as: In the formula, the first term on the right side of the equation is the lower bound of the conditional evidence, and the second term on the right side of the equation is the posterior KL divergence term. For the true posterior distribution, For approximate posterior distribution, For conditional joint distribution; The alignment constraint of the twin structure is expressed as: In the formula, Indicates virtual fault samples x The corresponding global structural latent variable approximates the posterior distribution. Indicates the measured fault sample y The corresponding global structural latent variable approximates the posterior distribution. Introducing virtual data structures to reconstruct distribution In paired samples ( x , y Under the training conditions of ), the training objective for constructing the dual latent variable variational twin mapping mechanism is: In the formula, This is a conditional item generated for actual fault data. For virtual data structure reconstruction items, For local residual regularization terms, For twin structure alignment constraints; α, β, and γ are weighting coefficients; To use global structure hidden variables z g and local residual latent variables z r The distribution of measured fault data is generated under certain conditions. Used to extract local residual information from measured data relative to the global structure.

7. The method according to claim 6, characterized in that, The global structural latent variables and local residual latent variables are extended into a hierarchical form, represented as follows: In the formula, The total number of latent variables; A chain decomposition is performed on the global structure distribution of virtual data, the global structure distribution of measured data, the posterior distribution of local residuals, and the conditional prior distribution of local residuals: In the formula, , , l For implicit variable hierarchical index; Virtual fault samples x Given global structure implicit variables Conditions, No. l Hidden variables in the global structure of the layer The approximate posterior distribution; For actual fault samples y Given global structure implicit variables Conditions, No. l Hidden variables in the global structure of the layer The approximate posterior distribution, For the first l Hidden variables of local residuals in layers The approximate posterior distribution, For the first l Hidden variables of local residuals in layers The conditional prior distribution; Expand the twin structure alignment constraint terms to different levels of global structural latent variables: Meanwhile, the KL divergence between the local residual posterior distribution and the local residual conditional prior distribution is expanded as follows: 。 8. The method according to claim 7, characterized in that, Based on the hierarchical structure, the conditional distribution of each layer is parameterized using a Gaussian distribution; for virtual fault samples... x The global structure encoding, its parameterization process includes: For global structure hidden variables, the first... l The approximate posterior distribution of the latent variables of the layer global structure is expressed as: In the formula, and The first l The mean and variance of the latent variable distribution of the global layer structure. I It is the identity matrix; For local residual latent variables, the first... The posterior distribution of local residuals in the layer is expressed as: In the formula, and The first l Mean and variance of the posterior distribution of local residuals in the layer; The first l The prior distribution of local residual conditions in the layer is expressed as: In the formula, and The first l Mean and variance of the prior distribution of local residual conditions in the layer; For the measured fault samples y The global structure encoding, its parameterization process and virtual fault samples x The parameterization process is consistent.

9. The method according to claim 8, characterized in that, Obtain global structure hidden variables and local residual latent variables Then, based on the measured fault data conditions, a distribution is generated to create mapping samples: In the formula, This represents a mapping sample generated by global structural latent variables and local residual latent variables; To reconstruct the variance parameters of the distribution for the virtual data structure. Variance parameters are generated for the distribution of measured fault data.