Method and system for online prediction of remaining life of gas pressure regulator based on operation data
By using segmented envelope extraction and multidimensional health indices, combined with Wiener degradation modeling and Kalman filtering, the problems of large operating condition interference and incomplete health status representation in the online monitoring of gas pressure regulators are solved, enabling accurate estimation of remaining life points and predictive operation and maintenance decisions.
Patent Information
- Application Number
- CN202611674123.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-28
- Publication Date
- 2026-11-27
AI Technical Summary
Existing online monitoring methods for gas pressure regulators cannot effectively distinguish heterogeneous degradation modes, are highly susceptible to operating condition interference, and cannot output remaining life point estimates and probability confidence intervals, thus failing to support predictive maintenance decisions.
By extracting segmented envelopes and constructing multidimensional health indices, and using Wiener degradation modeling and Kalman filtering to achieve online state estimation and parameter updates, the remaining lifetime point estimate and confidence interval are finally output.
It effectively suppresses operating condition interference, accurately distinguishes heterogeneous degradation modes, and realizes the mode conversion from regular offline maintenance to real-time monitoring during operation, supporting predictive operation and maintenance decisions.
Smart Images

Figure CN123179748A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of equipment condition monitoring and predictive maintenance technology, and in particular to a method and system for online prediction of the remaining life of a gas pressure regulator based on operating data. Background Technology
[0002] Urban gas pressure regulating devices are core infrastructure for pipeline pressure control. Their performance degradation, such as diaphragm aging, valve seat wear, and spring fatigue, directly threatens gas supply safety and public safety. Once out of control, they can easily cause regional gas outages or even gas leaks, with consequences that are both social and economic. GB / T 51474-2025, "Technical Standard for Safety of Operation, Maintenance and Emergency Repair of Urban Gas Facilities," has explicitly made predictive maintenance of gas pressure regulators an industry guideline. Currently, the maintenance of gas pressure regulators is mainly based on offline detection, meaning that repairs are only arranged after non-compliance is discovered during equipment shutdown or periodic disassembly and inspection, lacking a clear online judgment method. Although some studies have proposed online fault judgment methods based on operational data, which can identify whether equipment has failed, these methods remain at the fault detection level and cannot output the remaining lifespan estimate and its probability confidence interval. Therefore, they cannot support predictive maintenance decisions, i.e., they cannot answer the core questions in maintenance scheduling: how much longer can the equipment be used, and when is the optimal time to schedule maintenance?
[0003] Existing online monitoring methods based on operational data have significant shortcomings in characterizing health status. The degradation of gas pressure regulators involves multiple heterogeneous degradation modes, such as diaphragm or spring performance decline and valve seat or sealing surface wear. However, existing methods often use a single health indicator for characterization, failing to distinguish these heterogeneous degradation modes. This masks early degradation signals and makes it difficult to comprehensively reflect the true health status of the equipment. Furthermore, pressure regulator operating data is significantly affected by inlet pressure fluctuations and changes in flow conditions. Directly using raw outlet pressure data makes it difficult to extract the true degradation trend. The interplay between operating condition interference and equipment degradation further reduces the accuracy of health status assessment.
[0004] To address the aforementioned issues, this application provides an online prediction method and system for the remaining life of gas pressure regulators based on operational data. It suppresses operational disturbances through segmented envelope extraction, constructs a multi-dimensional health index of pressure stabilization accuracy and shut-off pressure to distinguish heterogeneous degradation modes, and employs Wiener degradation modeling and Kalman filtering to achieve online state estimation and parameter updates. Finally, it outputs the remaining life point estimate and confidence interval through an inverse Gaussian first-arrival time model, thereby supporting predictive maintenance decisions. Summary of the Invention
[0005] Existing technologies suffer from significant operational interference, incomplete health status representation, and the inability to update models online. They can only determine whether a fault has occurred but cannot output a remaining lifespan estimate or its probability confidence interval, thus failing to support predictive maintenance decisions. Therefore, this invention first proposes an online prediction method for the remaining lifespan of gas pressure regulators based on operational data, specifically including the following steps: Step S1: Collect continuous operating data of a single gas pressure regulator. The continuous operating data includes inlet pressure, outlet pressure and flow rate. Starting from the first recording time, divide the data into non-overlapping observation segments with a fixed width of calendar days as the step size. Each segment is a degradation tracking unit. Step S2: For the observation segment, divide it into multiple segments based on the percentile of the inlet pressure and calculate the ratio of the mean values of adjacent segments. If any ratio reaches the set threshold, calculate the upper and lower envelopes for the flow rate and outlet pressure data for each segment. Otherwise, mix all the data and calculate the envelope uniformly. For observations with flow rates greater than zero within the segment, divide them into multiple compartments according to the percentile and record the minimum and maximum values of the outlet pressure for each compartment. Use smooth spline interpolation to fit the continuous lower and upper envelopes. Extract the minimum and maximum values of the outlet pressure in the neighborhood of the set lower and higher percentiles of the flow rate to suppress operating condition interference. Step S3, the construction of the minimum and maximum values includes a multi-dimensional health index of the pressure regulation accuracy health index and the shut-off pressure health index. The pressure regulation accuracy health index is determined based on the maximum deviation of the extreme value of the outlet pressure in the section from the healthy reference pressure and the pressure regulation accuracy tolerance. The shut-off pressure health index is determined based on the median of the outlet pressure under near-zero flow conditions in the section and the shut-off pressure failure threshold, so as to capture the heterogeneous degradation signals of different components respectively. Step S4: The health indicators are mapped to the unbounded real domain by performing Logit transformation on each indicator. A sequential Bayesian Wiener degradation model is established, which includes time-scale nonlinear curvature parameters, degradation drift rate, process noise standard deviation and observation noise standard deviation. The model state equation introduces the increment of the nonlinear time-scale transformation function, and the observation equation uses the noisy observations in Logit space to represent the true degradation state. Step S5: Given the model parameters, Kalman filtering is used to recursively estimate the real degradation state in real time to obtain the current filtered state estimate and its variance. The model parameters are then updated online by performing maximum likelihood estimation. In this process, grid search is performed on the time-scale nonlinear curvature parameter, and a nonlinear optimization algorithm is used to minimize the negative log-likelihood function for the degradation drift rate, process noise standard deviation, and observation noise standard deviation. A multi-starting-point strategy is used to select the globally optimal parameter combination. Step S6: Based on the filtered state estimate and its variance, the remaining lifetime is predicted using the inverse Gaussian first-arrival time model. The remaining lifetime samples are generated by Monte Carlo sampling and mapped back to the actual service time scale by inverse time scale transformation. The median of the samples is used as the remaining lifetime point estimate, and the set quantile is used as the confidence interval output.
[0006] Furthermore, in step S2, the inlet pressure is divided into multiple levels based on the percentile, including low, medium and high levels. The ratio of the average values of adjacent levels includes the ratio of the average value of medium level to the average value of low level and the ratio of the average value of high level to the average value of medium level. The threshold value is set to 2.0.
[0007] Furthermore, in step S3, the health reference pressure is taken as the median of the outlet pressure segments under normal flow conditions in a set number of observation segments before the equipment is put into operation, and the pressure regulation accuracy tolerance is the product of the pressure regulator's pressure regulation accuracy and the health reference pressure.
[0008] Furthermore, in step S3, the near-zero flow condition is the condition where the flow rate is not greater than the set minimum value or the flow rate is the minimum value within the segment, and the shut-off pressure failure threshold is determined by the properties of the pressure regulator itself.
[0009] Furthermore, in step S4, the time-scale nonlinear curvature parameter controls the degree of degradation acceleration, the nonlinear time-scale transformation function takes the number of years of equipment service as the independent variable, and the variance of the process noise in the state equation is proportional to the increment of the nonlinear time-scale transformation function.
[0010] Furthermore, in step S5, the Kalman filter includes a prediction step and an update step. The prediction step calculates the prior estimate and prediction error variance at the current time based on the posterior estimate from the previous time step and the increment of the nonlinear time scale transformation function. The update step corrects the prior estimate based on the information covariance and Kalman gain to obtain the posterior estimate and estimation error variance.
[0011] Furthermore, in step S5, the grid search uniformly selects multiple candidate values within a set interval. For each candidate value, a quasi-Newton algorithm is used to minimize the negative log-likelihood function in the space formed by the degradation drift rate, the logarithm of the process noise standard deviation, and the logarithm of the observation noise standard deviation. The candidate value that minimizes the global negative log-likelihood and its corresponding parameters are selected as the final model parameters.
[0012] Furthermore, in step S6, the failure threshold of the inverse Gaussian first arrival time model is determined by the health index failure threshold through Logit transformation. The remaining life sample generated by Monte Carlo sampling is mapped back to the actual service time scale through the inverse function corresponding to the time scale nonlinear curvature parameter, and the 5th percentile and 95th percentile are used as the lower and upper limits of the 90% confidence interval.
[0013] According to another aspect of the present invention, an online prediction system for the remaining life of a gas pressure regulator based on operational data is provided, applied to the above-described method, comprising: The data acquisition and segmentation module is used to collect continuous operating data of the gas pressure regulator. The continuous operating data includes inlet pressure, outlet pressure and flow rate. Starting from the first recording time, the data is divided into non-overlapping observation segments with a fixed width of calendar days as the step size. Each segment is a degradation tracking unit. The envelope extraction module is used to divide the observation segment into multiple levels based on the percentile of the inlet pressure and calculate the ratio of the mean values of adjacent levels. If any ratio reaches the set threshold, the upper and lower envelopes are calculated for the flow and outlet pressure data for each level. Otherwise, all data are pooled and the envelope is calculated uniformly. For observations with flow greater than zero in the segment, the segments are divided into multiple compartments according to the percentile and the minimum and maximum values of the outlet pressure of each compartment are recorded. The continuous lower and upper envelopes are obtained by fitting with smooth spline interpolation. The minimum and maximum values of the outlet pressure are extracted in the neighborhood of the set lower and higher percentiles of the flow to suppress operating condition interference. The health index construction module is used to construct a multi-dimensional health index based on the lowest and highest values, including the pressure regulation accuracy health index and the shut-off pressure health index. The pressure regulation accuracy health index is determined based on the maximum deviation of the extreme value of the outlet pressure in the section from the health reference pressure and the pressure regulation accuracy tolerance. The shut-off pressure health index is determined based on the median outlet pressure under near-zero flow conditions in the section and the shut-off pressure failure threshold, so as to capture the heterogeneous degradation signals of different components respectively. The online prediction module maps health indicators to the unbounded real domain using Logit transformations. It establishes a sequential Bayesian Wiener degradation model incorporating time-scale nonlinear curvature parameters, degradation drift rate, process noise standard deviation, and observation noise standard deviation. The model's state equation incorporates the increment of a nonlinear time-scale transformation function, while the observation equation represents the true degradation state using noisy observations in Logit space. Given model parameters, Kalman filtering is used to recursively estimate the true degradation state in real time, obtaining the current filtered state estimate and its variance. Maximum likelihood estimation is then performed on the model parameters for online updates. This involves grid search for the time-scale nonlinear curvature parameters, and a nonlinear optimization algorithm to minimize the negative log-likelihood function for the degradation drift rate, process noise standard deviation, and observation noise standard deviation. A multi-starting-point strategy is employed to select the globally optimal parameter combination. Based on the filtered state estimate and its variance, an inverse Gaussian first-arrival time model is used to predict remaining lifetime. Monte Carlo sampling generates remaining lifetime samples, which are then mapped back to the actual service time scale via inverse time-scale transformation. The median of the samples is used as the remaining lifetime point estimate, and a set quantile is used as the confidence interval output.
[0014] Furthermore, the remaining life point estimate and confidence interval are used to formulate predictive maintenance decisions and risk assessments for gas pressure regulators.
[0015] Compared with the prior art, the beneficial effects of the present invention are as follows: Firstly, this invention addresses the problem that existing online monitoring methods are greatly affected by fluctuations in inlet pressure and changes in flow conditions, making it difficult to extract the true degradation trend. This application effectively suppresses operating condition interference by using fixed window segmentation, inlet pressure grading, envelope extraction, and flow setting percentile neighborhood extreme value extraction, thereby obtaining operating envelope characteristics that reflect the true degradation trend of the equipment and improving the accuracy of health status assessment. Secondly, in response to the problem that existing methods use a single health index and cannot distinguish between heterogeneous degradation modes such as diaphragm or spring performance decay and valve seat or sealing surface wear, this application constructs a multidimensional health index that includes a pressure regulation accuracy health index and a shut-off pressure health index. The two are modeled and predicted independently, and can capture early degradation signals of different components respectively, overcoming the shortcomings of a single index in distinguishing heterogeneous degradation modes. Thirdly, addressing the issues of existing models having fixed offline parameters, being unable to update online with new data, and only being able to determine whether a fault has occurred but unable to output remaining lifetime estimates and confidence intervals, this application utilizes sequential Bayesian Wiener degradation modeling, Kalman filter online state estimation, maximum likelihood parameter online updating, and inverse Gaussian first-arrival time model prediction. This allows the nonlinear curvature of the degradation rate to be automatically estimated from the data, adapting to various degradation modes from uniform aging to exponentially accelerated deterioration, and outputting remaining lifetime estimates and confidence intervals. This enables a mode shift from periodic offline maintenance to real-time monitoring during operation, supporting predictive maintenance decisions. Attached Figure Description
[0016] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0017] Figure 1 Flowchart of an online prediction method for the remaining life of a gas pressure regulator based on operational data; Figure 2 This is a schematic diagram of online monitoring data; Figure 3 This is a schematic diagram of the operating envelope of P2~Q in the embodiment; Figure 4 This is a diagram illustrating the trend of the health index. Figure 5 This is a schematic diagram of the Kalman filter prediction results; Figure 6This is a schematic diagram of an online prediction system for the remaining life of a gas pressure regulator based on operational data. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0019] The specific embodiments of the present invention will be described below.
[0020] Existing technologies, due to significant operational disturbances, incomplete health status representation, and the inability to update models online, can only determine whether a fault has occurred but cannot output a remaining lifetime estimate or its probability confidence interval, thus failing to support predictive maintenance decisions. This invention addresses these issues by using segmented envelope extraction to suppress operational disturbances, constructing a multidimensional health index to distinguish heterogeneous degradation modes, and employing Wiener degradation modeling and Kalman filtering to achieve online state estimation and parameter updates. Ultimately, it outputs a remaining lifetime estimate and its confidence interval, thereby resolving the problems of existing technologies failing to support predictive maintenance decisions due to significant operational disturbances, incomplete health status representation, and the inability to update models online.
[0021] Example 1 like Figure 1 The flowchart of the online prediction method for the remaining life of a gas pressure regulator based on operational data is shown in this invention. The method specifically includes the following steps: Step S1: Collect continuous operating data of a single gas pressure regulator. The continuous operating data includes inlet pressure, outlet pressure and flow rate. Starting from the first recording time, divide the data into non-overlapping observation segments with a fixed width of calendar days as the step size. Each segment is a degradation tracking unit.
[0022] refer to Figure 2 Schematic diagram of online monitoring data. Figure 2 (a) is the pressure before the gas regulator. Figure 2 (b) is the pressure after the gas regulator. Figure 2 (c) is the flow rate of the gas pressure regulator. Specifically, the inlet pressure P1, outlet pressure P2, and flow rate Q are set. Starting from the first record t0, and with a fixed width of W calendar days as the step size, non-overlapping observation segments are divided: ; Among them, the first k Analysis segment S kAs a degradation tracking unit, W is 14, and N is the total number of segments, determined by the data length. By segmenting the data into non-overlapping degradation tracking units through a fixed time window, a data foundation is laid for subsequent segment-by-segment extraction of degradation features and online model updates.
[0023] Step S2: For the observation segment, divide it into multiple levels based on the percentile of the inlet pressure P1 and calculate the ratio of the means of adjacent levels. If any ratio reaches a set threshold, calculate the upper and lower envelopes for the flow rate and outlet pressure P2 data for each level; otherwise, mix all data and calculate the envelope uniformly. For observations where the flow rate Q is greater than zero within the segment, divide it into multiple compartments based on the percentile and record the minimum and maximum values of the outlet pressure P2 for each compartment. Use smooth spline interpolation to fit continuous lower and upper envelopes. Extract the minimum and maximum values of the outlet pressure within the neighborhood of the set lower and higher percentiles of the flow rate to suppress operating condition interference. The segmentation based on the percentile of the inlet pressure P1 includes three levels: low, medium, and high. The ratio of the means of adjacent levels includes the ratio of the medium-level mean to the low-level mean and the ratio of the high-level mean to the medium-level mean. The set threshold is 2.0.
[0024] refer to Figure 3 The schematic diagram of the P2~Q running envelope is shown below.
[0025] Specifically, regarding segment S k Divide P1 into three levels—LowP1, MidP1, and HighP1—based on its n1st and n2th percentiles, and calculate the mean of each level as follows: , , .
[0026] ; like , If any ratio in the pool is ≥2.0, then the upper and lower envelopes of the (Q,P2) data within each of the three levels of P1 are calculated separately to form a three-level envelope; otherwise, all data are pooled together and the envelope is calculated uniformly. In this embodiment, n1 is set to 40 and n2 is set to 60.
[0027] For segment S k For all observations where Q > 0, divide Q into n equal parts. bin In the example, n intervals (warehouses) are defined. bin The value is 80. Record the minimum and maximum values of P2 for each warehouse. Use cubic smooth spline interpolation to fit the minimum value of P2 to its corresponding Q, the maximum value of P2 to its corresponding Q, and obtain the continuous lower envelope. and upper envelope : ; Furthermore, let Qp Let P represent the p-th percentile of the flow rate Q. Take the n3rd and n4th percentiles of Q, and find the lowest and highest values of P2 within their ±5% local neighborhoods, respectively. ; ; Where n3 is 10, and the n3rd percentile is Q. 0.1 n4 is 80, and the n4th percentile is Q. 0.8 By classifying inlet pressure P1, fitting the envelope of smooth spline interpolation in compartments, and extracting the extreme values of the percentile neighborhood of the flow rate setting, the interference of inlet pressure P1 fluctuations and flow rate changes on outlet pressure P2 is effectively suppressed, and operating envelope characteristics that reflect the true degradation trend of the equipment are obtained.
[0028] Step S3: Construct a multi-dimensional health index based on the minimum and maximum values, including a pressure regulation accuracy health index and a shut-off pressure health index. The pressure regulation accuracy health index is determined based on the maximum deviation of the outlet pressure P2 value within the section from the health reference pressure and the pressure regulation accuracy tolerance. The shut-off pressure health index is determined based on the median outlet pressure P2 under near-zero flow conditions within the section and the shut-off pressure failure threshold, to capture heterogeneous degradation signals of different components. The health reference pressure is the median of the outlet pressure P2 under all normal flow conditions in a predetermined number of observation sections after the equipment is put into operation. The pressure regulation accuracy tolerance is the product of the regulator's pressure regulation accuracy and the health reference pressure. The near-zero flow condition is the condition where the flow rate is no greater than a set minimum value or the flow rate is the minimum value within the section. The shut-off pressure failure threshold is determined by the regulator's own properties.
[0029] refer to Figure 4 Health index trend diagram. Figure 4 (a) is the health index HI of each analysis segment within the service life of the voltage regulator. ad Changes Figure 4 (b) is the health index HI of each analysis segment within the service life of the voltage regulator. sk Changes. Let AE be the pressure stability deviation in the k-th analysis segment. k Defined as this segment in low-flow Q n3 and high traffic Q n4 Near the quantile point, the maximum deviation of the extreme value of the outlet pressure P2 from the healthy baseline pressure: ; Among them, health benchmark stress Take the first N after the equipment is put into operation young The median of the outlet pressure P2 under all normal flow conditions Q>0 in each segment, where N young =1.
[0030] Let the first N be N.young The pressure stability deviation of the initial reference section is AE0, and the pressure regulation accuracy tolerance is... ,in To ensure the voltage regulation accuracy of the voltage regulator, this embodiment... =0.15. Therefore, the voltage regulation accuracy health index for the k-th segment is: ; When AE k Approaching AC tol At that time, HI sk,k A value approaching 0 indicates a severe degradation in voltage regulation capability; when AE... k When HI approaches AE0, sk,k A value close to 1 indicates that the voltage regulation capability remains healthy.
[0031] For the k-th analysis segment, define its shut-off pressure LU. k The median is the 0.5 quantile of the outlet pressure P2 under near-zero flow conditions within this segment. ; That is, prioritize the condition that Q≤10. -9 The pressure data point is selected; if there is no point in the segment that meets this condition, then the pressure data point with the smallest flow rate Q is selected.
[0032] Health Benchmark LU young Defined as the first N after the equipment is put into operation young LU segment k The maximum value of N, where N young =1: ; Let LU fail The shut-off pressure failure threshold is determined by the regulator's own properties; in this embodiment, it is set to 0.22 MPa. Therefore, the shut-off pressure health index for the kth pressure is: ; When LU k Approaching LU fail At that time, HI ad When LU approaches 0, it indicates that the shut-off pressure has failed; when LU... k Approaching LU young At that time, HI ad A value close to 1 indicates that the shut-off pressure remains healthy. By constructing a health index for pressure regulation accuracy and a health index for shut-off pressure, which are modeled and predicted independently, the heterogeneous degradation signals corresponding to the performance decay of the diaphragm or spring and the wear of the valve seat or sealing surface can be captured separately, overcoming the inability of a single index to distinguish heterogeneous degradation modes.
[0033] Step S4 involves performing Logit transformations on the health indicators to map them to the unbounded real number domain, establishing a sequential Bayesian Wiener degradation model that includes a time-scale nonlinear curvature parameter, degradation drift rate, process noise standard deviation, and observation noise standard deviation. The state equation of the model incorporates the increment of the nonlinear time-scale transformation function, and the observation equation uses noisy observations in Logit space to represent the actual degradation state. Specifically, the time-scale nonlinear curvature parameter controls the degree of degradation acceleration, the nonlinear time-scale transformation function uses the equipment's service life as the independent variable, and the variance of the process noise in the state equation is proportional to the increment of the nonlinear time-scale transformation function.
[0034] For each health indicator HI ad,k and HI sk,k Perform the following modeling and prediction process independently. Let h k This represents the health indicator for the k-th analysis segment, i.e. To incorporate health indicators To adapt a linear Gaussian state-space model, we first perform a Logit transformation on it, mapping it to the unbounded real number field: ; Here y k This represents the noisy observation value calculated from the health indicators using the Logit transform during the k-th analysis segment. The inverse transform is then converted to the Sigmoid function. ; Define a nonlinear time-scale transformation function: ; Where s is the number of years the equipment has been in service, and the number of years of service s0 = 1, let... When k=0, .
[0035] Let x k Let the actual, unobservable degenerate state at time k of the analysis segment be located in the Logit space. Then the state equation and the observation equation are as follows: ; ; in, Degradation drift rate; The standard deviation of process noise; denoted as σb, where σb is the observation noise standard deviation; b is the time-scale nonlinear curvature parameter, controlling the degree of degradation acceleration. By mapping health indicators to the unbounded real domain through Logit transformation and establishing a sequential Bayesian Wiener degradation model with a time-scale nonlinear curvature parameter, the nonlinear curvature of the degradation rate is automatically estimated from the data, eliminating the need for manual pre-setting of whether degradation is accelerated. This adapts to various degradation modes ranging from uniform aging to exponentially accelerated deterioration.
[0036] Step S5: Given the model parameters, Kalman filtering is used to recursively estimate the actual degradation state in real time, obtaining the current filtered state estimate and its variance. Maximum likelihood estimation is then performed on the model parameters for online updates. This involves a grid search for the time-scale nonlinear curvature parameters, and a nonlinear optimization algorithm to minimize the negative log-likelihood function for the degradation drift rate, process noise standard deviation, and observation noise standard deviation. A multi-starting-point strategy is employed to select the globally optimal parameter combination. Specifically, the grid search uniformly selects multiple candidate values within a defined interval. For each candidate value, a quasi-Newton algorithm is used to minimize the negative log-likelihood function in the space defined by the degradation drift rate, the logarithm of the process noise standard deviation, and the logarithm of the observation noise standard deviation. The candidate value that minimizes the global negative log-likelihood and its corresponding parameters are selected as the final model parameters.
[0037] Given parameters The Kalman filter recursively follows, its purpose being to utilize the noisy observations y k Real-time recursive estimation of the true degradation state x k The posterior distribution.
[0038] Prediction step: ; ; Update steps: ; ; ; ; Initial value settings: ; ; in, To utilize only the kth The predicted value for the state of segment k based on data from segment 1 and earlier; To integrate the observation y of the kth segment k The posterior value obtained afterwards; The variance of the prediction error is the prior uncertainty. To estimate the error variance, i.e., the posterior uncertainty; C k For the new information covariance; γ This is an empirical constant used to increase the initial covariance and improve the robustness of state estimation in the early stages of filtering.
[0039] parameter Determined through maximum likelihood estimation. First, the time scale parameter is... A grid search is performed by uniformly selecting n5 candidate values within the interval [0.0015, 2.5] (25 in this embodiment). For each candidate b, ... , , In spatial operations, the L-BFGS-B algorithm, a quasi-Newton algorithm for nonlinear optimization problems, is used to minimize the negative log-likelihood function. ; The parameter constraints are as follows: ; The optimization employs a multi-starting-point strategy to enhance global convergence: for each candidate From multiple sets of initial values ( , , Optimization is initiated, and the parameter combination that minimizes the negative log-likelihood is selected as the final estimate. After grid search, the parameter combination that minimizes the negative log-likelihood is chosen. The global minimum value of b and its corresponding (θ, σ) b, σ o ) as the final model parameters.
[0040] According to this embodiment, the calculation results of each parameter according to the above process are as follows: Voltage regulation accuracy health index HI sk The corresponding time-scale nonlinear curvature parameter b is 0.4437, the degradation drift rate θ is -1.1625, and the process noise standard deviation σ is... b The standard deviation of the observation noise is σ, which is 0.0025. o The value is 2.0593; the stress health indicator HI is turned off. ad The corresponding time-scale nonlinear curvature parameter b is 0.1500, the degradation drift rate θ is -0.0001, and the process noise standard deviation σ is... b The standard deviation of the observation noise is σ, which is 0.4084. o The value is 0.8469. The true degradation state is recursively estimated online using Kalman filtering, and the model parameters are updated online through maximum likelihood estimation, grid search, and a multi-starting-point strategy. This allows the model to continuously update with new observation data, solving the problem that existing model parameters are fixed offline and cannot be updated online.
[0041] Step S6: Based on the filtered state estimate and its variance, the remaining lifetime is predicted using an inverse Gaussian first-reach time model. Remaining lifetime samples are generated through Monte Carlo sampling and mapped back to the actual service time scale via an inverse time scale transformation. The median of the samples is used as the remaining lifetime point estimate, and a set quantile is used as the confidence interval output. Specifically, the failure threshold of the inverse Gaussian first-reach time model is determined by the health index failure threshold through a Logit transformation. The remaining lifetime samples generated by Monte Carlo sampling are mapped back to the actual service time scale via an inverse function corresponding to the time scale nonlinear curvature parameter. The 5% and 95th quantiles are used as the 90% confidence interval.
[0042] Obtain the current k-filter state and its variance Then, the first arrival time model was used to predict the remaining lifetime.
[0043] Define the health indicator failure threshold as: ; Where x * This is the failure threshold corresponding to the Logit space.
[0044] Given the current state The first arrival time is the time when the degradation state first crosses the threshold x. * The distribution follows an inverse Gaussian distribution: ; in, Indicates the transformation time scale The remaining path length required from the current state to the failure threshold.
[0045] Generated using Monte Carlo sampling and through The inverse function maps it back to the actual service timescale, yielding the first... One remaining lifetime sample: ; The final RUL prediction results are estimated using the sample median as the point estimate, and the 5% and 95% quantiles are output as 90% confidence intervals: ; The above statistics can be directly used to make maintenance decisions and risk assessments. Figure 5 The diagram illustrating the Kalman filter prediction results shows the predicted remaining lifespan of the gas pressure regulator after 2 years of use. Figure 5 (a) is based on the Health Index (HI). ad The remaining life trend of the voltage regulator Figure 5 (b) is based on the Health Index (HI). sk The remaining life trend of the voltage regulator Figure 5(c) is based on the Health Index (HI). ad The remaining lifetime histogram. Figure 5 (d) is based on the Health Index (HI). sk The remaining lifetime histogram. The results show its HI sk The indicator value is above 0.8, the voltage regulation accuracy performance remains healthy, and it will remain healthy for the next six months. The shut-off pressure performance also remains healthy.
[0046] By predicting the remaining lifetime using an inverse Gaussian first-time model, and outputting the remaining lifetime point estimate and confidence interval through Monte Carlo sampling and inverse time scale transformation, the operation and maintenance decision-making is upgraded from passive response to proactive planning based on risk prediction. This enables a shift from scheduled offline maintenance to real-time monitoring during operation, supporting predictive operation and maintenance decision-making.
[0047] In this embodiment, by using fixed window segmentation, inlet pressure grading, envelope extraction, and flow rate percentile neighborhood extreme value extraction, the interference of inlet pressure fluctuations and flow rate changes on outlet pressure is effectively suppressed, obtaining operating envelope characteristics that reflect the true degradation trend of the equipment. By constructing a multi-dimensional health index including a pressure regulation accuracy health index and a shut-off pressure health index, both are independently modeled and predicted, capturing the heterogeneous degradation signals corresponding to diaphragm or spring performance decay and valve seat or sealing surface wear, overcoming the deficiency of a single index in distinguishing heterogeneous degradation modes. Through sequential... By integrating Bayesian Wiener degradation modeling, Kalman filter online state estimation, maximum likelihood parameter online updating, and inverse Gaussian first-arrival time model prediction, the nonlinear curvature of the degradation rate is automatically estimated from the data. This adapts to various degradation modes, from uniform aging to exponentially accelerated deterioration, and outputs the remaining lifetime point estimate and confidence interval. This enables a mode shift from periodic offline maintenance to real-time monitoring during operation, supporting predictive maintenance decisions. It solves the problems of existing technologies being unable to support predictive maintenance decisions due to large operating condition interferences, incomplete health status representation, and the inability to update models online.
[0048] Example 2 like Figure 6 The schematic diagram of the online prediction system for the remaining life of gas pressure regulators based on operational data is shown. This invention also proposes an online prediction system for the remaining life of gas pressure regulators based on operational data to address the problems of existing online monitoring methods for gas pressure regulators, which suffer from significant operational interference, incomplete health status representation, and the inability to update models online. These methods can only determine whether a fault has occurred but cannot output a remaining lifespan estimate or its probability confidence interval, thus failing to support predictive maintenance decisions. The system includes a data acquisition and segmentation module, an operational envelope extraction module, a health index construction module, and an online prediction module.
[0049] The data acquisition and segmentation module is used to collect continuous operating data of a single gas pressure regulator. The continuous operating data includes inlet pressure, outlet pressure, and flow rate. Starting from the first recording time, the system divides the data into non-overlapping observation segments with a fixed width of calendar days as the step size. Each segment serves as a degradation tracking unit. In this embodiment, the fixed width is 14 calendar days.
[0050] The envelope extraction module is used to divide the observation segment into multiple levels based on the percentile of the inlet pressure and calculate the ratio of the mean values of adjacent levels. If any ratio reaches a set threshold, the upper and lower envelopes are calculated for the flow rate and outlet pressure data for each level; otherwise, all data are pooled and the envelope is calculated uniformly. For observations with flow rates greater than zero within the segment, the segments are divided into multiple compartments based on the percentile, and the minimum and maximum values of the outlet pressure for each compartment are recorded. Continuous lower and upper envelopes are obtained by fitting with smooth spline interpolation. The minimum and maximum values of the outlet pressure are extracted from the neighborhoods of the set lower and higher percentiles of the flow rate to suppress the interference of inlet pressure fluctuations and changes in flow conditions on the outlet pressure. In this embodiment, the inlet pressure is divided into three levels: low, medium, and high. The threshold is set to 2.0, the number of compartments is 80, the lower percentile is 10, and the higher percentile is 80.
[0051] The health index construction module is used to construct a multi-dimensional health index based on the lowest and highest values, including a pressure regulation accuracy health index and a shut-off pressure health index. The pressure regulation accuracy health index is determined based on the maximum deviation of the extreme outlet pressure within the section from the healthy reference pressure and the pressure regulation accuracy tolerance. The shut-off pressure health index is determined based on the median outlet pressure under near-zero flow conditions within the section and the shut-off pressure failure threshold, to capture heterogeneous degradation signals corresponding to diaphragm or spring performance decay and valve seat or sealing surface wear, respectively. In this embodiment, the healthy reference pressure is taken as the median of the outlet pressure median under all normal flow conditions in the first section after the equipment is put into operation. The pressure regulation accuracy tolerance is the product of the regulator's pressure regulation accuracy of 0.15 and the healthy reference pressure. The shut-off pressure failure threshold is taken as 0.22 MPa.
[0052] The online prediction module maps health indicators to the unbounded real domain using Logit transformations, establishing a sequential Bayesian Wiener degradation model with time-scale nonlinear curvature parameters, degradation drift rate, process noise standard deviation, and observation noise standard deviation. The model's state equation incorporates the increment of the nonlinear time-scale transformation function, while the observation equation represents the true degradation state using noisy observations in Logit space. Given model parameters, Kalman filtering is used to recursively estimate the true degradation state in real time, obtaining the current filtered state estimate and its variance. Maximum likelihood estimation is then performed on the model parameters for online updates. Specifically, a grid search is used for the time-scale nonlinear curvature parameters, and a nonlinear optimization algorithm is employed to minimize the negative log-likelihood function for the degradation drift rate, process noise standard deviation, and observation noise standard deviation. A multi-starting-point strategy is used to select the globally optimal parameter combination. In this embodiment, the time-scale parameter grid search interval is [0.0015, 2.5], the number of candidate values is 25, and the parameter constraints are as follows: HI is calculated... sk The corresponding parameters are b = 0.4437, θ = -1.1625, and σ = ... b σ is 0.0025. o HI is 2.0593. ad The corresponding parameters are b = 0.1500, θ = -0.0001, and σ = ... b 0.4084, σ o It is 0.8469.
[0053] Based on the filtered state estimate and its variance, an inverse Gaussian first-arrival time model is used to predict the remaining lifetime. Remaining lifetime samples are generated through Monte Carlo sampling and mapped back to the actual service timescale via inverse timescale transformation. The median of the samples is used as the remaining lifetime point estimate, and a set quantile is used as the confidence interval output. In this embodiment, the health indicator failure threshold is set to 0.30, and the 5% and 95% quantiles are used as the 90% confidence interval.
[0054] The output remaining life point estimate and confidence interval are used to formulate predictive maintenance decisions and risk assessments for gas pressure regulators. In this embodiment, taking the remaining life prediction of a gas pressure regulator after 2 years of use as an example, the results show that its H... Isk The indicator value is above 0.8, the voltage regulation accuracy performance remains healthy, and it will remain healthy for the next six months. The shut-off pressure performance also remains healthy.
[0055] This embodiment, through the coordinated work of the above modules, suppresses operating condition interference, distinguishes heterogeneous degradation modes, realizes online updates of model parameters, and outputs remaining lifetime point estimates and confidence intervals. This enables the mode conversion from periodic offline maintenance to real-time monitoring during operation, supports predictive maintenance decisions, and solves the problems of existing technologies that cannot support predictive maintenance decisions due to large operating condition interference, incomplete health status representation, and the inability to update models online.
[0056] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the technical solutions of the embodiments of the present invention.
Claims
1. A method for online prediction of the remaining life of a gas pressure regulator based on operational data, characterized in that, Includes the following steps: Step S1: Collect continuous operating data of a single gas pressure regulator. The continuous operating data includes inlet pressure, outlet pressure and flow rate. Starting from the first recording time, the data is divided into non-overlapping observation segments with a fixed width of calendar days as the step size. Each segment is a degradation tracking unit. Step S2: For the observation segment, divide it into multiple segments according to the percentile of the inlet pressure and calculate the ratio of the mean values of adjacent segments. If any ratio reaches a set threshold, calculate the upper and lower envelopes for the flow rate and outlet pressure data for each segment. Otherwise, mix all data and calculate the envelope uniformly. For observations with flow rates greater than zero within the segment, divide them into multiple compartments according to the percentile and record the minimum and maximum values of the outlet pressure for each compartment. Use smooth spline interpolation to fit continuous lower and upper envelopes. Extract the minimum and maximum values of the outlet pressure in the neighborhood of the set lower and higher percentiles of the flow rate to suppress operating condition interference. Step S3, the construction of the minimum value and the maximum value includes a multi-dimensional health index of the pressure regulation accuracy health index and the shut-off pressure health index. The pressure regulation accuracy health index is determined based on the maximum deviation of the extreme value of the outlet pressure in the section from the healthy reference pressure and the pressure regulation accuracy tolerance. The shut-off pressure health index is determined based on the median of the outlet pressure under near-zero flow conditions in the section and the shut-off pressure failure threshold, so as to capture the heterogeneous degradation signals of different components respectively. Step S4: The health indicators are mapped to the unbounded real number domain by performing Logit transformation on each of them, and a sequential Bayesian Wiener degradation model is established with time-scale nonlinear curvature parameters, degradation drift rate, process noise standard deviation and observation noise standard deviation. The model state equation introduces the increment of the nonlinear time-scale transformation function, and the observation equation uses the noisy observation values in Logit space to represent the real degradation state. Step S5: Given model parameters, Kalman filtering is used to recursively estimate the actual degradation state in real time to obtain the current filtered state estimate and its variance. The model parameters are then updated online using maximum likelihood estimation. Grid search is performed on the time-scale nonlinear curvature parameter. The degradation drift rate, process noise standard deviation, and observation noise standard deviation are minimized using a nonlinear optimization algorithm. A multi-starting-point strategy is used to select the globally optimal parameter combination. Step S6: Based on the filtered state estimate and its variance, the remaining lifetime is predicted using an inverse Gaussian first-arrival time model. The remaining lifetime samples are generated by Monte Carlo sampling and mapped back to the actual service time scale by inverse time scale transformation. The median of the samples is used as the remaining lifetime point estimate, and the set quantile is used as the confidence interval output.
2. The online prediction method for the remaining life of a gas pressure regulator based on operational data according to claim 1, characterized in that, In step S2, the inlet pressure is divided into multiple levels based on the percentile, including low, medium and high levels. The ratio of the average values of adjacent levels includes the ratio of the average value of medium level to the average value of low level and the ratio of the average value of high level to the average value of medium level. The threshold value is set to 2.
0.
3. The online prediction method for the remaining life of a gas pressure regulator based on operational data according to claim 2, characterized in that, In step S3, the health reference pressure is the median of the outlet pressure under normal flow conditions in a set number of observation segments before the equipment is put into operation, and the pressure regulation accuracy tolerance is the product of the pressure regulator's pressure regulation accuracy and the health reference pressure.
4. The online prediction method for the remaining life of a gas pressure regulator based on operational data according to claim 3, characterized in that, In step S3, the near-zero flow condition is a condition where the flow rate is not greater than a set minimum value or the flow rate is the minimum value within a segment, and the shut-off pressure failure threshold is determined by the properties of the pressure regulator itself.
5. The online prediction method for the remaining life of a gas pressure regulator based on operational data according to claim 1, characterized in that, In step S4, the time-scale nonlinear curvature parameter controls the degree of degradation acceleration, the nonlinear time-scale transformation function takes the number of years of equipment service as the independent variable, and the variance of the process noise in the state equation is proportional to the increment of the nonlinear time-scale transformation function.
6. The method for online prediction of the remaining life of a gas pressure regulator based on operational data according to claim 1, characterized in that, In step S5, the Kalman filter includes a prediction step and an update step. The prediction step calculates the prior estimate and prediction error variance at the current time based on the posterior estimate from the previous time step and the increment of the nonlinear time scale transformation function. The update step corrects the prior estimate based on the information covariance and Kalman gain to obtain the posterior estimate and estimation error variance.
7. The online prediction method for the remaining life of a gas pressure regulator based on operational data according to claim 6, characterized in that, In step S5, the grid search uniformly selects multiple candidate values within a set interval. For each candidate value, a quasi-Newton algorithm is used to minimize the negative log-likelihood function in the space formed by the degradation drift rate, the logarithm of the process noise standard deviation, and the logarithm of the observation noise standard deviation. The candidate value that minimizes the global negative log-likelihood and its corresponding parameters are selected as the final model parameters.
8. The online prediction method for the remaining life of a gas pressure regulator based on operational data according to claim 1, characterized in that, In step S6, the failure threshold of the inverse Gaussian first-arrival time model is determined by the health index failure threshold through Logit transformation. The remaining lifetime sample generated by Monte Carlo sampling is mapped back to the actual service time scale through the inverse function corresponding to the nonlinear curvature parameter of the time scale, with the 5th percentile and 95th percentile as the lower and upper limits of the 90% confidence interval.
9. A gas pressure regulator remaining life online prediction system based on operational data, characterized in that, The system is implemented based on the method of any one of claims 1 to 8, comprising: The data acquisition and segmentation module is used to collect continuous operating data of the gas pressure regulator. The continuous operating data includes inlet pressure, outlet pressure and flow rate. Starting from the first recording time, the data is divided into non-overlapping observation segments with a fixed width of calendar days as the step size. Each segment is a degradation tracking unit. The envelope extraction module is used to divide the observation segment into multiple levels according to the percentile of the inlet pressure and calculate the ratio of the mean values of adjacent levels. If any ratio reaches a set threshold, the upper and lower envelopes are calculated for the flow rate and outlet pressure data for each level. Otherwise, all data are pooled and the envelope is calculated uniformly. For observations with flow rates greater than zero within the segment, the segments are divided into multiple compartments according to the percentile and the minimum and maximum values of the outlet pressure of each compartment are recorded. Continuous lower and upper envelopes are obtained by fitting with smooth spline interpolation. The minimum and maximum values of the outlet pressure are extracted from the neighborhood of the set lower and higher percentiles of the flow rate to suppress operating condition interference. The health index construction module is used to construct a multi-dimensional health index, including a pressure regulation accuracy health index and a shut-off pressure health index, based on the minimum value and the maximum value. The pressure regulation accuracy health index is determined based on the maximum deviation of the extreme value of the outlet pressure within the section from the health reference pressure and the pressure regulation accuracy tolerance. The shut-off pressure health index is determined based on the median outlet pressure under near-zero flow conditions within the section and the shut-off pressure failure threshold, so as to capture the heterogeneous degradation signals of different components respectively. The online prediction module is used to perform Logit transformations on the health indicators, mapping them to the unbounded real domain. It establishes a sequential Bayesian Wiener degradation model containing time-scale nonlinear curvature parameters, degradation drift rate, process noise standard deviation, and observation noise standard deviation. The model's state equation incorporates the increment of a nonlinear time-scale transformation function. The observation equation represents the true degradation state using noisy observations in Logit space. Given the model parameters, Kalman filtering is used to recursively estimate the true degradation state in real time, obtaining the current filtered state estimate and its variance. The model parameters are then... Maximum likelihood estimation is updated online, wherein grid search is performed on the nonlinear curvature parameters of the time scale, the negative log-likelihood function is minimized by a nonlinear optimization algorithm for the degradation drift rate, process noise standard deviation and observation noise standard deviation, and a multi-starting point strategy is adopted to select the globally optimal parameter combination. The remaining lifetime is predicted by an inverse Gaussian first-arrival time model based on the filtered state estimate and its variance. The remaining lifetime samples are generated by Monte Carlo sampling and mapped back to the actual service time scale by inverse time scale transformation. The median of the samples is used as the remaining lifetime point estimate and the set quantile is used as the confidence interval output.
10. The online prediction system for the remaining life of a gas pressure regulator based on operational data according to claim 9, characterized in that, The remaining life point estimate and the confidence interval are used to make predictive maintenance decisions and risk assessments for gas pressure regulators.
