Flexible photovoltaic support automatic grouping method based on row and column parity

Through the automatic grouping method based on row and column parity, the problem of low efficiency of traditional manual grouping method is solved, and efficient automatic grouping of flexible photovoltaic brackets is realized, which improves the design efficiency and accuracy.

CN120633138APending Publication Date: 2025-09-12POWERCHINA HEBEI ELECTRIC POWER SURVEY & DESIGN INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510588191.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-08
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

The traditional manual grouping method has a large workload and low efficiency in the design of flexible photovoltaic brackets, and it is difficult to meet the design requirements of photovoltaic projects.

Method used

An automatic grouping method based on row and column parity is adopted. The coordinate data of flexible photovoltaic brackets are obtained from CAD drawings, and rows and columns are identified and sorted, and grouped according to parity along a serpentine path.

Benefits of technology

It realizes the automatic grouping of flexible photovoltaic brackets, improves the design efficiency and accuracy, and supports actual engineering design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120633138A_ABST
    Figure CN120633138A_ABST
Patent Text Reader

Abstract

The invention discloses a flexible photovoltaic support automatic grouping method based on rank parity, and belongs to the technical field of photovoltaic design, and the method comprises the following steps: S1, obtaining the coordinate data of flexible photovoltaic supports in a CAD drawing, and carrying out the rank recognition of the photovoltaic supports; s2, the identified photovoltaic supports are ranked in rows and columns; and S3, grouping the sorted flexible brackets along the snakelike path according to the parity of rows and columns. According to the invention, the automatic grouping of a huge amount of flexible photovoltaic supports is realized, the working efficiency is greatly improved, and powerful support is provided for the design of actual engineering.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of photovoltaic design, and in particular to an automatic grouping method for flexible photovoltaic supports based on row and column parity. Background Art

[0002] Photovoltaic flexible support is a new type of support structure that has emerged in recent years. It aims to solve the limitations of traditional rigid supports in complex terrain, land utilization and environmental adaptability.

[0003] During the CAD design process, the grouping and numbering of flexible photovoltaic racks is labor-intensive and inefficient due to the large number of racks, the presence of rotation angles, and the need for cross-row grouping. This makes it difficult to meet the demands of fast, efficient photovoltaic project design. Therefore, there is an urgent need to introduce an automated, efficient, and intelligent grouping method to automatically group flexible photovoltaic racks and thereby improve the efficiency and accuracy of flexible rack project design. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide a method for automatically grouping flexible photovoltaic supports based on row and column parity, which can automatically and quickly perform photovoltaic string coding.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: A method for automatically grouping flexible photovoltaic supports based on row and column parity includes the following steps: S1. Obtain the coordinate data of the flexible photovoltaic bracket in the CAD drawing and perform row and column identification on the photovoltaic bracket; S2, sorting the identified photovoltaic brackets into rows and columns; S3. Group the sorted flexible supports along the serpentine path according to the parity of the rows and columns.

[0006] A further improvement of the technical solution of the present invention is that S1 specifically includes the following steps: S1.1 The flexible bracket element is a rectangle. Read all the flexible photovoltaic bracket element sets L in the CAD drawing. E ; S1.2 Construct an outer rectangle R that includes all flexible supports, and take a point P (X R ,Y R ), a coordinate system is constructed with the center of the rectangle. The different quadrants of the coordinate system where point P is located determine the rows of brackets to start grouping, starting with the row closest to point P; S1.3 Construct the row and column set M of the photovoltaic bracket and traverse L E , L E The number of photovoltaic brackets is N; S1.4 Take LE For the first flexible photovoltaic bracket E, the angle of the short side of the photovoltaic bracket is calculated as A, and the center point is C; S1.5 Construct a vector V passing through point C and with an angle A with the positive X-axis. Calculate the distance between point P and vector V as L. VP ; S1.6 Find the set L E The photovoltaic bracket set L with the center point of the photovoltaic bracket on the vector V P .

