A pipeline valve monitoring method and device based on automatic updating large model

By using a large model method based on automatic updating, combined with finite element and neural network models, the problem of inconsistency between prediction results and actual results in pipeline valve monitoring is solved, achieving accurate status monitoring of pipeline valves and improving system reliability.

CN118378494BActive Publication Date: 2024-09-27JINCHENG NANJING ELECTROMECHANICAL HYDRAULIC PRESSURE ENG RES CENT AVIATION IND OF CHINA
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410826470.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-27
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

During the use of existing pipeline valve monitoring methods, the predicted results are inconsistent with the actual results, and the type and number of sensors limit the information that virtual sensing cannot directly obtain, making it difficult to achieve accurate monitoring.

Method used

Adopting a large model method based on automatic updating, by establishing finite element models and neural network models, extracting features at different levels of the input data, optimizing the coding layer segmentation method, fine-tuning the monitoring model, and analyzing the flow field and pressure distribution data to ensure prediction results accuracy.

Benefits of technology

It achieves rapid and accurate prediction of the operating status of pipeline valves, detects problems in time, improves the reliability of the pipeline system, and adapts to performance degradation through an automatic update mechanism, improving the degree of consideration of dynamic changes in the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118378494B
    Figure CN118378494B
Patent Text Reader

Abstract

The present application provides a pipeline valve monitoring method and device based on an automatically updated large model, including: establishing a training data set and an update data set based on a pipeline valve finite element model; training a pipeline valve monitoring model based on the training data set; optimizing the segmentation method of multiple input coding layers according to the historical monitoring data of the pipeline valve and the monitoring model performance optimization target, obtaining a first coding layer set and a second coding layer set, each coding layer set includes multiple non-overlapping input coding layers, and each input coding layer in the second coding layer set is at the back end of the first coding layer set; fine-tuning each input coding layer in the second coding layer set based on the update data set according to a first update cycle; predicting the pipeline valve state based on the fine-tuned pipeline valve monitoring model. The accuracy of pipeline valve monitoring is improved, and the adaptability of the monitoring method and device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of control engineering technology, and in particular to a pipeline valve monitoring method and device based on automatically updating a large model. Background Art

[0002] Pipeline valves are important devices to ensure the normal and safe operation of pipeline systems. Especially under conditions of large flow and high pressure, the internal flow field of pipeline valves will change dramatically with the change of working conditions. The pressure, flow velocity and other factors will act on the structure, causing damage to the internal structure of the pipeline valve and upstream and downstream pipelines, seriously affecting the actual life and operational reliability of the pipeline valve. Therefore, it is necessary to continuously track and monitor the operating status of the pipeline valve to detect problems in a timely manner.

[0003] The existing pipeline valve monitoring method collects the sensor data of pipeline valves, builds a monitoring model based on the sensor data, and monitors the pipeline valves. Since the performance of pipeline valves continues to deteriorate during use, the predicted results obtained by the monitoring model are inconsistent with the actual results; secondly, the sensors are limited by type and quantity, how to quickly obtain information that cannot be directly obtained by real sensing through the virtual sensing of the model. Summary of the invention

[0004] In view of this, the present application provides a pipeline valve monitoring method and device based on an automatically updated large model, so as to realize the monitoring of the operating status of the pipeline valve and ensure the consistency between the predicted results and the actual results.

[0005] Specifically, the present application is implemented through the following technical solutions:

[0006] The first aspect of the present application provides a pipeline valve monitoring method based on automatically updating a large model, the method comprising:

[0007] Establish training data set and update data set based on pipeline valve finite element model;

[0008] Training a monitoring model for pipeline valves based on the training data set, wherein the monitoring model is a neural network model, comprising at least a plurality of input encoding layers for extracting features at different levels of input data;

[0009] Optimizing the segmentation method of the multiple input coding layers according to the historical monitoring data of the pipeline valve and the monitoring model performance optimization target, obtaining a first coding layer set and a second coding layer set, each coding layer set includes multiple non-overlapping input coding layers, and each input coding layer in the second coding layer set is at the rear end of the first coding layer set;

[0010] According to a first update cycle, fine-tuning each input coding layer in the second coding layer set based on the update data set;

[0011] The pipeline valve status is predicted based on the fine-tuned monitoring model of the pipeline valve.

[0012] The second aspect of the present application provides a pipeline valve monitoring device based on an automatically updated large model, the device comprising: a building module, a training module, a segmentation module, an updating module and a prediction module;

[0013] Wherein, the establishment module is used to establish a training data set and an update data set based on the pipeline valve finite element model;

[0014] The training module is used to train a monitoring model of pipeline valves based on the training data set, wherein the monitoring model is a neural network model, comprising at least a plurality of input coding layers, for extracting features of different levels of input data;

[0015] The segmentation module is used to optimize the segmentation method of the multiple input coding layers according to the historical monitoring data of the pipeline valve and the monitoring model performance optimization target, to obtain a first coding layer set and a second coding layer set, each coding layer set includes multiple non-overlapping input coding layers, and each input coding layer in the second coding layer set is at the rear end of the first coding layer set;

[0016] The updating module is configured to fine-tune each input coding layer in the second coding layer set based on the updated data set according to a first updating cycle;

[0017] The prediction module is used to predict the pipeline valve status based on the fine-tuned monitoring model of the pipeline valve.

[0018] The pipeline valve monitoring method and device based on the automatic updating large model provided by the present application, on the one hand, can quickly predict the operating status of the pipeline valve under any working condition through the monitoring model, can be combined with the corresponding flow field velocity and pressure distribution for analysis, and can quickly and automatically update the monitoring model by updating the data set, ensuring that the predicted results and the actual results are always kept within the error range, and problems can be found in time to improve the operational reliability of the pipeline system, and provide support for product modification or new research by tracing the models and data of different batches and time stages. In other words, through the automatically updated monitoring model, the degree of consideration of the model for dynamic change factors such as performance degradation is improved, thereby improving the accuracy of model monitoring; on the other hand, the monitoring model is divided into a first coding layer set and a second coding layer set. When the monitoring model is fine-tuned, the first coding layer set of the fine-tuned monitoring model inherits the first coding layer set of the original monitoring model, accelerating and optimizing the updating efficiency of the model; the fine-tuned second coding layer set is based on the training data for parameter adjustment and training, ensuring that the output of the fine-tuned model is kept within the error range with the latest data, and preserving the information of the two stages of the data set before and after the update to the greatest extent. Thirdly, when the monitoring model is unable to achieve high-precision predictions, the valve state analysis model is reconstructed based on the flow field pressure cloud map data set and the surface stress cloud map data set, which enables rapid reconstruction and prediction of the flow velocity and pressure distribution cloud maps of the valve's internal flow field. Through a limited number of simulation data, the physical field data of any working conditions within a certain range is obtained, assisting in the analysis and prediction of the product's operating status. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A flow chart of Embodiment 1 of a pipeline valve monitoring method based on an automatically updated large model provided in the present application;

[0020] Figure 2 This is a structural schematic diagram of Example 1 of a pipeline valve monitoring device based on an automatically updated large model provided in the present application. DETAILED DESCRIPTION

[0021] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.

[0022] The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in this article refers to and includes any or all possible combinations of one or more associated listed items.

[0023] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0024] Specific embodiments are given below to introduce the technical solution of the present application in detail.

[0025] Figure 1 This is a flow chart of the first embodiment of the pipeline valve monitoring method based on the automatic update of the large model provided by this application. Please refer to Figure 1 , the method provided in this embodiment may include:

[0026] S101. Establish a training data set and an update data set based on a pipeline valve finite element model.

[0027] Specifically, the pipeline valve finite element model is a mathematical model obtained after detailed simulation and analysis of the pipeline valve, which can accurately calculate and optimize the stress, deformation, fluid dynamics characteristics, etc. of the pipeline valve.

[0028] Furthermore, the process of establishing the pipeline valve finite element model includes:

[0029] (1) Based on the stroke of the ball valve in the pipeline valve, a three-dimensional model of the ball valve is established.

[0030] Specifically, a ball valve is a fluid control valve that controls the flow of fluid by rotating the ball. It consists of a valve body, a valve cover, a ball, a valve seat, a valve stem, a seal, and an actuator. The stroke of the ball valve is measured by a sensor.

[0031] In specific implementation, CAD software (such as SolidWorks, AutoCAD, CATIA, etc.) is used to establish three-dimensional models of multiple ball valves, and each three-dimensional model corresponds to an opening angle in the stroke of the ball valve.

[0032] For example, in one embodiment, the stroke of the ball valve is 30° (fully closed) to 90° (fully open). In this embodiment, 12 three-dimensional models of ball valves with different openings are established at intervals of 5° from 35° to 90°.

[0033] (2) According to the structural characteristics of the ball valve, the three-dimensional model is meshed.

[0034] In the specific implementation, the 3D model of the ball valve is imported into the meshing software (such as ANSYS Meshing, ICEMCFD), and the meshing parameters are set according to the structural characteristics of the ball valve. A finer mesh is applied to key areas (such as valve ports and flow channels), and an unstructured mesh (such as a tetrahedral mesh) is used for the fluid area. Furthermore, the mesh is optimized through the mesh optimization tool after the division to avoid low-quality meshes (such as highly distorted or over-stretched units).

[0035] (3) The divided three-dimensional model is imported into the CFD software for simulation to obtain the finite element model of the pipeline valve.

[0036] In the specific implementation, the divided 3D model is imported into CFD software (such as ANSYS Fluent, CFX or OpenFOAM), and the fluid domain and solid domain are defined in the CFD software to ensure that the fluid can pass through the valve flow channel correctly. Furthermore, the CFD solution parameters are set (including defining the physical model, setting boundary conditions and initial conditions), and the pipeline valve finite element model can be established through CFD solution.

[0037] Specifically, the training data set includes a source data set, a flow field pressure cloud map data set, and a surface stress cloud map data set. The source data set refers to the flow resistance data before and after the fuel flows through the pipeline valve, and its input is flow rate-opening, and the output is flow resistance. The flow field pressure cloud map data set includes flow field pressure data, and its input is flow rate-opening-x coordinate-y coordinate-z coordinate, and its output is pressure; the surface stress cloud map data set includes surface stress data, and its input is flow rate-opening-x coordinate-y coordinate-z coordinate, and its output is surface stress.

[0038] Furthermore, the establishment of a training data set based on the pipeline valve finite element model includes:

[0039] (1) A source data set is established based on the pipeline valve flow resistance simulation structure corresponding to different flow rates and different openings based on the value range of the pipeline valve finite element model.

[0040] Specifically, the value range of the pipeline valve finite element model includes the value range of the fuel volume and pressure flowing through the ball valve.

[0041] In the specific implementation, the value range of the pipeline valve finite element model is used as the boundary condition of the pipeline valve flow field analysis. The pipeline valve finite element model is used to simulate the pipeline valve under different flow rates and different openings in multiple working conditions to obtain the pipeline valve flow resistance simulation structure. Furthermore, key data (such as pressure drop, flow rate and flow velocity distribution) are extracted from the pipeline valve flow resistance simulation structure, the flow resistance coefficient is calculated, and the flow resistance data under different flow rates and openings are stored to obtain the source data set.

[0042] (2) Based on the spatial coordinate origin of the finite element model of the pipeline valve at different openings, determine the spatial coordinate points in the internal flow field of the ball valve where data needs to be collected.

[0043] In the specific implementation, first determine the spatial coordinate origin of the pipeline valve finite element model, which is usually set at the center of the pipeline valve. According to the installation and flow direction of the pipeline valve, determine the directions of the x, y, and z axes. Further, according to the geometric characteristics of the ball valve and the needs of flow field analysis, determine the spatial coordinate points where data needs to be collected. These spatial coordinate points should cover the key areas of the flow field, including the inlet, valve port, valve body interior, and outlet.

[0044] (3) Based on the value range of the finite element model of the pipeline valve, the flow field pressure cloud map data and the surface stress cloud map data of the spatial coordinate point at different flow rates and different openings are obtained.

[0045] In the specific implementation, first set the material properties of the ball valve and the pipe, as well as the physical parameters of the fluid (such as density and viscosity), set the boundary conditions (inlet boundary conditions, outlet boundary conditions and wall conditions) and solution parameters. Further, for each combination of opening and flow rate, run CFD simulation to obtain the pressure and velocity distribution data in the flow field.

