[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-720756-105":59,"doc-detail-720756-en":130,"doc-similar-720756":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","leakage-aware-evaluation-of-fault-state-detectors-for-a-low-cost-esp32-multi-sensor-battery-safety-monitor","Leakage-Aware Evaluation of Fault-State Detectors for a Low-Cost ESP32 Multi-Sensor Battery Safety Monitor","","Low-cost ESP32-based microcontroller monitoring for lithium-ion battery safety can report near-perfect machine-learning accuracy, yet dataset auditing and evaluation splitting are rarely addressed. This study documents an ESP32 prototype sampling cell voltage, motor-branch current, temperature, and MQ-2 gas output every 2 s, applying a three-level threshold rule and auditing a 5,186-row dataset. Detectors are compared using random, blocked, and blocked five-fold splits with embargo, quantifying data leakage effects, firmware baselines, and deployment footprint.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/leakage-aware-evaluation-of-fault-state-detectors-for-a-low-cost-esp32-multi-sensor-battery-safety-monitor/720756/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/leakage-aware-evaluation-of-fault-state-detectors-for-a-low-cost-esp32-multi-sensor-battery-safety-monitor/720756.png","ImageObject",300,407,{"name":92,"@type":93},"Rainbow Cat","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-23","2026-11-18",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the main goal of the study?","Question",{"text":112,"@type":113},"To provide an end-to-end, leakage-aware evaluation of a low-cost ESP32 battery safety monitor by linking its hardware and firmware to the recorded dataset and evaluation protocol.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How is the ESP32 prototype designed and what data are collected?",{"text":117,"@type":113},"The prototype samples cell voltage, motor-branch current, cell temperature, and MQ-2 gas-sensor output every 2 seconds, applies a three-level threshold rule, drives a protection relay, and audits the dataset recorded on it.",{"name":119,"@type":110,"acceptedAnswer":120},"How do different data splitting strategies affect detector performance?",{"text":121,"@type":113},"Under blocked splits with temperature and gas available, every detector reaches at least 0.994 macro-F1 and no learner outperforms the small rule-based baseline. With only voltage and current, random splitting increases macro-F1 compared with blocked splitting (paired t-test, p ≤ 0.002), indicating leakage effects.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},720756,1795039109,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},962090769181,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Leakage-Aware Evaluation of Fault-State Detectors for a Low-Cost ESP32 Multi-Sensor Battery Safety Monitor  \nAbdul Hasib  \nUniversity of Frontier Technology, Bangladesh  \nMajedul Islam Naeem  \nLeading University  \nNihal Das Ankur  \nSoutheast University  \nResearch Article  \nKeywords: Battery safety monitoring, ESP32, Data leakage, Blocked cross-validation, Embedded machine learning, Dataset audit  \nPosted Date: November 3rd, 2026  \nDOI: [https://doi.org/10.21203/rs.3.rs-11578110/v1](https://doi.org/10.21203/rs.3.rs-11578110/v1)  \nLicense: 􀁱 􀅏 This work is licensed under a Creative Commons Attribution 4.0 International License.  \nRead Full License  \nAdditional Declarations: No competing interests reported.  \nLeakage-Aware Evaluation of Fault-State Detectors for a Low-Cost ESP32 Multi-Sensor Battery Safety Monitor  \nAbdul Hasib 1*, Majedul Islam Naeem2 and Nihal Das Ankur3  \n1* Department of Internet of Things and Robotics Engineering,  \nUniversity of Frontier Technology, Bangladesh.  \n2 Department of Electrical and Electronic Engineering, Leading University, Sylhet, Bangladesh.  \n3 Department of Electrical and Electronics Engineering, Southeast University, Bangladesh.  \n*Corresponding author(s). E-mail(s): [sm.abdulhasib.bd@gmail.com](sm.abdulhasib.bd@gmail.com) ; Contributing [authors:](authors: majedulnaeem@gmail.com)[ majedulnaeem@gmail.com](authors: majedulnaeem@gmail.com);  \n[nihaldas007@gmail.com](nihaldas007@gmail.com) ;  \nAbstract  \nLow-cost microcontroller monitors for lithium-ion battery safety are frequently reported with near-perfect machine-learning accuracy, yet the datasets behind such ﬁgures are seldom audited and are usually split at random. This study documents an ESP32 prototype with a component cost below 2,000 BDT (16.19 USD) that samples cell voltage, motor-branch current, cell temperature and MQ-2 gas-sensor output every 2 s, applies a three-level threshold rule and drives a protection relay, and audits the 5,186-row dataset recorded on it. The dataset joins four phase recordings, each carrying a single label. The ﬁrmware rule reproduces 97.13% of the labels, temperature alone separates the three states, only 24.7% of temperature values fall on the output grid of the DS18B20 sensor, and 48 .7% of current samples are positive in a branch that should conduct in one direction. Eight detectors (the ﬁrmware rule, ﬁve tabular learners, a one-dimensional convolutional network and a long short-term memory network) were compared under random, blocked and blocked ﬁve-fold splits with a 60-row embargo over ﬁve seeds. With temperature and gas available, every detector reached at least 0.994 macro-F1 under the blocked split, so no learner improved on the 126-byte rule. With voltage and current only, random splitting raised macro-F1 by 0.183 to 0.271 over blocked splitting (paired t-test, p ≤ 0.002) . Compiled for the ESP32,  \n1  \nthe trained tabular detectors occupied 205 to 29,256 bytes. Recording-aware splits and a dataset audit should precede any accuracy claim for such monitors.  \nKeywords: Battery safety monitoring, ESP32, Data leakage, Blocked  \ncross-validation, Embedded machine learning, Dataset audit  \n1 Introduction  \nLithium-ion cells can enter thermal runaway, a chain of exothermic decomposition reactions that ends in venting, ﬁre or explosion (Feng et al. , 2018; Wang et al. , 2012) . Most ﬁres in electric vehicles are traced to this failure of the battery (Sun, Bisschop, Niu, & Huang, 2020), and a battery management system is expected to detect abnormal voltage, current and temperature before the chain becomes self-sustaining (Lu, Han, Li, Hua, & Ouyang, 2013) . Because electrolyte decomposition releases gases such as H2 , CO and CO2 before or during the ﬁrst venting (Koch, Fill, & Birke, 2018), gas sensing has been proposed as an earlier indicator than temperature or voltage alone (Cai et al. , 2021; Essl, Seifert, Rabe, & Fuchs, 2021; Jin et al. , 2020) . A survey of monitoring and detection methods com","cbCaivLCvChItV2J","https://ap.wps.com/l/cbCaivLCvChItV2J","pdf",14712817,26,"English","# Abstract\n# Keywords\n# 1 Introduction\n## Battery safety risks and monitoring requirements\n## Leakage in evaluation splits and reported accuracies\n## Research gap and study contributions","[{\"question\":\"What is the main goal of the study?\",\"answer\":\"To provide an end-to-end, leakage-aware evaluation of a low-cost ESP32 battery safety monitor by linking its hardware and firmware to the recorded dataset and evaluation protocol.\"},{\"question\":\"How is the ESP32 prototype designed and what data are collected?\",\"answer\":\"The prototype samples cell voltage, motor-branch current, cell temperature, and MQ-2 gas-sensor output every 2 seconds, applies a three-level threshold rule, drives a protection relay, and audits the dataset recorded on it.\"},{\"question\":\"How do different data splitting strategies affect detector performance?\",\"answer\":\"Under blocked splits with temperature and gas available, every detector reaches at least 0.994 macro-F1 and no learner outperforms the small rule-based baseline. With only voltage and current, random splitting increases macro-F1 compared with blocked splitting (paired t-test, p ≤ 0.002), indicating leakage effects.\"}]","Leakage-Aware Evaluation of Fault-State Detectors for a Low-Cost ESP32 Multi-Sensor Battery Safety Monitor | PDF",66,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6ce3bf5de181c80caa7ed7fc6afdc29e.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5e1afc533519059f3916de1b157a1475.webp",982,1388,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/efca970c75030f363b16e5205c60f3e1.webp",981,1387,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c314a00f654b73fddb9c1791875de9ca.webp",980,1385,{"list":163,"token":66},[164,170,177,184,191,198,205,212,219,226],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":24,"category_name":40,"create_tm":169},691924,"Development of a UWB–IMU-Based System for Relative Indoor Localization Using a Single Anchor - Entwicklung eines UWB-IMU-basierten Systems zur relativen Indoor-Lokalisierung mit Einzelanker","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002055065/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241179&Signature=zrNqDPC%2F7%2FTZ9uH6g97G6ZtPrOU%3D","development-of-a-uwbimu-based-system-for-relative-indoor-localization-using-a-single-anchor-entwicklung-eines-uwb-imu-basierten-systems-zur-relativen-indoor-lokalisierung-mit-einzelanker",1794177015,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":40,"create_tm":176},234,"XNX Gas Detector Calibration Guide 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241179&Signature=IZ3J0BMGl7JpbuF4XHh8Th1fTuA%3D","xnx-gas-detector-calibration-2023",7976,1776136863,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":40,"create_tm":183},227,"Sridevi Matka Chart Full Guide to Panel, Jodi & Pana Records","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241179&Signature=8LJ2sNO0ko2ORPq3hYpaSbti2mQ%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",7010,1776136851,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":40,"create_tm":190},167314,"Linear Algebra and Its Applications 6th edition Textbook by david c. lay","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229876163444/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241179&Signature=XC52k8RlbCLjBKoEA6xY%2BQuiBnM%3D","linear-algebra-and-its-applications-sixth-edition-david-c-lay-steven-r-lay-judi-j-mcdonald",5976,1788211707,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":40,"create_tm":197},32070,"Blueprint Pengelolaan Sumber Daya Manusia Kesehatan (SDMK) Tahun 2025–2029","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229758685683/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241179&Signature=vEVLQLTRpNm6N0ebpiA3Vq%2FVTv8%3D","healthcare-human-resources-management-blueprint-sdmk-20252029",1294,1780779716,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":40,"create_tm":204},148514,"Developmental Biology - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229868853261/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241179&Signature=Z%2FhMZMfttWXaNlka7FXa326Ras8%3D","developmental-biology-twelfth-edition",1267,1787780705,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":40,"create_tm":211},121,"Letter of Intent Sample for School","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693418846/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241179&Signature=QJmqeQRW%2BwnTrcRY2N48DgFuvFo%3D","letter-of-intent-sample-for-school",1059,1776135210,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":40,"create_tm":218},117724,"The Trading Edge - Vivek Bajaj","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834707110/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241179&Signature=VkBslnStHYKjHmGwIvk71idxOXs%3D","the-trading-edge-vivek-bajaj",892,1785678693,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":40,"create_tm":225},129209,"Laboratory Manual for Principles of General Chemistry - J. A. Beran - 11th Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840760175/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241179&Signature=xJt6S2j1RjTJKC5N7LGHQBCE6a8%3D","laboratory-manual-for-principles-of-general-chemistry-j-a-beran-11th-edition",889,1786011673,{"doc_id":227,"doc_title":228,"file_type":137,"home_preview_img_url":229,"slug":230,"view_count":231,"category_name":40,"create_tm":232},47709,"Stress, Appraisal, and Coping","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229799364477/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241179&Signature=aRx7uOoMeUesWyFWihV48lY6kzQ%3D","stress-appraisal-and-coping",861,1783565401]