A rapid quality inspection method for smart water project sections

By automatically identifying the three elements of the section in CAD and combining the calculation of the inversion data point coordinates, the problem of low quality inspection efficiency of the sections of smart water projects has been solved, and efficient automatic overlay drawing and quality inspection of section data have been achieved, thereby improving the completeness of the inspection and operational efficiency.

CN115422611BActive Publication Date: 2025-09-19NANJING RES INST OF SURV MAP & GEOTECH INVESTIG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211054255.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2025-09-19
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

The existing quality inspection method for cross-sections of smart water projects relies on manual inspection, which is inefficient and requires high experience, resulting in low inspection completion rate and limiting the operational efficiency between multiple processes.

Method used

By automatically identifying the three elements of the section in CAD, using the vertical distance threshold to match the section polyline and the zero point circle, and combining the center of the circle and the elevation difference to calculate the coordinates of the inversion data point, the automatic superposition and drawing of the section data on the topographic map can be achieved.

Benefits of technology

It realizes the automated quality inspection of cross-section data, improves the inspection efficiency, reduces the requirements for quality inspection experience, and ensures the completeness of the inspection and the operating efficiency between multiple processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115422611B_ABST
    Figure CN115422611B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for rapid quality inspection of the cross-section of a smart water conservancy project. The provided method for rapid cross-section quality inspection can automatically realize the superimposition and drawing of TXT data of the cross-section of the water conservancy project on the topographic map through automatic recognition and matching of the three elements of the cross-section in CAD, and finally complete the rapid quality inspection of the cross-section based on references such as the terrain. It has two advantages: on the one hand, the cross-section TXT data is inverted through automatic recognition and matching of the three elements of the cross-section, and superimposed drawing is realized with the terrain without repeated switching, thereby optimizing the current cross-section quality inspection method and improving inspection efficiency; on the other hand, the rapid quality inspection method can reduce the requirements for quality inspection experience, improve the completion of inspections at all levels, thereby reducing the difficulty of work at all levels and ensuring the operating efficiency between multiple processes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent water conservancy projects, and specifically relates to a method for quickly inspecting the quality of cross-sections in intelligent water conservancy projects. Background Art

[0002] In the field of intelligent water conservancy projects, cross-section measurement is the most basic preliminary work. In fieldwork, a GNSS receiver is used to directly measure and collect the three-dimensional coordinates of discrete points, and then the surveyors complete the trimming of topographic maps, extract txt data in the format of engineering cross-sections, and draw cross-section diagrams. Then, it must go through "self-checking, mutual checking" and "checking and auditing" required by the standard "Quality Inspection and Acceptance of Surveying and Mapping Results (GB / T 24356 - 2009)". Only after all inspections are passed can it be submitted to designers for applications such as river dredging and landscape renovation.

[0003] Currently, the inspection of cross-section data at all levels is mainly completed through methods such as "repeatedly switching between topographic maps and cross-section diagrams, comparing item by item, and simultaneously checking the consistency between cross-section txt data and cross-section diagrams". This places high requirements on the experience of quality inspectors and requires them to maintain concentration at all times, resulting in greater work pressure. Moreover, the above methods are relatively primitive, leading to low inspection efficiency and incomplete inspection, increasing the difficulty of downstream inspections, restricting the operating efficiency between multiple processes, and even causing the results to be unable to be submitted in a timely manner. Summary of the Invention

[0004] The purpose of the present invention is to address the deficiencies of the above-mentioned existing technologies and provide a method for quickly inspecting the quality of cross-sections in intelligent water conservancy projects. To solve the above technical problems / To achieve the above purpose, the technical solution provided by the present invention is as follows:

[0005] A method for quickly inspecting the quality of cross-sections in intelligent water conservancy projects includes the following steps:

[0006] In the first step, read the txt file of the cross-section of the water conservancy project to obtain n pieces of cross-section information, and in CAD, select and identify three elements: the polyline of the cross-section, the zero circle, and the mileage text.

[0007] In the second step, calculate the perpendicular distance from any zero circle and mileage text to a polyline of a cross-section to obtain the zero circle and mileage text closest to this polyline of the cross-section. At this time, the perpendicular distance from the zero circle closest to this polyline of the cross-section to the polyline of this cross-section is L1, and the perpendicular distance from the mileage text closest to this polyline of the cross-section to the polyline of this cross-section is L2. Respectively set the perpendicular distance threshold E1 from the zero circle to the polyline of the cross-section and the perpendicular distance threshold E2 from the mileage text to the polyline of the cross-section. If L1 < E1 and L2 < E2, then the identification and matching of one cross-section are completed.

[0008] In the third step, repeat the second step until all identifications and matches are completed, obtaining m pieces of element information, which constitute an element information set.