[0046] Furthermore, the results of CFD simulation are imported into FEA software as surface load conditions. The material properties of pipes and valves (including elastic modulus and Poisson's ratio, etc.) are set, and boundary conditions and loads (fixed constraints and surface loads) are set. Furthermore, each opening and flow rate are combined, and FEA simulation is run to obtain surface stress distribution data. At the specified spatial coordinate point, pressure data and surface stress data are extracted to obtain the flow field pressure cloud map data and surface stress cloud map data of the spatial coordinate point.

[0047] It should be noted that the spatial coordinate points that are not on the grid nodes are obtained by interpolating the data of the adjacent grid nodes.

[0048] (4) Based on the flow field pressure cloud map data and the surface stress cloud map data, a flow field pressure cloud map data set and a surface stress cloud map data set are established.

[0049] In the specific implementation, two data sets are created to store flow field pressure cloud map data and surface stress cloud map data respectively. Further, the flow field pressure cloud map data and surface stress cloud map data are stored in corresponding data sets respectively to obtain flow field pressure cloud map data set and surface stress cloud map data set.

[0050] Specifically, the update data set includes a source data set, wherein the source data set refers to the flow resistance data before and after the fuel flows through the pipeline valve, the input of which is flow-opening, and the output is flow resistance.

[0051] Furthermore, the updating data set is established based on the pipeline valve finite element model, including:

[0052] (1) Collecting flow resistance data at different flow rates and openings during the actual operation of the pipeline valve.

[0053] In specific implementation, the operating data of the pipeline valve during actual operation (flow resistance data at different flow rates and different openings) is continuously collected based on sensors.

[0054] (2) At every first update period, the flow resistance data collected in the first update period is determined as an updated data set.

[0055] Specifically, the first update period is determined according to the change of the current state of the valve. The introduction of the first update period will be described in the following embodiments and will not be repeated here.

[0056] In a specific implementation, every time a first update cycle passes, the flow resistance data collected in the first update cycle is determined as an updated data set.

[0057] For example, in one embodiment, the first update period is 5 seconds. In this embodiment, every 5 seconds, the flow resistance data collected within these 5 seconds are determined as the updated data set.

[0058] Specifically, the step of establishing a training data set and an updating data set based on the pipeline valve finite element model includes:

[0059] (1) The value range is calculated based on the pipeline valve finite element model.

[0060] Specifically, the value range of the pipeline valve finite element model includes the value range of the fuel volume and pressure flowing through the ball valve. The specific implementation process of this step includes:

[0061] (i) Decomposing the physical structure of the pipeline valve to obtain a decomposition result.

[0062] Specifically, the pipeline valve is composed of multiple components, including a valve body, a valve cover, a valve stem, a valve core, a seal, a valve seat, an actuator, and additional functional parts. The decomposition result includes each component and the connection relationship between each component.

[0063] In specific implementation, the pipeline valve is decomposed according to the connection relationship of the various components constituting the pipeline valve to obtain the various components.

[0064] (ii) Based on the decomposition results, a one-dimensional performance simulation model of the pipeline valve is established.

[0065] In the specific implementation, the law of conservation of mass and momentum is applied to obtain the one-dimensional flow equation of the fluid in the pipeline valve. Through the one-dimensional flow equation, the spatial distribution relationship between the velocity and pressure of the fluid in the pipeline valve is established. Furthermore, according to the relationship between the pipeline valve opening and the flow rate, the pipeline valve characteristic curve is established, and according to the pipeline valve characteristic curve, the one-dimensional performance simulation model of the pipeline valve is established.

[0066] (iii) Based on the one-dimensional performance simulation model, the pipeline valve finite element model is simulated under different working conditions to obtain a value range of the pipeline valve finite element model.

[0067] In the specific implementation, based on the one-dimensional performance simulation model, the performance of the pipeline valve finite element model is simulated under different working conditions such as rated working conditions and extreme working conditions. Based on the simulation results, the performance range of the pipeline valve under different working conditions is evaluated, including maximum stress, maximum deformation, maximum flow, etc., and the value range of the pipeline valve finite element model is obtained.

[0068] (2) Obtain a training data set and an update data set within the value range.

[0069] Specifically, the specific implementation process and implementation principle of this step can be referred to the description in the above embodiment, which will not be repeated here.

[0070] S102. Training a monitoring model for pipeline valves based on the training data set, wherein the monitoring model is a neural network model, comprising at least a plurality of input coding layers for extracting features at different levels of input data.

[0071] Specifically, the monitoring model of the pipeline valve is a neural network model, which includes multiple input coding layers, each of which is used to extract features of different levels of input data.

[0072] In the specific implementation, the training data set is divided into a training set and a test set according to a certain ratio. The training set is used in combination with the artificial neural network algorithm (ANN) to train the monitoring model of the pipeline valve, and the parameters of the monitoring model are continuously adjusted through the back propagation algorithm. Furthermore, the trained monitoring model is tested with the test set to evaluate its generalization ability and performance, and the trained monitoring model is adjusted according to the evaluation results.

[0073] S103. Optimize the segmentation method of the multiple input coding layers according to the historical monitoring data of the pipeline valve and the monitoring model performance optimization target to obtain a first coding layer set and a second coding layer set, each coding layer set includes multiple non-overlapping input coding layers, and each input coding layer in the second coding layer set is at the back end of the first coding layer set.

[0074] Specifically, the first coding layer set and the second coding layer set include multiple non-overlapping input coding layers, and each input coding layer in the second coding layer set is at the back end of the first coding layer set. Among them, the first coding layer set is a low-level network structure that includes more general features in the historical monitoring data of pipeline valves, and its related parameters are not sensitive to data changes and are common to many tasks. The second coding layer set is a high-level network structure that pays more attention to learning features, and its related parameters are sensitive to data changes.

[0075] In a specific implementation, the segmentation method of the multiple input coding layers is optimized according to the historical monitoring data of the pipeline valve and the monitoring model performance optimization target to obtain the first coding layer set and the second coding layer set, including:

[0076] (1) Extracting and analyzing the historical monitoring data of the pipeline valve to obtain a first data set and a second data set; the first data set includes general features, and the second data set includes learning features.

[0077] Specifically, general features include valve opening, flow, pressure, temperature and timestamp, and learning features include data acquisition device status, data quality and valve operation mode.

[0078] In the specific implementation, feature extraction is performed on the historical monitoring data of pipeline valves to extract some common features. Further, these features are analyzed and divided into general features and learning features according to their uses. The data corresponding to the general features are stored in the first data set, and the data corresponding to the learning features are stored in the second data set.

[0079] (2) Based on the first data set and the monitoring model performance optimization target, the multiple input coding layers are segmented to obtain a first coding layer set.

[0080] In specific implementation, the number of coding layers to be divided is determined according to the performance optimization target of the monitoring model. Through the feature selection method, features related to the first data set are selected, and data preprocessing is performed on the selected features. Further, multiple input coding layers are constructed according to the selected features, each input coding layer is responsible for encoding a portion of the features, and the constructed multiple input coding layers are combined into a first coding layer set.

[0081] (3) Based on the second data set and the monitoring model performance optimization target, the multiple input coding layers are segmented to obtain a second coding layer set.

[0082] In specific implementation, the number of coding layers to be divided is determined according to the performance optimization target of the monitoring model. Through the feature selection method, features related to the second data set are selected, and data preprocessing is performed on the selected features. Further, multiple input coding layers are constructed based on the selected features, each input coding layer is responsible for encoding a portion of the features, and the constructed multiple input coding layers are combined into a second coding layer set.

[0083] As an optional embodiment, the segmentation method of the multiple input coding layers is optimized according to the historical monitoring data of the pipeline valve and the monitoring model performance optimization target to obtain the first coding layer set and the second coding layer set, including:

[0084] Determine an initial segmentation method to obtain an initial first coding layer set and an initial second coding layer set;

[0085] Fine-tuning the weight coefficient of the initial second coding layer set based on the pipeline valve historical monitoring data;

[0086] Calculating the performance optimization target parameters of the monitoring model based on the fine-tuned model;

[0087] If the value of the performance optimization target parameter is less than the preset value, reduce the number of coding layers in the second coding layer set, and cyclically fine-tune the weight coefficients of the second coding layer set until the performance optimization target parameter of the fine-tuned monitoring model is greater than or equal to the preset value.

[0088] Specifically, the coding layers in the neural network structure of the source model are distinguished, starting from M=1 or 2 layers, the front end is used as the first coding layer set, and the back end coding layer is used as the second coding layer set. The ball valve historical test data is defined as a distinguishing data set, and the weight coefficient of each layer of the second coding layer set is fine-tuned. The weight parameters of the NM first coding layer set remain unchanged, and the distinguishing data set is used to test it, and the prediction accuracy of the flow resistance and driving torque under this initial configuration is recorded as the performance index benchmark for subsequent comparisons. The number of layers M of the second coding layer set is gradually increased (according to N / 10 rounded increments, such as when N≤10, add 1 each time; 10<N≤20, add 2 each time; ...), and after each increase, the weight coefficient of the second coding layer set is fine-tuned, and the parameters of the first coding layer set remain unchanged. The distinguishing data set is used to test it, and the trend of performance indicators is observed. If the performance continues to improve, it means that increasing the number of layers helps to improve the update effect of the neural network. If the performance begins to decline or fluctuate, it means that the network has difficulty in updating. At this time, the weight coefficient of the model can be determined to be the latest calculated weight coefficient.

[0089] The method provided in this embodiment divides the monitoring model into a first coding layer set and a second coding layer set. When fine-tuning the monitoring model, the first coding layer set of the fine-tuned monitoring model inherits the first coding layer set of the original monitoring model, thereby accelerating and optimizing the updating efficiency of the model; the fine-tuned second coding layer set is parameter-adjusted and trained based on the training data to ensure that the output of the fine-tuned model is within the error range with the latest data, and the data set information of the two stages before and after the update is preserved to the greatest extent. At the same time, when determining how to divide the first and second coding layer sets, the layers of the model involved in the fine-tuning are gradually iteratively modified according to the requirements of the monitoring model performance, the calculation amount of the model fine-tuning is gradually changed, and the fine-tuning range that best matches the model performance is selected, thereby improving the efficiency of model training.

[0090] S104: Fine-tune each input coding layer in the second coding layer set based on the updated data set according to the first update cycle.

[0091] Specifically, the specific implementation process of this step includes:

[0092] (1) Determining a first update period based on a pipeline valve performance degradation characteristic curve, wherein the first update period changes according to a current state of the valve.

[0093] Specifically, the pipeline valve performance degradation characteristic curve is a curve that represents the gradual decline in the performance of the pipeline valve over time or with usage.

[0094] In specific implementation, historical monitoring data of pipeline valves (including valve opening, flow, pressure and temperature, etc.) are collected, and pipeline valve performance degradation characteristic curves are drawn based on historical monitoring data. Furthermore, key features (such as the decline rate and change rate of performance indicators, etc.) are extracted from the pipeline valve performance degradation characteristic curve, and pipeline valves are divided into different states (such as normal, slightly degraded and severely degraded) according to the thresholds of key features. Furthermore, according to the current state of the pipeline valve and the pipeline valve performance degradation characteristic curve, the degradation rate of the current state is calculated, and according to the degradation rate and the current state of the pipeline valve, the first update cycle is dynamically determined (when the pipeline valve is in a slightly degraded state, the first update cycle is longer; when the pipeline valve is in a severely degraded state, the first update cycle is shorter).

[0095] (2) fine-tuning each input coding layer in the second coding layer set according to the first update period currently determined.

[0096] Specifically, the specific implementation process of this step includes:

[0097] (i) every first update cycle, determining a specified proportion of the update data set in the update data set as training data, and determining the rest of the update data set as testing data.

[0098] Specifically, the designated ratio is set according to actual needs, and is not limited in this embodiment. For example, in one embodiment, the designated ratio is 90%.

[0099] For example, in one embodiment, in combination with the above example, the specified ratio is 90%. In this embodiment, every first update cycle, 90% of the updated data set is determined as training data, and 10% of the updated data set is determined as test data.

[0100] (ii) creating a target model based on the monitoring model of the pipeline valve; the target model includes a first coding layer set and a second coding layer set, and the target model inherits the structure and parameters of the monitoring model.

[0101] Specifically, the parameters of the monitoring model include weights and biases.

[0102] In a specific implementation, the structure of the monitoring model of the pipeline valve is defined, including the first coding layer and the second coding layer. Further, according to the structure of the monitoring model, a target model is created which also includes the first coding layer and the second coding layer. The first coding layer and the second coding layer in the target model have the same hierarchical structure as the corresponding hierarchical structure of the monitoring model, and the parameters of the first coding layer set in the monitoring model are copied to the first coding layer set in the target model.

[0103] (iii) freezing the parameters of the first coding layer set in the target model, and iteratively optimizing the weight coefficients of each input coding layer in the second coding layer set of the target model using the training data.

[0104] In the specific implementation, the first coding layer is set to a non-trainable state to ensure that the parameters of the first coding layer set are not updated during the training process. Furthermore, a loss function and optimization algorithm (such as Adam and SGD) suitable for the task are selected, and the weight coefficients of each input coding layer in the second coding layer set are iteratively optimized based on the training data through the back propagation algorithm.

[0105] (3) Performing accuracy tests on the first coding layer set and the fine-tuned second coding layer set based on the test data in the updated data set to determine whether the input coding layer of the monitoring model meets preset requirements.

[0106] Specifically, the preset requirements are set according to actual needs, and are not limited in this embodiment.

[0107] In specific implementation, the first coding layer set and the fine-tuned second coding layer set are trained based on the test data, the outputs of the first coding layer set and the fine-tuned second coding layer set are extracted, and their performance indicators on the updated data set are evaluated, such as accuracy and loss value. According to the preset requirements, it is determined whether the input coding layer of the monitoring model meets the accuracy requirements.

[0108] (4) When it is determined that the preset requirement is not met, the first update cycle is updated according to the current state of the valve, and the second coding layer set is continued to be fine-tuned according to the updated first update cycle until the preset requirement is met.

[0109] In specific implementation, when it is determined that the input coding layer of the monitoring model does not meet the preset requirements, in this step, the first update cycle is redetermined according to the current state of the valve, and the second coding layer set is fine-tuned based on the updated first update cycle, and the input coding layer of the monitoring model is recalculated to see whether it meets the preset requirements until it meets the preset requirements.

[0110] S105: Predicting the pipeline valve status based on the fine-tuned monitoring model of the pipeline valve.

[0111] It should be noted that this embodiment also provides a pipeline valve status monitoring interface, by inputting the pipeline valve opening and flow rate, the flow resistance can be predicted in real time. Furthermore, by inputting the initial opening and target opening of the pipeline valve, the dynamic continuity display of the smooth pressure cloud map and the surface stress cloud map can be obtained, which assists the operator in analyzing the pipeline valve status.

[0112] Optionally, the method further includes:

[0113] (1) When a first preset condition is met, determining whether the monitoring model meets a first preset performance condition.

[0114] Specifically, the first preset condition and the first preset performance condition are set according to actual needs, and are not limited in this embodiment. For example, in one embodiment, the first preset condition is that the input data meets certain quality and integrity standards, and the first preset performance condition is that the accuracy of the monitoring model reaches more than 90%.

[0115] In the specific implementation, combined with the above example, when the input data meets certain quality and integrity standards, in this step, it is determined whether the accuracy of the monitoring model reaches 90%.

[0116] (2) If the conditions are met, stop fine-tuning the monitoring model, and use the fine-tuned monitoring model to analyze and predict the operating status of the pipeline valve.

[0117] In specific implementation, when the monitoring model reaches the first preset performance condition, in this step, the fine-tuning of the monitoring model is stopped, and the input data (opening degree and flow rate of the pipeline valve) is input into the fine-tuned monitoring model for forward propagation to obtain the output result. According to the output result of the monitoring model, the operating status of the pipeline valve is predicted.

[0118] (3) If the above conditions are not met, the flow field pressure cloud map data set and the surface stress cloud map data set in the training data set are used as candidate training data sets to reconstruct the valve state analysis model, which replaces the monitoring model to realize the analysis and prediction of the operating state of the pipeline valve, wherein the valve state analysis model calculates the internal pressure cloud map of the flow field and the surface stress cloud map of the valve body after arbitrarily inputting valve flow, pressure, and opening data within a preset range.

[0119] Specifically, the preset range is set according to actual needs, and is not limited in this embodiment.

[0120] In specific implementation, when the monitoring model does not meet the first preset performance condition, in this step, the flow field pressure cloud map data set and the surface stress cloud map data set are used as candidate training data sets, and a suitable artificial intelligence algorithm is selected to establish a valve state analysis model. Input data (opening, flow and pressure of pipeline valves) are input into the valve state analysis model, and forward propagation is performed to obtain output results. According to the output results of the valve state analysis model, the internal pressure cloud map of the flow field and the surface stress cloud map of the valve body are calculated.

[0121] The pipeline valve monitoring method based on the automatic updating large model provided in this embodiment, on the one hand, can quickly predict the operating status of the pipeline valve under any working condition through the monitoring model, can be analyzed in combination with the corresponding flow field velocity and pressure distribution, and can quickly and automatically update the monitoring model by updating the data set to ensure that the predicted results and the actual results are always within the error range, and problems can be discovered in time to improve the operational reliability of the pipeline system, and provide support for product modification or new research by tracing the models and data of different batches and time stages. On the second hand, the monitoring model is divided into a first coding layer set and a second coding layer set. When the monitoring model is fine-tuned, the first coding layer set of the fine-tuned monitoring model inherits the first coding layer set of the original monitoring model, which speeds up and optimizes the update efficiency of the model; the fine-tuned second coding layer set is based on the training data for parameter adjustment and training, to ensure that the output of the fine-tuned model is within the error range with the latest data, and to preserve the data set information of the two stages before and after the update to the greatest extent. Thirdly, when the monitoring model is unable to achieve high-precision predictions, the valve state analysis model is reconstructed based on the flow field pressure cloud map data set and the surface stress cloud map data set, which enables rapid reconstruction and prediction of the flow velocity and pressure distribution cloud maps of the valve's internal flow field. Through a limited number of simulation data, the physical field data of any working conditions within a certain range is obtained, assisting in the analysis and prediction of the product's operating status.

[0122] Corresponding to the aforementioned embodiment of a pipeline valve monitoring method based on automatically updating a large model, the present application also provides an embodiment of a pipeline valve monitoring device based on automatically updating a large model.

[0123] Figure 2 This is a schematic diagram of the structure of the first embodiment of the pipeline valve monitoring device based on the automatic update large model provided by this application. Figure 2 , the device provided in this embodiment includes: an establishment module 210, a training module 220, a segmentation module 230, an update module 240 and a prediction module 250;

[0124] Wherein, the establishment module 210 is used to establish a training data set and an update data set based on the pipeline valve finite element model;

[0125] The training module 220 is used to train a monitoring model of pipeline valves based on the training data set, wherein the monitoring model is a neural network model, which includes at least a plurality of input coding layers for extracting features of different levels of input data;

[0126] The segmentation module 230 is used to optimize the segmentation method of the multiple input coding layers according to the historical monitoring data of the pipeline valve and the monitoring model performance optimization target, to obtain a first coding layer set and a second coding layer set, each coding layer set includes multiple non-overlapping input coding layers, and each input coding layer in the second coding layer set is at the rear end of the first coding layer set;

[0127] The updating module 240 is configured to fine-tune each input coding layer in the second coding layer set based on the updated data set according to a first updating cycle;

[0128] The prediction module 250 is used to predict the pipeline valve status based on the fine-tuned monitoring model of the pipeline valve.

[0129] The pipeline valve monitoring device based on the automatic updating large model provided in this embodiment, on the one hand, can quickly predict the operating status of the pipeline valve under any working condition through the monitoring model, can be analyzed in combination with the corresponding flow field velocity and pressure distribution, and can quickly and automatically update the monitoring model by updating the data set to ensure that the predicted results and the actual results are always kept within the error range, and problems can be discovered in time to improve the operational reliability of the pipeline system, and provide support for product modification or new research by tracing the models and data of different batches and time stages. On the second hand, the monitoring model is divided into a first coding layer set and a second coding layer set. When the monitoring model is fine-tuned, the first coding layer set of the fine-tuned monitoring model inherits the first coding layer set of the original monitoring model, which speeds up and optimizes the updating efficiency of the model; the fine-tuned second coding layer set is based on the training data for parameter adjustment and training, to ensure that the output of the fine-tuned model is kept within the error range with the latest data, and to preserve the information of the data sets of the two stages before and after the update to the greatest extent. Thirdly, when the monitoring model is unable to achieve high-precision predictions, the valve state analysis model is reconstructed based on the flow field pressure cloud map data set and the surface stress cloud map data set, which enables rapid reconstruction and prediction of the flow velocity and pressure distribution cloud maps of the valve's internal flow field. Through a limited number of simulation data, the physical field data of any working conditions within a certain range is obtained, assisting in the analysis and prediction of the product's operating status.

[0130] The device of this embodiment can be used to perform Figure 1 The steps, specific implementation principles and implementation processes of the method embodiment shown are similar and will not be repeated here.

[0131] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.

[0132] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.

[0133] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A pipeline valve monitoring method based on automatic updating of a large model, characterized in that: The method comprises: Establish training data set and update data set based on pipeline valve finite element model; Training a monitoring model for pipeline valves based on the training data set, wherein the monitoring model is a neural network model, comprising at least a plurality of input coding layers for extracting features at different levels of input data; Optimizing the segmentation method of the multiple input coding layers according to the historical monitoring data of the pipeline valve and the monitoring model performance optimization target, obtaining a first coding layer set and a second coding layer set, each coding layer set includes multiple non-overlapping input coding layers, and each input coding layer in the second coding layer set is at the rear end of the first coding layer set; According to a first update cycle, fine-tuning each input coding layer in the second coding layer set based on the update data set; Predicting the pipeline valve status based on the fine-tuned monitoring model of the pipeline valve; The method of optimizing the segmentation mode of the plurality of input coding layers according to the historical monitoring data of the pipeline valve and the monitoring model performance optimization target to obtain the first coding layer set and the second coding layer set includes: Extracting and analyzing the historical monitoring data of the pipeline valve to obtain a first data set and a second data set; the data in the first data set are general feature data, which are insensitive to data changes and are common to many tasks; the data in the second data set are learning feature data, which are sensitive to data changes; Based on the first data set and the monitoring model performance optimization target, segment the multiple input coding layers to obtain a first coding layer set; Based on the second data set and the monitoring model performance optimization target, the multiple input coding layers are segmented to obtain a second coding layer set.

2. The method according to claim 1, characterized in that The step of fine-tuning each input coding layer in the second coding layer set based on the updated data set according to the first update cycle includes: determining a first update period based on a pipeline valve performance degradation characteristic curve, wherein the first update period changes according to a current state of the valve; fine-tuning each input coding layer in the second coding layer set according to the currently determined first update period; Performing accuracy tests on the first coding layer set and the fine-tuned second coding layer set based on the test data in the updated data set to determine whether the input coding layer of the monitoring model meets preset requirements; When it is determined that the preset requirement is not met, the first update cycle is updated according to the current state of the valve, and the second coding layer set is continuously fine-tuned according to the updated first update cycle until the preset requirement is met.

3. The method according to claim 1, characterized in that: The update data set includes a source data set, and the process of establishing the update data set includes: Collecting flow resistance data at different flow rates and different openings during the actual operation of the pipeline valve; At every first update period, the flow resistance data collected in the first update period is determined as an update data set.

4. The method according to claim 1, characterized in that: Fine-tuning each input coding layer in the second coding layer set according to the currently determined first update period includes: Every first update cycle, determining a specified proportion of the update data set in the update data set as training data, and determining the rest of the update data set as test data; Creating a target model based on the monitoring model of the pipeline valve; the target model includes a first coding layer set and a second coding layer set, and the target model inherits the structure and parameters of the monitoring model; The parameters of the first coding layer set in the target model are frozen, and the weight coefficients of each input coding layer in the second coding layer set of the target model are iteratively optimized through the training data.

5. The method according to claim 1, characterized in that The training data set includes a source data set, a flow field pressure cloud map data set and a surface stress cloud map data set. The training data set is established based on the pipeline valve finite element model, including: Establishing a source data set based on the pipeline valve flow resistance simulation structure corresponding to different flow rates and different openings within the value range of the pipeline valve finite element model; Based on the spatial coordinate origin of the finite element model of the pipeline valve at different openings, determine the spatial coordinate points in the flow field inside the ball valve where data needs to be collected; Based on the value range of the pipeline valve finite element model, the flow field pressure cloud map data and the surface stress cloud map data of the spatial coordinate point at different flow rates and different openings are obtained; Based on the flow field pressure cloud map data and the surface stress cloud map data, a flow field pressure cloud map data set and a surface stress cloud map data set are established.

6. The method according to claim 1, characterized in that The process of establishing the pipeline valve finite element model includes: Based on the stroke of the ball valve in the pipeline valve, a three-dimensional model of the ball valve is established; According to the structural characteristics of the ball valve, the three-dimensional model is meshed; The divided three-dimensional model is imported into CFD software for simulation to obtain the finite element model of the pipeline valve.

7. The method according to claim 1, characterized in that The method of establishing a training data set and updating a data set based on the pipeline valve finite element model includes: Calculate the value range based on the pipeline valve finite element model; Obtaining a training data set and an update data set within the value range; Wherein, the value range calculated based on the pipeline valve finite element model includes: Decomposing the physical structure of the pipeline valve to obtain a decomposition result; Based on the decomposition results, a one-dimensional performance simulation model of the pipeline valve is established; Based on the one-dimensional performance simulation model, the pipeline valve finite element model is simulated under different working conditions to obtain a value range of the pipeline valve finite element model.

8. The method according to claim 1, characterized in that The method further comprises: When the first preset condition is met, determining whether the monitoring model meets the first preset performance condition; If satisfied, stop fine-tuning the monitoring model, and use the fine-tuned monitoring model to analyze and predict the operating status of the pipeline valve; If it is not satisfied, the flow field pressure cloud map data set and the surface stress cloud map data set in the training data set are used as candidate training data sets to reconstruct the valve state analysis model, replacing the monitoring model to realize the analysis and prediction of the operating state of the pipeline valve, wherein the valve state analysis model calculates the internal pressure cloud map of the flow field and the surface stress cloud map of the valve body after arbitrarily inputting valve flow, pressure, and opening data within a preset range.

9. A pipeline valve monitoring device based on automatically updated large model, characterized in that: The device comprises: a building module, a training module, a segmentation module, an updating module and a prediction module; wherein, The establishment module is used to establish a training data set and an update data set based on the pipeline valve finite element model; The training module is used to train a monitoring model of pipeline valves based on the training data set, wherein the monitoring model is a neural network model, comprising at least a plurality of input coding layers, for extracting features of different levels of input data; The segmentation module is used to optimize the segmentation method of the multiple input coding layers according to the historical monitoring data of the pipeline valve and the monitoring model performance optimization target, to obtain a first coding layer set and a second coding layer set, each coding layer set includes multiple non-overlapping input coding layers, and each input coding layer in the second coding layer set is at the rear end of the first coding layer set; The updating module is configured to fine-tune each input coding layer in the second coding layer set based on the updated data set according to a first updating cycle; The prediction module is used to predict the pipeline valve state based on the fine-tuned monitoring model of the pipeline valve; The method of optimizing the segmentation mode of the plurality of input coding layers according to the historical monitoring data of the pipeline valve and the monitoring model performance optimization target to obtain the first coding layer set and the second coding layer set includes: Extracting and analyzing the historical monitoring data of the pipeline valve to obtain a first data set and a second data set; the data in the first data set are general feature data, which are insensitive to data changes and are common to many tasks; the data in the second data set are learning feature data, which are sensitive to data changes; Based on the first data set and the monitoring model performance optimization target, segment the multiple input coding layers to obtain a first coding layer set; Based on the second data set and the monitoring model performance optimization target, the multiple input coding layers are segmented to obtain a second coding layer set.

Citation Information

Patent Citations

  • Fault monitoring method, device and equipment and computer storage medium

    CN116166498A

  • Intelligent cloud picture prediction method for flow velocity field of aviation pneumatic ball valve

    CN116976024A

  • Industrial control system transfer learning model establishment method and device and storage medium

    CN117371514A

  • Method and device for evaluating an operating parameter of an injection valve

    DE102020205688A1

  • Intelligent parallel pumping system and optimal regulating method thereof

    GB202116859D0