Font Size: a A A

Microcontroller-based Real-time Kernel Design And Its Application

Posted on:2006-07-18Degree:MasterType:Thesis
Country:ChinaCandidate:X Z ZhouFull Text:PDF
GTID:2208360182468971Subject:Power electronics and electric drive
Abstract/Summary:PDF Full Text Request
A method of Embedded Real-Time Operating System (RTOS) based on P89C58 is mainly researched in this dissertation. P89C58'CPU is used as hardware platform in this system, which is one of 80C51 series microprocessor produced by Philips Company. P89C58 is now facing with flinty challenges in application and design because of the limits of traditional former-background software design method. In order to combine its powerful function with the more demands that people require for the IT Products, instead of previous former-background (super loop) method, the Embedded RTOS software design method is used.Three aspects of the real-time kernel, hardware platform and RTOS application system in this system are researched. Firstly, according to the characteristics of the CPU for 80C51 series MCU, based on the research of correlative theories about the Embedded RTOS, the separate mean of mission-stack and interruption-stack is proposed. through using stack-switch technic, the reconstruction of μ C/OS-II RTOS and its successful transplant of real-time kernel Small EOS51 in 8-bit MCU are realized. The RAM optimization, the communication between tasks, task management, time management, interruption management and so on are also researched when the μ C/OS-II is refered to. Then, the analog interface circuitry such as frequency selection filter circuitry, radio frequency signal detection circuitry and antenna circuitry of MF RC500 interface are detailedly studied. The energy acquirement, the reliable and effective data communications with the read-write device are ensured when the radio frequency card is working. The intelligent RS232/RS485 convertor with optoelectronic isolator and lightning stroke resistance is developed in the serial communication circuitry design. Finally, according to the user requirements for the application system, the entire application system is divided into some unattached tasks and can perform perfectly in the designed software platform of real-time kernel Small EOS51 and the hardware development platform.Via the analysis of relative data in the process of application system performance, some important indexing such as the time of interruption delay, interruption response, interruption reversion, task-swith, systemresponse and the storage space occupancy are satisfied with the design requirements. Operating results on this application system have showed that the designed RTOS has goodly stability and reliability.
Keywords/Search Tags:real-time kernel, RTOS software design, p89c58, hardware platform, application system
PDF Full Text Request
Related items