Next Article in Journal
Haircutting Robots: From Theory to Practice
Previous Article in Journal
Learning-Driven Intelligent Passivity Control Using Nonlinear State Observers for Induction Motors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Intelligent Fault Diagnosis of Gas Pressure Regulator Based on AE-GWO-SVM Algorithm

1
Gathering &Transportation Engineering Technology Institute, PetroChina Southwest Oil & Gasfield Company, Chengdu 610041, China
2
Leshan Chuantian Gas Equipment Co., Ltd., Leshan 614000, China
3
Pipeline Management Department, PetroChina Southwest Oil & Gasfield Company, Chengdu 610051, China
4
College of Chemical Engineering, Fuzhou University, Fuzhou 350108, China
*
Author to whom correspondence should be addressed.
Automation 2025, 6(3), 46; https://doi.org/10.3390/automation6030046
Submission received: 10 August 2025 / Revised: 10 September 2025 / Accepted: 12 September 2025 / Published: 17 September 2025

Abstract

A pressure regulator is essential for pressure control in a gas transmission system. The traditional maintenance approaches for pressure regulators involve equipment disassembly that disrupts normal production. In response, this paper proposes a support vector machine (SVM) model improved by the grey wolf optimization algorithm (GWO) and autoencoder (AE), i.e., the AE-GWO-SVM model. It achieves intelligent fault diagnosis on pressure regulators based on operation data collected by the SCADA system. Firstly, a number of actual pressure regulator faults are counted, and it is found that internal and external leakages are key problems faced by pressure regulators. To address the limited fault data available in field practice, a dataset of pressure regulator faults is constructed using numerical simulation. Additionally, 18 new features are obtained through feature combination, and an improved distance evaluation method (IDE) is utilized to select highly correlated features as input for the machine learning model. Furthermore, an autoencoder (AE) is employed to overcome the interference from abnormal data, which significantly enhances the fault identification process of GWO-SVM. To verify the performance of the AE-GWO-SVM model, an experimental platform for pressure regulators is designed and constructed. Compared with conventional SVM, the accuracy of the AE-GWO-SVM model increases from 60.4% to 86.7%, indicating its strong diagnosis capability for pressure regulator faults.

1. Introduction

The gas transmission station is the heart of natural gas pipeline systems, serving as critical infrastructure for energy security. The safe and stable operation of the station is essential for normal the functioning of society and the economy. The flow process in these stations is complex with a wide variety of equipment, and various faults and abnormal conditions inevitably occur over time. A pressure regulator, which is key in controlling the pressure of gas transmission systems, is crucial for ensuring stable network operation [1]. High-frequency mechanical movement, high pressure, and corrosive environments easily lead to frequent malfunction and failure of pressure regulators. At present, most gas transmission stations carry out routine maintenance of pressure regulators that requires the disassembly of equipment and thus affects normal production. To a certain extent, it causes unreasonable allocation of maintenance resources and easily leads to “insufficient maintenance” or “excessive maintenance”. In practical applications, only the equipment diagnosed with a fault needs further repair, which helps to reduce the impact on normal production and save a lot of costs. In response, maintenance that judges the fault status of pressure regulators based on operational data has drawn much attention recently [2,3,4].
The mechanism of pressure regulator failure is complex with varieties of influencing factors. It is rather difficult to establish theoretical models between operating parameters and fault states at a mechanistic level, but the strong mathematical relationship between them makes data-driven machine learning feasible to assess the malfunction of pressure regulators. By inputting the operating parameters of the pressure regulator, its fault state can be determined, bypassing the complex failure mechanism. This maintenance strategy relies on two aspects, namely the collection of effective operational data of pressure regulators and reliability of the machine learning model [2]. As the stability of outlet pressure is one of the most important parameters that reflects the performance of gas regulators, varieties of fault diagnosis algorithms have been proposed by analyzing the outlet pressure of gas pressure regulators, such as fast Fourier transform (FFT) [5,6], short-time Fourier transform (STFT) [7], wavelet transform (WT) and wavelet packet decomposition (WPD) [8], empirical mode decomposition (EMD) [9,10], and Hilbert–Huang transform (HHT) [11,12]. For example, Hao et al. [13,14] conducted empirical mode decomposition and Hilbert–Huang transform to decompose the outlet pressure data of the regulator and proposed a safety warning method for gas pressure regulators based on support vector machines. Tian et al. [15] proposed a fault diagnosis approach combining complete ensemble empirical mode decomposition with adaptive noise (CEEMDAN) and fuzzy c-means (FCM) clustering to classify three typical faults of gas regulators. Although outlet pressure is closely correlated to the malfunction of pressure regulators, it is by no means the only indicator, where other parameters such as flow rate and temperature also play important roles in the fault diagnosis of pressure regulators.
To achieve the intelligent fault diagnosis of pressure regulators based on their operating status, this work uses numerical simulation to obtain basic data for fault diagnosis. Methods for data preprocessing and feature parameter selection are proposed. A support vector machine (SVM) model is used to calculate the characteristic parameters of the flow field within the gas pressure regulator. A grey wolf optimizer (GWO) is employed to optimize penalty factors and kernel function parameters of the SVM. Then autoencoders (AE) are used to determine the deviation between the predicted and actual flow field parameters for fault diagnosis. By inputting parameters such as temperature, pressure, flow rate, and opening degree collected from the SCADA system, it achieves the identification of internal leakage and external leakage of the gas pressure regulator. It enhances the precision of equipment maintenance and helps to ensure the production safety of gas transmission stations.