[0009] The fourth step is to extract the i-th (i=1,…,n) cross-section information, where n is a natural number greater than 1. Each cross-section information has multiple data points, and each data point has two values: "zero distance Lo" and "elevation H". The corresponding cross-section polyline and zero point circle are selected from the feature information set through precise mileage text matching, and the zero point circle position is used as the reference.

[0010] The fifth step is to draw a circle with the zero point circle position as the center and the absolute value of the zero point distance Lo as the radius, and intersect with the cross-section polyline. According to the definition of "according to the direction of the cross-section polyline, when the zero point distance is greater than zero, the intersection is on the right side of the zero point circle, otherwise on the left", one intersection point is discarded to obtain the virtual position of the data point on the cross-section polyline. With this position as the center and the absolute value of the difference ΔH between the data point elevation and the zero point elevation × the scaling factor β as the radius, draw a circle. Then, with the two intersection points of this circle and the cross-section polyline as the center, and |ΔH|×β as the radius, draw a circle. The two circles intersect. According to the definition of "according to the direction of the cross-section polyline, when the difference ΔH is greater than zero, the intersection is on the left side of the cross-section polyline, otherwise on the right", one intersection point is discarded to obtain the plane coordinates of the inversion point.

[0011] Step 6: Repeat step 5 until the inversion of all data points in the current section is completed. Then, connect all inversion points in sequence to draw a polyline and mark the corresponding elevations to obtain a terrain section.

[0012] Step 7: Repeat steps 4 to 6 until the inversion of n cross-section information and the drawing of topographic cross-sections are completed;

[0013] Step 8: Quickly complete cross-section quality inspection in CAD based on references such as terrain.

[0014] Furthermore, in the second step, the vertical distance threshold E1 from the zero point circle to the section polyline and the vertical distance threshold E2 from the mileage text to the section polyline are respectively used to accurately identify the zero point circle and mileage text matching the section polyline.

[0015] Furthermore, the vertical distance threshold E1 from the zero-point circle to the section polyline and the vertical distance threshold E2 from the mileage text to the section polyline are set based on the graphics finishing accuracy and the section polyline density.

[0016] As a preferred solution, in the second step, the vertical distance is calculated by using the secondary developed GetClosestPointTo interface.

[0017] As a preferred solution, in the fifth step, the intersection of the circle line and the circle is completed using the secondary developed IntersectWith interface, thereby eliminating the circle equation (x-x0) 2 +(y-y0) 2 =R 2, the method of obtaining parameters of the line equation y=kx+z is unstable and redundant.

[0018] Compared with the prior art, the present invention has the following beneficial effects:

[0019] The present invention provides a method for rapid quality inspection of the cross-section quality of smart water projects. The method can automatically realize the superimposition and drawing of the engineering cross-section txt data on the topographic map through automatic recognition and matching of the three elements of the cross-section in CAD, and finally complete the rapid quality inspection of the cross-section based on references such as the terrain. It has two advantages: on the one hand, the cross-section txt data is inverted through automatic recognition and matching of the three elements of the cross-section, and superimposed drawing is achieved with the terrain without repeated switching, thereby optimizing the current cross-section quality inspection method and improving inspection efficiency; on the other hand, the rapid quality inspection method can reduce the requirements for quality inspection experience, improve the completion of inspections at all levels, thereby reducing the difficulty of work at all levels and ensuring the operating efficiency between multiple processes. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a flow chart of the implementation of the present invention.

[0021] Figure 2 It is a schematic diagram of three elements of the water conservancy project section of the present invention.

[0022] Figure 3 It is a txt text schematic diagram of the water conservancy project section of the present invention.

[0023] Figure 4 Schematic diagram of data point inversion according to the present invention.

[0024] Figure 5 It is a superimposed drawing of the water conservancy project section of the present invention. DETAILED DESCRIPTION

[0025] The above contents of the present invention are further described in detail below in the form of embodiments, but this should not be understood as the scope of the above subject matter of the present invention being limited to the following embodiments. All technologies implemented based on the above contents of the present invention fall within the scope of the present invention.

[0026] like Figure 1 As shown, the present invention provides a method for rapid quality inspection of a section of a smart water project, comprising the following steps:

[0027] The first step is to read the water conservancy project section txt file to obtain n sections of information, and then select and identify the three elements of the section polyline, zero point circle, and mileage text in CAD;

[0028] Step 2: Calculate the perpendicular distances from any zero circle and mileage text to a cross-section polyline, and obtain the zero circle and mileage text closest to this cross-section polyline. At this time, the perpendicular distance from the zero circle closest to this cross-section polyline to the cross-section polyline is L1, and the perpendicular distance from the mileage text closest to this cross-section polyline to the cross-section polyline is L2. Respectively set the perpendicular distance threshold E1 from the zero circle to the cross-section polyline and the perpendicular distance threshold E2 from the mileage text to the cross-section polyline. If L1 < E1 and L2 < E2, then the recognition of one cross-section and the matching of three elements are completed;

