Study on the Remote Meter Reading System Transmitting Data Based on Ethernet
- Author
- PengZuoZuo
- Advisor
- ZengChunNian
- School
- Wuhan University of Technology
- Major
- Communication and Information System
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 249
- Citations
- 1
Abstract
Remote meter reading system is a need not officers arrived at the scene and will be able to complete a new type of automatic meter reading meter reading , it can effectively solve the traditional manual meter exist , such as low efficiency , high cost , high error rates . The most important part of the remote meter reading system is the choice of the method of data transmission , according to the advantages and disadvantages of several existing data transmission method , this paper, the program of a remote meter reading system based on Ethernet transmission data . Ethernet has without a separate wiring , compatibility , and technical support for a wide range of advantages of using Ethernet as the transmission method of remote meter reading system has good prospects for development . The system is divided into three modules , display module , the data transmission module and PC software for data acquisition . The data acquisition module W78E58 collected by the 8-bit microcontroller hot water , cold water , gas and electric four data will be displayed on the LCD screen of the meter reading system comes out and stored in EEPROM 93C46 , to prevent unexpected power outages caused by data loss . Data transmission module is divided into two parts on Ethernet interface and W78E58 of the TCP / IP protocol stack . Ethernet interface hardware part of the Ethernet card RTL8019AS chip and external expansion W78E58, 32K SRAM , Ethernet interface driver through the completion of the the RTL8019AS local and remote DMA operation . 8-bit microcontroller with limited resources , W78E58 on the TCP / IP protocol stack contains only the ARP, ICMP, IP, TCP and UDP protocols , and based on the need to implement the function of the system , these agreements after the corresponding simplified , for example , the ARP protocol remove the cache table , only ARP request and response functions ; Ping response ICMP protocol only ; remove the IP protocol routing and datagram fragmentation , only datagram sent and receiver ; simplified state machine , sliding window and timing retransmission mechanism to reduce the number of connections in the TCP protocol . DELPHI 's Winsock programming PC software to achieve with the test connection function display real - time meter reading data . After the test , the system can achieve meter reading , real-time display of meter reading data to communicate with the host computer , and check the basic functions of the data on the host computer in real time .
Table of contents
Chapter 1 Introduction 9-13
the purpose and significance of 1.1 thesis nbsp the; 9
1.2 remote meter reading technology development status quo 9-11
1.3 based on Ethernet transmission, remote meter reading system 11-12
1.4 issues need to complete the task 12-13
Chapter 2 Ethernet and TCP / IP protocol 13-32
2.1 Ethernet Introduction the 13-15 2.1.1 Ethernet connection
13-14
2.1.2 to The Ethernet works 14-15
2.2 TCP / IP hierarchical model 15-17
2.3 TCP / IP protocol introduced 17-30
2.3.1 ARP protocol 17-19
2.3.2 IP protocol the 19-21 2.3.3 ICMP protocol
21-22
2.3. the 4 UDP Agreement 22-24
2.3.5 TCP 24-30
2.4 Chapter Summary 30-32
Chapter 3 system software and hardware Design 32-48
3.1 the systems overall framework structure 32
3.2 processor choice 32-33
3.3 data acquisition and storage and display 33-34
3.3.1 functionality introduced to 33
3.3.2 circuits of connection the 33-34
3.3.3 program implementation 34
3.4 Ethernet interface circuit design 34-38
3.4.1 62256 Introduction 34-35
3.4.2 RTL8019AS chip Introduction 35 - 36
3.4.3 93C46 Introduction the 36-37
3.4.4 Ethernet interface circuit hardware connection 37-38
3.5 Ethernet card driver to achieve 38-47
3.5.1 RTL8019AS internal structure 39-41
3.5.2 network card power-on reset and initialization 41-44 <br / > 3.5.3 receive and transmit Ethernet frames to achieve 44-47
3.6 Chapter Summary 47-48
Chapter 4 MCU the TCP / IP protocol stack implementations nbsp The choice of the agreement; 48-65
4.1 single-chip TCP / IP protocol stack 48-50
4.2 ARP protocol implementations 50-51
4.2. 1 ARP header data structure 50
4.2.2 ARP protocol function design 50-51
4.3 IP protocol implementation 51-55
4.3. the IP protocol simplifies 52
4.3.2 IP header data structure 52-53
4.3.3 IP header checksum 53
the 4.3.4 IP protocol implementations 53-55
4.4 ICMP protocol implementations 55-56
4.4.1 ICMP header data structure 55
4.4.2 ICMP header checksum 55-56
4.4.3 the Ping command function to achieve 56
4.5 UDP protocol to achieve 56-59
4.5.1 UDP header data structure 57
4.5.2 UDP header checksum to 4.5.3 UDP protocol function to achieve 57-58
58 -59
4.6 TCP implementations the 59-64
4.6.1 TCP protocol simplifies 59-61
4.6.2 TCP header data structure 61
4.6.3 TCP checksum and 61-62
4.6.4 TCP protocol functions to achieve 62-64
4.7 Chapter Summary 64-65
Chapter 5 PC software designed the 65-68
5.1 the Winsock Overview 65-66
5.2 host computer program to achieve 66 -67
5.3 Chapter Summary 67-68
Chapter 6 summarizes the 68-70
6.1 research summarizes 68
6.2 prospects Looking 68-69
6.3 shortcomings 69-70
References 70-73
pursue a degree involved in the research and publication of academic Paper 73-74
Acknowledgements to the LCD 74-75
Appendix 1 part of the program to achieve 75-77
Appendix 2 meter reading system hardware circuit 77
Related dissertations
- The Research and Design of Remote Meter Reading System Based on ARM Architecture
- Communication and Data Management in Urban Heating Control System
- Research on Embedded Ethernet Devices Connecting Internet
- The Application of Embedded Hydrologic Monitor System Based on Ethernet
- Autocontrol Technology on the Basis of Network Communication Between PC and PLC
- The General Embedded Control Platform Based on X86
- 3G repeater monitoring subsystem Ethernet Access Technology
- The Design and Realization of Embedded Appliance Controllers Based on Internet.
- Study and Realization of CAN-Ethernet Gateway Based on ARM7
- Design of Remote Control System Based on Ethernet
- Design and implementation of remote meter reading system based on 433MHz module
- Design of Remote Strain Measurement System Based on FGPA
- Design and Implementation of Multi-channel Data Acquisition System
- Network-based Wind Power Monitoring Data Acquisition System
- Research on Real-time Mornitoring System of High-voltage Switchgear
- Design of Gas Meter Reading System Based on Wavemesh and GPRS
- Design of Industrial Ethernet Motion Controller Based on ARM
- Design and Development of Electrical Automation Experiment Platform
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- The Research and Implementation of the Automatic Learning Method of VLAN in Ethernet