The Software Design of the Concentrator Based on EPON Meter-Reading System

Author
CaoJun
Advisor
LiChengJun , WangHaiBin
School
Wuhan University of Technology
Major
Electronics and Communication Engineering
Classification
TM76 Power system automation
Degree
Master's thesis
Year
2012
Downloads
32
Citations
0

Request the full text

Abstract

The intelligent of the power meter is a product of the rapid development of information. It is also imperative that the automatic meter reading systems replace the previous manual door meter reading systems.This thesis has discussed several meter reading systems, and has analyzed the advantages and disadvantages of them. Then put forward the dual Ethernet port concentrator for automatic meter reading system based on EPON technology. This thesis first analyze the optical reading system architecture where the concentrator in. Then focus on the need of the concentrator to achieve the function. Finally compile the software design of the concentrator and having functional testing. The concrete expansion work of the paper is:Firstly, analyze the common meter reading systems, which including the485-meter reading system, power line carrier meter reading system and wireless meter reading system. Then analyze the advantages and disadvantages of each and summarize the realization of the necessity of the concentrator in the fiber optic meter reading system. And this dual Ethernet port concentrator can only directly with2040with ONU optical module of the power meter through the optical fiber network directly connected, which can also be connected directly via Ethernet with the master server. This system is fast, efficient, stable meter reading system.Secondly, according to this research framework of the fiber optical reading system, the thesis put forward the dual Ethernet port concentrator functional requirements. Choosing ARM9chip NXP3250core board for hardware support equipment, It is convenient to the expansion of peripheral communication module compatible. The thesis completed application design based on the Linux operating system software platform support, and it is easy to cut out the functions.Lastly, in accordance with the functional requirements of the concentrator and data streaming direction, the thesis put forward the overall design concept of the the concentrator application layer software. The thesis design division of the four functional modules, respectively, for the communication layer, protocol parsing and conversion layer, protocol processing layer and application layer. Parallel execution of code writing multithreaded multitasking, setting structure variables and file stream to save variables. In this way, the stability of the system has been greatly improved. The thesis has also finished the test of the reading system.Presently, the meter reading system has a functional test in the laboratory, and the successful ratio exceeded97%.

Table of contents

Summary 4-5 Abstract 5-9 Chapter 1 Introduction 9-14 1.1 topics sources 9-10 1.2 research purpose and meaning 1.3 Status domestic and foreign research 10 research papers 10-12 1.4 12-13 1.5 thesis organization 13-14 Chapter 2 remote meter reading system design plan overall structure of the 14-21 2.1 system 14-15 2.2 concentrator function 15-16 2.3 concentrator hardware Description 16-20 2.3.1 concentrator hardware structure 16-18 <br / > 2.3.2 serial port settings assigned 18-19 2.3.3 power section 19 2.3.4 switch chip 19-20 2.4 Summary 20-21 Chapter 3 concentrator application software design and implementation 21-44 3.1 software development environment 21 3.2 software overall design ideas 21-24 3.2.1 multi-threaded processing 21-22 3.2.2 modular design 22-23 3.2. 3 software overall data flow design 23-24 3.3 communication layer 24-31 3.3.1 serial communication 25-26 3.3.2 upstream network 26-27 3.3.3 downlink network 27-28 3.3.4 data stream sent 28-29 3.3.5 chain Road security 29-31 3.4 protocol parsing conversion layer 31-34 3.4.1 protocol verification and save 31-33 3.4.2 protocol analysis and conversion 33-34 3.5 protocol processing 34-41 3.5.1 376.1 protocol for handling 35-36 3.5.2 to focus on the operation of the processing 36-37 3.5.3 class 1 data request processing 37-40 3.5.4 class 2 request processing data 40-41 3.6 application layer 41-42 3.6.1 automatic Meter Reading 41-42 3.6.2 meter data processing 42 3.7 Chapter Summary 42-44 Chapter 4 software Testing 44-52 4.1 application environment 44-46 4.1.1 hardware built environment 44-45 4.1.2 software environment 45-46 4.2 concentrator function test 46-51 4.2.1 initialization function 46-47 4.2.2 control parameter setting functions 47-48 4.2.3 Real-time meter reading 48-50 4.2.4 automatic meter reading 50-51 4.3 summary 51-52 Chapter 5 summary and Outlook 52-54 5.1 summarizes 52-53 5.2 Prospects 53-54 Thanks 54-55 References 55-57