Flowing corrosion intelligent monitoring, early warning, prevention and control edge computing system and method
Through the flow corrosion intelligent monitoring, early warning, prevention and control edge computing system, multiple data sources and machine learning algorithm modules are used to solve the inaccuracy problem of flow corrosion monitoring and protection in the equipment pipeline system of the stone (coal) chemical industry, and achieve fast and accurate Anti-corrosion control improves the operational safety and efficiency of equipment.
Patent Information
- Application Number
- CN202410806860.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The current flow corrosion monitoring and prediction and unscientific protection in equipment pipeline systems in the stone (coal) chemical industry have resulted in long-term equipment operation being subject to localized and sudden corrosion problems, making it difficult to quickly and accurately adjust the amount of anticorrosive agents.
The flow corrosion intelligent monitoring, early warning and prevention edge computing system is used to collect various database and instrument data through the data acquisition unit. The computing unit uses the machine learning algorithm module to perform offline learning and iterative optimization. The control logic configuration module forms a vector control flow chart to realize Automatic regulation and feedback.
It realizes the rapid and accurate calculation of the most suitable water injection amount, corrosion inhibitor injection amount and neutralizer injection amount for process anti-corrosion, improves the system's self-learning ability and adaptability, reduces the specific research time for new devices, and forms a dynamic optimization control mechanism.
Smart Images

Figure CN118775775A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology of equipment pipeline systems in the petroleum (coal) chemical industry, and specifically to an edge computing system and method for intelligent monitoring, early warning and prevention of flow corrosion. Background Art
[0002] The pipeline systems of equipment in the petroleum (coal) chemical industry generally have localized, sudden, and high-risk flow corrosion failure problems, which even restrict the long-term operation of the equipment, thus causing serious social and economic problems. Therefore, through the research on the characterization method of flow corrosion mechanism, the construction of intelligent monitoring and early warning system, the research and development of process protection methods and automatic control systems and equipment, an integrated solution from basic theory to product application is developed to solve the common problems of inaccurate prediction of equipment corrosion in the petroleum (coal) chemical industry, inadequate monitoring, and unscientific protection.
[0003] At present, corrosion prediction, monitoring and protection are mainly achieved through the process corrosion agent precision injection skid system. The process corrosion agent precision injection skid system includes hardware and software parts. The hardware part generally includes servers, industrial computers, control cabinets, frequency conversion cabinets, injection skids and PH online monitoring systems. Among them, the injection skid includes: frequency conversion pumps, valves, flow meters, temperature meters and other components. The software part consists of a process corrosion control integrated system and a process corrosion intelligent control system.
[0004] The process anti-corrosion injection precision injection skid system is designed for a specific device of a certain petroleum (coal) chemical industry equipment. Based on the industry and enterprise anti-corrosion management regulations and relevant standard control indicators, the concentration of downstream corrosion products such as Fe 2+ and liquid pH value, dynamically adjust the water / injection dosage related to upstream process corrosion protection. The ultimate goal is to keep the concentration of downstream corrosion products below the upper limit specified in relevant standards. The ideal goal is to maintain an operation cycle, for example, four years without any corrosion or leakage accidents in the equipment and piping system of the device.
[0005] The main problem with the above technology is that the corrosion data and pH data monitored on site are used to form conclusions, which are fed back to the host computer, which then sends dynamic instructions to the controller to adjust the water injection / injection amount data related to the upstream process corrosion protection. In this way, the data only comes from a database of a specific site, and the data source has limitations, resulting in the need to trigger multiple dynamic adjustments to meet the requirements, making it difficult to quickly and accurately calculate the most suitable water injection / injection amount for corrosion protection. Summary of the invention
[0006] The purpose of the present invention is to provide an edge computing system and method for intelligent monitoring, early warning and prevention of flow corrosion to solve the problems existing in the prior art.
[0007] In order to solve the above technical problems, the present invention provides the following technical solutions: an edge computing system for intelligent monitoring, early warning and prevention of flow corrosion, including a data acquisition unit for collecting offline data of various databases and online data of instruments, governance data and storage data; A computing unit, the computing unit includes a machine learning algorithm module and a control logic configuration module, the machine learning algorithm module is suitable for offline calculation, learning training and iterative optimization; the control logic configuration module is used for process protection intelligent control logic configuration; The control unit is used to issue instructions, execute automatic control and feed back the execution results to the data acquisition unit according to the vector control logic flow chart of the automatic control logic configuration.
[0008] Based on the above technical problems, another technical solution is also provided: an edge computing method for intelligent monitoring, early warning and prevention of flow corrosion using the above system, comprising the following steps: S1. Data acquisition: The data acquisition unit collects data set 1 of the distributed control system DCS (Distributed Control System) and data set 2 of the laboratory information management system LIMS (Laboratory Information Management System) from the field database through a virtual communication interface, and receives data set 3 from the field instrument through hard wiring; S2, Data Governance: Data Governance is performed on Data Sets 1, 2, and 3 obtained in S1 to filter out invalid and erroneous data, and to organize valid data according to the required data structure to form standardized data; S3, data storage: the standardized data obtained in S2 is stored according to the structure of the data storage unit to form a data center; S4. Operation of the upper computer learning algorithm: The machine learning algorithm module of the computing unit calls the standardized data stored in the data center for offline learning, and then uses the real-time collected data to perform algorithm call calculations according to the required functional modules; the functional modules include the flow corrosion characteristic monitoring functional module, the prediction and early warning functional module, and the process control functional module. Each functional module calculates and obtains the calculation results G according to the actual needs. 监测 Feature prediction data set, G 预警 Prediction data set, G 防护 Process control prediction data collection; S5, control logic configuration: The control logic configuration module of the operation unit relies on the machine learning algorithm calculation result G formed in S4 according to the process flow of the device and the actual needs of the project. 监测 Feature prediction data set, G 预警 Prediction data set, G 防护The process control prediction data is collected to perform automatic control logic configuration and form a vector control flow chart; S6, control execution: The system has a built-in control board, which carries a control unit. The control unit issues control instructions for field equipment according to the vector control flow chart, executes the automatic control program, and feeds back the execution results of the automatic control to the data acquisition unit; S7, closed-loop control: The execution results of S6 are standardized and fed back in real time. The standardized results are stored in the data center and used as a new data source to feed the machine learning algorithm module for offline calculation, learning training, and iterative optimization.
[0009] Furthermore, in step S1, data set 1 is obtained online by C1 工况 Data set, pipe wall thickness C1 壁厚 Dataset, pH C1 pH Dataset, online corrosion rate C1 腐蚀 Dataset and ion content C1 离子 Dataset; Dataset 2 is obtained online via C2 分析 Dataset, pH C2 pH Dataset, ion content C2 离子 Data set: The data of data set 3 are obtained by online thickness gauge to obtain the pipe wall thickness C3 壁厚 Dataset, pH value C3 obtained by online pH tester pH Dataset, corrosion rate C3 obtained by online corrosion probe 腐蚀 Data set and ion content C3 by online ion detector 离子 Dataset.
[0010] Furthermore, the S2 includes the following process: S21, filter data: delete the data obtained due to instrument error monitoring and the data obtained due to transmission disturbance in all the data in data set 1, data set 2, and data set 3 to obtain valid data; S22. Standardized data: The valid data is sorted according to the standard of a single data structure, wherein the single data structure is sequentially composed of a data source identifier, the valid data itself, a data quality identifier, a collection time, and a storage location, to form unified standardized data.
[0011] Furthermore, the method for determining data quality is as follows: judging by the deviation between a certain valid data and the normal distribution curve of the data set in which the data is located, if the deviation value is small, it is determined to be high-quality data and an identification level Qa is given; if the deviation value is large, it is determined to be low-quality data and an identification level Qd is given.
[0012] Furthermore, the structure of the data storage unit in S3 is composed of standardized data, edge headers, adjacent points, and pointers.
[0013] Furthermore, the S4 includes the following process: S41, offline calculation: retrieve historical data to establish a training model. The training model is transmitted to the machine learning algorithm module for learning on the one hand, and to the evaluation model for quality evaluation on the other hand. The model evaluation result is fed back to the training model in real time; S42, learning and training: the machine learning algorithm module learns the training model using offline historical data to form its own algorithm, calculates the new online data obtained according to its own algorithm, obtains the prediction result and outputs it; S43, iterative optimization: The prediction results calculated by the new online data input model are compared with the sample results calculated offline using historical data, and the deviation value parameters of the two are fed back to the machine learning algorithm module for iterative optimization.
[0014] Furthermore, the vector control flow chart in S6 at least includes a water injection vector logic control flow chart, a neutralizing agent injection vector logic control chart and a sustained-release agent injection vector logic control chart.
[0015] Furthermore, the execution result of the automatic control fed back in S6 includes the opening and closing actions of the metering pump and the opening and closing actions of the regulating valve.
[0016] Compared with the prior art, the beneficial effects achieved by the present invention are: 1. The data of the digital acquisition unit of the present invention has multiple sources, including distributed control system data, laboratory data, and online monitoring data, which is very comprehensive. The machine learning algorithm module can quickly and accurately calculate the most suitable water injection amount, corrosion inhibitor injection amount, neutralizer injection amount, temperature control range, flow control range, etc. for process corrosion protection through continuous learning of the data.
[0017] 2. The present invention can integrate the self-learning algorithm with the control system through the machine learning algorithm module and the control logic configuration module, so that the system becomes an intelligent control product with self-learning ability, which can fully adapt to the pipeline system of equipment in the petroleum (coal) chemical industry and carry out professional applications.
[0018] 3. The vector logic control diagram formed by the present invention can be quickly and flexibly applied to various types of devices, reducing the staff's specific research time for new devices.
[0019] 4. The process protection measures of the present invention are based on the flow corrosion characteristic characterization and monitoring and early warning technology. The machine learning algorithm module can perform learning training and iterative training to form a dynamic control algorithm for flow corrosion process protection and a dynamic optimization mechanism that iteratively optimizes and self-corrects to gradually approach the optimal control target. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 is a schematic diagram of the composition of the computing system of the present invention, Figure 2 is a schematic flow chart of the calculation method of the present invention, Figure 3 is a logic flow chart of the operation of the machine learning algorithm module in Example 1, Figure 4 This is a neutralizer injection vector logic control diagram of embodiment 1. DETAILED DESCRIPTION
[0021] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] See also Figure 1 , an edge computing system for intelligent monitoring, early warning and prevention of flow corrosion, the system is mainly composed of a data acquisition unit, a computing unit and a control unit. The data acquisition unit is used to collect offline data from multiple databases and online data, management data and storage data from instruments. The computing unit is used to perform offline calculations, learning training and iterative optimization on all data, and form key accounting models and algorithms as well as automatic control logic configurations based on algorithm results. The control unit is used to issue instructions, execute automatic control and feedback the execution results to the data acquisition unit according to the vector control logic flow chart of the automatic control logic configuration. The system of the present invention can be installed on any server or host computer.
[0023] The computing units in the system include a machine learning algorithm module and a control logic configuration module: the machine learning algorithm module is suitable for offline calculation, learning training and iterative optimization; the control logic configuration module is used for process protection intelligent control logic configuration to obtain a vector control flow chart, which is suitable for any site.
[0024] See also Figure 2 The calculation method of the above-mentioned flow corrosion intelligent monitoring, early warning and prevention edge computing system includes the following steps: S1. Data acquisition: The data acquisition unit collects data set 1 of the distributed control system DCS (Distributed Control System) and data set 2 of the laboratory information management system LIMS (Laboratory Information Management System) from the field database through a virtual communication interface, and receives data set 3 from the field instrument through hard wiring; S2, Data Governance: Data Governance is performed on Data Sets 1, 2, and 3 obtained in S1 to filter out invalid and erroneous data, and to organize valid data according to the required data structure to form standardized data; S3, data storage: the standardized data obtained in S2 is stored according to the structure of the data storage unit to form a data center; S4. Operation of the upper computer learning algorithm: The machine learning algorithm module of the computing unit calls the standardized data stored in the data center for offline learning, and then uses the real-time collected data to perform algorithm call calculations according to the required functional modules; the functional modules include the flow corrosion characteristic monitoring functional module, the prediction and early warning functional module, and the process control functional module. Each functional module calculates and obtains the calculation results G according to the actual needs. 监测 Feature prediction data set, G 预警 Prediction data set, G 防护 Process control prediction data collection; S5, control logic configuration: The control logic configuration module of the operation unit relies on the machine learning algorithm calculation result G formed in S4 according to the process flow of the device and the actual needs of the project. 监测 Feature prediction data set, G 预警 Prediction data set, G 防护 The process control prediction data is collected to perform automatic control logic configuration and form a vector control flow chart; S6, control execution: The system has a built-in control board, which carries a control unit. The control unit issues control instructions for field equipment according to the vector control flow chart, executes the automatic control program, and feeds back the execution results of the automatic control to the data acquisition unit; S7, closed-loop control: The execution results of S6 are standardized and fed back in real time. The standardized results are stored in the data center and used as a new data source to feed the machine learning algorithm module for offline calculation, learning training, and iterative optimization.
[0025] The data of the data acquisition unit of the present invention has multiple sources, including distributed control system data, laboratory data, and online monitoring data, which reduces the limitations of the data sources of previous technologies and ensures the comprehensiveness of the data. The machine learning algorithm module can quickly and accurately calculate the most suitable water injection amount, corrosive agent injection amount, neutralizer injection amount, pH value, etc. for process corrosion protection by continuously learning a large amount of data. The present invention designs a clear standardized data format and a clear data center storage method, so that data from multiple sources can be stored more systematically and retrieved more quickly and accurately. The machine learning algorithm module of the present invention has the following functions: first, it can autonomously learn and analyze offline database data and laboratory data for reference; second, it can automatically calculate online monitoring data according to the calculation process obtained by learning; finally, it can automatically return to the previous steps to check whether its real-time calculation results are reasonable and perform self-correction. The machine learning algorithm module of the present invention is different from the previous technology and does not need to manually proofread the results of real-time calculations. The control logic configuration module of the present invention automatically controls the logic configuration of multiple self-learning calculation results and sends them to the control unit. The control logic configuration module of the present invention integrates the self-control logic configuration with the system of the control board card in the host computer, making the present invention an intelligent control product with self-learning ability. The control unit of the present invention has the functions of real-time feedback and result feedback, so the system has a strong memory ability and can quickly retrieve the content of past feedback to issue control instructions. In summary, the flow corrosion intelligent monitoring, early warning and prevention edge computing system and method of the present invention have faster response speed and more accurate control results.
[0026] Embodiment 1
[0027] The system and method are applied to the pipeline system of the petrochemical industry. Online thickness gauges, online corrosion probes, online pH testers and online ion detectors are installed along the pipelines on site to monitor the online pipeline wall thickness, online corrosion rate, pH value and Fe ion content in real time, so as to regulate the water injection volume, neutralization dose and corrosion inhibitor dose required to be injected upstream in real time. Among them, the data of online pipeline wall thickness can be used to monitor high-risk locations for pipeline corrosion to prevent sudden leakage and explosion. Based on the dynamic characteristics of flow corrosion in petrochemical equipment, this embodiment provides an accurate online measurement of pipeline wall thickness distribution scheme, and accurately sets the online thickness gauge according to the location where the flow corrosion mechanism may occur, thereby improving the accuracy of online measurement of pipeline wall thickness. The corrosion probe monitors the average corrosion rate of the medium in the pipeline, reflecting the corrosiveness of the medium in the pipeline to the pipeline material. The data monitored by the present invention include but are not limited to the pipeline wall thickness, online corrosion rate, pH value, and Fe ion content in this embodiment, and other indicators such as temperature value, pressure value, flow rate value, crystallization point, dew point, etc. can also be monitored.
[0028] Step S1, data collection; Specifically, for example, the data acquisition unit collects data set 1 of the distributed control system DCS (Distributed Control System) and data set 2 of the laboratory information management system LIMS (Laboratory Information Management System) from the field database through a virtual communication interface. On the other hand, the data acquisition unit receives data set 3 from field instruments such as online thickness gauges, corrosion probes, pH testers, and ion detectors through hard wiring, such as 485 hard wiring, 232 interface, serial port wiring, etc. Among them, the data required to be collected by data set 1, data set 2, and data set 3 include the pipe wall thickness C 工况 Dataset, C 分析 Dataset, C 壁厚 Dataset, pH value C pH Dataset, online corrosion rate C 腐蚀 Dataset and Fe ion content C 离子 Datasets, etc. Online C1 工况 Data set, pipe wall thickness C1 壁厚 Dataset, pH C1 pH Dataset, online corrosion rate C1 腐蚀 Dataset and ion content C1 离子 Dataset composition Dataset 1: C2 in LIMS data 分析 Dataset, pH C2 pH Dataset, ion content C2 离子 Data set composition Data set 2: The online thickness gauge obtains the pipe wall thickness C3 壁厚 Dataset, pH value C3 obtained by online pH tester pH Data set, online corrosion probe to obtain corrosion rate C3 腐蚀 Dataset and online ion detector ion content C3 离子 Dataset composition Dataset 3.
[0029] Step S2, data governance includes the following processes: S21. Filter data: Delete the data obtained due to instrument error monitoring and transmission disturbance in all data in Dataset 1, Dataset 2 and Dataset 3 to obtain valid data; the data required to be collected in Dataset 1, Dataset 2 and Dataset 3 include the pipe wall thickness C 工况 Dataset, C 分析 Dataset, C 壁厚 Dataset, pH value C pH Dataset, online corrosion rate C 腐蚀 Dataset and Fe ion content C 离子 Dataset: Dataset 1 is obtained online 工况Data set, pipe wall thickness C1 壁厚 Dataset, pH C1 pH Dataset, online corrosion rate C1 腐蚀 Dataset and ion content C1 离子 Dataset; Dataset 2 is obtained online via C2 分析 Dataset, pH C2 pH Dataset, ion content C2 离子 Data set: The data of data set 3 are obtained by online thickness gauge to obtain the pipe wall thickness C3 壁厚 Dataset, pH value C3 obtained by online pH tester pH Dataset, corrosion rate C3 obtained by online corrosion probe 腐蚀 Data set and ion content C3 by online ion detector 离子 Dataset.
[0030] Specifically, for example, Dataset 1, Dataset 2, and Dataset 3 can obtain tens of thousands of data every day: For the data obtained from Dataset 1 and Dataset 2, the data acquisition unit compares the corresponding data with the corresponding C1 壁厚 Data distribution curve of the data set, C1 腐蚀 Data distribution curve of the data set, C1 pH Data distribution curve of the data set, C1 离子 Data distribution curve of the data set, C2 壁厚 Data distribution curve of the data set, C2 pH Data distribution curve of the data set, C2 腐蚀 Data distribution curve of the data set, C2 离子 The data distribution curves of the data sets are compared and judged, and the data with large deviations are identified as erroneous data and deleted. For the data obtained from data set 3, when a certain ion detector fails, the ion content C3 离子 =0mg / L, the data acquisition unit will identify it as invalid data and delete it; when external interference occurs and the online thickness gauge vibrates at a certain place, the wall thickness of the pipe C3 is obtained 壁厚 =500mm, far from the pipe wall thickness C3 壁厚 The data distribution curve of the data set is identified as erroneous data by the data acquisition unit and deleted.
[0031] S22. Standardized data: Organize the valid data according to the standard of a single data structure. The single data structure is composed of the data source identifier, the valid data itself, the data quality identifier, the collection time and the storage location in sequence to form unified standardized data.
[0032] Specifically, for example, the data of Dataset 1, Dataset 2, and Dataset 3 are of various types and messy, and need to be standardized and sorted, and the data "ID number" is given to facilitate the autonomous identification and learning of the subsequent machine learning algorithm module. Regarding the data source identification, the data source identifications from Dataset 1, Dataset 2, and Dataset 3 are recorded as C1, C2, and C3 respectively. Regarding the valid data itself, it is recorded according to the name abbreviation + the structure of the obtained data itself, with 4 digits reserved, decimal points, percentage signs, etc. retained. Regarding data quality, its judgment method and identification recording method are as follows: judge by the deviation of a certain valid data from the normal distribution curve of the data set where the data is located. If the deviation value is small, it is judged as high-quality data and the identification level Qa is given. If the deviation value is large, it is judged as low-quality data and the identification level Qd is given. Including but not limited to Qa and Qd, it can also be divided into levels such as Qb and Qc. Regarding the acquisition time, the identification is recorded as T+6 digits, which are used to record the time of the month and day and the number of times on the day. Regarding the storage location, the identification is recorded as L+position character, and the position character refers to the table number of the Nth table or the edge table header number defined for the Nth table. For example, the first online monitoring of the pipe wall thickness C3 on June 12 壁厚 =480mm, the processed standardized data is: C3BH0480QaT061201L01. After effective data is managed and "packaged", it is more conducive to the communication between the data acquisition unit and the computing unit, and between the computing unit and the control unit, and it can also play a role in confidentiality.
[0033] Step S3, data storage: storing the standardized data according to the structure of the data storage unit to form a data center; The structure of the data storage unit consists of standardized data, edge table header, adjacent points, and pointers.
[0034] Specifically, for example, the data storage unit of the data acquisition unit is designed by using C language so that each standardized data is placed in order to facilitate later reading.
[0035] See also Figure 3 , step S4, the host computer learning algorithm runs: Specifically, for example, this step is mainly carried out through a machine learning algorithm module designed in C language.
[0036] Further, step S4 includes the following process: S41, offline calculation: retrieve historical data to establish a training model. The training model is transmitted to the machine learning algorithm module for learning on the one hand, and to the evaluation model for quality evaluation on the other hand, and the result of the model evaluation is fed back to the training model; Specifically, for example, the standardized data stored in the data center is used for offline modeling and calculation to obtain a training model. For example, the C1, C2, and C3 data sets within a certain period of time are retrieved. 腐蚀 The process control function module is called to perform offline calculations to obtain a corrosion characteristic calculation result. This is not limited to any ten values, but can also be hundreds or thousands of values to form a sample set of characteristic data and serve as a training data set, such as G 监测 Training dataset, G 预警 Training dataset, G 防护 Training data set. The results of these training data sets are transmitted from the training model to the machine learning algorithm module for learning, and on the other side to the evaluation model for quality evaluation. The model evaluation results will be fed back to the training model to ensure the accuracy of the training model.
[0037] S42, learning and training: the machine learning algorithm module learns the training model using offline historical data to form its own algorithm, calculates the new online data obtained according to its own algorithm, obtains the prediction result and outputs it; Specifically, for example, the machine learning algorithm module performs real-time calculations on the newly collected data according to actual needs to obtain G 监测 Feature prediction dataset,G 预警 Prediction dataset, G 防护 Process control prediction data set, these prediction data sets are stored in the data center of the previous step S3 according to the structure of the data storage unit, and are output to the next step S5 control logic configuration. 监测 The characteristic prediction data set consists of calculation result data related to flow corrosion characteristics, such as ammonium salt crystallization point, crystallization amount, deposition position, dew point, dew point pH value, average flow velocity, shear stress, corrosive medium concentration, etc., which is used for real-time monitoring of flow corrosion characteristics; G 预警 The prediction data set consists of critical characteristic data and supercritical corrosion rate data, which are obtained from a large number of laboratory simulation experiments combined with the data set 2 of the laboratory information management system LIMS (Laboratory Information Management System) to achieve dynamic alarm; G 防护 The process control prediction data set consists of process data such as temperature, pressure, flow, water injection volume, injection dosage, etc., and is used to provide key process data support for the dynamic control of upstream process conditions.
[0038] S43, iterative optimization: the prediction results calculated by the new online data input model are compared with the sample results calculated offline using historical data, and the deviation value parameters of the two are fed back to the machine learning algorithm module for iterative optimization; Specifically, for example, G 监测 The crystallization points of the characteristic training dataset and G 监测 The crystallization points of the feature prediction data set are compared, and the deviation values of the two are fed back to the machine learning algorithm module. The loss feedback and correction mechanism integrated in the algorithm updates the model in real time, thereby improving the scientificity and accuracy of the machine learning algorithm.
[0039] Step S5, control logic configuration: The control logic configuration module of the operation unit relies on the machine learning algorithm calculation result G formed in S4 according to the process flow of the device and the actual needs of the project. 监测 Feature prediction dataset,G 预警 Prediction dataset, G 防护 Process control prediction data set, automatic control logic configuration, forming vector control flow chart; Specifically, for example, the vector control flow chart includes but is not limited to the water injection vector logic control flow chart, the neutralizer injection vector logic control chart, and the slow-release agent injection vector logic control chart. Each type of vector logic control chart will be given to the all-in-one control unit for controlling the on-site filling equipment, and the upstream water injection volume, neutralizer dosage and corrosion inhibitor dosage will be dynamically and accurately regulated.
[0040] See also Figure 4 , which is the neutralizer injection vector logic control diagram: (1) Control parameters: dew point T0 (obtained by the machine learning algorithm module), tower top outlet temperature T1, tower top outlet maximum temperature T2, heat exchanger inlet temperature T3, heat exchanger inlet outer wall temperature T4, heat exchanger inlet inner wall temperature T5, 20# carbon steel pipeline tolerance minimum pH value L_pH (obtained from data set 2 of the laboratory information management system LIMS), L_pH corresponding to the neutralizer filling amount F_H (obtained from data set 2 of the laboratory information management system LIMS), current neutralizer filling amount F. (2) Control logic: ① Initialize the neutralizer filling amount F=4L / H; ② Raise the tower temperature when the dew point appears: calculate the dew point of the tower top volatile line under the calibration conditions. If T0>=T5+3, increase the tower top outlet temperature to ensure that the dew point is lower than the heat exchanger inlet temperature, and calculate the tower top outlet temperature T1 under ideal conditions; ③ The tower top outlet temperature cannot increase indefinitely. When T1 exceeds the tower top outlet maximum temperature T2, if a dew point alarm occurs, it is necessary to adjust the neutralizer filling amount to ensure that the pH value at the dew point is higher than the critical value of carbon steel pipeline corrosion: if (T1>T2&T0>T5), (if (F_H>4), F=F_H; if (F_H<=4), F=4). The above if is a logical operation symbol, indicating the establishment condition. Figure 4 TON, SEL, DI, ADD, GT, and SEL are also commonly used logical operation symbols for pipeline system control in the stone coal industry, and will not be repeated here.
[0041] Step S6, control execution: the system has a built-in control board, which carries a control unit. The control unit issues control instructions for field equipment according to the vector control flow chart and executes the automatic control program. Finally, the execution result of the automatic control is fed back to the data center storage of S3; Specifically, for example, the execution results of the feedback automatic control include the opening and closing and stroke adjustment actions of the metering pump, the opening and closing and adjustment actions of the flow control valve; the injected water volume, neutralizing dose and corrosion inhibitor dose; the regulated temperature, pressure, etc.
[0042] S7, closed-loop control: The execution results of S6 are standardized and fed back in real time. The standardized results are stored in the data center and used as a new data source for learning, training, iterative training, and continuous optimization of the machine learning algorithm module.
[0043] Specifically, for example, key operating processes and key process data are recorded and stored in the data center.
[0044] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. An edge computing system for intelligent monitoring, early warning and prevention of flow corrosion, characterized in that: System includes Data acquisition unit, used to collect offline data from various databases and online data from instruments, manage data, and store data; A computing unit, the computing unit includes a machine learning algorithm module and a control logic configuration module, the machine learning algorithm module is suitable for offline calculation, learning training and iterative optimization; the control logic configuration module is used for process protection intelligent control logic configuration; The control unit is used to issue instructions, execute automatic control and feed back the execution results to the data acquisition unit according to the vector control logic flow chart of the automatic control logic configuration.
2. An edge computing method for intelligent monitoring, early warning and prevention of flow corrosion using the system described in claim 1, characterized in that: The steps include: S1. Data acquisition: The data acquisition unit collects data set 1 of the distributed control system DCS (Distributed Control System) and data set 2 of the laboratory information management system LIMS (Laboratory Information Management System) from the field database through a virtual communication interface, and receives data set 3 from the field instrument through hard wiring; S2, Data Governance: Data Governance is performed on Data Sets 1, 2, and 3 obtained in S1 to filter out invalid and erroneous data, and to organize valid data according to the required data structure to form standardized data; S3, data storage: the standardized data obtained in S2 is stored according to the structure of the data storage unit to form a data center; S4. Operation of the upper computer learning algorithm: The machine learning algorithm module of the computing unit calls the standardized data stored in the data center for offline learning, and then uses the real-time collected data to perform algorithm call calculations according to the required functional modules; the functional modules include the flow corrosion characteristic monitoring functional module, the prediction and early warning functional module, and the process control functional module. Each functional module calculates and obtains the calculation results G according to the actual needs. 监测 Feature prediction data collection, G 预警 Prediction data set, G 防护 Process control prediction data collection; S5, control logic configuration: The control logic configuration module of the operation unit relies on the machine learning algorithm calculation result G formed in S4 according to the process flow of the device and the actual needs of the project. 监测 Feature prediction data collection, G 预警 Prediction data set, G 防护 The process control prediction data is collected to perform automatic control logic configuration and form a vector control flow chart; S6, control execution: The system has a built-in control board, which carries a control unit. The control unit issues control instructions for field equipment according to the vector control flow chart, executes the automatic control program, and feeds back the execution results of the automatic control to the data acquisition unit; S7, closed-loop control: The execution results of S6 are standardized and fed back in real time. The standardized results are stored in the data center and used as a new data source to feed the machine learning algorithm module for offline calculation, learning training, and iterative optimization.
3. The edge computing method for intelligent monitoring, early warning and prevention of flow corrosion according to claim 2 is characterized in that: Dataset 1 is obtained online using C1 工况 Data set, pipe wall thickness C1 壁厚 Dataset, pH C1 pH Dataset, online corrosion rate C1 腐蚀 Dataset and ion content C1 离子 Dataset; Dataset 2 is obtained online via C2 分析 Dataset, pH C2 pH Dataset, ion content C2 离子 Data set: The data of data set 3 are obtained by online thickness gauge to obtain the pipe wall thickness C3 壁厚 Dataset, pH value C3 obtained by online pH tester pH Dataset, corrosion rate C3 obtained by online corrosion probe 腐蚀 Data set and ion content C3 by online ion detector 离子 Dataset.
4. The edge computing method for intelligent monitoring, early warning and prevention of flow corrosion according to claim 2 is characterized in that: The S2 includes the following process: S21, filter data: delete the data obtained due to instrument error monitoring and the data obtained due to transmission disturbance in all the data in data set 1, data set 2, and data set 3 to obtain valid data; S22. Standardized data: The valid data is sorted according to the standard of a single data structure, wherein the single data structure is sequentially composed of a data source identifier, the valid data itself, a data quality identifier, a collection time, and a storage location, to form unified standardized data.
5. The edge computing method for intelligent monitoring, early warning and prevention of flow corrosion according to claim 4 is characterized in that: The method for determining the data quality is as follows: judging by the deviation between a certain valid data and the normal distribution curve of the data set in which the data is located, if the deviation value is small, it is determined to be high-quality data and given an identification level Qa, and if the deviation value is large, it is determined to be low-quality data and given an identification level Qd.
6. The edge computing method for intelligent monitoring, early warning and prevention of flow corrosion according to claim 2 is characterized in that: The structure of the data storage unit in S3 is composed of standardized data, edge header, adjacent points, and pointers.
7. The flow corrosion intelligent monitoring, early warning and prevention edge computing system and method according to claim 2 is characterized in that: The S4 includes the following process: S41, offline calculation: retrieve historical data to establish a training model. The training model is transmitted to the machine learning algorithm module for learning and to the evaluation model for quality evaluation. The model evaluation results are fed back to the training model in real time. S42, learning and training: the machine learning algorithm module learns the training model using offline historical data to form its own algorithm, calculates the new online data obtained according to its own algorithm, obtains the prediction result and outputs it; S43, iterative optimization: The prediction results calculated by the new online data input model are compared with the sample results calculated offline using historical data, and the deviation value parameters of the two are fed back to the machine learning algorithm module for iterative optimization.
8. The edge computing method for intelligent monitoring, early warning and prevention of flow corrosion according to claim 2 is characterized in that: The vector control flow chart in S6 at least includes a water injection vector logic control flow chart, a neutralizing agent injection vector logic control chart and a sustained-release agent injection vector logic control chart.
9. The edge computing method for intelligent monitoring, early warning and prevention of flow corrosion according to claim 2 is characterized in that: The execution result of the automatic control fed back in S6 includes the opening and closing actions of the metering pump and the opening and closing actions of the regulating valve.
