Efficient Data Logging for One Wire Protocol Sensor in IoT: A Hardware-in-the-Loop (HIL) Approach

International Journal of Electrical and Electronics Engineering
© 2024 by SSRG - IJEEE Journal
Volume 11 Issue 5
Year of Publication : 2024
Authors : Patnaikuni Dinkar R. Patnaik, Sachin R. Gengaje
pdf
How to Cite?

Patnaikuni Dinkar R. Patnaik, Sachin R. Gengaje, "Efficient Data Logging for One Wire Protocol Sensor in IoT: A Hardware-in-the-Loop (HIL) Approach," SSRG International Journal of Electrical and Electronics Engineering, vol. 11,  no. 5, pp. 53-59, 2024. Crossref, https://doi.org/10.14445/23488379/IJEEE-V11I5P106

Abstract:

The Internet of Things (IoT) has changed how one uses technology by using many sensors that create large sets of data. The integrity and efficiency of IoT systems are very important for their widespread adoption, and Hardware-in-the-Loop (HIL) testing has emerged as a key tool in nearly achieving this. This research paper offers a brief exploration of HIL testing within the scope of IoT engineering, exploring its practical applications and associated methodologies. This article empirically describes two distinct data processing methods, Method-I and Method-II, providing insights into the adept tradeoff between CPU-intensive algorithms and the efficiency of one-pass processing with Welford’s Algorithm. Additionally, the paper introduces an innovative schema-based approach for sensor data storage using both XML and JSON formats, enabling efficient and versatile data storage and retrieval, particularly when guided by Probability Density Functions (PDFs). While XML’s verbosity and rigidity are acknowledged, the choice of format is contextual and application-specific. Overall, this research advances our understanding of effective data processing and storage in IoT environments while showcasing the potential of schema-driven, PDF-based data storage, reproduction, and schema design.

Keywords:

Hardware-in-the-Loop (HIL) Testing, Sensor data logging and processing, Welford’s algorithm, Running standard deviation and average, Sensor data storage, XML schema, JSON schema, Probability Density Function (PDF), Schema-based data storage, Sensor data reproduction.

References:

[1] Igor Pintaric et al., “Flexible HiL Interface Implementation for Automotive XiL Testing,” 2021 IEEE Vehicle Power and Propulsion Conference (VPPC), Gijon, Spain, pp. 1-3, 2021.
[CrossRef] [Google Scholar] [Publisher Link]  
[2] Farshideh Kordi et al., “Poster: Conceptual Design for FPGA Based Artificial Intelligence Model for HIL Applications,” 2023 IEEE Symposium on Computers and Communications (ISCC), Gammarth, Tunisia, pp. 1-3, 2023.
[CrossRef] [Google Scholar] [Publisher Link]  
[3] Juan Valencia, Dip Goswami, and Kees Goossens, “Comparing Platform-Aware Control Design Flows for Composable and Predictable TDM-Based Execution Platforms,” ACM Transactions on Design Automation of Electronic Systems, vol. 24, no. 3, pp. 1-26, 2019.
[CrossRef] [Google Scholar] [Publisher Link]  
[4] Angga Wahyu Aditya et al., “Implementation of the In The Loop (Mil) Model and In The Loop (Hil) Hardware as Practical Support Means,” Electrical, Electronics and Telecommunications Engineering-B30, vol. 4, pp. 1-6, 2019.
[Google Scholar] [Publisher Link]  
[5] Daniel Gis, Nils Büscher, and Christian Haubelt, “Investigation of Timing Behavior and Jitter in a Smart Inertial Sensor Debugging Architecture,” Sensors, vol. 21, no. 14, pp. 1-25, 2021.
[CrossRef] [Google Scholar] [Publisher Link]  
[6] Daniel Gis, Nils Büscher, and Christian Haubelt, “Advanced Debugging Architecture for Smart Inertial Sensors Using Sensor-in-theLoop,” 2020 International Workshop on Rapid System Prototyping (RSP), Hamburg, Germany, pp. 1-7, 2020.
[CrossRef] [Google Scholar] [Publisher Link]  
[7] Dusarlapudi Kalyan et al., “Model-Based Design Accelerometer Control System in EV-ECU for HIL Testing,” 2023 International Conference on Intelligent and Innovative Technologies in Computing, Electrical and Electronics (IITCEE), Bengaluru, India, pp. 150154, 2023.
[CrossRef] [Google Scholar] [Publisher Link]  
[8] B. Aravind Krishnan, and Anju S. Pillai, “Digital Sensor Simulation Framework for Hardware-in-the-Loop Testing,” 2017 International Conference on Intelligent Computing, Instrumentation and Control Technologies (ICICICT), Kerala, India, pp. 813-817, 2017.
[CrossRef] [Google Scholar] [Publisher Link]  
[9] Henrique Magnag et al., “HIL-Based Certification for Converter Controllers: Advantages, Challenges and Outlooks (Invited Paper),” 2021 21st International Symposium on Power Electronics (Ee), Novi Sad, Serbia, pp. 1-6, 2021.
[CrossRef] [Google Scholar] [Publisher Link]  
[10] Antonio Parejo et al., “Raspberry Pi-Based Cluster Network for the Emulation of Sensor Networks in Remote Teaching,” 2022 Congreso de Tecnología, Aprendizaje y Enseñanza de la Electrónica (XV Technologies Applied to Electronics Teaching Conference), Teruel, Spain, pp. 1-5, 2022.
[CrossRef] [Google Scholar] [Publisher Link]  
[11] James T. Meech, and Phillip Stanley-Marbell, “An Algorithm for Sensor Data Uncertainty Quantification,” IEEE Sensors Letters, vol. 6, no. 1, pp. 1-4, 2022.
[CrossRef] [Google Scholar] [Publisher Link]  
[12] Georgios Kokkinis et al., “High-Speed, Real Time Sensor Data Acquisition and Transfer Based on the Raspberry Pi Single Board Computer,” 2023 International Balkan Conference on Communications and Networking (BalkanCom), İstanbul, Turkiye, pp. 1-4, 2023.
[CrossRef] [Google Scholar] [Publisher Link]    
[13] Sheikh Badar ud din Tahir, Ahmad Jalal, and Kibum Kim, “Daily Life Log Recognition Based on Automatic Features for Health Care Physical Exercise via IMU Sensors,” 2021 International Bhurban Conference on Applied Sciences and Technologies (IBCAST), Islamabad, Pakistan, pp. 494-499, 2021.
[CrossRef] [Google Scholar] [Publisher Link]  
[14] Wenbing Zhao et al., “A Blockchain-Facilitated Secure Sensing Data Processing and Logging System,” IEEE Access, vol. 11, pp. 2171221728, 2023.
[CrossRef] [Google Scholar] [Publisher Link]  
[15] Zhan Zhang et al., “Efficient Hardware Redo Logging for Secure Persistent Memory,” 2021 IEEE 23rd International Conference on HighPerformance Computing & Communications, 7th  International Conference on Data Science & Systems, 19th International Conference on Smart City, 7th International Conference on Dependability in Sensor, Cloud & Big Data Systems & Application (HPCC/DSS/SmartCity/DependSys), Haikou, China, pp. 41-48, 2021.
[CrossRef] [Google Scholar] [Publisher Link]  
[16] Andrey A. Efanov, Sergey A. Ivliev, and Alexey G. Shagraev, “Welford’s Algorithm for Weighted Statistics,” 2021 3rd International Youth Conference on Radio Electronics, Electrical and Power Engineering (REEPE), Moscow, Russia, pp. 1-5, 2021.
[CrossRef] [Google Scholar] [Publisher Link]