湖南电力 ›› 2024, Vol. 44 ›› Issue (6): 97-103.doi: 10.3969/j.issn.1008-0198.2024.06.014

• 新技术及应用 • 上一篇    下一篇

基于位图和矢量图联合识别的电气二次图纸解析方法研究

瞿旭1,2, 龙崦平1,2, 张伟1,2, 袁超雄1,2   

  1. 1.国网湖南省电力有限公司超高压变电公司,湖南 长沙 410029;
    2.变电智能运检国网湖南省电力有限公司实验室,湖南 长沙 410029
  • 收稿日期:2024-09-02 出版日期:2024-12-25 发布日期:2024-12-25
  • 作者简介:瞿旭(1973),女,学士,高级工程师,主要从事继电保护工作。
  • 基金资助:
    国网湖南省电力有限公司科技项目(5216A321N00H)

Research on Electrical Secondary Drawing Recognition Method Based on Joint Recognition of Bitmap and Vec‍tor Graphics

QU Xu1,2, LONG Yanping1,2, ZHANG Wei1,2, YUAN Chaoxiong1,2   

  1. 1. State Grid Hunan Extra High Voltage Substation Company, Changsha 410029, China;
    2. Substation Intelligent Operation and Inspection Laboratory of State Grid Hunan Electric Power Company Limited, Changsha 410029, China
  • Received:2024-09-02 Online:2024-12-25 Published:2024-12-25

摘要: 针对现有研究多着重于变电站二次回路电气元件的识别,而忽略连接关系的判定的问题,提出一种位图和矢量图联合解析CAD电气图纸的方法。首先,使用YOLOv8目标检测算法识别位图格式的电气图纸,获取图纸中的电气元件类别、位置等信息。然后,利用CAD图纸的矢量图特性拾取连接元件符号之间的线段信息,生成以导线为节点、导线连接点为边的拓扑图。最后,采用深度优先搜索的方法遍历拓扑图,判定元件符号之间的连接关系。该方法结合了目标识别方法提取位图中元件符号和利用矢量图提取线段的优势,电气元件识别精度高,连接关系识别准确。

关键词: YOLOv8, CAD图纸识别, 深度学习, 连接关系分析

Abstract: Aiming at the problem that existing research mainly focuses on the identification of electrical components in the secondary circuit of substations and neglects the determination of connection relationships,a method for jointly analyzing CAD electrical drawings using bitmap and vector graphics is proposed. Firstly, YOLOv8 object detection algorithm is used to identify electrical drawings in bitmap format,obtain the categories and positions of electrical components in the drawings, and then the vector graphic characteristics of CAD drawings are used to pick up the line segment information between connecting component symbols,generating a topology map with wires as nodes and wire connection points as edges. Finally,a depth first search method is used to traverse the topology map to determine the connection relationships between component symbols. This method combines the advantages of extracting component symbols from bitmap using object recognition methods and extracting line segments using vector graphics, resulting in high accuracy in electrical component recognition and accurate recognition of connection relationships.

Key words: YOLOv8, CAD drawing recognition, deep learning, connection relationship analysis

中图分类号: