Pipeline heating control system and method based on PCB monitoring
Through three-dimensional ultrasound images, the cavity distribution and blockage degree in the pipeline are analyzed, the correlation coefficient is calculated, and the optimal heating power is determined, which solves the problems of heating inhomogeneity and wax blockage accidents in the prior art, and improves the efficiency and safety of pipeline transportation.
Patent Information
- Application Number
- CN202411433218.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-10-15
AI Technical Summary
The existing pipeline heating control technology is difficult to actively adjust the heating power, and cannot effectively solve the problem of heat accumulation in the pipeline wall and wax blockage caused by the cavity.
By collecting ultrasonic scanning images inside the pipeline, performing three-dimensional reconstruction, analyzing the cavity distribution and blockage degree, calculating the cavity distribution coefficient and blockage coefficient, and combining these parameters to determine the optimal heating power of the heating device.
It improves the efficiency and safety of pipeline transportation, avoids local temperature excessive and heating unevenness caused by the cavity, and deals with wax blockage accidents in a timely manner, extends the service life of the pipeline.
Smart Images

Figure CN119012420B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pipeline heating control, and in particular to a pipeline heating control system and method based on PCB monitoring. Background Art
[0002] With the development of deep-sea oil and gas, the low wax point of heavy oil has become a major problem affecting the efficiency and safety of marine oil and gas extraction. As the temperature in the deep sea area decreases with the increase of depth, the heavy oil extracted is mostly in a low temperature environment. At the same time, the heavy oil has a high wax content and a low freezing point. Therefore, the low temperature environment is more likely to cause the waxing problem of the extracted heavy oil. If there is no corresponding cleaning or melting measures for this kind of waxy material, it will affect the transportation efficiency of the pipeline and even cause the entire pipeline to be blocked by wax, causing great economic losses.
[0003] The pipeline heating technology based on PCB monitoring can effectively control the generation and precipitation of waxy substances inside the pipeline. The pipeline heating technology does not require separate manual operation, and when a wax blockage accident occurs, the wax blockage can be melted by heating the pipeline, avoiding opening holes in the pipeline. Therefore, the pipeline heating technology is an effective pipeline insulation and unblocking technology.
[0004] In actual production, when the heavy oil in the pipeline does not fill the pipeline, a cavity will be generated in the pipeline. The cavity part is more prone to overheating and heat accumulation due to the lack of heat conduction of the heavy oil, resulting in excessive temperature of the local pipe wall, causing deformation of the pipeline material, stress concentration and other problems, affecting the life and safety of the pipeline. The current pipeline heating control technology heats the entire pipeline at a constant power, fails to actively adjust its heating power according to the wax blockage in the pipeline, and it is difficult to solve the problem of heat accumulation on the pipeline wall caused by the cavity. Summary of the invention
[0005] In order to overcome the defects and shortcomings of the prior art, the present invention provides a pipeline heating control system and method based on PCB monitoring, which provides a scientific basis for pipeline heating control by quantitatively analyzing the cavity distribution and blockage degree inside the pipeline, thereby improving pipeline transportation efficiency and pipeline safety.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] In a first aspect, an embodiment of the present invention provides a pipeline heating control method based on PCB monitoring, comprising the following steps:
[0008] Acquiring an ultrasonic scanning image of the interior of the pipeline, and performing three-dimensional reconstruction based on the ultrasonic scanning image to obtain a three-dimensional ultrasonic image of the interior of the pipeline;
[0009] Analyzing the cavity distribution inside the pipeline based on the three-dimensional ultrasonic image to obtain the cavity distribution coefficient;
[0010] Analyzing the degree of blockage inside the pipeline based on the three-dimensional ultrasonic image to obtain a pipeline blockage coefficient;
[0011] The optimum heating power of the heating device is determined by comprehensively considering the cavity distribution coefficient and the pipeline blockage coefficient, and the heating device is controlled according to the optimum heating power.
[0012] As a preferred technical solution, the three-dimensional reconstruction based on the ultrasonic scanning image includes:
[0013] Performing image preprocessing on the ultrasonic scanning image, the image preprocessing including image grayscale conversion, image filtering and image enhancement, to obtain an ultrasonic grayscale image;
[0014] The ultrasonic grayscale image is read by the vtkJPEGReader class in the VTK (Visualization Toolkit) toolkit, and the ultrasonic grayscale image is converted into three-dimensional matrix data, wherein the VTK toolkit is an open source visualization toolkit mainly used for three-dimensional computer graphics, image processing and visualization;
[0015] Performing coordinate transformation on the three-dimensional matrix data, and converting the three-dimensional matrix data into voxel data in a three-dimensional space by a three-dimensional reconstruction algorithm, wherein the three-dimensional reconstruction algorithm includes a voxel nearest neighbor algorithm (voxel-nearestneighbor, VNN) and a distance-weighted algorithm (distance-weighted, DW);
[0016] The voxel data is mapped using the vtkVolumeMapper class in the VTK toolkit to convert the voxel data into the three-dimensional ultrasound image.
[0017] As a preferred technical solution, the step of obtaining the cavity distribution coefficient includes:
[0018] Extracting cavity voxels and pipe inner wall voxels in the three-dimensional ultrasonic image;
[0019] The contact area between the cavity and the inner wall of the pipeline and the cavity volume are calculated by using the cavity voxels and the inner wall voxels of the pipeline, wherein the cavity volume is the product of the volume of a single cavity voxel and the number of cavity voxels;
[0020] The cavity distribution coefficient is calculated by the contact area and the cavity volume. The calculation formula of the cavity distribution coefficient is as follows:
[0021] ;
[0022] In the formula represents the contact area between the cavity and the inner wall of the pipe, represents the total area of the inner wall of the pipe, represents the cavity volume, represents the pipe volume, represents the first adjustment factor, represents the cavity distribution coefficient.
[0023] As a preferred technical solution, the calculation of the contact area between the cavity and the inner wall of the pipe includes:
[0024] Traversing the cavity voxel, if the 6 neighboring voxels of the cavity voxel include a pipe inner wall voxel, marking the cavity voxel as an adjacent cavity voxel;
[0025] Calculate the contact area between the cavity and the inner wall of the pipe. The contact area calculation formula is as follows:
[0026] ;
[0027] In the formula Indicates The number of pipe wall voxels included in the 6 neighboring voxels of the adjacent cavity voxel, represents the side length of the adjacent cavity voxel, represents the number of adjacent cavity voxels, Represents the contact area between the cavity and the inner wall of the pipe.
[0028] As a preferred technical solution, the step of obtaining the pipeline blockage coefficient includes:
[0029] Extracting the pipeline cross section and the obstruction object pixels in the three-dimensional ultrasonic image, wherein the pipeline cross section is the cross section of the pipeline perpendicular to the fluid flow direction;
[0030] The pipe cross section is traversed to extract the blockage area in the pipe cross section, and the blockage area ratio coefficient is calculated. The calculation formula of the blockage area ratio coefficient is as follows:
[0031] ;
[0032] In the formula Indicates The blockage area in the cross section of the layer pipe, Indicates The cross-sectional area of the layer pipe, Indicates the number of layers in the pipe cross section, represents the coefficient of blockage area ratio;
[0033] The blockage aggregation coefficient is calculated by the blockage object pixels, and the pipeline blockage coefficient is calculated based on the blockage area ratio coefficient and the blockage aggregation coefficient. The pipeline blockage coefficient calculation formula is as follows:
[0034] ;
[0035] In the formula represents the blocking area ratio, represents the blockage aggregation coefficient, represents the second adjustment factor, Indicates the pipe blockage coefficient.
[0036] As a preferred technical solution, the calculation of the blockage aggregation coefficient includes:
[0037] Calculating the center distances between pixels of different blocking objects in sequence, and calculating the aggregation degree between pixels of the blocking objects through the center distances;
[0038] Calculate the blockage aggregation coefficient. The calculation formula for the blockage aggregation coefficient is as follows:
[0039] ;
[0040] In the formula Indicates blocked object pixels With blocked object pixels The concentration of Indicates the minimum value of the aggregation between the blocked object pixels, Indicates the maximum value of the aggregation between the pixels of the blocked object, Indicates the number of blocked pixels, It represents the blockage aggregation coefficient.
[0041] As a preferred technical solution, the step of determining the optimal heating power of the heating device includes:
[0042] Substitute the cavity distribution coefficient and the pipeline blockage coefficient into the optimal heating power calculation formula to calculate the optimal heating power. The optimal heating power calculation formula is as follows:
[0043] ;
[0044] In the formula represents the cavity distribution coefficient, represents the pipe blockage coefficient, Indicates the standard heating power of the heating device. Indicates the optimum heating power.
[0045] It should be noted here that the first adjustment factor and the second adjustment factor are determined as follows: 5,000 ultrasonic scanning images of the inside of the pipeline are collected to distinguish whether the heating power of the heating device meets the pipeline transportation requirements, the cavity distribution coefficient and the pipeline blockage coefficient are obtained by analyzing the ultrasonic scanning images, and the cavity distribution coefficient and the pipeline blockage coefficient are substituted into the optimal heating power calculation formula for calculation, the calculated optimal heating power and the distinction result are simultaneously imported into the fitting software, and the optimal first adjustment factor and the second adjustment factor that meet the distinction accuracy of the distinction result are output.
[0046] In a second aspect, an embodiment of the present invention provides a pipeline heating control system based on PCB monitoring, comprising:
[0047] A three-dimensional ultrasonic image acquisition module is used to collect ultrasonic scanning images inside the pipeline, and perform three-dimensional reconstruction based on the ultrasonic scanning images to obtain a three-dimensional ultrasonic image inside the pipeline;
[0048] A cavity distribution coefficient acquisition module, used to analyze the cavity distribution inside the pipeline based on the three-dimensional ultrasonic image to obtain the cavity distribution coefficient;
[0049] A pipeline blockage coefficient acquisition module, used to analyze the blockage degree inside the pipeline based on the three-dimensional ultrasonic image to obtain the pipeline blockage coefficient;
[0050] The optimal heating power acquisition module is used to determine the optimal heating power of the heating device by comprehensively considering the cavity distribution coefficient and the pipeline blockage coefficient, and control the heating device according to the optimal heating power.
[0051] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor and a memory, wherein the memory stores a computer program that can be called by the processor, and the processor executes a pipeline heating control method based on PCB monitoring by calling the computer program stored in the memory.
[0052] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing instructions, which, when executed on a computer, enables the computer to execute a pipeline heating control method based on PCB monitoring.
[0053] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0054] The present invention acquires ultrasonic scanning images inside the pipeline and performs three-dimensional reconstruction based on the ultrasonic scanning images to obtain a three-dimensional ultrasonic image of the inside of the pipeline. The cavity distribution and the degree of blockage inside the pipeline are quantitatively analyzed through the three-dimensional ultrasonic image, and the optimal heating power of the heating device is determined by combining the quantitative analysis results, thereby improving the pipeline transportation efficiency and pipeline safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0056] Figure 1 It is a schematic diagram of the overall process of the pipeline heating control method based on PCB monitoring of the present invention;
[0057] Figure 2 It is a schematic diagram of the process of three-dimensional reconstruction in the pipeline heating control method based on PCB monitoring of the present invention;
[0058] Figure 3 It is a structural schematic diagram of a pipeline heating control system based on PCB monitoring of the present invention;
[0059] Figure 4 It is a schematic structural diagram of the electronic device of the present invention. DETAILED DESCRIPTION
[0060] The technical solution of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solution of the present invention, rather than limitations on the technical solution of the present invention. The embodiments of the present invention and the technical features in the embodiments may be combined with each other unless there is a conflict.
[0061] like Figure 1 As shown, an embodiment of the present invention provides a pipeline heating control method based on PCB monitoring, which specifically includes the following steps:
[0062] S110: Acquire an ultrasonic scanning image inside the pipeline, and perform three-dimensional reconstruction based on the ultrasonic scanning image to obtain a three-dimensional ultrasonic image inside the pipeline;
[0063] like Figure 2 As shown, the three-dimensional reconstruction based on the ultrasonic scanning image includes:
[0064] Performing image preprocessing on the ultrasonic scanning image, the image preprocessing including image grayscale conversion, image filtering and image enhancement, to obtain an ultrasonic grayscale image;
[0065] The ultrasonic grayscale image is read by the vtkJPEGReader class in the VTK (Visualization Toolkit) toolkit, and the ultrasonic grayscale image is converted into three-dimensional matrix data, wherein the VTK toolkit is an open source visualization toolkit mainly used for three-dimensional computer graphics, image processing and visualization;
[0066] Performing coordinate transformation on the three-dimensional matrix data, converting the three-dimensional matrix data into voxel data in three-dimensional space through a three-dimensional reconstruction algorithm, wherein the three-dimensional reconstruction algorithm includes a voxel nearest neighbor algorithm (voxel-nearestneighbor, VNN) and a distance-weighted algorithm (distance-weighted, DW), wherein the VNN algorithm traverses each voxel in the three-dimensional imaging space and finds the closest pixel value from the two-dimensional ultrasound image, and fills the voxel with the gray value of the pixel point closest to the voxel. The advantage of the VNN algorithm is that it can retain the original texture of the two-dimensional ultrasound image. The DW algorithm traverses each voxel in the three-dimensional imaging space, and the gray value of the voxel is calculated by weighted average of all pixel values in its surrounding neighborhood, and the weighting coefficient is the inverse of the distance between the pixel and the voxel;
[0067] The voxel data is mapped using the vtkVolumeMapper class in the VTK toolkit to convert the voxel data into the three-dimensional ultrasound image.
[0068] S120: Analyze the cavity distribution inside the pipeline based on the three-dimensional ultrasonic image to obtain a cavity distribution coefficient;
[0069] The impact of cavities on pipeline heating is mainly reflected in the following aspects: (1) Heat conduction barrier: The cavity is usually gas or vacuum, and its thermal conductivity is lower than that of the fluid, which makes it difficult for the heat in the cavity area to be effectively transferred to the fluid part when the pipeline is heated; (2) Local temperature rise: Since the cavity cannot effectively conduct heat, the temperature of the cavity area on the pipeline wall rises, resulting in local heat accumulation, which in turn causes deformation of the pipeline material and stress concentration; (3) Heating unevenness: If there are multiple cavities of different sizes in the pipeline, the temperature of different parts of the pipeline wall will have significant differences. Heating unevenness will further affect the material life and pipeline safety of the pipeline. The cavity distribution coefficient is obtained, including:
[0070] Extracting the cavity voxels and the pipe inner wall voxels in the three-dimensional ultrasound image, using any one of a threshold segmentation algorithm and a region growing algorithm;
[0071] The contact area between the cavity and the inner wall of the pipeline and the cavity volume are calculated by using the cavity voxels and the inner wall voxels of the pipeline, wherein the cavity volume is the product of the volume of a single cavity voxel and the number of cavity voxels;
[0072] The cavity distribution coefficient is calculated by the contact area and the cavity volume. The calculation formula of the cavity distribution coefficient is as follows:
[0073] ;
[0074] In the formula represents the contact area between the cavity and the inner wall of the pipe, represents the total area of the inner wall of the pipe, represents the cavity volume, represents the pipe volume, represents the first adjustment factor, represents the cavity distribution coefficient;
[0075] Compared with the cavity volume, the contact area between the cavity and the pipe wall has a more direct impact on the local temperature change. The larger the contact area between the cavity and the pipe wall, the easier it is for the pipe wall in the cavity to accumulate heat. For example, if the cavity extends along the inner wall of the pipe inside the pipe, forming a large contact area, then even if the cavity volume is not large, it will cause serious heating unevenness and local temperature rise. Calculate the contact area between the cavity and the inner wall of the pipe, including:
[0076] Traversing the cavity voxel, if the 6-neighborhood voxels of the cavity voxel include a pipe inner wall voxel, marking the cavity voxel as an adjacent cavity voxel, wherein the 6-neighborhood voxels represent 6 adjacent voxels that share the same face with the cavity voxel;
[0077] Calculate the contact area between the cavity and the inner wall of the pipe. The contact area calculation formula is as follows:
[0078] ;
[0079] In the formula Indicates The number of pipe wall voxels included in the 6 neighboring voxels of the adjacent cavity voxel, represents the side length of the adjacent cavity voxel, represents the number of adjacent cavity voxels, Represents the contact area between the cavity and the inner wall of the pipe.
[0080] S130: Analyzing the blockage degree inside the pipeline based on the three-dimensional ultrasonic image to obtain a pipeline blockage coefficient;
[0081] By quantifying the wax blockage in the pipeline and actively adjusting the heating power of the pipeline, it is possible to optimize heating efficiency, improve production safety and extend the service life of the pipeline. Wax blockage will cause the flow of heavy oil in the pipeline to be blocked, increase flow resistance, and in severe cases will cause pipeline blockage or even safety accidents. By quantifying the degree and distribution of wax blockage, the heating power can be adjusted in a targeted manner to effectively heat the wax-blocked area, promote the melting and removal of wax, avoid overheating of the non-wax-blocked area, reduce energy waste and prevent local overheating of the pipeline. By actively adjusting the heating power, the energy utilization efficiency of the pipeline heating system can be improved, while reducing pipeline maintenance costs and accident risks, ensuring safe and stable operation of the pipeline;
[0082] The blockage area ratio coefficient and the blockage aggregation coefficient reflect the degree of blockage inside the pipeline from different dimensions. The blockage area ratio coefficient reflects the spatial occupancy of the blockage by measuring the ratio of the blockage area to the pipeline cross-sectional area in each layer of the pipeline cross-section, while the blockage aggregation coefficient describes the distribution concentration of the blockage inside the pipeline. It is used to determine whether the blockage is uniformly distributed as a whole or highly concentrated locally, and obtain the pipeline blockage coefficient, including:
[0083] Extracting the pipeline cross section and the blocked object pixels in the three-dimensional ultrasonic image, wherein the pipeline cross section is the cross section of the pipeline perpendicular to the fluid flow direction, wherein the blocked object pixels in the three-dimensional ultrasonic image are extracted by any one of a threshold segmentation algorithm and a region growing algorithm, and the pipeline cross section in the three-dimensional ultrasonic image is extracted by slicing the three-dimensional ultrasonic image in the direction perpendicular to the fluid flow;
[0084] The pipe cross section is traversed to extract the blockage area in the pipe cross section, and the blockage area ratio coefficient is calculated. The calculation formula of the blockage area ratio coefficient is as follows:
[0085] ;
[0086] In the formula Indicates The blockage area in the cross section of the layer pipe, Indicates The cross-sectional area of the layer pipe, Indicates the number of layers in the pipe cross section, represents the coefficient of blockage area ratio;
[0087] The blockage aggregation coefficient is calculated by the blockage object pixels, and the pipeline blockage coefficient is calculated based on the blockage area ratio coefficient and the blockage aggregation coefficient. The pipeline blockage coefficient calculation formula is as follows:
[0088] ;
[0089] In the formula represents the blocking area ratio, represents the blockage aggregation coefficient, represents the second adjustment factor, Indicates the pipeline blockage coefficient;
[0090] The spatial distribution characteristics of blockages can be reflected by the center distance between different blockage pixels. The smaller the center distance, the denser the blockage pixels are. Conversely, the higher the dispersion. By calculating the blockage aggregation coefficient, the distribution density of the blockage can be quantified to determine whether the blockage is concentrated in a certain area or evenly distributed in the entire pipeline. The blockage aggregation coefficient supplements the blockage distribution characteristics that cannot be described by the blockage area ratio coefficient. The calculation of the blockage aggregation coefficient includes:
[0091] Calculating the center distances between pixels of different blocking objects in sequence, and calculating the aggregation degree between pixels of the blocking objects through the center distances;
[0092] Calculate the blockage aggregation coefficient. The calculation formula for the blockage aggregation coefficient is as follows:
[0093] ;
[0094] In the formula Indicates blocked object pixels With blocked object pixels The concentration of Indicates the minimum value of the aggregation between the blocked object pixels, Indicates the maximum value of the aggregation between the pixels of the blocked object, Indicates the number of blocked pixels, It represents the blockage aggregation coefficient.
[0095] S140: Determine the optimal heating power of the heating device by comprehensively considering the cavity distribution coefficient and the pipeline blockage coefficient, and control the heating device according to the optimal heating power;
[0096] The cavity distribution coefficient and pipeline blockage coefficient reflect the distribution of cavities in the pipeline and the degree of blockage in the pipeline respectively. According to the wax blockage in the pipeline, the heating power of the heating device is actively adjusted to solve the problem of heat accumulation on the pipeline wall caused by the cavity and determine the optimal heating power of the heating device, including:
[0097] Substitute the cavity distribution coefficient and the pipeline blockage coefficient into the optimal heating power calculation formula to calculate the optimal heating power. The optimal heating power calculation formula is as follows:
[0098] ;
[0099] In the formula represents the cavity distribution coefficient, represents the pipe blockage coefficient, Indicates the standard heating power of the heating device. Indicates the optimal heating power, where the standard heating power of the heating device is provided by the heating device manufacturer and obtained from the heating device product manual.
[0100] like Figure 3 As shown, an embodiment of the present invention provides a pipeline heating control system based on PCB monitoring, comprising:
[0101] A three-dimensional ultrasonic image acquisition module 210 is used to collect ultrasonic scanning images inside the pipeline, and perform three-dimensional reconstruction based on the ultrasonic scanning images to obtain a three-dimensional ultrasonic image inside the pipeline;
[0102] A cavity distribution coefficient acquisition module 220 is used to analyze the cavity distribution inside the pipeline based on the three-dimensional ultrasonic image to obtain the cavity distribution coefficient;
[0103] A pipeline blockage coefficient acquisition module 230 is used to analyze the blockage degree inside the pipeline based on the three-dimensional ultrasonic image to obtain the pipeline blockage coefficient;
[0104] The optimal heating power acquisition module 240 is used to determine the optimal heating power of the heating device by comprehensively considering the cavity distribution coefficient and the pipeline blockage coefficient, and control the heating device according to the optimal heating power.
[0105] In an embodiment of the present invention, the three-dimensional ultrasonic image acquisition module 210 is used to collect ultrasonic scanning images inside the pipeline, and perform three-dimensional reconstruction based on the ultrasonic scanning images to obtain a three-dimensional ultrasonic image inside the pipeline. The three-dimensional reconstruction based on the ultrasonic scanning images includes:
[0106] Performing image preprocessing on the ultrasonic scanning image, the image preprocessing including image grayscale conversion, image filtering and image enhancement, to obtain an ultrasonic grayscale image;
[0107] The ultrasonic grayscale image is read by the vtkJPEGReader class in the VTK (Visualization Toolkit) toolkit, and the ultrasonic grayscale image is converted into three-dimensional matrix data, wherein the VTK toolkit is an open source visualization toolkit mainly used for three-dimensional computer graphics, image processing and visualization;
[0108] Performing coordinate transformation on the three-dimensional matrix data, and converting the three-dimensional matrix data into voxel data in a three-dimensional space by a three-dimensional reconstruction algorithm, wherein the three-dimensional reconstruction algorithm includes a voxel nearest neighbor algorithm (voxel-nearestneighbor, VNN) and a distance-weighted algorithm (distance-weighted, DW);
[0109] The voxel data is mapped using the vtkVolumeMapper class in the VTK toolkit to convert the voxel data into the three-dimensional ultrasound image.
[0110] In an embodiment of the present invention, the cavity distribution coefficient acquisition module 220 is used to analyze the cavity distribution inside the pipeline based on the three-dimensional ultrasonic image to obtain the cavity distribution coefficient. The cavity distribution coefficient is obtained by:
[0111] Extracting cavity voxels and pipe inner wall voxels in the three-dimensional ultrasonic image;
[0112] The contact area between the cavity and the inner wall of the pipeline and the cavity volume are calculated by using the cavity voxels and the inner wall voxels of the pipeline, wherein the cavity volume is the product of the volume of a single cavity voxel and the number of cavity voxels;
[0113] The cavity distribution coefficient is calculated by the contact area and the cavity volume. The calculation formula of the cavity distribution coefficient is as follows:
[0114] ;
[0115] In the formula represents the contact area between the cavity and the inner wall of the pipe, represents the total area of the inner wall of the pipe, represents the cavity volume, represents the pipe volume, represents the first adjustment factor, represents the cavity distribution coefficient;
[0116] Calculate the contact area between the cavity and the inner wall of the pipe, including:
[0117] Traversing the cavity voxel, if the 6 neighboring voxels of the cavity voxel include a pipe inner wall voxel, marking the cavity voxel as an adjacent cavity voxel;
[0118] Calculate the contact area between the cavity and the inner wall of the pipe. The contact area calculation formula is as follows:
[0119] ;
[0120] In the formula Indicates The number of pipe wall voxels included in the 6 neighboring voxels of the adjacent cavity voxel, represents the side length of the adjacent cavity voxel, represents the number of adjacent cavity voxels, Represents the contact area between the cavity and the inner wall of the pipe.
[0121] In an embodiment of the present invention, the pipeline blockage coefficient acquisition module 230 is used to analyze the blockage degree inside the pipeline based on the three-dimensional ultrasonic image to obtain the pipeline blockage coefficient. The pipeline blockage coefficient is obtained by:
[0122] Extracting the pipeline cross section and the obstruction object pixels in the three-dimensional ultrasonic image, wherein the pipeline cross section is the cross section of the pipeline perpendicular to the fluid flow direction;
[0123] The pipe cross section is traversed to extract the blockage area in the pipe cross section, and the blockage area ratio coefficient is calculated. The calculation formula of the blockage area ratio coefficient is as follows:
[0124] ;
[0125] In the formula Indicates The blockage area in the cross section of the layer pipe, Indicates The cross-sectional area of the layer pipe, Indicates the number of layers in the pipe cross section, represents the coefficient of blockage area ratio;
[0126] The blockage aggregation coefficient is calculated by the blockage object pixels, and the pipeline blockage coefficient is calculated based on the blockage area ratio coefficient and the blockage aggregation coefficient. The pipeline blockage coefficient calculation formula is as follows:
[0127] ;
[0128] In the formula represents the blocking area ratio, represents the blockage aggregation coefficient, represents the second adjustment factor, Indicates the pipeline blockage coefficient;
[0129] Calculate the blockage aggregation coefficient, including:
[0130] Calculating the center distances between pixels of different blocking objects in sequence, and calculating the aggregation degree between pixels of the blocking objects through the center distances;
[0131] Calculate the blockage aggregation coefficient. The calculation formula for the blockage aggregation coefficient is as follows:
[0132] ;
[0133] In the formula Indicates blocked object pixels With blocked object pixels The concentration of Indicates the minimum value of the aggregation between the blocked object pixels, Indicates the maximum value of the aggregation between the pixels of the blocked object, Indicates the number of blocked pixels, It represents the blockage aggregation coefficient.
[0134] In an embodiment of the present invention, the optimal heating power acquisition module 240 is used to determine the optimal heating power of the heating device by comprehensively considering the cavity distribution coefficient and the pipeline blockage coefficient, and control the heating device according to the optimal heating power. The determining of the optimal heating power of the heating device includes:
[0135] Substitute the cavity distribution coefficient and the pipeline blockage coefficient into the optimal heating power calculation formula to calculate the optimal heating power. The optimal heating power calculation formula is as follows:
[0136] ;
[0137] In the formula represents the cavity distribution coefficient, represents the pipe blockage coefficient, Indicates the standard heating power of the heating device. Indicates the optimum heating power.
[0138] The above-mentioned parameters in the pipeline heating control system based on PCB monitoring of the present invention and the steps for each unit module to achieve corresponding functions can refer to the parameters and steps in the embodiment of the pipeline heating control method based on PCB monitoring above, and will not be repeated here.
[0139] like Figure 4 As shown, an embodiment of the present invention further provides an electronic device 300, including a memory 320 for storing a computer program 322; and a processor 310 for executing the computer program 322 to implement a pipeline heating control method based on PCB monitoring as in any of the above embodiments.
[0140] It should be noted that Figure 4 It is a structural diagram of an electronic device 300 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of application of the present invention.
[0141] Specifically, the electronic device 300 may include: at least one processor 310, at least one memory 320, a power supply 330, a communication interface 340, an input / output interface 350, and a communication bus 360. The memory 320 is used to store a computer program 322, which is loaded and executed by the processor 310 to implement the relevant steps in the pipeline heating control method based on PCB monitoring disclosed in any of the above embodiments. In addition, the electronic device 300 in the embodiment of the present invention may be specifically an electronic computer.
[0142] In an embodiment of the present invention, a power supply 330 is used to provide a working voltage for each hardware device on the electronic device 300; the communication interface 340 can create a data transmission channel between the electronic device 300 and an external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present invention, and is not specifically limited here; the input and output interface 350 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0143] In addition, the memory 320, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 321, a computer program 322, etc., and the storage method can be temporary storage or permanent storage.
[0144] The operating system 321 is used to manage and control various hardware devices and computer programs on the electronic device 300, and may be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program 322 that can be used to complete the pipeline heating control method based on PCB monitoring performed by the electronic device 300 disclosed in any of the aforementioned embodiments, the computer program 322 may further include a computer program 322 that can be used to complete other specific tasks.
[0145] An embodiment of the present invention further provides a computer-readable storage medium for storing a computer program 322 , wherein the computer program 322 , when executed by the processor 310 , implements a pipeline heating control method based on PCB monitoring as in any of the above embodiments.
[0146] For example, the computer readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
Claims
1. A pipeline heating control method based on PCB monitoring, characterized in that: include: Acquiring an ultrasonic scanning image of the interior of the pipeline, and performing three-dimensional reconstruction based on the ultrasonic scanning image to obtain a three-dimensional ultrasonic image of the interior of the pipeline; Analyzing the cavity distribution inside the pipeline based on the three-dimensional ultrasonic image to obtain the cavity distribution coefficient; Analyzing the degree of blockage inside the pipeline based on the three-dimensional ultrasonic image to obtain a pipeline blockage coefficient; Determining the optimal heating power of the heating device by comprehensively considering the cavity distribution coefficient and the pipeline blockage coefficient, and controlling the heating device according to the optimal heating power; The step of obtaining the cavity distribution coefficient comprises: Extracting cavity voxels and pipe inner wall voxels in the three-dimensional ultrasonic image; The contact area between the cavity and the inner wall of the pipeline and the cavity volume are calculated by using the cavity voxels and the inner wall voxels of the pipeline, wherein the cavity volume is the product of the volume of a single cavity voxel and the number of cavity voxels; The cavity distribution coefficient is calculated by the contact area and the cavity volume. The calculation formula of the cavity distribution coefficient is as follows: ; In the formula represents the contact area between the cavity and the inner wall of the pipe, represents the total area of the inner wall of the pipe, represents the cavity volume, represents the pipe volume, represents the first adjustment factor, represents the cavity distribution coefficient.
2. The pipeline heating control method based on PCB monitoring according to claim 1 is characterized in that: The calculating of the contact area between the cavity and the inner wall of the pipe comprises: Traversing the cavity voxel, if the 6 neighboring voxels of the cavity voxel include a pipe inner wall voxel, marking the cavity voxel as an adjacent cavity voxel; Calculate the contact area between the cavity and the inner wall of the pipe. The contact area calculation formula is as follows: ; In the formula Indicates The number of pipe wall voxels included in the 6 neighboring voxels of the adjacent cavity voxel, represents the side length of the adjacent cavity voxel, represents the number of adjacent cavity voxels, Represents the contact area between the cavity and the inner wall of the pipe.
3. The pipeline heating control method based on PCB monitoring according to claim 1 is characterized in that: The step of obtaining the pipeline blockage coefficient comprises: Extracting the pipeline cross section and the obstruction object pixels in the three-dimensional ultrasonic image, wherein the pipeline cross section is the cross section of the pipeline perpendicular to the fluid flow direction; Traversing the pipeline cross section, extracting the blockage area in the pipeline cross section, and calculating the blockage area ratio coefficient; The blockage aggregation coefficient is calculated by the blockage object pixels, and the pipeline blockage coefficient is calculated based on the blockage area ratio coefficient and the blockage aggregation coefficient. The pipeline blockage coefficient calculation formula is as follows: ; In the formula represents the blocking area ratio, represents the blockage aggregation coefficient, represents the second adjustment factor, Indicates the pipe blockage coefficient.
4. The pipeline heating control method based on PCB monitoring according to claim 3 is characterized in that: The calculation of the blockage aggregation coefficient comprises: Calculating the center distances between pixels of different blocking objects in sequence, and calculating the aggregation degree between pixels of the blocking objects through the center distances; Calculate the blockage aggregation coefficient. The calculation formula for the blockage aggregation coefficient is as follows: ; In the formula Indicates blocked object pixels With blocked object pixels The concentration of Indicates the minimum value of the aggregation between the blocked object pixels, Indicates the maximum value of the aggregation between the pixels of the blocked object, Indicates the number of blocked pixels, It represents the blockage aggregation coefficient.
5. The pipeline heating control method based on PCB monitoring according to claim 1 is characterized in that: The step of determining the optimal heating power of the heating device comprises: Substitute the cavity distribution coefficient and the pipeline blockage coefficient into the optimal heating power calculation formula to calculate the optimal heating power. The optimal heating power calculation formula is as follows: ; In the formula represents the cavity distribution coefficient, represents the pipe blockage coefficient, Indicates the standard heating power of the heating device. Indicates the optimum heating power.
6. A pipeline heating control system based on PCB monitoring, which is implemented based on the pipeline heating control method based on PCB monitoring according to any one of claims 1 to 5, characterized in that: The system comprises: A three-dimensional ultrasonic image acquisition module is used to collect ultrasonic scanning images inside the pipeline, and perform three-dimensional reconstruction based on the ultrasonic scanning images to obtain a three-dimensional ultrasonic image inside the pipeline; A cavity distribution coefficient acquisition module, used to analyze the cavity distribution inside the pipeline based on the three-dimensional ultrasonic image to obtain the cavity distribution coefficient; A pipeline blockage coefficient acquisition module, used to analyze the blockage degree inside the pipeline based on the three-dimensional ultrasonic image to obtain the pipeline blockage coefficient; The optimal heating power acquisition module is used to determine the optimal heating power of the heating device by comprehensively considering the cavity distribution coefficient and the pipeline blockage coefficient, and control the heating device according to the optimal heating power.
7. An electronic device comprising: A processor and a memory, wherein the memory stores a computer program that can be called by the processor; characterized in that the processor executes the pipeline heating control method based on PCB monitoring as described in any one of claims 1 to 5 by calling the computer program stored in the memory.
8. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the pipeline heating control method based on PCB monitoring as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Heat exchanger pipeline blockage detection method
CN115127848A
Electric heating intelligent plug removal method and device for oil, gas and water pipelines
CN118482271A
Volume acquisition method for object in ultrasonic image and related ultrasonic system
US20220087649A1