Computer-aided method for generating drawings of waste heat boiler pipelines

Through computer-aided methods, clustering algorithms and coefficient analysis are used to eliminate abnormal data of waste heat boiler pipes, solve the problems of data collection deviation and pipe diameter data at welds, and improve the accuracy and production efficiency of drawing generation.

CN118378315BActive Publication Date: 2024-09-20HANGZHOU BOLE COMP TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410822596.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-20
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

In the data collection process of waste heat boiler pipes, there are data collection deviations and abnormalities in pipe diameter data at the welds, resulting in errors in drawing generation and low production efficiency.

Method used

A computer-aided method is used to obtain the pipe diameter protrusion coefficient and weld seam confidence coefficient through a clustering algorithm, eliminate abnormal data, correct the pipe diameter data, and optimize the data accuracy.

Benefits of technology

It improves the accuracy of waste heat boiler pipeline drawing generation, reduces the interference of weld diameter data on drawing generation, and improves production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118378315B
    Figure CN118378315B
Patent Text Reader

Abstract

The present application relates to the technical field of drawing generation, and specifically to a computer-aided method for generating drawings of waste heat boiler pipelines, the method comprising: the present application constructs a pipe diameter protrusion coefficient and a weld confidence coefficient by analyzing the abnormal values ​​collected from the pipe diameter data of the waste heat boiler pipeline and the variation particularity of the pipe diameter data at the pipe weld; based on the pipe diameter protrusion coefficient and the weld confidence coefficient, the abnormal values ​​and the pipe diameter data at the pipe weld are respectively corrected, thereby optimizing the original waste heat boiler pipeline data; based on the corrected pipe diameter data of all pipelines and the remaining relevant data of the waste heat boiler pipeline, drawings of the waste heat boiler pipeline are generated. Thus, the generation of waste heat boiler pipeline drawings based on computer assistance is realized, the influence of abnormal values ​​and pipe diameter data at the pipe weld on the generation of pipeline drawings is avoided, and the accuracy of subsequent generation of drawings of waste heat boiler pipelines is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of drawing generation, and in particular to a computer-aided method for generating drawings of waste heat boiler pipelines. Background Art

[0002] With the development of science and technology, the construction of waste heat boiler pipelines has gradually become intelligent. By collecting data on waste heat boiler pipelines and using computer assistance, drawings of waste heat boiler pipelines are generated. Finally, relevant staff manufacture parts or accessories based on the drawings generated by the computer.

[0003] Since there are many waste heat boiler pipelines with different specifications, the amount of data collected is relatively large. In the process of data collection, there is a high possibility of data collection deviation. The data difference is too large, which is mainly manifested in abnormal values ​​of various data of the waste heat boiler pipeline. In addition, since the assembly of the pipeline is usually carried out in the form of welding, there will be many welds in the pipeline, and the pipe diameter data at the weld will be different from the pipe diameter data at the normal position. Ultimately, when the computer is used to generate drawings, there will be errors in the content of the drawings due to data gaps or data deviations, which will affect the subsequent production efficiency. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a computer-aided waste heat boiler pipeline drawing generation method to solve the existing problems.

[0005] The computer-aided waste heat boiler pipeline drawing generation method of the present application adopts the following technical solutions:

[0006] An embodiment of the present application provides a computer-aided method for generating a waste heat boiler pipeline drawing, the method comprising the following steps:

[0007] (1) Collecting waste heat boiler pipeline data, including each pipe diameter data of each pipe and height data of each pipe diameter data at a corresponding position on the pipe, recording the height data as a first height, and height data of the connection between each pipe and the waste heat boiler, recording the height data as a second height; and taking a sequence composed of all pipe diameter data of each pipe as a pipe diameter data sequence of each pipe;

[0008] (2) According to the first height, the second height and the pipe diameter characteristics of the waste heat boiler pipe, a clustering algorithm is combined to obtain the pipe diameter protrusion coefficient of each pipe diameter data of each pipe in the same cluster;

[0009] (3) Based on the pipe diameter protrusion coefficient, the abnormal pipe diameter data in the pipe diameter data sequence is eliminated to construct a new pipe diameter data sequence for each pipeline; according to the change of the pipe diameter data in the welding part of the pipeline, the weld confidence coefficient of each pipe diameter data in each new pipe diameter data sequence is constructed;

[0010] (4) Obtaining the corrected pipe diameter data of all pipelines based on the weld confidence coefficient of each pipe diameter data in each new pipe diameter data sequence;

[0011] (5) Generate waste heat boiler piping drawings using corrected pipe diameter data.