[0007] A further improvement of the technical solution of the present invention is that S2 specifically includes the following steps: S2.1 To ensure that the photovoltaic brackets are grouped from top to bottom and from left to right in the row direction, the photovoltaic bracket set L P To sort, take the coordinates of the center point of the photovoltaic bracket, first arrange them in descending order along the Y axis, and then arrange them in ascending order along the X axis; S2.2 will set L P As a row, put it into the row and column set M of the photovoltaic bracket, from L E Remove the set L P Photovoltaic bracket in; If the number of photovoltaic brackets N>0 in S2.3, jump to S1.4; S2.4 To ensure that the photovoltaic brackets are grouped in order in the column direction, the row and column set M of the photovoltaic brackets is grouped according to L VP Sort in ascending order.

[0008] A further improvement of the technical solution of the present invention is that S3 specifically includes the following steps: S3.1 Let the group set after the photovoltaic brackets are grouped be Z; S3.2 To ensure grouping along the serpentine path, the rows of photovoltaic brackets with even numbers in the row and column set M of the photovoltaic brackets are reversed; S3.3 traverses the row and column set M of photovoltaic brackets, takes the current photovoltaic bracket row set as R, and the number of brackets in the row as C R ; S3.4 Judgment C R The parity of C R If it is an even number, the photovoltaic brackets in the row can be grouped in pairs without any remainder, and the process goes to S3.5; otherwise, the process goes to S3.6; S3.5 puts the photovoltaic brackets in R into the grouping set Z in groups of 2, and goes to S3.13; S3.6 When C R If it is an odd number, there will be one photovoltaic bracket left after the photovoltaic brackets in the row are grouped in pairs. The row number of this photovoltaic bracket should be an even number to ensure that the other photovoltaic brackets on both sides of this photovoltaic bracket can be grouped in pairs. S3.7 determines whether the current line is the last line. If it is the last line, jump to S3.13; otherwise, jump to S3.8. S3.8: Group the photovoltaic racks with odd numbers in the photovoltaic rack row set R and the smallest sum of distances to the photovoltaic racks on both sides. Group the remaining photovoltaic racks in pairs in order, and place the results into the grouping set Z. Go to S3.13. S3.9 If the number of photovoltaic brackets in the current row is odd and it is not the last row, take the set of photovoltaic brackets in the next row of the current row as R N ; S3.10 If R N If the number of photovoltaic brackets is odd, then take the set R and the set R N The two brackets with the smallest distance in the even-numbered sequence are grouped across rows, and the groups are placed in group set Z. The grouped photovoltaic brackets are removed from sets R and R. N Removed; S3.11 If R N If the number of photovoltaic brackets is even, then take the photovoltaic brackets with even numbers in set R and set R N All the photovoltaic brackets are grouped into the two brackets with the shortest distance, and the group is placed in the group set Z, and the grouped photovoltaic brackets are removed from the sets R and R N Removed; S3.12 Group the remaining photovoltaic racks in row R of the photovoltaic rack set into groups of two by two in order, and place the groups into group set Z; If the current row R is the last row, then S3.13 ends; otherwise, take the next row of photovoltaic brackets as R and jump to S3.3.

[0009] Due to the adoption of the above technical solution, the technical advancements achieved by the present invention are: The present invention realizes automatic grouping of a large number of flexible photovoltaic brackets by identifying rows and columns of photovoltaic brackets, sorting the identified photovoltaic brackets in rows and columns, and grouping the sorted flexible brackets along a serpentine path according to the parity of the rows and columns, thereby greatly improving work efficiency and providing strong support for the design of actual projects. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 This is a schematic diagram of the flexible photovoltaic bracket with row and column parity in the present invention. DETAILED DESCRIPTION

[0011] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments: In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are 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 limiting the present invention.

