Design of IOT Smart Gateway Based on ARM9

Author
ZhangFuWen
Advisor
WuZhenYu
School
Dalian University of Technology
Major
Electronics and Communication Engineering
Classification
TP391.44 Optical pattern recognition devices
Degree
Master's thesis
Year
2012
Downloads
484
Citations
2

Request the full text

Abstract

Industrial production is an important aspect of the country’s energy and resources use. Energy and resources monitoring and planning is of great significance during industrial production process. Varies kinds of energy and resources are used in modern industrial plants, including electricity, water(tap water, intermediate water), heat(steam, condensate water), air(compressed air, nitrogen, argon, oxygen, propane, etc.), gas, oil, solid fuel, etc. In modern energy and resources management system, the amount of energy and resources is measured, transferred to and stored in information management center. Data is monitored and analyzed in information center making it easier for management staff to take control of the data and its trend in every measurement point.Base on the background of industrial energy and resources measurement and monitoring, a smart industrial gateway device is designed using ARM and Linux. Data acquisition of meters using various protocols is implemented with local storage and remote transfer enabled. Seven serial ports are implemented via pin multiplexing on AT91SAM9G20. Half-duplex RS485bus is enabled using SP485EE with effective signal and power isolation. In Ethernet part, EMAC module in the microcontroller is used and connected to DM9161via RMII interface, thus, realized100Base-T full duplex Ethernet transfer. The design is discussed in three parts:circuit design, OS design and application software design.The design of microcontroller, power supply, calendar, memory, sound card, net card, RS485interface, USB interface and SD card slot is described in detail. PCB routing and debug methods are introduced briefly.In the OS part, Linux is used as OS kernel and U-Boot is used as boot loader. Some of the driver codes are modified catering to the demand of the application. Basic utilities are build using busybox and written into flash memory as the root file systems in UBI format.Application software is written in Go programming language. It implemented three major protocols used in industrial meters. Communication between server and gateway device is via TCP/IP and HTTP protocol and data transfer is realized according to regulations defined by national standards.In the last part of the article, tests made about functionalities of the device is described briefly and further extensions and tests are expected.

Table of contents

Summary 4-5 Abstract 5-9 1 Introduction 9-11 1.1 the background 9-10 <br / > 1.2 Status of Things gateway device main work and organizational structure 10 1.3 of this topic 10-11 2 overall system design 11-15 2.1 energy, resource metering monitoring system constitutes 11-12 2.2 overall architecture of the intelligent gateway device 12-13 2.3 gateway functions and composition 13-14 2.4 meter gateway and follow national standards 14 2.5 Summary 14-15 3 hardware circuit design and implementation 15 -38 3.1 AT91SAM9G20 microcontroller introduction 15-17 3.2 power part of the circuit design 17-20 3.2.1 expansion board power supply design 17 3.2.2 core board power supply design 17-19 3.2.3 RS485 bus interface board power supply design 19-20 3.3 system calendar circuit design 20 selection and design nbsp 3.4 nonvolatile memory ; 20-23 3.4.1 NAND Flash and NOR Flash contrast 20-22 3.4.2 NAND Flash circuit design 22-23 3.5 SDRAM memory design 23-24 3.6 sound part of the design 24-26 3.7 SD card interface design 26-28 3.8 USB host interface design 28-29 3.9 Ethernet card module design 29-33 3.9.1 AT91SAM9G20 the EMAC module 29-30 3.9.2 DM9161 PHY module 30-33 3.10 RS485 interface module design 33-35 3.10.1 automatic duplex achieve 33-35 3.10.2 power and signal isolation achieved 35 3.11 LCD display module design 35-37 3.12 Summary 37-38 4 Linux-based system software design 38-43 4.1 bootloader 39-40 4.2 Linux kernel migration and development driver 40-41 4.3 root file system design 41-42 4.3.1 kernel configuration support UBIFS 41 4.3.2 created using Busybox Linux toolkit 41 4.3.3 using MTD Toolkit to create the root file system 41-42 4.4 Summary 42-43 5 application layer software design 43-63 5.1 data acquisition program designed body 43-49 5.1.1 data acquisition thread data structure design 43-47 5.1.2 data acquisition thread design 47-49 5.2 transmission TCP / IP -based network design 49-58 5.2.1 heartbeat / school functions designed 51 5.2.2 gateway configuration information 51-52 5.2.3 extended gateway configuration 52-53 <br / > Upload nbsp 5.2.4 active and passive data ; batch 53-55 5.2.5 data upload abnormal alarm 55-56 5.2.6 gateway 56-58 5.2.7 file server design achieve 58 5.3 DL / T 645 protocol 58-60 5.3.1 read Data command frame 59-60 5.3.2 data acquisition interface 60 5.4 CJ / T 188-2004 protocol 60-61 5.5 Modbus protocol achieve 61-62 section 5.6 of this chapter performance testing 62-63 6 gateway device 63-65 test nbsp 6.1 RS485 data Acquisition ; 63-64 6.2 MTBF testing 64-65 7 summary and Outlook 65-67 References 67 - 69 Thanks 69-70

