A global and local domain adaptive industrial refrigeration unit unsupervised fault detection method and system

By constructing a deep learning framework that adapts to both global and local domains, and combining conditional adversarial domain adaptation and local maximum mean difference, the feature distribution mismatch problem of industrial refrigeration units under cross-operating conditions is solved, achieving high-precision and robust fault detection.

CN123179061APending Publication Date: 2026-11-27HANGZHOU DIANZI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611182732.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-05
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing industrial refrigeration unit fault detection models suffer from feature distribution mismatch under cross-operating conditions, leading to increased false alarm rates and decreased recognition sensitivity, making it difficult to achieve high-precision and robust fault detection under varying operating conditions.

Method used

A deep learning framework adapting to global and local domains is constructed, combining Conditional Adversarial Domain Adaptation (CDAN) and Local Maximum Mean Difference (LMMD). Through a shared feature extraction backbone network, a fully connected classifier, conditional adversarial training, and LMMD correction, global class conditional distribution alignment and local feature aggregation are achieved, thereby improving the accuracy and robustness of fault detection across operating conditions.

Benefits of technology

It significantly improves the accuracy of fault detection in industrial refrigeration units under varying operating conditions and the robustness of the model across operating conditions, reduces the risk of class confusion, and enhances the model's generalization ability and training stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179061A_ABST
    Figure CN123179061A_ABST
Patent Text Reader

Abstract

The application discloses a global and local domain adaptive industrial refrigeration unit unsupervised fault detection method and system, acquires labeled source domain samples and unlabeled target domain samples, obtains feature vectors and fault category prediction probabilities through a shared feature extraction backbone network and a classifier, and performs conditional adversarial domain adaptation and local maximum mean difference correction in parallel. According to the training progress and the proportion of high-confidence target domain samples, the dynamic adversarial coefficient of gradient reversal is adjusted, and the local alignment weight of low-confidence target domain samples is filtered; the model is jointly trained by using source domain classification loss, conditional adversarial loss and local maximum mean difference loss. The system loads the model configuration and weight from the task-parameter mapping dictionary according to the corresponding migration task of the source working condition and the target working condition, and outputs the fault category of the to-be-detected sample. The application can reduce the false alignment and negative migration under the unlabeled target working condition, and improve the accuracy and stability of cross-working-condition fault detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of refrigeration unit fault methods, specifically a method and system for unsupervised fault detection of industrial refrigeration units that adapts to global and local domains. Background Technology

[0002] Industrial refrigeration units are crucial refrigeration equipment for ensuring the stable operation of industrial production processes. Their operating status directly affects the continuity of production, equipment reliability, and energy efficiency. Because industrial refrigeration units typically operate continuously under high loads and complex conditions, the performance of key components gradually degrades over time, increasing the risk of failure. Failures not only lead to decreased refrigeration performance and increased energy consumption, but in severe cases, can cause equipment shutdowns or production interruptions, increasing operating and maintenance costs and resulting in economic losses. Therefore, timely and accurate detection of faults in industrial refrigeration units is of great significance for ensuring the safe and stable operation of industrial production, improving energy efficiency, and reducing operating and maintenance costs.

[0003] With the development of Industrial Internet of Things (IIoT) technology, data-driven deep learning methods have been widely applied in fault detection of industrial refrigeration units. Existing research shows that the operating data of industrial refrigeration units exhibit both high-dimensional spatial correlation and long-term dynamic dependence. Therefore, researchers often employ hybrid neural network architectures to enhance feature extraction capabilities. One-dimensional convolutional neural networks (1DCNNs), with their powerful local perception and weight-sharing characteristics, can effectively extract high-dimensional spatial features from multi-channel sensor signals; while long short-term memory networks (LSTMs), through their unique gating mechanism, excel at capturing long-term dependencies and nonlinear dynamic evolution trends in time-series data. Simultaneously, attention mechanisms are used to adaptively focus on key diagnostic features. Based on this hybrid architecture, existing models have demonstrated excellent feature representation and prediction performance under specific operating conditions.

[0004] While the aforementioned deep learning models demonstrate excellent fault detection accuracy under specific operating conditions, their generalization ability is highly dependent on sufficient and complete labeled data. However, industrial refrigeration units in actual engineering projects typically operate for extended periods across different seasons, under varying loads, temperature differences, and other multi-condition conditions. Existing fault detection models face significant engineering application bottlenecks: acquiring labeled fault data under a single baseline operating condition is feasible to some extent, but in actual industrial settings, collecting full-category fault label data under all operating conditions would face high economic costs and severe equipment safety risks, resulting in low engineering feasibility. Furthermore, the operating performance and parameters of industrial refrigeration units are affected by the nonlinear superposition of multiple variables such as ambient temperature, indoor load, and water pump flow rate, leading to a significant shift in the probability distribution of monitoring data under different steady-state operating conditions. This results in a feature mismatch between the source domain (labeled old data) and the target domain (unlabeled new data). In practical applications, due to the difference in feature distribution between the source domain and the target domain, the classification boundary learned by the source domain model is difficult to directly apply to the target domain, which reduces the model's ability to discriminate samples in the target domain. Specifically, this manifests as an increase in the false alarm rate for normal operation under varying working conditions and a decrease in the sensitivity to the identification of real fault features, thereby affecting the accuracy and generalization robustness of cross-working-condition fault detection.

[0005] To address the feature distribution mismatch problem under varying operating conditions, Unsupervised Domain Adaptation (UDA) has been introduced into the field of fault detection, aiming to transfer diagnostic knowledge learned in the source domain to the unlabeled target domain. Traditional Domain Adversarial Neural Networks (DANNs) minimize the difference in edge distributions between the source and target domains at the feature level through gradient inversion. However, this method only aligns the global edge distribution and does not incorporate prior information about fault categories. In the varying operating conditions of industrial refrigeration units, the feature distribution shifts of different fault categories are not homogeneous. Simply performing edge distribution alignment may lead to the incorrect mapping of features of specific faults in the source domain (such as condenser fouling) to the feature space of dissimilar faults in the target domain (such as refrigerant leakage), thus triggering negative transfer and causing fault category confusion. To overcome these limitations, Conditional Domain Adversarial Networks (CDANs) construct a conditional variable input domain discriminator by performing multilinear mapping between feature representations and classifier predicted probabilities. This introduces class priors during the domain adversarial process, achieving feature alignment at the class-conditional distribution level. However, actual operating data of industrial refrigeration units are often accompanied by transient noise and intra-class variation. A single CDAN architecture, lacking local aggregation constraints for similar fault feature clusters, struggles to ensure tight clustering of features of the same category in local subspaces, leading to feature aliasing risks near classification boundaries. Local Maximum Mean Difference (LMMD), as a subdomain adaptation method, provides a potential pathway to achieve local feature alignment by measuring the distribution distance of similar subdomains in the regenerating kernel Hilbert space. However, LMMD's measurement of subdomain distribution distance depends on the quality of the target domain pseudo-labels. In the early stages of domain adaptation training, when the prediction confidence of target domain samples is low, erroneous pseudo-labels may participate in the subdomain alignment process, thus reducing the reliability of local adaptation.

[0006] In summary, existing cross-condition fault detection methods still have certain limitations in the domain adaptation process: CDAN can achieve global class conditional distribution alignment, but lacks local aggregation constraints for features of the same subdomain; LMMD can reduce the distribution differences between similar subdomains, but lacks guidance from the global class conditional distribution and is easily affected by the quality of pseudo-labels in the target domain. Therefore, there is an urgent need to develop a global and local bidirectional collaborative method for industrial refrigeration unit fault detection: based on spatiotemporal feature extraction using hybrid neural networks (such as 1DCNN-LSTM combined with attention mechanisms), a domain adaptation architecture is constructed at the transfer adaptation end that combines a conditional adversarial network (CDAN) with local maximum mean difference (LMMD). This architecture relies on CDAN to achieve global class conditional distribution alignment and combines LMMD to achieve local adaptation of features of the same subdomain, thereby achieving high-precision prediction of industrial refrigeration unit faults in complex variable operating conditions with completely unsupervised target domains and improving the model's cross-condition robustness. Summary of the Invention

[0007] This invention proposes an unsupervised fault detection method and system for industrial refrigeration units that adapts to both global and local domains. By constructing a unified deep learning framework that integrates spatiotemporal feature extraction and dual domain alignment, and for the specific task pair of source condition-target condition, it automatically matches and loads a set of optimized specific parameter configurations (including model structure parameters, loss function weights, and training hyperparameters), thereby achieving refined and adaptive adaptation to operating condition migration scenarios with different temperature differences and directions. This significantly improves the accuracy, robustness, and reproducibility of cross-condition fault detection.

[0008] In a first aspect, the present invention provides an unsupervised fault detection method for industrial refrigeration units based on joint adaptation of global and local features, characterized in that it includes:

[0009] The system acquires source domain samples with fault category labels under the source operating condition and target domain samples without fault category labels under the target operating condition. The source domain samples and the target domain samples are input into the fault detection model. Through a shared feature extraction backbone network and a fully connected classifier, the system obtains the feature vectors and fault category prediction probabilities of the source domain samples and the target domain samples, respectively. Conditional adversarial domain adaptation and local maximum mean difference correction are performed in parallel.

[0010] The conditional adversarial domain adaptation includes: forming a conditional joint feature vector by combining the feature vectors of each sample with the predicted probability of the fault category, and performing domain adversarial training through a conditional domain discriminator and gradient inversion; determining the basic dynamic adversarial coefficients according to the training progress; determining the proportion of target domain samples in the current training batch whose maximum predicted probability of the fault category is greater than or equal to a preset confidence threshold as the target domain prediction reliability index; and determining the product of the basic dynamic adversarial coefficients and the target domain prediction reliability index as the dynamic adversarial coefficients of gradient inversion.