2. Theoretical Basis

2.1. Support Vector Machine (SVM)

Support vector machine (SVM) is a machine learning method based on statistical learning theory and the structural risk minimization principle. It has many unique advantages in solving small sample, nonlinear and high-dimensional pattern recognition problems [16], especially in overcoming the problems of “dimension disaster” and “overlearning”. It has been widely used in pattern recognition, regression analysis, function estimation, time series prediction, and so on. The basic principle of SVM is to find an optimal classification hyperplane and maximize the distance between different sample datasets and the hyperplane, so as to achieve good classification effects.
Penalty factor C and kernel function parameter γ are key parameters that impact the classification performance of SVM. The penalty factor C is used to balance the complexity and stability of the SVM, while the kernel function parameter γ is responsible for regulating the classification accuracy. In application, it is necessary to select the appropriate penalty factor C and kernel function parameter γ according to the specific circumstance to improve prediction accuracy. In this work, the grey wolf optimization algorithm (GWO) is used to obtain the optimal parameters of the SVM model.

2.2. Grey Wolf Optimizer (GWO)

The swarm intelligence optimization algorithm is inspired by the interaction behaviours between social animals. It simulates the social structure and survival behaviour characteristics of the animals in nature. The grey wolf optimizer (GWO) is a bionic heuristic algorithm that mimics the communication and sharing mechanisms as well as the hierarchical division principles of grey wolf packs [17]. Grey wolf packs have a social class structure, dividing the grey wolf population into four levels, namely α, β, δ, and ω, based on the roles and advantages the wolves play in hunting, following a pyramid principle. In grey wolf population, the α wolf holds the highest authority and manages the pack, though it is not necessarily the strongest wolf. The β wolves assist the α wolf in decision-making and relay orders from the α wolf to lower-ranking wolves, allowing them to control wolves of lower ranks. The δ wolves are responsible for reconnaissance and pursuit, obeying orders from the α and β wolves. The ω wolves have the lowest rank in the pack. They coordinate internal relations of the pack and hunt prey under the leadership of higher-ranking wolves [18].
For optimization problems, finding the final position of the prey is a prerequisite for obtaining the global optimal solution. After clear division of labour, the positions of each level of grey wolves are firstly judged, then the ω wolves surround and attack the prey under the leadership of the α, β, and δ wolves.
D = | C X p ( t ) X ( t ) | X ( t + 1 ) = X p ( t ) + A D
where Xp(t) is the position of the prey; X(t) is the position of the grey wolf individual at the t-th iteration; and A and C are coefficient vectors.
The hunting process of grey wolves is guided by α, β, and δ wolves. Position updating of grey wolf individuals can be described as
D α = | C 1 X α ( t ) X ( t ) | D β = | C 2 X β ( t ) X ( t ) | D δ = | C 3 X δ ( t ) X ( t ) |
where Dα, Dβ, and Dδ are the distance between the candidate and optimal grey wolves after t iterations; C1, C2, and C3 are random coordinate coefficients; and Xα(t), Xβ(t), and Xδ(t) are the position vectors of the current α, β, and δ wolves.
The movement direction of each grey wolf is
X 1 = X α ( t ) A 1 D α X 2 = X β ( t ) A 2 D β X 3 = X δ ( t ) A 3 D δ
After the t + 1 iteration, the position of grey wolf is
X ( t + 1 ) = ( X 1 + X 2 + X 3 ) / 3

3. Fault Statistics of Pressure Regulator in Field

In actual production, pressure regulators seldom break down and are generally repaired immediately to resume production. Moreover, destructive fault testing is not allowed at the production site. Therefore, it is difficult to obtain enough fault data of the pressure regulator to support the training and testing of machine learning models. Hence, numerical simulation is used to acquire field characteristic parameters of pressure regulators and to establish the basic fault dataset.

