Hardware in the Loop Control Based on the Open Source Simulation Environment

Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 1196)


This paper presents an implementation and tests of the hardware in the loop control idea using Scilab-Xcos software – an open source alternative for Matlab-Simulink simulation environment and modular drive system dedicated to brushless motors. Communication infrastructure was based on USB interface and special protocol between hardware and Scilab-Xcos. For the test of the hardware in the loop control, the Field Oriented Control was implemented within Scilab-Xcos. Thanks to this approach, control algorithms do not have to be implemented directly on the device, but in an environment that ensures convenient operation, including quick tests with variable design structure. Software can be tested on both Windows and Linux. Using Linux OS makes this solution pure open source.


Robotics Motor control Open source software USB communication Graphical interface Hardware in the loop 


  1. 1.
    Lee, S., Lemley, T., Keohane, G.: A comparision study of the commutation methods for the three-phase permanent magnet brushless DC motor. In: Electrical Manufacturing Technical Conference 2009: Electrical Manufacturing and Coil Winding Expo, pp. 49–55 (2009)Google Scholar
  2. 2.
  3. 3.
    Texas Instruments, DRV832x6 to 60-V Three-Phase Smart Gate Driver, Accessed 23 Mar 2019
  4. 4.
    Austria Mikro Systeme, AS514714 Magnetic Rotary Position Sensor. Accessed 14 Aug 2019
  5. 5.
    Debowski, A.: Automatyka. Napęd elektryczny, Wydawnictwo WNT (copyright Wydawnictwo Naukowe PWN S.A.), Warszawa (2017)Google Scholar
  6. 6.
    Microchip, Sensorless Field Oriented Control of a PMSM. Accessed 14 Aug 2019
  7. 7.
    Wroński, D.: Robotyczny system napędowy dla silników bezszczotkowych wraz z interfejsem użytkownika. MSc thesis, Lodz University of Technology (2019)Google Scholar
  8. 8.
    Debowski, A.: Automatyka – podstawy teorii. Wydawnictwo WNT (copyright Wydawnictwo Naukowe PWN S.A.), Warszawa (wyd. II) (2016)Google Scholar
  9. 9.
    Wroński, D., Granosik, G.: Modular drive system for brushless motors with user interface based on open source solutions. In: 2019 SENE Conference (2019)Google Scholar
  10. 10.
    Klaus Weichinger, Scicos Serial-Interface-Block Manual (2012). Accessed 23 Mar 2020
  11. 11.
  12. 12.
    Chattopadhyay, S., Mitra, M., Sengupta, S.: Electric power quality (Chapter 12 Clarke and Park Tranform). Springer (2011). ISBN 978-94-007-0634-7Google Scholar
  13. 13.
    Sundaram, M., Semiconductor, C.: Implementing field oriented control of a brushless DC motor (2012). Accessed 23 Mar 2020
  14. 14.
    Fisher, P.: High performance brushless DC motor control. School of Engineering & Technology, CQUniversity Australia (2014)Google Scholar
  15. 15.

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.Lodz University of Technology, Institute of Automatic ControlLodzPoland

Personalised recommendations