[0011] Basic dynamic resistance coefficient Target domain prediction reliability index Dynamic resistance coefficient The relationship is as follows:

[0012]

[0013]

[0014] in, This indicates the number of target domain samples in the current training batch whose maximum fault category prediction probability is greater than or equal to the preset confidence threshold. This indicates the total number of target domain samples in the current training batch.

[0015] The local maximum mean difference correction includes: determining the source domain alignment weight based on the fault category label of the source domain sample, and determining the target domain alignment weight based on the fault category prediction probability of the target domain sample; setting the target domain alignment weight of each category of the target domain sample whose maximum fault category prediction probability is lower than the preset confidence threshold to zero, and calculating the local maximum mean difference loss based on the source domain alignment weight and the target domain alignment weight.

[0016] Construct a total loss function that includes source domain classification loss, conditional adversarial loss, and the local maximum mean difference loss, and jointly train the fault detection model.

[0017] The sample to be detected under the target operating condition is input into the trained fault detection model to obtain the fault category prediction result.

[0018] Preferably, a Bayesian optimization algorithm based on a tree-structured Parsons estimator is used to determine the parameter configuration of the fault detection model. Based on the classification loss of the fault detection model on the source domain validation set, the inter-domain distribution difference parameter characterizing the degree of difference between the feature distributions of the source domain and the target domain, and the average prediction entropy of the target domain samples, the comprehensive fitness of the candidate parameter configuration is determined, and the parameter configuration of the corresponding source and target operating conditions is determined with the minimum of the comprehensive fitness as the objective.

[0019] Preferably, the inter-domain distribution difference parameter is the surrogate A-distance, which is determined based on the error rate of the domain classifier in distinguishing source domain features from target domain features.

[0020] Preferably, a task-parameter mapping relationship is constructed based on the parameter configurations corresponding to different source and target operating conditions; based on the target operating condition to which the sample to be detected belongs and its corresponding source operating condition, the corresponding parameter configuration and trained model weights are determined and loaded from the task-parameter mapping relationship.

[0021] Preferably, the conditional joint feature vector is formed by performing a multilinear mapping or tensor product on the feature vector of the sample and the predicted probability of the fault category; the conditional adversarial loss is calculated using a binary cross-entropy loss that determines the sample weight based on the prediction entropy, wherein the smaller the prediction entropy of the sample, the larger the corresponding sample weight.

[0022] Preferably, the basic dynamic resistance coefficient is determined according to the following formula:

[0023]

[0024] in, Based on the dynamic resistance coefficient; This is a hyperparameter adjustment factor; This represents the current training progress percentage.

[0025] Preferably, the local maximum mean difference loss is calculated by a linear combination of multiple Gaussian radial basis kernel functions with different bandwidths, wherein the bandwidth is dynamically determined based on the Euclidean distance between the feature vectors of the samples in the current training batch.

[0026] Preferably, the shared feature extraction backbone network includes a one-dimensional residual convolutional network, a long short-term memory network, and an attention layer connected in sequence; the one-dimensional residual convolutional network, the long short-term memory network, and the attention layer are respectively used to extract local features, temporal correlation features, and attention-weighted feature vectors of the samples.

[0027] Preferably, before inputting the source domain samples and the target domain samples into the fault detection model, the refrigeration unit operating data is sequentially subjected to outlier correction, normalization processing, and sample division based on overlapping sliding windows.

[0028] Secondly, the present invention provides an unsupervised industrial refrigeration unit fault detection system based on joint adaptation of global and local features, which is used to execute the aforementioned unsupervised industrial refrigeration unit fault detection method; the unsupervised industrial refrigeration unit fault detection system includes a data preprocessing module and a fault detection module.

[0029] The data preprocessing module is used to preprocess the source domain data and the target domain data to obtain source domain samples with fault category labels and target domain samples without fault category labels.

[0030] The fault detection module includes a shared feature extraction backbone network, a fully connected classifier, a conditional domain adversarial training module, and a local maximum mean difference correction module.

[0031] The shared feature extraction backbone network and the fully connected classifier are used to obtain the feature vectors and fault category prediction probabilities of the source domain samples and the target domain samples, respectively.

[0032] The conditional domain adversarial training module is used to form a conditional joint feature vector based on the feature vector of each sample and the predicted probability of the fault category, and to perform domain adversarial training through a conditional domain discriminator and gradient inversion. The dynamic adversarial coefficient of gradient inversion is determined by the product of the basic dynamic adversarial coefficient and the target domain prediction reliability index.

[0033] The local maximum mean difference correction module is used to determine the source domain alignment weight based on the fault category label of the source domain sample, determine the target domain alignment weight based on the fault category prediction probability of the target domain sample, set the target domain alignment weight of each category of the target domain sample whose maximum fault category prediction probability is lower than the preset confidence threshold to zero, and calculate the local maximum mean difference loss based on the source domain alignment weight and the target domain alignment weight.

[0034] The fault detection module is jointly trained based on the source domain classification loss, the conditional adversarial loss, and the local maximum mean difference loss, and the fully connected classifier outputs the fault category prediction result of the sample to be detected under the target working condition.

[0035] Preferably, the unsupervised industrial refrigeration unit fault detection system further includes an adaptive configuration module; the adaptive configuration module stores a task-parameter mapping dictionary with source domain operating condition parameters, target domain operating condition parameters, and the difference between the two operating conditions as a joint index, and is used to identify the target operating condition based on the stable mean of the operating condition parameters of the target refrigeration unit within a sliding time window, and load the model structure parameters, loss function weights, training hyperparameters, and pre-trained model weights that match the current transfer task from the task-parameter mapping dictionary.

[0036] The present invention has the following beneficial effects.

[0037] 1. This invention constructs a dual-domain adaptation architecture that combines conditional adversarial domain adaptation with local maximum mean difference correction. It utilizes conditional adversarial learning to reduce the class conditional distribution difference between the source and target domains, and uses high-confidence pseudo-labels to constrain the aggregation of similar subdomains. This allows global alignment and local correction to promote each other, reduce cross-condition feature shift and class confusion, and improve the accuracy and generalization robustness of fault detection.

[0038] 2. This invention filters the target domain samples by confidence and sets the alignment weights of each category for low-confidence samples to zero, so that the correction of local maximum mean difference is mainly based on reliable pseudo-labels, reducing reverse alignment and negative migration caused by erroneous pseudo-labels; combined with multi-kernel Gaussian kernel function and dynamic bandwidth setting, it can take into account the distribution differences of the same feature at different scales and improve the reliability of local subdomain alignment.

[0039] 3. This invention combines the basic dynamic adversarial coefficient corresponding to the training progress with the proportion of high-confidence samples in the target domain to dynamically adjust the adversarial strength of the gradient reversal layer, and increases the alignment weight of high-confidence samples according to the prediction entropy, thereby reducing noise interference caused by unreliable target domain prediction in the early stage of training. At the same time, the domain alignment effect is gradually enhanced as the prediction reliability improves, thereby improving the model training stability and cross-condition transfer capability.

[0040] 4. This invention constructs an unsupervised comprehensive fitness by using the source domain validation set classification loss, inter-domain proxy distance, and target domain average prediction entropy. It then employs Bayesian optimization to determine model parameters, loss weights, and confidence thresholds for different source and target conditions, further establishing a mapping relationship between tasks and parameters. This reduces the computational overhead required for manual parameter testing and online repeated optimization, and improves the task adaptability, deployment efficiency, and result reproducibility of the model configuration.

[0041] 5. This invention improves gradient propagation in deep networks by sequentially extracting local correlation features, long-term evolution features, and key time step features using a one-dimensional residual convolutional network, a long short-term memory network, and an attention layer. It also achieves joint characterization of the spatial coupling relationship and dynamic change law of multivariate operating data of industrial refrigeration units, thereby improving the ability to distinguish fault features and the stability of identification under complex operating conditions. Attached Figure Description

[0042] Figure 1 The overall flowchart of the unsupervised fault detection method for industrial refrigeration units with global and local domain adaptation provided in this embodiment;

[0043] Figure 2 This is a schematic diagram of the overall architecture of the multi-fitness adversarial migration network model in this embodiment;

[0044] Figure 3 This is a diagram of the backbone network structure for shared feature extraction combined with the attention mechanism in this embodiment;

[0045] Figure 4 This is a schematic diagram of the internal structure of the one-dimensional residual convolution module described in this embodiment.

[0046] Figure 5 This is a schematic diagram illustrating the collaborative optimization mechanism of the Conditional Adversarial Network (CDAN) and Local Maximum Mean Difference (LMMD) described in this embodiment.

[0047] Figure 6 This is a flowchart of the offline hyperparameter optimization process based on end-to-end Bayesian joint optimization described in this embodiment;

[0048] Figure 7 This is a box plot showing the distribution of fault detection accuracy of each model under six different variable operating condition migration tasks in this embodiment;

[0049] Figure 8 This is a comparison chart of the convergence curves of the model training process under six different variable working condition migration tasks in this embodiment; Detailed Implementation

[0050] To more clearly illustrate the objectives, technical solutions, and advantages of this invention, the invention will be described in more detail below with reference to specific embodiments and accompanying drawings. These embodiments represent only some implementations of the invention.

[0051] This embodiment provides an unsupervised fault detection method for industrial refrigeration units that adapts to both global and local domains, and constructs an end-to-end fault detection model. This fault detection model is built on the Python 3.9 platform and the PyTorch 2.0.0 deep learning framework, and trained on an NVIDIA GeForce RTX 2050 GPU.

