基于改进YOLOv11n模型与DeepSeek-R1-7b的FPC缺陷智能检测系统OA
FPC Defect Intelligent Detection System Based on Improved YOLOv11n Model and DeepSeek-R1-7b
针对难以在资源受限条件下实现对柔性印制电路板(flexible printed circuit board,FPC)缺陷的高精度检测,且检测结果缺乏成因分析与工艺诊断能力,FPC 缺陷智能检测报告生成效率低的问题,提出了整合改进你只看一次第11 版纳米 型(you only look once version 11 nano,YOLOv11n)模型与深度求索第 1 代 70 亿参数推理大语言模型(DeepSeek release 1 7-billion parameter reasoning large language model,DeepSeek-R1-7b)的 FPC 缺陷智能检测系统.首先,重构了 YOLOv11n 模型的主干网络、颈部网络及检测头;然后,用剪枝策略对模型进行压缩;最后,利用检索增强生成(retrieval-augmented generation,RAG)策略优化 DeepSeek-R1-7b,用于分析推理.结果表明,当目标剪枝倍数为 2.0 时,改进 YOLOv11n 模型的平均精确率均值比原始 YOLOv11n 模型提升了 2.98%,模型参数量降低至原始模型的 20.5%,模型大小降低至原始模型的 32.7%.该系统在轻量化部署条件下实现了对缺陷的高精度检测,能够实时生成包括符合工业逻辑的诊断结论与改进措施的 FPC 缺陷智能检测报告.
To address the problems such as difficulty of achieving high accuracy detection in flexible printed circuit board(FPC)defect under resource constraints,the lack of causal analysis and process diagnosis capabilities,and the low efficiency in generating FPC defect intelligent detection reports,an FPC defect intelligent detection system integrating an improved you only look once version 11 nano(YOLOv11n)model with DeepSeek release 1 7-billion parameter reasoning large language model(DeepSeek-R1-7b)was proposed.Firstly,the backbone,neck,and detection head of YOLOv11n model was reconstructed.Subsequently,the model was compressed using a pruning strategy.Finally,DeepSeek-R1-7b was optimized by retrieval-augmented generation(RAG)strategy for analytical reasoning.The results demonstrated that the mean average precision of improved YOLOv11n model achieved 2.98%higher than the original YOLOv11n model with a target pruning ratio of 2.0,while the parameter count and model size were 20.5%and 32.7%of the original model,respectively.Under lightweight deployment conditions,the system achieved high-precision defect detection and real-time generation of FPC defect intelligent detection reports containing diagnostic conclusions and process improvement measures consistent with industrial logic.
谭浩;黄勇;官洲洋;向祖锐;谭杭;胡荣;陈进财;田彦
湖北民族大学 智能科学与工程学院,湖北 恩施 445000湖北民族大学 智能科学与工程学院,湖北 恩施 445000湖北民族大学 智能科学与工程学院,湖北 恩施 445000湖北民族大学 智能科学与工程学院,湖北 恩施 445000达翔技术(恩施)有限公司,湖北 恩施 445000达翔技术(恩施)有限公司,湖北 恩施 445000达翔技术(恩施)有限公司,湖北 恩施 445000达翔技术(恩施)有限公司,湖北 恩施 445000
信息技术与安全科学
柔性印制电路板缺陷检测YOLOv11nDeepSeek-R1-7b轻量化网络边缘计算
flexible printed circuit boarddefect detectionYOLOv11nDeepSeek-R1-7blightweight networkedge computing
《湖北民族大学学报(自然科学版)》 2026 (2)
166-172,7
湖北省科技计划项目(2022BEC021)恩施州科技计划项目(Z20250007).
评论