计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260300011-885.doi: 10.11896/jsjkx.260300011

• 大数据&数据科学 • 上一篇    下一篇

基于改进深度学习的城中村电气火灾与触电类型识别方法

汪自虎, 蒋涛, 陈雪薇, 周雪, 宋扬, 解明辉, 张鸽   

  1. 国网江苏省电力有限公司南京供电分公司 南京 210000
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 汪自虎(1279777932@qq.com)
  • 基金资助:
    国网江苏省电力有限公司科技项目(J2025098)

Identification Method of Electrical Fire and Electric Shock Types in Urban Villages Based onImproved Deep Learning

WANG Zihu, JIANG Tao, CHEN Xuewei, ZHOU Xue, SONG Yang, XIE Minghui, ZHANG Ge   

  1. Nanjing Power Supply Branch of State Grid Jiangsu Electric Power Co.,Ltd.,Nanjing 210000,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:WANG Zihu,born in 1975,undergra-duate,senior engineer.His main research interests include big data processing technology for power grid-related power supply and consumption safety operation and emergency support on the power user side.
  • Supported by:
    This work was supported by the Science and Technology Project of State Grid Jiangsu Electric Power Co.,Ltd.(J2025098).

摘要: 城中村是我国城市化进程中形成的特殊居住形态,受电网基础薄弱、管理缺位等因素影响,电气火灾、触电两类高危害用电安全隐患频发,而现有识别技术存在早期征兆捕捉不足、抗干扰能力弱、场景适配性差等缺陷,相关靶向改进研究存在显著缺口。针对上述问题,提出了一种基于多模态数据融合的改进深度学习识别方法。对于电气火灾的识别,聚焦火灾早期时序特征微弱、易受环境干扰的识别难点,在双向长短期记忆网络(BiLSTM)中嵌入时间注意力机制,构建时间注意力-BiLSTM模型。该模型通过BiLSTM双向结构完整捕捉火灾相关参数的正反向时序依赖关系,同时借助时间注意力层自适应加权强化火灾前兆关键突变节点的特征表达、抑制冗余时序信息干扰,深度融合温度、湿度、特征气体等非电参量与漏电、短路等电参量的多模态时序特征,解决了传统单向LSTM模型时序信息捕捉不全、对早期微弱征兆识别灵敏度不足的问题,实现电气火灾与非电气火灾的精准区分。对于触电类型的识别,聚焦强噪声背景下弱触电信号难提取、不同触电类型特征差异小的行业痛点,先通过E-DWT联合去噪方法实现强噪声抑制与弱触电信号特征保留的精准平衡,在此基础上通过格拉姆角场(GAF)完成一维时序触电信号到二维特征谱图的映射,充分适配卷积神经网络(CNN)的空间特征提取优势,并嵌入卷积块注意力模块(CBAM),构建E-DWT-CBAM-CNN模型,通过通道与空间双维度注意力自适应增强关键故障特征,解决了传统CNN模型对弱信号特征提取能力不足、抗干扰能力弱的问题,实现生物直接触电、生物间接触电、介质型漏电故障三类场景的精准分类。实验结果表明,提出的改进深度学习方法的电气火灾分类准确率达96.8%,触电类型识别准确率达96.4%,较传统LSTM,CNN等基础模型,其识别精度与抗干扰能力均实现大幅提升,综合性能优势显著。该方法为城中村高危害用电安全隐患的精准识别提供了核心算法支撑,也为低压配电网智能用电安全隐患识别终端的研制奠定了技术基础。

关键词: 城中村, 用电安全隐患, 电气火灾识别, 触电分类, 改进深度学习, 时间注意力-BiLSTM, E-DWT-CBAM-CNN

