{"title":"基于微控制器 ADC 的 MQ 传感器电阻测量方法","authors":"Sanya Kaunkid;Apinan Aurasopon;Wanchai Khamsen;Chiraphon Takeang;Nawarat Piladaeng;Jaime Lloret","doi":"10.1109/ACCESS.2024.3472697","DOIUrl":null,"url":null,"abstract":"This paper proposes a system for measuring unknown resistances for metal oxide MQ gas sensors. The circuit configuration is based on the Anderson current loop interface, which connects directly to an Arduino Mega 2560. We analyze errors arising from variations in supply voltage of conventional divider circuits, including those introduced by the Analog-to-Digital Conversion (ADC) of microcontroller. To enhance the accuracy of resistance measurements, a voting technique for selecting the optimal unknown resistances is introduced. In this technique, the digital voltage at each node is analyzed to determine the frequency of occurrence of each level. If a particular voltage level has a frequency of occurrence greater than the reference threshold k, it is selected. If no voltage level meets this criterion, the average of the observed voltage levels is used. From the experimental results, unknown resistances were measured in the range of 362 – 15,\n<inline-formula> <tex-math>$397~\\Omega $ </tex-math></inline-formula>\n with a maximum approximated error of 0.55% with \n<inline-formula> <tex-math>$k =90$ </tex-math></inline-formula>\n%, while the gas content was measured with a maximum error of approximately 0.24% under conditions of power supply voltage fluctuation from 4.9 to 5.1 V.","PeriodicalId":13079,"journal":{"name":"IEEE Access","volume":"12 ","pages":"144364-144376"},"PeriodicalIF":3.4000,"publicationDate":"2024-10-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10704671","citationCount":"0","resultStr":"{\"title\":\"Resistive Measurement Method for MQ Sensors Based on ADCs of Microcontrollers\",\"authors\":\"Sanya Kaunkid;Apinan Aurasopon;Wanchai Khamsen;Chiraphon Takeang;Nawarat Piladaeng;Jaime Lloret\",\"doi\":\"10.1109/ACCESS.2024.3472697\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This paper proposes a system for measuring unknown resistances for metal oxide MQ gas sensors. The circuit configuration is based on the Anderson current loop interface, which connects directly to an Arduino Mega 2560. We analyze errors arising from variations in supply voltage of conventional divider circuits, including those introduced by the Analog-to-Digital Conversion (ADC) of microcontroller. To enhance the accuracy of resistance measurements, a voting technique for selecting the optimal unknown resistances is introduced. In this technique, the digital voltage at each node is analyzed to determine the frequency of occurrence of each level. If a particular voltage level has a frequency of occurrence greater than the reference threshold k, it is selected. If no voltage level meets this criterion, the average of the observed voltage levels is used. From the experimental results, unknown resistances were measured in the range of 362 – 15,\\n<inline-formula> <tex-math>$397~\\\\Omega $ </tex-math></inline-formula>\\n with a maximum approximated error of 0.55% with \\n<inline-formula> <tex-math>$k =90$ </tex-math></inline-formula>\\n%, while the gas content was measured with a maximum error of approximately 0.24% under conditions of power supply voltage fluctuation from 4.9 to 5.1 V.\",\"PeriodicalId\":13079,\"journal\":{\"name\":\"IEEE Access\",\"volume\":\"12 \",\"pages\":\"144364-144376\"},\"PeriodicalIF\":3.4000,\"publicationDate\":\"2024-10-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10704671\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Access\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10704671/\",\"RegionNum\":3,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"COMPUTER SCIENCE, INFORMATION SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Access","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10704671/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
摘要
本文提出了一种测量金属氧化物 MQ 气体传感器未知电阻的系统。电路配置基于安德森电流环接口,可直接连接到 Arduino Mega 2560。我们分析了传统分压器电路电源电压变化引起的误差,包括微控制器模数转换器 (ADC) 带来的误差。为了提高电阻测量的准确性,我们引入了一种用于选择最佳未知电阻的投票技术。在该技术中,对每个节点的数字电压进行分析,以确定每个电平出现的频率。如果某个电压电平的出现频率大于参考阈值 k,则会被选中。如果没有电压电平符合这一标准,则使用观察到的电压电平的平均值。从实验结果来看,在 362 - 15, $397~\Omega $ 的范围内测量了未知电阻,在 $k =90$ % 的条件下,最大近似误差为 0.55%,而在电源电压从 4.9 V 波动到 5.1 V 的条件下测量了气体含量,最大误差约为 0.24%。
Resistive Measurement Method for MQ Sensors Based on ADCs of Microcontrollers
This paper proposes a system for measuring unknown resistances for metal oxide MQ gas sensors. The circuit configuration is based on the Anderson current loop interface, which connects directly to an Arduino Mega 2560. We analyze errors arising from variations in supply voltage of conventional divider circuits, including those introduced by the Analog-to-Digital Conversion (ADC) of microcontroller. To enhance the accuracy of resistance measurements, a voting technique for selecting the optimal unknown resistances is introduced. In this technique, the digital voltage at each node is analyzed to determine the frequency of occurrence of each level. If a particular voltage level has a frequency of occurrence greater than the reference threshold k, it is selected. If no voltage level meets this criterion, the average of the observed voltage levels is used. From the experimental results, unknown resistances were measured in the range of 362 – 15,
$397~\Omega $
with a maximum approximated error of 0.55% with
$k =90$
%, while the gas content was measured with a maximum error of approximately 0.24% under conditions of power supply voltage fluctuation from 4.9 to 5.1 V.
IEEE AccessCOMPUTER SCIENCE, INFORMATION SYSTEMSENGIN-ENGINEERING, ELECTRICAL & ELECTRONIC
CiteScore
9.80
自引率
7.70%
发文量
6673
审稿时长
6 weeks
期刊介绍:
IEEE Access® is a multidisciplinary, open access (OA), applications-oriented, all-electronic archival journal that continuously presents the results of original research or development across all of IEEE''s fields of interest.
IEEE Access will publish articles that are of high interest to readers, original, technically correct, and clearly presented. Supported by author publication charges (APC), its hallmarks are a rapid peer review and publication process with open access to all readers. Unlike IEEE''s traditional Transactions or Journals, reviews are "binary", in that reviewers will either Accept or Reject an article in the form it is submitted in order to achieve rapid turnaround. Especially encouraged are submissions on:
Multidisciplinary topics, or applications-oriented articles and negative results that do not fit within the scope of IEEE''s traditional journals.
Practical articles discussing new experiments or measurement techniques, interesting solutions to engineering.
Development of new or improved fabrication or manufacturing techniques.
Reviews or survey articles of new or evolving fields oriented to assist others in understanding the new area.