A Designing of Power Distribution Detection and Controller Can Be Controlled Remotely Based on UC/OS-II and TCP/IP

Author
HuGuYue
Advisor
XuChao , LiZhengPing
School
Anhui University
Major
Circuits and Systems
Classification
TM642 Power distribution equipment,power strips
Degree
Master's thesis
Year
2010
Downloads
81
Citations
0

Request the full text

Abstract

This article is a view of achieving the remote controlling of the tall buildings. It also has the function of exchanging information with the testing and controlling center. And finally achieve the remote controlling goal by implement specific programs in the aspects both the hardware and the software.Embedded operating systems and TCP/IP protocol are two major basic of this design, there are too many kind of embedded operating system in current days, in this topic we use the UC/OS-Ⅱwhich has a very strong real-time and preemptive kernel because of its open source and has a very small kernel size; meanwhile as the most important communication protocol, TCP/IP is one of the core technologies to achieve the remote controlling of the detection and controller. So the problem we must solve first is to make the TCP/IP protocol run in the UC/OS-Ⅱsystem, and then write the tasks and communication protocol.By porting UC/OS-Ⅱto 51 series MCU which is the core processor and connected to a LAN chip RTL8019AS to access the internet, we can achieve some part of TCP/IP protocol modules and the remote controlling goal. In the other hand, TCP/IP is becoming an very complex protocol, it is hard to realize all TCP/IP protocol with limited resources, so we must cut some protocol in TCP/IP while retain some basic functions provided by TCP/IP. We should save the resources while protect the data transport by the network correctly. Just achieve some protocol of the TCP/IP, such as ARP protocol, IP protocol, UDP protocol, etc.Two tasks are created in this system, NIC task with low priority and UDP task with high priority, the UDP task will be suspend when the NIC did not receive any data. After NIC received data, it will make the UDP task ready and the task will get the right of using CPU to process data because UC/OS-Ⅱis a preemptive system. We can control the detection and controller remotely based on this small type TCP/IP protocol. The experimental results show that we can control the detection and controller through the network to achieve the origin goal of the topic. But the TCP/IP protocol we designed is not perfect yet, if there is any further need, we will consider improving it continuously.

Table of contents

Abstract 3-4 Abstract 4-8 first chapter 8-12 1.1 Background topics 8-9 1.2 embedded TCP / IP technology 9-10 1.3 Controller on the overall design 10-11 1.4 paper content and organizational structure 11-12 the Chapter II real-time system UC/OS- Ⅱ Introduction 12-25 2.1 What is a real-time operating system 12-13 2.2 typical embedded real-time operating system 13 2.3 UC/OS- Ⅱ real-time systems 13-24 2.3.1 UC/OS- Ⅱ kernel Summary 13-15 2.3.2 UC/OS- II Task Manager 15-21 the 2.3.3 UC/OS- Ⅱ time management 21-22 the communication between 2.3.4 task synchronization 22-24 2.4 This chapter Summary 24-25 Chapter TCP / IP Profile 25-35 3.1 TCP / IP Summary 25-28 3.1.1 OSI seven layer network model 25-26 3.1.2 TCP / IP network model 26-28 3.2 Ethernet packet 28-29 3.3 TCP / IP layers protocols Profile 29-34 3.3.1 Network Interface layer protocol 29 3.3.2 network layer protocol 29-32 3.3.3 transport layer protocol 32-33 the the 3.3.4 application layer protocol 33-34 3.4 Controller on the need to implement the agreement 34 3.5 Summary 34-35 Chapter hardware system design and UC/OS- II transplantation 35-45 4.1 hardware system design 35-40 4.1.1 hardware system block diagram 35-36 4.1.2 microcontroller, network card and RAM connection 36-38 4.1.3 Control circuit schematic 38-39 4.1.4 detection circuit schematics 39-40 4.2 UC/OS- Ⅱ transplant 40-44 4.2.1 UC/OS- Ⅱ transplant conditions 40-41 4.2.2 UC/OS- Ⅱ in 51 transplant 41-44 4.3 This chapter Summary 44-45 the fifth chapter point monitoring and control software system design 45-57 5.1 program overall framework of Figure 45-46 5.2 initialization 46-49 5.3 NIC receive and send packets 49 5.4 protocol and the realization of the remote control 49-56 5.4.1 ARP protocol 50-51 5.4.2 IP protocol 51-52 5.4.3 ICMP protocol handler 52-53 5.4.4 UDP protocols and remote control 53-55 5.4.5 IP to send data 55-56 5.5 This chapter Summary 56-57 Chapter VI summarizes 57-59 Acknowledgements 59-60 the References 60-63 the attack Shuo achieved during the research 63-64

Related dissertations

  1. Research and Design of the Combustible Gas Detector and Alarm Based on ARM7
    LiuQingXin ·Wuhan University of Technology ·2012 ·Master's thesis
  2. Robot Vision System Design Based on Embedded System
    WangMingLiang ·Donghua University ·2007 ·Master's thesis
  3. Design and implementation of Cortex-M3 core microcontroller based on embedded Web server
    ChengZiQian ·Yunnan University ·2012 ·Master's thesis
  4. Design and Implementation of Network TOE
    ZhengGang ·Shanghai Jiaotong University ·2007 ·Master's thesis
  5. Design and Implementation of Remote Login Control System Based on Modem Technology
  6. Design and Implementation of a Communication Platform for Internet-based Teleoperation
  7. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  8. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  9. The Foam Insulation Greenhouse Monitoring System Design
    ZhangZuo ·Northeast Forestry University ·2013 ·Master's thesis
  10. Automation Measuring System for Water Supply Based on GPRS
    YanShiQiang ·Hebei University of Technology ·2013 ·Master's thesis
  11. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  12. Video Surveillance System Based on Embedded Technology Research
  13. Design of Video Monitoring System Based on the Embedded
  14. The Design of Embedded Network Video Surveillance System Based on ARM9
  15. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  16. Design of Video Surveillance Software Based on Ti Dm6446Processor
    YuanWei ·Zhejiang University of Technology ·2013 ·Master's thesis
  17. Data Acquisition System of Cavern Based on Embedded Web Server
  18. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  19. Research on the Indoor Air Monitoring System Based on Embedded Linux
  20. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis