Research and Design of Special Transformer Acquisition Terminal Based on Ethernet Communication

Author
YuanWenHua
Advisor
ZengYi
School
Shandong University
Major
Control Science and Engineering
Classification
TP274.2 Data collection and processing systems
Degree
Master's thesis
Year
2011
Downloads
45
Citations
1

Request the full text

Abstract

Special transformer acquisition terminal is acquisition device aim at users who have special transformer in the power user electric energy data acquire system. It’s between host and energy meter. Its good performance is directly related to the normal operation of power user electric energy data acquire system.The aim of this paper is to complete a special transformer acquisition terminal who has a lightweight operating system entrusted by BIA Technology Company.The main character of the special transformer acquisition terminal is it communicates with the host through Ethernet. So the first focus of this paper is the implementation of TCP/IP protocol stack which is used for Ethernet. The main content of TCP/IP protocol stack in this paper is as follows:1. The embedded TCP/IP protocol stack is Choosed, the code of choosed protocol stack LwIP is analyzed by module in order to deeply understand the process of LwIP and prepare for the improvement.2. The improvement plan of LwIP for special transformer acquisition terminal is given. It includes the improvements of transmission queue, route redirect of ICMP protocol, and congestion control algorithm of TCP protocol;3. Codes of operating system modeling layer is composed and LwIP is grafted to theμC/OS-Ⅱoperating system.4. Ethernet driver codes are composed according to the Ethernet controller of LPC2378 and the phy DM9161A;5. The Ethernet communication is tested through physical layer and link layer test, TCP transfer test and so on.The second focus of this paper is the design of the application software. Application tasks are partitioned according to the application design principle of UCOS-Ⅱand the functions of special transformer acquisition terminal. The priority of each task is also determined and flow.charts of some tasks are drawed.In addition, the hardware of the special transformer acquisition terminal is introduced; circuit diagrams of some modules are drawed; the software development platform is builded, its kernel is GCC complier and it bases on SmartARM2300 development board; the UCOS-Ⅱoperating system which is based on LPC2378 is builed.Through above, the design of the main part of the terminal is completed, and the kernel test about Ethernet communication is done. The results show that Ethernet communications can be successfully established.

Table of contents