[0012] In one embodiment, the process of obtaining the pipe diameter protrusion coefficient is as follows:

[0013] Cluster all pipelines according to their second heights to obtain clusters;

[0014] For each pipeline, the self-prominence of each pipe diameter data of the pipeline is calculated based on the abnormality of each pipe diameter data of the pipeline;

[0015] The data suspicious coefficient of each pipe diameter data is obtained based on the difference between pipe diameter data of different pipes but the same first height in the same cluster;

[0016] Get the Davidson-Dinburgh index for each cluster;

[0017] The diameter prominence coefficient of each diameter data is positively correlated with the prominence of each diameter data and the data suspicious coefficient, and is negatively correlated with the Davidson-Dinburgh index of the cluster where each diameter data is located.

[0018] In one embodiment, the process of obtaining the self-prominence condition is as follows:

[0019] All pipe diameter data of the pipeline are used as the input of the anomaly detection algorithm, and the output is the anomaly score value of each pipe diameter data; the prominence of each pipe diameter data itself is positively correlated with the anomaly score value of each pipe diameter data.

[0020] In one embodiment, the process of obtaining the suspicious coefficient of the data is as follows:

[0021] Among all the pipe diameter data of all the pipes in the same cluster, for any pipe diameter data, obtain the pipe diameter data whose first height is the same as the first height of the any pipe diameter data as the same height pipe diameter data of the any pipe diameter data; obtain the difference between the any pipe diameter data and the first height corresponding to each of the same height pipe diameter data, and record it as the first difference; the data suspicious coefficient of the any pipe diameter data is positively correlated with the first difference.

[0022] In one embodiment, the method of eliminating abnormal pipe diameter data in the pipe diameter data sequence based on the pipe diameter protrusion coefficient and constructing a new pipe diameter data sequence for each pipeline is specifically as follows:

[0023] The diameter protrusion coefficient of all the diameter data of a single pipeline is used as the input of the clustering algorithm, and each output cluster is recorded as the first cluster;

[0024] For each first cluster of a single pipeline, the mean of all the pipe diameter protrusion coefficients in the first cluster is recorded as the first mean; the maximum value of the first mean of all the first clusters of a single pipeline is obtained, and the first cluster corresponding to the maximum value is recorded as an abnormal cluster; all the pipe diameter data in the abnormal cluster is taken as abnormal pipe diameter data;

[0025] The abnormal diameter data in the diameter data sequence of a single pipeline are removed, and the vacant values ​​generated after the abnormal diameter data are removed are filled with an interpolation algorithm to obtain a new diameter data sequence of the single pipeline.

[0026] In one embodiment, the process of obtaining the weld confidence coefficient of each pipe diameter data in each new pipe diameter data sequence is as follows:

[0027] The new diameter data sequence of each pipeline is divided into various sequence segments; based on the fluctuation of data in each sequence segment and the difference with other sequence segments, the local fluctuation characteristics of each sequence segment are obtained;

[0028] Based on the differences between the pipe diameter data in a single pipeline and the similarity of the pipe diameter data at the same height, the weld characteristic consistency index of each pipe diameter data in each new pipe diameter data sequence is obtained;

[0029] The weld confidence coefficient of each pipe diameter data in each sequence segment is positively correlated with the local fluctuation characteristics of each sequence segment and the weld characteristic consistency index of each pipe diameter data in each sequence segment.

[0030] In one embodiment, the process of acquiring the sequence segments is as follows: the new pipe diameter data sequence of each pipeline is equally divided to obtain a preset number of sequence segments.

[0031] In one embodiment, the process of acquiring the local fluctuation characteristics is as follows:

[0032] The variance of all pipe diameter data in each sequence segment is calculated and recorded as the first variance. The distance between any sequence segment of the same pipeline and each of the other sequence segments is calculated as the first distance of any sequence segment. The local fluctuation characteristics of each sequence segment are positively correlated with the first variance and the first distance of each sequence segment.

[0033] In one embodiment, the process of obtaining the weld feature consistency index is as follows:

[0034] Obtaining the difference between a certain pipe diameter data and each other pipe diameter data in the new pipe diameter data sequence of the same pipe, and recording it as the second difference of the certain pipe diameter data;

[0035] The set of pipe diameter data with the same first height in the new pipe diameter data sequence of all pipelines is recorded as a same-height pipe diameter set; in each same-height pipe diameter set, for any pipe diameter data, the average value of all remaining pipe diameter data except the any pipe diameter data is recorded as the first average value of the any pipe diameter data; the difference between each pipe diameter data and its corresponding first average value is taken as the co-location similarity of each pipe diameter data;

