Real-Time Speed Control of a DC Motor using Open Source Code Tools
Ujjwal Mondal1, Parthasarathi Satvaya2, Sourav Kumar Das3

1Ujjwal Mondal, Department of Applied Electronics & Instrumentation Engineering, RCC Institute of Information Technology, Kolkata, India.
2Parthasarathi Satvaya, Department of Electrical Engineering, Haldia Institute of Technology, Haldia, India.
3Sourav Kumar Das, Department of Electrical Engineering, Haldia Institute of Technology, Haldia, India.
Manuscript received on January 01, 2013. | Revised Manuscript received on January 02, 2013. | Manuscript published on January 05, 2013. | PP: 358-362 | Volume-2, Issue-6, January 2013.
Open Access | Ethics and Policies | Cite
© The Authors. Published By: Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: The presented work envisaged to explore the possibility of developing ultra-low cost experimental setup for teaching and learning Real-Time systems. The presented work demonstrates, in steps, the development of a real-time control system with free open source code softwares. The free suite utilized and experimented within the present work composed by Linux operating system and the Real Time Application Interface (RTAI) add-on, the Scilab Computer Aided Control System Design (CACSD) software and the Control & Measurement Device Interface (COMEDI) drivers. Scilab/Scicos, a free scientific software package for numerical computations and control system simulation is used with RTAI to provide hard real-time extensions in to Linux environment. The development and deployment platform are the same and consisted of the (i) Linux, (ii) Scilab/ Scicos (iii) RTAI and (iv) COMEDI drivers running in a PC. The investment is reduced to the hardware as well as in software cost, which consists of a standard PC, dc motor and a COMEDI compatible acquisition board. The most obvious advantage of the proposed solution is that all the software or codes are free & available in the web. The whole idea is demonstrated by real time speed control of a dc motor using Pulse Width Modulation (PWM). 
Keywords: RTAI, CACSD, COMEDI, SCILAB/ SCICOS, PWM.