[0052] like Figure 1 As shown, an unsupervised fault detection method for industrial refrigeration units that adapts to both global and local domains specifically includes the following steps:

[0053] Step 1: Obtain the operating parameters of the target industrial refrigeration unit under normal operating conditions and under various fault types and different fault severity levels, and construct an original sample set with category labels and operating condition labels; in the transfer task, only the fault category labels of the source operating condition samples are used for model training, and the fault category labels of the target operating condition training samples are not used.

[0054] In practical implementation, based on the thermodynamic principles of the target industrial refrigeration unit and the corresponding product technical standards, the operating parameters are obtained through a semi-physical integrated test bench, a unit thermodynamic mechanism simulation model, or a controlled field fault injection experiment. By adjusting the operating constraints of the industrial refrigeration unit (such as chilled water flow rate, cooling water input temperature, load rate, etc.), the dynamic evolution characteristics of multiple typical fault modes under different severity levels are simulated, and sensor monitoring data are collected to generate a sample set.

[0055] This embodiment uses the publicly available ASHRAE RP-1043 centrifugal chiller experimental dataset as an example to illustrate the technical solution. The experiment involved a centrifugal chiller unit with a rated power of 90 tons of refrigeration (approximately 316 kW) using R134a as the refrigerant. ASHRAE simulated normal operation and 7 fault conditions under 27 operating conditions by adjusting three control variables: chilled water temperature, condenser water inlet temperature, and condenser cooling load. Each fault condition underwent four different fault level tests. The simulation experiment ran for approximately 14 hours per condition, with a data sampling interval of 10 seconds. Here, Nor represents the normal state, EO, RL, and RO represent system faults, and CF, NC, FWC, and FWE represent local faults. See Table 1 for specific fault type names.

[0056] Table 1. Fault Types of ASHRAE RP-1043 SL1

[0057]

[0058] In this embodiment, the ASHRAE RP-1043 dataset was acquired at a 10-second interval, recording a total of 64 parameters. Of these, 48 parameters were directly acquired from sensors, including 29 temperature parameters, 7 valve position parameters, 5 pressure parameters, 2 flow parameters, 1 power parameter, 1 current parameter, and 3 status and diagnostic parameters. The remaining 16 parameters were calculated in real-time using VisSim software. Because some variables undergo significant changes during the short startup and shutdown periods of industrial refrigeration units, the validity of the acquired data is relatively low. Therefore, steady-state data was selected as the dataset.

[0059] The feature selection in this embodiment is as follows:

[0060] Fourteen feature variables with the highest fault detection value were selected from the 64-dimensional features of the ASHRAE RP-1043 dataset. (See Table 2 for details.)

[0061] Table 2. Final Feature Sequence List of ASHRAE RP-1043

[0062]

[0063] This embodiment sets three operating conditions for evaporator outlet water temperature (TWEO) at 4.44°C, 7.22°C, and 10.00°C, and constructs six transfer learning tasks to detect faults in the air conditioning system. Based on experimental data from the RP-1043 industrial refrigeration unit, and according to the measured TWEO temperature, it is divided into three corresponding operating conditions: 4.44°C, 7.22°C, and 10.00°C, and subsequent analysis is carried out based on this.

[0064] This embodiment constructs an unsupervised domain adaptive migration prediction task across operating conditions based on the aforementioned dataset. According to the measured data of evaporator outlet water temperature (TWEO), the sample set is divided into three data domains corresponding to different operating conditions: a first operating condition data domain with a set temperature of 10.00℃, a second operating condition data domain with a set temperature of 7.22℃, and a third operating condition data domain with a set temperature of 4.44℃. Using these three data domains alternately as labeled source domains and unlabeled target domains, six cross-operating condition migration prediction tasks are constructed: Task 1 (4.44→7.22), Task 2 (4.44→10.00), Task 3 (7.22→4.44), Task 4 (7.22→10.00), Task 5 (10.00→4.44), and Task 6 (10.00→7.22). In each transfer task, the operating condition data before the arrow is used as the source domain, carrying complete fault category labels, to guide the network in learning classification and discrimination features; the operating condition data after the arrow is used as the target domain, which does not use real fault category labels during the training phase, but participates in unsupervised domain adaptation training; the target domain test set is physically isolated from the training process and is only used for the final evaluation of fault detection accuracy and generalization performance in unsupervised environments with varying operating conditions.

[0065] To verify the effectiveness of the proposed cross-condition diagnostic model, this embodiment uses seven types of fault data with the least severe severity (SL1) (fault types are detailed in Table 1) and normal operating status data to construct an experimental sample set. Samples corresponding to labeled conditions are source domain samples; samples corresponding to unlabeled conditions are target domain samples.

[0066] In this embodiment, 1200 data samples are extracted from each operating state of each working condition, and a scale of [scale value missing] is constructed respectively. (sample size) Datasets with (feature dimensions).

[0067] Based on the experimental design requirements for cross-condition diagnostics, the dual-domain data are independently partitioned as follows:

[0068] 1. Source domain data partitioning: The data is randomly partitioned into a source domain training set (7680 records) and a source domain validation set (1920 records) in an 8:2 ratio to provide labeled source domain classification supervision signals and hyperparameter optimization feedback.

[0069] 2. Target Domain Data Splitting: The target domain data is divided into a training set (7680 entries) and a test set (1920 entries) in an 8:2 ratio. The training set is used only for unsupervised adversarial feature alignment, while the test set is strictly physically isolated and used only for blind testing of the generalization performance of the final model.

[0070] Step 2, Data Preprocessing:

[0071] The data preprocessing module in this embodiment aims to transform raw industrial sensor signals into high-quality tensor data suitable for deep neural network training. Due to the complex operating environment of industrial refrigeration units, the collected raw data often contains noise, outliers, and missing data, and the dimensions of different feature variables vary significantly. Therefore, this embodiment designs a standardized preprocessing pipeline, comprising the following four core steps:

[0072] Step 2-1: Outlier Removal Based on Robust Statistics

[0073] For 14 key characteristic variables of industrial refrigeration units (such as evaporator pressure, condenser pressure, chilled water outlet temperature, etc.), the raw data may contain outliers due to sensor malfunctions or transmission errors. To avoid traditional... To address the issue of the criterion shifting the mean due to extreme values, this embodiment employs a robust detection method based on Median Absolute Deviation (MAD). Specifically, for any feature sequence... First, calculate the median. Then the absolute median difference (MAD) is calculated:

[0074]

[0075] Where i = 1, 2, ..., n; This is the median function, used to find the median value of a sequence.

[0076] The confidence interval for anomaly detection is defined as follows: Based on the normal distribution assumption, the scaling factor is taken as... (corresponding to approximately 3 standard deviations) If a certain data point If the value exceeds this range, it is considered an outlier and set to a null value (NaN).

[0077] Step 2-2: Time-preserving linear interpolation completion (Missing Value Imputation)

[0078] After cleaning in step 2-1, non-continuous null values ​​were generated in the data sequence. In order to maintain the trend and continuity of the time series, this embodiment abandons the mean imputation method and uses linear interpolation to reconstruct the missing values.