[0036] For each pipe diameter data in each new pipe diameter data sequence, the weld feature consistency index of the pipe diameter data is positively correlated with the second difference of the pipe diameter data, and negatively correlated with the co-location similarity of the pipe diameter data.

[0037] In one embodiment, the process of obtaining the corrected pipe diameter data is as follows:

[0038] The weld confidence coefficients of all pipe diameter data of a single pipeline are input into the threshold segmentation algorithm to obtain the segmentation threshold; the pipe diameter data whose weld confidence coefficient is greater than or equal to the segmentation threshold is used as the weld pipe diameter data; the weld pipe diameter data in the new pipe diameter data sequence of a single pipeline is eliminated, and the vacant values ​​generated after eliminating the weld pipe diameter data are filled with an interpolation algorithm to obtain the corrected pipe diameter data sequence of the single pipeline, and the data in the corrected pipe diameter data sequence is recorded as the corrected pipe diameter data.

[0039] This application has at least the following beneficial effects:

[0040] The present application constructs a pipe diameter protrusion coefficient and a weld confidence coefficient to characterize the abnormality of each pipe diameter data by analyzing the abnormal values ​​collected in the pipe diameter data of the waste heat boiler pipeline and the particularity of the change of the pipe diameter data at the pipeline weld. The abnormal values ​​and the pipe diameter data at the pipeline weld are corrected based on the pipe diameter protrusion coefficient and the weld confidence coefficient, respectively, so as to optimize the original waste heat boiler pipeline data, solve the problem of the influence of the abnormal values ​​of data collection on the accuracy of pipeline drawing generation when collecting data for the waste heat boiler pipeline and the interference problem of the pipe diameter data at the pipeline weld on the generation of pipeline drawings, thereby improving the accuracy of subsequent drawing generation of the waste heat boiler pipeline. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0042] Figure 1A flowchart of a computer-aided waste heat boiler pipeline drawing generation method provided in this application;

[0043] Figure 2 Schematic diagram of the steps for obtaining the pipe diameter protrusion coefficient. DETAILED DESCRIPTION

[0044] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the computer-aided waste heat boiler pipeline drawing generation method proposed in the present application, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0045] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.

[0046] The specific scheme of the computer-aided waste heat boiler pipeline drawing generation method provided in this application is described in detail below with reference to the accompanying drawings.

[0047] An embodiment of the present application provides a computer-aided method for generating waste heat boiler pipeline drawings.

[0048] Specifically, the following computer-aided waste heat boiler pipeline drawing generation method is provided, please refer to Figure 1 , the method comprises the following steps:

[0049] Step S1: Collect waste heat boiler pipeline data, including each pipe diameter data of each pipe and the height data of each pipe diameter data at the corresponding position on the pipe and the height data of the connection between each pipe and the waste heat boiler; construct a pipe diameter data sequence of each pipe based on all pipe diameter data of each pipe.

[0050] The waste heat boiler pipeline data is obtained from the data storage module in the waste heat boiler pipeline data acquisition device. Among the waste heat boiler pipeline data, one of the most critical data affecting the generation of drawings is the pipe diameter data of the pipeline. Usually, the pipe diameter data of the pipeline may be set to different sizes at different locations according to different needs. Therefore, in addition to the pipe diameter value itself, the pipe diameter data also comes with the corresponding height position data of the pipe diameter data in the pipeline, as well as the height position data of the head and tail connection positions where the pipeline is connected to the waste heat boiler. The method for obtaining each pipe diameter data of each pipeline is:

[0051] The diameter data of the pipe is collected every 5 cm on the pipe by using a laser rangefinder to obtain the diameter data of each position of a single pipe; the height from the ground at the corresponding position of each diameter data is obtained, and recorded as the first height of each diameter data. It should be noted that the interval of the diameter data collection position can be set by the implementer, and this embodiment does not make specific restrictions; this application only provides a method for collecting diameter data, and the implementer also uses other methods to collect diameter data, and this application does not make specific restrictions.

[0052] For a single pipeline, the height from the ground where the pipeline is connected to the waste heat boiler is recorded as the second height of the pipeline.

[0053] All the pipe diameter data of a single pipe are arranged in descending order according to the first heights corresponding thereto to obtain a pipe diameter data sequence of the single pipe.

[0054] Step S2: according to the height data and the diameter characteristics of the waste heat boiler pipeline, a clustering algorithm is combined to obtain the diameter protrusion coefficient of each diameter data of each pipeline in the same cluster.

[0055] As an example, the step may include the following steps:

[0056] (1) Cluster all pipelines according to their second heights to obtain clusters:

