Direct Memory Access-Based Data Storage for Long-Term Acquisition Using Wearables in an Energy-Efficient Manner
Abstract
:1. Introduction
2. Materials and Methods
- i.
- Optimizing energy efficiency;
- ii.
- Enabling data synchronization with other devices, with adjustable precision.
2.1. Introduction to Sensor Data Packaging
2.2. Data Structures and Transfer Protocols
2.3. SD Card Operations and Time Block Data Management
2.4. DMA Channels and Interrupt Service Routine
3. Results
3.1. Experimental Setup
3.2. Evaluation
3.2.1. Storage System Behavior during Transfer and Write Cycles
3.2.2. Energy Consumption and Transfer Time Comparisons
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
UART | Universal Asynchronous Receiver-Transmitter |
I2C | Inter-Integrated Circuit |
IoT | Internet of Things |
DMA | Direct Memory Access |
SD | Secure Digital |
SPI | Serial Peripheral Interface |
RAM | Random Access Memory |
CPU | Central Processing Unit |
CRC | Cyclic Redundancy Check |
ISR | Interrupt Service Routine |
MOSI | Master Output Slave Input |
MISO | Master Input Slave Output |
TBDs | Time Block Data |
PSoC | Programmable System-on-Chip |
RTC | Real-Time Clock |
References
- Hernandez, N.; Castro, L.; Medina-Quero, J.; Favela, J.; Michan, L.; Mortenson, W.B. Scoping Review of Healthcare Literature on Mobile, Wearable, and Textile Sensing Technology for Continuous Monitoring. J. Healthc. Inform. Res. 2021, 5, 270–299. [Google Scholar] [CrossRef] [PubMed]
- Lidynia, C.; Brauner, P.; Ziefle, M. A Step in the Right Direction—Understanding Privacy Concerns and Perceived Sensitivity of Fitness Trackers. In Advances in Human Factors in Wearable Technologies and Game Design; Ahram, T., Falcão, C., Eds.; Springer International Publishing: Cham, Switzerland, 2018; Volume 608, pp. 42–53. [Google Scholar] [CrossRef]
- Borazio, M.; Van Laerhoven, K. Combining Wearable and Environmental Sensing into an Unobtrusive Tool for Long-Term Sleep Studies. In Proceedings of the 2nd ACM SIGHIT International Health Informatics Symposium, Miami, FL, USA, 28–30 January 2012; pp. 71–80. [Google Scholar] [CrossRef]
- Fawcett, E.; Van Velthoven, M.H.; Meinert, E. Long-Term Weight Management Using Wearable Technology in Overweight and Obese Adults: Systematic Review. JMIR mHealth uHealth 2020, 8, e13461. [Google Scholar] [CrossRef] [PubMed]
- Zhao, X.; Zeng, X.; Koehl, L.; Tartare, G.; Jonckheere, J.D.; Song, K. An IoT-based Wearable System Using Accelerometers and Machine Learning for Fetal Movement Monitoring. In Proceedings of the 2019 IEEE International Conference on Industrial Cyber Physical Systems (ICPS), Taipei, Taiwan, 6–9 May 2019; pp. 299–304. [Google Scholar] [CrossRef]
- Augustyniak, P. Wearable Wireless Heart Rate Monitor for Continuous Long-Term Variability Studies. J. Electrocardiol. 2011, 44, 195–200. [Google Scholar] [CrossRef] [PubMed]
- Ai, Z.; Zheng, L.; Qi, H.; Cui, W. Low-Power Wireless Wearable ECG Monitoring System Based on BMD101. In Proceedings of the 2018 37th Chinese Control Conference (CCC), Wuhan, China, 25–27 July 2018; pp. 7374–7379. [Google Scholar] [CrossRef]
- Jaw, F.S.; Tseng, Y.L.; Jang, J.K. Modular Design of a Long-Term Portable Recorder for Physiological Signals. Measurement 2010, 43, 1363–1368. [Google Scholar] [CrossRef]
- Chen, J.; Zhao, Y.; Lin, J.; Dai, Y.; Hu, B.; Gao, S. A Flexible Insole Gait Monitoring Technique for the Internet of Health Things. IEEE Sens. J. 2021, 21, 26397–26405. [Google Scholar] [CrossRef]
- Chen, J.; Dai, Y.; Gao, S. A Piezoelectric Flexible Insole System for Gait Monitoring for the Internet of Health Things. In Proceedings of the 2020 IEEE International Conference on Flexible and Printable Sensors and Systems (FLEPS), Manchester, UK, 16–19 August 2020; pp. 1–4. [Google Scholar] [CrossRef]
- Huang, J.; Badam, A.; Chandra, R.; Nightingale, E.B. Weardrive: Fast and Energy-Efficient Storage for Wearables. In Proceedings of the 2015 USENIX Annual Technical Conference, USENIX ATC, Santa Clara, CA, USA, 8–10 July 2015. [Google Scholar]
- Hou, S.; Wu, G. A Low-Cost IoT-based Wireless Sensor System for Bridge Displacement Monitoring. Smart Mater. Struct. 2019, 28, 085047. [Google Scholar] [CrossRef]
- Changqing, C.; Hui, L.; Wenjun, H. Internet of Agriculture-Based Low Cost Smart Greenhouse Remote Monitor System. In Proceedings of the 2018 Chinese Automation Congress (CAC), Xi’an, China, 30 November–2 December 2018; pp. 3940–3945. [Google Scholar] [CrossRef]
- Zehra, I.; Ansari, M.A. IOT Based Health Monitoring of Transformer Using Data Logger. In Proceedings of the 2021 4th International Conference on Recent Developments in Control, Automation & Power Engineering (RDCAPE), Noida, India, 7–8 October 2021; pp. 67–72. [Google Scholar] [CrossRef]
- Berlin, E.; Zittel, M.; Braunlein, M.; Van Laerhoven, K. Low-Power Lessons from Designing a Wearable Logger for Long-Term Deployments. In Proceedings of the 2015 IEEE Sensors Applications Symposium (SAS), Zadar, Croatia, 13–15 April 2015; pp. 1–6. [Google Scholar] [CrossRef]
- Barka, C.; Messaoudi-Abid, H.; Setthom, H.B.A.; Bennani-Ben Abdelghani, A.; Slama-Belkhodja, I.; Sammoud, H. A Real Time, Wireless and Low Cost Data Acquisition System for Residential PV Modules. In Proceedings of the 2020 6th IEEE International Energy Conference (ENERGYCon), Tunis, Tunisia, 28 September–1 October 2020; pp. 417–422. [Google Scholar] [CrossRef]
- Kombo, O.H.; Kumaran, S.; Bovim, A. Design and Application of a Low-Cost, Low- Power, LoRa-GSM, IoT Enabled System for Monitoring of Groundwater Resources With Energy Harvesting Integration. IEEE Access 2021, 9, 128417–128433. [Google Scholar] [CrossRef]
- Leuenberger, K.; Gassert, R. Low-Power Sensor Module for Long-Term Activity Monitoring. In Proceedings of the 2011 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Boston, MA, USA, 30 August–3 September 2011; pp. 2237–2241. [Google Scholar] [CrossRef]
- Massot, B.; Gehin, C.; Nocua, R.; Dittmar, A.; McAdams, E. A Wearable, Low-Power, Health-Monitoring Instrumentation Based on a Programmable System-on-chipTM. In Proceedings of the 2009 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Minneapolis, MN, USA, 3–6 September 2009; pp. 4852–4855. [Google Scholar] [CrossRef]
- Li, J.; Ashraf, A.; Cardiff, B.; Panicker, R.C.; Lian, Y.; John, D. Low Power Optimisations for IoT Wearable Sensors Based on Evaluation of Nine QRS Detection Algorithms. IEEE Open J. Circuits Syst. 2020, 1, 115–123. [Google Scholar] [CrossRef]
- Yang, S.; Gao, B.; Jiang, L.; Jin, J.; Gao, Z.; Ma, X.; Woo, W.L. IoT Structured Long-Term Wearable Social Sensing for Mental Wellbeing. IEEE Internet Things J. 2019, 6, 3652–3662. [Google Scholar] [CrossRef]
- Qaim, W.B.; Ometov, A.; Molinaro, A.; Lener, I.; Campolo, C.; Lohan, E.S.; Nurmi, J. Towards Energy Efficiency in the Internet of Wearable Things: A Systematic Review. IEEE Access 2020, 8, 175412–175435. [Google Scholar] [CrossRef]
- Gemperle, F.; Kasabach, C.; Stivoric, J.; Bauer, M.; Martin, R. Design for Wearability. In Proceedings of the Digest of Papers. Second International Symposium on Wearable Computers (Cat. No.98EX215), Pittsburgh, PA, USA, 19–20 October 1998; pp. 116–122. [Google Scholar] [CrossRef]
- Guo, Y.; Liu, X.; Peng, S.; Jiang, X.; Xu, K.; Chen, C.; Wang, Z.; Dai, C.; Chen, W. A Review of Wearable and Unobtrusive Sensing Technologies for Chronic Disease Management. Comput. Biol. Med. 2021, 129, 104163. [Google Scholar] [CrossRef] [PubMed]
- Puri, A. Acceptance and Usage of Smart Wearable Devices in Canadian Older Adults. Master’s Thesis, University of Waterloo, Waterloo, ON, Canada, 2017. [Google Scholar]
- Maher, C.; Ryan, J.; Ambrosi, C.; Edney, S. Users’ Experiences of Wearable Activity Trackers: A Cross-Sectional Study. BMC Public Health 2017, 17, 880. [Google Scholar] [CrossRef] [PubMed]
- Sultan, N. Reflective Thoughts on the Potential and Challenges of Wearable Technology for Healthcare Provision and Medical Education. Int. J. Inf. Manag. 2015, 35, 521–526. [Google Scholar] [CrossRef]
- Agarwal, M.; Sivakumar, R. Charge for a Whole Day: Extending Battery Life for BCI Wearables Using a Lightweight Wake-Up Command. In Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems, Honolulu, HI, USA, 25–30 April 2020; pp. 1–14. [Google Scholar] [CrossRef]
- Mikhaylov, K.; Tervonen, J. Evaluation of Power Efficiency for Digital Serial Interfaces of Microcontrollers. In Proceedings of the 2012 5th International Conference on New Technologies, Mobility and Security (NTMS), Istanbul, Turkey, 7–10 May 2012; pp. 1–5. [Google Scholar] [CrossRef]
- Enami, T.; Kawakami, K.; Yamazaki, H. DMA-driven Control Method for Low Power Sensor Node. In Proceedings of the 2015 IEEE Topical Conference on Wireless Sensors and Sensor Networks (WiSNet), San Diego, CA, USA, 25–28 January 2015; pp. 53–55. [Google Scholar] [CrossRef]
- Schnitzer, A.; Silex, C.; Ying, H.; Schiek, M. Optimised DMA-based Data Acquisition on a MSP430C Ultra-Low-Power Microcontroller Focused on Intelligent Sensor Networks. In Proceedings of the 41. Jahrestagung der Deutschen Gesellschaft für Biomedizinische Technik (DGBMT) im VDE, Aachen, Germany, 26 September 2007. [Google Scholar]
- SD Association Physical Layer Simplified Specification V9.10. Available online: https://www.sdcard.org/downloads/pls/ (accessed on 29 July 2024).
- ChaN. How to Use MMC/SDC. Available online: http://elm-chan.org/docs/mmc/mmc_e.html (accessed on 29 July 2024).
- Infineon. CYBLE-222014-01 DataSheet. Available online: https://www.infineon.com/dgdl/Infineon-CYBLE-222014-01-DataSheet-v10_00-EN.pdf?fileId=8ac78c8c7d0d8da4017d0edac5815d5b (accessed on 29 July 2024).
- Digilent. Analog Discovery 2 Reference Manual. Available online: https://digilent.com/reference/test-and-measurement/analog-discovery-2/start (accessed on 29 July 2024).
Variable | Description |
---|---|
Timestamp | Stores a time reference, working in conjunction with each data’s position. |
Version | Indicates the data packaging method within the TBD. |
Frequency | Specifies the data acquisition frequency within the TBD, enabling accurate timing for each stored data sample. |
End State Code (ESC) | A control variable indicating the TBD’s state, requiring three values:
|
First Sector | Facilitates programming logic for sector reading and navigating through different TBD. |
Last Sector | Indicates the final sector of a TBD. In the case of ESC = 2, the value should be 0 × FF to signal an error in closing TBD. |
Next Block | Simplifies data access logic programming and shows the start of the next TBD. |
Last Byte in Last Sector | Indicates the position of the last valid byte of data in the last sector of a TBD, used because data acquisition can stop at any time and the sector may not be fully filled. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Dobrescu, C.C.; González, I.; Carneros-Prado, D.; Fontecha, J.; Nugent, C. Direct Memory Access-Based Data Storage for Long-Term Acquisition Using Wearables in an Energy-Efficient Manner. Sensors 2024, 24, 4982. https://doi.org/10.3390/s24154982
Dobrescu CC, González I, Carneros-Prado D, Fontecha J, Nugent C. Direct Memory Access-Based Data Storage for Long-Term Acquisition Using Wearables in an Energy-Efficient Manner. Sensors. 2024; 24(15):4982. https://doi.org/10.3390/s24154982
Chicago/Turabian StyleDobrescu, Cosmin C., Iván González, David Carneros-Prado, Jesús Fontecha, and Christopher Nugent. 2024. "Direct Memory Access-Based Data Storage for Long-Term Acquisition Using Wearables in an Energy-Efficient Manner" Sensors 24, no. 15: 4982. https://doi.org/10.3390/s24154982
APA StyleDobrescu, C. C., González, I., Carneros-Prado, D., Fontecha, J., & Nugent, C. (2024). Direct Memory Access-Based Data Storage for Long-Term Acquisition Using Wearables in an Energy-Efficient Manner. Sensors, 24(15), 4982. https://doi.org/10.3390/s24154982