3.1. Fault Data of Pressure Regulator in Field

A total of 68 actual pressure regulator faults were counted, including 15 cases of gasket damage, 10 cases of foreign object blocking, 12 cases of external leakage caused by aging and failure of sealing parts, 7 cases of sleeve jamming by impurities, 3 cases of connection column damage, and the others are mainly electrical faults (Figure 1).
Foreign object blocking and sleeve jamming by impurities make the sleeve irremovable, which can be directly observed from the travel indicator. Damage of connection column leads to a complete loss of both the valve core and seat, making the pressure regulator a straight-through structure that losses the capability of pressure regulation. Therefore, numerical modelling in this work mainly focuses on two faults, i.e., internal leakage caused by gasket damage and external leakage caused by aging and failure of sealing parts.

3.2. Physical Model and Meshing

According to the geometry of actual pressure regulators, the gas flow space of the regulator is filled using the SolidWorks 2022 software, obtaining the fluid domain and fluid boundaries (Figure 2). Internal leakage is achieved by setting a square notch on the gasket, and external leakage is simulated by setting a leakage hole near the seal.
The obtained geometric model of the internal flow field of the pressure regulator is imported into the Workbench meshing module (Figure 3). The overall grid size is set to be 0.006 m. As the flow condition at the sleeve and core of the valve drastically changes, the mesh are densified at these locations, with a grid size of 0.002 m. Additionally, an expansion layer is set at the boundaries to better simulate the flow boundary layer. The final number of mesh nodes obtained is 237,259.

3.3. Simulation Settings

Due to the throttling effect of natural gas, the energy equation needs to be solved. In turbulent flow model selection, the Realizable k-epsilon model achieves consistent Reynolds stress with actual turbulent flow; thus, we chose the Realizable k-epsilon model as the turbulent flow model, with the standard wall function employed. Gas composition is set based on the actual composition of natural gas. The inlet is a mass flow boundary and the outlet is a pressure exit boundary. The SIMPLEC algorithm is taken to solve the model. The turbulent kinetic energy and turbulent dissipation rate are calculated using the second-order upwind scheme to achieve second-order accuracy.
By numerical simulation, characteristic parameters of the pressure regulator flow field under normal, internal leakage, and external leakage conditions are obtained. Monitoring points are set at 0.5 m upstream and downstream of the valve port. Then, 72 sets of temperature, pressure, velocity, and density data at each monitoring point under different fault modes, opening degrees, inlet flow rates, and outlet pressures are obtained, forming a foundational dataset for fault diagnosis of pressure regulators.

4. Fault Diagnosis of Pressure Regulators

4.1. The GWO-SVM Model

When the SVM model is optimized by GWO, the penalty factor C and kernel function parameter γ are mapped into position parameters of grey wolf individuals to generate α, β, and δ wolves, further updating the position of omega wolves. Next, continuous iterative optimization is performed until convergence conditions are met. Then the position of the α wolf is the output as the optimal solution for penalty factor and kernel function parameters. The SVM classification model is rebuilt using this optimal solution to obtain prediction results. As shown in Figure 4, implementation of the GWO-SVM model proceeds as follows:
(1) Preprocess the data of the regulator and divide the data into the training set and test set at a particular ratio.
(2) Initialize the number and position of the wolf packs, as well as the maximum iteration number, then set the optimization range of C and γ in the SVM. In optimization, the position of the α wolf represents a feasible solution of the parameter combination.
(3) Before the maximum iteration number is reached, the α, β, and δ wolves estimate the position of the prey. The position vectors of α, β, and δ wolves are calculated. Based on fitness, three optimal individuals and their historical optimal position X1 + X2 + X3 are determined and the location of the prey is updated.
(4) Repeat the above step and update the positions of the grey wolves until the termination condition is met or the fitness threshold is reached. Then output the position of the alpha wolf as penalty factor C and kernel function parameters γ to build the SVM model.

4.2. Data Preprocessing

Insufficient feature data dimension may be unable to cover potential hidden patterns or information, leading to neglect of important details and thus limiting the performance of fault identification models. Moreover, information loss in data makes the model highly sensitive to minor changes in input data, causing instability in recognition of pressure regulator faults.
Feature engineering is a common data preprocessing method that improves model performance by extracting, transforming, and combining features from raw data. Feature combination integrates multiple related features to enable the model to capture nonlinear relationships and interaction effects in data, which reflects the physical properties of the system better, thereby enhancing prediction accuracy. As shown in Table 1, this work supplements the original data using feature combination methods. A total of 18 combined features are obtained.

