A photovoltaic power station CAD drawing parsing method and related device

By converting CAD files to DXF format and using 3D modeling technology to generate 3D structural diagrams of photovoltaic power plants, the problems of intuitiveness and reliability of traditional 2D CAD drawings in photovoltaic power plant construction are solved, improving construction efficiency and quality control.

CN122115770APending Publication Date: 2026-05-29华能(嘉峪关)新能源有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
华能(嘉峪关)新能源有限公司
Filing Date
2024-11-28
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Traditional two-dimensional CAD drawings are difficult to intuitively show the spatial location and interrelationships of photovoltaic structural components, leading to difficulties in construction understanding and quality assessment. In addition, paper drawings are easily damaged, affecting construction progress and quality.

Method used

The CAD files were converted from DWG format to DXF format, and the shape, spatial information and basic attribute information of the photovoltaic modules were extracted. The 3D modeling technology was used to generate a 3D structural diagram of the photovoltaic power station, and construction deviations were found by comparing the actual 3D image.

Benefits of technology

It enables intuitive 3D visualization of photovoltaic power station structures, improves construction efficiency and quality control, reduces the risk of drawing damage, and supports the extraction and flexible parsing of various attribute information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122115770A_ABST
    Figure CN122115770A_ABST
Patent Text Reader

Abstract

The application discloses a photovoltaic power station CAD drawing analysis method and related device, belongs to the photovoltaic power generation technical field, the method includes: collecting photovoltaic power station CAD file, extracting the photovoltavoltic module drawing information of the photovoltaic power station CAD file;According to the photovoltaic module drawing information analysis obtains the shape of photovoltaic module, combines the space information and basic attribute information of the photovoltaic module shape extracted from the photovoltaic power station CAD file;According to the space information, basic attribute information and photovoltaic module drawing information, the three-dimensional modeling technology is used to obtain the three-dimensional structure diagram of photovoltaic power station, and the photovoltaic power station CAD drawing analysis is completed.The application can solve the problem that the prior art cannot convert traditional two-dimensional CAD drawing into three-dimensional structure display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of photovoltaic power generation technology, specifically relating to a method and related apparatus for analyzing CAD drawings of photovoltaic power plants. Background Technology

[0002] In the field of photovoltaic power plant construction, traditional CAD drawings have always been the primary basis for design and construction. These drawings are typically presented in two-dimensional form, detailing structural information such as photovoltaic modules, support systems, and cable connections. However, these two-dimensional drawings have some significant limitations in practical applications. First, two-dimensional drawings cannot intuitively show the spatial location and interrelationships of various photovoltaic structural components, which brings considerable difficulty to construction personnel in understanding and operation. Second, when conducting infrastructure quality inspections, managers are limited by the planar perspective of two-dimensional drawings, making it difficult to comprehensively and accurately assess the quality status of the construction site, resulting in imprecise and untimely formulation of error correction and quality improvement measures. In addition, traditional CAD drawings are mostly in paper form, which not only increases the difficulty of managing and distributing the drawings, but also makes them susceptible to damage or loss due to factors such as severe weather and frequent handling at the construction site, further affecting construction progress and quality. Therefore, converting two-dimensional CAD drawings into three-dimensional structural displays has become a key approach to improve the efficiency and quality of photovoltaic power plant construction.

[0003] However, in practical applications, due to the lack of unified standards, there are many problems with CAD drawings from different projects and design teams, such as inconsistent number of output files, inconsistent naming, unclear layer structure and containment relationships, and inconsistent drawing methods. These problems increase the difficulty of converting two-dimensional CAD drawings into three-dimensional structural displays. Summary of the Invention

[0004] The purpose of this invention is to provide a method and related apparatus for parsing CAD drawings of photovoltaic power plants, so as to solve the problem that the existing technology cannot convert traditional two-dimensional CAD drawings into three-dimensional structural displays.

[0005] To achieve the above objectives, the present invention adopts the following technical solution: Firstly, a method for analyzing CAD drawings of photovoltaic power plants includes the following steps: Collect CAD files of photovoltaic power plants and extract photovoltaic module drawing information from the CAD files of the photovoltaic power plants; The shape of the photovoltaic module is obtained by parsing the photovoltaic module drawing information, and the spatial information and basic attribute information of the photovoltaic module shape are extracted by combining the CAD file of the photovoltaic power station. Based on the spatial information, basic attribute information, and photovoltaic module drawing information, a three-dimensional structural diagram of the photovoltaic power station is obtained using three-dimensional modeling technology, thus completing the analysis of the CAD drawings of the photovoltaic power station.

