ProCal: A Low-Cost and Programmable Calibration Tool for IoT Devices

Calibration is an important step towards building reliable IoT systems. For example, accurate sensor reading requires ADC calibration, and power monitoring chips must be calibrated before being used for measuring the energy consumption of IoT devices. In this paper, we present ProCal, a low-cost, accurate, and scalable power calibration tool. ProCal is a programmable platform which provides dynamic voltage and current output for calibration. The basic idea is to use a digital potentiometer connected to a parallel resistor network controlled through digital switches. The resistance and output frequency of ProCal is controlled by a software communicating with the board through the SPI interface. Our design provides a simple synchronization mechanism which prevents the need for accurate time synchronization. We present mathematical modeling and validation of the tool by incorporating the concept of Fibonacci sequence. Our extensive experimental studies show that this tool can significantly improve measurement accuracy. For example, for ATMega2560, the ADC error reduces from 0.2% to 0.01%. ProCal not only costs less than 2\% of the current commercial solutions, it is also highly accurate by being able to provide extensive range of current and voltage values.

[1]  K. Langendoen,et al.  PowerBench: A Scalable Testbed Infrastructure for Benchmarking Power Consumption , 2008 .

[2]  Federico Ferrari,et al.  FlockLab: A testbed for distributed, synchronized tracing and profiling of wireless embedded systems , 2013, 2013 ACM/IEEE International Conference on Information Processing in Sensor Networks (IPSN).

[3]  E. Jovanov,et al.  An environment for runtime power monitoring of wireless sensor network platforms , 2005, Proceedings of the Thirty-Seventh Southeastern Symposium on System Theory, 2005. SSST '05..

[4]  Robert W. Brodersen,et al.  Background ADC calibration in digital domain , 2008, 2008 IEEE Custom Integrated Circuits Conference.

[5]  D.A. Hodges,et al.  A self-calibrating 15 bit CMOS A/D converter , 1984, IEEE Journal of Solid-State Circuits.

[6]  A. Karanicolas,et al.  A 15-b 1-Msample/s digitally self-calibrated pipeline ADC , 1993 .

[7]  P. Daponte IEEE standard for terminology and test methods for analog-to-digital converters , 2001 .

[8]  Lars C. Wolf,et al.  Distributed Energy Measurement in WSNs for Outdoor Applications , 2016, 2016 13th Annual IEEE International Conference on Sensing, Communication, and Networking (SECON).

[9]  Achim Berger,et al.  Efficient analysis of power consumption behaviour of embedded wireless IoT systems , 2017, 2017 IEEE International Instrumentation and Measurement Technology Conference (I2MTC).

[10]  Un-Ku Moon,et al.  Background digital calibration techniques for pipelined ADCs , 1997 .

[11]  Behnam Dezfouli,et al.  EMPIOT: An Energy Measurement Platform for Wireless IoT Devices , 2018, J. Netw. Comput. Appl..

[12]  David E. Culler,et al.  Micro Power Meter for Energy Monitoring of Wireless Sensor Networks at Scale , 2007, 2007 6th International Symposium on Information Processing in Sensor Networks.

[13]  John Anderson,et al.  An analysis of a large scale habitat monitoring application , 2004, SenSys '04.

[14]  W. R. Bennett,et al.  Spectra of quantized signals , 1948, Bell Syst. Tech. J..

[15]  R.C. Taft,et al.  A 1.8-V 1.6-GSample/s 8-b self-calibrating folding ADC with 7.26 ENOB at Nyquist frequency , 2004, IEEE Journal of Solid-State Circuits.

[16]  Guoliang Xing,et al.  Nemo: A high-fidelity noninvasive power meter system for wireless sensor networks , 2013, 2013 ACM/IEEE International Conference on Information Processing in Sensor Networks (IPSN).

[17]  Behnam Dezfouli,et al.  REWIMO , 2017, ACM Trans. Sens. Networks.

[18]  David Slepicka,et al.  ADC nonlinearity correction based on INL(n) approximations , 2009, 2009 IEEE International Workshop on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications.

[19]  Deborah Estrin,et al.  A Collaborative Approach to In-Place Sensor Calibration , 2003, IPSN.

[20]  Gabor C. Temes,et al.  Power-on digital calibration method for delta-Sigma ADCs , 2016, 2016 IEEE International Symposium on Circuits and Systems (ISCAS).

[21]  Larry Gaddy SELECTING AN A/D CONVERTER , 1995 .