A method and system for detecting data in a pipeline
By analyzing the magnetic leakage data, eddy current curve and trajectory images of oil and gas pipelines, the magnetic leakage coefficient, deformation coefficient and offset coefficient are calculated, and the problem of inaccurate detection in the existing technology is solved, and the efficient data detection in the pipeline is achieved. accuracy.
Patent Information
- Application Number
- CN202410591899.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2044-05-14
AI Technical Summary
The prior art cannot accurately detect the pipeline data collected, cannot clearly reflect whether there are problems with the pipeline, and the detection results are not accurate enough.
By calculating and analyzing the magnetic leakage data, eddy current curve images and trajectory images of the oil and gas pipelines, the magnetic leakage coefficient, deformation coefficient and offset coefficient are obtained, and the pipeline detection results are calculated based on these coefficients, and the results are transmitted to the system terminal.
It realizes the accuracy and convenience of pipeline data detection, and can simplify the detection steps when there is no problem with the pipeline, and determine specific problems through the amplitude of coefficient changes when problems are discovered, which improves the accuracy of detection.
Smart Images

Figure CN118465051B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of pipelines, and in particular relates to a method and a system for detecting data in a pipeline. Background Art
[0002] my country's long-distance pipelines have achieved leapfrog development. Pipeline defects and corrosion problems should be taken seriously. my country's long-distance pipelines have fully implemented mandatory integrity management. Pipeline in-pipeline detection technology can identify pipeline corrosion and crack defects to ensure safe operation of the pipeline.
[0003] A patent application with publication number CN116773647A discloses an injection mold, including real-time monitoring of acceleration data and angular velocity data collected by an inertial sensor in a magnetic flux leakage detector, judging whether the magnetic flux leakage detector is in a stationary state based on the acceleration data and angular velocity data, and if the magnetic flux leakage detector is in a stationary state, controlling the probe in the magnetic flux leakage detector to be in a dormant state in which no leakage data is collected until the magnetic flux leakage detector changes from a stationary state to a moving state, and if the magnetic flux leakage detector is in a moving state, keeping the probe continuously collecting leakage data of the pipeline.
[0004] In the above-mentioned prior art, the acceleration and angular velocity of the inertial sensor are used to judge whether the leakage magnetic detector is working, so as to determine whether the leakage magnetic data is collected. The collected data cannot clearly reflect whether there is a problem with the pipeline. The final calculated data is not submitted as the detection data for accurate detection of the pipeline. The detection data can reflect in real time whether there is a problem with the pipeline and determine the specific problem of the pipeline.
[0005] To this end, the present invention provides a method and system for detecting data in a pipeline. Summary of the invention
[0006] In order to make up for the deficiencies of the prior art, at least one technical problem raised in the background technology is solved.
[0007] The technical solution adopted by the present invention to solve the technical problem is: a data detection method and system in a pipeline according to the present invention comprises: step 1: saturating the pipe wall of the oil and gas pipeline and collecting the leakage magnetic data of the oil and gas pipeline through a sensor, calculating and analyzing the leakage magnetic data of the oil and gas pipeline, and obtaining the leakage magnetic coefficient of the oil and gas pipeline;
[0008] Step 2: Obtain the eddy current curve of the oil and gas pipeline by using the eddy current detection method, calculate and analyze the specific deformation position of the oil and gas pipeline based on the eddy current curve image of the oil and gas pipeline, and obtain the deformation coefficient of the oil and gas pipeline;
[0009] Step 3: Analyze the trajectory of the oil and gas pipeline, compare the pipeline flow trajectory with the original pipeline trajectory image, screen out the pipeline that deviates from the original trajectory, and calculate the pipeline deviation coefficient based on the length information and flow direction information of the screened pipeline;
[0010] Step 4: Based on the pipeline coefficients obtained in the above steps, the pipeline detection results are calculated and analyzed. If the calculated pipeline detection result is less than the detection threshold, the calculated pipeline detection result is transmitted to the system terminal as the detection data in the pipeline;
[0011] If the calculated test result is greater than or equal to the test threshold, each pipeline coefficient is analyzed one by one, and the specific change range of each pipeline coefficient is calculated. The pipeline coefficient whose change range is not within the preset range is transmitted to the system terminal as test data.
[0012] A further technical solution of the present invention is: the specific process of obtaining the magnetic flux leakage coefficient of the oil and gas pipeline is: the permanent magnets are evenly arranged around the circumference of the oil and gas pipeline, and the pipe wall of the oil and gas pipeline is saturated magnetized. When the pipe wall has no defects, after saturation magnetization, the magnetic lines of force in the oil and gas pipeline will be constrained between the pipe walls. When the pipe wall has defects, the magnetic lines of force in the oil and gas pipeline pass through the pipe wall to generate magnetic flux leakage, and the magnetic flux leakage data of the pipeline is collected by using a sensor;
[0013] Among them, the magnetic leakage data includes the number of magnetic leakage signals and the sensor collection area;
[0014] The magnetic flux leakage coefficient of the oil and gas pipeline is obtained by performing ratio processing on the number of magnetic flux leakage signals in the obtained magnetic flux leakage data and the sensor acquisition area.
[0015] A further technical solution for the present invention is as follows: the eddy current curve is obtained by applying an alternating current on the surface of the oil and gas pipeline to generate eddy currents, and based on the generated eddy currents.
[0016] A further technical solution for the present invention is as follows: the process of obtaining the deformation coefficient includes: constructing a three-dimensional coordinate system based on the eddy current curve image, collecting a single curve specific deformation position image and a single curve plane image, setting a number of pixel points in a rectangular row in the plane where the single curve plane image and the single curve specific deformation position image are located, and counting the number of pixel points occupied in the specific deformation position image and the single curve plane image;
[0017] By calculating: the number of pixels of the specific deformation position in the single curve plane image / the number of pixels in the single curve plane image*the area of the single curve plane, the image area of the specific deformation position in the single curve plane is obtained, and the specific deformation position area of the single curve is obtained based on the image area of the specific deformation position in the single curve plane;
[0018] The specific deformation position areas of all curves are calculated, and the deformation coefficient of the oil and gas pipeline surface is obtained through the formula: specific deformation position areas of all curves / (the number of all specific deformation positions*the plane image area of a single curve).
[0019] A further technical solution for the present invention is that the center position of the starting end of the vortex curve and the origin position of the coordinate axis are on the same horizontal line, and the length of the vortex curve is equal to the length of the pipeline.
[0020] A further technical solution for the present invention is that the area of a single curved plane is equal to the cross-sectional area of the oil and gas pipeline.
[0021] A further technical solution of the present invention is as follows: the process of obtaining the offset coefficient is as follows: dividing the pipeline into a plurality of branch pipelines according to different flow directions and lengths;
[0022] Obtain the original trajectory image of the pipeline, compare the trajectories of the divided branch pipelines with the original trajectory image of the pipeline, and screen out the pipelines that deviate from the original trajectory;
[0023] The specific length of the branch pipeline is obtained through the stored pipeline length information and marked as di;
[0024] By comparing the flow direction information and the branch pipe with the original trajectory image, the starting end position offset distance and the ending end position offset distance of the branch pipe are obtained, and the starting end position offset distance of the branch pipe is marked as ei, and the ending end position offset distance of the branch pipe is marked as fi;
[0025] The specific length di of the branch pipe, the offset distance ei of the starting end of the branch pipe, and the offset distance fi of the end end of the branch pipe are processed, and the formula is: gi = Obtain the offset coefficient gi of the branch pipeline, where θ is the preset correction factor;
[0026] The deviation coefficients of all branch pipelines are obtained and summed up to get the average value to obtain the deviation coefficient of the oil and gas pipeline.
[0027] A further technical solution for the present invention is: the flow direction information includes: the starting end position information of the branch pipeline and the ending end position information of the branch pipeline.
[0028] A further technical solution of the present invention is: the test result is calculated by: processing the obtained magnetic flux leakage coefficient ai, deformation coefficient bi and offset coefficient hi of the pipeline, and using the formula: Obtain the pipeline detection result data xi, where γ is a preset proportional coefficient;
[0029] The detection threshold of the oil and gas pipeline is preset to pi;
[0030] If xi < pi, the calculated pipeline detection result is transmitted to the system terminal as the detection data in the pipeline;
[0031] If xi≥pi, analyze each pipeline coefficient one by one, calculate the specific change range of each pipeline coefficient, and transmit the pipeline coefficient whose change range is not within the preset range as detection data to the system terminal.
[0032] A data detection system in a pipeline, characterized by comprising: a collection module for collecting magnetic flux leakage data of the pipeline;
[0033] An image generation module, used for generating eddy current curve images and trajectory images of oil and gas pipelines;
[0034] The calculation module performs calculation and analysis based on the magnetic flux leakage data, eddy current curve image and trajectory image of the oil and gas pipeline to obtain the magnetic flux leakage coefficient, deformation coefficient and offset coefficient of the oil and gas pipeline;
[0035] The analysis module calculates the detection results of the oil and gas pipeline based on the magnetic leakage coefficient, deformation coefficient and offset coefficient of the oil and gas pipeline, and performs judgment analysis on the detection results as detection data;
[0036] A secondary analysis module is used to analyze the variation range of specific pipeline coefficients for the test results that cannot be used as test data after analysis, and to use the pipeline coefficients that are not within the preset variation range as pipeline test data;
[0037] The transmission module is used to transmit the detection data to the terminal.
[0038] The beneficial effects of the present invention are as follows:
[0039] 1. The present invention discloses a method and system for detecting data in a pipeline. The method collects magnetic flux leakage data of an oil and gas pipeline through a sensor, calculates and analyzes the magnetic flux leakage coefficient of the oil and gas pipeline, obtains deformation data of the oil and gas pipeline through an eddy current detection method, analyzes the deformation data to obtain the deformation coefficient of the oil and gas pipeline, performs trajectory analysis on the oil and gas pipeline, and calculates the offset coefficient of the pipeline based on the length information and flow direction information of the screened pipeline. The pipeline detection result is calculated based on each pipeline coefficient obtained in the above steps. If the calculated pipeline detection result is less than a detection threshold, the calculated pipeline detection result is transmitted to a system terminal as detection data in the pipeline. If the calculated detection result is greater than or equal to the detection threshold, the specific variation range of each pipeline coefficient is calculated, and the pipeline coefficient whose variation range is not within a preset range is transmitted to the system terminal as detection data, thereby achieving the accuracy of pipeline data detection and optimizing the convenient acquisition method of pipeline detection data.
[0040] 2. The data detection method and system in a pipeline described in the present invention achieves accurate detection of the pipeline by acquiring the pipeline leakage magnetic coefficient, deformation coefficient and offset coefficient, calculates the detection result of the coefficient, and makes a judgment based on the detection result. When the detection result is not greater than the detection threshold, the detection result is used as the detection data. When there is no problem with the pipeline, the detection steps of the pipeline data are simplified. When there is a problem with the pipeline, the detection data is specifically determined by the change range of the coefficient, thereby achieving accurate detection of pipeline problem data. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The present invention will be further described below in conjunction with the accompanying drawings.
[0042] Figure 1 is a method flow chart of an embodiment of the present invention;
[0043] Figure 2 is a pipeline vortex curve diagram of an embodiment of the present invention;
[0044] Figure 3 is a pixel map of the deformation position of the pipeline according to an embodiment of the present invention;
[0045] Figure 4 is a schematic diagram of a pixel grid structure of a pipeline deformation position according to an embodiment of the present invention;
[0046] Figure 5 is a system program flowchart of an embodiment of the present invention;
[0047] Figure 6 It is a module flow chart of an embodiment of the present invention. DETAILED DESCRIPTION
[0048] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods.
[0049] Embodiment 1
[0050] As shown in the figure, a method for detecting data in a pipeline according to an embodiment of the present invention includes:
[0051] Step 1: Collect the magnetic flux leakage data of the oil and gas pipeline through the sensor, and calculate and analyze the magnetic flux leakage data of the oil and gas pipeline to obtain the magnetic flux leakage coefficient of the oil and gas pipeline;
[0052] Specifically, permanent magnets are evenly arranged around the circumference of the oil and gas pipeline to saturate the pipe wall of the oil and gas pipeline. When the pipe wall has no defects, after saturation magnetization, the magnetic lines of force in the oil and gas pipeline will be constrained between the pipe walls. When the pipe wall has defects, the magnetic lines of force in the oil and gas pipeline pass through the pipe wall to generate leakage magnetic flux, and the leakage magnetic flux data of the pipeline is collected by using sensors.
[0053] Among them, the magnetic leakage data includes the number of magnetic leakage signals and the sensor collection area;
[0054] Among them, the sensor collection area is the outer circumference area of the oil and gas pipeline;
[0055] The magnetic flux leakage coefficient of the oil and gas pipeline is obtained by performing ratio processing on the number of magnetic flux leakage signals in the obtained magnetic flux leakage data and the sensor acquisition area, and the magnetic flux leakage coefficient is marked as ai;
[0056] Preferably, when the sensor collects magnetic flux leakage data on the oil and gas pipeline, the wall thickness of the oil and gas pipeline will affect the collection accuracy, and the constraint condition for the wall of the oil and gas pipeline when the sensor collects magnetic flux leakage data is that the wall thickness does not exceed 12 mm;
[0057] Preferably, the magnetic flux leakage data of the pipeline can also be obtained by ultrasonic technology. Ultrasonic technology has super high accuracy in oil and gas pipeline detection and the obtained detection data, but the detection and application of ultrasonic technology to oil and gas pipelines needs to be carried out under a certain degree of coupling, and is only suitable for the detection of liquid transmission pipelines. When the magnetic flux leakage data collected by the sensor cannot meet the detection requirements, ultrasonic technology can be used to detect and collect data of oil and gas pipelines under the condition of oil and gas pipeline coupling;
[0058] Step 2: Obtain the eddy current curve of the oil and gas pipeline by using the eddy current detection method, analyze the eddy current curve of the oil and gas pipeline, and obtain the deformation coefficient of the oil and gas pipeline;
[0059] Specifically, an alternating current is applied to the surface of the oil and gas pipeline to generate eddy currents, an eddy current curve image is obtained based on the generated eddy currents, and a three-dimensional coordinate system is constructed based on the eddy current curve image, such as Figure 2 As shown;
[0060] Among them, the center position of the starting end of the vortex curve is on the same horizontal line as the origin of the coordinate axis, and the length of the vortex curve is equal to the length of the pipeline;
[0061] Count the number of single curve planes where the curve is deformed in the pipeline vortex curve, where the area of the single curve plane is equal to the cross-sectional area of the oil and gas pipeline;
[0062] Specifically, Figure 3 As shown, a single curve specific deformation position image and a single curve plane image are collected, a number of pixel points are set in a rectangular row in the plane where the single curve plane image and the single curve specific deformation position image are located, and the number of pixel points occupied in the specific deformation position image and the single curve plane image is counted;
[0063] By calculating: the number of pixels of the specific deformation position in the single curve plane image / the number of pixels in the single curve plane image*the area of the single curve plane, the image area of the specific deformation position in the single curve plane is obtained, and the specific deformation position area of the single curve is obtained based on the image area of the specific deformation position in the single curve plane;
[0064] Calculate the specific deformation position area of all curves, the specific deformation position area of all curves / (the number of all specific deformation positions*the plane image area of a single curve), and obtain the deformation coefficient of the oil and gas pipeline surface. The deformation coefficient of the oil and gas pipeline is marked as bi
[0065] Preferably, for the collected curve deformation position, the area of the specific deformation position is calculated in the coordinate system;
[0066] like Figure 4 As shown, a number of pixel grids are set for a specific deformation position, and the pixel grids are colored. After the coloring process is completed, the area of the specific deformation position is calculated by calculating the area of all the colored pixel grids;
[0067] The irregular pixel grid area can be obtained by connecting the edge points of the deformation position and obtaining the area enclosed by the connecting line and the edge of the pixel grid through the definite integral calculation principle. The definite integral calculation principle is: through the formula: Calculate the area, where the geometric meaning of the definite integral is: when f(x)≥0, the integral Geometrically, it represents the area of the curved trapezoid enclosed by y=f(x), x=a, x=b and the x-axis;
[0068] When f(x)≤0, the integral Geometrically, the curved trapezoid formed by y = f(x), x = a, x = b and the x-axis is located below the x-axis;
[0069] Calculate the area of all specific deformation positions, the area of all curve specific deformation positions / (the number of all specific deformation positions*the area of a single curve plane image), obtain the deformation coefficient of the oil and gas pipeline, and mark the deformation coefficient of the oil and gas pipeline as bi;
[0070] This method has higher calculation accuracy than the above method, but the calculation steps are complicated. Compared with the above method, this method is more suitable when high-precision measurement is required for oil and gas pipelines.
[0071] Step 3: Analyze the trajectory of the oil and gas pipeline, compare the pipeline flow trajectory with the original pipeline trajectory image, screen out the pipeline that deviates from the original trajectory, and calculate the pipeline deviation coefficient based on the length information and flow direction information of the screened pipeline, and mark the deviation coefficient as gi;
[0072] Divide the pipeline into multiple branch pipelines according to different flow directions and lengths, label each pipeline and record the length information, flow direction information and label information of each pipeline;
[0073] The flow direction information includes: the starting end position information of the branch pipeline and the ending end position information of the branch pipeline;
[0074] The length information, flow direction information and label information of each pipeline are stored accordingly;
[0075] Obtain the original trajectory image of the pipeline, compare the trajectories of the divided branch pipelines with the original trajectory image of the pipeline, and screen out the pipelines that deviate from the original trajectory;
[0076] The specific length of the branch pipeline is obtained through the stored pipeline length information and marked as di;
[0077] The starting end position and the ending end position of the branch pipeline are obtained through the starting end position information and the ending end position information of the branch pipeline included in the flow direction information, and the starting end position and the ending end position of the branch pipeline are compared with the pipeline positions in the original trajectory image to obtain the starting end position offset distance and the ending end position offset distance of the branch pipeline, and the starting end position offset distance of the branch pipeline is marked as ei, and the ending end position offset distance of the branch pipeline is marked as fi;
[0078] The specific length di of the branch pipeline, the offset distance ei of the starting end of the branch pipeline, and the offset distance fi of the end end of the branch pipeline are processed by the formula: Obtain the offset coefficient gi of the branch pipeline, where θ is the preset correction factor;
[0079] Obtain the deviation coefficients of all branch pipelines and sum them up to get the average, obtain the deviation coefficient of the oil and gas pipeline, and mark the pipeline deviation coefficient as hi;
[0080] Step 4: Based on the pipeline coefficients obtained in the above steps, the pipeline detection results are calculated and analyzed. If the calculated pipeline detection result is less than the detection threshold, the calculated pipeline detection result is transmitted to the system terminal as the detection data in the pipeline;
[0081] If the calculated detection result is greater than or equal to the detection threshold, each pipeline coefficient is analyzed one by one, the specific change range of each pipeline coefficient is calculated, and the pipeline coefficient whose change range is not within the preset range is transmitted to the system terminal as detection data;
[0082] Specifically, Figure 5As shown, the obtained pipeline magnetic flux leakage coefficient ai, deformation coefficient bi and offset coefficient hi are processed by the formula: Obtain the pipeline detection result data xi, where γ is a preset proportional coefficient;
[0083] The detection threshold of the oil and gas pipeline is preset to pi;
[0084] If xi < pi, the calculated pipeline detection result is transmitted to the system terminal as the detection data in the pipeline;
[0085] If xi ≥ pi, the magnetic flux leakage coefficient, deformation coefficient and offset coefficient are analyzed one by one, the specific variation range of each coefficient is calculated, and the coefficient whose variation range is not within the preset range is transmitted to the system terminal as detection data;
[0086] The variation range of each coefficient is calculated and analyzed one by one, and the specific process is as follows: S101, cycle setting is performed based on the previous detection time of the pipeline;
[0087] S102, at the end of the set period, calculating the difference between each coefficient at the end and each coefficient at the beginning of the period to obtain the change range of each coefficient;
[0088] S103, transmitting the coefficients whose amplitude change values are not within the preset range as detection data to the terminal.
[0089] Embodiment 2
[0090] like Figure 6 As shown, a data detection system in an oil and gas pipeline includes: a collection module for collecting magnetic flux leakage data of the pipeline;
[0091] An image generation module, used for generating eddy current curve images and trajectory images of oil and gas pipelines;
[0092] The calculation module performs calculation and analysis based on the magnetic flux leakage data, eddy current curve image and trajectory image of the oil and gas pipeline to obtain the magnetic flux leakage coefficient, deformation coefficient and offset coefficient of the oil and gas pipeline;
[0093] The analysis module calculates the detection results of the oil and gas pipeline based on the magnetic leakage coefficient, deformation coefficient and offset coefficient of the oil and gas pipeline, and performs judgment analysis on the detection results as detection data;
[0094] A secondary analysis module is used to analyze the variation range of specific pipeline coefficients for the test results that cannot be used as test data after analysis, and to use the pipeline coefficients that are not within the preset variation range as pipeline test data;
[0095] The transmission module is used to transmit the detection data to the terminal.
[0096] Working principle: A data detection method and system in a pipeline described in an embodiment of the present invention includes: collecting leakage magnetic data of an oil and gas pipeline through a sensor, and calculating and analyzing the leakage magnetic data of the oil and gas pipeline to obtain the leakage magnetic coefficient of the oil and gas pipeline; obtaining deformation data of the oil and gas pipeline through an eddy current detection method, analyzing the deformation data of the oil and gas pipeline to obtain the deformation coefficient of the oil and gas pipeline; performing trajectory analysis on the oil and gas pipeline; comparing the pipeline flow trajectory with the original pipeline trajectory image, screening out pipelines that deviate from the original trajectory, and calculating the deviation coefficient of the pipeline based on the length information and flow direction information of the screened pipeline; calculating and analyzing the pipeline detection result based on the coefficients obtained in the above steps; if the calculated pipeline detection result is less than the detection threshold, the calculated pipeline detection result is transmitted to the system terminal as the detection data in the pipeline; if the calculated detection result is greater than or equal to the detection threshold, the leakage magnetic coefficient, deformation coefficient and deviation coefficient are analyzed one by one, the specific change range of each coefficient is calculated, and the coefficient whose change range is not within the preset range is transmitted to the system terminal as the detection data.
[0097] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A method for detecting data in a pipeline, characterized in that: include: Step 1: Saturate magnetize the pipe wall of the oil and gas pipeline and collect the leakage magnetic data of the oil and gas pipeline through the sensor, calculate and analyze the leakage magnetic data of the oil and gas pipeline, and obtain the leakage magnetic coefficient of the oil and gas pipeline; The specific process of obtaining the magnetic flux leakage coefficient of the oil and gas pipeline is as follows: permanent magnets are evenly arranged around the circumference of the oil and gas pipeline to saturate magnetize the wall of the oil and gas pipeline; If there are no defects in the pipe wall, after saturation magnetization, the magnetic lines of force in the oil and gas pipeline will be confined between the pipe walls; If the pipe wall has defects, the magnetic lines in the oil and gas pipeline will pass through the pipe wall to generate magnetic leakage. The sensor is used to collect the magnetic leakage data of the pipeline. Among them, the magnetic leakage data includes the number of magnetic leakage signals and the sensor collection area; The magnetic flux leakage coefficient of the oil and gas pipeline is obtained by performing ratio processing on the number of magnetic flux leakage signals in the obtained magnetic flux leakage data and the sensor acquisition area; Step 2: Obtain the eddy current curve of the oil and gas pipeline by using the eddy current detection method, calculate and analyze the specific deformation position of the oil and gas pipeline based on the eddy current curve image of the oil and gas pipeline, and obtain the deformation coefficient of the oil and gas pipeline; The step of obtaining the eddy current curve comprises: Applying an alternating current to the surface of the oil and gas pipeline to generate eddy currents on the surface of the oil and gas pipeline, and obtaining an eddy current curve based on the eddy currents on the surface of the oil and gas pipeline; Step 3: Analyze the trajectory of the oil and gas pipeline, compare the pipeline flow trajectory with the original pipeline trajectory image, screen out the pipeline that deviates from the original trajectory, and calculate the deviation coefficient of the oil and gas pipeline based on the length information and flow direction information of the screened pipeline; The process of obtaining the offset coefficient is: dividing the pipeline into a plurality of branch pipelines according to different flow directions and lengths; Obtain the original trajectory image of the pipeline, compare the trajectories of the divided branch pipelines with the original trajectory image of the pipeline, and screen out the pipelines that deviate from the original trajectory; The specific length of the branch pipeline is obtained through the stored pipeline length information and marked as di; By comparing the flow direction information and the branch pipe with the original trajectory image, the starting end position offset distance and the ending end position offset distance of the branch pipe are obtained, and the starting end position offset distance of the branch pipe is marked as ei, and the ending end position offset distance of the branch pipe is marked as fi; The specific length di of the branch pipeline, the offset distance ei of the starting end of the branch pipeline, and the offset distance fi of the end end of the branch pipeline are processed by the formula: Obtain the offset coefficient gi of the branch pipeline, where is the preset correction factor, Obtain the deviation coefficients of all branch pipelines and sum them up to get the average value, and obtain the deviation coefficient of the oil and gas pipeline through the average value; Step 4: Based on the magnetic flux leakage coefficient, deformation coefficient and offset coefficient obtained in the above steps, the pipeline detection result is calculated and analyzed. If the calculated pipeline detection result is less than the detection threshold, the calculated pipeline detection result is transmitted to the system terminal as the detection data in the pipeline; If the calculated test result is greater than or equal to the test threshold, the magnetic flux leakage coefficient, deformation coefficient and offset coefficient are analyzed one by one, and their specific change ranges are calculated. The coefficients whose change ranges are not within the preset range are transmitted to the system terminal as test data; The process of obtaining the deformation coefficient includes: constructing a three-dimensional coordinate system based on the eddy current curve image, collecting a single curve specific deformation position image and a single curve plane image, setting a number of pixel points in a rectangular row in the plane where the single curve plane image and the single curve specific deformation position image are located, and counting the number of pixel points occupied in the specific deformation position image and the single curve plane image; The number of pixels at the specific deformation position in the single curve plane image is ratioed with the number of pixels in the single curve plane image, and the obtained ratio is multiplied by the area of the single curve plane to obtain the image area of the specific deformation position in the single curve plane, and the specific deformation position area of the single curve is obtained based on the image area of the specific deformation position in the single curve plane; Calculate the specific deformation position areas of all curves, perform ratio processing on the specific deformation position areas of all curves and the number of all specific deformation positions, and perform product processing on the obtained ratio and the plane image area of a single curve to obtain the deformation coefficient of the oil and gas pipeline surface; The calculation of the test results is as follows: the obtained magnetic flux leakage coefficient ai, deformation coefficient bi and offset coefficient hi of the pipeline are processed by data, and the formula is: Obtain the pipeline detection result data xi, where γ is a preset proportional coefficient; The detection threshold of the oil and gas pipeline is preset to pi; If xi < pi, the calculated pipeline detection result is transmitted to the system terminal as the detection data in the pipeline; If xi≥pi, the magnetic leakage coefficient, deformation coefficient and offset coefficient are analyzed one by one, the specific change range of each coefficient is calculated, and the coefficient whose change range is not within the preset range is transmitted to the system terminal as detection data.
2. The method for detecting data in a pipeline according to claim 1, characterized in that: The center position of the starting end of the vortex curve is on the same horizontal line as the origin position of the coordinate axis, and the length of the vortex curve is equal to the length of the pipeline.
3. The method for detecting data in a pipeline according to claim 2, characterized in that: The area of the single curved plane is equal to the cross-sectional area of the oil and gas pipeline.
4. The method for detecting data in a pipeline according to claim 1, characterized in that: The flow direction information includes: the starting end position information of the branch pipeline and the ending end position information of the branch pipeline.
5. A data detection system in a pipeline, the system executing the data detection method according to any one of claims 1 to 4, characterized in that: include: An acquisition module, which is used to acquire magnetic flux leakage data of the pipeline; An image generation module, the image generation module is used to generate an eddy current curve image and a trajectory image of the oil and gas pipeline; A calculation module, which is used to calculate and analyze the magnetic leakage data of the oil and gas pipeline, the eddy current curve image and the trajectory image of the oil and gas pipeline to obtain the magnetic leakage coefficient, deformation coefficient and offset coefficient of the oil and gas pipeline; An analysis module, the analysis module is used to calculate the magnetic leakage coefficient, deformation coefficient and offset coefficient of the oil and gas pipeline and obtain the detection result of the oil and gas pipeline, and perform judgment analysis on the detection result as detection data; The secondary analysis module is used to analyze the coefficient variation range of the test results that cannot be used as test data after analysis, and use the coefficients that are not within the preset range of variation range as pipeline test data; The transmission module is used to transmit the detection data to the terminal.
Citation Information
Patent Citations
Pipeline magnetic flux leakage data acquisition method and device, detector and storage medium
CN116773647A
Device and method for detecting defects of inner and outer walls of pipeline based on three-axis magnetic flux leakage and eddy current
CN102798660A
Oil and gas pipeline extrusion deformation estimation method based on AIC-RBF
CN110348123A