[0006] In some implementations, the step of extracting the spatial information and basic attribute information of the photovoltaic module shape from the photovoltaic power plant CAD file specifically includes: After converting the DWG format of the photovoltaic power plant CAD file to DXF format, the DXF format photovoltaic power plant CAD file is parsed to obtain a block set and an entity set; The arrangement and combination of the photovoltaic module shapes are obtained from the block set, and the coordinates, elevation and basic attribute information of the photovoltaic module shapes are obtained from the entity set. Spatial information is obtained by combining the aforementioned permutation and combination methods, coordinates, and elevation.

[0007] In some implementations, the step of obtaining the spatial information by combining the permutation and combination method, coordinates, and elevation specifically includes: The correspondence between the horizontal and vertical coordinates and the elevation is obtained based on the coordinates and elevation. Contour lines are generated based on the correspondence. Spatial information is obtained based on the arrangement and combination of the contour lines.

[0008] In some implementations, the following steps are also included: Collect actual 3D images of the photovoltaic power station, compare the actual 3D images with the 3D structural diagram of the photovoltaic power station, and generate the construction information of the photovoltaic power station.

[0009] In some embodiments, the step of obtaining a three-dimensional structural diagram of a photovoltaic power station using three-dimensional modeling technology based on the spatial information, basic attribute information, and photovoltaic module drawing information specifically includes: Based on the drawing information of the photovoltaic module, geometric modeling is used to construct the basic geometric shape of the photovoltaic module; Based on the spatial information, basic attribute information, and basic geometric shape of the photovoltaic module, a three-dimensional model of the photovoltaic module is generated using parametric modeling. The three-dimensional models of each photovoltaic module are combined to obtain a three-dimensional structural diagram of the photovoltaic power station.

[0010] In some implementations, the basic attribute information includes layer structure, color, photovoltaic module ID, horizontal and vertical coordinate ratio, and rotation angle.

[0011] Secondly, a photovoltaic power plant CAD drawing parsing system includes: The drawing information extraction module is used to collect CAD files of photovoltaic power plants and extract the drawing information of photovoltaic modules from the CAD files of the photovoltaic power plants; The spatial structure information parsing module is used to parse the shape of the photovoltaic module based on the photovoltaic module drawing information, and extract the spatial information and basic attribute information of the photovoltaic module shape by combining the CAD file of the photovoltaic power station. The 3D modeling module is used to obtain a 3D structural diagram of the photovoltaic power station based on the spatial information, basic attribute information, and photovoltaic module drawing information, and to complete the parsing of the CAD drawings of the photovoltaic power station.

[0012] Thirdly, an electronic device includes a memory, a processor, and a computer program stored in the memory and executable in the processor, wherein the processor executes the computer program to implement the steps of the photovoltaic power plant CAD drawing parsing method.

[0013] Fourthly, a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method for parsing CAD drawings of a photovoltaic power station.

[0014] Fifthly, a computer program product, the computer product comprising a computer program, which, when executed by a processor, implements the steps of the photovoltaic power station CAD drawing parsing method.

[0015] Compared with the prior art, the present invention has the following beneficial effects: This invention provides a method for parsing CAD drawings of photovoltaic (PV) power plants. The method involves acquiring CAD files of a PV power plant and extracting the PV module drawing information from these files. The shape of the PV modules is then parsed based on this drawing information, and spatial and basic attribute information of the PV module shape is extracted from the CAD file. Finally, based on the spatial information, basic attribute information, and PV module drawing information, a 3D structural diagram of the PV power plant is obtained using 3D modeling technology, thus completing the CAD drawing parsing process. This not only improves the efficiency of drawing parsing but also enables intuitive 3D visualization of the PV power plant structure, facilitating subsequent design, construction, and operation and maintenance management.

