Software Design of Terminal Nodes in Gas Meter Reading System Based on WSN

Author
LiZanFei
Advisor
HuChengQuan
School
Jilin University
Major
Software Engineering
Classification
TP274.2 Data collection and processing systems
Degree
Master's thesis
Year
2010
Downloads
127
Citations
0

Request the full text

Abstract

With the development of the times, people’s living standard improved and requests a more comfortable living environment. The house of modern people must to be comfortable and meet to living convenience. People oriented and Humanized Design is the theme of the times. As the daily energy residents frequently used, gas is one of the "smart house" necessary conditions. Charges for the gas meter are backward, does not accurately measured. The problem cannot be ignored. The traditional manual meter reading gas fee means have many disadvantages, the data inaccurate, and prone to leakage copy, copying errors and other problems. At present, some regions use IC card prepaid way, to a certain extent, improve the status. But there are still a lot of problems. Firstly, IC card system is difficult to assure the safety. As IC cards are in the hands of the users, gas companies cannot monitor its status, users can easily crack IC card, cause economic loss of Gas Company. Secondly gas companies know nothing about the user’s gas flow data, cannot use these valuable user data to develop marketing strategies, cause a large degree of influence of the gas market. Therefore, we need a way to improve the gas meter reading.As the wireless sensor network technology develop and mature, they are used more widely. Wireless sensor networks distributed a large number of sensor nodes in the Monitor area, these nodes form a multi-hop, self-organizing wireless network. the wireless sensor network send the data collected by the sensor nodes to the observer, so the observer can sense the objective world by measured data. Translate the physical world to the digital world. Wireless sensor networks research has become the "hot spots", a lot of organizations and institutions begin related program. Wireless meter reading system for gas based on wireless sensor network technology can collect gas data precisely and rapidly, and send these data to the gas company by wireless sensor network and internet. Gas companies can accurately charge user fees. By analyzing the user data, gas companies can make appropriate market policies, and promote the development of gas market. Gas data are translate by wireless, so there is no need to lay cables, reduce the system cost. Wireless sensor network node design in low-power, Users do not need to change battery frequently.Gas meter reading system is composed by terminal nodes, route nodes, base station and application platform. Terminal nodes are connected to gas Meter. Terminal nodes can control the gas valve and collect gas data and packed the data to wireless message which send to base station. Route nodes forward the message. The base station was connected with the application platform by internet. The application platform storage the data into database. Application platform analyses these data to charging user fees, manage user accounts.The main job of this paper is the embedded software design of the terminal nodes. Program NesC language in the TinyOS. The TinyOS are developed by University of California, Berkeley and Intel Research lab, main application is wireless sensor networks. TinyOS program are designed under component-based architecture, program was composed by modules, each module complete the corresponding function, offer interface to other modules. TinyOS component-based architecture improved the software encapsulation, conducive to the development of programmer. TinyOS use the event-driven , two-level Scheduling and active message mechanism. The program can switch the thread quickly and responded the wireless communications rapidly.The workflow of terminal nodes is divided into three stages, initialization, offline and online status. Node get into the initialization phase after on power. In the initialization node complete the init job, include hardware module initialization and software initialization. After the initialization phase is completed, the node get into the offline status. In the Offline status, the terminal node’s main task is to join the wireless network, search for a suitable route node as its parent node. Parent nodes are responsible for the data forwarding of child nodes, and also the command from the base station. After join the wireless network successfully, the terminal node get into the online status. Online status is the normal working status of the terminal node. In this state, the terminal node complete the time synchronization, data collected and upload, and the execute of the command from base station.Current gas market in China, wireless meter reading system is still in the research stage. As the technology immature, there is only a small part of the region use it. But with the wireless sensor network technology continues to evolve and progress, wireless meter reading system be spread throughout the market, to promote the development of the gas market. offer people a more convenient and more humane use platform of gas.

Table of contents

Feed 4-6 Chapter 1 Introduction 6-13 1.1 gas wireless meter reading system application status 6-7 1.1.1 automatic meter reading system 6-7 1.1.2 Gas wireless meter reading system 1.2 Overview of wireless sensor networks 7-11 the the 1.2.1 wireless sensor network development course 8-9 the the 1.2.2 wireless sensor networks Features 9-10 the the 1.2.3 wireless sensor network application status 10-11 1.3 thesis content and structure 11-13 the wireless meter reading system of Chapter 2 Gas Overview 13-18 2.1 gas wireless meter reading system structure 13-14 The the location of the 2.2 gas wireless meter reading system node distribution 14-15 2.3 wireless meter reading system data upload and command execution flow 15-18 the workflow design Chapter 3 terminal node 18-25 the the 3.1 terminal nodes initialization phase 19-21 3.2 terminal node offline 21-23 3.3 terminal node online status 23-25 Chapter 4 terminal node software to achieve 25-45 4.1 software development environment 25-28 4.1.1 TinyOS About 25-26 4.1.2 TinyOS characteristics 26 4.1.3 NesC programming 26-28 4.2 terminal node hardware introduced 28-29 4.3 terminal node of the program structure 29-30 4.4 data components 30-31 4.5 command components 31-35 4.6 time component 35-39 4.7 network components 39-42 4.8 scheduling component 42-43 4.9 wireless message frame format 43-45 Chapter 5 summarizes 45-46 the References 46-48 Acknowledgements 48-49 summary 49-51 ABSTRACT 51-52

Related dissertations

  1. The Design and Implementation in Data Acquisition System Based on Wireless Sensor Network
    LinJian ·Beijing Forestry University ·2012 ·Master's thesis
  2. Research of IEEE802.15.4Wireless Sensor Network and Its Apply in Environmental Monitoring
    ZuoZhuang ·Wuhan University of Technology ·2013 ·Master's thesis
  3. Design and Implementation of Indoor Environment Monitoring System Based on Wireless Sensor Network
  4. Design and Implementation of the Wireless Sensor Network Based on TinyOS
    FanRuiZuo ·Tianjin University ·2012 ·Master's thesis
  5. Research and Improvement of WSN Asynchronous MAC Protocol
  6. Design and Implementation of Vehicle Monitoring System of Hazardous Materials Transportation Based on WSN
    WangSong ·Chang'an University ·2013 ·Master's thesis
  7. Design and Realization of Remote Power and Environmental Monitoring System in Wireless Sensor Network
    HuangWei ·Jilin University ·2012 ·Master's thesis
  8. Research of Environmental Monitoring System Based on Wireless Sensor Network
    LiJiangQuan ·Nanjing University ·2012 ·Master's thesis
  9. The Research on Component-based Real-time Embedded Operation System
  10. Evaluation and Improvement of Collection Tree Protocol for TDMA-based Industrial Wireless Sensor Networks
    LiuChangYang ·Beijing Jiaotong University ·2012 ·Master's thesis
  11. Research on Multi-temperature Measurement System in Wireless Sensor Network
    ShangBingYang ·Northeastern University ·2010 ·Master's thesis
  12. The Design of the Water-meter Based on Wireless Sensor Networks
    AnBaoYu ·Jilin University ·2008 ·Master's thesis
  13. Study on Wireless Sensor Networks System Based on New Magnetic Field Sensor
    WangWeiZhi ·Jiangsu University ·2008 ·Master's thesis
  14. The Design and Implementation of the Physical Layer of the Wireless Sensor Network Node Based on TinyOS
    PangLin ·PLA Information Engineering University ·2007 ·Master's thesis
  15. Research of Wireless Sensor Network Protocol Based on TinyOS
    LinXiYuan ·Wuhan University of Technology ·2007 ·Master's thesis
  16. Research and Application of the embedded operating system for wireless sensor network nodes
  17. The Design and Implementation of BSP on the WSN Node Which Based on the TinyOS
  18. Research on the Loading Localization Based on the Wireless Sensor Network
  19. Architecture and Management of Sensor Network
    LiuGang ·Northwestern Polytechnical University ·2005 ·Master's thesis
  20. Design and implementation of wireless sensor network node for dam monitoring