A method and device for rapidly constructing an electric field fingerprint technology database
By employing simulation calculations and data storage methods, an electric field fingerprint technology database can be rapidly constructed, solving the problems of low construction efficiency and inconvenient querying in existing technologies, and achieving efficient corrosion monitoring.
Patent Information
- Application Number
- CN202510385471.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-29
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2045-03-29
AI Technical Summary
The existing electric field fingerprint monitoring database is inefficient to build and inconvenient to query data, which affects the accuracy of corrosion monitoring.
Through simulation requirements analysis, parameter setting and calculation, an electric field fingerprint technology database is constructed, including simulation calculation, potential information extraction and data storage. Commercial simulation software is used to connect with the database to achieve rapid construction and query.
It enables the rapid construction and convenient querying of an electric field fingerprint technology database, adapts to varying calculation parameters and multiple model combinations, and improves the accuracy and efficiency of corrosion monitoring.
Smart Images

Figure CN120234974B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of corrosion monitoring, and particularly relates to a method and equipment for rapidly constructing an electric field fingerprint technology database. BACKGROUND
[0002] In the oil and gas industry, property losses caused by pipeline corrosion failure can account for 3% to 5% of the total national output, so corrosion monitoring of oil and gas pipelines is very important. In recent years, electric field fingerprint technology has been increasingly widely applied in the field of corrosion monitoring due to its outstanding advantages, but the electric field fingerprint monitoring database and data inversion accuracy are still low.
[0003] With the development of computer technology and the maturity of numerical simulation technology, more and more practical engineering problems begin to rely on model simulation, and the specific implementation method of the practical engineering application scene is found from the simulation results. In the numerical simulation technology, one application method is to obtain a large amount of simulation data by numerical simulation and to establish a mathematical model, and to solve the actual engineering problem by using the established mathematical model. However, for the establishment of the model database, the efficiency is low, and the data query is troublesome. SUMMARY
[0004] The present application aims at at least one of the problems in the prior art.
[0005] To this end, the present application aims at providing a method and equipment for rapidly constructing an electric field fingerprint technology database, which can efficiently and rapidly construct the electric field fingerprint technology database.
[0006] In order to solve the above technical problems, the present application is implemented as follows:
[0007] The present application provides a method for rapidly constructing an electric field fingerprint technology database, which comprises the following steps:
[0008] S1, performing simulation requirement analysis, including calculating electric field distribution information of a point corrosion monitoring piece;
[0009] S2, performing simulation parameter setting, and establishing a monitoring piece simulation calculation model;
[0010] S3, performing simulation calculation: according to the set simulation parameters, the model electric field distribution information of the point corrosion and the point corrosion are calculated under all single parameters;
[0011] S4, extracting electric potential information of the simulation model to construct an electric potential matrix: according to the preset electrode matrix parameters, an electric field data extraction coordinate matrix is constructed, and the electric potential information corresponding to each coordinate is extracted;
[0012] S5, data post-processing: according to the potential matrix, an initial potential difference matrix and a collection potential difference matrix are respectively constructed, and then a FC value matrix is calculated;
[0013] S6, data storage: the simulation parameters, the potential difference matrix and the FC value matrix are inserted into an existing pitting database.
[0014] In addition, the electric field fingerprint technology database rapid construction method according to the application can also have the following additional technical features:
[0015] In some embodiments, the method further comprises repeating steps S4-S6 in a traversal manner so that data under all parameters are stored into the pitting database.
[0016] In some embodiments, the method further comprises querying the calculation results under the simulation parameters in the pitting database through the simulation parameters.
[0017] In some embodiments, in step S1, the electric field fingerprint monitoring object information, simulation calculation target, requirements and contained corrosion defect information are confirmed, and the electric field distribution information containing the pitting monitoring piece is calculated according to the monitoring object information, the simulation calculation target, the requirements and the contained corrosion defect information.
[0018] In some embodiments, step S2 comprises:
[0019] S21, system construction: determining a programming language, a multi-physical field simulation calculation software and a database;
[0020] S22, monitoring piece model parameter setting, including monitoring piece size and material;
[0021] S23, pitting parameter setting: setting the morphology parameters when the monitoring piece occurs pitting, including pitting coordinate information and morphology parameter information;
[0022] S24, physical field parameter setting: adding simulation model physical field parameters, applying direct current to both ends of the monitoring piece, and establishing a monitoring piece simulation calculation model.
[0023] In some embodiments, the morphology parameter information in step S23 includes pitting radius and pitting depth.
[0024] In some embodiments, step S3 comprises:
[0025] Pitting-free model calculation: selecting a single parameter in the monitoring piece simulation parameters as the parameter used in this calculation, and calculating the electric field distribution information of the pitting-free monitoring piece model under the single parameter;
[0026] Pitting model calculation: the same parameters as in the calculation without the pitting model are used to calculate the electric field distribution information of the monitoring member model with pitting.
[0027] In some embodiments, step S4 comprises:
[0028] S41, constructing an electrode matrix: setting the electrode matrix parameters of the monitoring member model, obtaining electrode coordinate information under different electrode matrix arrangements, and forming an electrode matrix.
[0029] S42, constructing a potential matrix: extracting the potential information of the sampling points contained in the electrode matrix according to the obtained electrode coordinate information, and obtaining a potential matrix.
[0030] In some embodiments, the content of step S5 comprises:
[0031] According to the potential matrix, the potential difference between any two adjacent electrodes of the monitoring member under the conditions of no corrosion and pitting corrosion is calculated, and an initial potential difference matrix and a collected potential difference matrix containing all electrode sites are obtained.
[0032] According to the collected potential difference matrix and the initial potential difference matrix, an FC value matrix is calculated.
[0033] Wherein, the FC value is the ratio of the voltage values under the conditions of no corrosion and pitting corrosion.
[0034] The single FC value calculation method is the ratio of the single potential difference measured by a pair of electrodes at the moment of pitting corrosion (t moment) to the moment of no pitting corrosion (t0 moment).
[0035] The embodiment of the application also provides a device for quickly constructing an electric field fingerprint technology database, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the electric field fingerprint technology database quick construction method according to any one of the above.
[0036] Compared with the prior art, the application has at least the following beneficial effects:
[0037] In the embodiment of the application, the electric field fingerprint technology database quick construction method provided can realize the combination solution of different parameters of a single model, the combination solution of different parameters of different models, the calculation and storage of simulation results, and is very convenient and fast for solution and application, and can be widely applied to the simulation and simulation of model calculation parameters and multiple model calculation, and can realize the establishment of an electric field fingerprint technology multiple model parameter calculation result database.
[0038] The electric field fingerprint technology database rapid construction device of the present application can realize the electric field fingerprint technology database rapid construction method, thus having all the features and advantages of the electric field fingerprint technology database rapid construction method, which will not be described here again. Additional aspects and advantages of the present application will be partially given in the following description, partially become obvious from the following description, or be known by the practice of the present application. BRIEF DESCRIPTION OF DRAWINGS
[0039] Figure 1 The electric field fingerprint technology database rapid construction method flow chart disclosed for an embodiment of the present application;
[0040] Figure 2 The electric field fingerprint technology database rapid construction method model parameter setting interface schematic diagram disclosed for an embodiment of the present application;
[0041] Figure 3 The electric field fingerprint technology database rapid construction method electrode matrix setting interface schematic diagram disclosed for an embodiment of the present application;
[0042] Figure 4 The electric field fingerprint technology database rapid construction method data query interface schematic diagram disclosed for an embodiment of the present application. DETAILED DESCRIPTION
[0043] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0044] The embodiments of the present application will be described in detail below with reference to the drawings and specific embodiments and application scenarios.
[0045] Please refer to Figure 1 In some embodiments of the present application, an electric field fingerprint technology database rapid construction method is provided. The monitoring object of the method is an array electrode corrosion piece, that is, the signal acquisition electrode thereof has a plurality of array arrangements and is fixedly arranged on the surface of a corrosion piece, such as the surface of a pitting straight pipeline.
[0046] The method comprises the following steps:
[0047] Step 1, simulation calculation requirement analysis: calculate the electric field distribution information of the pitting monitoring piece.
[0048] In this step, the electric field fingerprint technology needs to monitor the object information, confirm the simulation calculation target, requirements and the corrosion defect information contained. The monitoring object information includes the geometric parameters of the pipeline (pipe diameter, wall thickness, material), the anti-corrosion layer parameters (thickness, resistivity), the soil environment parameters (conductivity, water content) and the like. The simulation calculation target and requirements include the precision of simulation, boundary conditions (such as applied current), calculation method (such as finite element method) and the like. The corrosion defect information includes the geometric characteristics of pitting (size, depth, position), the electrical characteristics of corrosion products (resistivity) and the like. According to the determined information, the electric field distribution information of the pitting monitoring member (such as a straight pipeline) is calculated.
[0049] The simulation electric field fingerprint nondestructive detection technology detects the straight pipeline containing pitting, including the outer surface electric field detection of the pipeline without corrosion and the pipeline with pitting. The simulation principle is to apply a constant current at both ends of the pipeline, deploy electrodes on the outer surface of the pipeline, and measure the voltage value between two adjacent electrodes, that is, the voltage on the outer surface is measured to reflect the defect distribution in the pipeline.
[0050] Step 2, simulation calculation model parameter setting: constructing a simulation calculation program and setting model parameters (such as pipeline parameters), pitting parameters and physical field parameters.
[0051] The simulation model can be a pipeline, a flat plate and an elbow and the like, and the model defects include uniform corrosion, pitting and cracks and the like. The simulation model parameters include geometric parameters, grid parameters, material parameters, physical field parameters and coordinate parameters and the like. The simulation model parameters are a collection of different calculation parameters, which can be a uniform distribution calculation of a single parameter or a full combination of different values of multiple parameters. Step 2 includes the following steps:
[0052] Step 2.1: system construction: selecting a programming language (MATLAB, Java and the like), a multi-physical field simulation calculation software (COMSOL and the like) and a database (MySQL and the like).
[0053] Step 2.2: pipeline parameter setting: setting the pipeline simulation model parameters, including pipeline length, outer diameter, wall thickness, material and the like.
[0054] Step 2.3: pitting parameter setting: setting the morphology parameters of the pipeline when pitting occurs, including pitting coordinate information and morphology parameter information, wherein the morphology parameter information includes pitting radius and pitting depth.
[0055] Step 2.4: physical field parameter setting: adding the physical field parameters of the simulation model, adding direct current to both ends of the pipeline, and establishing a pipeline simulation calculation model.
[0056] An example of developing a simulation calculation of the present application is shown in the following table. Figure 2
[0057] Step 3, simulation calculation model calculation: calculate the electric field distribution information of the pipeline without pitting and the pipeline with pitting under a single parameter.
[0058] According to the set parameters, the electric field distribution information of the simulation model is obtained. Step 3 includes the following steps:
[0059] Step 3.1: Pipeline model calculation without pitting: select a single parameter in the pipeline setting parameter array as the pipeline setting parameter, and calculate the model electric field distribution information under the single pipeline parameter.
[0060] Step 3.2: Pipeline model calculation with pitting: calculate the pipeline model calculation with pitting under the same setting parameter in step 3.1.
[0061] Step 4, simulation model potential information extraction: according to the set electrode matrix parameters, construct the electric field data extraction coordinate matrix, and extract the potential information contained in the coordinates to construct the collection potential matrix. The extracted is the voltage value of the surface electrode array outside the pipeline model. An extraction example of the present application is shown in Figure 3 .
[0062] In this step, the data extraction coordinate information is set, and the coordinate information is a two-dimensional matrix. The coordinate information can be a single coordinate information or a combination of multiple coordinate information, which contains the coordinate information of each collection electrode under different electrode arrangement schemes, and extracts the potential value of the set coordinate information point. Step 4 includes the following steps:
[0063] Step 4.1: Construct the electrode coordinate matrix: set the electrode matrix parameters outside the pipeline model, including the array dimension and the array spacing. According to the set pipeline parameters and electrode matrix information, calculate the collection electrode coordinate information under different electrode matrix arrangements. The electrode matrix parameters can be a combination of multiple parameters to realize the collection of potential information under different electrode arrangement schemes.
[0064] Take a i row j column electrode matrix as an example, the constructed collection electrode coordinate parameter matrix is:
[0065] ,
[0066] Among them, x , y and z are the collection electrode coordinate information.
[0067] Step 4.2: Construct the collection potential matrix: according to the above extracted coordinate information, extract the potential information of the collection electrodes contained in the electrode matrix, and construct the collection potential matrix:
[0068] ,
[0069] wherein, p ij is the first i row and the first j column of the potential matrix.
[0070] Step 5, calculation data post-processing: according to the above-mentioned acquisition potential matrix, the initial potential difference matrix and the acquisition potential difference matrix are respectively constructed, and the FC value matrix is calculated.
[0071] For the potential information contained in the above-mentioned coordinate information, the potential difference between adjacent coordinates is calculated, the acquisition potential difference matrix is constructed, and further according to the acquisition potential difference matrix and the initial potential difference matrix, the acquisition FC value matrix is calculated. The FC value is the ratio of the voltage value obtained by the electrode matrix of the uncorroded pipeline outer surface to the voltage value obtained by the electrode array of the pipeline outer surface where pitting occurs. Step 5 includes the following steps:
[0072] Step 5.1: Constructing the acquisition potential difference matrix: according to the above-mentioned acquisition potential matrix, the potential difference between adjacent coordinates is calculated, and the acquisition potential difference matrix is constructed:
[0073] ,
[0074] wherein, v mn is the potential difference value of the first m row and the first n column of the potential difference matrix.
[0075] Step 5.2: Constructing the initial potential difference matrix: as described above, the potential matrix of the straight pipeline without pitting is constructed, and then the initial potential difference matrix is constructed:
[0076] ,
[0077] wherein, v0 mn is the potential difference value of the first m row and the first n column of the initial potential difference matrix.
[0078] Step 5.3: Constructing the calculation FC value matrix: according to the above-mentioned acquisition potential difference matrix and the initial potential difference matrix, the acquisition FC value matrix is calculated:
[0079] ,
[0080] wherein, fc mn is the FC value of the first m row and the first n column of the FC value matrix.
[0081] Step 6, post-processing data storage: insert the model parameters, potential difference matrix and FC value matrix into the established pipeline pitting database.
[0082] Store the model results under each parameter calculated, the potential difference matrix and the FC value matrix obtained by the previous processing, wherein the database takes different model calculation parameters as the joint primary key.
[0083] Insert the simulation model calculation results into the established pipeline pitting database table, including pipeline parameters, pitting morphology parameters, and voltage values obtained by electrode array collection and electric field fingerprint characteristic signals FC obtained by data preprocessing calculation.
[0084] Step 7, full-parameter simulation calculation: traverse all the model setting parameters, complete the calculation and data storage of all the model setting parameters. Specifically: according to the set calculation parameters, repeat steps 3-6 to ensure that all the model setting parameters are traversed, and the simulation calculation, data post-processing and storage of all the setting parameters are completed.
[0085] Step 8, simulation calculation result query: the system provides a database table query method, which queries the simulation model calculation results under the calculation parameters in the database by selecting the model calculation parameters. An example result of the present application is shown in Figure 4 .
[0086] The parts of the present application not described in detail can refer to the prior art or be the known technology of those skilled in the art, and the present embodiment is not limited thereto, and will not be described in detail here.
[0087] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above specific embodiments, and the above specific embodiments are only illustrative and not limiting. Those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope of protection of the claims, and all of them belong to the protection of the present application.
Claims
1. A method for fast construction of an electric field fingerprinting technology database, characterized in that, The method comprises: S1, performing simulation requirement analysis, including calculating the electric field distribution information of the pitting monitoring member; S2, performing simulation parameter setting, establishing a simulation calculation model of the monitoring member; S3, performing simulation calculation: according to the set simulation parameters, the model electric field distribution information of the monitoring member without pitting and with pitting under all single parameters is calculated; S4, extracting the potential information of the simulation model to construct a potential matrix: according to the preset electrode matrix parameters, the electric field data extraction coordinate matrix is constructed, and the potential information corresponding to each coordinate is extracted; S5, data post-processing: according to the potential matrix, the initial potential difference matrix and the collected potential difference matrix are constructed respectively, and then the FC value matrix is calculated; S6, data storage: the simulation parameters, the potential difference matrix and the FC value matrix are inserted into the existing pitting database; Step S3 includes: Pitting-free model calculation: select a single parameter in the simulation parameters of the monitoring member as the calculation parameter, and calculate the electric field distribution information of the monitoring member without pitting under the single parameter; Pitting model calculation: the same parameters as in the pitting-free model calculation are used to calculate the electric field distribution information of the monitoring member with pitting under the parameter.
2. The method of claim 1, wherein, The method further comprises: repeating steps S4-S6 in a traversal manner, so that the data under all parameters are stored in the pitting database.
3. The method of claim 1, wherein, The method further comprises: querying the calculation results under the simulation parameters in the pitting database.
4. The method of claim 1, wherein, In step S1, the electric field fingerprint monitoring object information, simulation calculation target, requirements and contained corrosion defect information are confirmed, and the electric field distribution information of the pitting monitoring member is calculated according to the monitoring object information, simulation calculation target, requirements and contained corrosion defect information.
5. The method of claim 1, wherein, Step S2 includes: S21, system construction: determine the programming language, multi-physical field simulation calculation software and database; S22, monitoring member model parameter setting, including monitoring member size and material; S23, pitting parameter setting: set the morphology parameters when the monitoring member occurs pitting, including pitting coordinate information and morphology parameter information; S24, physical field parameter setting: add simulation model physical field parameters, apply direct current to both ends of the monitoring member, and establish a simulation calculation model of the monitoring member.
6. The method of claim 5, wherein, The morphology parameter information in step S23 includes pitting radius and pitting depth.
7. The method of claim 1, wherein, Step S4 includes: S41, constructing an electrode matrix: setting the electrode matrix parameters of the monitoring member model, obtaining the electrode coordinate information under different electrode matrix arrangements, and forming an electrode matrix; S42, constructing a potential matrix: according to the obtained electrode coordinate information, extracting the potential information of the sampling points contained in the electrode matrix, and obtaining a potential matrix.
8. The method of claim 1, wherein, The content of step S5 includes: According to the potential matrix, the potential difference between any two adjacent electrodes of the monitoring member under the conditions of no corrosion and pitting is calculated, and the initial potential difference matrix and the collected potential difference matrix containing all electrode sites are obtained; According to the collected potential difference matrix and the initial potential difference matrix, the FC value matrix is calculated; Wherein, the FC value is the ratio of the voltage values under the conditions of no corrosion and pitting.
9. An electric field fingerprinting technology database rapid construction device, comprising: A memory, a processor, and a computer program stored on the memory and run on the processor, characterized in that the processor executes the computer program to implement the steps of the method for fast construction of an electric field fingerprint technology database according to any one of claims 1 to 8.
Citation Information
Patent Citations
Numerical simulation system and method for simulating metal galvanic corrosion
CN117174190A
Metal pipeline corrosion monitoring system based on electric potential matrix
CN202484610U