4.3. Selection of Characteristic Parameter

Characteristic parameter selection is the process of identifying relevant features and removing irrelevant or redundant characteristic parameters to identify a subset of features that can effectively describe the problem. In this work, the improved distance evaluation (IDE) method is used to rank the features in Table 1 and to select the appropriate feature subset as input for the machine learning classifier. The distance evaluation method assesses the classification contribution of features based on the distance or similarity between different samples, then returns a score for each feature. The feature score ranges from 0 to 1, where a higher score indicates greater contribution for classification and more information that helps to distinguish the categories. A lower score indicates less contribution and irrelevant features may interfere in the learning process, further deteriorating the predictive performance of the machine learning model. More detailed information regarding the IDE method is given elsewhere [19,20]. Features with scores exceeding 0.5 are selected as input for the subsequent classification model.
To avoid misjudgment of model performance caused by information leakage, nested cross-validation with ensemble feature selection is adopted. Initially, the training set is divided into k folds. IDE feature selection and model training are performed on k − 1 fold and model performance is evaluated on the i-th fold. Then all folds are cycled to obtain the average performance of cross-validation. The average standard deviations of five-fold cross-validation of GWO-SVM include RMSE = 0.1410 ± 0.0042, R2 = 0.9968 ± 0.0006, MAPE = 10.87 ± 0.35, indicating that the fitting process of the model in the training set is stable. Next, feature selection is carried out on the complete training set. In this work, F7, F8, F4, F15, F22, F2, and F1 are selected as the input features of the model.

4.4. Performance Verification

To demonstrate the performance of the GWO-SVM model, three evaluation indicators are introduced to evaluate its prediction performance, namely root mean square deviation (RMSE), coefficient of determination (R2), and mean absolute percentage error (MAPE).
RMSE = 1 n i = 1 n ( Y i exp Y i pred ) R 2 = 1 i = 1 n ( Y i exp Y i pred ) 2 i = 1 n ( Y i pred Y ¯ ) 2 MAPE = 1 n i = 1 n Y i exp Y i pred Y i exp × 100 %
Five other parallel models are established to verify the fitting ability of the GWO-SVM model for fault mode recognition of pressure regulators, including traditional SVM, GA-SVM, SSA-SVM, WOA-SVM, and BES-SVM. The characteristics of each optimization algorithm are as follows.
Genetic algorithm (GA) [21]: A genetic algorithm is a random global search optimization method that adjusts the position of individuals by simulating natural selection and genetic behaviours such as replication, crossover, and variation, and passes it on from generation to generation. Finally, it converges to a group of individuals that is most suitable for the environment, so as to find the optimal solution of the problem.
Sparrow search algorithm (SSA) [22]: It is primarily inspired by the foraging and anti-predation behaviours of sparrows. In foraging, the population is divided into discoverers and followers. The discoverers are responsible for finding food, while the followers use the discoverers to obtain food and simultaneously monitor the discoverers. Additionally, when the sparrow population senses danger, they engage in anti-predation.
Whale optimization algorithm (WOA) [23]: It mimics the group behaviour of whales and the bubble netting technique. The position of each whale represents a viable solution. In prey hunting, each whale exhibits two behaviours: one is to encircle the prey, where all whales move towards the prey, and the other is bubble netting where the whales swim in a circular pattern and release bubbles to drive away the prey.
Bald eagle search algorithm (BES) [24,25]: By simulating the fish hunting behaviour of bald eagles, this algorithm has advantages of strong convergence, few parameters, and easy implementation. According to the hunting strategy and social behaviour of bald eagles, the algorithm is mainly divided into three stages: selection, searching, and diving.
The relationship between pressure regulator failure mode and parameters such as temperature, pressure, and flow velocity is not a simple one-to-one correspondence. It is insufficient to describe the complex failures modes including internal and external leakage from the perspective of these parameters. Therefore, the direct judgement of pressure regulator failure mode using machine learning may not be accurate. In this work, machine learning is employed to calculate parameters such as temperature, pressure, flow rate, and velocity before and after the valve under normal, internal leakage, and external leakage conditions. The actual operating parameters are then compared with predicted values under different fault states (the normal condition can be considered a special type of fault condition) to determine the type of pressure regulator failure mode. The population size for each model is set to be 50, and the number of iterations is set to be 500. SVM is optimized using the above algorithms to predict the outlet velocity of the pressure regulator. A performance comparison is shown in Table 2.
It can be seen that RMSE of the GWO-SVM model is only 0.1243, which is the lowest among all models, indicating that the dispersion degree of GWO-SVM prediction is the smallest. R2 of the GWO-SVM model is 0.9977, which proves that it has the best fitting performance and the strongest correlation between predicted and simulated outlet velocities. In addition, MAPE of the GWO-SVM model is also the lowest, indicating that deviation between the predicted and simulated values of this model is the smallest. In short, the GWO-SVM model has the highest prediction accuracy.
Wilcoxon rank sum test is employed to compare the difference in distribution between two independent samples. By merging two sets of data and performing rank sorting, the difference in rank sum is calculated to verify whether there is a significant difference between the two sets of data. Table 3 gives the statistical results of RMSE on the Wilcoxon rank sum test. In this table, the symbol • indicates that the algorithm in the row is significantly superior to that in the corresponding column, while the symbol ◦ indicates that the algorithm in the row is superior to the algorithm in the corresponding column, with the significance level set to be p = 0.1. The significance level of the diagonal is p = 0.05. As shown in Table 3, in terms of RMSE, GWO-SVM is superior to SSA-SVM and WOA-SVM, and it is significantly superior to unoptimized SVM, GA-SVM, and BES-SVM.

