基于CPLC-YOLOv8的轻量型绝缘子缺陷检测算法OA
Lightweight Insulator Defect Detection Algorithm Based on CPLC-YOLOv8
[目的]针对绝缘子缺陷尺寸小、检测时易受复杂背景干扰以及基线模型参数量大等问题,本文提出一种基于 CPLC-YOLOv8 改进的轻量化绝缘子缺陷检测算法.[方法]首先,设计轻量化 RepNCSPELAN4-CAA 替换YOLOv8 主干网络中的 C2f 模块,降低参数量并增强特征表达能力;其次,新增小缺陷检测层 P2,强化浅层与深层特征的融合,减少小目标信息的流失;然后,设计一种轻量化检测头,采用 1×1 卷积调整通道维度,并利用细节增强卷积替代传统 3×3 卷积,实现参数共享与特征增强;最后,引入卷积注意力机制,通过通道与空间双重注意力机制抑制背景干扰,增强关键特征表达,提升模型鲁棒性与检测精度.[结果]在自建绝缘子缺陷数据集上的试验结果表明,CPLC-YOLOv8 的 mAP@0.5 达到 0.928,相较于YOLOv8 提升 2 个百分点;其模型参数量仅为 1.72 MB,较YOLOv8 减少 42.8%;模型大小为 4.12 MB,压缩 31.3%.在多种经典网络模型对比中,CPLC-YOLOv8 在检测精度、参数量和模型体积方面均表现出显著优势,尤其在小目标检测任务中展现出更强的鲁棒性和泛化能力.[结论]本文所提算法在保持高检测精度的同时,实现了模型的轻量化设计,适用于资源受限的边缘设备部署,具有良好的工程应用前景.未来工作将进一步探索多尺度特征融合与轻量化技术的结合,持续提升算法在实际电力巡检场景中的适应性与稳定性.
[Objective]Aiming at the problems of small insulator defect size,susceptibility to complex background interference during detection,and large parameter volume of the baseline model,this paper proposes a lightweight insulator defect detection algorithm based on an improved CPLC-YOLOv8.[Methods]Firstly,the lightweight RepNCSPELAN4-CAA module was designed to replace the C2f module in YOLOv8's backbone network,reducing parameter quantity while enhancing feature representation capability.Secondly,a small-defect detection layer P2 was added to strengthen the fusion of shallow and deep features,minimizing the loss of small-target information.Subsequently,a lightweight detection head was developed,where 1×1 convolution was employed for channel dimension adjustment and detail-enhanced convolution was utilized to replace conventional 3×3 convolution,achieving parameter sharing and feature enhancement.Finally,the convolutional block attention mechanism was introduced to suppress background interference through dual channel-spatial attention mechanisms,enhancing key feature representation and improving model robustness and detection accuracy.[Results]Experimental results on the custom insulator defect dataset demonstrated that the proposed CPLC-YOLOv8 achieved a mAP@0.5 of 0.928,representing a 2 percentage point improvement over the original YOLOv8.The model parameters were reduced to only 1.72 MB(42.8%reduction compared to YOLOv8),with a compressed model size of 4.12 MB(31.3%compression).Comparative evaluations with classic network models confirmed that CPLC-YOLOv8 exhibited significant advantages in detection accuracy,parameter efficiency,and model compactness,particularly demonstrating superior robustness and generalization capability in small object detection tasks.[Conclusion]The proposed algorithm achieves lightweight model design while maintaining high detection accuracy,making it suitable for deployment on resource-constrained edge devices with promising engineering application prospects.Future work will further explore the integration of multi-scale feature fusion and lightweight techniques to continuously enhance the algorithm's adaptability and stability in practical power inspection scenarios.
耿天宇;姜天燃;姜春;王玉峰
中车青岛四方机车车辆股份有限公司,山东 青岛 266111辽宁科技大学 电子与信息工程学院,辽宁 鞍山 114051辽宁科技大学 电子与信息工程学院,辽宁 鞍山 114051辽宁科技大学 电子与信息工程学院,辽宁 鞍山 114051
信息技术与安全科学
轻量化绝缘子缺陷检测CPLC-YOLOv8卷积注意力机制
lightweightinsulator defect detectionCPLC-YOLOv8convolutional block attention mechanism
《电机与控制应用》 2026 (4)
351-361,11
辽宁省教育厅项目(LJKFZ20220190) Liaoning Provincial Education Department Project(LJKFZ20220190)
评论