[0016] Furthermore, by converting the DWG format of the CAD file to DXF format for parsing, key information such as the arrangement, coordinates, and elevation of the photovoltaic modules can be extracted more accurately, thereby generating accurate spatial information. Simultaneously, this method supports the extraction of various basic attribute information, such as layer structure, color, and photovoltaic module ID, enhancing the flexibility and applicability of the parsing process.

[0017] Furthermore, this method can also acquire actual 3D images of the photovoltaic power station and compare them with the generated 3D structural diagram to generate construction information. This helps to promptly identify deviations or errors during construction, ensuring construction quality and schedule.

[0018] This invention also provides a CAD drawing parsing system, including a drawing information extraction module, a spatial structure information parsing module, and a 3D modeling module, achieving modularization and systematization of functions. This design makes the system easier to maintain and expand, and more adaptable to the parsing needs of photovoltaic power plants of different scales and types. Attached Figure Description

[0019] Figure 1 This is a flowchart of the photovoltaic power plant CAD drawing parsing method provided in Example 1; Figure 2 This is a schematic diagram of the structure of the photovoltaic power plant CAD drawing parsing system provided in Example 2. Detailed Implementation

[0020] To enable those skilled in the art to better understand the present invention, the technical solution of the present invention will be further described in detail below with reference to the accompanying drawings. The content described herein is for explanation rather than limitation of the present invention.

[0021] It should be noted that the terms "comprising" and "having" and any variations thereof in the specification and claims of this invention are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such processes, methods, systems, products, or devices.

[0022] Example 1 With the rapid development of photovoltaic power plant construction, CAD technology has become an important tool in the design and construction process. However, in practical applications, due to the lack of unified standards, CAD drawings from different projects and design teams have many problems, such as inconsistent output file numbers, inconsistent naming, unclear layer structures and inclusion relationships, and inconsistent drawing methods. These problems not only increase the complexity of design and construction but also often lead to construction deviations and difficulties in quality control, seriously affecting the construction efficiency and safety of photovoltaic power plants. Traditional CAD drawings are two-dimensional structural information, and managers can only refer to two-dimensional CAD paper drawings during infrastructure quality inspections, making it difficult to effectively assess quality and correct errors. To solve these problems, it is necessary to develop a unified CAD standard. This includes, but is not limited to, the number and naming rules of output files, the layer structure and drawing methods of photovoltaic modules, and the standardization of coordinate systems and measurement systems. The standard should cover the number and naming standards of output files to ensure that all projects adhere to consistent standards during the survey and inspection phase; clarify the layer structure and inclusion relationships of photovoltaic modules, as well as a unified drawing method to achieve unified standards for photovoltaic module construction in project management; and unify the coordinate system and measurement system to ensure consistency in the standards relied upon during the civil construction phase.

[0023] Based on the aforementioned CAD specifications, a method for parsing CAD drawings of photovoltaic power plants is provided, which converts 2D CAD drawings into 3D structures for display, such as... Figure 1 As shown, the method specifically includes the following steps: S1, Collect CAD files of photovoltaic power plants and extract photovoltaic module drawing information from the CAD files of photovoltaic power plants; The acquired CAD files are typically stored in DWG format and contain detailed design information for photovoltaic power plants. To facilitate subsequent processing, the DWG format CAD files are converted to DXF format CAD files.

[0024] S2, the shape of the photovoltaic module is obtained by parsing the photovoltaic module drawing information, and the spatial information and basic attribute information of the photovoltaic module shape are extracted by combining the CAD file of the photovoltaic power station. In DXF format CAD files, there are two main sets of information: block sets and entity sets. Block sets contain the arrangement and combination of photovoltaic modules, while entity sets contain detailed coordinates, elevations, and basic attribute information of the photovoltaic module shapes. The basic attribute information includes: layer structure, color, photovoltaic module ID, horizontal and vertical coordinate scale, and rotation angle. After extracting the shape, coordinates, elevation, and basic attribute information of the photovoltaic modules, this information is combined to form complete spatial information. Specifically, contour lines are generated based on the coordinate and elevation information. These contour lines can intuitively reflect the terrain undulations of the photovoltaic power station. At the same time, by combining the arrangement and combination of photovoltaic modules with the contour lines, the three-dimensional spatial structure of the photovoltaic power station can be constructed more accurately.

