DC MOTOR SPEED CONTROL USING REAL TIME LINUX
Real Time operations are major requirement of present-day world. Regarding DC motors, their speed control is major task. There are different methods to control the speed of DC motor, but to control its speed in real time with better efficiency is the main problem, and methods that are already availa
2025-06-28 16:26:04 - Adil Khan
DC MOTOR SPEED CONTROL USING REAL TIME LINUX
Project Area of Specialization Electrical/Electronic EngineeringProject SummaryReal Time operations are major requirement of present-day world. Regarding DC motors, their speed control is major task. There are different methods to control the speed of DC motor, but to control its speed in real time with better efficiency is the main problem, and methods that are already available are costly, inefficient and have less accuracy. At industrial level, DC motors are widely used for automations and if we use present solutions to control its speed then it requires separate complete hardware for every device. There is a need of such method that can control the speed of different motors in real time using single device with greater accuracy, cost affectively and greater security. As in industrial level the security of data is also very important.
Our project, DC Motor Speed Control Using Real Time Linux proposed a system that can control the speed of motor in Real Time using parallel ports. The PID controller is designed in MATLAB that reduces the error in the output of system that is speed. The system operates in close loop to maintain the speed at desired value. The basic purpose of PID controller is to improve the transient response of system and to reduce the steady state error. The Linux operating system is used as it is an open source operating system and can revive old and slow PC. Therefore, we can use old PCs like Pentium 4, core to duo for our project as these PCs are now scrapping and are not used anywhere. So, we can use old PCs for a useful purpose. The most important feature of Linux based operating system is that it is secure and customizable. It automatically uses various encryption tools and is designed to leave no data behind on computer unless we explicitly instruct it to do so. Moreover, it is incredibly customizable. User can not only swap applications such as web browser and word processor but also can choose components, such as which system displays graphics, and other user interface components. The Real Time (RT) Linux is used that will operate in real time and control the speed of motor continuously according to the desired speed. The coding for generation of PWM is done in terminal of Linux that not only generate the PWM but also control the duty cycle of PWM in cooperation with MATLAB. Therefore, by using Linux an efficient and cost-effective model of speed control of DC motor is proposed.
Project Objectives- To control the speed of DC motor in Real time with greater efficiency.
- To use Linux as an operating system as it is open source so one can make changes in code at any time according to one’s requirement.
- The idea of this project can be used in field of automation for controlling other devices.
- Low cost PCs like pentium4 and core to duo that are scrapping now a days can be used for performing the task of operating different devices.
- To provide a cost-effective model for controlling devices at industrial level.
The Linux in the computer is the main controller that is controlling the PWM signal. Initially, the discrete and analogue input is provided to the computer. The discrete input means the ON and OFF of the computer. Through analogue switch the variable input voltage is provided to run the computer. This voltage is also provided to the motor to start. The controller is designed in the Linux using C language. We have installed ubuntu 18.04 in our computer. The PID controller is also designed in MATLAB that will measure the error signal. These controllers will generate the PWM according to the requirement of user. The PWM signal is then provided to the motor after signal conditioning. The motor starts operate at particular speed. The speed of motor is measured using tachometer which give feedback to the computer. The computer will read this value of speed and will generate an error using PID controller. According to the generated error the duty cycle of PWM is varied. Which means, if the difference of required signal and measured signal is positive the PWM of greater duty cycle is provided to the motor and if the difference of required signal and measured signal is negative, then PWM of less duty cycle is provided to the motor. In this way the speed of motor is controlled.
Benefits of the ProjectThis project can play an important role in atomation field. As for small projects we have to use DSP kits and FPGA kits but by using Linux operation system we can perform any task easily after some simple modifications without using such expensive kits. As we are practicing this model in controlling the speed of DC motor in Real Time but we can implement this project on any device and on any system. Moreover we can use low cost PC for this project like Pentium4 and core to duo as these PCs are not in use now a days. So, we can use them for useful purposes. Like we can use them in controlling the RADAR operation in real time and many such projects.
Technical Details of Final DeliverableThe final deliverable will play an important role in Automation field in controlling the devices in Real Time. The Real Time working and maintainance of devices is major requirenment of todays world. Therefore, this project will play an important role in that field. Moreover, at industrial level the security of system is also an important issue. Therefore, this project will be executed using Linux operating system that is secured and password protected. No one can access users information without users permission.
Final Deliverable of the Project HW/SW integrated systemCore Industry SecurityOther IndustriesCore Technology RoboticsOther TechnologiesSustainable Development Goals Affordable and Clean EnergyRequired Resources| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 40000 | |||
| IC of ADC | Equipment | 4 | 400 | 1600 |
| Transformers | Equipment | 3 | 300 | 900 |
| IC of DAC | Equipment | 4 | 400 | 1600 |
| Electronics componets | Equipment | 150 | 50 | 7500 |
| PCB board | Equipment | 5 | 200 | 1000 |
| Tachometer | Equipment | 4 | 250 | 1000 |
| IR sensor | Equipment | 2 | 250 | 500 |
| DC motor | Equipment | 1 | 2000 | 2000 |
| Bread board | Equipment | 5 | 150 | 750 |
| LCD (16*2) | Equipment | 2 | 300 | 600 |
| Arduino | Equipment | 1 | 700 | 700 |
| male to male connecting wires | Equipment | 100 | 5 | 500 |
| 555 Timer ICs | Equipment | 5 | 50 | 250 |
| op amps, transistors, MOSFETs, | Equipment | 50 | 50 | 2500 |
| Pentium4 or core to duo | Equipment | 1 | 8000 | 8000 |
| other electronic components | Equipment | 50 | 100 | 5000 |
| Stationary, Printing, Over head | Miscellaneous | 100 | 56 | 5600 |