5. Improvement of GWO-SVM by Autoencoder (AE)

Residual statistical analysis is a common fault detection method. By comparing the difference between machine learning prediction and actual values under different fault modes, it takes the fault state with the smallest residual as the final judgement. This method has advantages of simple calculation and good interpretability. However, as residual statistical analysis directly focuses on data deviation, it is highly sensitive to abnormal values and may produce false positives or false negatives in the presence of noise and data changes. In this work, an autoencoder (AE) is used to mine the discriminative key features from the samples and determine the fault mode of the test samples. A machine learning model for the fault identification of pressure regulators based on the AE-GWO-SVM algorithm is constructed.
In the AE-GWO-SVM algorithm, GWO-SVM is used to predict the key parameters of the pressure regulator flow field under different fault modes with varying openings and boundary conditions. The AE technology is then employed to handle the difference between predicted and actual values and achieves the detection of abnormal features.
A single-layer sparse autoencoder is adopted for feature compression and reconstruction. The encoder–decoder employs a symmetrical structure, with the bottleneck dimension set to be 4 to achieve effective compression while maintaining key information. The activation function of the hidden layer is logsig, and the output layer uses linear activation for continuous value reconstruction. The mean squared error (MSE) is used as reconstruction loss in training. L2 weight regularization and sparse constraints are applied to prevent overfitting and encourage sparse activation of the hidden units. The maximum number of training iterations is set to be 400.
Two parallel AE networks are trained, where AE1 is responsible for distinguishing the normal and fault states of the pressure regulator, and AE2 is used for identifying internal leakage and external leakage. The combination of AE1 and AE2 realizes the classification of three operating conditions, normal, internal leakage, and external leakage, as shown in Figure 5.
(1) Based on the numerical simulation of pressure regulator fault modes, temperature, pressure, fluid velocity, density, and other parameters at monitoring points upstream and downstream of the pressure regulator are measured and recorded under different fault modes and different boundary conditions.
(2) The data are divided into training set and test set at an 8:2 ratio, and the downstream gas velocity is obtained by the GWO-SVM model in the training set.
(3) Construction of the AE network is conducted through unsupervised pre-training and supervised fine-tuning. Pre-training learns the complex nonlinear transformations of input signals, while the fine-tuning process enhances the network recognition accuracy. These two processes ensure that the AE network can extract effective information from feature vectors composed of predicted values and establish a nonlinear mapping relationship between feature vectors and actual categories.
(4) Test the performance of the trained AE network and output fault classification results of the pressure regulator.

6. Experimental Validation

An experimental platform was designed and constructed to carry out the pressure regulator fault diagnosis experiments (Figure 6a). The experimental medium is compressed air at 1 MPa, which is stored in 8 series of 10-m3 air tanks. The gas is introduced into the experimental setup through a high-pressure flexible hose. At the inlet, there are temperature and pressure transmitters, as well as a gas turbine flow metre. The axial pressure regulator (Figure 6b) is located downstream of the filter separator, with a flow diameter of 50 mm, and equipped with a silencer. The temperature transmitter, pressure transmitter, and gas turbine flow metre are also installed downstream of the pressure regulator. Compressed air passes through a spring-loaded safety valve and a ball valve, then gets released into the atmosphere. Internal and external leakage experiments of compressed gas were conducted at different pressures and flow rates. Internal leakage was achieved by cutting the valve gasket (as shown in Figure 6c), and external leakage was realized by loosening the valve bolts.
To assess the performance of the AE-GWO-SVM model in the classification of pressure regulator fault, a direct SVM model is established as a parallel reference. The accuracy index is introduced to estimate the classification capacity of the models.
A C C = T P + T N T P + T N + F P + F N × 100 %
Fault tests of pressure regulators under different operating conditions were conducted, and the fault modes are identified using conventional SVM and AE-GWO-SVM models. The accuracy rate of direct classification by SVM is only 60.4%, while that of the AE-GWO-SVM model reaches up to 86.7%, achieving an improvement of 26.3%. This demonstrates the effectiveness of the AE-GWO-SVM model in diagnosing pressure regulator faults. Expanding the basic dataset size and improving data quality will further enhance the fault diagnosis accuracy of the AE-GWO-SVM model.

7. Conclusions

For traditional periodic maintenance of pressure regulators in gas transmission and distribution stations, the disassembly of equipment is required. It affects production and easily leads to “under-maintenance” and “over-maintenance”. In response, this work proposes an optimized support vector machine model using the grey wolf algorithm. By directly utilizing parameters collected from the SCADA system, including opening degree, temperature, pressure, and flow rate downstream and upstream of the regulator, this model achieves the automatic diagnosis of internal leakage and external leakage of pressure regulators. This model optimizes the penalty factor C and kernel function parameter γ of the SVM using the grey wolf optimizer, obtaining 18 composite features beyond the original data through feature engineering. An improved distance evaluation (IDE) is employed to select the high-priority features. Given the difficulty in obtaining on-site pressure regulator faults to establish a basic dataset for machine learning, numerical simulations on normal, internal leakage, and external leakage of pressure regulators are performed. Compared with SVM models optimized by other swarm intelligence optimization algorithms such as genetic algorithm (GA), sparrow search algorithm (SSA), whale optimization algorithm (WOA), and bald eagle search (BES), the GWO-SVM model shows the best performance. Moreover, an autoencoder (AE) is used to avoid interference by abnormal data, which significantly improves the fault identification process of the GWO-SVM model. An experimental platform was constructed to conduct fault diagnosis experiments for pressure regulators. The results show that compared with direct classification by SVM, the AE-GWO-SVM model improves the accuracy of fault diagnosis from 60.4% to 86.7%, demonstrating the effectiveness of the proposed model in pressure regulator fault diagnosis.

Author Contributions

Conceptualization, S.H. and Z.D.; methodology, Z.D.; software, K.Z. and Q.W.; validation, K.Z. and Q.W.; formal analysis, J.L., Q.W. and Y.Q.; resources, Z.D. and Y.Q.; data curation, J.L. and Y.Q.; writing—original draft preparation, S.H. and K.Z.; writing—review and editing, Z.D. and W.L.; supervision, Z.D.; funding acquisition, Z.D. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Scientific Research and Technological Development Project of PetroChina Company Limited (2022ZS05), National Natural Science Foundation of China (Grant No. 52104066).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare that this study received funding from Scientific Research and Technological Development Project of PetroChina Company Limited. The funder was not involved in the study design, collection, analysis, interpretation of data, the writing of this article or the decision to submit it for publication.

References

  1. Zafer, N.; Luecke, G.R. Stability of gas pressure regulators. Appl. Math. Model. 2008, 32, 61–82. [Google Scholar] [CrossRef]
  2. Xu, L.; Wen, S.; Huang, H.; Tang, Y.; Wang, Y.; Pan, C. Corrosion failure prediction in natural gas pipelines using an interpretable XGBoost model: Insights and applications. Energy 2025, 325, 136157. [Google Scholar] [CrossRef]
  3. Lou, Z.; Shen, D.; Wang, Y. Preliminary-summation-based principal component analysis for non-Gaussian processes. Chemom. Intell. Lab. Syst. 2015, 146, 270–289. [Google Scholar] [CrossRef]
  4. Krechkovs’ka, H.V.; Mytsyk, A.B.; Student, O.Z.; Nykyforchyn, H.M. Diagnostic Indications of the In-Service Degradation of the Pressure Regulator of a Gas-Transportation System. Mater. Sci. 2016, 52, 233–239. [Google Scholar] [CrossRef]
  5. Wang, T.; Qi, J.; Xu, H.; Wang, Y.; Liu, L.; Gao, D. Fault diagnosis method based on FFT-RPCA-SVM for Cascaded-Multilevel Inverter. ISA Trans. 2016, 60, 156–163. [Google Scholar] [CrossRef]
  6. Sapena-Bano, A.; Pineda-Sanchez, M.; Puche-Panadero, R.; Martinez-Roman, J.; Matic, D. Fault Diagnosis of Rotating Electrical Machines in Transient Regime Using a Single Stator Current’s FFT. IEEE Trans. Instrum. Meas. 2015, 64, 3137–3146. [Google Scholar] [CrossRef]
  7. Liu, H.; Li, L.; Ma, J. Rolling Bearing Fault Diagnosis Based on STFT-Deep Learning and Sound Signals. Shock. Vib. 2016, 2016, 1–12. [Google Scholar] [CrossRef]
  8. Chen, J.; Li, Z.; Pan, J.; Chen, G.; Zi, Y.; Yuan, J.; Chen, B.; He, Z. Wavelet transform based on inner product in fault diagnosis of rotating machinery: A review. Mech. Syst. Signal Process. 2016, 70–71, 1–35. [Google Scholar] [CrossRef]
  9. Mejia-Barron, A.; Valtierra-Rodriguez, M.; Granados-Lieberman, D.; Olivares-Galvan, J.C.; Escarela-Perez, R. The application of EMD-based methods for diagnosis of winding faults in a transformer using transient and steady state currents. Measurement 2018, 117, 371–379. [Google Scholar] [CrossRef]
  10. Li, Y.; Xu, M.; Wei, Y.; Huang, W. An improvement EMD method based on the optimized rational Hermite interpolation approach and its application to gear fault diagnosis. Measurement 2015, 63, 330–345. [Google Scholar] [CrossRef]
  11. Wang, H.; Ji, Y. A Revised Hilbert–Huang Transform and Its Application to Fault Diagnosis in a Rotor System. Sensors 2018, 18, 4329. [Google Scholar] [CrossRef] [PubMed]
  12. Wang, Y.; Li, H.; Ye, P. Fault Feature Extraction of Hydraulic Pump Based on CNC De-noising and HHT. J. Fail. Anal. Prev. 2014, 15, 139–151. [Google Scholar] [CrossRef]
  13. Hao, X.; Liu, Q.; Yang, G.; Du, Y. Using the EMD method to determine fault criterion for medium-low pressure gas regulators. J. Therm. Sci. 2015, 24, 557–561. [Google Scholar] [CrossRef]
  14. Hao, X.; An, X.; Wu, B.; He, S. Application of a support vector machine algorithm to the safety precaution technique of medium-low pressure gas regulators. J. Therm. Sci. 2018, 27, 74–77. [Google Scholar] [CrossRef]
  15. Tian, S.; Bian, X.; Tang, Z.; Yang, K.; Li, L. Fault Diagnosis of Gas Pressure Regulators Based on CEEMDAN and Feature Clustering. IEEE Access 2019, 7, 132492–132502. [Google Scholar] [CrossRef]
  16. Akinola, I.T.; Sun, Y.; Adebayo, I.G.; Wang, Z. Daily peak demand forecasting using Pelican Algorithm optimised Support Vector Machine (POA-SVM). Energy Rep. 2024, 12, 4438–4448. [Google Scholar] [CrossRef]
  17. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
  18. Muro, C.; Escobedo, R.; Spector, L.; Coppinger, R. Wolf-pack (Canis lupus) hunting strategies emerge from simple rules in computational simulations. Behav. Process. 2011, 88, 192–197. [Google Scholar] [CrossRef]
  19. Lei, Y.; He, Z.; Zi, Y.; Hu, Q. Fault diagnosis of rotating machinery based on multiple ANFIS combination with GAs. Mech. Syst. Signal Process. 2007, 21, 2280–2294. [Google Scholar] [CrossRef]
  20. Motahari-Nezhad, M.; Jafari, S.M. Bearing remaining useful life prediction under starved lubricating condition using time domain acoustic emission signal processing. Expert Syst. Appl. 2021, 168, 114391. [Google Scholar] [CrossRef]
  21. Wang, Z.; Kong, F.; Chan, W.; Yue, S. Study on the effect of wind direction on the thermal performance of cavity receiver for trough solar system: Artificial neural network approach based on genetic algorithm. Energy 2025, 320, 135287. [Google Scholar] [CrossRef]
  22. Xue, J.; Shen, B. A novel swarm intelligence optimization approach: Sparrow search algorithm. Syst. Sci. Control. Eng. 2020, 8, 22–34. [Google Scholar] [CrossRef]
  23. Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
  24. Alsattar, H.A.; Zaidan, A.A.; Zaidan, B.B. Novel meta-heuristic bald eagle search optimisation algorithm. Artif. Intell. Rev. 2019, 53, 2237–2264. [Google Scholar] [CrossRef]
  25. Ramadan, A.; Kamel, S.; Hassan, M.H.; Khurshaid, T.; Rahmann, C. An Improved Bald Eagle Search Algorithm for Parameter Estimation of Different Photovoltaic Models. Processes 2021, 9, 1127. [Google Scholar] [CrossRef]