[0079] Assuming at time point Data at the location The value is a missing value (NaN), and its nearest valid observations are respectively... and (in , (where the time interval is), then The formula for calculating the interpolation value is:

[0080]

[0081] This method can effectively utilize local linear relationships to restore the dynamic change characteristics of data to the greatest extent.

[0082] Step 2-3: Data Normalization

[0083] Because physical quantities (such as temperature, pressure, and power) collected by different sensors have different units and orders of magnitude (for example, power can reach kilowatts, while temperature is only a few degrees), directly inputting them into the network will lead to unbalanced gradient updates. This embodiment employs Min-Max Scaling to map all feature data to the dimensionless interval [0,1]. The transformation formula is as follows:

[0084]

[0085] in, The data is after normalization; and These are the minimum and maximum values ​​of the feature on the training set, respectively. Normalized data not only accelerates the convergence speed of gradient descent and reduces the impact of outliers on model weights, but also lowers the training bias caused by different units of measurement.

[0086] Steps 2-4: Sliding Window Segmentation and Tensor Construction

[0087] To capture the dynamic temporal dependencies during the failure process of industrial refrigeration units, the continuous time series needs to be divided into fixed-length sample segments. This embodiment employs the overlapping sliding window technique. Let the preprocessed two-dimensional data matrix be... ,in This represents the total number of time steps. This is the feature number. The window length is set to... The sliding step size (Stride) is By using a sliding window to extract data, the data matrix is ​​converted into a three-dimensional tensor sample set. The total number of samples The calculation is as follows:

[0088]

[0089] The final single sample generated It is a dimension The matrix contains the operating status of 14 sensors at 60 consecutive sampling times (corresponding to actual physical time), which can fully characterize a local operating cycle of the unit.

[0090] In summary, the key parameter configurations for the data preprocessing stage are shown in Table 3.

[0091] Table 3 Key Parameter Configuration Table for Data Preprocessing

[0092]

[0093] Step 3, construct as follows Figure 2 The fault detection model shown is described in this embodiment. The fault detection model uses a hybrid deep learning architecture of 1DCNN-LSTM-CDAN-LMMD. This architecture deeply integrates three core mechanisms: multi-scale spatiotemporal feature extraction, conditional domain adversarial training, and local subspace alignment, aiming to solve the problem of fault feature distribution shift in industrial refrigeration units under complex and variable operating conditions.

[0094] The fault detection model includes a shared feature extraction backbone network, a conditional domain adversarial training module, a fully connected classifier, and a local maximum mean difference correction module.

[0095] like Figure 3 As shown, the feature extraction module adopts a cascaded structure of 1DCNN-LSTM-attention mechanism, which aims to extract robust spatiotemporal feature representations from normalized multidimensional temporal signals. Its specific structure includes a sequentially connected one-dimensional residual convolutional network (1D-ResNet module), a long short-term memory network (LSTM module), and an attention mechanism module (Attention module).

[0096] 1. One-dimensional residual convolutional network (1D-ResNet module):

[0097] To increase the number of network layers and avoid the vanishing gradient problem, such as Figure 4As shown, this embodiment introduces a residual connection structure in the 1DCNN part. Each residual connection structure contains two paths within a residual block. The main path includes a first one-dimensional convolutional layer (Conv1d), a composite layer (containing batch normalization and activation functions, BN+ReLU), a second one-dimensional convolutional layer (Conv1d), and a second batch normalization layer (BN) connected sequentially. The side path introduces skip connections, which connect the input... The output is mapped through a 1×1 one-dimensional convolutional layer (used for downsampling or channel adjustment). Then, the outputs of the main path and the side path are fused element-wise through an additive node, and finally passed through a ReLU activation layer to obtain the output of the residual block.

[0098] Output of residual block The calculation formula is as follows:

[0099]

[0100] In the formula, This represents the feature tensor of the input residual block; This represents the kernel weight matrix of the first convolutional layer; This represents the kernel weight matrix of the second convolutional layer; This indicates the batch normalization operation, used to normalize the feature distribution; This represents the linear rectification activation function, used to introduce nonlinear factors; This indicates a shortcut connection mapping, where the input and output dimensions are the same. For identity mappings, when the dimensions are inconsistent, For use in matching dimensions Convolution mapping.

[0101] 2. Long Short-Term Memory Network (LSTM module) and Attention Mechanism Module:

[0102] The LSTM module is connected after the 1D-ResNet module and is used for deep extraction of dynamic temporal features in the sequence. To focus the model on key time steps that contribute more to fault detection in industrial refrigeration units, this embodiment introduces an attention mechanism module after the LSTM to perform weighted fusion of the hidden state sequences output by the LSTM. The specific computational logic of this module is as follows:

[0103] First, LSTM in the... The hidden state vector output at the nth time step is input into the two fully connected layers inside the attention mechanism for scoring, and then global normalized using the Softmax function to calculate the nth time step. Attention weights at each time step :

[0104]

[0105] in, The normalized result is the first... Attention weights for each time step; This represents the normalization exponential function, used to map scores to a probability distribution with values ​​between 0 and 1 that sum to 1; and These represent the weight matrix and bias term of the second fully connected layer within the attention mechanism module, respectively. This represents the hyperbolic tangent activation function, used to introduce nonlinear mappings; and These represent the weight matrix and bias term of the first fully connected layer within the self-attention mechanism module, respectively. Indicates the LSTM network at the 1st The hidden state feature vector output at each time step.

[0106] Finally, the attention weights at each time step are... With the corresponding hidden state vector Perform point-by-point weighted summation to generate the final context feature vector. :

[0107]

[0108] in, This represents the final generated context feature vector, which incorporates global key temporal information. Its dimension is set to (Batch, 128), and it serves as the direct input to the subsequent conditional domain adversarial training module and the fully connected classifier. This represents the total length of the time series (i.e., the length of the sliding window for the model input data, corresponding to the maximum number of time steps in the graph). This indicates the current time step index.

[0109] The fully connected label classifier is used to extract the feature vector output by the backbone network based on shared features. The system determines the specific operating status of industrial refrigeration units. Its overall structure employs a multilayer perceptron (MLP) design, specifically comprising a fully connected layer group and an output layer. The fully connected layer group consists of two cascaded fully connected layers, each followed by a batch normalization (BN) layer, a ReLU nonlinear activation function layer, and a Dropout layer (to prevent overfitting during model training). The output layer calculates the logits scores for eight state categories (including one normal state and seven fault states, with fault states including excessive lubricating oil, condenser scaling, refrigerant leakage, excessive refrigerant, non-condensable gases, insufficient cooling water, and insufficient chilled water). These scores are then activated by a Softmax function and transformed into the aforementioned fault category prediction probability distribution vector p.

[0110] To address the performance degradation of industrial refrigeration units caused by data distribution shifts under varying operating conditions (different evaporator outlet water temperatures), this embodiment, after obtaining the feature vector f output by the aforementioned shared feature extraction backbone network and the predicted probability distribution vector p output by the fully connected classifier, introduces a conditional adversarial domain adaptation module and a local maximum mean difference correction module (LMMD) in parallel, jointly forming a dual domain adaptation architecture that coordinates global and local factors. Figure 5 As shown, this architecture achieves global alignment and local aggregation of cross-condition features through a collaborative optimization mechanism of CDAN and LMMD. In the global optimization phase, CDAN uses the predicted probabilities output by the classifier as conditional information, gradually aligning the feature distributions of corresponding class samples in the source and target domains, improving the prediction reliability of target domain samples, and increasing the proportion of high-confidence predicted samples. Subsequently, the predicted probabilities output by the classifier are filtered by a confidence screening module to generate high-confidence pseudo-labels, providing reliable category information for LMMD. LMMD performs local subdomain adaptation on similar fault features based on the high-confidence pseudo-labels, further reducing the distribution distance between similar fault features, enhancing intra-class feature aggregation, and improving the separability of shared features. CDAN and LMMD work together on the shared feature extraction backbone network and are optimized through a joint loss function, continuously updating the parameters of the shared feature extraction backbone network. As the network iterates and trains, the updated feature representations participate again in the collaborative optimization process of CDAN and LMMD, which simultaneously improves the alignment effect of class-conditional features and the aggregation effect of local subdomains. This gradually enhances the discriminative ability of shared features, effectively reduces the risk of cross-class feature confusion, and ultimately improves the prediction accuracy and generalization robustness of the model in unsupervised fault detection of industrial refrigeration units across operating conditions.

[0111] The conditional adversarial domain adaptation module guides the shared feature extraction backbone network to represent feature representations with domain invariance through an adversarial learning strategy. This means the extracted features should contain rich fault discrimination information while removing domain-specific information related to temperature conditions. Specifically, this module includes a gradient inversion layer, a multilinear mapping unit, and a conditional domain discriminator (D).

[0112] The first gradient inversion layer is embedded between the shared feature extraction backbone network and the multilinear mapping unit; the second gradient inversion layer is embedded between the fully connected classifier and the multilinear mapping unit. As parameterless special layers, the first and second gradient inversion layers function primarily to achieve a multi-flow adversarial game between the feature extraction backbone, the fully connected classifier, and the conditional domain discriminator by changing the gradient flow direction. Their specific working mechanism is as follows:

[0113] (1) Forward propagation phase:

[0114] Both the first and second gradient inversion layers perform identity mapping to ensure the smooth flow of feature information output from the feature extraction backbone. The predicted probability information stream from the fully connected classifier output It can be losslessly passed to subsequent multilinear mapping units. The mathematical expressions are as follows:

[0115]

[0116]

[0117] in, This is the deep spatiotemporal feature vector input to the first gradient inversion layer; This is the forward propagation mapping function for the first gradient inversion layer; This is the fault category prediction probability vector input to the second gradient inversion layer; This is the forward propagation mapping function for the second gradient inversion layer.

[0118] (2) Backpropagation phase:

[0119] Since the reliability of target domain prediction is usually low in the early stages of training, domain adversarial learning may introduce a lot of noisy gradients, affecting the parameter updates of the shared feature extraction backbone network. Therefore, dynamic adversarial coefficients are set in the gradient inversion layer (GRL), and they are jointly and adaptively adjusted according to the training progress and the reliability of target domain prediction.

[0120] set up The basic dynamic adversarial coefficient is the proportion of the current iteration round to the total training rounds. The calculation formula is as follows:

[0121]

[0122] in, The basic dynamic adversarial coefficient is determined by the training progress; Represented by natural constant Exponential operations with base 0; The hyperparameter adjustment factor is preset and is set to 5 in this embodiment; This represents the current training progress percentage.

[0123] set up The target domain prediction reliability index represents the proportion of the number of target domain samples in the current training batch whose predicted probability meets the preset reliability threshold to the total number of target domain samples in the current training batch.

[0124]

[0125] in, The number of high-confidence samples in the target domain that meet the confidence threshold in the current training batch; : Total number of target domain samples in the current training batch.

[0126] Then the dynamic resistance coefficient The calculation formula is as follows:

[0127]

[0128] in, This represents the dynamic adversarial coefficient corresponding to the current training batch.

[0129] During training, before backpropagation for each training batch, the system first calculates the basic dynamic adversarial coefficients based on the training progress. Then, calculate the proportion of high-confidence samples in the target domain of the current training batch. The dynamic adversarial coefficients of the current training batch are obtained. In the early stages of training, due to the low training progress and the small proportion of high-confidence samples in the target domain, the dynamic adversarial coefficient remains low, allowing the domain adversarial gradient to participate in the parameter update of the shared feature extraction backbone network with a small weight. As training progresses, the reliability of target domain prediction gradually improves, the proportion of high-confidence samples generally increases, and the dynamic adversarial coefficient increases synchronously, gradually enhancing the domain adversarial learning intensity. This guides the model to further reduce the feature distribution differences between corresponding categories of samples in the source and target domains, thereby improving the model's training stability and further enhancing its cross-condition transfer performance.

[0130] The gradient reversal layer is responsible for reversing the gradients fed back from the conditional domain discriminator, thereby achieving adversarial optimization without changing the polarity of the loss function (gradient ascent / descent). Its mathematical expression is as follows:

[0131]

[0132]

[0133] in, Represents the conditional adversarial loss function; This represents the joint conditional gradient vector returned by the conditional domain discriminator to the output of the gradient inversion layer; This represents the inverse feature gradient vector passed to the feature extraction backbone network after transformation by the first gradient inversion layer. This represents the inverse probability gradient vector passed to the fully connected classifier after the transformation by the second gradient inversion layer. Represents the identity matrix; This represents the dynamic adversarial coefficient, which is used to adjust the strength of the domain adversarial gradient effect in the gradient inversion layer. This coefficient increases non-linearly with the training process and is used to balance feature discriminative learning and domain-invariant feature extraction.

[0134] The input to the conditional domain discriminator is the feature vector output by the shared feature extraction backbone network. The predicted probability vector output by the fully connected classifier Joint variables after mapping :

[0135]

[0136] in, To extract deep feature vectors from the backbone network output for shared features, For feature dimensions (in this embodiment) ). This connects the class probability distribution vector output by the classifier through the Softmax function. Total number of fault categories (in this embodiment) ); This is the Outer Product operation, used to construct the element-wise multiplicative interaction between features and categories. In this embodiment, the product of the feature dimension and the total number of categories is used. Since no dimensionality explosion is observed, the outer product calculation is directly used, eliminating the need for random Gaussian matrix dimensionality compression. In this embodiment, the conditional domain discriminator minimizes the weighted conditional adversarial loss. Come and train.

[0137] Although conditional adversarial training aims to align the joint distribution of the global dimension, it neglects similar subdomains (i.e., and The feature distribution path distance constraint in the micro-feature space can easily lead to the degradation and misalignment of the classification decision boundary locally. To address this, this embodiment further introduces an LMMD distribution alignment module based on Local Maximum Mean Discrepancy (LMMD), aiming to achieve alignment of similar fault subdomains in the regenerating kernel Hilbert space (RKHS).

[0138] The working process of the LMMD distribution alignment module includes:

[0139] (1) Pseudo-label generation and confidence screening

[0140] Since the target domain data is unlabeled, this embodiment first utilizes the predicted probability output by a fully connected classifier. As pseudo-labels for samples in the target domain. Definition and The first and second digits in the source and target domains, respectively. The sample belongs to the first The category alignment weight for each type of fault is calculated using the following formula:

[0141]

[0142]

[0143] in, The source domain real fault labels are encoded using one-hot encoding and then... The value of the class (if the source domain sample belongs to the first...) Class of faults (otherwise it is 0); The predicted probability vector output by the fully connected classifier The corresponding number in the middle The Softmax probability distribution value of the fault class.

[0144] To ensure the quality of LMMD-type conditional distribution alignment and avoid reverse alignment errors caused by low-quality target domain pseudo-labels, this embodiment implements a confidence filtering mechanism. This embodiment presets a confidence threshold. The threshold As one of the core hyperparameters to be optimized, it is determined during the offline training phase by using a Bayesian optimization algorithm based on TPE (Tree-structured Parzen Estimator) to minimize the unsupervised comprehensive fitness, and is persistently stored as part of the optimal parameter mapping dictionary.

[0145] For any target domain sample, if its predicted probability The maximum value is lower than the preset threshold (Right now If the classification result is unreliable, its contribution weight to the subdomains of all categories will be adjusted. Forced to 0. Filtered by this confidence level ( (Preset threshold), only high-confidence pseudo-labels of the target domain are retained for subsequent local distribution alignment calculations.

[0146] Before substituting the alignment weights into the local maximum mean difference loss, normalization is performed within the current training batch according to the category: the alignment weight of the c-th class in the source domain is the sum of the weights of the source domain samples in that class as the denominator, and the alignment weight of the c-th class in the target domain is the sum of the predicted probabilities of the target domain samples selected by confidence in that class as the denominator; when there are no high-confidence samples in the c-th class of the target domain, the contribution of that class to the local maximum mean difference loss in the current training batch is set to zero.

[0147] (2) Multi-core RBF mapping:

[0148] To simultaneously capture the characteristic differences of industrial refrigeration unit operating data at different time scales, this embodiment employs a multi-core strategy. Specifically, a feature mapping function is defined. A linear combination of 5 Gaussian radial basis functions (RBFs) with different bandwidths:

[0149]

[0150] in, and Features of the input Bandwidth parameters Dynamically calculated based on the Euclidean distance between samples, it covers both local details and global structure of the data. Finally, it combines the subdomain alignment weights obtained in the preceding steps. , and mapping functions Complete the conditional distribution alignment for LMMD classes and output the local alignment loss.

[0151] Step 4: Definition of Loss Function

[0152] The overall loss function for model training aims to simultaneously minimize the source domain classification error, maximize the discrimination difficulty of the conditional domain discriminator through a game-theoretic process, and minimize the distribution differences of similar samples across different domains. Overall Loss Function It consists of three parts: source domain classification loss Conditional domain adversarial loss and local maximum mean difference loss .

[0153] The joint loss function The calculation formula is as follows:

[0154]

[0155] In the formula, This represents the fault classification loss of the source domain data, used to ensure that the shared feature extraction backbone network extracts discriminative fault features; The Conditional Adversarial Loss (CAL) is used to fused feature representations with class probability predictions through a multilinear mapping to obfuscate the conditional distributions of the source and target domains, thereby achieving deep inter-domain alignment. This represents the local maximum mean difference loss, used to align the distribution of the same type of fault under different operating conditions. and These are trade-off parameters for conditional adversarial loss and local difference loss, respectively, to balance the relationship between global domain alignment and local class alignment.

[0156] (1) Source domain classification loss (Source Domain Classification Loss)

[0157] The cross-entropy loss function is used to measure the model's fault classification accuracy on labeled source domain data, forcing the shared feature extraction backbone network to learn discriminative fault features. The calculation formula is as follows:

[0158]

[0159] in, Indicates the number of samples in the source domain training batch; This represents the total number of state categories; in this embodiment, the value is 8. For the indicator function (i.e., the one-hot encoding of the real label), when the... The true state label of each source domain sample is the category. The value is 1 if the condition is met, and 0 otherwise. This indicates that the fully connected classifier predicts the first... Each source domain sample belongs to category The probability value.

[0160] (2) Conditional Domain Adversarial Loss (Conditional Domain Adversarial Loss)

[0161] In this embodiment, the conditional adversarial domain adaptation module uses a conditional domain discriminator. Feature vectors output by the shared feature extraction backbone network The predicted probability distribution vector output by the fully connected classifier The joint distribution is aligned. The conditional domain is used to resist loss. The weighted binary cross-entropy loss function is used for calculation, and its formula is as follows:

[0162]

[0163] in, and These represent the data distributions in the source domain (known labeled operating conditions) and the target domain (operating conditions to be predicted), respectively. and Represent the first and second digits of the source and target domains, respectively. One sample; This represents the mapping function of the conditional domain discriminator, whose output value is used to distinguish between source and target domain samples, and the domain adversarial loss is calculated according to the loss function described above; and These are the sample weights under the entropy criterion corresponding to the source and target domains, respectively (Entropy Conditioning).

[0164] The sample weight The calculation method is as follows ,in The predicted probability distribution vector The Shannon Entropy is a weighting mechanism designed to give higher adversarial alignment priority to high-confidence (low-entropy) samples in order to avoid negative interference from fuzzy prediction samples on feature distribution alignment. and These are the conditional joint feature vectors corresponding to the source and target domains, respectively. For any sample Its conditional joint eigenvector The generating formula is ,in This represents a multilinear map, or tensor product operation, designed to capture the deep correlation between deep features and class predictions, and to fuse the joint features. As a conditional domain discriminant Direct input.

[0165] (3) Local maximum mean difference loss (Local Maximum Mean Discrepancy Loss)

[0166] The aim is to align the distribution of subdomains of the same category in the source and target domains. This is achieved using a multi-kernel Gaussian kernel function. The distance in the regenerating kernel Hilbert space (RKHS) is calculated using the following formula:

[0167]

[0168] in, This represents the total number of operating status categories for industrial refrigeration units. This indicates the number of source domain samples in the current training batch; This indicates the number of valid target domain samples retained in the current training batch after the aforementioned confidence filtering mechanism (i.e., samples that satisfy the confidence level requirement). (Number of high-confidence samples in the target domain) , They represent the first in the source domain, respectively. The and the first Each sample is extracted using a deep feature vector from the backbone network, which shares features. , They represent the first in the target domain, respectively. The and the first Each sample is extracted using a deep feature vector from the backbone network, which shares features. , Representing the source domain, respectively The and the first The sample belongs to the first Alignment weights for class faults (determined by one-hot encoding of the real labels); , Representing the target domain respectively The and the first The sample belongs to the first Alignment weights for fault classes (determined by the pseudo-label prediction probabilities output by the fully connected classifier); The multi-kernel feature mapping function, defined above, is a linear combination of five Gaussian radial basis functions (RBFs) with different bandwidths, used to measure the distribution distance between two feature vectors in the RKHS space; the source domain alignment weight and the target domain alignment weight are both weights normalized according to the category.

[0169] (4) Overall optimization objective

[0170] The overall empirical loss function based on the aforementioned fully additive form This embodiment implements end-to-end forward propagation and computation of the model.

[0171] It should be noted that, because this embodiment embeds the aforementioned two-layer gradient inversion layer (GRL) between the shared feature extraction backbone network and the conditional domain discriminator, and the GRL automatically inverts the received gradient flow (i.e., multiplies it by a negative dynamic adversarial coefficient) during error backpropagation, the aforementioned backpropagation optimization process of the overall empirical loss function is strictly equivalent to solving the following constrained min-max game objective at the underlying training mechanism:

[0172]

[0173] in, , and These represent the learnable parameter matrices of the shared feature extraction backbone network, the fully connected classifier, and the conditional domain discriminator, respectively.

[0174] In this equivalent backpropagation game architecture, each network module executes drastically different parameter update logic:

[0175] 1. Conditional domain discriminator (corresponding to) The aim is to minimize the weighted condition to combat loss through backpropagation. It accurately identifies the domain origin of the input joint feature vector (distinguishing whether the sample comes from the source domain or the target domain).

[0176] 2. Shared feature extraction backbone network (corresponding to) On the one hand, under the influence of GRL gradient inversion, adversarial updates are passively performed, attempting to maximize... To deceive the conditional domain discriminator; on the other hand, it interacts with the fully connected classifier (corresponding to...). Collaboration to proactively minimize source domain classification loss Local alignment loss This ensures the accuracy of basic fault detection and narrows the subspace distribution of similar faults across domains.

[0177] When the model finally reaches Nash Equilibrium through the above backpropagation mechanism, the deep features output by the shared feature extraction backbone network, while removing the interference of variable operating conditions (satisfying the adversarial domain invariance), retain the fault topology structure (satisfying the local subdomain alignment), thereby realizing high-precision fault detection of industrial refrigeration units across operating conditions.

[0178] Step 5: Task Analysis and Parameter Pre-optimization Configuration. This embodiment employs a two-stage strategy of "offline global optimization - online precise mapping" to dynamically optimize model parameters for temperature difference migration tasks with different evaporator leaving water temperatures (TWEO). Specifically, this includes:

[0179] Step 5-1. Offline hyperparameter optimization based on Bayesian optimization:

[0180] like Figure 6 As shown, in order to determine the optimal configuration of the 1DCNN-LSTM co-CDAN-LMMD architecture under specific variable-condition tasks, this invention utilizes the Optuna framework and employs a Bayesian optimization algorithm based on TPE (Tree-structured ParzenEstimator) for offline hyperparameter evolution search:

[0181] Search space definition: Construct a multi-dimensional nonlinear joint search space containing discrete model structure and continuous optimization weights, where:

[0182] Structure and Training Parameters: Probabilistic modeling is performed for key parameters such as model structure parameters, learning rate, and Dropout rate. Adaptive Weight Meta-parameters: Weights penalized for conditional adversarial loss. Penalty weights for decision entropy The static empirical values ​​are transformed into searchable continuous meta-parameters and incorporated into the Bayesian search space.

[0183] To comprehensively evaluate the generalization and transfer capabilities of a model under unknown target conditions in unsupervised cross-domain transfer scenarios, this embodiment constructs an unsupervised comprehensive fitness evaluation function that integrates source domain discriminative power and cross-domain alignment, serving as the final optimization target for offline optimization (such as the Optuna framework). This evaluation function is jointly driven by the following three evaluation dimensions:

[0184] 1) Basic fault detection capability: based on the model's classification loss on the source domain validation set. The basic evaluation indicators ensure that the model still has a high confidence level of fault identification capability for known data in the source domain under complex operating conditions;

[0185] 2) Cross-domain feature alignment: using a proxy - Distance (Proxy) -distance, denoted as This distance value quantifies the difference in the distribution of features between the source and target domains in the shared feature space. The smaller this distance value, the more fully the CDAN-LMMD architecture aligns global and local features.

[0186] 3) Clarity of the target domain decision boundary: Introducing the target domain prediction entropy (denoted as...). The average information entropy of the output probability distribution of unlabeled samples in the target domain is calculated. The smaller the entropy value, the clearer the boundary of the model's classification decision in the target domain.

[0187] To overcome the shortcomings of traditional adaptive methods that rely on expert experience to manually set the weights of each loss term, which can easily lead to local optima and negative transfer, this embodiment proposes a metaheuristic optimization mechanism for adaptive weights. The comprehensive fitness loss function is defined. for:

[0188]

[0189] in, The classification loss is the source domain validation set. as an agent - Distance, used to characterize the divergence of feature distributions between domains; The average predicted information entropy of the target domain samples; The alignment penalty weight aims to find a balance point for appropriate alignment, which can effectively eliminate the macroscopic distribution offset under different water temperature conditions, and prevent the confusion of fault classification semantic structure caused by excessive feature alignment. As a decision entropy penalty weight, by applying an appropriate information entropy penalty, the classification decision boundary is forced to converge to the sparse region of the target domain data distribution. This ensures the decisiveness of diagnosis in unlabeled conditions and prevents the accumulation of false label errors caused by blind confidence.

[0190] During optimization, the system directly utilizes a Bayesian controller to perform at least 200 rounds of global probability sampling and heuristic iteration within the joint space. Because the data distributions in the source and target domains differ under different temperature variations, the model's hyperparameter configuration requirements also vary. Therefore, the system aims to globally minimize the aforementioned... To optimize the target, we efficiently search for parameter combinations corresponding to each migration task to obtain optimal parameter configurations under different operating conditions, and use these as the basis for building the "operating condition-parameter" mapping dictionary.

[0191] Step 5-2: Construct a hard-coded "task-parameter" mapping dictionary:

[0192] The optimal hyperparameter set obtained through offline optimization is standardized to establish a structured mapping dictionary with source domain operating parameters, target domain operating parameters, and their differences as joint indexes. A structured mapping dictionary is also established with source domain operating temperature, target domain operating temperature, and temperature difference span as joint indexes. In this embodiment, the operating parameters specifically refer to operating temperature.

[0193] This dictionary stores the optimal configuration for each specific task, including:

[0194] Weighting parameter: Loss factor that dynamically balances global conditional adversarial (CDAN) and local difference alignment (LMMD).

[0195] Structure and stability parameters: LSTM dimension and learning rate strategy adapted to task complexity.

[0196] The specific task refers to the operating conditions corresponding to the source domain and the target domain. In this embodiment, the operating condition is specifically the evaporator outlet water temperature.

[0197] Step 5-3: Online Task Analysis and Parameter Self-Configuration

[0198] During the online prediction phase, the adaptive configuration module reads the operating condition parameters of the target industrial refrigeration unit in real time and calculates its stable average value through a sliding time window, thereby automatically identifying the target operating condition of the unit online.

[0199] Based on the known source operating temperature and the identified target operating condition, and adhering to the principle of "network topology standardization and task-oriented configuration parameters," the adaptive configuration module directly retrieves and adaptively loads the parameter set (i.e., model structure parameters, confidence thresholds) that precisely matches the specific migration path from the pre-built mapping dictionary. (and the pre-trained optimal model weights).

[0200] Through the above-mentioned self-configuration mapping mechanism, this embodiment does not need to readjust the structure or re-optimize the hyperparameters when processing the cross-operating condition distribution offset task of industrial refrigeration units. The system directly retrieves the task-parameter mapping dictionary and loads the corresponding optimal model configuration according to the current target operating condition, performs forward calculation on the target domain samples, and realizes efficient and accurate fault detection for specific operating condition offsets.

[0201] Compared to traditional detection methods, this embodiment has the following five advantages:

[0202] 1. This embodiment introduces residual connections in 1DCNN, which effectively alleviates the gradient vanishing problem in deep network training. Combined with LSTM and Attention mechanisms, it can simultaneously extract the spatial coupling features and long-distance temporal evolution features of industrial refrigeration unit operation data.

[0203] 2. This embodiment proposes a confidence-aware local subdomain adaptation strategy. During LMMD calculation, only target domain samples with predicted confidence levels higher than a preset threshold are used for local subdomain alignment. The confidence threshold is incorporated as a hyperparameter to be optimized into the offline Bayesian optimization process, achieving task-adaptive configuration of the confidence threshold. This strategy reduces the impact of low-confidence pseudo-labels on local subdomain alignment and improves the stability and reliability of cross-condition fault detection.

[0204] 3. This embodiment constructs a dual-domain adaptation mechanism combining Conditional Domain Adversarial Network (CDAN) and Local Maximum Mean Difference (LMMD). CDAN is used to align the conditional distributions of the source and target domains, providing support for reliable prediction of the target domain; LMMD utilizes high-confidence target domain samples to align local subdomains of similar faults, reducing cross-domain distribution differences of similar faults. The two domain adaptation mechanisms jointly optimize the shared feature representation, improving the intra-class compactness and inter-class separability of shared features, thereby enhancing the accuracy and generalization ability of unsupervised fault detection across operating conditions in industrial refrigeration units.

[0205] 4. This embodiment constructs a self-configuration mechanism for task parameters in cross-condition fault detection of industrial refrigeration units. It aims to address the problems of data distribution shifts and low efficiency of online parameter optimization faced by industrial refrigeration units under varying operating conditions. This mechanism adopts an "offline database construction, online table lookup" strategy: In the offline phase, Bayesian optimization algorithms are used to pre-optimize the distribution shifts caused by different temperature differences, and the optimal parameter configurations corresponding to each operating condition are permanently saved, forming an "operating condition-parameter" mapping dictionary; in the online prediction phase, the backbone network structure remains unchanged, and the system directly retrieves and loads the corresponding parameter configurations based on the current actual operating condition, completing cross-condition fault detection without re-optimizing hyperparameters. This mechanism reduces online computational overhead and improves the efficiency and adaptability of model deployment under different operating conditions.

[0206] 5. This embodiment proposes a dynamic adversarial coefficient scheduling strategy based on joint adjustment of training progress and target domain prediction reliability index. A basic dynamic adversarial coefficient is calculated according to the training progress, and adaptively adjusted based on the proportion of high-confidence samples in the target domain, thereby dynamically adjusting the domain adversarial learning intensity. When the target domain prediction reliability is high, the dynamic adversarial coefficient is increased, allowing the domain adversarial gradient to participate in the shared feature extraction network parameter update with a higher weight; when the target domain prediction reliability is low, the dynamic adversarial coefficient is decreased, allowing the domain adversarial gradient to participate in the shared feature extraction network parameter update with a lower weight, thereby improving model training stability and cross-condition fault detection performance.

