{"title":"Time Constant Estimation on a Low-Cost, Low-Power Microcontroller Using the Matrix Pencil Method","authors":"Kelly L. Tou;Titan Yuan;Kristofer S. J. Pister","doi":"10.1109/LSENS.2025.3597629","DOIUrl":null,"url":null,"abstract":"An algorithm to accurately determine the time constant of a circuit simplifies reading out resistive and capacitive sensors. However, implementing such an algorithm on low-cost, low-power microcontrollers requires overcoming hardware limitations, such as analog-to-digital converter (ADC) noise, limited memory, and the lack of a floating-point unit. This work utilizes the matrix pencil method to estimate the time constant of a decaying exponential signal and outlines the nontrivial firmware implementation of the algorithm on a low-cost, low-power microcontroller. Experimental results show that time constants over more than two orders of magnitude can be accurately estimated to be within around 2% of the nominal value with a standard error of about 0.2% of the nominal value, despite the hardware limitations. This is a significant improvement over previous methods for accurately determining the time constant of a circuit using subpar hardware.","PeriodicalId":13014,"journal":{"name":"IEEE Sensors Letters","volume":"9 9","pages":"1-4"},"PeriodicalIF":2.2000,"publicationDate":"2025-08-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Sensors Letters","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/11122417/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0
Abstract
An algorithm to accurately determine the time constant of a circuit simplifies reading out resistive and capacitive sensors. However, implementing such an algorithm on low-cost, low-power microcontrollers requires overcoming hardware limitations, such as analog-to-digital converter (ADC) noise, limited memory, and the lack of a floating-point unit. This work utilizes the matrix pencil method to estimate the time constant of a decaying exponential signal and outlines the nontrivial firmware implementation of the algorithm on a low-cost, low-power microcontroller. Experimental results show that time constants over more than two orders of magnitude can be accurately estimated to be within around 2% of the nominal value with a standard error of about 0.2% of the nominal value, despite the hardware limitations. This is a significant improvement over previous methods for accurately determining the time constant of a circuit using subpar hardware.