Pipeline fault processing method and device, equipment and storage medium
By setting pressure sensors in the pipeline to monitor the average resistance loss and positioning faults using pressure waves, the problem of low pipeline fault identification efficiency in dredging projects is solved, and fast and accurate fault positioning and handling is achieved, improving the operation efficiency of the project.
Patent Information
- Application Number
- CN202510594648.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-09
- Publication Date
- 2025-08-08
AI Technical Summary
The existing technology has low efficiency in identifying pipeline faults in dredging projects, which is difficult to deal with in a timely manner, affecting the normal operation of the project.
By setting up multiple pressure sensors in the pipeline, the average resistance loss between adjacent pressure sensors is monitored in real time, the absolute difference with the theoretical resistance loss is compared, the fault type is determined as leakage or blockage, and the fault location is precisely positioned using the propagation speed and time difference of the pressure wave.
It realizes rapid identification and precise positioning of pipeline faults, improves fault handling efficiency, reduces downtime of dredging projects, and ensures the smooth progress of the project.
Smart Images

Figure CN120444550A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of dredging engineering, and in particular to a pipeline fault handling method, device, equipment and storage medium. Background Art
[0002] Pipeline transport of slurry is a critical component of dredging operations. Dredging operations typically involve excavating underwater materials such as mud, rock, and transporting them as slurry to designated locations via pipelines. Currently, pipeline transport of slurry faces numerous challenges. For one thing, the composition of the slurry to be transported is complex and variable, with materials excavated from different construction areas exhibiting significant variations in particle size, hardness, and viscosity. This complexity makes it difficult to accurately assess the flow characteristics of the slurry within the pipeline. For example, when encountering highly viscous dredged materials, the slurry's fluidity deteriorates, easily leading to siltation and blockage within the pipeline. Furthermore, dredging operations operate in harsh environments, with pipelines potentially remaining underwater for extended periods, subject to tidal fluctuations, and subject to seawater corrosion. These environmental factors accelerate pipeline aging and damage, making them susceptible to leaks. To ensure the continued progress of dredging operations, pipeline fault monitoring is necessary, and prompt action is required to address any identified failures.
[0003] In the prior art, pipeline images are usually acquired through aerial photography, and the pipeline images are processed using image recognition technology to identify faults.
[0004] However, this method is less efficient in fault identification, making it difficult to handle faults in a timely manner and affecting the normal operation of dredging projects. Summary of the Invention
[0005] The present invention provides a pipeline fault handling method, device, equipment and storage medium to improve the efficiency of fault identification.
[0006] In a first aspect, an embodiment of the present invention provides a pipeline fault handling method, comprising:
[0007] Determining an average resistance loss between adjacent pressure sensors based on real-time pressures acquired by a plurality of pressure sensors disposed in the pipeline and distances between the pressure sensors;
[0008] When it is determined that the absolute difference between any one of the average resistance loss and the theoretical resistance loss is greater than a preset threshold, determining that a fault occurs between two adjacent target pressure sensors corresponding to the current average resistance loss;
[0009] Determining the fault type as pipeline leakage or pipeline blockage by comparing the current average resistance loss with an adjacent average resistance loss corresponding to the current average resistance loss;
[0010] When it is determined that the current average resistance loss meets the processing conditions corresponding to the fault type, the fault location is determined based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss.
[0011] The technical solution of an embodiment of the present invention provides a pipeline fault processing method, including: determining the average resistance loss between adjacent pressure sensors based on real-time pressures obtained by multiple pressure sensors arranged in the pipeline and the distance between each of the pressure sensors; when it is determined that the absolute difference between any of the average resistance loss and the theoretical resistance loss is greater than a preset threshold, determining that a fault has occurred between two adjacent target pressure sensors corresponding to the current average resistance loss; by comparing the current average resistance loss with the adjacent average resistance loss corresponding to the current average resistance loss, determining the fault type as pipeline leakage or pipeline blockage; when it is determined that the current average resistance loss meets the processing condition corresponding to the fault type, determining the fault location according to the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss. The above technical solution, in the process of transporting slurry through the pipeline, obtains the real-time pressure of the position of each sensor through multiple pressure sensors set in the pipeline, and determines the average resistance loss between adjacent pressure sensors through the pressure difference of the real-time pressures obtained by adjacent pressure sensors and the distance between adjacent pressure sensors, thereby realizing real-time monitoring of the average pressure loss between adjacent pressure sensors in the pipeline, and can compare the absolute difference between each average resistance loss and the theoretical resistance loss with the size of the preset threshold. If the absolute difference is greater than the preset threshold, it is determined that a fault occurs between the two adjacent target pressure sensors corresponding to the average resistance loss corresponding to the absolute difference, thereby realizing the preliminary positioning of the pipeline fault and improving the efficiency of fault positioning. Then, by comparing the current average resistance loss The size of the loss and the adjacent average resistance loss corresponding to the current average resistance loss is used to determine the fault type as pipeline leakage or pipeline blockage, so as to achieve rapid determination of the fault type. During the continuous monitoring of the current average resistance loss, if the current average resistance loss meets the processing conditions corresponding to the fault type, the fault position is determined according to the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss, so as to achieve accurate fault positioning and improve the accuracy of fault positioning, so as to provide pipeline maintenance personnel with accurate pipeline fault positions, improve the maintenance efficiency of pipeline faults, thereby reducing dredging downtime caused by faults and ensuring the smooth progress of dredging projects.
[0012] Furthermore, determining the average resistance loss between adjacent pressure sensors based on the real-time pressures acquired by a plurality of pressure sensors disposed in the pipeline and the distances between the pressure sensors includes:
[0013] Calculating the pressure difference between adjacent pressure sensors based on the real-time pressures obtained by the pressure sensors;
[0014] Determine the pressure difference per unit length between adjacent pressure sensors based on the pressure difference and distance between adjacent pressure sensors;
[0015] The pressure difference per unit length between adjacent pressure sensors is determined as the average resistance loss between adjacent pressure sensors.
[0016] Furthermore, it also includes:
[0017] The theoretical resistance loss in the pipeline is calculated according to the flow rate, relative viscosity and density of the slurry in the pipeline and the diameter of the pipeline.
[0018] Furthermore, after determining the average resistance loss between adjacent pressure sensors based on the real-time pressures acquired by the plurality of pressure sensors disposed in the pipeline and the distances between the pressure sensors, the method further includes:
[0019] The absolute difference between each of the average drag losses and the theoretical drag loss is calculated.
[0020] Furthermore, determining the fault type as pipeline leakage or pipeline blockage by comparing the current average resistance loss with an adjacent average resistance loss corresponding to the current average resistance loss includes:
[0021] If the adjacent average resistance losses corresponding to the current average resistance loss are consistent and the current average resistance loss is greater than the adjacent average resistance loss, determining that the fault type is pipeline blockage;
[0022] If the adjacent average resistance losses corresponding to the current average resistance loss are inconsistent and the first adjacent average resistance loss is greater than the second adjacent average resistance loss, the fault type is determined to be pipeline leakage.
[0023] Furthermore, when the fault type is pipeline leakage, the processing condition is: the current average resistance loss is less than the resistance loss corresponding to the leakage threshold; when the fault type is pipeline blockage, the processing condition is: the blockage degree determined by the pipeline equivalent diameter corresponding to the current average resistance and the pipeline diameter is greater than the preset degree threshold.
[0024] Furthermore, determining the fault location according to the distance information between two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss includes:
[0025] determining a velocity of a pressure wave when a failure occurs in the pipeline according to first attribute information of the fluid in the pipeline and second attribute information of the pipeline;
[0026] Substitute the speed of the pressure wave, the distance information, and the time difference into the fault location determination formula to obtain the fault location, wherein the fault location determination formula is: x represents the distance between the fault point and the first adjacent target pressure sensor among the two adjacent target pressure sensors, L represents the distance information, c represents the speed of the pressure wave, and Δt represents the time difference.
[0027] In a second aspect, an embodiment of the present invention further provides a pipeline fault handling device, comprising:
[0028] a resistance determination module, configured to determine an average resistance loss between adjacent pressure sensors based on real-time pressures acquired by a plurality of pressure sensors disposed in the pipeline and distances between the pressure sensors;
[0029] a fault determination module, configured to determine that a fault occurs between two adjacent target pressure sensors corresponding to the current average resistance loss when it is determined that the absolute difference between any of the average resistance loss and the theoretical resistance loss is greater than a preset threshold;
[0030] a comparison module, configured to determine whether the fault type is pipeline leakage or pipeline blockage by comparing the current average resistance loss with an adjacent average resistance loss corresponding to the current average resistance loss;
[0031] An execution module is used to determine the fault location based on the distance information between two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss when it is determined that the current average resistance loss meets the processing conditions corresponding to the fault type.
[0032] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising:
[0033] at least one processor; and a memory communicatively coupled to the at least one processor;
[0034] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the pipeline fault handling method as described in any one of the first aspects.
[0035] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a computer processor, are used to execute the pipeline fault handling method as described in any one of the first aspects.
[0036] In a fifth aspect, the present application provides a computer program product, which includes computer instructions. When the computer instructions are executed on a computer, the computer executes the pipeline fault handling method provided in the first aspect.
[0037] It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the pipeline fault handling device, or may be packaged separately from the processor of the pipeline fault handling device, and this application does not limit this.
[0038] The descriptions of the second, third, fourth and fifth aspects of this application can refer to the detailed description of the first aspect; and the beneficial effects of the descriptions of the second, third, fourth and fifth aspects can refer to the analysis of the beneficial effects of the first aspect, which will not be repeated here.
[0039] In this application, the name of the pipeline fault handling device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they are within the scope of the claims of this application and their equivalents.
[0040] These and other aspects of the present application will become more readily apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0042] Figure 1 A flow chart of a pipeline fault handling method provided by an embodiment of the present invention;
[0043] Figure 2aand Figure 2b A schematic diagram of a pipeline fragment provided by an embodiment of the present invention;
[0044] Figure 3a 、 Figure 3b and Figure 3c A schematic diagram of a pressure sensor provided by an embodiment of the present invention;
[0045] Figure 4 A flowchart of another pipeline fault handling method provided by an embodiment of the present invention;
[0046] Figure 5 A schematic structural diagram of a pipeline fault handling device provided by an embodiment of the present invention;
[0047] Figure 6 A schematic structural diagram of an electronic device provided by an embodiment of the present invention.
[0048] Figure numbers: 1-1, 1-2-solar panel, 1-3-distribution box, 1-4-distribution box bracket, 1-5-power supply, 1-6-collector, 1-7-wireless module, 1-8-data transmission line. DETAILED DESCRIPTION
[0049] The present invention will be further described in detail below with reference to the accompanying drawings and examples. It will be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present invention, not all structures.
[0050] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0051] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.
[0052] Furthermore, the terms "including," "having," and any variations thereof, as used in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.
[0053] It should be mentioned before discussing exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although flow charts describe various operations (or steps) as sequential processes, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of various operations can be rearranged. When its operation is completed, the process can be terminated, but can also have additional steps not included in the accompanying drawings. The process can correspond to methods, functions, procedures, subroutines, subprograms, etc. In addition, the features in the embodiments of the present invention and the embodiments can be combined with each other without conflict.
[0054] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being more preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0055] In the description of the present application, unless otherwise specified, “plurality” means two or more.
[0056] Figure 1 This is a flow chart of a pipeline fault handling method provided by an embodiment of the present invention. This embodiment is applicable to situations where the efficiency of pipeline fault handling needs to be improved. The method can be executed by a pipeline fault handling device, such as Figure 1 As shown, the specific steps include:
[0057] Step 110 : Determine an average resistance loss between adjacent pressure sensors based on real-time pressures acquired by a plurality of pressure sensors disposed in the pipeline and distances between the pressure sensors.
[0058] Among them, the pipeline can be a transmission pipeline used for dredging projects. When the pipeline operates normally, the average resistance loss in the pipeline remains stable. When the pipeline is blocked or leaks, the average resistance loss of the blocked section or leaking section and the adjacent sections will change significantly. Therefore, the pipeline fault can be judged based on the average resistance loss in the pipeline.
[0059] The average resistance loss can be understood as the resistance loss per unit length, and the resistance loss can be understood as the pressure difference. Therefore, multiple pressure sensors can be set at intervals in the pipeline, and the real-time pressure at their locations can be obtained through the pressure sensors. The average resistance loss between the pressure sensors can be determined based on the pressure difference and distance between the pressure sensors.
[0060] In this application, multiple pressure sensors are installed at intervals in the pipeline. The number of pressure sensors in the pipeline can be determined according to the accuracy required by the actual project. Figure 2a and Figure 2b FIG2 is a schematic diagram of a pipeline fragment provided in an embodiment of the present invention, in which a pressure sensor is provided in the pipeline. Figure 3a 、 Figure 3b and Figure 3c A schematic diagram of a pressure sensor provided by an embodiment of the present invention is shown in FIG. Figure 3a 、 Figure 3b and Figure 3c As shown, the pressure sensor includes a solar panel, a distribution box, a distribution box bracket, a power supply, a collector, a wireless module and a data transmission line.
[0061] Specifically, each pressure sensor installed in the pipeline can obtain the real-time pressure at its location in real time. Furthermore, each pressure sensor is equipped with a wireless transmission module. Therefore, the real-time pressure at the location of each pressure sensor can be obtained based on each pressure sensor. The distance between the pressure sensors is determined when the pressure sensors are installed in the pipeline and stored on the server. Therefore, the pressure differential between two adjacent pressure sensors can be determined based on the real-time pressure obtained by each pressure sensor installed in the pipeline. Furthermore, the average resistance loss between the two adjacent pressure sensors can be determined based on the pressure differential between the two adjacent pressure sensors and the distance between the two adjacent pressure sensors.
[0062] In an embodiment of the present invention, the average resistance loss between adjacent pressure sensors is determined by determining the pressure difference between adjacent pressure sensors and the distance between adjacent pressure sensors based on the real-time pressure obtained by multiple pressure sensors installed in the pipeline, thereby realizing real-time monitoring of the average resistance loss in the pipeline.
[0063] Step 120: When it is determined that the absolute difference between any of the average resistance loss and the theoretical resistance loss is greater than a preset threshold, it is determined that a fault occurs between two adjacent target pressure sensors corresponding to the current average resistance loss.
[0064] Specifically, the theoretical resistance loss can be understood as the resistance loss during normal slurry transportation in the pipeline, which is determined by the properties of the slurry in the pipeline and the properties of the pipeline. Since the average resistance loss of the blocked section or leaking section and the adjacent section will change significantly when the pipeline is blocked or leaking, after calculating the average resistance loss between adjacent pressure sensors, the absolute difference between each average resistance loss and the theoretical resistance loss can be determined, and then the size of each absolute difference can be compared with the preset threshold. If the current absolute difference is greater than the preset threshold, it indicates that the current average resistance loss corresponding to the current absolute difference has changed significantly compared to the theoretical resistance loss, and it can be known that a fault has occurred between the adjacent pressure sensors corresponding to the current average resistance loss.
[0065] It should be noted that the specific value of the preset threshold can be set according to actual engineering requirements and is not specifically limited here.
[0066] In an embodiment of the present invention, while monitoring the average resistance loss between adjacent pressure sensors in real time, by comparing the absolute difference between the average resistance loss and the theoretical resistance loss with a preset threshold, it is determined that a fault has occurred between two adjacent target pressure sensors corresponding to the average resistance loss whose absolute difference is greater than the preset threshold, thereby achieving preliminary positioning of the pipeline fault.
[0067] Step 130 : Determine whether the fault type is pipeline leakage or pipeline blockage by comparing the current average resistance loss with an adjacent average resistance loss corresponding to the current average resistance loss.
[0068] When the pipeline is blocked, the pressure at the ship end of the vessel transporting the slurry into the pipeline increases sharply, the slurry flow rate decreases, and the slurry flow rate in the pipeline also decreases. Therefore, the γ m The abnormally large U at the non-blocked point means the average resistance loss increases, while the abnormally small U at the non-blocked point means the average resistance loss decreases.
[0069] When a pipeline leaks, the slurry flow rate at the ship end transporting the slurry into the pipeline increases, while the slurry flow rate after the leakage point decreases. Therefore, U before the leakage point is abnormally large, and the average resistance loss increases, while U after the leakage point is abnormally small, and the average resistance loss decreases.
[0070] Specifically, the above analysis shows that after determining that a fault occurs between two adjacent target pressure sensors corresponding to the current average resistance loss, the current average resistance loss can be further compared with the adjacent average resistance losses corresponding to the current average resistance loss. If the two adjacent average resistance losses corresponding to the current average resistance loss are consistent, and the current average resistance loss is greater than the two adjacent average resistance losses corresponding to the current average resistance loss, the fault type is determined to be pipeline blockage; if the two adjacent average resistance losses corresponding to the current average resistance loss are inconsistent, and the current average resistance loss is greater than the adjacent average resistance loss close to the ship end corresponding to the current average resistance loss, the fault type is determined to be pipeline leakage.
[0071] In an embodiment of the present invention, after the preliminary positioning of the pipeline fault is achieved, the fault type is determined to be pipeline leakage or pipeline blockage by comparing the current average resistance loss with the adjacent average resistance loss corresponding to the current average resistance loss, thereby achieving rapid determination of the fault type.
[0072] Step 140: When it is determined that the current average resistance loss meets the processing conditions corresponding to the fault type, the fault location is determined based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss.
[0073] When the fault type is pipeline blockage, the flow cross-section of the pipeline will be reduced, the equivalent diameter will be reduced, and the slurry conveying efficiency will be affected. If the degree of pipe blockage exceeds the preset first preset value, pipeline maintenance is required. Therefore, the processing condition corresponding to the pipeline blockage can be set to the degree of pipe blockage exceeding the first preset value. When the fault type is pipeline leakage, the slurry flow rate in the pipeline will be reduced, the flow rate will be reduced, and the resistance loss will be reduced, thereby affecting the slurry conveying efficiency. If the average resistance loss is less than the resistance loss corresponding to the leakage threshold, pipeline maintenance is required. Therefore, the processing condition corresponding to the pipeline leakage can be set to the average resistance loss is less than the resistance loss corresponding to the leakage threshold.
[0074] After determining the fault type, if the processing conditions corresponding to the fault type are met, it indicates that the fault needs to be handled in a timely manner. Therefore, accurate fault location is required to handle the pipeline fault in a timely manner. If the processing conditions corresponding to the fault type are not met, it indicates that there is no need to handle the fault temporarily. Therefore, there is no need to accurately locate the fault.
[0075] Specifically, if the fault type is a pipeline leak, the current average resistance loss can be compared with the resistance loss corresponding to the leakage threshold. If the current average resistance loss is less than the resistance loss corresponding to the leakage threshold, precise fault location is required. If the fault type is a pipeline blockage, the equivalent diameter can be calculated based on the current average resistance loss, and the degree of blockage can be calculated based on the equivalent diameter and the pipeline diameter. If the degree of blockage is greater than a first preset value, precise fault location is required.
[0076] When a pipeline is clogged or leaks due to slurry, the continuous nature of the slurry causes a sudden pressure difference to generate a pressure wave, which propagates from the point of blockage or leakage toward both ends. Pressure waves propagate at a specific speed within the pipeline, allowing the fault location to be determined using pressure wave localization. This method calculates the time difference between the pressure waves acquired by the pressure sensors at both ends and then performs a wavelet transform to locate the fault.
[0077] Specifically, after determining that the fault needs to be accurately located, the fault location can be determined based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss.
[0078] In an embodiment of the present invention, after determining the fault type, if the current average resistance loss meets the processing conditions corresponding to the fault type, the fault location is determined based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss, thereby achieving precise fault positioning.
[0079] A pipeline fault handling method provided by an embodiment of the present invention includes: determining the average resistance loss between adjacent pressure sensors based on real-time pressures obtained by multiple pressure sensors arranged in the pipeline and the distance between each of the pressure sensors; when it is determined that the absolute difference between any of the average resistance losses and the theoretical resistance loss is greater than a preset threshold, determining that a fault has occurred between two adjacent target pressure sensors corresponding to the current average resistance loss; determining the fault type as pipeline leakage or pipeline blockage by comparing the current average resistance loss with the adjacent average resistance loss corresponding to the current average resistance loss; when it is determined that the current average resistance loss meets the processing conditions corresponding to the fault type, determining the fault location based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss. The above technical solution, in the process of transporting slurry through the pipeline, obtains the real-time pressure of the position of each sensor through multiple pressure sensors set in the pipeline, and determines the average resistance loss between adjacent pressure sensors through the pressure difference of the real-time pressures obtained by adjacent pressure sensors and the distance between adjacent pressure sensors, thereby realizing real-time monitoring of the average pressure loss between adjacent pressure sensors in the pipeline, and can compare the absolute difference between each average resistance loss and the theoretical resistance loss with the size of the preset threshold. If the absolute difference is greater than the preset threshold, it is determined that a fault occurs between the two adjacent target pressure sensors corresponding to the average resistance loss corresponding to the absolute difference, thereby realizing the preliminary positioning of the pipeline fault and improving the efficiency of fault positioning. Then, by comparing the current average resistance loss The size of the loss and the adjacent average resistance loss corresponding to the current average resistance loss is used to determine the fault type as pipeline leakage or pipeline blockage, so as to achieve rapid determination of the fault type. During the continuous monitoring of the current average resistance loss, if the current average resistance loss meets the processing conditions corresponding to the fault type, the fault position is determined according to the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss, so as to achieve accurate fault positioning and improve the accuracy of fault positioning, so as to provide pipeline maintenance personnel with accurate pipeline fault positions, improve the maintenance efficiency of pipeline faults, thereby reducing dredging downtime caused by faults and ensuring the smooth progress of dredging projects.
[0080] Figure 4 This is a flow chart of another pipeline fault handling method provided by an embodiment of the present invention. This embodiment is specific based on the above embodiment. Figure 4 As shown, in this embodiment, the method may further include:
[0081] Step 410: Determine the average resistance loss between adjacent pressure sensors based on the real-time pressures acquired by the plurality of pressure sensors disposed in the pipeline and the distances between the pressure sensors.
[0082] In one implementation, step 410 may specifically include:
[0083] The pressure difference between adjacent pressure sensors is calculated based on the real-time pressures obtained by each pressure sensor; the pressure difference per unit length between adjacent pressure sensors is determined based on the pressure difference and distance between adjacent pressure sensors; and the pressure difference per unit length between adjacent pressure sensors is determined as the average resistance loss between the adjacent pressure sensors.
[0084] Specifically, based on the real-time pressure of each pressure sensor arranged in the pipeline, the pressure difference between adjacent pressure sensors is calculated according to the real-time pressure obtained by the adjacent pressure sensors, and then the pressure difference per unit length between adjacent pressure sensors is determined according to the pressure difference and distance between adjacent pressure sensors. That is, the ratio of the pressure difference and distance between adjacent pressure sensors can be determined as the pressure difference per unit length between adjacent pressure sensors, and then the pressure difference per unit length between adjacent pressure sensors can be determined as the average resistance loss between adjacent pressure sensors.
[0085] In an embodiment of the present invention, the average resistance loss between adjacent pressure sensors is determined by determining the pressure difference between adjacent pressure sensors and the distance between adjacent pressure sensors based on the real-time pressure obtained by multiple pressure sensors installed in the pipeline, thereby achieving accurate calculation and real-time monitoring of the average resistance loss in the pipeline.
[0086] Step 420: Calculate the theoretical resistance loss in the pipeline according to the flow rate, relative viscosity and density of the slurry in the pipeline and the pipeline diameter.
[0087] Specifically, the theoretical resistance loss can be determined based on the liquid phase resistance coefficient, drag reduction coefficient, pipe diameter, slurry flow rate, slurry weight and water density. The drag reduction coefficient is a function of the relative viscosity of the slurry. Therefore, the drag reduction coefficient can be first determined based on the relative viscosity of the slurry, and then the liquid phase resistance coefficient, drag reduction coefficient, pipe diameter, slurry flow rate and weight, and water density are substituted into Formula 1 to determine the theoretical resistance loss.
[0088]
[0089] Among them, i m represents the theoretical resistance loss, f0 represents the liquid phase resistance coefficient, D represents the pipe diameter, U represents the slurry flow rate, and α represents the drag reduction coefficient (α is the relative viscosity of the slurry μ r function), γ m Indicates the slurry weight, γm =ρ m g, γ represents the water density, γ = ρg.
[0090] In the embodiment of the present invention, the accurate theoretical resistance loss in the pipeline is determined by substituting the relevant properties of the slurry in the pipeline and the relevant properties of the pipeline into Formula 1.
[0091] Step 430: Calculate the absolute difference between each of the average resistance losses and the theoretical resistance loss.
[0092] Step 440: When it is determined that the absolute difference between any of the average resistance loss and the theoretical resistance loss is greater than a preset threshold, it is determined that a fault occurs between two adjacent target pressure sensors corresponding to the current average resistance loss.
[0093] Specifically, the absolute difference between each average resistance loss and the theoretical resistance loss is calculated, and the size of each absolute difference is compared with the preset threshold. If the current absolute difference is greater than the preset threshold, it indicates that the current average resistance loss corresponding to the current absolute difference has changed significantly compared with the theoretical resistance loss. It can be known that a fault has occurred between the adjacent pressure sensors corresponding to the current average resistance loss.
[0094] It should be noted that the specific value of the preset threshold can be set according to actual engineering requirements and is not specifically limited here.
[0095] In an embodiment of the present invention, while monitoring the average resistance loss between adjacent pressure sensors in real time, by comparing the absolute difference between the average resistance loss and the theoretical resistance loss with a preset threshold, it is determined that a fault has occurred between two adjacent target pressure sensors corresponding to the average resistance loss whose absolute difference is greater than the preset threshold, thereby achieving preliminary positioning of the pipeline fault.
[0096] Step 450: Determine whether the fault type is pipeline leakage or pipeline blockage by comparing the current average resistance loss with an adjacent average resistance loss corresponding to the current average resistance loss.
[0097] In one implementation, step 450 may specifically include:
[0098] If the adjacent average resistance losses corresponding to the current average resistance loss are consistent and the current average resistance loss is greater than the adjacent average resistance loss, the fault type is determined to be pipeline blockage; if the adjacent average resistance losses corresponding to the current average resistance loss are inconsistent and the first adjacent average resistance loss is greater than the second adjacent average resistance loss, the fault type is determined to be pipeline leakage.
[0099] Specifically, if the two adjacent average resistance losses corresponding to the current average resistance loss are consistent, and the current average resistance loss is greater than the two adjacent average resistance losses corresponding to the current average resistance loss, the fault type is determined to be pipeline blockage; if the two adjacent average resistance losses corresponding to the current average resistance loss are inconsistent, and the current average resistance loss is greater than the adjacent average resistance loss close to the ship end corresponding to the current average resistance loss, the fault type is determined to be pipeline leakage.
[0100] For example, for pressure sensor 1, pressure sensor 2, pressure sensor 3, and pressure sensor 4, which are arranged in sequence, if i 23 >i 12 And i 12 =i 34 , it is determined that the pipeline is blocked between pressure sensor 2 and pressure sensor 3, that is, the blockage point is between pressure sensor 2 and pressure sensor 3; if i 12 ≠i 23 And i 12 >i 23 , it is determined that the pipeline leaks between pressure sensor 2 and pressure sensor 3, that is, the leak point is between pressure sensor 2 and pressure sensor 3.
[0101] In addition, if the absolute difference between the current average resistance loss and the theoretical resistance loss is greater than the difference threshold and the absolute difference between the adjacent average resistance loss corresponding to the current average resistance loss and the theoretical resistance loss is not greater than the difference threshold, the fault type is determined to be pipeline blockage.
[0102] For example, for pressure sensor 1, pressure sensor 2, pressure sensor 3, and pressure sensor 4, which are arranged in sequence, if |i 23 -i m |>q、|i 12 -i m |≤q and |i 34 -i m |≤q, it is determined that the pipeline is blocked between pressure sensor 2 and pressure sensor 3, that is, the blockage point is between pressure sensor 2 and pressure sensor 3.
[0103] It should be noted that the specific value of the difference threshold can be set according to actual engineering requirements and is not specifically limited here.
[0104] In an embodiment of the present invention, after the preliminary positioning of the pipeline fault is achieved, the fault type is determined to be pipeline leakage or pipeline blockage by comparing the current average resistance loss with the adjacent average resistance loss corresponding to the current average resistance loss, thereby achieving rapid determination of the fault type.
[0105] Step 460: When it is determined that the current average resistance loss meets the processing conditions corresponding to the fault type, the fault location is determined based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss.
[0106] Among them, when the fault type is pipeline leakage, the processing condition is: the current average resistance loss is less than the resistance loss corresponding to the leakage threshold; when the fault type is pipeline blockage, the processing condition is: the blockage degree determined by the pipeline equivalent diameter corresponding to the current average resistance and the pipeline diameter is greater than the preset degree threshold.
[0107] When the initial flow rate of the slurry in the pipeline is Q0 and the leakage volume is q, the flow rate in the pipeline after the leakage is Q′=Q0-q, and the slurry flow rate after the leakage is The resistance loss after leakage is The leakage threshold is set to q alarm When , it can be determined that the average resistance loss after leakage should be If the current average resistance loss is less than i′ m , it is determined that the current average resistance loss meets the corresponding treatment conditions for pipeline leakage.
[0108] When the pipeline is blocked, the equivalent diameter d of the pipeline will be smaller than the pipeline diameter D. The slurry flow rate after the pipeline is blocked will be Average resistance loss after pipeline blockage It can be determined It can be deduced that The degree of blockage can be determined If the pipe blockage degree is greater than the preset degree threshold, it is determined that the current average resistance loss meets the processing conditions corresponding to the pipe blockage.
[0109] In one implementation, step 460 may specifically include:
[0110] When it is determined that the current average resistance loss meets the processing condition corresponding to the fault type, the speed of the pressure wave when the pipeline fails is determined according to the first attribute information of the fluid in the pipeline and the second attribute information of the pipeline; the speed of the pressure wave, the distance information and the time difference are substituted into the fault location determination formula to obtain the fault location, wherein the fault location determination formula is: x represents the distance between the fault point and the first adjacent target pressure sensor among the two adjacent target pressure sensors, L represents the distance information, c represents the speed of the pressure wave, and Δt represents the time difference.
[0111] The first property information of the slurry includes bulk modulus and density, and the second property information of the pipe includes inner diameter of the pipe, wall thickness of the pipe, and elastic modulus of the pipe material.
[0112] The velocity of the pressure wave is mainly determined by the compressibility of the slurry and the elastic properties of the pipe, and can be calculated using Equation 2:
[0113]
[0114] Where K represents the bulk modulus of the slurry in the pipeline, ρ represents the density of the slurry in the pipeline, D represents the inner diameter of the pipeline, e represents the wall thickness of the pipeline, and E represents the elastic modulus of the pipeline material.
[0115] Determine the time it takes for the pressure wave to propagate from the fault point to pressure sensor A after a fault occurs between pressure sensor A and pressure sensor B. x represents the distance between the fault point and pressure sensor A, and the time it takes to propagate to pressure sensor B. L represents the distance between pressure sensor A and pressure sensor B, which can determine the time difference between the pressure wave propagating from the fault point to pressure sensor A and the time difference between the pressure wave propagating from the fault point to pressure sensor A and the pressure wave propagating to pressure sensor B. It can be determined
[0116] Since the time difference between the time the pressure wave propagates from the fault point to pressure sensor A and the time difference between the time the pressure wave propagates to pressure sensor B is the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss, this time difference can be determined by the server. Therefore, by substituting the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss into the formula The distance between the fault point and the pressure sensor A can be determined, thereby achieving the precise location of the fault point.
[0117] In an embodiment of the present invention, after the fault type is determined and the current average resistance loss meets the processing conditions corresponding to the fault type, the fault location is determined based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss, thereby achieving precise fault positioning.
[0118] For example, based on the actual working conditions of pipeline slurry transportation, γ m =0.015, U=1.2m / s, D=0.85m, ρ s =2650kg / m 3 , ρ ω =1025kg / m 3, when α = 0.32, substituting these values into formula 1 can determine the theoretical resistance loss i m =0.14Pa / m. Average resistance loss i between pressure sensor 3 and pressure sensor 4 34 It suddenly increased to 0.28Pa / m, exceeding the theoretical resistance loss by 50%. The actual pressure obtained by the pressure sensor in real time was detected to rise from 1.2MPa to 1.8MPa, and the slurry flow rate dropped from 2.5m / s to 1.2m / s. It can be determined that the transmission between pressure sensor 3 and pressure sensor 4 is blocked. Pressure sensor 3 records the pressure wave time t3 = 14:25:30.500, and pressure sensor 4 records the reflected wave time t4 = 14:25:30.836. The time difference Δt = 0.336s. Substituting K = 2.2Gpa, ρ = 1200kg / m3, and E = 200Gpa into formula 2 can determine the pressure wave velocity c. Then, the time difference Δt, the pressure wave velocity c, and the distance L between pressure sensor 3 and pressure sensor 4 can be substituted into the formula The distance between the fault point and the pressure sensor 3 can be determined, and it can be determined that the fault point is 215 meters downstream of the pressure sensor 3.
[0119] A pipeline fault handling method provided in an embodiment of the present invention includes: determining the average resistance loss between adjacent pressure sensors based on real-time pressures obtained by multiple pressure sensors arranged in the pipeline and the distance between each of the pressure sensors; calculating the theoretical resistance loss in the pipeline based on the flow rate, relative viscosity and density of the slurry in the pipeline and the pipeline diameter; calculating the absolute difference between each of the average resistance losses and the theoretical resistance loss; when it is determined that the absolute difference between any of the average resistance losses and the theoretical resistance loss is greater than a preset threshold, determining that a fault has occurred between two adjacent target pressure sensors corresponding to the current average resistance loss; by comparing the current average resistance loss with the adjacent average resistance loss corresponding to the current average resistance loss, determining the fault type as pipeline leakage or pipeline blockage; when it is determined that the current average resistance loss meets the processing condition corresponding to the fault type, determining the fault location based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss. The above technical solution, in the process of transporting slurry through the pipeline, obtains the real-time pressure at the position of each sensor by means of multiple pressure sensors arranged in the pipeline, determines the average resistance loss between adjacent pressure sensors by means of the pressure difference of the real-time pressures obtained by adjacent pressure sensors and the distance between adjacent pressure sensors, thereby realizing real-time monitoring of the average pressure loss between adjacent pressure sensors in the pipeline, and determining the accurate theoretical resistance loss in the pipeline by substituting the relevant properties of the slurry in the pipeline and the relevant properties of the pipeline into the theoretical resistance loss calculation formula, and, in the case of real-time monitoring of the average resistance loss between adjacent pressure sensors, the absolute difference between each average resistance loss and the theoretical resistance loss can be calculated, and when it is determined that the absolute difference is greater than a preset threshold, the absolute difference is determined. A fault occurs between the two adjacent target pressure sensors corresponding to the average resistance loss corresponding to the value, thereby achieving preliminary positioning of the pipeline fault and improving the efficiency of fault positioning. Furthermore, by comparing the current average resistance loss with the adjacent average resistance loss corresponding to the current average resistance loss, the fault type can be determined to be pipeline leakage or pipeline blockage, thereby achieving rapid determination of the fault type. During the continuous monitoring of the current average resistance loss, if the current average resistance loss meets the processing conditions corresponding to the fault type, the fault position is determined according to the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss, thereby achieving accurate fault positioning and improving the accuracy of fault positioning.
[0120] Moreover, after the fault location is determined, the fault location can be sent as early warning information to the maintenance terminal of the pipeline maintenance personnel to prompt and notify the pipeline maintenance personnel of the pipeline fault, so as to provide the pipeline maintenance personnel with the precise pipeline fault location, improve the maintenance efficiency of the pipeline fault, and thus reduce the dredging downtime caused by the fault and ensure the smooth progress of the dredging project.
[0121] Figure 5 This is a schematic diagram of the structure of a pipeline fault handling device provided by an embodiment of the present invention. The device can be used in situations where the efficiency of pipeline fault handling needs to be improved. The device can be implemented through software and / or hardware and is generally integrated into a pipeline monitoring system.
[0122] like Figure 5 As shown, the device includes:
[0123] a resistance determination module 510 for determining an average resistance loss between adjacent pressure sensors based on real-time pressures acquired by a plurality of pressure sensors disposed in the pipeline and distances between the pressure sensors;
[0124] a fault determination module 520 for determining that a fault occurs between two adjacent target pressure sensors corresponding to the current average resistance loss when it is determined that the absolute difference between any of the average resistance loss and the theoretical resistance loss is greater than a preset threshold;
[0125] A comparison module 530 is configured to determine whether the fault type is pipeline leakage or pipeline blockage by comparing the current average resistance loss with an adjacent average resistance loss corresponding to the current average resistance loss;
[0126] The execution module 540 is used to determine the fault location based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss when it is determined that the current average resistance loss meets the processing conditions corresponding to the fault type.
[0127] The pipeline fault handling device provided in this embodiment determines the average resistance loss between adjacent pressure sensors based on the real-time pressure obtained by multiple pressure sensors arranged in the pipeline and the distance between each of the pressure sensors; when it is determined that the absolute difference between any of the average resistance loss and the theoretical resistance loss is greater than a preset threshold, it is determined that a fault has occurred between two adjacent target pressure sensors corresponding to the current average resistance loss; by comparing the current average resistance loss with the adjacent average resistance loss corresponding to the current average resistance loss, the fault type is determined to be pipeline leakage or pipeline blockage; when it is determined that the current average resistance loss meets the processing condition corresponding to the fault type, the fault location is determined based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss. The above technical solution, in the process of transporting slurry through the pipeline, obtains the real-time pressure of the position of each sensor through multiple pressure sensors set in the pipeline, and determines the average resistance loss between adjacent pressure sensors through the pressure difference of the real-time pressures obtained by adjacent pressure sensors and the distance between adjacent pressure sensors, thereby realizing real-time monitoring of the average pressure loss between adjacent pressure sensors in the pipeline, and can compare the absolute difference between each average resistance loss and the theoretical resistance loss with the size of the preset threshold. If the absolute difference is greater than the preset threshold, it is determined that a fault occurs between the two adjacent target pressure sensors corresponding to the average resistance loss corresponding to the absolute difference, thereby realizing the preliminary positioning of the pipeline fault and improving the efficiency of fault positioning. Then, by comparing the current average resistance loss The size of the loss and the adjacent average resistance loss corresponding to the current average resistance loss is used to determine the fault type as pipeline leakage or pipeline blockage, so as to achieve rapid determination of the fault type. During the continuous monitoring of the current average resistance loss, if the current average resistance loss meets the processing conditions corresponding to the fault type, the fault position is determined according to the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss, so as to achieve accurate fault positioning and improve the accuracy of fault positioning, so as to provide pipeline maintenance personnel with accurate pipeline fault positions, improve the maintenance efficiency of pipeline faults, thereby reducing dredging downtime caused by faults and ensuring the smooth progress of dredging projects.
[0128] Based on the above embodiment, the resistance determination module 510 is specifically configured to:
[0129] The pressure difference between adjacent pressure sensors is calculated based on the real-time pressures obtained by each pressure sensor; the pressure difference per unit length between adjacent pressure sensors is determined based on the pressure difference and distance between adjacent pressure sensors; and the pressure difference per unit length between adjacent pressure sensors is determined as the average resistance loss between the adjacent pressure sensors.
[0130] Based on the above embodiment, the device further includes:
[0131] A calculation module is used to calculate the theoretical resistance loss in the pipeline according to the flow rate, relative viscosity and density of the slurry in the pipeline and the pipeline diameter; and calculate the absolute difference between each average resistance loss and the theoretical resistance loss.
[0132] Based on the above embodiment, the comparison module 530 is specifically configured to:
[0133] If the adjacent average resistance losses corresponding to the current average resistance loss are consistent and the current average resistance loss is greater than the adjacent average resistance loss, the fault type is determined to be pipeline blockage; if the adjacent average resistance losses corresponding to the current average resistance loss are inconsistent and the first adjacent average resistance loss is greater than the second adjacent average resistance loss, the fault type is determined to be pipeline leakage.
[0134] In one embodiment, when the fault type is pipeline leakage, the processing condition is: the current average resistance loss is less than the resistance loss corresponding to the leakage threshold; when the fault type is pipeline blockage, the processing condition is: the blockage degree determined by the pipeline equivalent diameter corresponding to the current average resistance and the pipeline diameter is greater than a preset degree threshold.
[0135] Based on the above embodiment, the execution module 540 is specifically configured to:
[0136] Determine the speed of the pressure wave when the pipeline fails based on the first attribute information of the fluid in the pipeline and the second attribute information of the pipeline; substitute the speed of the pressure wave, the distance information and the time difference into the fault location determination formula to obtain the fault location, wherein the fault location determination formula is: x represents the distance between the fault point and the first adjacent target pressure sensor among the two adjacent target pressure sensors, L represents the distance information, c represents the speed of the pressure wave, and Δt represents the time difference.
[0137] The pipeline fault handling device provided in the embodiment of the present invention can execute the pipeline fault handling method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the pipeline fault handling method.
[0138] It is worth noting that in the embodiment of the above-mentioned pipeline fault handling device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0139] Figure 6 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. Figure 6 A block diagram of an exemplary electronic device 6 suitable for implementing embodiments of the present invention is shown. Figure 6 The electronic device 6 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0140] like Figure 6 As shown, electronic device 6 is in the form of a general purpose computing electronic device. Components of electronic device 6 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 connecting various system components (including system memory 28 and processing unit 16).
[0141] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0142] The electronic device 6 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 6, including volatile and non-volatile media, removable and non-removable media.
[0143] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 6 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be configured to read and write non-removable, non-volatile magnetic media ( Figure 6 Not shown, often called a "hard drive"). Although Figure 6Not shown, a magnetic disk drive for reading and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
[0144] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0145] The electronic device 6 may also communicate with one or more external devices 14 (e.g., a keyboard, a pointing device, a display 24, etc.), one or more devices that enable a user to interact with the electronic device 6, and / or any device that enables the electronic device 6 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the electronic device 6 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. Figure 6 As shown, the network adapter 20 communicates with other modules of the electronic device 6 via the bus 18. Figure 6 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 6, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0146] The processing unit 16 executes various functional applications and page displays by running programs stored in the system memory 28, for example, implementing the pipeline fault handling method provided in an embodiment of the present invention, which includes:
[0147] Determining an average resistance loss between adjacent pressure sensors based on real-time pressures acquired by a plurality of pressure sensors disposed in the pipeline and distances between the pressure sensors;
[0148] When it is determined that the absolute difference between any one of the average resistance loss and the theoretical resistance loss is greater than a preset threshold, determining that a fault occurs between two adjacent target pressure sensors corresponding to the current average resistance loss;
[0149] Determining the fault type as pipeline leakage or pipeline blockage by comparing the current average resistance loss with an adjacent average resistance loss corresponding to the current average resistance loss;
[0150] When it is determined that the current average resistance loss meets the processing conditions corresponding to the fault type, the fault location is determined based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss.
[0151] Of course, those skilled in the art will appreciate that the processor may also implement the technical solution of the pipeline fault handling method provided by any embodiment of the present invention.
[0152] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for handling a pipeline fault provided in an embodiment of the present invention is implemented. The method includes:
[0153] Determining an average resistance loss between adjacent pressure sensors based on real-time pressures acquired by a plurality of pressure sensors disposed in the pipeline and distances between the pressure sensors;
[0154] When it is determined that the absolute difference between any one of the average resistance loss and the theoretical resistance loss is greater than a preset threshold, determining that a fault occurs between two adjacent target pressure sensors corresponding to the current average resistance loss;
[0155] Determining the fault type as pipeline leakage or pipeline blockage by comparing the current average resistance loss with an adjacent average resistance loss corresponding to the current average resistance loss;
[0156] When it is determined that the current average resistance loss meets the processing conditions corresponding to the fault type, the fault location is determined based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss.
[0157] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.
[0158] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0159] Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0160] Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0161] Those skilled in the art will appreciate that the modules or steps of the present invention described above can be implemented using a general-purpose computing device. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computer device, which can then be stored in a storage device and executed by the computing device. Alternatively, they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
[0162] In addition, the acquisition, storage, use, and processing of data in the technical solution of the present invention comply with the relevant provisions of national laws and regulations.
[0163] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments, and substitutions are possible for those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present invention. The scope of the present invention is determined by the scope of the appended claims.
Claims
1. A pipeline fault handling method, characterized in that: include: Determining an average resistance loss between adjacent pressure sensors based on real-time pressures acquired by a plurality of pressure sensors disposed in the pipeline and distances between the pressure sensors; When it is determined that the absolute difference between any one of the average resistance loss and the theoretical resistance loss is greater than a preset threshold, determining that a fault occurs between two adjacent target pressure sensors corresponding to the current average resistance loss; Determining the fault type as pipeline leakage or pipeline blockage by comparing the current average resistance loss with an adjacent average resistance loss corresponding to the current average resistance loss; When it is determined that the current average resistance loss meets the processing conditions corresponding to the fault type, the fault location is determined based on the distance information between the two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss.
2. The pipeline fault handling method according to claim 1, characterized in that: Determining an average resistance loss between adjacent pressure sensors based on real-time pressures acquired by a plurality of pressure sensors disposed in a pipeline and distances between the pressure sensors includes: Calculating the pressure difference between adjacent pressure sensors based on the real-time pressures obtained by the pressure sensors; Determine the pressure difference per unit length between adjacent pressure sensors based on the pressure difference and distance between adjacent pressure sensors; The pressure difference per unit length between adjacent pressure sensors is determined as the average resistance loss between adjacent pressure sensors.
3. The pipeline fault handling method according to claim 1, characterized in that: Also includes: The theoretical resistance loss in the pipeline is calculated according to the flow rate, relative viscosity and density of the slurry in the pipeline and the diameter of the pipeline.
4. The pipeline fault handling method according to claim 3, characterized in that: After determining the average resistance loss between adjacent pressure sensors based on the real-time pressures acquired by the plurality of pressure sensors disposed in the pipeline and the distances between the pressure sensors, the method further includes: The absolute difference between each of the average drag losses and the theoretical drag loss is calculated.
5. The pipeline fault handling method according to claim 4, characterized in that: Determining the fault type as pipeline leakage or pipeline blockage by comparing the current average resistance loss with an adjacent average resistance loss corresponding to the current average resistance loss includes: If the adjacent average resistance losses corresponding to the current average resistance loss are consistent and the current average resistance loss is greater than the adjacent average resistance loss, determining that the fault type is pipeline blockage; If the adjacent average resistance losses corresponding to the current average resistance loss are inconsistent and the first adjacent average resistance loss is greater than the second adjacent average resistance loss, the fault type is determined to be pipeline leakage.
6. The pipeline fault handling method according to claim 3, characterized in that: When the fault type is pipeline leakage, the processing condition is: the current average resistance loss is less than the resistance loss corresponding to the leakage threshold; when the fault type is pipeline blockage, the processing condition is: the blockage degree determined by the pipeline equivalent diameter corresponding to the current average resistance and the pipeline diameter is greater than the preset degree threshold.
7. The pipeline fault handling method according to claim 1, characterized in that: Determining the fault location according to distance information between two adjacent target pressure sensors corresponding to the current average resistance loss and a time difference between the two adjacent target pressure sensors acquiring the real-time pressure corresponding to the current average resistance loss includes: determining a velocity of a pressure wave when a failure occurs in the pipeline according to first attribute information of the fluid in the pipeline and second attribute information of the pipeline; Substitute the speed of the pressure wave, the distance information, and the time difference into the fault location determination formula to obtain the fault location, wherein the fault location determination formula is: x represents the distance between the fault point and the first adjacent target pressure sensor among the two adjacent target pressure sensors, L represents the distance information, c represents the speed of the pressure wave, and Δt represents the time difference.
8. A pipeline fault handling device, characterized in that: include: a resistance determination module, configured to determine an average resistance loss between adjacent pressure sensors based on real-time pressures acquired by a plurality of pressure sensors disposed in the pipeline and distances between the pressure sensors; a fault determination module, configured to determine that a fault occurs between two adjacent target pressure sensors corresponding to the current average resistance loss when it is determined that the absolute difference between any of the average resistance loss and the theoretical resistance loss is greater than a preset threshold; a comparison module, configured to determine whether the fault type is pipeline leakage or pipeline blockage by comparing the current average resistance loss with an adjacent average resistance loss corresponding to the current average resistance loss; An execution module is used to determine the fault location based on the distance information between two adjacent target pressure sensors corresponding to the current average resistance loss and the time difference between the two adjacent target pressure sensors obtaining the real-time pressure corresponding to the current average resistance loss when it is determined that the current average resistance loss meets the processing conditions corresponding to the fault type.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the pipeline fault handling method according to any one of claims 1 to 7.
10. A storage medium containing computer-executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to execute the pipeline fault handling method according to any one of claims 1 to 7.