A method, apparatus, medium, and product for detecting defects in a pipe
By constructing a three-dimensional heat transfer model of the pipeline and inverting the temperature distribution of the inner wall surface, combined with temperature field feature matching, the problems of large blind spots and low accuracy in pipeline inspection in existing technologies are solved, and high-precision online non-destructive testing is achieved.
Patent Information
- Application Number
- CN202611667586.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-27
- Publication Date
- 2026-11-27
AI Technical Summary
Existing pipeline inspection technologies suffer from problems such as large blind spots, low accuracy, difficulty in online non-invasive inspection, and inability to identify discontinuous defects inside the pipe wall and deformation defects at the pipe wall boundary.
By constructing a three-dimensional heat transfer model of the pipeline, using the external wall temperature data as the observation constraint and the pipeline heat transfer control equation as the physical constraint, the temperature distribution of the inner wall of the pipeline is inverted. Combined with the continuous temperature distribution of the inner and outer walls and the temperature field characteristics, defect detection is carried out using a standard database of pipeline wall temperature distribution.
It achieves high-precision online non-destructive testing, and can identify discontinuous defects inside the pipe wall and deformation defects at the pipe wall boundary. It is suitable for industrial pipeline inspection in the fields of petroleum, chemical, thermal, and energy.
Smart Images