Related dissertations

  1. The Development of Embedded Remote Data Acquisition System for Internet of Things
    WangGuangWei ·Zhejiang Normal University ·2012 ·Master's thesis
  2. Research and Implementation of DCS System Based on Wireless Communication
  3. Design and Development of Central Air-conditioning Energy-saving Control System
    LiXiaoYu ·Zhejiang University of Technology ·2013 ·Master's thesis
  4. Design and implementation of universal remote IO printing machine control system based on
  5. Design of Coal Mine Safety Monitoring System Based on Internet of Things
    LiMaoDong ·Taiyuan University of Technology ·2013 ·Master's thesis
  6. Monitoring and Alarm System of Coal Mine Gas Based on Ethernet
    ChenKunHua ·Donghua University ·2013 ·Master's thesis
  7. The Research of Intelligent Barrier Control System
    DongYe ·Suzhou University ·2012 ·Master's thesis
  8. Research and Implementation of Smart Home Protocol Stack Based on Composite Means of Communication
    ChenHanShen ·Zhejiang University of Technology ·2012 ·Master's thesis
  9. Design and Development of Automatic Test System of a Kind of DCS System I/O Modules
    JinYu ·Shanghai Jiaotong University ·2012 ·Master's thesis
  10. Research and Implementation of Open Service Api and Smart Gateway in Sensing Domain of Iot
  11. Design of Networked Motion Control System of Stepper Motor
    WangChen ·Harbin Institute of Technology ·2013 ·Master's thesis
  12. Research on Embedded Intelligent Electro-hydraulic Proportional Valve Controller
    LuQuanSen ·Guangdong University of Technology ·2008 ·Master's thesis
  13. Research and Development of Manufacturing Execution System for Manufacture Process of Bearing
    LiuJian ·Zhejiang University ·2007 ·Master's thesis
  14. The Multiband MP signal shielding intelligent network control system
    ChenLiJing ·Shandong University ·2007 ·Master's thesis
  15. Study on Embedded Smart Home Controller and Development of Homenet
    XuFeng ·Dalian University of Technology ·2008 ·Master's thesis
  16. Design and Implementation of RS485 Wireless Wiring System Based on Modbus Protocol
    LiDa ·Jilin University ·2009 ·Master's thesis
  17. The Development and Application of Multi-functional Communication Converter Based on AT90CAN128
    ChenXiaoFang ·Beijing Jiaotong University ·2011 ·Master's thesis
  18. Research of Automatic Monitoring System of Sewage Treatment Based on RS485 Fieldbus
    FangChuanLi ·Zhengzhou University ·2010 ·Master's thesis
  19. Electricity five anti- error lockout prevention embedded in the design and implementation of the control unit
    XieXiangYou ·Zhejiang University ·2012 ·Master's thesis
  20. The Analysis of the Information Service Pricing in the Internet of Things Based on the Consumers’ Overconfidence
    MeiLiJun ·Hunan University ·2012 ·Master's thesis