[0207] To verify the effectiveness and superiority of the unsupervised fault detection method for industrial refrigeration units provided in Example 1 (1DCNN-LSTM-CDAN-LMMD) under varying operating conditions, comparative examples 1 to 6 were set as comparison models, strictly following the principles of controlled variables and progressive ablation:

[0208] Comparative Example 1 (1DCNN-LSTM)

[0209] A fault detection method for industrial refrigeration units is presented. The difference between this comparative example and Example 1 is that all domain adaptation modules (excluding CDAN and LMMD) are removed. Only the shared feature extraction backbone network and the fully connected classifier are retained for supervised training, thus forming a 1DCNN-LSTM baseline model. This comparative example serves as a baseline to verify the necessity of introducing domain adaptation techniques across different operating conditions.

[0210] Comparative Example 2 (JDA)

[0211] A fault detection method for industrial refrigeration units is proposed. This comparative example adopts the traditional shallow transfer learning method and the Joint Distribution Adaptation (JDA) model.

[0212] Comparative Example 3 (TCA)

[0213] A fault detection method for industrial refrigeration units is presented in this comparative example, which employs the traditional shallow transfer learning method and the Transfer Component Analysis (TCA) model.

[0214] Comparative Example 4 (1DCNN-LSTM-DANN)

[0215] A fault detection method for industrial refrigeration units is disclosed. The difference between this comparative example and Example 1 lies in the removal of the Local Maximum Mean Difference Correction (LMMD) module and the degradation of the Conditional Adversarial Domain Adaptation (CDAN) module to a standard Domain Adversarial Neural Network (DANN), thus constructing a 1DCNN-LSTM-DANN model. This model only performs global edge distribution alignment, lacks distribution correction for similar subdomains, and the adversarial process does not utilize conditional information from the classification decision boundary.

[0216] Comparative Example 5 (1DCNN-LSTM-CDAN)

[0217] A fault detection method for industrial refrigeration units is presented. The difference between this comparative example and Example 1 is that the Local Maximum Mean Difference Correction (LMMD) module is removed, and only the Conditional Adversarial Domain Adaptation (CAD) module is retained, thus forming a 1DCNN-LSTM-CDAN model. This comparative example is used to verify the necessity of jointly employing LMMD in aligning similar subdomain distributions.

[0218] Comparison Example 6 (1DCNN-LSTM-DANN-LMMD)

[0219] A fault detection method for industrial refrigeration units is disclosed. The difference between this comparative example and Example 1 is that only the Conditional Adversarial Domain Adaptation Module (CDAN) in the fault detection model is replaced with a standard Domain Adversarial Neural Network (DANN), thus forming a 1DCNN-LSTM-DANN-LMMD model. The DANN only performs adversarial alignment through edge feature distribution and does not incorporate the predicted probabilities output by the classifier as conditional information into the adversarial training; therefore, it lacks constraints on the deep class decision boundaries.

[0220] The experimental results and analysis of Example 1 and Comparative Examples 1-6 are as follows:

[0221] To comprehensively evaluate the generalization and transfer capabilities of the proposed model under unknown target conditions, comparative experiments were conducted based on the aforementioned model. Table 4 shows the performance of Comparative Examples 1 to 6 and Example 1 (1DCNN-LSTM-CDAN-LMMD) in six different cross-temperature transfer tasks. The results of the comparison of diagnostic accuracy under ( ).

[0222] Table 4 Comparison of fault detection accuracy of different models under cross-condition tasks (unit: %)

[0223]

[0224] As can be seen from the table above, the method provided in Example 1 achieves a significant improvement in prediction accuracy: in all seven cross-temperature transfer tasks, the fault detection accuracy of Example 1 (1DCNN-LSTM-CDAN-LMMD) is significantly better than that of Comparative Examples 1 to 6. Particularly in the 7.22→4.44 transfer task, Example 1 achieved the highest accuracy of 90.70%. Compared to the baseline model (1DCNN-LSTM) in Comparative Example 1, the average accuracy of Example 1 is improved by approximately 49%.

[0225] The above ablation experiments verified the synergistic effect of each module in the fault detection model provided in Example 1:

[0226] (1) Superiority of conditional adversarial mechanism: Comparing Comparative Example 4 (1DCNN-LSTM-DANN) and Comparative Example 5 (1DCNN-LSTM-CDAN), it can be seen that the conditional adversarial mechanism of introducing classification probability prediction improves the average accuracy by about 9%, which proves the effectiveness of joint distribution alignment in complex industrial scenarios.

[0227] (2) Necessity of Local Alignment: Comparing Comparison Example 4 (1DCNN-LSTM-DANN) with Comparison Example 6 (1DCNN-LSTM-DANN-LMMD), and Comparison Example 5 (1DCNN-LSTM-CDAN) with Example 1 (1DCNN-LSTM-CDAN-LMMD), it can be seen that the model performance improves by 5% to 10% after adding the LMMD module. This indicates that the adaptive confidence filtering operator can effectively eliminate pseudo-label noise and achieve accurate alignment of similar fault subdomains.

[0228] (3) Significantly enhanced transfer robustness: When faced with fluctuating operating conditions, the accuracy of traditional methods (Comparative Example 2 (JDA), Comparative Example 3 (TCA)) and Comparative Example 4 (1DCNN-LSTM-DANN) fluctuates drastically across different tasks (e.g., generally performing poorly in the 7.22→10.00 task). However, this invention can still maintain a recognition accuracy of over 77.63% when facing the most challenging temperature rise conditions, demonstrating extremely strong cross-condition adaptability.

[0229] (4) Significantly superior adversarial performance: Example 1 (1DCNN-LSTM-CDAN-LMMD) achieves a leading advantage of about 13% to 29% in various indicators compared with the similar example 4 (1DCNN-LSTM-DANN) by integrating conditional adversarial and local alignment mechanisms.

[0230] like Figure 7As shown, the box plot illustrates the diagnostic accuracy distribution of Example 1 and Comparative Examples 1-6 across six sets of variable-condition migration tasks. To eliminate random errors, each box was plotted based on 10 independent repeated experiments. The median line represents the overall accuracy, while the box height (IQR) and tentacle span reflect model stability. As shown, this example maintains the highest median accuracy across all migration tasks, effectively overcoming the performance decline of traditional adversarial models. Furthermore, compared to the larger box spans of other models, the box distribution of this invention is the most compact, with minimal fluctuations across iterations. This indicates that the model exhibits excellent industrial-grade robustness across multiple runs.

[0231] like Figure 8 As shown, the curves comparing the changes of the four main loss functions (total loss, classification loss, domain adversarial loss, and LMMD loss) during the training process of the fault detection model provided in Example 1 under six different transfer tasks are illustrated. The horizontal axis represents the training batch (Epoch), and the vertical axis represents the loss value (Loss).

[0232] analyze Figure 8 As can be seen from the curve changes, the convergence trend is consistent. Although the working conditions corresponding to the six experimental groups are different, it can be observed that the total loss and classification loss in each figure show a significant and continuous decreasing trend in the early stage of training. This trend reflects that the model quickly and stably masters the classification knowledge of the source domain, effectively overcomes domain shift, and learns transferable fault features with classification and discrimination capabilities. The domain adversarial loss in the figure does not decrease monotonically, but fluctuates dynamically within a certain range; at the same time, the LMMD loss shows a fluctuating decreasing trend. This truly reflects the adversarial transfer characteristics of the minima-max game between the shared feature extraction backbone network and the conditional domain discriminator. Through this game process, the model continuously adaptively narrows the distribution differences between the source domain and the target domain at both the global and local scales.

[0233] In summary, this invention, through deep coupling of multi-scale spatiotemporal feature fusion and dual-domain distribution alignment, can effectively extract common fault features across operating conditions, significantly enhancing the generalization ability and reliability of industrial refrigeration unit fault detection systems in complex operating condition migration environments.

[0234] Example 2

[0235] An unsupervised industrial refrigeration unit fault detection system based on joint adaptation of global and local features is deployed in the industrial refrigeration unit to achieve real-time fault detection. The system includes sensors and data acquisition units, a training server, an edge controller, a data storage device, and a result output terminal. The sensors and data acquisition units collect operating parameters of the industrial refrigeration unit, including temperature, pressure, flow rate, valve position, power, and current. The training server includes a processor, memory, non-volatile memory, and a graphics processing unit (GPU) for model training and parameter optimization. The edge controller includes a processor, RAM, non-volatile memory, and a communication interface for receiving real-time sensor data, loading task parameter configurations, and executing fault detection. The data preprocessing module, fault detection module, conditional domain adversarial training module, local maximum mean difference correction module, and adaptive configuration module are all stored in the memory as computer programs and executed by the corresponding processors.

[0236] 1. Offline model training and task configuration

[0237] Before system deployment, historical operating data of industrial refrigeration units under different known operating conditions are collected to construct a multi-condition source domain database. The historical data with fault category labels corresponding to each operating condition constitute a source domain candidate subset, and all source domain candidate subsets together form a source domain historical operating condition pool.

[0238] The data preprocessing module performs outlier correction, normalization, and overlapping sliding window partitioning on the source and target domain data to obtain source domain samples with fault category labels and target domain samples without fault category labels.

[0239] The fault detection module extracts feature vectors from samples through a sequentially configured one-dimensional residual convolutional network, long short-term memory network, and attention layer, and obtains the fault category prediction probability through a fully connected classifier. The conditional domain adversarial training module performs multilinear mapping or tensor product operations on the feature vectors and fault category prediction probabilities to form a conditional joint feature vector, and trains the conditional domain discriminator using binary cross-entropy loss based on prediction entropy to determine sample weights. The proportion of target domain samples in the current training batch whose prediction confidence reaches a preset confidence threshold is defined as the target domain prediction reliability index. This index is combined with the basic dynamic adversarial coefficient to obtain the dynamic adversarial coefficient of the gradient inversion layer.