[0057] Waste heat boiler pipes are usually vertical pipes, and according to different needs, there will be pipes of different diameters and lengths. The relevant specifications of pipes for the same purpose are similar, but there may be certain specification differences due to the different locations where the waste heat boilers are connected. Therefore, the second height of all pipes is input into the DPC clustering algorithm to cluster the waste heat boiler pipes to obtain various cluster clusters. It should be noted that this application only provides one clustering algorithm, and the implementer may also use other clustering algorithms for clustering. This application does not make specific restrictions. The connection height of each pipe on the waste heat boiler in the same cluster cluster is approximately the same. For each pipe in the same cluster cluster, the pipe diameter data at the same first height is generally approximately the same. If the pipe diameter of a pipe at the same height changes significantly or there are certain differences, it is possible that the pipe diameter data of the pipe at this height is biased.

[0058] (2) For each pipeline, the self-prominence of each pipe diameter data of the pipeline is calculated based on the abnormality of each pipe diameter data of the pipeline:

[0059] For each pipeline, all the pipe diameter data of the pipeline are used as the input of the anomaly detection algorithm, and the output is the anomaly score value of each pipe diameter data; the prominence of each pipe diameter data itself is positively correlated with the anomaly score value of each pipe diameter data.

[0060] It should be noted that there are many existing methods for obtaining the anomaly score value of each data. This embodiment adopts the LOF anomaly detection algorithm to obtain the LOF anomaly score value of each pipe diameter data. The implementer may also use algorithms such as isolation forest to calculate the anomaly score value of each pipe diameter data. This embodiment does not make specific restrictions.

[0061] Preferably, as an embodiment of the present application, the self-prominence of each pipe diameter data can be the abnormality score value of each pipe diameter data; in other embodiments of the present application, the difference between the abnormality score values ​​of each pipe diameter data and other pipe diameter data of the same pipeline is calculated and recorded as the abnormality score difference, and the self-prominence of each pipe diameter data can also be the average of all the abnormality score differences between each pipe diameter data and other pipe diameter data.

[0062] The more obvious the prominence of the diameter data of a single pipeline is, the greater its own prominence is, which means that the diameter data is more seriously outliers from the diameter data of the pipeline, and the more likely it is not the original diameter data of the pipeline, and the greater the abnormality is.

[0063] (3) Based on the difference between the pipe diameter data of different pipes but the same first height in the same cluster, the data suspicious coefficient of each pipe diameter data is obtained:

[0064] Among all the pipe diameter data of all the pipes in the same cluster, for any pipe diameter data, obtain the pipe diameter data whose first height is the same as the first height of any pipe diameter data as the same height pipe diameter data of the any pipe diameter data; obtain the difference between the first height of any pipe diameter data and each of the same height pipe diameter data as the first difference, which is recorded as the first difference; and the data suspicious coefficient of any pipe diameter data is positively correlated with the first difference.

[0065] Preferably, as an embodiment of the present application, the first difference may be the absolute value of the difference between the first height of any pipe diameter data and each of its same high pipe diameter data; the data suspicious coefficient of any pipe diameter data may be the average value of all the first differences of any pipe diameter data.

[0066] If the difference in the diameter data of a single pipeline in the same cluster at the same height is more obvious, it means that the diameter data of the pipeline at this height is significantly different from the diameters of other pipelines in the same cluster. The more prominent the abnormality of the diameter data is, the higher the data suspicious coefficient of the diameter data at this height is.

[0067] (4) Obtain the Davidson-Dinburgh index for each cluster.

[0068] The Davidson-Dinburgh Index is a well-known technology, and the specific process will not be described in detail. The smaller the Davidson-Dinburgh Index of each cluster, the better the clustering effect of each cluster, indicating that the pipes in the cluster are more likely to belong to the same type of pipes. If there is a difference in the diameter data of a certain pipe, it is more likely that the diameter data is abnormal.

[0069] (5) Based on the protrusion situation, data suspicious coefficient and Davidson-Dinburgh index, the diameter protrusion coefficient of each diameter data of each pipeline is obtained:

[0070] The diameter prominence coefficient of each diameter data is positively correlated with the prominence of each diameter data and the data suspicious coefficient, and is negatively correlated with the Davidson-Dinburgh index of the cluster where each diameter data is located.

[0071] Preferably, as an embodiment of the present application, the diameter prominence coefficient of each diameter data may be the ratio of the product of the prominence of each diameter data itself and the data suspicious coefficient to the Davidson-Dinburgh index of the cluster where each diameter data is located.