Abstract: Urban villages represent a distinctive residential paradigm emerging in the process of urbanization in China.Constrained by weak power grid infrastructure and inadequate management,urban villages are plagued by frequent occurrences of high-risk electrical hazards,including electrical fires and electric shocks.Current identification technologies are hampered by inherent limitations,such as inadequate detection of early hazard precursors,weak anti-interference capability and poor scene adaptability,while targeted research for technological improvement in this field remains insufficient.To address the aforementioned challenges,this paper proposes an improved deep learning identification method based on multimodal data fusion.For electrical fire identification,targeting the core bottlenecks of weak early temporal features and severe environmental interference in fire hazard detection,a temporal attention-embedded bidirectional long short-term memory(BiLSTM) model is developed.The bidirectional structure of BiLSTM enables comprehensive capture of bidirectional temporal correlation of fire-related parameters.Combined with the temporal attention mechanism,the model adaptively enhances feature representation of critical mutation nodes in early fire precursors and suppresses interference from redundant temporal information.By realizing deep fusion of multimodal temporal features derived from non-electrical indicators(temperature,humidity,characteristic gases,etc.) and electrical parameters(electric leakage,short circuit and other fault indicators),the proposed model resolves the drawbacks of conventional unidirectional LSTM models,such as incomplete temporal feature mining and low sensitivity to weak early hazard signals,and achieves high-precision discrimination between electrical and non-electrical fires.In terms of electric shock identification,focusing on the technical difficulties of weak electric shocksignal extraction under strong noise interference and insignificant feature differences among diverse electric shock types,an enhanced discrete wavelet Transform(E-DWT) joint denoising strategy is adopted to realize effective noise suppression and stable retention of weak fault signal features.On this basis,gram angular field(GAF) is employed to convert one-dimensional temporal electric shock signals into two-dimensional feature maps,which fully accommodates the spatial feature extraction advantages of convolutional neural networks(CNNs).Furthermore,a convolutional block attention module(CBAM) is integrated to construct the E-DWT-CBAM-CNN model.Through dual-channel and spatial attention adaptive optimization,the proposed model strengthens the extraction of key fault features,overcomes the deficiencies of traditional CNNs in weak signal characterization and anti-interference performance,and achieves accurate classification of three typical electric shock scena-rios:direct electric shock,indirect electric shock and dielectric leakage faults.Experimental results verify that the proposed improved deep learning method achieves an identification accuracy of 96.8% for electrical fire classification and 96.4% for electric shock type recognition.Compared with classic baseline models such as conventional LSTM and CNN,the proposed method deli-vers significant improvements in identification accuracy and anti-interference perfor-mance with superior comprehensive perfor-mance.This study provides core algorithmic support for the accurate identification of high-risk electrical safety hazards in urban villages and establishes a solid technical foundation for the development of intelligent hazard detection terminals for low-voltage distribution networks.

Key words: Urban villages, Electrical safety hazards, Electrical fire identification, Electric shock classification, Improved deep learning, Temporal attention-BiLSTM, E-DWT-CBAM-CNN

中图分类号: 

  • TM76
[1] XIANG L Y,ZHOU Y B,SU S,et al.Identification Method of Leakage Users with Wiring Errors Based on Correlation Analysis of Residual Current in Transformer Area[J].Automation of Electric Power Systems,2024,48(20):191-199.
[2] FANG W Q,WANG Y,WANG M S,et al.Novel Comprehensive Risk Assessment of Distribution Network Considering Uncertainty of Distributed Generation[J/OL].Journal of North China Electric Power University(Natural Science Edition),1-14[2026-04-16].https://link.cnki.net/urlid/10.1999.7M.20260227.1150.002.
[3] MAURYA P,TIWARI P,PRATAP A,et al.Advanced optimization of distributed generation and network reconfiguration in power distribution networks:Challenges,methodologies,and strategic insights[J].Renewable and Sustainable Energy Reviews,2026,232:116830.
[4] LIU J,WANG C,XU L,et al.Enhancing Residential Electricity Safety and Management:A Novel Non-Intrusive Load Monitoring-Based Methodology for Accurate Appliance Operational State Identification[J].Applied Sciences,2024,14(2):503.
[5] LI Y,JENN A,HONG W,et al.Exploring resource access inelectric vehicle-induced power distribution grid upgrades[J].Energy Strategy Reviews,2026,64:102150.
[6] WAN A,GONG W,BUKHAITI A K,et al.Data-driven earlyfire detection in offshore wind turbines:A TCN-ECA based approach leveraging SCADA data[J].Process Safety and Environmental Protection,2025,200:107373.
[7] AN Z,ZHANG L,WANG Z,et al.High-Precision,Self-Powered Current Online Monitoring System Based on TMR Sensors Array for Distribution Networks[J].Sensors,2025,25(5):1473.
[8] LAI S S,XIAO J,LAN X G,et al.Research on characteristics and demand forecasting of low-voltage power load in an urban village of Guangzhou [J].Power Demand Side Management,2020,22(5):73-77.
[9] PERACHI K,BALAJI S.IoT-driven smart grid monitoring with enhanced energy routing and advanced encryption techniques[J].Ain Shams Engineering Journal,2025,16(11):103656.
[10] LIN Z A,LIU S Y,JIN W C,et al.Low-voltage user electricity hidden danger detection method based on improved local outlier factor [J].Automation of Electric Power Systems,2022,46(1):130-138.
[11] VORWERK P,KELLETER J,MÜLLER S,et al.Classification in Early Fire Detection Using Multi-Sensor Nodes-A Transfer Learning Approach[J].Sensors,2024,24(5):1428.
[12] NAZIR A,MOSLEH H,TAKRURI M,et al.Early Fire Detection:A New Indoor Laboratory Dataset and Data Distribution Analysis [J].Fire,2022,5(1):11.
[13] CHOI W,JUNG Y I.Multi-Sensor Photoelectric Fire Alarm Device Implementation for Early Fire Detection in Campsites[J].Applied Sciences,2024,14(21):9965.
[14] PANG B,MENG J,ZHANG Y,et al.Research on low-voltage user electricity hidden danger identification method based on SSAE-SSA-GRU [J].Electric Drive,2025,55(7):78-86.
[15] XIAO X Q,HU J H,YE Z,et al.Early warning method of low-voltage electricity safety hazards based on multi-dimensional features and random forest [J].Journal of Electric Power Science and Technology,2024,39(2):143-151.
[16] SHI P,LU J,XU Y,et al.A multiple convolution and bilayer acceleration model for precise and efficient early urban fire detection in complex scenarios[J].Engineering Applications of Artificial Intelligence,2025,162(PC):112555.
[17] ZHOU Y,ZHANG X,SHEN Y,et al.GLE-YOLO:A light-weight and efficient defect detection model for power inspection[J].Engineering Research Express,2025,7(4):045238.
[18] XING W J,KIM B O.A Novel Early Indoor Fire Detection Method Based on Multi-sensor Device & Improved CNN-BiLSTM-Attention Model[C]//2023 6th International Conference on Electronics Technology(ICET).IEEE,2023:1151-1155.
[19] HUANG Z S,LIU Y F,ZHANG X H,et al.Cooperative optimization method of energy supply range and load regulation technology for rural distribution network [J].Electric Power,2022,55(9):46-55.
[20] XUE Y,SONG R N,ZHANG P H,et al.Research on low-voltage power consumption state evaluation based on improved AHP-fuzzy comprehensive evaluation method [J].Journal of Harbin University of Science and Technology,2025,30(5):78-86.
[21] HUAN D,PENGZHAN S,HONGBO L,et al.Electrical firemonitoring IoT framework for ancient architectural complex leveraging edge computing[J].International Journal of Communication Systems,2022,35(17).
[22] CHEN Q B.Research on overload protection method of distribution network lines considering demand response [J].High Vol-tage Apparatus,2023,59(4):132-139.
[23] LIN M,LUO Y,CHEN S,et al.Low-Voltage Biological Electric Shock Fault Diagnosis Based on the Attention Mechanism Fusion Parallel Convolutional Neural Network/Bidirectional Long Short-Term Memory Model[J].Mathematics,2024,12(24):3984.
[24] FU X Y,TANG B P,PECHT M,et al.Deep Residual Shrinkage Networks for Fault Diagnosis[J].IEEE Transactions on Industrial Informatics,2020,16:4681-4690.
[25] ALMEHDHAR A,PROCHAZKA R.Classification of Multiple Partial Discharge Sources Using Time-Frequency Analysis and Deep Learning[J].Applied Sciences,2025,15(10):5455.
[26] XIAO J,HE G W.Model of maximum power supply capacity of distribution network considering bidirectional energy exchange load [J].Automation of Electric Power Systems,2022,46(5):11-20.
[27] QU D P,FAN J H,LIU Q Y,et al.Evaluation and optimization of charging pile acceptance capacity considering comprehensive operation risk of distribution network [J].Power System Protection and Control,2022,50(3):132-139.
[28] RAHIMI S,AGHAEI J,SHAFIE-KHAH M,et al.Impact ofimplementing emergency demand response program and tie-line on cyber-physical distribution network resiliency [J].International Journal of Electrical Power & Energy Systems,2025,167:108698.
[29] LI J T,YOU J G,GAO Q,et al.Prediction Method of Outlet Moisture Content of Thin Plate Dryer Based on Transformer and LSTM[J].Computer Applications and Software,2026,43(6):312-321.
[30] YAO L,LI Z,WU C,et al.Prediction of Steel Fatigue Strength Based on Mutual Information Feature Selection and Recursive Feature Elimination[J].Journal of Mechanical Strength,2026,48(1):72-78.
[31] DU F,ZHANG C,DUAN Y,et al.Wavelet denoising based on improved threshold strategy for laser absorption spectroscopy signal processing[J].Infrared Physics and Technology,2026,152:106219.
[32] YANG M,REN L,WANG S,et al.Denoising Method for Capacitive Cotton Seed Monitoring Signals Based on CEEMDAN-Wavelet Threshold[J].Transactions of the Chinese Society for Agricultural Machinery,2025,56(5):71-81.
[33] GUAN H O,DU S H,SU J,et al.An automatic and rapid detection model of electric shock signal [J].Power System Technology,2013,37(8):2328-2335.
[34] LIU Y M,DU S H,SHENG W X.Electric Shock Current Detection Method Based on SVM-Neural Network Fusion Feedback[J].Power System Technology,2020,44(5):1972-1977.
[35] HAN X H,DU S H,SU J,et al.Transient Feature Extraction and Fault Type Identification Method for Electric Shock Signals[J].Power System Technology,2016,40(11):3591-3596.
[36] HAN X H,DU S H,LI Z,et al.Electric Shock Fault Diagnosis Based on Time-Frequency Singular Spectrum and Fuzzy Clustering of Leakage Current[J].Transactions of the Chinese Society of Agricultural Engineering,2018,34(4):217-222.
[37] LI C L,LUO J,WANG C Y,et al.Electric Shock Identification Based on Cyclic Spectrum Features and Clustering Analysis[J].Transactions of China Electrotechnical Society,2021,36(22):4677-4687.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!