Summary 10-11 ABSTRACT 11-13 The first chapter 13-18 1.1 Background 13-16 < br /> 1.1.1 specifically changed collection terminal position of the energy information collection system the 13-14 1.1.2 specifically changed acquisition the terminal feature requires 14-15 1.1 .3 specifically changed collection terminal with the master remote communication 15-16 1.2 research significance 16 1.3 This paper studies 16-17 <br / > 1.4 Chapter Summary 17-18 change designed collection terminal hardware design 18-23 2.1 module hardware selection 18-19 < br /> 2.1.1 embedded ARM microcontroller LPC2378 the 18-19 Ethernet physical layer chip DM9161A 2.1.2 19 2.2 designed the change collection terminal overall structure 19-20 2.3 designed variable acquisition the terminal hardware circuit to show 20-22 2.3.1 key indicator module 2.3. the 2 Ethernet remote communication interface circuit the 20-22 485 communication interface circuit 2.3.3 22 2.4 Chapter Summary 22-23 first three chapters specifically changed collection terminal development platform and operating system are found; the 23-34 3.1 specifically changed collection terminal software development platform development 3.1.1 SmartARM2300 of the, 23-26 board 23 3.1.2 Code :: Blocks integrated development environment 23-24 3.1.3 the GNU ARM cross compiler tool chain 24-25 3.1.4 debugging environment 25-26 3.2 designed to change the acquisition the terminal system software --μC/OS- Ⅱ operating system 26 3.3 μC/OS- II operating system on LPC2378 transplantation on 26-33 3.3.1 Os_cpu.h, 27-29 3.3.2 Os_cpu-cc 3.3.3 Os_cpu_a, 29-31 s 31-33 3.4 Chapter Summary the the 33-34 Chapter embedded TCP / IP protocol stack analysis and improvement of LwIP 34-56 < br /> 4.1 embedded TCP / IP protocol 34-37 4.1.1 TCP / IP protocol 34-35 4.1.2 embedded TCP / IP protocol stack nbsp 37 4.2.2 Implementation of LwIP process model; to the 35-37 4.2 open source TCP / IP protocol stack LwIP analysis 37-51 4.2.1 Implementation of LwIP Introduction and structure 37-38 4.2.3 buffer and memory management 38-42 4.2.4 link layer processing 42-43 4.2 .5 network layer processing the 43-44 4.2.6 TCP processing the 44-49 4.2.7 Implementation of LwIP API 49-51 4.3 nbsp LwIP protocol stack improvements ideas; 51-55 4.3.1 the transmission queue Improvement 51-52 4.3.2 ICMP protocol improvements 52-55 4.3.3 TCP congestion control algorithm improvements 55 4.4 Chapter Summary 55-56 Chapter designed variable acquisition the terminal LwIP the transplant and Ethernet communication test 56-74 5.1-based operating system LwIP μC/OS- Ⅱ transplant 56-68 5.1.1 operating system emulation layer transplantation 56 - 59 5.1.2 LPC2378 Ethernet controller the 59-63 5.1.3 Ethernet driver write 63-68 5.2 Ethernet the Communications Test the 68-73 5.2.1 the communications testing tools 68-69 the 5.2.2 physical layer and link layer test 69-71 <br / > 5.2.3 ping test 71 5.2.4 TCP connection and data transmission test 71-73 5.3 Chapter Summary 73-74 first chapters designed variable acquisition terminal application layer software design the 74-86 6.1 specifically changed collection terminal application layer software task partitioning 74-75 6.2 task priority arrangements 75-77 6.3 tasks associated the 77-81 6.3.1 tasks associated with analysis guidelines 77-78 6.3.2 system initialization tasks with the relationship of the other tasks 78 6.3.3 Statute parsing task relationship with other tasks 78-79 6.3.4 data processing tasks with other tasks relations 79-80 6.3.5 LCD display tasks and other tasks relationship the 80-81 6.4 main task flowchart 81-85 6.4.1 Statute resolve task 81-82 6.4.2 energy meter data acquisition task The 82-83 6.4.3 LCD display tasks with keyboard tasks 83-84 <br / > 6.4.4 Data processing tasks the 84-85 6.5 Chapter Summary 85-86 Chapter VII Summary and Outlook 86-88 7.1 This paper studies the results 86 the 7.2 further research direction 86-88 Reference 88-90 thank the 90-91 < br /> Master participate during the research work the dissertation reviewers and the respondent 91-92 Table 92

Related dissertations

  1. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  2. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  3. Design and Implementation of Ethernet Transfer Based on ARM
    LiMingJian ·Dalian University of Technology ·2013 ·Master's thesis
  4. Diagnostic Technology of Metro Traction Converters Based on ARM
    TianZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  5. Design of Patrol&Alarm System Based on ARM
    WuHouChun ·Nanchang University ·2013 ·Master's thesis
  6. The Development of Embedded Remote Data Acquisition System for Internet of Things
    WangGuangWei ·Zhejiang Normal University ·2012 ·Master's thesis
  7. Research and Implementation of CAN Bus and Ethernet Communication Based on ARM7Embedded System
    HuangBing ·Anhui University ·2012 ·Master's thesis
  8. Research on Remote Debugging System of Excitation Device
    WangMengRan ·Hebei University of Technology ·2012 ·Master's thesis
  9. Design and Implementation of Remote Login Control System Based on Modem Technology
  10. The Research of Household Remote Monitoring Based on Embedded Web Server
  11. Remote Monitor System for Oil Wells Working Condition Based on GPRS
  12. Engine Room Monitoring System Based on the Embedded Web Server
  13. Automation Measuring System for Water Supply Based on GPRS
    YanShiQiang ·Hebei University of Technology ·2013 ·Master's thesis
  14. Research and Design of Intelligent Video Surveillance System Based on ARM
  15. The Research and Design of Embedded Graphic Remote Monitor Terminal
    DengBoWen ·Harbin Engineering University ·2013 ·Master's thesis
  16. Design of Remote Control System Based on Ethernet
    YaoGaoHua ·South China University of Technology ·2013 ·Master's thesis
  17. The Design of Embedded Network Video Surveillance System Based on ARM9
  18. Data Acquisition System of Cavern Based on Embedded Web Server
  19. Research and Design of Remote Monitoring System Based on ARM
    LinFeiLong ·Hunan University ·2014 ·Master's thesis
  20. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis