Method and system for detecting corrosion in long-distance pipeline
By building a multi-level corrosion evaluation system, combining subjective and objective weights and membership matrix, the timeliness and accuracy of corrosion detection in long-distance pipelines is solved, and the clearness of corrosion levels and cleaning time is realized, which reduces safety risk.
Patent Information
- Application Number
- CN202411977496.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-02-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology is difficult to detect internal corrosion of long-distance pipelines in a timely and accurate manner, making it difficult to analyze cleaning opportunities, increasing the possibility of safety risks and resource waste.
Build a multi-level corrosion evaluation system, including first-level, second-level and third-level evaluation factors, combined with subjective and objective weights, and determine the level of internal corrosion of long-term transportation pipelines through the membership matrix and scoring system.
A more comprehensive inspection of the internal corrosion conditions of long-distance pipelines has been achieved, the corrosion level is clarified, the cleaning time is analyzed, and safety problems caused by internal corrosion have been reduced.
Smart Images

Figure CN119400271A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of long-distance pipeline corrosion evaluation, and in particular to a method and system for detecting corrosion in a long-distance pipeline. Background Art
[0002] Since the media transported by long-distance pipelines are often corrosive (for example, the media transported contain corrosive substances such as hydrogen sulfide and carbon dioxide), during the process of transporting these media in long-distance pipelines, these media may stick to the inner wall of the pipeline and corrode the inner wall of the pipeline. If not handled in time, the corrosion of the inner wall of the long-distance pipeline may be aggravated, causing the media transported in the long-distance pipeline to leak, affecting the safe operation of the long-distance pipeline.
[0003] At present, internal corrosion of long-distance pipelines is often detected regularly through internal detectors. However, the cost of using this method to detect the corrosion of long-distance pipelines is high, so the time interval between two adjacent corrosion detections is usually long, which makes it difficult to determine the corrosion situation in the long-distance pipeline in a timely manner, and it is also difficult to analyze the timing of cleaning the internal corrosion of the long-distance pipeline: if the long-distance pipeline is cleaned when the internal corrosion is not serious, it will waste cleaning resources; if the long-distance pipeline is cleaned when the internal corrosion is serious, it will increase the risk of leakage in the long-distance pipeline. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method and system for detecting corrosion inside a long-distance pipeline, which can detect the corrosion condition inside the long-distance pipeline and clarify the level of corrosion inside the long-distance pipeline, so that the cleaning opportunity for the corrosion inside the long-distance pipeline can be analyzed according to the level of corrosion inside the long-distance pipeline, and the safety problems caused by the corrosion inside the long-distance pipeline can be reduced.
[0005] The technical solution of the present invention to solve the above technical problems is as follows: In a first aspect, the present invention provides a method for detecting corrosion in a long-distance pipeline, comprising: S101: Establish a corrosion evaluation system for long-distance pipelines.
[0006] Among them, the corrosion evaluation system includes multiple evaluation factors, including primary evaluation factors, secondary evaluation factors and tertiary evaluation factors. The primary evaluation factors are used to characterize the corrosion types of long-distance pipelines. For any primary evaluation factor, any primary evaluation factor corresponds to at least one secondary evaluation factor, and the at least one secondary evaluation factor is used to characterize the corrosion inducement under any primary evaluation factor. For any secondary evaluation factor, any secondary evaluation factor corresponds to at least one tertiary evaluation factor, and the at least one tertiary evaluation factor is used to characterize the numerical characteristics of any secondary evaluation factor.
[0007] S102: Determine the subjective weight of each evaluation factor.
[0008] The sum of the subjective weights corresponding to the first-level evaluation factors is 1. The sum of the subjective weights corresponding to the second-level evaluation factors in the at least one second-level evaluation factor is 1. The sum of the subjective weights corresponding to the third-level evaluation factors in the at least one third-level evaluation factor is 1.
[0009] S103: Determine the objective weight of each evaluation factor.
[0010] The sum of the objective weights corresponding to the first-level evaluation factors is 1. The sum of the objective weights corresponding to the second-level evaluation factors in the at least one second-level evaluation factor is 1. The sum of the objective weights corresponding to the third-level evaluation factors in the at least one third-level evaluation factor is 1.
[0011] S104: Obtain a membership matrix.
[0012] Wherein, the membership matrix includes a first membership matrix corresponding to each primary evaluation factor, a second membership matrix corresponding to the at least one secondary evaluation factor, and a third membership matrix corresponding to the at least one tertiary evaluation factor. The first membership matrix is determined based on the membership function and each primary evaluation factor. The membership function is determined based on the corrosion degree evaluation set and the corrosion rate range set. The corrosion degree evaluation set includes at least one corrosion degree level and a numerical value corresponding to each corrosion degree level. The second membership matrix is determined based on the membership function and the at least one secondary evaluation factor. The third membership matrix is determined based on the membership function and the at least one tertiary evaluation factor.
[0013] S105: For any membership matrix, based on the subjective weights and objective weights of the evaluation factors corresponding to the any membership matrix, obtain the scores of the evaluation factors corresponding to the any membership matrix.
[0014] S106: Based on the score of each evaluation factor and the corrosion degree evaluation set, determine the corrosion degree level corresponding to each evaluation factor.
[0015] Based on the above technical solution, the present invention can also be improved as follows.
[0016] Further, the primary evaluation factor includes at least one of impurity corrosion, stress corrosion, transport medium erosion corrosion, transport medium component corrosion and environmental corrosion. The secondary evaluation factor corresponding to impurity corrosion includes at least one of sediment volume, water volume and rust volume. The secondary evaluation factor corresponding to stress corrosion includes stress size and / or stress position. The secondary evaluation factor corresponding to transport medium erosion corrosion includes the flow rate of the transport medium and / or the pressure of the transport medium. The secondary evaluation factor corresponding to transport medium component corrosion includes at least one of hydrogen sulfide content, carbon dioxide content and corrosive ion content. The secondary evaluation factor corresponding to environmental corrosion includes at least one of ambient temperature, humidity and pH.
[0017] Furthermore, based on the subjective weight and objective weight of the evaluation factor corresponding to any membership matrix, the comprehensive weight of the evaluation factor corresponding to any membership matrix is obtained. The comprehensive weight of the evaluation factor corresponding to any membership matrix is expressed as: ; in, is the comprehensive weight of the evaluation factors corresponding to any membership matrix; is the subjective weight of the evaluation factor corresponding to any membership matrix, is the objective weight of the evaluation factor corresponding to any membership matrix, is the first normalized coefficient, is the second coefficient of normalization.
[0018] Based on the comprehensive weight of any membership matrix and the evaluation factor corresponding to any membership matrix, the score of the evaluation factor corresponding to any membership matrix is obtained.
[0019] Further, based on a preset relationship, the first coefficient and the second coefficient are obtained; the preset relationship includes: ; The first coefficient is normalized to obtain the normalized first coefficient, and the second coefficient is normalized to obtain the normalized second coefficient.
[0020] Furthermore, the at least one corrosion degree level includes at least one of the first level, the second level, the third level, the fourth level and the fifth level from low to high corrosion degree. The value corresponding to the first level is 1, the value corresponding to the second level is 2, the value corresponding to the third level is 3, the value corresponding to the fourth level is 4, and the value corresponding to the second level is 5. The membership function includes: ; ; ; ; ; in, Indicates the first level, Indicates the second level, Indicates the third level, Indicates the fourth level, Indicates the fifth level. represents the corrosion rate range in which the corrosion rate range is concentrated, It represents the membership degree of the corresponding evaluation factor relative to the corrosion degree evaluation set.
[0021] Further, the evaluation factors corresponding to any membership matrix are converted into five-point numerical values. The evaluation factors corresponding to any membership matrix converted into five-point numerical values are substituted into the membership function to obtain any membership matrix.
[0022] Further, based on multiplying the comprehensive weight of the evaluation factor corresponding to any membership matrix by the any membership matrix, the fuzziness score of the evaluation factor corresponding to any membership matrix is obtained. Based on multiplying the fuzziness score of the evaluation factor corresponding to any membership matrix by the corrosion degree evaluation set, the comprehensive score of the evaluation factor corresponding to any membership matrix is obtained.
[0023] Furthermore, for any evaluation factor, the corrosion degree level corresponding to the any evaluation factor is determined based on the quantitative relationship between the comprehensive score of the any evaluation factor and the numerical value corresponding to each corrosion degree level.
[0024] Further, a target corrosion level is obtained. The target corrosion level is the corrosion level with the smallest difference between the corresponding numerical feature and the comprehensive score of any evaluation factor. The target corrosion level is determined as the corrosion level corresponding to any evaluation factor.
[0025] The beneficial effects of the present invention are as follows: the internal corrosion evaluation factors are refined, and the subjective and objective weights are integrated, so that the corrosion conditions inside the long-distance pipeline can be more comprehensively detected, and the level of internal corrosion of the long-distance pipeline can be clarified, so that the cleaning opportunity for the internal corrosion of the long-distance pipeline can be analyzed according to the level of internal corrosion of the long-distance pipeline, and the safety problems caused by internal corrosion of the long-distance pipeline can be reduced.
[0026] In a second aspect, the present invention provides a long-distance pipeline internal corrosion detection system, comprising: A numerical input module is used to construct a corrosion evaluation system for long-distance pipelines. The corrosion evaluation system includes multiple evaluation factors; the multiple evaluation factors include primary evaluation factors, secondary evaluation factors, and tertiary evaluation factors; the primary evaluation factors are used to characterize the corrosion types of the long-distance pipelines; for any primary evaluation factor, there is at least one secondary evaluation factor corresponding to any primary evaluation factor, and the at least one secondary evaluation factor is used to characterize the corrosion inducement under any primary evaluation factor; for any secondary evaluation factor, there is at least one tertiary evaluation factor corresponding to any secondary evaluation factor, and the at least one tertiary evaluation factor is used to characterize the numerical characteristics of any secondary evaluation factor.
[0027] The weight vector acquisition module is used to determine the subjective weight of each of the evaluation factors. The sum of the subjective weights corresponding to each of the first-level evaluation factors is 1; the sum of the subjective weights corresponding to each of the second-level evaluation factors in the at least one second-level evaluation factor is 1; the sum of the subjective weights corresponding to each of the third-level evaluation factors in the at least one third-level evaluation factor is 1. The weight vector acquisition module is also used to determine the objective weights of each of the evaluation factors; the sum of the objective weights corresponding to each of the first-level evaluation factors is 1; the sum of the objective weights corresponding to each of the second-level evaluation factors in the at least one second-level evaluation factor is 1; the sum of the objective weights corresponding to each of the third-level evaluation factors in the at least one third-level evaluation factor is 1; The membership acquisition module is used to acquire a membership matrix. The membership matrix includes a first membership matrix corresponding to each of the first-level evaluation factors, a second membership matrix corresponding to the at least one second-level evaluation factor, and a third membership matrix corresponding to the at least one third-level evaluation factor; the first membership matrix is determined based on a membership function and each of the first-level evaluation factors; the membership function is determined based on a corrosion degree evaluation set and a corrosion rate range set; the corrosion degree evaluation set includes at least one corrosion degree grade and a numerical value corresponding to each of the corrosion degree grades; the second membership matrix is determined based on the membership function and the at least one second-level evaluation factor; the third membership matrix is determined based on the membership function and the at least one third-level evaluation factor.
[0028] The module comprehensive evaluation module is used to obtain the score of the evaluation factor corresponding to any membership matrix based on the subjective weight and objective weight of the evaluation factor corresponding to any membership matrix. The module comprehensive evaluation module is also used to determine the corrosion level corresponding to each evaluation factor based on the score of each evaluation factor and the corrosion level evaluation set.
[0029] In a third aspect, the present invention provides an electronic device comprising: a memory, one or more processors; the memory and the processor are coupled; wherein the memory stores computer program code, the computer program code comprises computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the method for detecting corrosion in a long-distance pipeline as described in any one of the first aspects above.
[0030] In a fourth aspect, a computer-readable storage medium is provided, comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method for detecting corrosion in a long-distance pipeline as described in any one of the first aspects.
[0031] In a fifth aspect, a computer program product is provided. When the computer program product is run on a computer, the computer is enabled to execute the method for detecting corrosion in a long-distance pipeline as described in any one of the first aspects.
[0032] It can be understood that the beneficial effects that can be achieved by the long-distance pipeline corrosion detection system of the second aspect provided above, the electronic device described in the third aspect, the computer-readable storage medium described in the fourth aspect, and the computer program product described in the fifth aspect can refer to the beneficial effects in the first aspect and any possible design method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A schematic flow chart of a method for detecting corrosion in a long-distance pipeline provided by the present invention; Figure 2 A schematic diagram of the structure of the corrosion evaluation system provided by the present invention; Figure 3 A schematic diagram of the membership function provided by the present invention; Figure 4 This is a structural diagram of a long-distance pipeline internal corrosion detection system provided by the present invention. DETAILED DESCRIPTION
[0034] The technical solution in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Among them, in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. And, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish between the same items or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit the differences. At the same time, in the embodiments of the present application, the words "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 the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design.
[0035] The present invention provides a method for detecting corrosion in a long-distance pipeline. Figure 1 The method comprises the following steps S101-S106: S101: Establish a corrosion evaluation system for long-distance pipelines.
[0036] The corrosion evaluation system includes multiple evaluation factors, including primary evaluation factors, secondary evaluation factors and tertiary evaluation factors. The primary evaluation factors are used to characterize the corrosion types of long-distance pipelines.
[0037] One primary evaluation factor corresponds to at least one secondary evaluation factor, and the secondary evaluation factor is used to characterize the corrosion inducement under the corresponding primary evaluation factor.
[0038] One secondary evaluation factor corresponds to at least one tertiary evaluation factor, and the tertiary evaluation factor is used to characterize the numerical characteristics of the corresponding secondary evaluation factor. The tertiary evaluation factor can be obtained based on the corresponding historical detection data.
[0039] In some embodiments, see Figure 2The first-level evaluation factors include at least one of impurity corrosion, stress corrosion, transport medium erosion corrosion, transport medium component corrosion and environmental corrosion.
[0040] Among them, the secondary evaluation factors corresponding to impurity corrosion include at least one of the amount of sediment, the amount of accumulated water, and the amount of rust. The secondary evaluation factors corresponding to stress corrosion include stress size and / or stress position. The secondary evaluation factors corresponding to transport medium erosion corrosion include the flow rate of the transport medium and / or the pressure of the transport medium. The secondary evaluation factors corresponding to transport medium component corrosion include at least one of hydrogen sulfide content, carbon dioxide content, and corrosive ion content. The secondary evaluation factors corresponding to environmental corrosion include at least one of ambient temperature, humidity, and pH.
[0041] Exemplarily, the first-level evaluation factor can be expressed as U={U1,U2,U3,U4,U5}, where U1 is impurity corrosion, U2 is stress corrosion, U3 is transport medium erosion corrosion, U4 is transport medium component corrosion, and U5 is environmental corrosion; Impurity corrosion U1={u 11 ,u 12 ,u 13}, where u 11 is the amount of sediment, u 12 is the amount of accumulated water, u 13 is the amount of rust; Stress corrosion U2={u 21 ,u 22}, where u 21 is the stress dimension, u 22 is the stress position; Erosion corrosion of transport medium U3={u 31 ,u 32}, where u 31 is the flow velocity, u 32 For pressure; Transport medium component corrosion U4={u 41 ,u 42 ,u 43}, where u 41 is the hydrogen sulfide content, u 42 is the carbon dioxide content, u 43 Corrosive ion content.
[0042] Environmental corrosion U5={u 51 ,u 52 ,u 53},u 51 is the temperature, u 52 is the temperature, u 53 For pH.
[0043] S102: Determine the subjective weight of each evaluation factor.
[0044] Among them, the sum of the subjective weights corresponding to each first-level evaluation factor is 1. The sum of the subjective weights corresponding to each second-level evaluation factor under any first-level evaluation factor is 1. The sum of the subjective weights corresponding to each third-level evaluation factor under any second-level evaluation factor is 1.
[0045] Exemplarily, based on the AHP method, the subjective weight vectors of the evaluation factors at each level can be established. The weight values can be determined by the expert scoring method, and the first-level evaluation factor A={0.1, 0.4, 0.1, 0.3, 0.1} is obtained; and the weight vector A1={0.3, 0.3, 0.4} of the second-level evaluation factor 1, the weight vector A2={0.7, 0.3} of the second-level evaluation factor 2, the weight vector A3={0.4, 0.6} of the second-level evaluation factor 3, and the weight vector A4={0.3, 0.4, 0.3} of the second-level evaluation factor 4; and the weight vector a of the third-level evaluation factor 1 is obtained. 21 ={0.1,0.1,0.8}, weight vector a of the third-level evaluation factor 2 22 ={0.6,0.4}, the subscripts of the weights correspond to the subscripts of the factors; the sum of the values in each weight vector is 1.
[0046] S103: Determine the objective weight of each evaluation factor.
[0047] Among them, the sum of the objective weights corresponding to each first-level evaluation factor is 1. The sum of the objective weights corresponding to each second-level evaluation factor under any first-level evaluation factor is 1. The sum of the objective weights corresponding to each third-level evaluation factor under any second-level evaluation factor is 1.
[0048] For example, based on the entropy weight method, the objective weight vector B={0.15, 0.35, 0.12, 0.28, 0.1} of the first-level evaluation factor can be obtained; and the weight vector B1={0.24, 0.26, 0.5} of the second-level evaluation factor 1, the weight vector B2={0.68, 0.32} of the second-level evaluation factor 2, the weight vector B3={0.35, 0.65} of the second-level evaluation factor 3, and the weight vector B4={0.22, 0.42, 0.36} of the second-level evaluation factor 4 can be obtained; and the weight vector b1 of the third-level evaluation factor 1 can be obtained. 21 ={0.06, 0.12, 0.82}, weight vector b of the third-level evaluation factor 2 22 ={0.68,0.32}, the subscripts of the weights correspond to the subscripts of the factors; the sum of the values in each weight vector is 1.
[0049] Specifically, when using the entropy weight method to calculate the weight of each evaluation factor, the following steps can be followed: Numerize each evaluation factor using natural language to obtain the numerical data of each evaluation factor; normalize the numerical data of each evaluation factor, and pay attention to the nature of the indicator during normalization, and pay attention to whether it is a positive indicator or a negative indicator. A positive indicator is an indicator with a higher numerical value and a higher evaluation, and a negative indicator is an indicator with a higher numerical value and a lower evaluation; if there is a negative number after normalization, assign the normalized data a value of 0; calculate the weight of each evaluation factor based on the normalized data.
[0050] S104: Obtain a membership matrix.
[0051] The membership matrix includes a first membership matrix corresponding to each first-level evaluation factor, a second membership matrix corresponding to each second-level evaluation factor under any first-level evaluation factor, and a third membership matrix corresponding to each third-level evaluation factor under any second-level evaluation factor. The first membership matrix is determined based on the membership function and each first-level evaluation factor. The second membership matrix is determined based on the membership function and each second-level evaluation factor under the corresponding first-level evaluation factor. The third membership matrix is determined based on the membership function and each third-level evaluation factor under the corresponding second-level evaluation factor.
[0052] In some embodiments, the membership function is determined based on a corrosion degree evaluation set and a corrosion rate range set. The corrosion degree evaluation set can be established by extensively consulting industry information, national standards, and legal provisions. The corrosion degree evaluation set includes at least one corrosion degree level and a numerical value corresponding to each corrosion degree level.
[0053] In some embodiments, the corrosion degree level includes at least one of the first level, the second level, the third level, the fourth level and the fifth level from low to high corrosion degree. The first level corresponds to a value of 1, the second level corresponds to a value of 2, the third level corresponds to a value of 3, the fourth level corresponds to a value of 4, and the second level corresponds to a value of 5.
[0054] For example, a corrosion degree evaluation set V={V1, V2, V3, V4, V5}={very low, low, medium, high, very high} can be established, and numerically converted into V={1, 2, 3, 4, 5} using a five-point system.
[0055] The membership functions include: ; ; ; ; ; in, Indicates the first level, Indicates the second level, Indicates the third level, Indicates the fourth level, Indicates the fifth level. represents the corrosion rate range in which the corrosion rate range is concentrated, It represents the membership of the corresponding evaluation factor relative to the corrosion degree evaluation set. The membership function diagram is as follows: Figure 3 shown.
[0056] In some embodiments, the evaluation factors corresponding to any membership matrix may be converted into five-point numerical values. The evaluation factors corresponding to any membership matrix converted into five-point numerical values are substituted into the membership function to obtain any membership matrix.
[0057] For example, taking the first-level evaluation factor as an example, the first-level evaluation factor U={U1,U2,U3,U4,U5}, through on-site measurement, and converting the natural language description of the evaluation result into a five-point value, the value of the first-level evaluation factor U={2,4,1,2,1} can be obtained, corresponding to the measured corrosion rate set , will be collected Substituting the values in into the membership function, we can get the membership matrix R: .
[0058] S105: For any membership matrix, based on the subjective weights and objective weights of the evaluation factors corresponding to the any membership matrix, obtain the scores of the evaluation factors corresponding to the any membership matrix.
[0059] In some embodiments, the comprehensive weights of the evaluation factors corresponding to the target membership matrix (the target membership matrix can be any membership matrix) can be obtained based on the subjective weights and objective weights of the evaluation factors corresponding to the target membership matrix. Based on the comprehensive weights of the target membership matrix and the evaluation factors corresponding to the target membership matrix, the scores of the evaluation factors corresponding to the target membership matrix can be obtained.
[0060] In some embodiments, the comprehensive weight of the evaluation factors corresponding to the target membership matrix is expressed as: ; in, is the comprehensive weight of the evaluation factors corresponding to the target membership matrix; is the subjective weight of the evaluation factor corresponding to the target membership matrix, is the objective weight of the evaluation factor corresponding to the target membership matrix, is the first normalized coefficient, is the second coefficient of normalization.
[0061] In some embodiments, the first coefficient and the second coefficient may be obtained based on a preset relationship. The first coefficient may be normalized to obtain the normalized first coefficient, and the second coefficient may be normalized to obtain the normalized second coefficient.
[0062] In some embodiments, the preset relationship includes: .
[0063] In some embodiments, the fuzziness score of the evaluation factor corresponding to the target membership matrix can be obtained by multiplying the target membership matrix and the comprehensive weight of the evaluation factor corresponding to the target membership matrix. The comprehensive score of the evaluation factor corresponding to the target membership matrix can be obtained by multiplying the fuzziness score of the evaluation factor corresponding to the target membership matrix and the corrosion degree evaluation set.
[0064] For example, taking the first-level evaluation factor as an example, the subjective weight vector corresponding to the first-level evaluation factor can be expressed as , the objective weight vector corresponding to the first-level evaluation factor can be expressed as Based on the preset relationship, it can be calculated , Based on the following formula, and After normalization, we get , : .
[0065] based on , we can get The target membership matrix and the comprehensive weight of the evaluation factors corresponding to the target membership matrix are multiplied to obtain the fuzzy score of the evaluation factors corresponding to the target membership matrix. : .
[0066] By multiplying the fuzzy score of the evaluation factor corresponding to the target membership matrix with the corrosion degree evaluation set, the comprehensive score of the evaluation factor corresponding to the target membership matrix can be obtained. : S106: Based on the score of each evaluation factor and the corrosion degree evaluation set, determine the corrosion degree level corresponding to each evaluation factor.
[0067] In some embodiments, for any evaluation factor, the corrosion level corresponding to the any evaluation factor can be determined based on the quantitative relationship between the comprehensive score of the any evaluation factor and the numerical values corresponding to each corrosion level.
[0068] In some embodiments, a target corrosion level may be obtained, wherein the target corrosion level is the corrosion level with the smallest difference between the corresponding numerical feature and the comprehensive score of the corresponding evaluation factor. The target corrosion level may be determined as the corrosion level of the corresponding evaluation factor.
[0069] For example, still taking the first-level evaluation factor as an example, combined with the corrosion degree evaluation set {V1,V2,V3,V4,V5}={1,2,3,4,5}={very low,low,medium,high,very high} It can be seen that the corrosion level of the field test pipeline in the first-level evaluation factor is between "medium" and "high". The rounding rule can be applied to obtain the corrosion level of the field test pipeline in the first-level evaluation factor, which is registered as V4, that is, the internal corrosion severity is "high".
[0070] In some embodiments, the corrosion level corresponding to the long-distance pipeline can be determined based on the corrosion level corresponding to each evaluation factor. And after the corrosion level of the long-distance pipeline is determined, an alarm message is prompted based on the corrosion level of the long-distance pipeline reaching or exceeding a preset corrosion level. The alarm message is used to prompt that the long-distance pipeline has a safety risk due to internal corrosion.
[0071] See also Figure 4 The present invention also provides a long-distance pipeline internal corrosion detection system, comprising: A numerical input module is used to construct a corrosion evaluation system for long-distance pipelines. The corrosion evaluation system includes multiple evaluation factors; the multiple evaluation factors include primary evaluation factors, secondary evaluation factors, and tertiary evaluation factors; the primary evaluation factors are used to characterize the corrosion types of the long-distance pipelines; for any primary evaluation factor, there is at least one secondary evaluation factor corresponding to any primary evaluation factor, and the at least one secondary evaluation factor is used to characterize the corrosion inducement under any primary evaluation factor; for any secondary evaluation factor, there is at least one tertiary evaluation factor corresponding to any secondary evaluation factor, and the at least one tertiary evaluation factor is used to characterize the numerical characteristics of any secondary evaluation factor.
[0072] The weight vector acquisition module is used to determine the subjective weight of each of the evaluation factors. The sum of the subjective weights corresponding to each of the first-level evaluation factors is 1; the sum of the subjective weights corresponding to each of the second-level evaluation factors in the at least one second-level evaluation factor is 1; the sum of the subjective weights corresponding to each of the third-level evaluation factors in the at least one third-level evaluation factor is 1. The weight vector acquisition module is also used to determine the objective weights of each of the evaluation factors; the sum of the objective weights corresponding to each of the first-level evaluation factors is 1; the sum of the objective weights corresponding to each of the second-level evaluation factors in the at least one second-level evaluation factor is 1; the sum of the objective weights corresponding to each of the third-level evaluation factors in the at least one third-level evaluation factor is 1; The membership acquisition module is used to acquire a membership matrix. The membership matrix includes a first membership matrix corresponding to each of the first-level evaluation factors, a second membership matrix corresponding to the at least one second-level evaluation factor, and a third membership matrix corresponding to the at least one third-level evaluation factor; the first membership matrix is determined based on a membership function and each of the first-level evaluation factors; the membership function is determined based on a corrosion degree evaluation set and a corrosion rate range set; the corrosion degree evaluation set includes at least one corrosion degree grade and a numerical value corresponding to each of the corrosion degree grades; the second membership matrix is determined based on the membership function and the at least one second-level evaluation factor; the third membership matrix is determined based on the membership function and the at least one third-level evaluation factor.
[0073] The module comprehensive evaluation module is used to obtain the score of the evaluation factor corresponding to any membership matrix based on the subjective weight and objective weight of the evaluation factor corresponding to any membership matrix. The module comprehensive evaluation module is also used to determine the corrosion level corresponding to each evaluation factor based on the score of each evaluation factor and the corrosion level evaluation set.
[0074] In some embodiments, see Figure 4 The long-distance pipeline internal corrosion detection system provided by the present invention also includes a numerical storage module, a result output module and a result display module.
[0075] The numerical storage module is used to store the corrosion evaluation system, the corrosion degree evaluation set and the corrosion rate range set. The result output module is used to output the detection results of the corrosion in the long-distance pipeline, and the result display module is used to display the detection results and early warning information of the corrosion in the long-distance pipeline.
[0076] It can be seen that the method and system provided by the present invention refine the internal corrosion evaluation factors, integrate the subjective and objective weights, and can perform a more comprehensive detection of the corrosion conditions inside the long-distance pipeline, clarify the level of internal corrosion of the long-distance pipeline, and thus analyze the cleaning opportunity for the internal corrosion of the long-distance pipeline according to the level of internal corrosion of the long-distance pipeline, thereby reducing the safety problems caused by internal corrosion of the long-distance pipeline.
[0077] In some schemes, multiple embodiments of the present application can be combined, and the combined scheme can be implemented. Optionally, some operations in the process of each method embodiment are optionally combined, and / or the order of some operations is optionally changed. In addition, the execution order between the steps of each process is only exemplary and does not constitute a restriction on the execution order between the steps. There can also be other execution orders between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be performed. A person of ordinary skill in the art will think of a variety of ways to reorder the operations described herein. In addition, it should be noted that the process details involved in a certain embodiment of this article are also applicable to other embodiments in a similar manner, or different embodiments can be used in combination.
[0078] In addition, some steps in the method embodiment may be equivalently replaced by other possible steps. Alternatively, some steps in the method embodiment may be optional and may be deleted in certain usage scenarios. Alternatively, other possible steps may be added to the method embodiment. Furthermore, the method embodiments may be implemented separately or in combination.
[0079] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the system can be divided into different functional modules to complete all or part of the functions described above.
[0080] In the several embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.
[0081] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0082] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0083] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for detecting corrosion in a long-distance pipeline, characterized in that: include: Construct a corrosion evaluation system for long-distance pipelines; The corrosion evaluation system includes multiple evaluation factors; the multiple evaluation factors include primary evaluation factors, secondary evaluation factors and tertiary evaluation factors; the primary evaluation factors are used to characterize the corrosion type of the long-distance pipeline; For any primary evaluation factor, the first-level evaluation factor corresponds to at least one secondary evaluation factor, and the at least one secondary evaluation factor is used to characterize the corrosion inducement under the first-level evaluation factor; For any secondary evaluation factor, the secondary evaluation factor corresponds to at least one tertiary evaluation factor, and the at least one tertiary evaluation factor is used to characterize the numerical characteristics of the secondary evaluation factor; Determine the subjective weight of each of the evaluation factors; wherein the sum of the subjective weights corresponding to each of the first-level evaluation factors is 1; the sum of the subjective weights corresponding to each of the second-level evaluation factors in the at least one second-level evaluation factor is 1; the sum of the subjective weights corresponding to each of the third-level evaluation factors in the at least one third-level evaluation factor is 1; Determine the objective weight of each of the evaluation factors; wherein the sum of the objective weights corresponding to each of the first-level evaluation factors is 1; the sum of the objective weights corresponding to each of the second-level evaluation factors in the at least one second-level evaluation factor is 1; the sum of the objective weights corresponding to each of the third-level evaluation factors in the at least one third-level evaluation factor is 1; Obtain a membership matrix; the membership matrix includes a first membership matrix corresponding to each of the first-level evaluation factors, a second membership matrix corresponding to the at least one second-level evaluation factor, and a third membership matrix corresponding to the at least one tertiary evaluation factor; the first membership matrix is determined based on a membership function and each of the first-level evaluation factors; the membership function is determined based on a corrosion degree evaluation set and a corrosion rate range set; the corrosion degree evaluation set includes at least one corrosion degree grade and a numerical value corresponding to each of the corrosion degree grades; the second membership matrix is determined based on the membership function and the at least one second-level evaluation factor; the third membership matrix is determined based on the membership function and the at least one tertiary evaluation factor; For any membership matrix, based on the subjective weight and objective weight of the evaluation factor corresponding to the any membership matrix, the score of the evaluation factor corresponding to the any membership matrix is obtained; Based on the score of each evaluation factor and the corrosion degree evaluation set, the corrosion degree level corresponding to each evaluation factor is determined.
2. The method according to claim 1, characterized in that The first-level evaluation factor includes at least one of impurity corrosion, stress corrosion, transport medium erosion corrosion, transport medium component corrosion and environmental corrosion; the second-level evaluation factor corresponding to the impurity corrosion includes at least one of the amount of sediment, the amount of accumulated water and the amount of rust; The secondary evaluation factors corresponding to the stress corrosion include stress size and / or stress position; the secondary evaluation factors corresponding to the transport medium erosion corrosion include the flow rate of the transport medium and / or the pressure of the transport medium; the secondary evaluation factors corresponding to the transport medium component corrosion include at least one of the hydrogen sulfide content, carbon dioxide content and corrosive ion content; the secondary evaluation factors corresponding to the environmental corrosion include at least one of the ambient temperature, humidity and pH.
3. The method according to claim 2, characterized in that For any membership matrix, based on the subjective weight and objective weight of the evaluation factor corresponding to the any membership matrix and the evaluation factor corresponding to the any membership matrix, obtaining the score of the evaluation factor corresponding to the any membership matrix includes: Based on the subjective weight and objective weight of the evaluation factor corresponding to any membership matrix, the comprehensive weight of the evaluation factor corresponding to any membership matrix is obtained; the comprehensive weight of the evaluation factor corresponding to any membership matrix is expressed as: ; in, is the comprehensive weight of the evaluation factors corresponding to any membership matrix; is the subjective weight of the evaluation factor corresponding to any membership matrix, is the objective weight of the evaluation factor corresponding to any membership matrix, is the first normalized coefficient, is the second coefficient of normalization; Based on the comprehensive weight of any membership matrix and the evaluation factor corresponding to any membership matrix, the score of the evaluation factor corresponding to any membership matrix is obtained.
4. The method according to claim 3, characterized in that Before obtaining the comprehensive weight of the evaluation factor corresponding to any membership matrix based on the subjective weight and the objective weight of the evaluation factor corresponding to any membership matrix, the method further includes: Based on a preset relationship, a first coefficient and a second coefficient are obtained; the preset relationship includes: ; Normalizing the first coefficient to obtain the normalized first coefficient; The second coefficient is normalized to obtain the normalized second coefficient.
5. The method according to claim 4, characterized in that The at least one corrosion degree level includes at least one of the first level, the second level, the third level, the fourth level and the fifth level from low to high corrosion degree; the first level corresponds to a value of 1, the second level corresponds to a value of 2, the third level corresponds to a value of 3, the fourth level corresponds to a value of 4, and the second level corresponds to a value of 5; the membership function includes: ; ; ; ; ; in, represents the first level, represents the second level, represents the third level, represents the fourth level, represents said fifth level; represents a corrosion rate range in the corrosion rate range set; It represents the membership of the corresponding evaluation factor relative to the corrosion degree evaluation set.
6. The method according to claim 5, characterized in that Before obtaining the score of the evaluation factor corresponding to any membership matrix based on the subjective weight and objective weight of the evaluation factor corresponding to any membership matrix, the method further includes: Convert the evaluation factors corresponding to any of the membership matrix into five-point numerical values; Substitute the evaluation factors corresponding to any one of the membership matrices converted into five-point numerical values into the membership function to obtain any one of the membership matrices.
7. The method according to claim 6, characterized in that The step of obtaining the score of the evaluation factor corresponding to any membership matrix based on the comprehensive weight of the evaluation factor corresponding to any membership matrix comprises: Based on multiplying the any membership matrix and the comprehensive weight of the evaluation factor corresponding to the any membership matrix, a fuzziness score of the evaluation factor corresponding to the any membership matrix is obtained; Based on multiplying the fuzziness score of the evaluation factor corresponding to any membership matrix by the corrosion degree evaluation set, a comprehensive score of the evaluation factor corresponding to any membership matrix is obtained.
8. The method according to claim 7, characterized in that Determining the corrosion degree level corresponding to each evaluation factor based on the score of each evaluation factor and the corrosion degree evaluation set includes: For any evaluation factor, the corrosion degree level corresponding to the any evaluation factor is determined based on the quantitative relationship between the comprehensive score of the any evaluation factor and the numerical values corresponding to each corrosion degree level.
9. The method according to claim 8, characterized in that For any evaluation factor, based on the quantitative relationship between the comprehensive score of any evaluation factor and the numerical value corresponding to each corrosion degree level, the corrosion degree level corresponding to any evaluation factor is determined, including Obtaining the target corrosion level; The target corrosion level is the corrosion level with the smallest difference between the corresponding numerical feature and the comprehensive score of any evaluation factor; The target corrosion level is determined as the corrosion level corresponding to any one of the evaluation factors.
10. A long-distance pipeline corrosion detection system, characterized in that: include: Numerical input module, used to build a corrosion evaluation system for long-distance pipelines; The corrosion evaluation system includes multiple evaluation factors; the multiple evaluation factors include primary evaluation factors, secondary evaluation factors and tertiary evaluation factors; The first-level evaluation factor is used to characterize the corrosion type of the long-distance pipeline; For any primary evaluation factor, the first-level evaluation factor corresponds to at least one secondary evaluation factor, and the at least one secondary evaluation factor is used to characterize the corrosion inducement under the first-level evaluation factor; For any secondary evaluation factor, the secondary evaluation factor corresponds to at least one tertiary evaluation factor, and the at least one tertiary evaluation factor is used to characterize the numerical characteristics of the secondary evaluation factor; A weight vector acquisition module, used to determine the subjective weight of each of the evaluation factors; wherein the sum of the subjective weights corresponding to each of the first-level evaluation factors is 1; the sum of the subjective weights corresponding to each of the second-level evaluation factors in the at least one second-level evaluation factor is 1; the sum of the subjective weights corresponding to each of the third-level evaluation factors in the at least one third-level evaluation factor is 1; The weight vector acquisition module is also used to determine the objective weight of each of the evaluation factors; wherein the sum of the objective weights corresponding to each of the first-level evaluation factors is 1; the sum of the objective weights corresponding to each of the second-level evaluation factors in the at least one second-level evaluation factor is 1; the sum of the objective weights corresponding to each of the third-level evaluation factors in the at least one third-level evaluation factor is 1; A membership acquisition module, used to acquire a membership matrix; the membership matrix includes a first membership matrix corresponding to each of the first-level evaluation factors, a second membership matrix corresponding to the at least one second-level evaluation factor, and a third membership matrix corresponding to the at least one third-level evaluation factor; the first membership matrix is determined based on a membership function and each of the first-level evaluation factors; the membership function is determined based on a corrosion degree evaluation set and a corrosion rate range set; the corrosion degree evaluation set includes at least one corrosion degree grade and a numerical value corresponding to each of the corrosion degree grades; the second membership matrix is determined based on the membership function and the at least one second-level evaluation factor; the third membership matrix is determined based on the membership function and the at least one third-level evaluation factor; A module comprehensive evaluation module is used for obtaining, for any membership matrix, a score of the evaluation factor corresponding to the any membership matrix based on the subjective weight and objective weight of the evaluation factor corresponding to the any membership matrix; The module comprehensive evaluation module is also used to determine the corrosion level corresponding to each evaluation factor based on the score of each evaluation factor and the corrosion level evaluation set.
Citation Information
Patent Citations
Satellite health state multistage fuzzy evaluation method based on AHP-entropy weight method
CN111105153A
Comprehensive energy system greening level evaluation method and system
CN111967721A
Method and device for determining corrosion degree of substation equipment and computer equipment
CN112016826A
Building health monitoring method and system based on multi-feature factor integrated evaluation
CN115936309A
Steel pipe external corrosion quantitative risk comprehensive evaluation method and device
CN118134234A
Cited By
Pipeline corrosion product multi-dimensional feature extraction and corrosion state evaluation method and system
CN120995157A
A pipeline corrosion product multi-dimensional feature extraction and corrosion state evaluation method and system
CN120995157B