Resistive Measurement Method for MQ Sensors Based on ADCs of Microcontrollers

[EN] 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...

Descripción completa

Detalles Bibliográficos
Autores: Kaunkid, Sanya, Aurasopon, Apinan, Khamsen, Wanchai, Takeang, Chiraphon, Piladaeng, Nawarat, Lloret, Jaime|||0000-0002-0862-0533
Tipo de recurso: artículo
Fecha de publicación:2024
País:España
Institución:Universitat Politècnica de València (UPV)
Repositorio:RiuNet. Repositorio Institucional de la Universitat Politécnica de Valéncia
Idioma:inglés
OAI Identifier:oai:riunet.upv.es:10251/212140
Acceso en línea:https://riunet.upv.es/handle/10251/212140
Access Level:acceso abierto
Palabra clave:Metal oxide MQ series sensor
Resistive measurement
Arduino Mega2560
Analog-to-digital conversion
INGENIERÍA TELEMÁTICA
Descripción
Sumario:[EN] 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.