Real time operating system for mobile robot using PICos18
The current weakness of the most mobile robot design in term of the program code is not efficient enough due to only single task was executed at one time. The objectives of this project are to implement a PICos18 operating system for a wall follower robot, and to test and analyses the performance of...
Saved in:
| Main Authors: | , , |
|---|---|
| Format: | Conference or Workshop Item |
| Published: |
2012
|
| Subjects: | |
| Online Access: | http://eprints.uthm.edu.my/6136/ http://eprints.uthm.edu.my/6136/4/Real_Time_Operating_System_for_Mobile_x.pdf |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Summary: | The current weakness of the most mobile robot design in term of the program code is not efficient enough due to only single task was executed at one time. The objectives of this project are to implement a PICos18 operating system for a wall follower robot, and to test and analyses the performance of the proposed system. The PICos18 is a real time operating system (RTOS) that based on OSEK/VDX standard. the scopes in this project are; first, the real time scheduling system is focused on fixed pre-emptive scheduling concept. Second, the PIC18F452 microcontroller is used in this project. Third, the maximum tasks of PICos18 operating system are limited to four tasks. In this project, the program was built using the MPLAB IDE and C18 compiler software. All simulations were tested by using Proteus software. The whole program was divided into four tasks and the priority of each task is defined properly in order to achieve the real-time performance. The first task in the program is to control two motors, and their speed and direction will be updated for every 5ms. Second task is LCD display and updated every 200ms. Third task is ultrasonic range sensor for distance measurement. Fourth task is a running light of LED and the running LED will be updated every 100ms. This project proved that the efficiency and performance of wall follower mobile robot using PICos18 are improved. |
|---|