Transmission line tree data fitting method, readable storage medium and computer equipment
By constructing the envelope surface M and generating the tree envelope of the optimal path, the existing technology problems of low tree envelope drawing accuracy and difficulty in design optimization are solved, and high-precision transmission line design and optimization are achieved.
Patent Information
- Application Number
- CN202410780395.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-18
AI Technical Summary
When drawing the tree envelope of transmission lines using existing technology, the manual method is time-consuming and labor-intensive and has low accuracy. The automated method has limited accuracy due to irregular terrain undulations, and the large number of tree markers causes overlap and affects the design of the poles, making it difficult to ensure high efficiency. Precision and optimized design.
By obtaining the tree inventory file, the envelope surface M is constructed, and the forest envelope of the optimal path is generated. The path optimization operation is used to fill the vertices with the least height ratio method to draw the tree mark, combined with the upper sag margin value and lower sag. Margin value to optimize the design to improve accuracy.
It achieves high-precision generation of tree envelopes, reduces the number of vertices supplemented by height comparison methods, improves the accuracy and quality of engineering design, and reduces felling workload and design risks.
Smart Images

Figure CN118395737B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power line survey and design, and in particular to a transmission line tree data fitting method, a readable storage medium and a computer device. Background Art
[0002] Vegetation envelope is an important achievement in the cross-section diagram of overhead power transmission lines. It is survey data produced to facilitate the design of poles. It refers to the polyline of tree marks and tree mark vertices drawn in the cross section according to the plane marked forest measurement data or the specified natural growth height when the power transmission line crosses a forest area.
[0003] At present, power transmission lines, especially high-voltage power transmission lines, are basically designed with high spans to meet environmental protection requirements. Therefore, the scope and natural growth height of trees are more sensitive during the design and construction of power transmission lines.
[0004] During the field survey of the transmission line, the height, type, range, and density of the trees are investigated and measured, and the data are recorded in the plan. In the office, the tree data in the plan are summarized into a text file according to a certain digital code. The file contains the cumulative distance between the start and end of the tree, the natural growth height or the actual height, and the start or end symbol. Using the data content in the text file and the elevation of the corresponding section point, a number of tree marks with the height ratio method to fill the vertex are generated on the section according to a number of steps, and the tree marks are connected into a polyline. When designing the pole tower arrangement, the section part will directly consider the distance of the arc sag of the crossing line to the envelope line, or determine the workload of felling trees by measuring the cumulative distance of the arc sag of the crossing line cutting into the envelope line.
[0005] Currently, the following two methods are commonly used in the industry to draw envelopes:
[0006] ①Compare the tree information in the plane map, manually select points in the cross-section map to generate tree marks for the vertex using the height comparison method, and draw envelopes. This method is relatively primitive, consumes a lot of manpower and time, and has poor accuracy.
[0007] ② According to the coded text file, the program is used to generate the corresponding tree marks and envelopes of the vertex complement using the height comparison method. The algorithm of the program is mainly based on the fixed step length to generate tree marks. This method is more intelligent and saves manpower and time, but the accuracy is limited due to the irregular terrain, and the large number of tree marks overlaps with other important features and affects the design of poles.
[0008] Therefore, it is urgent to develop a transmission line tree data fitting method that can generate tree envelopes with high precision to solve the problems existing in the existing technology. Summary of the invention
[0009] The present invention discloses a method for fitting tree data for power transmission lines, including the steps of obtaining a tree list file, constructing an envelope surface M based on the obtained tree list file, generating a tree envelope line, and drawing tree marks based on the obtained tree envelope line. The method of the present invention generates the tree marks with the least height-comparison method to fill in the vertices in order to ensure the embodiment of effective elements of the drawing, and takes into account the felling workload and the accuracy of design optimization, and draws the optimal tree envelope line of the power transmission line, thereby ensuring the engineering design accuracy and improving the engineering design quality. The specific scheme is as follows:
[0010] A method for fitting tree data of a power transmission line comprises the following steps:
[0011] Step 1: Obtain tree inventory documents;
[0012] Step 2: Construct an envelope surface M based on the tree inventory file obtained in step 1, specifically: obtain the line segment L0 as the baseline; translate the line segment L0 upward by a fixed step length K1 to form a line segment L1; translate the line segment L0 downward by a fixed step length K2 to form a line segment L2; the surface formed by the lines connecting L1 and L2 and their respective endpoints is used as the envelope surface M, where: K1 and K2 are the upper sag margin value and the lower sag margin value respectively;
[0013] Step 3: Generate a tree envelope. In the envelope surface M obtained in step 2, set the starting point and end point of the line segment L0 as the starting point and end point of the optimal path, and perform a path optimization operation to obtain the tree envelope.
[0014] Step 4: Draw tree marks based on the tree envelope obtained in step 3.
[0015] Preferably, the tree inventory file in step one includes the cumulative distance of the starting point, the cumulative distance of the ending point and the height of the trees.
[0016] Preferably, obtaining the line segment L0 as the baseline in step 2 specifically includes:
[0017] Step 2-1, read the cumulative distance from the start point and the cumulative distance from the end point of each section in the tree list file, and set the power measurement plane section accuracy unit to ,by is the step length, traverse and search the corresponding section, take the maximum elevation value in each cumulative distance position, and get the highest point set P;
[0018] Step 2-2, connect the positions of all points in the highest point set P in step 2-1 in the cross section into a line segment L;
[0019] Step 2-3, vertically translate the line segment L obtained in step 2-2 in the cross section according to the height of the trees to obtain the line segment L0 as the baseline.
[0020] Preferably, three sections, namely the left line, the center line and the right line, are selected in each cumulative distance position, and the maximum elevation value of the three sections in each cumulative distance position is selected.
[0021] Preferably, generating the tree envelope in step 3 specifically includes the following steps:
[0022] Step 3-1, take the starting point and the end point as point A and point B respectively; connect point A and point B, and Make a judgment, if the line segment is in the envelope surface M, then the line segment is the shortest path, otherwise, go to the next step:
[0023] Step 3-2: Take point A as the starting point, AB as the reference direction, and fix the degree is the forward unit, scattered from point A rays; among them: is the distance of line segment AB; It is the unit of precision for power measurement cross section;
[0024] Step 3-3, select the first intersection position of each ray obtained in step 3-2 with the envelope surface M to obtain the intersection point set, and select the point with the largest coordinate in the intersection point set as point , ;
[0025] Step 3-4, point As the starting point, point A as the end point, determine the line segment ;
[0026] Step 3-5: Follow the fixed step length , trace back from the starting point to the end point along the determined line segment to obtain the point on the line segment Forming a collection ,in: , is the number of backtracking points; Take a natural number greater than or equal to 1;
[0027] Step 3-6: Set each point in the set Connect with point B to get all the points in the set The line segment with the end point B , determine the line segment Is it completely within the envelope surface M? If so, then the line segment This is the shortest path, and go to step 3-9; if not, go to the next step;
[0028] Steps 3-7: As a starting point, Direction is the base direction, fixed degree For the forward unit, Point scattering ray; The first intersection point of the ray and the envelope surface M , get the intersection point set, select the point with the largest coordinate in the middle of the intersection point set as point ,in: By point The intersection point formed by the emission and the envelope surface M; Take a natural number greater than or equal to 1;
[0029] Step 3-8: Determine the line segment ;Pick as well as , return to step 3-5;
[0030] Step 3-9: Connect all endpoints of the shortest path in sequence to form a tree envelope.
[0031] Preferably, the intersection point set in step 3-7 is .
[0032] Preferably, the distance between line segment AB in step 3-2 is The calculation is done using the following formula:
[0033] ;
[0034] in: and is the coordinate of point A, and is the coordinate of point B;
[0035] The point with the largest east coordinate is the point whose horizontal coordinate has the smallest difference with the horizontal coordinate of the reference point.
[0036] Preferably, the drawing of the tree mark in step 4 is specifically as follows: based on each inflection point of the forest envelope obtained in step 3 as the vertex of the tree mark with the vertex supplemented by the height comparison method, the intersection of the vertical line and the cross-section line of the transmission line is made as the bottom point of the tree mark with the vertex supplemented by the height comparison method, so as to form the tree mark.
[0037] The present invention also discloses a readable storage medium, wherein the readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the above-mentioned power transmission line forest data fitting method.
[0038] The present invention also discloses a computer device, which includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the above-mentioned power transmission line forest data fitting method is run. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The drawings constituting a part of this application are used to provide a further understanding of the present invention. The illustrative embodiments and descriptions of the present invention are used to explain the present invention and do not constitute an improper limitation on the present invention.
[0040] In the attached picture:
[0041] Figure 1 is a schematic diagram of a line segment L in an embodiment;
[0042] Figure 2 is a schematic diagram of line segment L0 in the embodiment;
[0043] Figure 3 is a schematic diagram of the envelope surface M in the embodiment;
[0044] Figure 4 A schematic diagram of a tree envelope in an embodiment;
[0045] Figure 5 It is a schematic diagram of the flow chart of the method for fitting the data of trees on power transmission lines in the embodiment;
[0046] Figure 6 FIG. 4 is a schematic diagram of forming a tree logo in an embodiment. DETAILED DESCRIPTION
[0047] The embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, but the present invention can be implemented in a variety of different ways as defined and covered by the claims.
[0048] Example:
[0049] A method for fitting tree data of a power transmission line specifically includes: step one, obtaining a tree list file; step two, constructing an envelope surface M based on the tree list file obtained in step one, specifically: obtaining a line segment L0 as a baseline; translating the line segment L0 upward by a fixed step length K1 to form a line segment L1; translating the line segment L0 downward by a fixed step length K2 to form a line segment L2; using the surface formed by the lines connecting L1 and L2 and their respective endpoints as the envelope surface M; step three, generating a tree envelope line, in the envelope surface M, setting the starting point and end point of the line segment L0 as the starting point and end point of the optimal path, performing a path optimization operation to obtain the tree envelope line; step four, drawing tree marks based on the tree envelope line obtained in step three.
[0050] The detailed steps are as follows:
[0051] (1) Form a tree inventory file, as shown in Table 1:
[0052] During the final survey and positioning of the transmission line project, GNSS receivers, total stations and other measuring instruments are used to measure the position and height of trees in the transmission line corridor. The field measurement data are compiled into a tree measurement data list. The tree list file contains the cumulative distance from the starting point, the cumulative distance from the end point, and the height of the tree (the natural growth height or actual height of the trees in the forest section). The cumulative distance from the end point should be greater than the cumulative distance from the starting point, and there should be no intersection between each starting and ending cumulative distance section.
[0053] Table 1 Examples of some forest data lists
[0054]
[0055] (2) Constructing the envelope surface M, specifically including: obtaining the line segment L0 as the reference line; translating the line segment L0 upward by a fixed step length K1 to form the line segment L1; translating the line segment L0 downward by a fixed step length K2 to form the line segment L2; and using the surface formed by the lines connecting L1 and L2 and their respective endpoints as the envelope surface M. Please refer to the following for details:
[0056] Step 2-1, read the cumulative distance from the start point and the cumulative distance from the end point of each section in the tree list file, and set the minimum precision unit of the power measurement plane section to ,by is the step length, traverse and search for the corresponding section, and take the one with the largest elevation value among the three sections (left line, middle line, and right line) in each cumulative distance position, and set it as the highest point set P;
[0057] Step 2-2: Connect all points in the highest point set P in step 2-1 into line segment L according to their positions in the cross section. Figure 1 ;
[0058] Step 2-3: Vertically translate the line segment L obtained in step 2-2 in the section according to the tree height (the natural growth height or actual height of the trees in the forest section) to obtain the line segment L0 as the baseline. Figure 2 ;
[0059] Step 2-4: translate line segment L0 upward by a fixed step length K1 to form line segment L1, and translate it downward by a fixed step length K2 to form line segment L2. The surface formed by the lines connecting L1 and L2 and their respective endpoints is used as the envelope surface M. For details, see Figure 3 , where: fixed step sizes K1 and K2 are the upper sag margin value and the lower sag margin value respectively, both provided by the design professionals.
[0060] (3) Generate the tree envelope (i.e. generate the optimal path envelope), see Figure 4 , the specific steps are as follows Figure 5 ,include:
[0061] In the given envelope surface M, the starting point and end point of the line segment L0 are set as the starting point and end point of the optimal path, and the starting point and end point are determined to be represented as point A and point B respectively. According to the coordinates of point A and point B Generate a line segment passing through the start and end points , line segment Distance for ;
[0062] Step 3-1, connect point A and point B, and align the line segment Make a judgment, if the line segment is in the envelope surface M, then the line segment is the shortest path (i.e. S is optimal), otherwise, proceed to the next step:
[0063] Step 3-2: Take point A as the starting point, AB as the reference direction, and fix the degree is the forward unit, scattered from point A rays; among them: is the distance of line segment AB;
[0064] Step 3-3, select the first intersection position of each ray obtained in step 3-2 with the envelope surface M Get the intersection set ,in: , is the number of intersection points; compare the east coordinates of each point in the set The size of the intersection point set is selected, and the coordinates of the middle east are The largest point is set as point , ;
[0065] ;
[0066] Step 3-4, point As the starting point, point A as the end point, determine the line segment ;
[0067] Step 3-5: Follow the fixed step length , trace back from the starting point to the end point along the determined line segment to obtain the point on the line segment Forming a collection ,in: , is the number of backtracking points; Take a natural number greater than or equal to 1;
[0068] Step 3-6: Set each point in the set Connect with point B to get all the points in the set The line segment with the end point B , determine the line segment Is it completely within the envelope surface M? If so, then the line segment This is the shortest path, and go to step 3-9; if not, go to the next step;
[0069] Steps 3-7: As a starting point, Direction is the base direction, fixed degree For the forward unit, Point scattering ray; The first intersection position of the ray and the envelope surface M , and get the intersection set, which is specifically: ;
[0070] Compare the easting coordinates of the points in the intersection set Size, select the middle coordinates of the intersection set The largest point is set as point ;in: By point The intersection point formed by the emission and the envelope surface M; ; Take a natural number greater than or equal to 1;
[0071] Step 3-8: Determine the line segment ;Pick as well as , return to step 3-5;
[0072] Step 3-9: Connect all endpoints of the shortest path in sequence to form a tree envelope.
[0073] Follow the above steps until the line segment connecting a certain point and B is completely contained in the surface M. The optimal path is searched and the line segment formed is the optimal path with the least inflection points, that is, the tree envelope, such as Figure 4 As shown, the best path is .
[0074] (4) Draw tree marks. Specifically, take each inflection point of the tree envelope as the vertex of the tree mark using the height comparison method, and make the intersection of the vertical line and the cross-section line of the transmission line as the bottom point of the tree mark using the height comparison method to form the tree mark. For details, see Figure 6 .
[0075] This embodiment also discloses a readable storage medium, which stores a computer program. The computer program is suitable for being loaded by a processor and executing the above-mentioned power transmission line forest data fitting method.
[0076] This embodiment also discloses a computer device, which includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the above-mentioned power transmission line forest data fitting method is run.
[0077] Applying the technical solution of this implementation, in a ±800kV transmission line project located in Hunan Province carried out in 2022-2023, the line passes through densely populated areas and has many complicated landforms. The traditional method of drawing envelope lines by selecting inflection points based on manual experience, on the one hand, causes some important inflection points to be omitted due to manual experience, resulting in repeated designs due to the adjustment of the tower height during the design review process. On the other hand, some sections have too many tree marks due to too many inflection points, resulting in the covering of important landforms on the drawing, which increases communication costs and creates the risk of designing to avoid landforms. The optimal envelope scheme calculated using this embodiment is used to design the pole tower ranking and compared with the previously designed pole ranking, which not only ensures the design accuracy, optimizes the pole tower, and reduces the amount of engineering work, but also fully reflects the landforms on the drawing, reduces design risks, and ultimately achieves design optimization.
[0078] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for fitting power transmission line tree data, characterized in that: The following steps are involved: Step 1: Obtain tree inventory documents; Step 2: constructing the envelope surface M based on the tree inventory file obtained in step 1, specifically: obtaining the line segment L0 as the baseline; The line segment L0 is translated upward by a fixed step length K1 to form the line segment L1; the line segment L0 is translated downward by a fixed step length K2 to form the line segment L2; the surface formed by the lines connecting L1 and L2 and their respective endpoints is taken as the envelope surface M, where: K1 and K2 are the upper sag margin value and the lower sag margin value respectively; Step 3: Generate a tree envelope. In the envelope surface M obtained in step 2, set the starting point and end point of the line segment L0 as the starting point and end point of the optimal path, and perform a path optimization operation to obtain the tree envelope. Step 4: Draw tree marks based on the tree envelope obtained in step 3; Generating the tree envelope in step 3 specifically includes the following steps: Step 3-1, take the starting point and the end point as point A and point B respectively; connect point A and point B, and judge the line segment AB. If the line segment AB is in the envelope surface M, the line segment AB is the shortest path. Otherwise, proceed to the next step: Step 3-2: Take point A as the starting point, AB as the reference direction, and fix the degree is the forward unit, 360 / α rays are scattered from point A; where: L AB is the distance of line segment AB; l is the unit of precision of the power measurement plane section; Step 3-3, select the first intersection position of each ray obtained in step 3-2 with the envelope surface M to obtain the intersection point set, and select the point with the largest coordinate in the middle of the intersection point set as point Z k , k = 1; Step 3-4, point Z k As the starting point, with point A as the end point, determine the line segment Z k A; Step 3-5: Follow the determined line segment from the starting point to the end point according to the fixed step length l to obtain the point on the line segment. Forming a collection Where: j = 1, 2, 3, ..., M, M is the number of backtracking points; p is a natural number greater than or equal to 1; Step 3-6: Set each point in the set Connect with point B to get all the points in the set The line segment with the end point B Determine line segment Is it completely within the envelope surface M? If so, then the line segment This is the shortest path, and go to step 3-9; if not, go to the next step; Steps 3-7: As a starting point, The direction is the reference direction, and the fixed degree α is the forward unit. Point scattering obtains 360 / α rays; the first intersection position of the i-th ray and the envelope surface M Get the intersection point set, select the point with the largest coordinate in the middle of the intersection point set as point Z k+1 , where: Z k+1 By point The intersection point formed by the emission and the envelope surface M; i is a natural number greater than or equal to 1; Step 3-8: Determine the line segment Take p=p+2 and k=k+1, and return to step 3-5; Step 3-9: Connect all endpoints of the shortest path in sequence to form a tree envelope.
2. The power transmission line tree data fitting method according to claim 1, characterized in that: The tree inventory file in step 1 includes the cumulative distance of the starting point, the cumulative distance of the ending point and the height of the trees.
3. The power transmission line tree data fitting method according to claim 2, characterized in that: The step 2 of obtaining the line segment L0 as the baseline specifically includes: Step 2-1, read the cumulative distance of the starting point and the cumulative distance of the end point of each section in the tree list file, set the unit of precision of the power measurement plane section to l, take l as the step length, traverse and search the corresponding section, take the maximum elevation value in each cumulative distance position, and obtain the highest point set P; Step 2-2, connect the positions of all points in the highest point set P in step 2-1 in the cross section into a line segment L; Step 2-3, vertically translate the line segment L obtained in step 2-2 in the cross section according to the height of the trees to obtain the line segment L0 as the baseline.
4. The power transmission line tree data fitting method according to claim 3, characterized in that: At each cumulative distance position, three sections are selected: the left line, the center line and the right line, and the maximum elevation value of the three sections is taken.
5. The power transmission line tree data fitting method according to claim 1, characterized in that: The intersection point set in step 3-7 is 6. The power transmission line tree data fitting method according to claim 1, characterized in that: The distance L between line segment AB in step 3-2 AB The calculation is done using the following formula: Where: x A and A is the coordinate of point A, x B and B is the coordinate of point B; The point with the largest east coordinate is the point whose horizontal coordinate has the smallest difference with the horizontal coordinate of the reference point.
7. The power transmission line tree data fitting method according to claim 1, characterized in that: The specific steps of drawing the tree mark in step 4 are as follows: based on each inflection point of the tree envelope obtained in step 3 as the vertex of the tree mark with the vertex supplemented by the height comparison method, the intersection of the vertical line and the cross-section line of the transmission line is made as the bottom point of the tree mark with the vertex supplemented by the height comparison method to form the tree mark.
8. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the power transmission line forest data fitting method described in any one of claims 1-7.
9. A computer device, characterized in that: The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the power transmission line forest data fitting method according to any one of claims 1-7 is executed.