[0072] Step S3: based on the pipe diameter protrusion coefficient, abnormal pipe diameter data in the pipe diameter data sequence are eliminated to construct a new pipe diameter data sequence for each pipeline; according to the change of pipe diameter data in the welding part of the pipeline, the weld confidence coefficient of each pipe diameter data in the new pipe diameter data sequence is constructed.

[0073] As an example, the step may include the following steps:

[0074] Since the waste heat boiler pipeline is mainly assembled by welding, there will be some welding marks on the pipeline, and the welding marks are mainly bulges in the pipeline. However, the bulges presented by the weld are small, and the difference in the aperture data of conventional pipelines is small. It is difficult to indicate whether the current pipe diameter data is normal based on the above method alone, so further analysis is needed.

[0075] Usually, the pipe diameter data of the pipeline will show a situation of rising first and then falling on the welding trace. The more obvious the weld, the larger the interval between the rise and fall of the pipe diameter data. The welding traces at the connection between the pipeline and the air bag and water bag are more obvious, and the pipe diameter data mainly shows a gradual increase. In order to avoid the influence of the weld data on the generation of subsequent pipeline drawings, it is also necessary to correct the data anomalies generated by the pipeline weld.

[0076] (1) Distinguish between normal diameter data and abnormal diameter data based on the diameter protrusion coefficient of the diameter data; remove the abnormal diameter data in the diameter data sequence of each pipeline, and fill in the diameter data at the position of the removed data through the data filling algorithm to obtain a new diameter data sequence for each pipeline:

[0077] The actual weld's effect on the pipe diameter data is not completely smooth. The pipe diameter data at the weld mainly rises first, then fluctuates to a certain extent, and then drops to the normal pipe diameter data size range. Since the arrangement of waste heat boiler pipelines is relatively consistent, the weld position of each pipeline is relatively consistent. Specifically, when the pipe diameter data of a single pipeline changes due to the weld, the pipe diameter data of the remaining pipelines will also change at similar positions.

[0078] The diameter protrusion coefficient of all diameter data of a single pipeline is used as the input of the DBSCAN clustering algorithm. In this application, the radius parameter is set to 3. It should be noted that the radius parameter can be set by the implementer, and this application does not make specific restrictions. Each output cluster is recorded as the first cluster;

[0079] For each first cluster of a single pipeline, the mean of all the pipe diameter protrusion coefficients in the first cluster is recorded as the first mean; the maximum value of the first mean of all the first clusters of a single pipeline is obtained, and the first cluster corresponding to the maximum value is recorded as an abnormal cluster; all the pipe diameter data in the abnormal cluster is used as abnormal pipe diameter data; and the remaining pipe diameter data is used as normal pipe diameter data;

[0080] The abnormal diameter data in the diameter data sequence of a single pipeline are removed, and the vacant values ​​generated after the abnormal diameter data are removed are filled with the mean filling algorithm to obtain a new diameter data sequence of the single pipeline.

[0081] It should be noted that the mean filling algorithm is a well-known technology, and implementers may also use other interpolation algorithms to fill in data, which is not specifically limited in this embodiment.

[0082] (2) Divide the new diameter data sequence of each pipeline into sequence segments; based on the data fluctuations in each sequence segment and the difference with other sequence segments, obtain the local fluctuation characteristics of each sequence segment:

[0083] The new diameter data sequence of each pipeline is equally divided into a preset number of sequence segments. It should be noted that the preset number can be set by the implementer. In this embodiment, the preset number is set to 50;

[0084] The variance of all pipe diameter data in each sequence segment is calculated and recorded as the first variance. The distance between any sequence segment of the same pipeline and each of the other sequence segments is calculated as the first distance of any sequence segment. The local fluctuation characteristics of each sequence segment are positively correlated with the first variance and the first distance of each sequence segment.

[0085] Preferably, as an embodiment of the present application, the first distance may be the dtw distance between any sequence segment and each of the remaining sequence segments of the same pipeline; the mean of all the first distances of any sequence segment is calculated and recorded as the second mean of any sequence segment; the local fluctuation characteristic of each sequence segment may be the product of the first variance of each sequence segment and the second mean.

[0086] When the data changes in a single sequence segment are more obvious, and the fluctuation characteristics of the sequence segment are more prominent in all sequence segments, and the local fluctuation characteristics of the sequence segment are larger, it means that the data in the sequence segment is more likely to be the pipe diameter data of the location of the pipeline weld.

[0087] (3) Based on the differences between the pipe diameter data in a single pipeline and the similarity of the pipe diameter data at the same height, the weld characteristic consistency index of each pipe diameter data in each new pipe diameter data sequence is obtained:

[0088] Obtaining the difference between a certain pipe diameter data and each other pipe diameter data in the new pipe diameter data sequence of the same pipe, and recording it as the second difference of the certain pipe diameter data;