[0012] A method for automatically grouping flexible photovoltaic supports based on row and column parity includes the following steps: S1. Obtain the coordinate data of the flexible photovoltaic bracket in the CAD drawing and perform row and column identification on the photovoltaic bracket; S1 specifically includes the following steps: S1.1 As Figure 1 As shown, the flexible bracket element is a rectangle, and all flexible photovoltaic bracket element sets L in the CAD drawing are read. E ; S1.2 Construct an outer rectangle R that includes all flexible supports, and take a point P (X R ,Y R ), a coordinate system is constructed with the center of the rectangle. The different quadrants of the coordinate system where point P is located determine the rows of brackets to start grouping, starting with the row closest to point P; S1.3 Construct the row and column set M of the photovoltaic bracket and traverse L E , L E The number of photovoltaic brackets is N; S1.4 Take L E For the first flexible photovoltaic bracket E, the angle of the short side of the photovoltaic bracket is calculated as A (the angle with the positive direction of the X-axis), and the center point is C; S1.5 Construct a vector V passing through point C and with an angle A with the positive X-axis. Calculate the distance between point P and vector V as L. VP ; S1.6 Find the set L E The photovoltaic bracket set L with the center point of the photovoltaic bracket on the vector V P ; S2, sorting the identified photovoltaic brackets into rows and columns; S2 specifically includes the following steps: S2.1 To ensure that the photovoltaic brackets are grouped from top to bottom and from left to right in the row direction, the photovoltaic bracket set L P To sort, take the coordinates of the center point of the photovoltaic bracket, first arrange them in descending order along the Y axis, and then arrange them in ascending order along the X axis; S2.2 will set LP As a row, put it into the row and column set M of the photovoltaic bracket, from L E Remove the set L P Photovoltaic bracket in; If the number of photovoltaic brackets N>0 in S2.3, jump to S1.4; S2.4 To ensure that the photovoltaic brackets are grouped in order in the column direction, the row and column set M of the photovoltaic brackets is grouped according to L VP Sort in ascending order; S3, grouping the sorted flexible supports along the serpentine path according to the parity of the rows and columns; S3 specifically includes the following steps: S3.1 Let the group set after the photovoltaic brackets are grouped be Z; S3.2 To ensure grouping along the serpentine path, the rows of photovoltaic brackets with even numbers in the row and column set M of the photovoltaic brackets are reversed; S3.3 traverses the row and column set M of photovoltaic brackets, takes the current photovoltaic bracket row set as R, and the number of brackets in the row as C R ; S3.4 Judgment C R The parity of C R If it is an even number, the photovoltaic brackets in the row can be grouped in pairs without any remainder, and the process goes to S3.5; otherwise, the process goes to S3.6; S3.5 puts the photovoltaic brackets in R into the grouping set Z in groups of 2, and goes to S3.13; S3.6 When C R If it is an odd number, there will be one photovoltaic bracket left after the photovoltaic brackets in the row are grouped in pairs. The row number of this photovoltaic bracket should be an even number to ensure that the other photovoltaic brackets on both sides of this photovoltaic bracket can be grouped in pairs. S3.7 determines whether the current line is the last line. If it is the last line, jump to S3.13; otherwise, jump to S3.8. S3.8: Group the photovoltaic racks with odd numbers in the photovoltaic rack row set R and the smallest sum of distances to the photovoltaic racks on both sides. Group the remaining photovoltaic racks in pairs in order, and place the results into the grouping set Z. Go to S3.13. S3.9 If the number of photovoltaic brackets in the current row is odd and it is not the last row, take the set of photovoltaic brackets in the next row of the current row as R N ; S3.10 If R N If the number of photovoltaic brackets is odd, then take the set R and the set R N The two brackets with the smallest distance in the even-numbered sequence are grouped across rows, and the groups are placed in group set Z. The grouped photovoltaic brackets are removed from sets R and R. N Removed; S3.11 If R N If the number of photovoltaic brackets is even, then take the photovoltaic brackets with even numbers in set R and set R N All the photovoltaic brackets are grouped into the two brackets with the shortest distance, and the group is placed in the group set Z, and the grouped photovoltaic brackets are removed from the sets R and R N Removed; S3.12 Group the remaining photovoltaic racks in row R of the photovoltaic rack set into groups of two by two in order, and place the groups into group set Z; If the current row R is the last row, then S3.13 ends; otherwise, take the next row of photovoltaic brackets as R and jump to S3.3.

[0013] In summary, the present invention can automatically and quickly perform photovoltaic string coding.

Claims

1. A method for automatically grouping flexible photovoltaic supports based on row and column parity, characterized by: The following steps are involved: S1. Obtain the coordinate data of the flexible photovoltaic bracket in the CAD drawing and perform row and column identification on the photovoltaic bracket; S2, sorting the identified photovoltaic brackets into rows and columns; S3. Group the sorted flexible supports along the serpentine path according to the parity of the rows and columns.

