Design and Application Research of a Embedded System Based on Real-time Operating System

Author
LeiZhiXiong
Advisor
XiaZeZhong
School
Wuhan University of Technology
Major
Detection Technology and Automation
Classification
TP316 Operating system
Degree
Master's thesis
Year
2005
Downloads
285
Citations
5

Request the full text

Abstract

This paper studies on design and application of embedded operating system based on two typical microcontroller (S3C44B0X and STC89C516). The microcontroller S3C44B0X is used in the master controller which consists of human computer interface, communication port and JTAG. The programme in the master controller is organized with a operating system transplanted from M icroC/OS- II. Microcontroller STC89C516 is employed for slave controllers which are distributed and mainly focus on real time control. A time-triggered operating scheme is developed for of the slave controllers to obtain reliability and robustness. For system controlling a multi-control technique is adopted based on CAN bus communication.At last the paper specifies that distributed control system is applied on a project of charge and discharge for battery storage. Application software of master controller consists of two parts. The first one is to deal with the input, edit and save of control parameters. The other has the functions of transmiting parameters, controlling commands and receiving data. Priority of task accords with sequence number of slave controller. All tasks can communicate each other by message mailbox. Display task respond interrupt call of keyboard by message mailbox. When all task have been suspended, a leisure task will have been executed. Application software of a slave controller consists of five tasks. Receiving and transmiting messages of CAN bus is a preemptive task, which receives processing parameters and controlling commands and transmits data selectd by slave controller. The task of AD conversion gets the value of current and voltage, so as to compare with the reference value set in processing parameters. The task of PID arithmetic for close-loop adjustment ensures the controlling precision of charge and discharge. The task of display is used to display the current, voltage and time of process which is calculated by the tick of timer.

Table of contents

The first chapter 7-12 1.1 Embedded Systems 7 1.2 embedded operating system 7-9 1.2.1 embedded operating the characteristics of the system; nbsp 7-9 1.2.2 real-time embedded operating system classification 9 1.3 domestic research and application of 9-10 1.4 The purpose of the research and thesis work 10-12 Chapter II embedded microprocessor and embedded operating systems 12-19 2.1 embedded systems composed the 2.2 embedded microprocessor 12 12-16 2.1.1 ARM nuclear the ARM7TDMI-S Introduction 12-14 2.1.2 Integrated ARM7TDM -S core the microprocessor on S3C44BOX 14-16 2.3 MICROC/OS- Ⅱ embedded operating system 16-19 2.3.1 MicroC/OS- Ⅱ Overview 16-17 2.3.2 kernel operating mode 17-18 2.3.3 MicroC/OS- II embedded applications library 18 2.3 .4 MicroC/OS- Ⅱ development and debugging tools 18-19 Chapter S3C44BOX the basic building blocks of the chip design 19-28 3.1 embedded systems, the basic structure of 19 3.2 basic building blocks of design 19-28 3.2.1 processor auxiliary circuit 19-22 3.2.2 man-machine interface 22-24 3.2.3 Extended memory circuit 24-25 3.2.4 download and communication interface 25-28 Chapter MIC/OS- Ⅱ the displacement processor S3C44BOX 28-36 4.1 embedded operating system transplant Overview 28 4.2 processor data types and constants 28 -29 4.3 initialization and interface functions 29-33 4.4 processor assembler 33 4.5 Reset boot program code 33 -36 Chapter embedded operating system on the 8051 36-51 8051 5.1 application characteristics 36 5.2 event and time-triggered system 36-37 5.3 8051 microcontroller control system hardware 37-39 5.4 events trigger the limitations of the operating system on the 8051 39-40 <br / > 5.5 time triggered embedded systems in 8051 40-51 5.5.1 periodic tasks 40-41 5.5.2 using timer interrupt 41-42 5.5.3 task scheduling 42-51 Chapter embedded system applications design 51-67 6.1 Distributed battery into control the structure of the system 51-55 6.2 smart nodes time-triggered scheduling method 55-59 6.3 host computer design of the human-machine interface software 59-63 6.4 PC software scheduling 63-65 6.5 real-time control strategy 65-67 Chapter VII Conclusions and Prospects 67-68 Reference 68-70 Acknowledgements 70-71 Appendix the A C_OSCTWSW function assembly code 71-75 during the master's degree published papers 75

Related dissertations

  1. Research on Development Strategy for Distributed Control System of Hollysys Company
  2. Application of Distributed Control System to the Power Plant
    WangLiMing ·Harbin Engineering University ·2009 ·Master's thesis
  3. The Programing and Development of Automatic Control System for Alpha Gypsum Powder Production Line
    ZuoXingFei ·University of Jinan ·2013 ·Master's thesis
  4. Design and Realization of Distributed Control System Based on Industrial Ethernet
    WuQiong ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  5. Research and Application of Temperature Control System Based on Wireless Network
    TianLinLin ·Donghua University ·2014 ·Master's thesis
  6. Research on Distributed Control System of Batch Dyeing
    FanJinLong ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  7. The Design of CAN Controller Based on the ISO2.0Full Standard Protocol
  8. Performance Analysis of EPL and Its Application in DCS System
    TanQu ·Zhejiang University ·2014 ·Master's thesis
  9. The Design of the System of the Intelligent Creel Robot
    GuYingJia ·Donghua University ·2013 ·Master's thesis
  10. AUV Control System Based on Multi-sensors
    WangGang ·Harbin Engineering University ·2013 ·Master's thesis
  11. Research and Realization of Time Synchronization Protocol in Distributed Control Systems
  12. Research and Implementation of SUPMAX800Functions for300MW-level Thermal Power Unit
  13. On the Modularization of Coal-fired Power Plant Control System
    HuangSuWen ·Zhejiang University ·2014 ·Master's thesis
  14. The Design and Implementation of the Control System of330MW Generator Based on SUPMAX800Distributed Control System
  15. Design and Implementation of Testing and Data Reporting System for Vehicle Safety Performance
    LiJie ·Chang'an University ·2013 ·Master's thesis
  16. Reliability Evaluation of Railway Traffic Control System
    ZhaoJun ·Dalian Maritime University ·2013 ·Master's thesis
  17. The Design of Thetransit System of the Intelligent Creel Robot
    BaiYanXing ·Donghua University ·2014 ·Master's thesis
  18. Design and Application of ESP Testing System Based on DCS
    WeiRan ·Harbin Engineering University ·2009 ·Master's thesis
  19. Automatic Control System Exploitation of Petroleum Proppant Granulation Production Process
    DongXiaoZuo ·University of Jinan ·2013 ·Master's thesis
  20. Study on Application of Dynamic Matrix Predictive Control Algorithm in Methanol Gasoline Production Process Control