[0089] The set of pipe diameter data with the same first height in the new pipe diameter data sequence of all pipelines is recorded as a same-height pipe diameter set; in each same-height pipe diameter set, for any pipe diameter data, the average value of all remaining pipe diameter data except the any pipe diameter data is recorded as the first average value of the any pipe diameter data; the difference between each pipe diameter data and its corresponding first average value is taken as the co-location similarity of each pipe diameter data;

[0090] For each pipe diameter data in each new pipe diameter data sequence, the weld feature consistency index of the pipe diameter data is positively correlated with the second difference of the pipe diameter data, and negatively correlated with the co-location similarity of the pipe diameter data.

[0091] Preferably, as an embodiment of the present application, the second difference may be the difference between any pipe diameter data and each other pipe diameter data in the new pipe diameter data sequence of the same pipe; the weld feature consistency index of each pipe diameter data may be the ratio of the second difference of each pipe diameter data to the co-location similarity.

[0092] The more prominent a single pipe diameter data is in the pipe diameter data of the pipeline in which it is located, and the smaller the difference between it and the other pipe diameter data at the same height is, the larger the corresponding weld feature consistency index is, indicating that the pipe diameter data is more likely to be the pipe diameter data of the position where the weld is located in the pipeline.

[0093] (4) Based on the local fluctuation characteristics of each sequence segment and the weld characteristic consistency index of each pipe diameter data, the weld confidence coefficient of each pipe diameter data in each sequence segment is obtained:

[0094] The weld confidence coefficient of each pipe diameter data in each sequence segment is positively correlated with the local fluctuation characteristics of each sequence segment and the weld characteristic consistency index of each pipe diameter data in each sequence segment.

[0095] Preferably, as an embodiment of the present application, the weld confidence coefficient of each pipe diameter data in each sequence segment may be the product of the local fluctuation characteristics of each sequence segment and the weld characteristic consistency index of each pipe diameter data in each sequence segment.

[0096] Step S4: obtaining the corrected pipe diameter data of all pipelines based on the weld confidence coefficient of each pipe diameter data in each new pipe diameter data sequence.

[0097] The weld confidence coefficients of all pipe diameter data of a single pipeline are input into the threshold segmentation algorithm to obtain the segmentation threshold; the pipe diameter data with weld confidence coefficients greater than or equal to the segmentation threshold are used as weld pipe diameter data; the pipe diameter data with weld confidence coefficients less than the segmentation threshold are used as conventional pipe diameter data; the weld pipe diameter data in the new pipe diameter data sequence of a single pipeline are eliminated, and the vacant values ​​generated after eliminating the weld pipe diameter data are filled with an interpolation algorithm to obtain a revised pipe diameter data sequence of a single pipeline, and the data in the revised pipe diameter data sequence are recorded as revised pipe diameter data.

[0098] It should be noted that the implementer can select the threshold segmentation algorithm at his / her own. This implementation uses the Otsu method for threshold segmentation. There are many existing interpolation algorithms, and the implementer can select the interpolation algorithm at his / her own to fill in the missing values. This embodiment uses the Lagrange interpolation method to fill in the missing values.

[0099] Step S5: Generate a waste heat boiler pipeline drawing using the corrected pipe diameter data.

[0100] Based on the corrected diameter data of all pipelines and other relevant data of the waste heat boiler pipeline, such as pipeline length, pipeline wall thickness, joint inner diameter, etc., the drawings of the waste heat boiler pipeline are generated. The main steps include:

[0101] (1) Establish a database: Classify all types of waste heat boiler pipe fittings, and customize the codes of the corresponding parameters of each component of the classified pipe fittings, enter the defined component codes into the database, and set the external input parameters, internal calculation parameters and output parameter options after the codes. Classify all nozzles on the pipeline according to structure, customize the nozzle keyword codes, and enter them into the database, while providing sufficient customized parameters and built-in parameters.

[0102] (2) Establish a symbol library: define the symbol code, and define the constants and variables in the symbol code respectively, and enter the corresponding 2D drawing template and 3D drawing template into the symbol library. Each drawing template has corresponding constants and variables. The constants are fixed, and the variables correspond to the output parameters corresponding to the components.

[0103] (3) Import or create a three-dimensional model in the PDMS platform, select the model according to the requirements, fill in the design parameters, and add welds; divide the pipeline into segments according to the set pipeline segmentation requirements to form pipe segments.

[0104] (4) All pipeline segment drawings are automatically generated under the sketch block, and the corresponding opening details, welding details, groove details, etc. are automatically added according to the nozzle type on the pipe segment.