2. The method for automatically grouping flexible photovoltaic supports based on row and column parity according to claim 1, characterized in that: S1 specifically includes the following steps: S1.1 The flexible bracket element is a rectangle. Read all the flexible photovoltaic bracket element sets L in the CAD drawing. E ; S1.2 Construct an outer rectangle R that includes all flexible supports, and take a point P (X R ,Y R ), a coordinate system is constructed with the center of the rectangle. The different quadrants of the coordinate system where point P is located determine the rows of brackets to start grouping, starting with the row closest to point P; S1.3 Construct the row and column set M of the photovoltaic bracket and traverse L E , L E The number of photovoltaic brackets is N; S1.4 Take L E For the first flexible photovoltaic bracket E, the angle of the short side of the photovoltaic bracket is calculated as A, and the center point is C; S1.5 Construct a vector V passing through point C and with an angle A with the positive X-axis. Calculate the distance between point P and vector V as L. VP ; S1.6 Find the set L E The photovoltaic bracket set L with the center point of the photovoltaic bracket on the vector V P .

3. The method for automatically grouping flexible photovoltaic supports based on row and column parity according to claim 2, characterized in that: S2 specifically includes the following steps: S2.1 To ensure that the photovoltaic brackets are grouped from top to bottom and from left to right in the row direction, the photovoltaic bracket set L P To sort, take the coordinates of the center point of the photovoltaic bracket, first arrange them in descending order along the Y axis, and then arrange them in ascending order along the X axis; S2.2 will set L P As a row, put it into the row and column set M of the photovoltaic bracket, from L E Remove the set L P Photovoltaic bracket in; If the number of photovoltaic brackets N>0 in S2.3, jump to S1.4; S2.4 To ensure that the photovoltaic brackets are grouped in order in the column direction, the row and column set M of the photovoltaic brackets is grouped according to L VP Sort in ascending order.

4. The method for automatically grouping flexible photovoltaic supports based on row and column parity according to claim 3, characterized in that: S3 specifically includes the following steps: S3.1 Let the group set after the photovoltaic brackets are grouped be Z; S3.2 To ensure grouping along the serpentine path, the rows of photovoltaic brackets with even numbers in the row and column set M of the photovoltaic brackets are reversed; S3.3 traverses the row and column set M of photovoltaic brackets, takes the current photovoltaic bracket row set as R, and the number of brackets in the row is C R ; S3.4 Judgment C R The parity of C R If it is an even number, the photovoltaic brackets in the row can be grouped in pairs without any remainder, and the process goes to S3.5; otherwise, the process goes to S3.6; S3.5 puts the photovoltaic brackets in R into the grouping set Z in groups of 2, and goes to S3.13; S3.6 When C R If it is an odd number, there will be one photovoltaic bracket left after the photovoltaic brackets in the row are grouped in pairs. The row number of this photovoltaic bracket should be an even number to ensure that the other photovoltaic brackets on both sides of this photovoltaic bracket can be grouped in pairs. S3.7 determines whether the current line is the last line. If it is the last line, jump to S3.13; otherwise, jump to S3.

8. S3.8: Group the photovoltaic racks with odd numbers in the photovoltaic rack row set R and the smallest sum of distances to the photovoltaic racks on both sides. Group the remaining photovoltaic racks in pairs in order, and place the results into the grouping set Z. Go to S3.

13. S3.9 If the number of photovoltaic brackets in the current row is odd and it is not the last row, take the set of photovoltaic brackets in the next row of the current row as R N ; S3.10 If R N If the number of photovoltaic brackets is odd, then take the set R and the set R N The two brackets with the smallest distance in the even-numbered sequence are grouped across rows, and the groups are placed in group set Z. The grouped photovoltaic brackets are removed from sets R and R. N Removed; S3.11 If R N If the number of photovoltaic brackets is even, then take the photovoltaic brackets with even numbers in set R and set R N All the photovoltaic brackets are grouped into the two brackets with the shortest distance, and the group is placed in the group set Z, and the grouped photovoltaic brackets are removed from the sets R and R N Removed; S3.12 Group the remaining photovoltaic racks in row R of the photovoltaic rack set into groups of two by two in order, and place the groups into group set Z; If the current row R is the last row, then S3.13 ends; otherwise, take the next row of photovoltaic brackets as R and jump to S3.3.