LOW COST HARDWARE IN THE LOOP CONTROL SYSTEM USING MICROCONTROLLERS

Authors

  • Ausama H. Ahmed 1Department of Electrical & Computer Engineering, Faculty of Engineering, Elmergib University, Alkhums, Libya
  • Ali O. Alsharif Department of Electrical & Computer Engineering, Faculty of Engineering, Elmergib University, Alkhums, Libya
  • Othman E. Aburas 3Department of Electrical & Computer Engineering, Faculty of Engineering, Elmergib University, Alkhums, Libya

Keywords:

Arduino, ESP32, ODE difference equation, Dynamic systems simulation, Hardware in the Loop

Abstract

Control systems engineering is a very interesting engineering disciplines. It requires proper tools to teach it effectively, one of the tools is experimental setups. They are needed to understand and apply different control strategies and to connect theory with application. However, such setups might not be easy to reach for a number of reasons such as their relatively high prices. Hardware in the Loop (HIL) is a way to replace an experimental setup to be studied with an equivalent hardware, such as a PC or a microcontroller. In this paper a microcontroller is used to replace two different physical systems. In addition to simulating the systems, another microcontroller is also used to replace the control loop, i.e. the summing node and the controller. The simulation of the systems and the whole control loop on the microcontroller was carried out using difference equation method and Ordinary Differential Equations method whenever it is applicable. The interface between the two microcontrollers was established using serial communication protocol and ESP NOW. The performance of the control system is compared with MATLAB and showed very high accuracy. The simulation was run in real time, with a sample time of 10ms

Downloads

Download data is not yet available.

Downloads

Published

2021-12-31

Conference Proceedings Volume

Section

المحور الثالث: الهندسة الكهربائية والإلكترونية

How to Cite

Ahmed, A. H. ., Alsharif, A. O. ., & Aburas, O. E. . (2021). LOW COST HARDWARE IN THE LOOP CONTROL SYSTEM USING MICROCONTROLLERS. Conference On Engineering Science and Technology, 6(5، مجلة الجامعة الأسمرية), 606-587. https://conf.asmarya.edu.ly/index.php/cest2021/article/view/143