Figure CN123176018A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of pipeline nondestructive testing, and in particular to a pipeline defect detection method, equipment, medium, and product. Background Technology
[0002] Pipelines are core components in industrial production and energy transmission systems, widely used in many industries such as petroleum, chemical, power, and heat. During long-term service, pipelines are susceptible to various structural defects due to multiple factors such as media corrosion, fluid erosion, fatigue loads, and high-temperature creep.
[0003] Common pipeline structural anomalies can be summarized into two categories: one is internal discontinuity defects within the pipe wall, where the defect area is entirely within the pipe wall material and does not intersect with the inner or outer wall surfaces, manifesting as structural discontinuity within the pipe wall material; the other is boundary deformation defects, where the defect area intersects with the inner or outer wall surface of the pipe and alters the local boundary profile. From the perspective of parametric geometric prototypes, both types of defects can be described using ellipsoids, triangles, and wedges; among them, when using an ellipsoidal prototype for boundary deformation defects, they are represented by a semi-ellipsoidal defect intersecting with the pipe wall boundary.
[0004] The aforementioned defects can reduce the structural strength and sealing performance of pipelines, and in severe cases, can easily lead to safety accidents such as media leakage, pipeline rupture, or even explosion. Therefore, timely and reliable non-destructive testing of pipeline defects is of great significance to ensuring industrial production safety.
[0005] Currently, pipeline defect detection typically employs methods such as ultrasonic testing, X-ray testing, eddy current testing, magnetic particle testing, and infrared thermal imaging.
[0006] Ultrasonic testing has high requirements for surface condition and limited sensitivity in identifying minute defects.
[0007] X-ray inspection poses radiation safety risks and cannot achieve large-scale online detection.
[0008] Eddy current testing is sensitive to conductive materials, probe lifting, and surface condition, while magnetic particle testing is mainly applicable to ferromagnetic materials. Both have certain limitations in terms of applicable objects and testing conditions.
[0009] In the absence of heat conduction inversion models and a priori database of defects, conventional infrared thermal imaging usually relies mainly on the anomalies in the outer wall temperature to make judgments. It is difficult to distinguish different defect types and specific shapes and deduce the defect size and inner wall location based solely on the stable distribution of the outer wall temperature.
[0010] In summary, existing detection methods have limitations in terms of detection conditions, material applicability, online implementation capability, and quantitative characterization of defects. In particular, for in-service scenarios where measuring devices can only be placed on the outside of the pipe, how to obtain defect characterization of the pipe wall interior and inner wall boundary from measurable information on the outer wall remains a problem that needs to be solved.
[0011] Under conditions where thermal boundary conditions and the thermophysical parameters of the pipe material are determinable or calibrable, discontinuities within the pipe wall and geometric variations at the boundary will alter the local heat transfer path and thermal resistance distribution, causing disturbances in the temperature field of the inner and outer walls of the pipe that are related to the location and size of the defects. When judging solely based on the outer wall temperature, the local temperature disturbances generated by the defects will be spatially smoothed as they are propagated along the pipe wall to the outer wall. Different defects may exhibit similar temperature anomaly morphologies on the outer wall surface, thus increasing the difficulty of defect type identification, specific morphological differentiation, and size inversion.
[0012] Therefore, existing pipeline inspection technologies suffer from problems such as large blind spots, low accuracy, difficulty in online non-invasive inspection, and inability to identify discontinuous defects inside the pipe wall and deformation defects at the pipe wall boundary. Summary of the Invention
[0013] To address the aforementioned problems in the existing technology, this application provides a pipeline defect detection method, equipment, medium, and product.
[0014] To achieve the above objectives, this application provides the following solution: Firstly, this application provides a method for detecting pipeline defects, including: A three-dimensional heat transfer model of the pipeline is constructed based on its geometric dimensions, material thermal properties, and thermal boundary conditions. Based on the on-site working conditions and testing environment of the pipeline to be tested, the temperature data of the outer wall surface of the area to be tested is obtained, and spatial registration is performed to obtain the temperature distribution of the outer wall surface. Using the external wall temperature data as an observation constraint and the pipeline heat transfer control equation as a physical constraint, an objective function is established. The three-dimensional heat transfer model of the pipeline is numerically discretized, and the objective function is solved through regularization and iterative optimization to obtain the temperature distribution of the inner wall of the pipeline. The temperature distribution on the inner wall of the pipe and the temperature distribution on the outer wall are mapped to a unified spatial grid to form a continuous temperature distribution on the inner and outer walls; Obtain a standard database of pipe wall temperature distribution, and match the continuous temperature distribution of the inner and outer walls with the temperature distribution data in the standard database of pipe wall temperature distribution to determine the pipe defect detection results.
[0015] Secondly, this application provides a computer device, including: 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 pipeline defect detection method provided above.
[0016] Thirdly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the pipeline defect detection method provided above.
[0017] Fourthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the pipeline defect detection method provided above.
[0018] According to the specific embodiments provided in this application, this application has the following technical effects: To address the shortcomings of existing pipeline inspection technologies, such as large blind spots, low accuracy, difficulty in online non-invasive inspection, and inability to identify discontinuous defects inside the pipe wall and deformation defects at the pipe wall boundaries, this application provides a pipeline defect detection method, equipment, medium, and product. Utilizing the characteristic that defects alter the pipe wall temperature distribution, it employs external wall temperature data as an observation constraint and a target function established using the pipeline heat transfer control equation as a physical constraint to invert the internal wall temperature distribution. Combined with the external wall temperature distribution obtained through spatial registration, a continuous temperature distribution of the internal and external walls is generated. This distribution is then matched with a standard database of pipeline wall temperature distribution characteristics to obtain the pipeline defect detection results, thereby achieving defect identification, location, and quantification. This application does not require damage to the pipeline structure and has advantages such as high detection accuracy, wide applicability, and strong engineering practicality. It can be applied to online non-destructive inspection of industrial pipelines in the petroleum, chemical, thermal, and energy fields. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 A schematic flowchart of a pipeline defect detection method provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a pipe heat conduction model provided in one embodiment of this application; Figure 3 This is a schematic diagram of a typical defect morphology provided in an embodiment of this application; Figure 4A schematic diagram of segmented scanning of the area to be inspected along the axial direction of the pipe to be tested, provided in an embodiment of this application; Figure 5 This is a schematic diagram of the circumferential arrangement of temperature measuring points on the outer wall of the pipe to be tested, provided in an embodiment of this application. Figure 6 This is a schematic diagram of the axial arrangement of temperature measuring points on the outer wall of the pipe to be tested, provided in an embodiment of this application.
[0021] Figure 7 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application.
[0022] Figure labels: 1-Defect-free pipe heat conduction model, 2-Triangular defect, 3-Wedge-shaped defect, 4-Ellipsoidal defect, 5-Pipe axis, 6-Pipe circumferential direction, 7-Infrared temperature measurement scanning path, 8-Infrared temperature measurement arrangement, 9-Thermocouple temperature measurement section, 10-Thermocouple temperature measurement point. Detailed Implementation
[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0024] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0025] In one exemplary embodiment, this application provides a pipeline defect detection method. This method is executed by a computer device, specifically a terminal or server, or both. In this embodiment, the method is described using a server as an example. Figure 1 As shown, the method includes: Step 100: Construct a three-dimensional heat transfer model of the pipeline based on its geometric dimensions, material thermal properties, and thermal boundary conditions.
[0026] Step 101: Based on the on-site working conditions and testing environment of the pipeline to be tested, obtain the temperature data of the outer wall surface of the area to be tested, and perform spatial registration to obtain the temperature distribution of the outer wall surface.
[0027] Step 102: Using the external wall temperature data as the observation constraint and the pipeline heat transfer control equation as the physical constraint, establish the objective function, numerically discretize the three-dimensional heat transfer model of the pipeline, and solve the objective function through regularization and iterative optimization to obtain the temperature distribution of the inner wall of the pipeline.
[0028] Step 103: Map the temperature distribution of the inner wall and the temperature distribution of the outer wall of the pipe to a unified spatial grid to form a continuous temperature distribution of the inner and outer walls for defect detection and matching.
[0029] Step 104: Obtain a standard database of pipe wall temperature distribution, and perform temperature field feature matching between the continuous temperature distributions of the inner and outer walls and the temperature distribution data in the standard database to determine the pipe defect detection results. The temperature field feature matching employs at least one of the following methods: correlation coefficient method, Euclidean distance method, and machine learning classification method. When multiple temperature field feature matching methods are used, consistency verification is performed based on the results of each method.
[0030] In one exemplary embodiment of this application, the process of constructing a standard database of pipe wall temperature distribution includes: Under the same operating conditions, a defect-free pipeline model and various defective pipeline models were established to characterize discontinuous defects inside the pipe wall and deformation defects at the pipe wall boundaries. Numerical simulation was used to obtain the internal and external wall temperature distribution data for each model. The defect types, their corresponding defect morphologies and parameters were then associated and stored with the internal and external wall temperature distribution data to generate a standard database of pipeline wall temperature distribution.
[0031] The parameters include defect size, defect depth, axial position of the defect, and circumferential position of the defect.
[0032] The standard database for pipe wall temperature distribution includes a sample set of defect-free pipe models, a sample set of discontinuous defects inside the pipe wall, and a sample set of deformation defects at the pipe wall boundary. Each of these sets includes the corresponding internal and external wall temperature distributions.
[0033] During the construction of the sample set, inlet temperature, flow rate or velocity, ambient temperature, external convective heat transfer conditions, material thermophysical parameters, and baseline pipe geometry are kept consistent across samples in the same set of standard databases. Only the defect type, specific shape, size, depth, and spatial location are changed, ensuring that the temperature field differences between different samples primarily correspond to changes in defect parameters. For situations where on-site operating conditions change, a new subset of the database can be generated according to the corresponding operating conditions, or the standard database can be extended with operating condition parameterization.
[0034] Defect types include internal discontinuities within the pipe wall and boundary deformation defects. These two types are distinguished based on the spatial relationship between the defect area and the pipe wall boundary. Specifically, defects entirely within the pipe wall material and not intersecting with the inner or outer pipe walls are classified as internal discontinuities. Defects intersecting with the inner or outer pipe wall and altering the local boundary profile are classified as boundary deformation defects. Internal discontinuities include at least one of ellipsoidal, triangular, and wedge-shaped defects, while boundary deformation defects include at least one of semi-ellipsoidal, triangular, and wedge-shaped defects. The geometric prototypes for triangles and wedges can be used for both types of defects. When the ellipsoidal geometric prototype is used for boundary deformation defects, it is represented by a semi-ellipsoid intersecting the pipe wall boundary. Therefore, the specific geometric shape is not the sole criterion for determining the defect type; the defect type is determined by whether the defect area intersects with the pipe wall boundary.
[0035] Furthermore, the numerical simulation employs a fluid-structure conjugate heat transfer model, simultaneously establishing the fluid domain inside the pipe and the solid domain on the pipe wall. A coupled heat transfer boundary is used at the fluid-structure interface to ensure temperature and heat flow continuity on both sides of the interface. For the flow inside the pipe at Reynolds numbers within the turbulent range, the standard k-ε turbulence model is used to solve for the time-averaged velocity field and turbulent heat transfer, thereby obtaining the convective heat transfer process of the fluid inside the pipe and the heat conduction process of the solid on the pipe wall, while ensuring temperature and heat flow continuity at the fluid-structure interface.
[0036] The purpose of employing the fluid-structure conjugate heat transfer model is to couple the convective heat transfer of the fluid inside the pipe with the heat conduction of the pipe wall in the same calculation process. This allows the local thermal resistance changes caused by defects to be transferred to the temperature fields of the inner and outer walls through the fluid-structure interface, avoiding the weakening of the temperature field disturbance caused by defects by pre-setting the inner wall temperature or local heat transfer to a fixed value. For turbulent flow conditions inside engineering pipes, the k-ε turbulence model is computationally stable and has a relatively moderate computational cost, making it convenient to balance the efficiency of flow heat transfer description and database construction when a large number of defect parameter samples need to be generated.
[0037] Furthermore, when establishing a standard database for pipe wall temperature distribution, the defect type, specific shape, size, depth, axial position, and circumferential position are correlated with the corresponding pipe inner and outer wall temperature distribution data (i.e., the inner wall temperature matrix). T in ( z , i ) and outer wall surface temperature matrix T out ( z , iAssociative storage. A unified two-dimensional spatial grid is established using the pipe's axial coordinates and circumferential angles. Temperature distribution data is stored in association with the grid in the form of a two-dimensional matrix corresponding to each point of the two-dimensional spatial grid. Specifically, numerical results with different grid densities are interpolated and mapped to a unified coordinate grid before being written into the standard database of pipe wall temperature distribution.
[0038] Using a unified two-dimensional matrix storage allows the numerically simulated temperature field, the measured outer wall temperature field, and the inverted inner wall temperature field to have the same spatial index. Therefore, point-by-point temperature difference calculation, root mean square error calculation, correlation coefficient calculation, and Euclidean distance calculation can be performed directly. Furthermore, the candidate locations of defects can be obtained directly based on the pipe axial coordinate z and circumferential angular coordinate θ corresponding to the anomaly matrix elements, reducing the errors caused by repeated coordinate transformations and spatial registration between different data sources.
[0039] In an exemplary embodiment of this application, the implementation process of step 101 above can be described as follows: based on the on-site working conditions and testing environment of the pipeline to be tested, a temperature measuring device is used to collect temperature data of the outer wall surface of the pipeline to be tested. The collected temperature data is subjected to outlier removal (e.g., using the 3σ criterion to remove abnormal temperature data), noise reduction (e.g., using Gaussian smoothing or equivalent filtering methods to suppress random noise), and spatial registration processing (e.g., interpolating to complete missing or removed positions, and registering the temperature data to a unified two-dimensional spatial grid of the standard database according to the axial coordinates and circumferential angle of the measuring point), to obtain the measured outer wall temperature data (i.e., outer wall temperature distribution) corresponding to the spatial coordinates of the standard database of pipeline wall temperature distribution.
[0040] Furthermore, the temperature measuring device can be a thermocouple temperature measuring device or an infrared thermal imager. When using thermocouple temperature measurement, multiple temperature measuring points are arranged axially and circumferentially along the outer wall of the pipe in the area to be measured to obtain discrete temperature data. When using an infrared thermal imager temperature measurement, the area to be measured is scanned in segments and the images are stitched together into a temperature matrix. The area to be measured is scanned along a preset scanning path to obtain the temperature distribution of the outer wall. When both temperature measuring methods are used simultaneously, the infrared temperature can be calibrated using the thermocouple temperature measurement results before data fusion.
[0041] In an exemplary embodiment of this application, the implementation process of step 102 above can be described as follows: using the measured data of the outer wall temperature as the observation constraint, and using the heat transfer control equation of the pipeline as the physical constraint, an inverse heat conduction problem (i.e., objective function) is established. The temperature distribution of the inner wall of the pipeline is obtained through numerical discretization, regularization and iterative solution inversion, and a continuous temperature distribution of the inner and outer walls of the pipeline is formed on a unified spatial grid.
[0042] In practical applications, the implementation process of step 102 includes: The heat transfer control equations of the pipeline are discretized by finite element method to establish a forward problem model. The inner wall temperature to be determined is taken as the unknown parameter. The deviation between the outer wall temperature calculated by the forward problem model and the outer wall temperature data is taken as the data fitting term. A Tikhonov regularization term is introduced to construct the objective function.
[0043] For example, let the measured temperature vector of the outer wall surface be... y The inner wall temperature vector to be determined is: x The forward problem model mapping obtained based on finite element discretization is denoted as... F ( x If the difference between the calculated outer wall temperature and the measured outer wall temperature is used as the data fitting term, then the objective function is constructed. J ( x ), J ( x )=|| W ( F ( x )- y )||2 2 + l || L ( x - x ref )||2 2 ,in, W Here is the measurement point weight matrix. l For regularization parameters, L For regularization operators, x ref This serves as a reference or initial distribution for the temperature of the inner wall surface.
[0044] The conjugate gradient method is used to iteratively update the inner wall temperature to be determined until the objective function, temperature residual, or the change in the results of two adjacent iterations meets the preset convergence condition, thus obtaining the temperature distribution of the inner wall of the pipe.
[0045] In the iterative solution, an initial value for the inner wall temperature is first given. x 0 and perform a forward problem calculation to obtain the predicted outer wall temperature. F ( x 0) and residuals. The gradient of the objective function is calculated based on the sensitivity of the forward problem model to the inner wall temperature parameter. An initial search direction is established using the negative gradient direction, and subsequent search directions are updated using the conjugate gradient recursive relationship. The step size is determined along the search direction, and the inner wall temperature is updated. After each update, the forward problem model is resolved, and the outer wall temperature residual is calculated. Iteration stops when the outer wall temperature residual is lower than a preset threshold, the relative change of the objective function is lower than a preset threshold, or the maximum number of iterations is reached, thus obtaining the temperature distribution of the pipe's inner wall.
[0046] In the above process, finite element discretization is used to establish the forward problem relationship between pipe wall geometry, material and boundary conditions and temperature response; Tikhonov regularization term is used to limit the ill-conditioned nature and noise amplification of the inverse problem; and conjugate gradient method is used to efficiently update the temperature parameters to be determined under given forward problem and regularized objective function. The three of them respectively undertake the functions of model discretization, stabilization and iterative optimization.
[0047] In an exemplary embodiment of this application, when implementing step 104, the presence of a defect in the pipeline under test can be determined first based on the temperature distribution difference between the pipeline and the defect-free model. For example, the continuous temperature distribution of the inner and outer walls can be registered and compared point by point with the temperature distribution data corresponding to the defect-free pipeline in the pipeline wall temperature distribution standard database (e.g., point-by-point subtraction under the same spatial coordinates) to form a temperature difference matrix, and the root mean square error and temperature difference distribution can be determined. When the root mean square error is greater than a preset threshold, or when there is a continuous region in the temperature difference matrix that exceeds the local temperature difference threshold and meets the minimum spatial scale requirement, it is determined that the pipeline under test has a defect.
[0048] When a defect is detected, the temperature disturbance characteristics of the inner and outer walls of the abnormal region are calculated (e.g., characteristic parameters that characterize the amplitude, amplitude ratio, spatial correlation, and axial and circumferential gradients of the inner and outer wall temperature disturbances). These are then matched first-level with sample sets marked as internal pipe wall discontinuities and pipe wall boundary deformation defects in the standard database of pipe wall temperature distribution. Based on the matching results of the two types of samples, the defect type is determined. A second-level matching is then performed in the sample set corresponding to the determined defect type to determine the specific defect morphology, size, and location parameters. This completes the detection and quantification of the pipe defect, and outputs the defect type, specific defect morphology, size, depth, axial position, circumferential position, and corresponding temperature field matching evaluation indicators, forming the pipe defect detection result. The second-level matching can employ at least one of the following: correlation coefficient method, Euclidean distance method, or machine learning method trained on a standard database. Based on the best matching sample and its neighboring parameter samples, the specific defect morphology, size, depth, axial position, and circumferential position are determined, and the corresponding matching evaluation indicators are output.
[0049] Based on the above description, the implementation process of step 104 can be described as follows: Taking the temperature distribution of the inner and outer walls of the defect-free pipe model as a reference, construct the inner wall temperature difference matrix and the outer wall temperature difference matrix of the abnormal region, respectively, and extract at least one of the following: inner wall temperature disturbance intensity, outer wall temperature disturbance intensity, ratio of inner and outer wall temperature disturbance intensity, spatial correlation of the inner and outer wall temperature difference matrix, and axial temperature and circumferential temperature gradient, as defect form discrimination features. Perform normalized distance or correlation matching between the defect form discrimination features and the sample set of discontinuous defects inside the pipe wall and the sample set of deformation defects at the pipe wall boundary, respectively, to obtain the matching results. Determine the defect form based on the matching results.
[0050] In practical applications, for areas identified as abnormal, the temperature distribution of the inner and outer walls can be represented by an inner and outer wall temperature matrix. T in,0 ( z , i )and T out,0 ( z , i Based on this, the inner and outer wall temperature matrices are used. T in,0 ( z , i )and T out,0 ( z , i Based on the baseline, construct temperature difference matrices for the inner and outer wall surfaces respectively. ΔT in ( z , i )= T in ( z , i )- T in,0 ( z , i )and ΔT out ( z , i )= T out ( z , i )- T out,0 ( z , i In the abnormal region Oh Internal calculation of the root mean square amplitude of the internal wall temperature disturbance A in Root mean square amplitude of external wall temperature disturbance A out Inner and outer wall disturbance intensity ratio R = A in / ( A out + e ), ΔT in and ΔT out Spatial correlation coefficient r Features such as axial temperature gradient and circumferential temperature gradient constitute the defect form feature vector. q .in, e To prevent positive numbers with a denominator of zero, [the following is used]. qAfter normalizing the features according to the scale of the standard database, the sample sets of discontinuous defects inside the pipe wall are calculated separately. C I and the sample set of pipe wall boundary deformation defects C B minimum normalized distance d I and d B And / or calculate the corresponding correlation indicators. When d I Less than d B And when the preset matching conditions are met, it is determined to be a discontinuous defect inside the pipe wall. d B Less than d I If the preset matching conditions are met, it is determined to be a pipe wall boundary deformation defect. If the difference between the two matching results is less than the preset confidence threshold, the defect type is determined after consistency verification by combining the correlation coefficient or multiple neighboring samples.
[0051] Based on the above description, the pipeline defect detection method provided in this application does not simply directly identify external wall temperature anomalies. Instead, it uses the measured external wall temperature as observational information and the heat transfer control equation, material thermophysical parameters, and boundary conditions as physical constraints. It then uses the inverse thermal conductivity problem to invert the temperature distribution of the inner wall surface, which cannot be directly measured. The inverted inner wall temperature field and the outer wall temperature field are used together in the same spatial coordinate system. This allows for the simultaneous characterization of the impact of defects on the temperature gradient near the inner boundary and the external temperature response after conduction through the pipe wall. This reduces the matching ambiguity caused by the similarity in temperature responses of different defects when relying solely on the external wall temperature, and provides more constraint information for defect location and size parameter estimation.
[0052] To quantitatively evaluate the contribution of the inner wall temperature inversion process, two sets of comparisons can be set up under the same test samples, the same outer wall temperature measurement data, the same database samples, and the same matching rules: the first set uses only the outer wall temperature distribution for defect matching, and the second set uses the inverted inner wall temperature distribution and the outer wall temperature distribution for joint matching. The defect classification accuracy, size estimation error, and location estimation error are then statistically analyzed. This comparative method can distinguish the gain brought by the inner wall inversion from the impact of changes in temperature measurement, database, or matching algorithms, thus effectively solving the problem of insufficient defect characterization information in in-service pipelines where the outer side is measurable but the inner side is difficult to measure directly.
[0053] In an exemplary embodiment of this application, the implementation process of the pipeline defect detection method provided above is illustrated using a DN15 seamless steel pipe as the object to be tested.
[0054] The pipe to be tested has an inner diameter of 17.5 mm, a wall thickness of 2.5 mm, and is made of 20# carbon steel. It transports a high-temperature medium inside the pipe, while the outside environment is at room temperature. The pipe is horizontally arranged and has circumferential temperature measurement capabilities. The following parameters are used to illustrate one possible implementation method and do not constitute a limitation on the scope of protection of this application.
[0055] The specific implementation steps of this embodiment are as follows: S1. A three-dimensional model of the fluid and solid domains of the pipeline under test was established using ANSYS Fluent. The pipe wall material parameters were set to a thermal conductivity of 45 W / (m·K) and a density of 7850 kg / m³. 3 The specific heat capacity is 470 J / (kg·K). Taking water as an example, the thermal properties of the medium inside the pipe are set according to the corresponding temperature. The internal medium temperature is set to 220℃, the external ambient temperature to 25℃, and the external convective heat transfer coefficient to 120 W / (m²). 2 • K) serves as the baseline thermal boundary condition for this embodiment. The fluid and solid domains employ fluid-solid conjugate heat transfer coupling, and the fluid-solid interface satisfies both temperature and heat flux continuity. When the flow inside the pipe is turbulent, the standard k-ε turbulence model is used. The pipe wall and fluid domain are meshed, and the area near defects is locally refined to ensure sufficient spatial resolution in regions with large temperature gradients.
[0056] The reason for choosing fluid-structure conjugate heat transfer is that the temperature response of the pipe under test is simultaneously controlled by convective heat transfer of the fluid inside the pipe and conductive heat transfer of the pipe wall. After the defect changes the local solid heat transfer path, it will affect the heat transfer of the inner wall through the fluid-structure interface and further reflect it in the outer wall temperature. Using coupled solution can avoid artificially fixing the inner wall temperature or local heat transfer flux. For the turbulent flow inside the pipe in this embodiment, the standard k-ε model can obtain the time-averaged flow field for heat transfer calculation with relatively stable computational cost, which is suitable for batch numerical calculation of multiple sets of defect parameters.
[0057] Based on the aforementioned unified parameters, defect-free pipeline models (such as...) are established respectively. Figure 2 (as shown) and two types of defect sample models (such as) Figure 3 (As shown). The samples of discontinuous defects inside the pipe wall include ellipsoidal, triangular, and wedge-shaped internal defect models. Their defect regions are entirely within the pipe wall material and do not intersect with the inner or outer wall surfaces. The samples of pipe wall boundary deformation defects include semi-ellipsoidal, triangular, and wedge-shaped boundary deformation defect models. Their defect regions intersect with the inner or outer wall surface and alter the local boundary contour. Defect parameters are varied within a preset range, including depth, axial length, circumferential width, axial position, and circumferential position. These models are labeled as the sets of discontinuous defects inside the pipe wall and the sets of pipe wall boundary deformation defects, respectively, so that the standard database simultaneously contains defect type labels, specific defect morphology labels, and temperature distribution samples of the corresponding parameters. Figure 2and Figure 3 In the diagram, label 1 represents a defect-free pipe heat conduction model, label 2 represents a triangular defect, label 3 represents a wedge-shaped defect, and label 4 represents an ellipsoidal defect.
[0058] Steady-state heat transfer numerical calculations were performed on each model, and the temperature fields of the inner and outer walls were extracted after the preset convergence conditions were met. The axial coordinate z was used as the first spatial coordinate, and the circumferential angle... i A unified mesh was established for the second spatial coordinates, and the inner wall temperature of each model was recorded. T in ( z , i ) and outer wall surface temperature T out ( z , i Interpolate to the same grid and store in two-dimensional matrix form. Each matrix is simultaneously associated with labels such as defect type, specific shape, size, depth, axial position, and circumferential position, forming a standard database.
[0059] After adopting the above unified two-dimensional matrix, the subsequent measured outer wall temperature and the inverted inner wall temperature are all converted to the same matrix. z- i The grid structure allows for direct calculation of point-by-point interpolation, root mean square error, correlation coefficient, and Euclidean distance. Matrix elements exhibiting anomalies can be directly mapped back to their corresponding axial coordinates and circumferential angles, providing a spatial index for defect location estimation.
[0060] S2. Depending on the on-site testing conditions, either a thermocouple or an infrared thermal imager can be selected for external wall temperature acquisition. Alternatively, both temperature measurement methods can be used simultaneously, and data calibration and fusion can be performed, if conditions permit. This embodiment describes the implementation steps for both temperature measurement methods: (1) Specific implementation method of thermocouple temperature measurement.
[0061] S21. A Class I precision K-type armored thermocouple is selected, with a wire diameter of 1.5mm, an insulated structure, a temperature measurement range of 0-300℃, and an allowable error of ±0.4%t. The supporting equipment is a 64-channel paperless recorder with a precision of 0.2%, an adjustable sampling frequency of 1Hz-10Hz, and support for automatic cold junction compensation. Dedicated K-type shielded compensation wire is used for compensation to avoid electromagnetic interference in industrial environments.
[0062] S22, such as Figure 4-Figure 6 As shown, 10 temperature measuring sections are arranged at equal intervals along the pipe axis in the area to be inspected. Each section has 8 thermocouple measuring points evenly distributed circumferentially, with a circumferential interval of 45°. The axial spacing of the measuring points can be determined based on the expected minimum defect size and the length of the inspection area. In this embodiment, the axial spacing is 100 mm. Figure 4-Figure 6In the diagram, label 5 corresponds to the pipe axial direction, label 6 corresponds to the pipe circumferential direction, label 7 corresponds to the infrared temperature measurement scanning path, label 8 corresponds to the infrared temperature measurement arrangement, label 9 corresponds to the thermocouple temperature measurement section, and label 10 corresponds to the thermocouple temperature measurement point.
[0063] S23. Before installation, clean the anti-rust paint, rust, and oil stains from the outer wall of the pipe at the measuring point to ensure full contact between the measuring end and the pipe wall surface. Use heat-resistant thermally conductive adhesive to fix the thermocouple measuring end, and further secure it with high-temperature resistant tape and stainless steel cable ties to reduce contact thermal resistance and the effects of mechanical loosening. Keep the compensating wire away from high-voltage cables and take shielding and grounding measures.
[0064] S24. Before data acquisition, calibrate the temperature measurement system to ensure that the calibration temperature range covers the actual operating temperature range of the pipeline under test. After the temperature and flow rate of the medium inside the pipe enter a stable range, start data acquisition, continuously acquire multiple sets of temperature data, and take the time average as the outer wall temperature of each measuring point to reduce the impact of instantaneous fluctuations on subsequent inversion.
[0065] (2) Specific implementation method of infrared thermal imager temperature measurement.
[0066] S25. Select an infrared thermal imager that matches the temperature range to be measured, such as a temperature range of -20~500℃, infrared resolution of 384×288 pixels, thermal sensitivity not exceeding 0.05℃, and adjustable emissivity. Use a tripod, a standard blackbody furnace, and a high-temperature resistant calibration patch with known emissivity.
[0067] S26. Before temperature measurement, clean the dust and oil from the outer wall of the pipe. Set up calibration patches with known emissivity in the detection area and calibrate the infrared thermal imager at several temperature points using a standard blackbody furnace. During temperature measurement, try to keep the ambient radiation and air flow conditions stable and avoid direct exposure of the surface to be measured by strong external radiation sources.
[0068] S27, such as Figure 4 and Figure 5 As shown, the infrared thermal imager is kept in a stable position relative to the pipe, and the area to be inspected is scanned in segments along the pipe axis. An overlap area is set between adjacent scanned areas for image registration and stitching. Multiple frames of thermal images are acquired at each scan position and averaged to reduce random noise.
[0069] S28. Perform geometric registration and stitching on multiple frames of infrared images to generate the outer wall temperature matrix of the area to be detected. Correct the deviation of the infrared temperature measurement system using calibration patches and / or synchronous thermocouple data, remove abnormal temperature points using the 3σ criterion, and supplement missing data using bilinear interpolation.
[0070] When thermocouples and infrared thermal imagers are used simultaneously, the two types of temperature measurement data should first be converted to the same... z-θA coordinate system was established, and the infrared temperatures at corresponding locations were calibrated using thermocouple measuring points before fusion. When only one temperature measurement method was used, outlier removal, smoothing, noise reduction, and interpolation were directly applied to the temperature measurement data. Finally, the measured temperatures of the outer wall were registered to a two-dimensional spatial grid consistent with the standard database.
[0071] S3. Using the preprocessed and spatially registered outer wall temperature matrix as the observation data, the pipe wall heat transfer model is discretized using the finite element method, and the inner wall temperature vector to be determined is used as the data. x These are the inversion parameters. Denoted in the given... x The outer wall temperature vector obtained by the forward problem under the given conditions is: F ( x The measured outer wall temperature vector is: y This embodiment uses the Tikhonov regularization objective function. J ( x )=|| W ( F ( x )- y )||2 2 + l || L ( x - x ref )||2 2 .
[0072] S31. Given the initial inner wall temperature based on the temperature of the medium inside the pipe, the inner wall temperature of the defect-free model, or the one-dimensional steady-state thermal conductivity estimate. x 0. Will x Substituting 0 into the finite element forward problem model, calculate and predict the outer wall temperature. F ( x 0), and compared with the measured outer wall temperature. y Comparison yields residuals r 0.
[0073] S32. Calculate the sensitivity of the outer wall temperature to the inner wall temperature parameter using the finite element positive problem model, and then obtain the gradient g of the objective function. Use -g as the initial search direction, and construct the subsequent iterative search directions according to the conjugate gradient recursion relationship. Determine the step size along the search direction. α , and according to x ( k +1)= x ( k )+ αd ( k Update the inner wall surface temperature.
[0074] S33. After each update of the inner wall temperature, resolve the forward problem to calculate the new predicted outer wall temperature, temperature residual, and objective function. Stop iteration when the root mean square residual of the outer wall temperature is below a preset threshold, the relative change in the objective function between two adjacent iterations is below a preset threshold, or the maximum number of iterations is reached. Map the final iteratively obtained x to a two-dimensional temperature matrix of the inner wall. T in ( z , i The Tikhonov regularization term is used to limit inverse solution oscillations caused by measurement noise, and the conjugate gradient method is used to reduce the computational cost of iteratively solving high-dimensional temperature parameters.
[0075] S34. The inverted inner wall temperature matrix and the measured outer wall temperature matrix are mapped together to a unified z-θ space grid, and a two-dimensional temperature cloud map, a circumferential one-dimensional temperature curve and an axial one-dimensional temperature curve are generated as inputs for subsequent defect discrimination and feature matching.
[0076] Among them, the circumferential one-dimensional temperature distribution curve is at a fixed axial position. z = z At 0 o'clock, in circumferential angle i The curve is obtained by plotting the x-axis as the horizontal axis and the corresponding temperature as the vertical axis. The axial one-dimensional temperature distribution curve is obtained by plotting the curve at a fixed circumferential angle. i = i At 0, the axial coordinate z The curve is obtained by plotting the x-axis and the corresponding temperature on the y-axis. These two curves are used to characterize the circumferential temperature change along the same cross-section and the axial temperature change along the same circumferential direction, respectively.
[0077] S4. Using a step-by-step approach of "discrimination first, matching later," the defect detection of the pipeline under test is completed. The specific steps are as follows: S41. The temperature matrices of the inner and outer walls are compared point-by-point with the corresponding temperature matrices of defect-free pipes in the standard database. The overall root mean square error is calculated, and a temperature difference matrix is generated. To analyze one-dimensional features, circumferential temperature curves can be extracted from 10 axial temperature measurement sections, and axial temperature curves can be extracted at fixed circumferential orientations such as 0°, 90°, 180°, and 270°. In this embodiment, if the overall root mean square error or the temperature difference of any continuous abnormal area exceeds a preset threshold, a defect is determined to exist. For example, the root mean square error of the axial temperature curve at the 90° orientation is 1.12℃, which is greater than the discrimination threshold of 0.3℃, therefore, a defect is determined to exist in the detection area.
[0078] S42. For the identified abnormal areas, form a model based on the temperature field of the defect-free model. ΔT in and ΔT out And calculate the root mean square amplitude of the inner wall disturbance. Ain Root mean square amplitude of external wall disturbance A out Inner and outer wall disturbance intensity ratio R Spatial correlation coefficient of inner and outer wall difference matrix r In addition, axial and circumferential temperature gradient characteristics are considered. After normalizing these characteristics, minimum normalized distances are calculated between them and the sets of discontinuous defect samples inside the pipe wall and the sets of deformation defects at the pipe wall boundary. In this embodiment, the minimum normalized distance between the anomaly region to be measured and the set of discontinuous defect samples inside the pipe wall is... d I The minimum normalized distance is 0.64, which is the distance from the minimum normalized distance of the boundary deformation defect sample set. d B The correlation coefficient was 0.21, and the combined temperature correlation between the inner and outer walls of the candidate samples for pipe wall boundary deformation defects was higher than that of the candidate samples for internal discontinuities. Therefore, the defect was first determined to be a pipe wall boundary deformation defect.
[0079] S43. Secondary matching is performed on the pipe wall boundary deformation defect sample set determined in step S42. The correlation coefficient and Euclidean distance are calculated for each specific morphological sample in the category, using the two-dimensional temperature matrix of the inner and outer walls of the abnormal region and the corresponding one-dimensional temperature curve. In this embodiment, the correlation coefficient is used as the primary matching index, and the Euclidean distance is used as the consistency verification index. After matching, the maximum correlation coefficient is 0.989, corresponding to a wedge-shaped boundary deformation defect model with a depth of 1 mm, an axial length of 2 mm, and a circumferential width of 2 mm, and this defect is located on the inner wall of the pipe. The Euclidean distance between this candidate model and the combined temperature characteristics of the inner and outer walls to be measured is 0.78℃, which is less than the 1.2℃ verification threshold set in this embodiment.
[0080] S44. Output the defect detection result based on the first-level defect type discrimination and the second-level specific shape matching result. In this embodiment, the defect type is a pipe wall boundary deformation defect, the specific defect shape is a wedge-shaped defect, and the defect belongs to the pipe wall boundary deformation defect and is located on the inner wall surface of the pipe. The defect depth is 1mm, the axial length is 2mm, and the circumferential width is 2mm. Output the corresponding axial coordinates, circumferential angle, correlation coefficient of 0.989, and Euclidean distance of 0.78°.
[0081] When the above results were verified using ultrasonic testing, the dimensional difference recorded in this embodiment was less than 0.4 mm and the circumferential angle difference was less than 1.5°, indicating that the defect parameters obtained in this embodiment based on the combined temperature characteristics of the inner and outer walls have good consistency with the verification results of another non-destructive testing method.
[0082] In an exemplary embodiment of this application, to quantitatively verify the contribution of the inner wall temperature inversion to the defect detection results, an exemplary numerical simulation comparison experiment is set up under the aforementioned pipe geometry parameters, material parameters, and thermal boundary conditions. Thirty independent verification samples, not involved in the standard database matching parameter calibration, are constructed, of which 15 groups represent discontinuous defects inside the pipe wall, and 15 groups represent deformation defects at the pipe wall boundary. The defect depth varies within the range of 0.8-1.8 mm, the axial length varies within the range of 1.5-4.5 mm, the circumferential width varies within the range of 1.5-4.0 mm, and the axial and circumferential positions change within the detection area. Gaussian noise with a mean of 0 and a standard deviation of 0.15 °C is superimposed on the outer wall temperature data obtained from each verification sample to simulate random temperature measurement errors.
[0083] Two processing schemes were compared. Scheme A, a control scheme, simulated a processing method based solely on the outer wall temperature distribution. It directly used the preprocessed outer wall temperature matrix to match defect types and parameters with outer wall temperature samples from a standard database. The pipeline defect detection method provided in this application, Scheme B, used the exact same outer wall temperature data as Scheme A. First, it performed inner wall temperature inversion according to step S3, then combined the inverted inner wall temperature with the outer wall temperature to form a joint feature, and performed first-level defect type discrimination and second-level matching of specific morphology and parameters according to steps S42-S44. Both schemes used the same standard database, the same validation samples, and the same matching threshold; the main difference lay in whether or not inner wall surface inversion temperature information was introduced.
[0084] In 30 sets of verification samples, the average root mean square error between the inner wall temperature obtained by Scheme B and the corresponding numerical model inner wall temperature was 0.223℃. Further statistical analysis of the defect type identification accuracy, mean absolute error of dimensions, mean absolute error of axial position, and mean absolute error of circumferential angle for the two schemes is shown in Table 1.
[0085] Table 1 Comparison of numerical simulation results between Scheme A and Scheme B
[0086] As shown in Table 1, under the condition that the temperature measurement data, standard database, and matching rules remain consistent, the accuracy of defect form identification improves by 20.0 percentage points after introducing the inner wall surface temperature inversion. The average absolute error of dimensions decreases from 0.543 mm to 0.250 mm, a reduction of approximately 54.0%. The average absolute error of axial position decreases from 6.85 mm to 2.50 mm, a reduction of approximately 63.5%. The average absolute error of circumferential angle decreases from 4.78° to 2.18°, a reduction of approximately 54.4%. This comparison demonstrates that the inner wall surface inversion is not simply adding a set of temperature data, but rather recovering the temperature perturbation information on the side closer to the defect source through the heat transfer control equation, and then jointly constraining the defect matching with the outer wall response. This reduces the defect form confusion caused by heat transfer smoothing when only the outer wall temperature is used, and improves the stability of the size and position parameter estimation.
[0087] Based on the above description, compared with the prior art, this application also has at least the following beneficial effects: Compared to existing methods that rely solely on external wall temperature anomalies for judgment, this application utilizes a heat transfer physics model to recover the internal wall temperature distribution from the measurable external wall temperature. By jointly using internal and external wall temperature features under a unified spatial coordinate system, it increases the constraint information for defect type discrimination and parameter estimation, reducing matching ambiguities when different defects exhibit similar temperature responses on the external wall. The fluid-structure conjugate heat transfer model can simultaneously describe convection heat transfer within the pipe and conduction heat transfer through the pipe wall. The unified two-dimensional matrix facilitates point-by-point registration of simulation data, measured data, and inversion data. By grouping the standard database into discontinuous defects within the pipe wall and deformation defects at the pipe wall boundary, and performing primary discrimination based on the amplitude, spatial correlation, and gradient characteristics of internal and external wall temperature disturbances, followed by secondary matching within the corresponding categories, the distinction between the two defect types and the inversion of specific parameters can be achieved. In the numerical simulation comparison examples below, the defect type identification accuracy increased from 73.3% when using only external wall temperature to 93.3% when using combined internal and external wall temperature features, while the mean absolute errors for size and location were significantly reduced.
[0088] In summary, the pipeline defect detection method provided in this application constructs a standard temperature distribution database using computational fluid dynamics (CFD) numerical simulation, uses the measured temperature of the outer wall as an observation constraint, inverts the temperature field of the inner wall surface through the inverse problem of heat conduction, and performs joint comparison and feature matching of the temperature distributions of the inner and outer walls under a unified spatial coordinate system. This enables the differentiation between two types of defects: discontinuous defects inside the pipe wall and deformation defects at the pipe wall boundary. Furthermore, it allows for the estimation of specific defect morphology, location, and parameters.
[0089] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 7As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores pipeline defect detection data. The I / O interfaces allow the processor to exchange information with external devices. The communication interface allows communication with external terminals via a network connection. When executed by the processor, the computer program implements a pipeline defect detection method.
[0090] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer equipment to which the present application is applied. Specific computer equipment may include, for example, [the following is a list of possible additional structures]. Figure 7 The diagram shows more or fewer components, or combinations of certain components, or different component arrangements.
[0091] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0092] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0093] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0094] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0095] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (RRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
[0096] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0097] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0098] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for detecting pipeline defects, characterized in that, include: A three-dimensional heat transfer model of the pipeline is constructed based on its geometric dimensions, material thermal properties, and thermal boundary conditions. Based on the on-site working conditions and testing environment of the pipeline to be tested, the temperature data of the outer wall surface of the area to be tested is obtained, and spatial registration is performed to obtain the temperature distribution of the outer wall surface. Using the external wall temperature data as an observation constraint and the pipeline heat transfer control equation as a physical constraint, an objective function is established. The three-dimensional heat transfer model of the pipeline is numerically discretized, and the objective function is solved through regularization and iterative optimization to obtain the temperature distribution of the inner wall of the pipeline. The temperature distribution on the inner wall of the pipe and the temperature distribution on the outer wall are mapped to a unified spatial grid to form a continuous temperature distribution on the inner and outer walls; Obtain a standard database of pipe wall temperature distribution, and match the continuous temperature distribution of the inner and outer walls with the temperature distribution data in the standard database of pipe wall temperature distribution to determine the pipe defect detection results.
2. The pipeline defect detection method according to claim 1, characterized in that, The process of constructing the standard database of pipe wall temperature distribution includes: Under the same working conditions, a defect-free pipeline model and various defective pipeline models were established to characterize discontinuous defects inside the pipe wall and deformation defects at the pipe wall boundary. Numerical simulation is used to obtain the internal and external wall temperature distribution data corresponding to the defect-free pipe model and various defective pipe models. The defect type, the corresponding defect morphology and parameters are associated and stored with the internal and external wall temperature distribution data to generate the standard database of pipe wall temperature distribution. The parameters include defect size, defect depth, defect axial position and defect circumferential position. The standard database of pipe wall temperature distribution includes a sample set of defect-free pipe models, a sample set of discontinuous defects inside the pipe wall and a sample set of deformation defects at the pipe wall boundary. The sample set of defect-free pipe models, the sample set of discontinuous defects inside the pipe wall and the sample set of deformation defects at the pipe wall boundary all include the corresponding internal and external wall temperature distributions.
3. The pipeline defect detection method according to claim 1, characterized in that, The continuous temperature distribution of the inner and outer walls is matched with the temperature distribution data in the standard database of pipe wall temperature distribution to determine the pipe defect detection results, including: The continuous temperature distribution of the inner and outer walls is compared point by point with the temperature distribution data of the defect-free pipe in the standard database of pipe wall temperature distribution, and the root mean square error and temperature difference distribution are determined. When the root mean square error is greater than a preset threshold, or when there is a continuous area in the temperature difference distribution that exceeds the local temperature difference threshold, it is determined that the pipe under test has a defect.
4. The pipeline defect detection method according to claim 1, characterized in that, The temperature field feature matching adopts at least one of the correlation coefficient method, Euclidean distance method and machine learning classification method; when multiple temperature field feature matching methods are adopted, consistency verification is performed based on the results of each temperature field feature matching method.
5. The pipeline defect detection method according to claim 3, characterized in that, The continuous temperature distribution of the inner and outer walls is matched with the temperature distribution data in the standard database of pipe wall temperature distribution to determine the pipe defect detection results, including: Based on the temperature distribution of the inner and outer walls of the defect-free pipeline model, the inner wall temperature difference matrix and the outer wall temperature difference matrix of the abnormal region are constructed respectively. At least one of the following is extracted as the defect form discrimination feature: inner wall temperature disturbance intensity, outer wall temperature disturbance intensity, ratio of inner and outer wall temperature disturbance intensity, spatial correlation of inner and outer wall temperature difference matrix, and axial temperature and circumferential temperature gradient. The defect type discrimination features are matched with the sample set of discontinuous defects inside the pipe wall and the sample set of deformation defects at the pipe wall boundary by normalized distance or correlation to obtain the matching results. The defect type is determined based on the matching results.
6. The pipeline defect detection method according to claim 5, characterized in that, After determining the defect type based on the matching results, the process also includes: Determine the temperature disturbance characteristics of the inner and outer walls of the defect area; In the sample set corresponding to the defect type, the temperature disturbance characteristics of the inner and outer walls of the defect area are matched to determine the defect morphology, size and location parameters, thus completing the detection and quantification of pipeline defects.
7. The pipeline defect detection method according to claim 1, characterized in that, Using the external wall temperature data as an observation constraint and the pipe heat transfer control equation as a physical constraint, an objective function is established, including: The heat transfer control equation of the pipeline is discretized by finite element method to establish a forward problem model. The inner wall temperature to be determined is taken as the unknown parameter. The deviation between the outer wall temperature calculated by the forward problem model and the outer wall temperature data is taken as the data fitting term. The objective function is constructed by introducing a Tikhonov regularization term.
8. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that the processor executes the computer program to implement the pipeline defect detection method according to any one of claims 1-7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the pipeline defect detection method according to any one of claims 1-7.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the pipeline defect detection method according to any one of claims 1-7.