[0025] S3. Based on the spatial information, basic attribute information, and photovoltaic module drawing information, a three-dimensional structural diagram of the photovoltaic power station is obtained using three-dimensional modeling technology, thus completing the analysis of the CAD drawings of the photovoltaic power station.

[0026] A combination of geometric and parametric modeling methods is employed. First, geometric modeling is used to construct the basic geometric shape based on the drawing information of the photovoltaic modules. Then, based on spatial and basic attribute information, parametric modeling techniques are used to generate accurate 3D models of the photovoltaic modules. Finally, these 3D photovoltaic module models are combined to form a complete 3D structural diagram of the photovoltaic power station.

[0027] After obtaining the 3D structural diagram of the photovoltaic power station, drones were used to collect actual 3D images of the power station. By comparing the actual 3D images with the 3D structural diagram of the photovoltaic power station, differences were identified, and construction information for the photovoltaic power station was generated accordingly. This information is of great significance for guiding on-site construction and ensuring construction quality.

[0028] The photovoltaic power plant CAD drawing parsing method provided in this embodiment enables seamless integration between CAD-designed products and the system platform through standardized CAD design and customized CAD parsing. This allows each photovoltaic structural component represented in the CAD file to be easily and conveniently integrated into the power plant construction support system as a 3D structure. Construction personnel can use handheld devices with positioning capabilities combined with 3D structural information to locate specific positions and sizes for precise construction. Management personnel can also compare the latest 3D images collected by drones with the original CAD-generated 3D images to verify construction quality. This method is simple to use, produces clear and hierarchical results, and is fast. It provides support for CAD data structuring, allowing CAD data to be overlaid on 3D models for more intuitive viewing.

[0029] Example 2 like Figure 2 As shown, this embodiment provides a photovoltaic power plant CAD drawing parsing system, including: a drawing information extraction module, a spatial structure information parsing module, and a three-dimensional modeling module; The drawing information extraction module collects CAD files of photovoltaic power plants and extracts the drawing information of photovoltaic modules from the CAD files of the photovoltaic power plant. The spatial structure information parsing module parses the photovoltaic module drawing information to obtain the shape of the photovoltaic module, and extracts the spatial information and basic attribute information of the photovoltaic module shape by combining the CAD file of the photovoltaic power station. The 3D modeling module uses 3D modeling technology to obtain a 3D structural diagram of the photovoltaic power station based on the spatial information, basic attribute information, and photovoltaic module drawing information, thus completing the parsing of the photovoltaic power station CAD drawings.

[0030] This embodiment utilizes a drawing information extraction module to efficiently and accurately collect photovoltaic module drawing information from photovoltaic power plant CAD files, providing a solid foundation for subsequent processing and analysis. Secondly, the spatial structure information parsing module employs advanced parsing technology to accurately parse the shape of the photovoltaic modules based on the extracted drawing information, and further extracts spatial and basic attribute information of the photovoltaic modules by combining this with the CAD file. Finally, the 3D modeling module uses this rich information, combined with 3D modeling technology, to generate highly realistic 3D structural diagrams of the photovoltaic power plant. This not only intuitively displays the overall layout and detailed structure of the photovoltaic power plant, but also provides strong support for subsequent design, construction, and maintenance. This system significantly improves the parsing efficiency and accuracy of photovoltaic power plant CAD drawings, providing strong technical support for the planning, construction, and management of photovoltaic power plants.

[0031] The module division in this embodiment of the invention is illustrative and represents only one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional modules in the various embodiments of the invention can be integrated into a single processor, exist as separate physical entities, or be integrated into a single module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0032] This embodiment also provides an electronic device, which includes a processor and a memory. The memory is used to store a computer program (in this embodiment, the computer program includes a computing component and an iterative component, capable of model calculation and model updating). The computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, and is suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions in the computer storage medium to realize the corresponding method flow or corresponding function. The processor described in this embodiment can be used for the operation of a photovoltaic power station CAD drawing parsing method.

[0033] This embodiment also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device used to store programs and data. It is understood that the computer-readable storage medium here can include both the built-in storage medium in the computer device and extended storage media supported by the computer device. The computer-readable storage medium provides storage space that stores the terminal's operating system. Furthermore, this storage space also stores one or more instructions suitable for loading and execution by a processor. These instructions can be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here can be high-speed RAM or non-volatile memory, such as at least one disk storage device. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the photovoltaic power station CAD drawing parsing method in the above embodiment.