[0029] Step 3: Repeat Step 2 until all recognitions and matches are completed, obtaining m pieces of element information to form an element information set;

[0030] Step 4: Extract the i-th (i = 1, …, n) cross-section information, where n is a natural number greater than 1. Each cross-section information has multiple data points, and each data point has two values, "zero distance Lo" and "elevation H". Through accurate matching of mileage text, screen out the corresponding cross-section polyline and zero circle from the element information set, and use the position of this zero circle as the reference;

[0031] Step 5: Draw a circle with the position of the zero circle as the center and the absolute value of the zero distance Lo as the radius, which intersects with the cross-section polyline. According to the definition of "in the direction of the cross-section polyline, when the zero distance is greater than zero, the intersection point is on the right side of the zero circle, otherwise on the left side", judge and discard one intersection point to obtain the virtual position of the data point on the cross-section polyline. Draw a circle with this position as the center and the absolute value of the difference ΔH between the data point elevation and the zero elevation × scaling factor β as the radius. Then, with the two intersection points of this circle and the cross-section polyline as the centers, draw circles with |ΔH|×β as the radius. The two circles intersect. According to the definition of "in the direction of the cross-section polyline, when the difference ΔH is greater than zero, the intersection point is on the left side of the cross-section polyline, otherwise on the right side", judge and discard one intersection point to obtain the plane coordinates of the inversion point;

[0032] Step 6: Repeat Step 5 until the inversion of all data points of the current cross-section is completed. Then, connect all the inversion points in sequence to draw a polyline and mark the corresponding elevations to obtain a topographic cross-section;

[0033] Step 7: Repeat Steps 4 to 6 until the inversion of n cross-section information and the drawing of topographic cross-sections are completed;

[0034] Step 8: Quickly complete the cross-section quality inspection in CAD based on references such as topography.

[0035] In Step 2, the perpendicular distance threshold E1 from the zero circle to the cross-section polyline and the perpendicular distance threshold E2 from the mileage text to the cross-section polyline are respectively used to accurately identify the zero circle and mileage text that match the cross-section polyline.

[0036] The setting of the vertical distance threshold E1 from the zero circle to the cross-section polyline and the vertical distance threshold E2 from the mileage text to the cross-section polyline is determined by the graphic decoration accuracy and the cross-section polyline density.

[0037] In the second step, the vertical distance is obtained by using the secondary development GetClosestPointTo interface.

[0038] In the fifth step, the intersection of the circle line and the circle-circle is completed by using the secondary development IntersectWith interface, so as to eliminate the instability and redundancy of the method caused by obtaining parameters from the circle equation (x - x0) 2 +(y - y0) 2 = R 2 and the line equation y = kx + z.

[0039] According to Figure 1 the method flow shown, taking the inspection of a large ditch cross-section as an application example, the present invention is further illustrated:

[0040] In the first step, read the engineering cross-section txt data (in the format as Figure 3 shown, there are multiple groups of cross-section information, the first line of each group is the mileage text, and the other lines are data points, that is, the zero distance and the elevation value), and then select all three cross-section elements (the cross-section polyline, the zero circle, and the mileage text, as Figure 2 shown);

[0041] In the second step, arbitrarily select a cross-section polyline, and calculate the vertical distances from any zero circle and mileage text to this cross-section polyline respectively, to obtain the zero circle and mileage text closest to this cross-section polyline. At this time, the vertical distances are L1 and L2, and the thresholds E1 and E2 are set. If L1 < E1 and L2 < E2, then the three cross-section elements are complete, which is 1 piece of element information, indexed by the mileage text;

[0042] In the third step, repeat the second step until the recognition and matching of all selected elements are completed, and m pieces of element information are obtained;

[0043] In the fourth step, extract the i-th (i = 1,..., n) cross-section information in sequence, accurately index the corresponding cross-section polyline and zero circle from the element information set through the mileage text, and use the position of this zero circle as the reference;

[0044] In the fifth step, draw a circle with the position of the zero circle as the center and the absolute value of the zero distance Lo as the radius, intersect it with the cross-section polyline, and discard one intersection point based on the positive and negative of Lo (in the direction of the cross-section polyline, the left side of the zero circle is negative and the right side is positive), to obtain the virtual position of the data point on the cross-section polyline, as Figure 4 shown in the left 1 in Figure 4(shown in the middle left 2) is the center of the circle, Draw a circle with radius , and the two circles intersect, such as Figure 4 As shown in the middle right 2, based on the positive and negative of ΔH, one intersection point is discarded (according to the direction of the cross-section polyline, the left side of the line is negative and the right side is positive), and the inversion point (such as Figure 4 The plane coordinates shown in the middle right 1);

