Font Size: a A A

Research On μC/OS-Ⅱ Porting And CAN-bus Application Based On ARM

Posted on:2008-01-10Degree:MasterType:Thesis
Country:ChinaCandidate:C Y CaoFull Text:PDF
GTID:2178360212995670Subject:Fluid Machinery and Engineering
Abstract/Summary:PDF Full Text Request
Embedded system attracts more and more attentions from various fields of science and engineering, and becomes a hot researching field in recent years. Due to the increasing complexity of the embedded systems, the embedded operating system has become the most important part of the embedded system. In embedded operating systems, with the advantage of clear structure, open source codes and great real-time character,μC/OS-II has become the technical hotspot in the field of monitoring system, and other fields. Combining the embedded operating systemμC/OS-II with the modularized hardware, a software and hardware system platform that can be used repeatedly will be formed. This platform can not only increase the developing efficiency, but also improve the reliability and real-time character of the system and satisfy the increasingly complicated application requirements.In domestic monitoring field, distributed control system is widely adopted. Although the disadvantages of centralized control system have been avoided, low efficiency, lack of mistake disposing ability, and other disadvantages are still existed. In the meantime, compatibility of equipments is bad, and real-time character and reliability of the system are low. CAN field bus can well overcome the above disadvantages and has powerful anti-interference ability. CAN bus connects all intellectual equipments which are articulated with the bus into a network, forms an automatic system and realizes real-time monitoring of on-site equipments. Based on these considerations, chosen MagicARM2200 teaching development board which takes LPC2290 chip (integrated CAN module in this chip) as microcontroller, as studying and researching development platform, this paper ports the real-time microkernel operating systemμC/OS-II onto the chip. Based on in-depth researches of CAN module's characteristics and its driver, CAN driver is ported ontoμC/OS-II operating system. On real-time operating systemμC/OS-II, through the design of a CAN intelligent module with an A/D converter to expound the design method of software and hardware of intelligent module, these works provide a theoretical basis for the establishment of actual test-control scheme which is based on CAN bus.The CAN communication scheme put forward in this thesis is of great flexibility, and can be conveniently and simply applied in various test-control systems. The experimental result shows the effectiveness and accuracy of the scheme and its practical value. Finally, on the basis of CAN intelligent module, the scheme of constructing multiphase flow test-stand system based on CAN Bus is discussed.
Keywords/Search Tags:Embedded system, LPC2290, μC/OS-II, CAN Bus, Intelligent module
PDF Full Text Request
Related items