Figure 1. Failures of pressure regulators in field.
Figure 1. Failures of pressure regulators in field.
Automation 06 00046 g001
Figure 2. Physical model of pressure regulator and its fluid domain.
Figure 2. Physical model of pressure regulator and its fluid domain.
Automation 06 00046 g002
Figure 3. Mesh of the flow area inside the pressure regulator.
Figure 3. Mesh of the flow area inside the pressure regulator.
Automation 06 00046 g003
Figure 4. Implementation process of GWO-SVM model.
Figure 4. Implementation process of GWO-SVM model.
Automation 06 00046 g004
Figure 5. Implementation process of AE-GWO-SVM model.
Figure 5. Implementation process of AE-GWO-SVM model.
Automation 06 00046 g005
Figure 6. Experimental platform for pressure regulator: (a) experimental platform; (b) pressure regulator; and (c) cutting valve gasket to achieve internal leakage.
Figure 6. Experimental platform for pressure regulator: (a) experimental platform; (b) pressure regulator; and (c) cutting valve gasket to achieve internal leakage.
Automation 06 00046 g006
Table 1. Combined features obtained from original features and feature engineering.
Table 1. Combined features obtained from original features and feature engineering.
Raw FeatureCombination Features
F1 = Opening F 6 = F 2 / F 4 F 12 = F 2 F 1 F 18 = F 2 × F 3 2
F2 = Temperature F 7 = F 1 × F 3 F 13 = F 2 / F 4 F 19 = F 2 × F 3
F3 = Flow rate F 8 = F 4 F 3 F 14 = F 1 F 5 F 20 = F 2 × F 4
F4 = Pressure F 9 = F 1 × F 2 F 15 = F 5 / F 6 F 21 = F 4 × F 5
F5 = Density F 10 = F 4 / F 3 F 16 = F 2 × F 1 2 F 22 = ln ( F 4 )
F 11 = F 1 F 4 F 17 = F 1 × ln ( F 2 ) F 23 = F 4 × F 2 2
Table 2. Comparison of SVM models optimized by different algorithms.
Table 2. Comparison of SVM models optimized by different algorithms.
Evaluation IndicatorRMSER2MAPE (%)
Not optimized0.37400.978430.93
GA-SVM0.29130.983620.15
SSA-SVM0.15910.991414.87
WOA-SVM0.15790.996312.45
BES-SVM0.55380.948327.12
GWO-SVM0.12430.997710.15
Table 3. Summary of Wilcoxon rank sum test for RMSE of GWO-SVM and other algorithms.
Table 3. Summary of Wilcoxon rank sum test for RMSE of GWO-SVM and other algorithms.
Evaluation IndicatorNot OptimizedGA-SVMSSA-SVMWOA-SVMBES-SVMGWO-SVM
Not optimized-
GA-SVM-
SSA-SVM-
WOA-SVM-
BES-SVM -
GWO-SVM-
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Hu, S.; Dai, Z.; Zhang, K.; Liu, J.; Wen, Q.; Qiu, Y.; Li, W. Intelligent Fault Diagnosis of Gas Pressure Regulator Based on AE-GWO-SVM Algorithm. Automation 2025, 6, 46. https://doi.org/10.3390/automation6030046

AMA Style

Hu S, Dai Z, Zhang K, Liu J, Wen Q, Qiu Y, Li W. Intelligent Fault Diagnosis of Gas Pressure Regulator Based on AE-GWO-SVM Algorithm. Automation. 2025; 6(3):46. https://doi.org/10.3390/automation6030046

Chicago/Turabian Style

Hu, Shunyuan, Zhixiang Dai, Keqing Zhang, Jingjian Liu, Qing Wen, Yanhua Qiu, and Weidong Li. 2025. "Intelligent Fault Diagnosis of Gas Pressure Regulator Based on AE-GWO-SVM Algorithm" Automation 6, no. 3: 46. https://doi.org/10.3390/automation6030046

APA Style

Hu, S., Dai, Z., Zhang, K., Liu, J., Wen, Q., Qiu, Y., & Li, W. (2025). Intelligent Fault Diagnosis of Gas Pressure Regulator Based on AE-GWO-SVM Algorithm. Automation, 6(3), 46. https://doi.org/10.3390/automation6030046

Article Metrics

Back to TopTop