[0045] Step 6: Repeat step 5 until the inversion of all data points in the current group of sections is completed. Then, connect all inversion points in sequence to draw polylines and mark the corresponding elevations to obtain a terrain superimposed section, such as Figure 5 As shown;

[0046] Step 7: Repeat steps 4 to 6 until the inversion of n cross-section information and the drawing of topographic cross-sections are completed;

[0047] Step 8: Quickly complete cross-section quality inspection in CAD based on references such as terrain.

[0048] The above description is only a preferred embodiment of the present invention and does not constitute any form of limitation to the present invention. Any simple modification, equivalent replacement and improvement made by any technician familiar with the profession to the above embodiment without departing from the scope of the technical solution of the present invention and based on the technical essence of the present invention shall still fall within the scope of protection of the technical solution of the present invention.

Claims

1. A method for rapid quality inspection of sections of smart water projects, characterized by: It includes the following steps: In the first step, read the cross-section txt file of the water conservancy project to obtain n cross-section information, and select and identify the three elements of the cross-section polyline, zero circle, and mileage text in CAD; In the second step, calculate the perpendicular distance from any zero circle and mileage text to a cross-section polyline to obtain the zero circle and mileage text closest to this cross-section polyline. At this time, the perpendicular distance from the zero circle closest to this cross-section polyline to this cross-section polyline is L1, and the perpendicular distance from the mileage text closest to this cross-section polyline to this cross-section polyline is L2. Respectively set the perpendicular distance threshold E1 from the zero circle to the cross-section polyline and the perpendicular distance threshold E2 from the mileage text to the cross-section polyline. If L1 < E1 and L2 < E2, then the recognition and matching of one cross-section are completed; In the third step, repeat the second step until all recognition and matching are completed to obtain m element information, forming an element information set; In the fourth step, extract the i-th cross-section information, where n is a natural number greater than 1. Each cross-section information has multiple data points, and each data point has two values of "zero distance Lo" and "elevation H". Accurately match the mileage text to screen out the corresponding cross-section polyline and zero circle from the element information set, and use the position of this zero circle as the reference; i = 1,..., n; In the fifth step, draw a circle with the position of the zero circle as the center and the absolute value of the zero distance Lo as the radius, which intersects with the cross-section polyline. According to the definition of "in the direction of the cross-section polyline, when the zero distance is greater than zero, the intersection point is on the right side of the zero circle, otherwise on the left side", judge and discard one intersection point to obtain the virtual position of the data point on the cross-section polyline. Draw a circle with this position as the center and the absolute value of the difference ΔH between the data point elevation and the zero elevation × scaling factor β as the radius. Then, draw circles with the two intersection points of this circle and the cross-section polyline as the centers and |ΔH|×β as the radius. The two circles intersect. According to the definition of "in the direction of the cross-section polyline, when the difference ΔH is greater than zero, the intersection point is on the left side of the cross-section polyline, otherwise on the right side", judge and discard one intersection point to obtain the plane coordinates of the inversion point; In the sixth step, repeat the fifth step until the inversion of all data points of the current cross-section is completed, and then connect all the inversion points in sequence to draw a polyline and mark the corresponding elevation to obtain a topographic cross-section; In the seventh step, repeat the fourth step to the sixth step until the inversion and topographic cross-section drawing of n cross-section information are completed; In the eighth step, quickly complete the cross-section quality inspection based on the topographic reference in CAD.

2. The method for rapid quality inspection of a section of a smart water project according to claim 1 is characterized by: In the second step, the perpendicular distance threshold E1 from the zero circle to the cross-section polyline and the perpendicular distance threshold E2 from the mileage text to the cross-section polyline are respectively used to accurately identify the zero circle and mileage text that match the cross-section polyline.

3. The method for rapid quality inspection of a section of a smart water project according to claim 1 is characterized by: The setting of the perpendicular distance threshold E1 from the zero circle to the cross-section polyline and the perpendicular distance threshold E2 from the mileage text to the cross-section polyline is determined by the graphic finishing accuracy and the cross-section polyline density.

4. The method for rapid quality inspection of a section of a smart water project according to claim 1 is characterized by: In the second step, the perpendicular distance is obtained by using the secondary development GetClosestPointTo interface.

5. The method for rapid quality inspection of a section of a smart water project according to claim 1 is characterized by: In the fifth step, the intersection of the circle line and the circle is completed using the secondary developed IntersectWith interface, thereby eliminating the circle equation (x-x0) 2 +(y-y0) 2 =R 2 , the method of obtaining parameters of the line equation y=kx+z is unstable and redundant.

Citation Information

Patent Citations

  • Cross section mapping method in hydraulic engineering measurement

    CN113408033A

  • Computer-based river section data automatic identification, conversion and cleaning method

    CN113986232A