[0240] The Local Maximum Mean Difference (LMDD) correction module determines the source domain alignment weights based on the fault category labels of the source domain samples and the target domain alignment weights based on the fault category prediction probabilities of the target domain samples. It sets the target domain alignment weights for each category of target domain samples whose maximum fault category prediction probability is lower than a preset confidence threshold to zero. The module uses multiple Gaussian radial basis function kernels with different bandwidths to calculate the LMDD loss, with each bandwidth dynamically determined based on the Euclidean distance between the sample feature vectors.

[0241] The graphics processor of the training server performs conditional domain adversarial training and local maximum mean difference correction in parallel, and jointly trains the fault detection model based on the source domain classification loss, conditional adversarial loss and local maximum mean difference loss.

[0242] A TPE-based Bayesian optimization algorithm is employed to determine the comprehensive fitness of candidate parameter configurations using the source domain validation set classification loss, surrogate A-distance, and target domain average prediction entropy. This yields model structure parameters, loss function weights, training hyperparameters, and pre-trained model weights for different transfer tasks. Using the source domain conditions, target domain conditions, and their temperature difference span as a joint index, the aforementioned model structure parameters, loss function weights, training hyperparameters, and pre-trained model weights are written into a task-parameter mapping dictionary and stored in the non-volatile memory of the edge controller.

[0243] 2. Real-time perception of target operating conditions

[0244] When the industrial chiller unit is running online, the edge controller or industrial IoT platform receives sensor data streams in real time. The adaptive configuration module extracts at least one operating condition parameter from the cooling water inlet temperature, chilled water outlet temperature, and unit load, and calculates the stable average value of the operating condition parameter within a sliding time window. Based on this, the current target operating condition is identified and used as the basis for subsequent task parameter mapping dictionary retrieval.

[0245] 3. Source domain matching and parameter loading

[0246] Calculate the Euclidean distance between the current target operating condition parameters and the operating condition parameters of each candidate subset of source domains in the historical operating condition pool of the source domain, and determine the candidate subset of source domains with the smallest distance as the matching source domain.

[0247] Based on the matching source domain operating conditions, target operating conditions, and the temperature difference between the two, the corresponding model configuration is queried from the task-parameter mapping dictionary, and the corresponding model structure parameters, loss function weights, training hyperparameters, and pre-trained model weights are loaded.

[0248] 4. Online adaptation and fault detection

[0249] When a configuration matching the current migration task exists in the task-parameter mapping dictionary, the edge controller directly loads the corresponding model structure parameters, loss function weights, training hyperparameters, and pre-trained model weights. After loading, it stops updating the model parameters, performs forward computation on the target domain samples generated by the sliding time window, and outputs the fault category prediction results.

[0250] The fault category prediction results are sent to the display terminal, industrial refrigeration unit controller, or fault alarm device via a communication interface. During real-time inference, only the forward calculation of the fault detection model is performed, and the model parameter gradient update is not performed to reduce the computational load on the edge controller and improve the real-time fault detection efficiency of the system.

Claims

1. A method for unsupervised fault detection of industrial refrigeration units that adapts to global and local domains, characterized in that, include: Obtain source domain samples with fault category labels under source operating conditions and target domain samples without fault category labels under target operating conditions; The source domain samples and the target domain samples are input into the fault detection model. The feature vectors and fault category prediction probabilities of the source domain samples and the target domain samples are obtained by using a shared feature extraction backbone network and a fully connected classifier. Conditional adversarial domain adaptation and local maximum mean difference correction are performed in parallel. The conditional adversarial domain adaptation includes: forming a conditional joint feature vector by combining the feature vectors of each sample with the predicted probability of the fault category, and performing domain adversarial training through a conditional domain discriminator and gradient inversion; determining the basic dynamic adversarial coefficients according to the training progress; determining the proportion of target domain samples in the current training batch whose maximum predicted probability of the fault category is greater than or equal to a preset confidence threshold as the target domain prediction reliability index; and determining the product of the basic dynamic adversarial coefficients and the target domain prediction reliability index as the dynamic adversarial coefficients of gradient inversion. The local maximum mean difference correction includes: determining the source domain alignment weight based on the fault category label of the source domain sample, and determining the target domain alignment weight based on the fault category prediction probability of the target domain sample; setting the target domain alignment weight of each category of the target domain sample whose maximum fault category prediction probability is lower than the preset confidence threshold to zero, and calculating the local maximum mean difference loss based on the source domain alignment weight and the target domain alignment weight. Construct a total loss function that includes source domain classification loss, conditional adversarial loss, and the local maximum mean difference loss, and jointly train the fault detection model. The sample to be detected under the target operating condition is input into the trained fault detection model to obtain the fault category prediction result.

2. The unsupervised fault detection method for industrial refrigeration units according to claim 1, characterized in that, The parameter configuration of the fault detection model is determined by a Bayesian optimization algorithm based on a tree-structured Parsons estimator. The comprehensive fitness of the candidate parameter configuration is determined based on the classification loss of the fault detection model on the source domain validation set, the inter-domain distribution difference parameter representing the degree of difference between the feature distributions of the source domain and the target domain, and the average prediction entropy of the target domain samples. The parameter configurations for the corresponding source and target operating conditions are determined with the minimum comprehensive fitness as the objective.

3. The unsupervised fault detection method for industrial refrigeration units according to claim 2, characterized in that, A task-parameter mapping relationship is constructed based on the parameter configurations corresponding to different source and target operating conditions; based on the target operating condition to which the sample to be detected belongs and its corresponding source operating condition, the corresponding parameter configuration and trained model weights are determined and loaded from the task-parameter mapping relationship.

4. The unsupervised fault detection method for industrial refrigeration units according to claim 1, characterized in that, The conditional joint feature vector is formed by performing a multilinear mapping or tensor product on the feature vector of the sample and the predicted probability of the fault category; the conditional adversarial loss is calculated using a binary cross-entropy loss based on the prediction entropy to determine the sample weight, wherein the smaller the prediction entropy of the sample, the larger the corresponding sample weight.

5. The unsupervised fault detection method for industrial refrigeration units according to claim 1, characterized in that, The basic dynamic resistance coefficient is determined according to the following formula: in, Based on the dynamic resistance coefficient; This is a hyperparameter adjustment factor; This represents the current training progress percentage.

6. The unsupervised fault detection method for industrial refrigeration units according to claim 1, characterized in that, The local maximum mean difference loss is calculated by a linear combination of multiple Gaussian radial basis kernel functions with different bandwidths, the bandwidth of which is dynamically determined based on the Euclidean distance between the feature vectors of the samples in the current training batch.

7. The unsupervised fault detection method for industrial refrigeration units according to claim 1, characterized in that, The shared feature extraction backbone network includes a one-dimensional residual convolutional network, a long short-term memory network, and an attention layer connected in sequence; the one-dimensional residual convolutional network, the long short-term memory network, and the attention layer are used to extract local features, temporal correlation features, and attention-weighted feature vectors of the samples, respectively.

8. The unsupervised fault detection method for industrial refrigeration units according to claim 1, characterized in that, Before inputting the source domain samples and the target domain samples into the fault detection model, the refrigeration unit operating data is sequentially subjected to outlier correction, normalization processing, and sample division based on overlapping sliding windows.

9. An unsupervised fault detection method for industrial refrigeration units with global and local domain adaptation, characterized in that, The system is used to perform the unsupervised fault detection method for industrial refrigeration units as described in any one of claims 1-8; the unsupervised industrial refrigeration unit fault detection system includes a data preprocessing module and a fault detection module; The data preprocessing module is used to preprocess the source domain data and the target domain data to obtain source domain samples with fault category labels and target domain samples without fault category labels. The fault detection module includes a shared feature extraction backbone network, a fully connected classifier, a conditional domain adversarial training module, and a local maximum mean difference correction module. The shared feature extraction backbone network and the fully connected classifier are used to obtain the feature vectors and fault category prediction probabilities of the source domain samples and the target domain samples, respectively. The conditional domain adversarial training module is used to form a conditional joint feature vector based on the feature vector of each sample and the predicted probability of the fault category, and to perform domain adversarial training through a conditional domain discriminator and gradient inversion. The dynamic adversarial coefficient of gradient inversion is determined by the product of the basic dynamic adversarial coefficient and the target domain prediction reliability index. The local maximum mean difference correction module is used to determine the source domain alignment weight based on the fault category label of the source domain sample, determine the target domain alignment weight based on the fault category prediction probability of the target domain sample, set the target domain alignment weight of each category of the target domain sample whose maximum fault category prediction probability is lower than the preset confidence threshold to zero, and calculate the local maximum mean difference loss based on the source domain alignment weight and the target domain alignment weight. The fault detection module is jointly trained based on the source domain classification loss, the conditional adversarial loss, and the local maximum mean difference loss, and the fully connected classifier outputs the fault category prediction result of the sample to be detected under the target working condition.

10. The unsupervised fault detection system for industrial refrigeration units according to claim 9, characterized in that, It also includes an adaptive configuration module; the adaptive configuration module stores a task-parameter mapping dictionary with source domain operating condition parameters, target domain operating condition parameters and the difference between the two operating conditions as a joint index, which is used to identify the target operating condition based on the stable mean of the operating condition parameters of the target chiller unit within the sliding time window, and load the model structure parameters, loss function weights, training hyperparameters and pre-trained model weights that match the current transfer task from the task-parameter mapping dictionary.