[0034] This embodiment also provides a computer program product, which includes a computer program that, when executed by a processor, implements the corresponding steps of the photovoltaic power station CAD drawing parsing method described in the above embodiment.

[0035] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0036] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0037] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0038] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0039] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for analyzing CAD drawings of photovoltaic power plants, characterized in that, Includes the following steps: Collect CAD files of photovoltaic power plants and extract photovoltaic module drawing information from the CAD files of the photovoltaic power plants; The shape of the photovoltaic module is obtained by parsing the photovoltaic module drawing information, and the spatial information and basic attribute information of the photovoltaic module shape are extracted by combining the CAD file of the photovoltaic power station. Based on the spatial information, basic attribute information, and photovoltaic module drawing information, a three-dimensional structural diagram of the photovoltaic power station is obtained using three-dimensional modeling technology, thus completing the analysis of the CAD drawings of the photovoltaic power station.

2. The method for analyzing CAD drawings of a photovoltaic power station according to claim 1, characterized in that, The step of extracting the spatial information and basic attribute information of the photovoltaic module shape from the photovoltaic power plant CAD file specifically includes: After converting the DWG format of the photovoltaic power plant CAD file to DXF format, the DXF format photovoltaic power plant CAD file is parsed to obtain a block set and an entity set; The arrangement and combination of the photovoltaic module shapes are obtained from the block set, and the coordinates, elevation and basic attribute information of the photovoltaic module shapes are obtained from the entity set. Spatial information is obtained by combining the aforementioned permutation and combination methods, coordinates, and elevation.

3. The method for analyzing CAD drawings of a photovoltaic power station according to claim 1, characterized in that, The step of obtaining the spatial information by combining the permutation and combination method, coordinates, and elevation specifically includes: The correspondence between the horizontal and vertical coordinates and the elevation is obtained based on the coordinates and elevation. Contour lines are generated based on the correspondence. Spatial information is obtained based on the arrangement and combination of the contour lines.

4. The method for analyzing CAD drawings of a photovoltaic power station according to claim 1, characterized in that, It also includes the following steps: Collect actual 3D images of the photovoltaic power station, compare the actual 3D images with the 3D structural diagram of the photovoltaic power station, and generate the construction information of the photovoltaic power station.

5. The method for analyzing CAD drawings of a photovoltaic power station according to claim 1, characterized in that, The step of obtaining a three-dimensional structural diagram of a photovoltaic power station using three-dimensional modeling technology based on the spatial information, basic attribute information, and photovoltaic module drawing information specifically includes: Based on the drawing information of the photovoltaic module, geometric modeling is used to construct the basic geometric shape of the photovoltaic module; Based on the spatial information, basic attribute information, and basic geometric shape of the photovoltaic module, a three-dimensional model of the photovoltaic module is generated using parametric modeling. The three-dimensional models of each photovoltaic module are combined to obtain a three-dimensional structural diagram of the photovoltaic power station.

6. The method for analyzing CAD drawings of a photovoltaic power station according to claim 1, characterized in that, The basic attribute information includes layer structure, color, photovoltaic module ID, horizontal and vertical coordinate ratio, and rotation angle.

7. A photovoltaic power plant CAD drawing parsing system, characterized in that, include: The drawing information extraction module is used to collect CAD files of photovoltaic power plants and extract the drawing information of photovoltaic modules from the CAD files of the photovoltaic power plants; The spatial structure information parsing module is used to parse the shape of the photovoltaic module based on the photovoltaic module drawing information, and extract the spatial information and basic attribute information of the photovoltaic module shape by combining the CAD file of the photovoltaic power station. The 3D modeling module is used to obtain a 3D structural diagram of the photovoltaic power station based on the spatial information, basic attribute information, and photovoltaic module drawing information, and to complete the parsing of the CAD drawings of the photovoltaic power station.

8. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable in the processor. When the processor executes the computer program, it implements the steps of the photovoltaic power plant CAD drawing parsing method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the photovoltaic power plant CAD drawing parsing method according to any one of claims 1 to 6.

10. A computer program product, said computer product comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the photovoltaic power plant CAD drawing parsing method according to any one of claims 1 to 6.