Font Size: a A A

A Designing Of Power Distribution Detection And Controller Can Be Controlled Remotely Based On UC/OS-II And TCP/IP

Posted on:2011-09-12Degree:MasterType:Thesis
Country:ChinaCandidate:G Y HuFull Text:PDF
GTID:2132360305473251Subject:Circuits and Systems
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:Detection and controller, Embedded System, TCP/IP protocol, UC/OS-Ⅱ, MCU, UDP
PDF Full Text Request
Related items