[0105] (5) Call the method !this.creatolet() to check whether the nozzle keyword code is a standard part. If it is a non-standard nozzle, the nozzle parts drawing is automatically generated and stored in the database. If it is a standard nozzle, a detailed production list is sufficient.

[0106] (6) According to the pipe segments divided in step (3), add serial numbers to each pipe segment and automatically generate a detailed list on the drawing. Call the method !this.materlist(). First, create a new two-dimensional array to store variables based on the company's standard bill of materials catalog, then merge similar items and sort all parts in the drawing, and finally assign the result to the two-dimensional array, and use the drawing method to generate a detailed list on the sketch.

[0107] (7) Call the method !this.output() to convert all sketches into DWG format drawings for batch export.

[0108] The process of generating drawings of waste heat boiler pipelines based on the corrected pipe diameter data of all pipelines and other relevant data of the waste heat boiler pipelines, such as pipeline length, pipeline wall thickness, joint inner diameter and other data, is a well-known technology. This embodiment only provides a drawing generation method. The implementer may also use other methods to generate drawings, and this embodiment does not make specific restrictions.

[0109] The schematic diagram of the steps for obtaining the pipe diameter protrusion coefficient is as follows Figure 2 shown.

[0110] In summary, the embodiment of the present application constructs a pipe diameter protrusion coefficient and a weld confidence coefficient to characterize the abnormality of each pipe diameter data by analyzing the abnormal values ​​collected in the pipe diameter data of the waste heat boiler pipeline and the particularity of the change of the pipe diameter data at the pipeline weld. The abnormal values ​​and the pipe diameter data at the pipeline weld are corrected based on the pipe diameter protrusion coefficient and the weld confidence coefficient, respectively, so as to optimize the original waste heat boiler pipeline data, solve the problem of the influence of the abnormal values ​​of data collection on the accuracy of pipeline drawing generation when collecting data for the waste heat boiler pipeline and the interference problem of the pipe diameter data at the pipeline weld on the generation of pipeline drawings, thereby improving the accuracy of subsequent drawing generation of the waste heat boiler pipeline.

[0111] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of the present application are described. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0112] The various embodiments in the present application are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0113] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Modifications to the technical solutions recorded in the aforementioned embodiments, or equivalent replacement of some of the technical features therein, do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A computer-aided method for generating drawings of waste heat boiler pipelines, characterized in that: The method comprises the following steps: (1) Collecting waste heat boiler pipeline data, including each pipe diameter data of each pipe and height data of each pipe diameter data at a corresponding position on the pipe, recording the height data as a first height, and height data of the connection between each pipe and the waste heat boiler, recording the height data as a second height; and taking a sequence composed of all pipe diameter data of each pipe as a pipe diameter data sequence of each pipe; (2) According to the first height, the second height and the pipe diameter characteristics of the waste heat boiler pipe, a clustering algorithm is combined to obtain the pipe diameter protrusion coefficient of each pipe diameter data of each pipe in the same cluster; (3) Based on the pipe diameter protrusion coefficient, the abnormal pipe diameter data in the pipe diameter data sequence is eliminated to construct a new pipe diameter data sequence for each pipeline; according to the change of the pipe diameter data in the welding part of the pipeline, the weld confidence coefficient of each pipe diameter data in each new pipe diameter data sequence is constructed; (4) Obtaining the corrected pipe diameter data of all pipelines based on the weld confidence coefficient of each pipe diameter data in each new pipe diameter data sequence; (5) Generate waste heat boiler pipeline drawings using corrected pipe diameter data; The process of obtaining the pipe diameter protrusion coefficient is as follows: Cluster all pipelines according to their second heights to obtain clusters; For each pipeline, the self-prominence of each pipe diameter data of the pipeline is calculated based on the abnormality of each pipe diameter data of the pipeline; The data suspicious coefficient of each pipe diameter data is obtained based on the difference between pipe diameter data of different pipes but the same first height in the same cluster; Get the Davidson-Dinburgh index for each cluster; The diameter prominence coefficient of each diameter data is positively correlated with the prominence of each diameter data and the data suspicious coefficient, and negatively correlated with the Davidson-Dinburgh index of the cluster where each diameter data is located. The process of obtaining the weld confidence coefficient of each pipe diameter data in each new pipe diameter data sequence is as follows: The new diameter data sequence of each pipeline is divided into various sequence segments; based on the fluctuation of data in each sequence segment and the difference with other sequence segments, the local fluctuation characteristics of each sequence segment are obtained; Based on the differences between the pipe diameter data in a single pipeline and the similarity of the pipe diameter data at the same height, the weld characteristic consistency index of each pipe diameter data in each new pipe diameter data sequence is obtained; The weld confidence coefficient of each pipe diameter data in each sequence segment is positively correlated with the local fluctuation characteristics of each sequence segment and the weld characteristic consistency index of each pipe diameter data in each sequence segment; The process of obtaining the corrected pipe diameter data is as follows: The weld confidence coefficients of all pipe diameter data of a single pipeline are input into the threshold segmentation algorithm to obtain the segmentation threshold; the pipe diameter data whose weld confidence coefficient is greater than or equal to the segmentation threshold is used as the weld pipe diameter data; the weld pipe diameter data in the new pipe diameter data sequence of a single pipeline is eliminated, and the vacant values ​​generated after eliminating the weld pipe diameter data are filled with an interpolation algorithm to obtain the corrected pipe diameter data sequence of the single pipeline, and the data in the corrected pipe diameter data sequence is recorded as the corrected pipe diameter data.

2. The computer-aided waste heat boiler pipeline drawing generation method according to claim 1, characterized in that: The process of obtaining the self-prominent situation is as follows: All pipe diameter data of the pipeline are used as the input of the anomaly detection algorithm, and the output is the anomaly score value of each pipe diameter data; the prominence of each pipe diameter data itself is positively correlated with the anomaly score value of each pipe diameter data.

3. The computer-aided waste heat boiler pipeline drawing generation method according to claim 1, characterized in that: The process of obtaining the data suspicious coefficient is as follows: Among all the pipe diameter data of all the pipes in the same cluster, for any pipe diameter data, obtain the pipe diameter data whose first height is the same as the first height of the any pipe diameter data as the same height pipe diameter data of the any pipe diameter data; obtain the difference between the any pipe diameter data and the first height corresponding to each of the same height pipe diameter data, and record it as the first difference; the data suspicious coefficient of the any pipe diameter data is positively correlated with the first difference.

4. The computer-aided waste heat boiler pipeline drawing generation method according to claim 1, characterized in that: The method of eliminating abnormal pipe diameter data in the pipe diameter data sequence based on the pipe diameter protrusion coefficient and constructing a new pipe diameter data sequence for each pipeline is specifically as follows: The diameter protrusion coefficient of all the diameter data of a single pipeline is used as the input of the clustering algorithm, and each output cluster is recorded as the first cluster; For each first cluster of a single pipeline, the mean of all the pipe diameter protrusion coefficients in the first cluster is recorded as the first mean; the maximum value of the first mean of all the first clusters of a single pipeline is obtained, and the first cluster corresponding to the maximum value is recorded as an abnormal cluster; all the pipe diameter data in the abnormal cluster is taken as abnormal pipe diameter data; The abnormal diameter data in the diameter data sequence of a single pipeline are removed, and the vacant values ​​generated after the abnormal diameter data are removed are filled with an interpolation algorithm to obtain a new diameter data sequence of the single pipeline.

5. The computer-aided waste heat boiler pipeline drawing generation method according to claim 1, characterized in that: The process of acquiring the sequence segments is as follows: the new pipe diameter data sequence of each pipeline is equally divided to obtain a preset number of sequence segments.

6. The computer-aided waste heat boiler pipeline drawing generation method according to claim 1, characterized in that: The process of obtaining the local fluctuation characteristics is as follows: The variance of all pipe diameter data in each sequence segment is calculated and recorded as the first variance. The distance between any sequence segment of the same pipeline and each of the other sequence segments is calculated as the first distance of any sequence segment. The local fluctuation characteristics of each sequence segment are positively correlated with the first variance and the first distance of each sequence segment.

7. The computer-aided waste heat boiler pipeline drawing generation method according to claim 1, characterized in that: The process of obtaining the weld feature consistency index is as follows: Obtaining the difference between a certain pipe diameter data and each other pipe diameter data in the new pipe diameter data sequence of the same pipe, and recording it as the second difference of the certain pipe diameter data; The set of pipe diameter data with the same first height in the new pipe diameter data sequence of all pipelines is recorded as a same-height pipe diameter set; in each same-height pipe diameter set, for any pipe diameter data, the average value of all remaining pipe diameter data except the any pipe diameter data is recorded as the first average value of the any pipe diameter data; the difference between each pipe diameter data and its corresponding first average value is taken as the co-location similarity of each pipe diameter data; For each pipe diameter data in each new pipe diameter data sequence, the weld feature consistency index of the pipe diameter data is positively correlated with the second difference of the pipe diameter data, and negatively correlated with the co-location similarity of the pipe diameter data.