A method for determining high-incidence areas of transmission line hazards
Through the grid division and sliding window traversal of hidden danger warning points in transmission lines, areas with high incidence of hidden dangers are screened out, which solves the problems of long inspection time and low efficiency caused by the excessive number of hidden danger warning points, and achieves more efficient inspection and resources. use.
Patent Information
- Application Number
- CN202111513417.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-12-10
AI Technical Summary
In the existing transmission line maintenance technology, the excessive number of hidden danger warning points leads to long inspection times, consumes a lot of manpower and material resources, and affects the efficiency of inspections.
By converting the longitude and latitude of hidden danger warning points into plane Cartesian coordinates, grid division and sliding window traversal are performed to screen out areas with high incidence of hidden dangers, reduce program running time and use of computing power, and improve efficiency.
It greatly reduces the program running time and computing power, saves manpower and material resources, improves inspection efficiency, and provides a guiding basis for fixed-point inspections.
Smart Images

Figure CN114389356B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power transmission line maintenance, and in particular to a method for determining a high-incidence area of hidden dangers in a power transmission line. Background Art
[0002] With the development of economic living standards, people's demand for electricity has changed from simply having electricity to stable and safe electricity. Transmission lines, as an important connection from the power production end to the power demand end, are affected by unstable natural environmental factors and many human factors.
[0003] At present, in order to monitor the safety of transmission lines and improve maintenance technology, visual remote inspection of transmission line channels is widely used. At present, automatic recognition of visual information and marking of warning objects appearing in the image, such as tower cranes, wildfires, excavators, etc., have been realized. In addition, a set of hidden danger warning points can be obtained through the visual images output by the visual remote inspection of the transmission line channels, where each warning point in the set of hidden danger warning points contains longitude and latitude information.
[0004] However, the number of hidden danger warning points output is very large, which results in a long time for regular and fixed-point inspections of the warning points, consumes a lot of manpower and material resources, and affects the inspection efficiency at the same time. Summary of the invention
[0005] The purpose of the present invention is to provide a method for determining areas with high incidence of hidden dangers in power transmission lines. By processing hidden danger warning points, areas with high incidence of hidden dangers are obtained, and inspections are carried out on the areas with high incidence of hidden dangers, thereby reducing manual inspection time, effectively utilizing manpower and material resources, and improving inspection efficiency.
[0006] In order to achieve the above-mentioned purpose, the present invention adopts the following technical solutions:
[0007] The present application relates to a method for determining a high-incidence area of hidden dangers in a power transmission line, which is characterized by comprising:
[0008] S1: convert the longitude and latitude of each hidden danger warning point in the hidden danger warning point set into plane Cartesian coordinates;
[0009] S2: Initialize m=1;
[0010] S3: Determine whether m is less than a preset number M, if so, proceed to S4, if not, end;
[0011] S4: dividing the rectangular area where each hidden danger warning point in the hidden danger warning set is located into grids to obtain a plurality of rectangular grids;
[0012] S5: traverse each hidden danger warning point, obtain the number of hidden danger warning points in each rectangular grid, and record the rectangular grid parameters of each rectangular grid;
[0013] S6: traversing all rectangular grids, and when the sum of the number of hidden danger warning points of the traversed rectangular grid and all adjacent rectangular grids of the traversed rectangular grid is less than the maximum number of hidden danger warning points, setting the number of hidden danger warning points of the traversed rectangular grid to zero; otherwise, keeping the number of hidden danger warning points of the traversed rectangular grid;
[0014] S7: using a preset sliding window to traverse the area blocks for a non-zero number of rectangular grids respectively, to obtain a plurality of hidden danger occurrence areas, wherein the parameters of each hidden danger occurrence area include the number of hidden danger warning points and the parameters of the hidden danger occurrence area;
[0015] S8: Obtain the hidden danger occurrence area with the largest number of corresponding hidden danger warning points within the multiple hidden danger occurrence areas, and store them in a set of hidden danger high-incidence areas;
[0016] S9: deleting the hidden danger warning points in the hidden danger occurrence areas in the hidden danger high-incidence area set from the hidden danger warning point set, and updating the hidden danger warning point set;
[0017] S10: increase m by 1 and return to S3.
[0018] In this application, in S4, the rectangular area where all hidden danger warning points are located is the area defined by the maximum ordinate, the minimum ordinate, the maximum abscissa and the minimum abscissa in the set of hidden danger warning points;
[0019] In S4, the defined area is meshed using a mesh size A*B;
[0020] The sizes of A and B are preset.
[0021] In the present application, the sizes of A and B are preset based on the maximum distance that a power transmission line maintenance person can reach within a preset time period.
[0022] In the present application, in S5, the rectangular grid parameters include the number of hidden danger warning points in the rectangular grid, the maximum ordinate, the minimum ordinate, the maximum abscissa and the minimum abscissa of the hidden danger warning points in the rectangular grid.
[0023] In the present application, in S6, all adjacent rectangular cells adjacent to the traversed rectangular cells are selected as follows:
[0024] All rectangular grids that share the same side as the traversed rectangular grid and all rectangular grids that are diagonally opposite to the traversed rectangular grid are selected to form all adjacent rectangular grids.
[0025] In the present application, in S7, the preset sliding window is square and has the same size as the rectangular grid, and the sliding step length of the preset sliding window is smaller than the smaller side length of the preset sliding window.
[0026] In the present application, the sliding step size is the minimum inter-tower spacing distance of the transmission line where the hidden danger warning point set is located.
[0027] In S7, the preset sliding window is used to traverse the area blocks of the rectangular grids with a non-zero number to obtain multiple hidden danger occurrence areas, specifically:
[0028] Initialize n=1;
[0029] S71: Determine whether n is less than or equal to N. If so, proceed to S72; if not, end.
[0030] S72: Determine whether the number of hidden danger warning points in the rectangular grid adjacent to the lower right corner of the current rectangular grid is 0, if not, proceed to S73, if yes, proceed to S75;
[0031] S73: traverse the current rectangular grid, its adjacent right rectangular grid, its adjacent lower rectangular grid and the lower right rectangular grid in sequence;
[0032] S74: Obtain an area with the largest number of hidden danger warning points traversed during multiple slides, which is a hidden danger occurrence area, and proceed to S79 (3) ;
[0033] S75: Determine whether the number of hidden danger warning points of the adjacent right rectangular grid is 0, if not, proceed to S76, if yes, proceed to S78;
[0034] S76: traverse the current rectangular grid and its adjacent right rectangular grid in sequence;
[0035] S77: Obtain an area with the largest number of hidden danger warning points traversed during multiple slides, which is a hidden danger occurrence area, and proceed to S79 (3) ;
[0036] S78: Determine whether the number of hidden danger warning points of the adjacent lower rectangular grid is 0. If not, proceed to S79. If yes, proceed to S79. (2) ;
[0037] S79: traverse the current rectangular grid and its adjacent lower rectangular grids in sequence;
[0038] S79 (1) : Get the area with the largest number of hidden danger warning points traversed during multiple slides, which is a hidden danger occurrence area, and proceed to S79 (3) ;
[0039] S79 (2) :The current rectangular grid is a hidden danger area, and proceed to S79 (3) ;
[0040] S79 (3) : n increases by 1 and returns to S71;
[0041] Wherein, N represents the number of non-zero rectangular grids.
[0042] In the present application, the limited range of the hidden danger occurrence area is defined by the maximum latitude, minimum longitude, minimum latitude and maximum accuracy of the hidden danger warning point in the hidden danger occurrence area.
[0043] In the present application, the preset number M is preset based on the number of transmission line maintenance teams, where one team is responsible for an area with a high incidence of hidden dangers.
[0044] Compared with the prior art, the method for determining high-incidence areas of transmission line hazards provided by the present application has the following advantages and beneficial effects:
[0045] (1) By dividing the hidden danger warning points into grids, the number of hidden danger warning points in each rectangular grid is obtained, and the rectangular grids with a large number of hidden danger warning points are further obtained, and the hidden danger warning points that do not meet the requirements are set to 0. That is, the areas with a small number of hidden danger warning points in the transmission line are screened out, and the areas with a large number of hidden danger warning points are traversed. While ensuring accuracy, the program running time and computing power usage are greatly reduced, and efficiency is improved;
[0046] (2) Traverse the areas with a large number of hidden danger warning points to obtain a set of high-risk hidden danger areas. The multiple high-risk hidden danger areas in the set can enable maintenance personnel to focus on the high-risk hidden danger areas, saving a lot of manpower and material resources for manual inspection of transmission lines and improving inspection efficiency at the same time;
[0047] (3) The multiple high-risk areas obtained can provide guidance for fixed-point inspections of transmission lines.
[0048] After reading the specific embodiments of the present invention in conjunction with the accompanying drawings, other features and advantages of the present invention will become more clear. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0050] Figure 1 It is a flow chart of an embodiment of a method for determining a high-incidence area of hidden dangers of a power transmission line proposed by the present invention;
[0051] Figure 2It is a flow chart of performing regional block traversal in an embodiment of a method for determining a high-incidence area of hidden dangers in a power transmission line proposed by the present invention. DETAILED DESCRIPTION
[0052] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0053] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. In the description of the present invention, it should be understood that the orientation or position relationship indicated by the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. is based on the orientation or position relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0054] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0055] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "plurality" means two or more.
[0056] In order to improve the inspection efficiency of power transmission lines and reduce the workload of manual inspections, the present invention provides a method for determining areas with high incidence of hidden dangers in power transmission lines.
[0057] See also Figure 1 ,The process of determining the area with high risk of transmission line hazards is described in detail as follows.
[0058] S1: Convert the longitude and latitude of each hidden danger warning point in the hidden danger warning point set into plane Cartesian coordinates.
[0059] In the prior art, a visual remote inspection system for transmission lines can obtain a set of hidden danger warning points of the transmission lines based on the output visual images.
[0060] And the hidden danger warning point set can be processed to obtain the longitude and latitude information of all hidden danger warning points in the hidden danger warning point set.
[0061] Some of the data can be represented as follows:
[0062] (119.6926, 34.10721), (119.9461, 33.95786), (119.9461, 33.95786), (119.8214, 34.41979), (120.0786, 33.78629), (119.6111, 34.22871), (120.2473, 34.3173), (120.2215, 34.27371), (119.6181, 34.22266), (120.0988, 33.2988), (1 20.1017, 33.29987), (120.1016, 33.2995), (120.108, 33.33716), (120.1261, 33.45703), (120.2062, 33.34617), (120.0826, 33.37461), (120.1288, 33.40743), (119.9785, 33.26947), (120.0906, 33.4103), (120.0885, 33.44141), ...
[0063] The hidden danger warning point mentioned above refers to the point where the hidden danger alarm occurs, and multiple warning points may be generated at the same longitude and latitude.
[0064] In this application, only the longitude and latitude information of the hidden danger warning points are used, and no rights protection is provided for how to obtain the longitude and latitude information of the hidden danger warning points.
[0065] In the present application, the set of hidden danger warning points involved includes 130,874 longitude and latitude data, and only 20 longitude and latitude data are shown above.
[0066] Commonly used methods for converting longitude and latitude to plane coordinates include Miller projection, Mercator projection, Transverse Mercator projection (also called UTM projection), Gauss-Krüger projection, Lambert equiangular secant conic projection, etc.
[0067] Since the longitude and latitude coordinates need to be converted into plane Cartesian coordinates in S1, the Miller projection similar to the Mercator projection is selected.
[0068] The above conversion is a technique well known to those skilled in the art and will not be described in detail here.
[0069] S2: Initialize m=1.
[0070] m represents the number of cycles.
[0071] S3: Determine whether m is less than M. If so, proceed to S4; if not, end.
[0072] M represents the number of high-risk areas that need attention, which can be set freely.
[0073] Usually, according to maintenance needs, one team is responsible for one high-risk area. Therefore, the number of high-risk areas that need attention can be preset based on the number of transmission line maintenance teams.
[0074] For example, the preset number M is 6.
[0075] When m is less than M, it means that the required number of high-risk areas has not reached M, and S4 to S10 need to be executed.
[0076] Each time S4~S10 is executed, an area with high incidence of hidden dangers will be obtained.
[0077] Therefore, when m=M, it means that M high-risk areas have been found, and the process ends at this time. S4: Grid-divide the rectangular area where each hidden danger warning point in the hidden danger warning point set is located to obtain a plurality of rectangular grids.
[0078] In order to obtain the high-incidence areas of hidden dangers, the rectangular areas defined by all hidden danger warning points in the hidden danger warning point set are firstly gridded.
[0079] The rectangular area defined by all hidden danger warning points may be an artificially set area, as long as all hidden danger warning points are included in the area.
[0080] In this application, the rectangular area is the area defined by the maximum ordinate, minimum ordinate, maximum abscissa and minimum abscissa of all hidden danger warning points.
[0081] Initially, for example, for the 130874 longitude and latitude data as described above, after conversion, the maximum ordinate obtained is 33513.316 km, the minimum ordinate is 33369.473 km, the maximum abscissa is 7451.589 km, and the minimum abscissa is 7297.853 km.
[0082] Thus, the rectangular area S=(33513.316km-33369.473km)*(7451.589km-7297.853km) as mentioned above can be obtained.
[0083] The rectangular area is divided into grids to obtain a plurality of rectangular grids.
[0084] The size of the grid used to divide the rectangular area can be set by the user, expressed as A*B.
[0085] In this application, based on factors such as the specified area of the high-incidence area of transmission line hazards and the maximum distance that maintenance personnel can reach within a preset time, the size of the grid is set to the maximum distance that maintenance personnel can reach within 15 minutes.
[0086] That is, A=B=5km.
[0087] Thus, for example, according to the rectangular area S and the grid size A*B, C*D can be obtained as 29*31 rectangular grids of a size of 5 km*5 km.
[0088] That is, C=[(33513.316km-33369.473km) / 5km]+1, which is the maximum ordinate minus the minimum ordinate, divided by A, and then the integer part plus 1; D=[(7451.589km-7297.853km) / 5km]+1, which is the maximum abscissa minus the minimum abscissa, divided by B, and then the integer part plus 1.
[0089] S5: traverse each hidden danger warning point, obtain the number of hidden danger warning points in each rectangular grid, and record the rectangular grid parameters of each rectangular grid.
[0090] Initially, for each of the divided 29*31 rectangular grids, the number of hidden danger warning points in each rectangular grid is traversed to obtain, and the rectangular grid parameters of each rectangular grid are obtained.
[0091] The rectangular grid parameters can characterize the area of the rectangular grid, for example, may include the maximum ordinate, minimum ordinate, maximum abscissa and minimum abscissa of the hidden danger warning point in the rectangular grid.
[0092] Combined with the number of hidden danger warning points in each rectangular grid, the parameters of each rectangular grid can eventually be stored in the form of a matrix.
[0093] The form of the matrix is [number of hidden danger warning points, maximum vertical coordinate, minimum vertical coordinate, maximum horizontal coordinate, minimum horizontal coordinate].
[0094] S6: traverse all rectangular grids. When the sum of the number of hidden danger warning points of the traversed rectangular grid and all adjacent rectangular grids of the traversed rectangular grid is less than the maximum number of hidden danger warning points, set the number of hidden danger warning points of the traversed rectangular grid to zero; otherwise, keep the number of hidden danger warning points of the traversed rectangular grid.
[0095] Through S5, the number of hidden danger warning points in each of all rectangular grids can be obtained.
[0096] By comparing the number of hidden danger warning points in each of all rectangular grids, the maximum number of hidden danger warning points can be obtained, which can be recorded as N.
[0097] For the currently traversed rectangular grid, the sum of the number N1 of hidden danger warning points in the current rectangular grid and the number N2 of hidden danger warning points in all adjacent rectangular grids adjacent to the current rectangular grid is calculated.
[0098] Compare N1+N2 with N. If N1+N2<N, set the number of hidden danger warning points in the current rectangular grid N1=0; otherwise, keep N1.
[0099] In this way, when all rectangular grids are traversed, the number of hidden danger warning points in a part of the 29*31 rectangular grids is maintained, and the number of hidden danger warning points in another part of the rectangular grids is set to 0.
[0100] The following method can be used to select all adjacent rectangular cells adjacent to the current rectangular cell.
[0101] In one embodiment, all rectangular grids that share the same side as the current rectangular grid may be selected as all the adjacent rectangular grids.
[0102] In one embodiment, in addition to selecting all rectangular grids that share the same side as the current rectangular grid, all rectangular grids that are diagonally opposite to the current rectangular grid are also selected to form all adjacent rectangular grids.
[0103] In one embodiment, some rectangular grids that share the same side as the current rectangular grid and all rectangular grids that are diagonally opposite to the current rectangular grid may be selected to form all adjacent rectangular grids.
[0104] S7: using a preset sliding window to traverse the area blocks for a non-zero number of rectangular grids respectively, to obtain a plurality of hidden danger occurrence areas, wherein the parameters of each hidden danger occurrence area include the number of hidden danger warning points and the parameters of the hidden danger occurrence area.
[0105] The design of preset sliding window sizes can be customized according to maintenance needs.
[0106] Based on the existing maintenance needs, the preset sliding window can be set by considering factors such as the specified area of the high-incidence area of the transmission line hidden dangers and the maximum distance that the maintenance personnel can reach within the preset time.
[0107] The size of the preset sliding window setting is the same as the size of the high-risk area mentioned in this application.
[0108] For example, in the present application, the preset sliding window is set to 5km*5km, which is the same size as the rectangular grid.
[0109] For each non-zero number of rectangular grids, a region block is used as the reference frame and a preset sliding window is used for traversal.
[0110] After each traversal of a reference frame is completed, the maximum number of hidden danger warning points within the area of the preset sliding window will be obtained, and the area corresponding to the maximum number of hidden danger warning points can be recorded as the hidden danger occurrence area.
[0111] In this way, for multiple non-zero numbers of rectangular grids, multiple hidden danger occurrence areas will be obtained.
[0112] In the present application, in order to speed up the efficiency of traversing the hidden danger warning points in the rectangular grid, the size of the preset sliding window is equal to the size of the rectangular grid, and both are square (for example, square, rectangle).
[0113] The sliding step a represents the distance moved during each sliding traversal, and the sliding step a is smaller than the side length of the preset sliding window (ie, the side length of the rectangular grid).
[0114] According to the maintenance requirements of the transmission line, the sliding step a can be set to the minimum tower spacing distance of the transmission line where the hidden danger warning point set is located.
[0115] The tower spacing refers to the distance between towers; the span refers to the horizontal distance between two suspension points of the overhead line in a plane parallel to the relative load on the conductors between two adjacent towers.
[0116] In this application, the sliding step length a
[0117] It should be noted that the number of poles and towers of the transmission line is certain, and the hidden danger warning points are also certain. Therefore, as the preset sliding window slides through, the number of hidden danger warning points in the current preset sliding window may exceed the number of hidden danger warning points in the preset sliding window of the previous sliding, or may be less than the number of hidden danger warning points in the preset sliding window of the previous sliding.
[0118] See also Figure 2 , the process of obtaining the hidden danger occurrence area will be described in detail.
[0119] Initialize n=1.
[0120] n represents the number of cycles.
[0121] S71: Determine whether n is less than or equal to N. If so, proceed to S72; if not, end.
[0122] N represents the number of rectangular cells with non-zero values among all rectangular cells.
[0123] When n≤N, it means that all non-zero number of rectangular cells have not been traversed yet and need to be traversed further.
[0124] When n>N, it means that the traversal of all non-zero number of rectangular grids has been completed, and the process ends at this time.
[0125] In the present application, a region block defined by a 2*2 rectangular grid is used as a reference frame.
[0126] That is, it includes the current rectangular grid to be traversed, its adjacent right rectangular grid, its adjacent lower rectangular grid, and its adjacent lower right rectangular grid.
[0127] Traverse the rectangular grids in the reference frame from left to right and from top to bottom in the rectangular area.
[0128] When the preset sliding window is slid once, the number of hidden danger warning points in the window will be obtained.
[0129] For a non-zero number of rectangular grids, when a corresponding reference frame is traversed through the sliding, multiple numbers corresponding to the number of sliding times and the positions of multiple hidden danger warning points corresponding to each number will be obtained.
[0130] Each quantity refers to the amount of hidden danger warning points in the preset sliding window by counting each time sliding.
[0131] The position refers to the maximum ordinate, minimum ordinate, maximum abscissa and minimum abscissa of each number of hidden danger warning points (or the maximum latitude, minimum longitude, minimum latitude and maximum longitude of each number of hidden danger warning points).
[0132] A hidden danger occurrence area for the current rectangular grid is obtained based on the number of hidden danger warning points in the adjacent right lower rectangular grid, the number of hidden danger warning points in the adjacent right rectangular grid and the number of hidden danger warning points in the adjacent lower rectangular grid.
[0133] The specific selection method for traversing the reference frame is as follows.
[0134] S72: Determine whether the number of hidden danger warning points in the lower right rectangular grid adjacent to the current rectangular grid is 0, if not, proceed to S73, if yes, proceed to S75.
[0135] For example, the size of the first reference frame is 5km*5km, the preset sliding window is 5km*5km, and the sliding step is 0.2km.
[0136] The numbers of hidden danger warning points in the four rectangular grids in the first reference frame are N11=50, N12=0, N21=0, and N22=8 respectively.
[0137] The current rectangular grid is the rectangular grid corresponding to number N11, the rectangular grid corresponding to number N12 is the adjacent right rectangular grid of the current rectangular grid, the rectangular grid corresponding to number N21 is the adjacent bottom rectangular grid of the current rectangular grid, and the rectangular grid corresponding to number N22 is the adjacent bottom right rectangular grid of the current rectangular grid.
[0138] S73: traverse the current rectangular grid, its adjacent right rectangular grid, its adjacent lower rectangular grid and the lower right rectangular grid in sequence.
[0139] When it is determined in S72 that the number of hidden danger warning points of the adjacent lower right rectangular grid is not 0 (for example, N22=8, not 0), the current rectangular grid, its adjacent right rectangular grid, its adjacent lower rectangular grid and the lower right rectangular grid are traversed in sequence.
[0140] The traversal process uses a preset sliding window, slides from left to right and from top to bottom with a sliding step length a, and obtains the number of hidden danger warning points and the corresponding areas each time it slides.
[0141] The number and position of each slide can be recorded.
[0142] S74: Obtain an area with the largest number of hidden danger warning points traversed during multiple slides, which is a high-risk area, and proceed to S79 (3) .
[0143] As described in S73 above, when the current rectangular grid, its adjacent right rectangular grid, its adjacent lower rectangular grid and the lower right rectangular grid are slid, multiple quantities and positions can be obtained, and the set of quantities here is recorded as A.
[0144] By comparing the elements in set A, get the one with the largest number and the corresponding position.
[0145] Note: The area with the largest number is the area where hidden dangers occur corresponding to the current rectangular grid.
[0146] S75: Determine whether the number of hidden danger warning points of the adjacent right rectangular grid is 0, if not, proceed to S76, if yes, proceed to S78.
[0147] When the number of hidden danger warning points in the adjacent lower right rectangular grid is 0, the number of hidden danger warning points in the adjacent right rectangular grid is first determined to determine whether there are hidden danger warning points in the portion between the current rectangular frame and the adjacent right rectangular grid.
[0148] S76: Traverse the current rectangular grid and its adjacent right rectangular grid in sequence.
[0149] When it is determined that the number of hidden danger warning points of the adjacent right rectangular grid is not 0, the current rectangular grid and the rectangular grid to the right of it are traversed in sequence.
[0150] The purpose of the traversal here is to find out whether there is a hidden danger warning point in the area between the current rectangular grid and the adjacent right rectangular grid.
[0151] The traversal process uses a preset sliding window, slides from left to right with a sliding step length a, and obtains the number of hidden danger warning points and the corresponding areas each time it slides.
[0152] The number and position of each slide can be recorded.
[0153] S77: Obtain an area with the largest number of hidden danger warning points traversed during multiple slides, which is a hidden danger occurrence area, and proceed to S79 (3) .
[0154] As described in S76 above, when the current rectangular grid and its adjacent right rectangular grid are slid, multiple quantities and positions can be obtained, and the set of quantities here is recorded as B.
[0155] By comparing the elements in set B, get the one with the largest number and the corresponding position.
[0156] Note: The area with the largest number is the area where hidden dangers occur corresponding to the current rectangular grid.
[0157] S78: Determine whether the number of hidden danger warning points of the adjacent lower rectangular grid is 0. If not, proceed to S79. If yes, proceed to S79. (2) .
[0158] When the number of hidden danger warning points in the adjacent right rectangular grid is 0, no traversal is performed.
[0159] After that, the number of hidden danger warning points in the adjacent lower rectangular grid is judged.
[0160] S79: Traverse the current rectangular grid and its adjacent lower rectangular grids in sequence.
[0161] If the number of hidden danger warning points of the adjacent lower rectangular grid is not 0, the current rectangular grid and its adjacent lower rectangular grid are traversed in sequence.
[0162] The purpose of the traversal here is to find out whether there is a hidden danger warning point in the area between the current rectangular grid and the adjacent lower rectangular grid.
[0163] The traversal process uses a preset sliding window and slides from top to bottom with a sliding step size a. Each time it slides, the number of hidden danger warning points and the corresponding areas are obtained.
[0164] The number and position of each slide can be recorded.
[0165] S79 (1): Get the area with the largest number of hidden danger warning points traversed during multiple slides, which is a high-risk area, and proceed to S79 (3) .
[0166] As described in S79 above, when the current rectangular grid and its adjacent lower rectangular grid are slid, multiple quantities and positions can be obtained, and the set of quantities here is recorded as C.
[0167] By comparing the elements in set C, get the one with the largest number and the corresponding position.
[0168] Note: The area with the largest number is the area where hidden dangers occur corresponding to the current rectangular grid.
[0169] S79 (2) :The current rectangular grid is a hidden danger area, and proceed to S79 (3) .
[0170] S79 (3) : n increases by 1 and returns to S71.
[0171] Repeatedly execute S71~S79 (3) Stop when n reaches N.
[0172] At this time, multiple hidden danger occurrence areas for multiple non-zero numbers of rectangular grids can be obtained.
[0173] The number of hidden danger occurrence areas in the plurality of hidden danger occurrence areas is equal to the number of non-zero numbers in the rectangular area S.
[0174] Each hidden danger occurrence area includes the number of hidden danger warning points and the parameters of the hidden danger occurrence area.
[0175] S8: Obtain the hidden danger occurrence area with the largest number of corresponding hidden danger warning points in multiple hidden danger occurrence areas, and store them in the hidden danger high-incidence area set.
[0176] According to the multiple hidden danger occurrence areas obtained in S7, the number of hidden danger warning points corresponding to each hidden danger occurrence area is calculated.
[0177] Compare the sizes of each number, obtain the hidden danger occurrence area corresponding to the maximum number, record it as the hidden danger high incidence area, and store it in the hidden danger high incidence area set (represented as E).
[0178] S9: Delete the hidden danger warning points in the hidden danger high-incidence areas in the hidden danger high-incidence area set E from the hidden danger warning point set, and update the hidden danger warning point set.
[0179] At this time, after executing a cycle from S4 to S9, there is one high-risk area in the high-risk area set E.
[0180] And there are the number and locations of hidden danger warning points corresponding to the high-incidence areas of hidden dangers.
[0181] The condition for deleting a hidden danger point belonging to a hidden danger high-incidence area in the hidden danger warning point set is that the location of the hidden danger warning point is located in the hidden danger high-incidence area.
[0182] S10: m is increased by 1, and the process returns to S3. Thus, when m increases to M, the hidden danger high-incidence area set E contains M hidden danger high-incidence areas.
[0183] For example, when M is 6, for the 130,874 hidden danger warning points in the initial hidden danger warning point set, six high-incidence areas of hidden dangers can be obtained as follows:
[0184] (1) [20920.0, 33.46438319, 120.07350777, 33.405683573, 120.118400764];
[0185] (2) [15227.0, 33.39394074, 120.07350777, 33.335212047, 120.118400764];
[0186] (3) [14231.0, 33.358706429, 120.181250957, 33.299963214, 120.226143951];
[0187] (4) [5167.0, 33.417425436, 120.239611849, 33.358706429, 120.284504844];
[0188] (5) [4400.0, 33.329337846, 120.024125476, 33.270582537, 120.069018471];
[0189] (6) [4365.0,33.452645207,120.118400764,33.39394074,120.163293759].
[0190] As mentioned above, the first column of data in the six high-incidence areas of hidden dangers is the number of hidden danger warning points, the second column of data is the maximum latitude of the high-incidence areas of hidden dangers, the third column of data is the minimum longitude of the high-incidence areas of hidden dangers, the fourth column of data is the minimum latitude of the high-incidence areas of hidden dangers, and the fifth column of data is the maximum latitude of the high-incidence areas of hidden dangers.
[0191] Through the method for determining areas with high incidence of hidden dangers in transmission lines provided in this application, multiple areas with high incidence of hidden dangers can be obtained, which is convenient for maintenance personnel to focus their attention. There is no need to inspect every hidden danger warning point, which improves the inspection efficiency and saves a lot of manpower and material resources at the same time.
[0192] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for a person skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to replace some of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions claimed to be protected by the present invention.
Claims
1. A method for determining areas with high incidence of hidden dangers in power transmission lines. It is characterized in that include: S1: convert the longitude and latitude of each hidden danger warning point in the hidden danger warning point set into plane Cartesian coordinates; S2: Initialize m=1; S3: Determine whether m is less than a preset number M, if so, proceed to S4, if not, end; S4: gridding the rectangular area where each hidden danger warning point in the hidden danger warning point set is located to obtain a plurality of rectangular grids; S5: traverse each hidden danger warning point, obtain the number of hidden danger warning points in each rectangular grid, and record the rectangular grid parameters of each rectangular grid; S6: traversing all rectangular grids, and when the sum of the number of hidden danger warning points of the traversed rectangular grid and all adjacent rectangular grids of the traversed rectangular grid is less than the maximum number of hidden danger warning points, setting the number of hidden danger warning points of the traversed rectangular grid to zero; otherwise, keeping the number of hidden danger warning points of the traversed rectangular grid; S7: using a preset sliding window to traverse the area blocks for a non-zero number of rectangular grids respectively, to obtain a plurality of hidden danger occurrence areas, wherein the parameters of each hidden danger occurrence area include the number of hidden danger warning points and the parameters of the hidden danger occurrence area; S8: Obtain the hidden danger occurrence area with the largest number of corresponding hidden danger warning points within the multiple hidden danger occurrence areas, and store them in a set of hidden danger high-incidence areas; S9: deleting the hidden danger warning points in the hidden danger occurrence areas in the hidden danger high-incidence area set from the hidden danger warning point set, and updating the hidden danger warning point set; S10: increase m by 1 and return to S3.
2. The method for determining a high-incidence area of hidden dangers in a power transmission line according to claim 1, It is characterized in that In S4, the rectangular area where all hidden danger warning points are located is the area defined by the maximum ordinate, the minimum ordinate, the maximum abscissa and the minimum abscissa in the set of hidden danger warning points; In S4, the defined area is meshed using a mesh size A*B; The sizes of A and B are preset.
3. The method for determining a high-incidence area of hidden dangers in a power transmission line according to claim 2, It is characterized in that The sizes of A and B are preset based on the maximum distance that a power transmission line maintenance person can reach within a preset time period.
4. The method for determining a high-incidence area of hidden dangers in a power transmission line according to claim 1, It is characterized in that In S5, the rectangular grid parameters include the number of hidden danger warning points in the rectangular grid, the maximum ordinate, the minimum ordinate, the maximum abscissa and the minimum abscissa of the hidden danger warning points in the rectangular grid.
5. The method for determining a high-incidence area of hidden dangers in a power transmission line according to claim 1, It is characterized in that In S6, all adjacent rectangular cells adjacent to the traversed rectangular cells are selected as follows: All rectangular grids that share the same side as the traversed rectangular grid and all rectangular grids that are diagonally opposite to the traversed rectangular grid are selected to form all adjacent rectangular grids.
6. The method for determining a high-incidence area of hidden dangers in a power transmission line according to claim 1, It is characterized in that In S7, the preset sliding window is square and has the same size as the rectangular grid, and the sliding step length of the preset sliding window is smaller than the smaller side length of the preset sliding window.
7. The method for determining a high-incidence area of hidden dangers in a power transmission line according to claim 6, It is characterized in that The sliding step size is the minimum tower spacing distance of the transmission line where the hidden danger warning point set is located.
8. The method for determining a high-incidence area of hidden dangers in a power transmission line according to claim 1, It is characterized in that In S7, the preset sliding window is used to traverse the area blocks of the rectangular grids with a non-zero number to obtain multiple hidden danger occurrence areas, specifically: Initialize n=1; S71: Determine whether n is less than or equal to N, if so, proceed to S72, if not, end; S72: Determine whether the number of hidden danger warning points in the rectangular grid adjacent to the lower right corner of the current rectangular grid is 0, if not, proceed to S73, if yes, proceed to S75; S73: traverse the current rectangular grid, its adjacent right rectangular grid, its adjacent lower rectangular grid and the lower right rectangular grid in sequence; S74: Obtain an area with the largest number of hidden danger warning points traversed during multiple slides, which is a hidden danger occurrence area, and proceed to S79 (3) ; S75: Determine whether the number of hidden danger warning points of the adjacent right rectangular grid is 0, if not, proceed to S76, if yes, proceed to S78; S76: traverse the current rectangular grid and its adjacent right rectangular grid in sequence; S77: Obtain an area with the largest number of hidden danger warning points traversed during multiple slides, which is a hidden danger occurrence area, and proceed to S79 (3) ; S78: Determine whether the number of hidden danger warning points of the adjacent lower rectangular grid is 0. If not, proceed to S79. If yes, proceed to S79. (2) ; S79: traverse the current rectangular grid and its adjacent lower rectangular grids in sequence; S79 (1) : Get the area with the largest number of hidden danger warning points traversed during multiple slides, which is a high-risk area, and proceed to S79 (3) ; S79 (2) :The current rectangular grid is a hidden danger area, and proceed to S79 (3) ; S79 (3) : n increases by 1 and returns to S71; Wherein, N represents the number of non-zero rectangular grids.
9. The method for determining a high-incidence area of hidden dangers in a power transmission line according to claim 1 or 8, It is characterized in that The limited range of the hidden danger occurrence area is limited by the maximum latitude, minimum longitude, minimum latitude and maximum longitude of the hidden danger warning point in the hidden danger occurrence area.
10. The method for determining a high-incidence area of hidden dangers in a power transmission line according to claim 1, It is characterized in that The preset number M is preset based on the number of power transmission line maintenance teams, where one team is responsible for an area with a high incidence of hidden dangers.
