Development of a Cost-effective Data Acquisition System using an Open-source Hardware and Matlab/Simulink

Sugkil Seo, Yeong Sang Park, Young Sam Lee

Abstract

This paper proposes a new cost-effective data acquisition system using open-source hardware and Matlab/Simulink. The proposed data acquisition (DAQ) system has features that it uses the framed data protocol based on hex encoding, it can acquire multiple data which are not of the same type at different sample rates, and the system receives data through USB communication or serial communication. The software of the proposed system consists of the firmware of a microcontroller and user-defined Simulink function block. The firmware of a microcontroller is in the form of a header file, and the data acquisition can be easily achieved by calling a few functions defined in the header file. The developed user-defined Simulink block can get multiple data at different sample rates by configuring the GUI parameters appropriately. For implementation of the system, we use the Arch Max, which is the open-source hardware with an ARM Cortex-M4 core, and also use a user-defined c-code S-function of Matlab/Simulink. For the demonstration of the superiority of the implemented system, we compare the proposed system’s performance with that of the data acquisition system provided in Matlab/Simulink Instrument Control Toolbox. Finally we illustrate how presented system can be actually used by applying the proposed system to DC motor control.

References

  1. ABU HASAN, R. (2012). Development of USB Biosignal DAQ System with Matlab Interface. PhD thesis, Universiti Teknologi Malaysia.
  2. Claros-Marfil, L. J., Padial, J. F., and Lauret, B. (2016). A new and inexpensive open source data acquisition and controller for solar research: Application to a waterflow glazing. Renewable Energy, 92:450-461.
  3. Khan, F. A., Hafeez, Z., Mirza, A., and Ain, Q.-u. (2011). Design of fpga based daq card using pci express protocol. In Multitopic Conference (INMIC), 2011 IEEE 14th International, pages 211-216. IEEE.
  4. Lee, Y.-S., Yang, J.-H., Kim, S.-Y., Kim, W.-S., and Kwon, O.-K. (2012). Development of a rapid control prototyping system based on matlab and usb daq boards. Journal of Institute of Control, Robotics and Systems, 18(10):912-920.
  5. Mandal, S., Sau, S., Chakrabarti, A., Saini, J., Pal, S. K., and Chattopadhyay, S. (2015). Fpga based novel high speed daq system design with error correction. In VLSI (ISVLSI), 2015 IEEE Computer Society Annual Symposium on, pages 80-85. IEEE.
  6. MathWorks, I. (2009). Matlab & simulink instrument control toolbox. Neural Network Toolbox. The MathWorks Inc.
  7. Pearce, J. M. (2015). Commentary: Open-source hardware for research and education.
  8. Pearce, J. M. et al. (2012). Building research equipment with free, open-source hardware. Science, 337(6100):1303-1304.
  9. Pereira, R., Sousa, J., Fernandes, A., Patrício, F., Carvalho, B., Neto, A., Varandas, C., Gorini, G., Tardocchi, M., Gin, D., et al. (2008). Atca data acquisition system for gamma-ray spectrometry. Fusion engineering and design, 83(2):341-345.
  10. Proffitt, J., Hammond, W., Majewski, S., Popov, V., Raylman, R., and Weisenberger, A. G. (2006). Implementation of a high-rate usb data acquisition system for pet and spect imaging. In Nuclear Science Symposium Conference Record, 2006. IEEE, volume 5, pages 3063-3067. IEEE.
  11. Salami, M.-J. E., Tijani, I., and Jibia, A. U. (2011). Development of real-time software interface for multicomponent transient signal analysis using labview and matlab. In Mechatronics (ICOM), 2011 4th International Conference On, pages 1-5. IEEE.
  12. Stankovic, M., Manojlovic, S., and Jovanovic, Z. (2012). Acquisition system for analysis and design of electrical servo system based on usb daq card dt9812. FACTA UNIVERSITATIS, Series: Automatic Control and Robotics, 11:69-79.
  13. Storey, B. D. (2002). Using the matlab data acquisition toolbox. URL: http://faculty.olin.edu/bstorey/Notes/ Card. pdf (accessed January 2008).
Download


Paper Citation


in Harvard Style

Seo S., Park Y. and Lee Y. (2016). Development of a Cost-effective Data Acquisition System using an Open-source Hardware and Matlab/Simulink . In Proceedings of the 13th International Conference on Informatics in Control, Automation and Robotics - Volume 1: ICINCO, ISBN 978-989-758-198-4, pages 484-491. DOI: 10.5220/0005978004840491


in Bibtex Style

@conference{icinco16,
author={Sugkil Seo and Yeong Sang Park and Young Sam Lee},
title={Development of a Cost-effective Data Acquisition System using an Open-source Hardware and Matlab/Simulink},
booktitle={Proceedings of the 13th International Conference on Informatics in Control, Automation and Robotics - Volume 1: ICINCO,},
year={2016},
pages={484-491},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005978004840491},
isbn={978-989-758-198-4},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 13th International Conference on Informatics in Control, Automation and Robotics - Volume 1: ICINCO,
TI - Development of a Cost-effective Data Acquisition System using an Open-source Hardware and Matlab/Simulink
SN - 978-989-758-198-4
AU - Seo S.
AU - Park Y.
AU - Lee Y.
PY - 2016
SP - 484
EP - 491
DO - 10.5220/0005978004840491