Remote AMR System Design Based on AT91RM9200
- Author
- LaiZhongAn
- Advisor
- ZhaoXiaoZuo
- School
- Jilin University
- Major
- Communication and Information System
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 236
- Citations
- 0
Abstract
With the development of economy, more and more domestic meters, such as energy meter,water meter and gas meter, are widely used in daily life.Various kinds of Automatic Meter Reading(AMR) systems have been designed, which not only reduce the need for troublesome manual work, but also establish the technical base for providing better services and earn good economical effect and social effect.This paper engages in research of building a remote AMR system, and presents the solution that the embedded system based on ARM processor AT91RM9200 is used to solve the present problems. The solution adopts the embedded Linux Operationg System as the embedded software platform that can help to develop the embedded applications by providing standard API. The system makes full use of network function provided by the embedded Linux Operationg System, and performs networking by networking protocol of Socket in developing networking applications. At the same time, a database is set up at the server to maintain the data collectted from all kind of meters.The basic idea of the project is to customize a embedded development platform that can satisfy all actual requirements. For obtaining the platform, it is the main work that we tailor the embedded operating system on the hardware developmnet platform, delete redundant functions, reserve requisite functions, and develop applications to solve actual problems on this basis.In a word,the project buildes a remote AMR system from three aspects : the hardware platform、the operating system and the applications.1、The project designs the structure of the AMR system. It focuses on the core component-the controller of collection and transmission. After considering the requirements of the whole system, the project decides to adopt the embedded platform based on ARM processor AT91RM9200 as the controller.2、After analyzing the embedded hardware platform, the project chooses embedded Linux OS as the software platform of the whole system. The paper discusses how to build a embedded Linux OS on the embedded system depending on actual needs. On this stage, the paper put a strong emphasis on the building of cross-platform development environment、the port of bootloader(U-Boot)、the configuration of the kernel and the building of root filesystem.The embedded Linux OS is the heart of the whole system that controlls the operation of the whole system, and distributes the whole resource. The building of the embedded OS is the most important and complicated step that involves whether the whole system could operate reliably.After studying the boot process of Linux OS and the particularity of the embedded system, the project decided to use host/target cross-platform development mode. In this mode, the host takes charge of building cross-platform development environment and complete most of the development work. At last, the binary code is downloaded to the target platform and run.The Linux kernel、cross-platform development tools、Bootloader and root filesystem are completed by many individual development teams independantly, so they don’t synchronize usually. We must deal with the problem carefully and avoid making a conflict.3、Once the embedded software platform has been established, the project starts developing independent applications on the target and the host to realize the AMR system. The applications on the target mainly implement the functions of data collection、data processing and network communication. The applications on the host mainly implement the functions of network communication and database management. They cooperate together and compose the whole AMR system.In the process of building the system, the project studies the structure of Linux OS deeply and focuses on the filesystem and process communication mechanisms. It adopts the technology of socket and pipe during developing the applications, and builds the module of Linux device driver. At last, we realize the remote AMR system basically, and found the base to the future application of the embedded system.
Table of contents
Summary 4-8
first chapter 8-10
1.1 subject background and significance 8
1.2 topics task 8 - 9
1.3 papers organizational structure 9-10
Chapter II automatic meter reading system design 10-19
development and current status of automatic meter reading technology 2.1 composed of 10
2.2 automatic meter reading system 10-11
2.3 upstream channel 11-12
2.4 downstream channel 12 - 13
hardware design 2.5 acquisition and transmission controllers 13-19
2.5.1 controller hardware platform architecture 14-15
2.5.2 AT91RM9200 micro processors 15-17
2.5.3 controller system address space build 17-19
Chapter III embedded LINUX software platform 19 - 52
3.1 embedded LINUX operating system Introduction 19-20
3.2 embedded LINUX operating system to build programs 20-21
3.3 build cross-development environment 21-33
3.3.1 download the source files , patches and build compiled directory 22-25
3.3.2 build kernel headers 25-27 <br / > 3.3.3 build binary tools (binutils) 27-28
3.3.4 to establish the initial compiler (bootstrap gcc) 28-31
3.3.5 build c library ( glibc) 31-32
3.3.6 build a complete compiler (full gcc) 32-33
3.4 transplant bootloader (BOOTLOADER) 33-39 < br /> boot mechanism 3.4.1 AT91RM9200 chip 33-35
3.4.2 analysis of the first stage boot loader 35-36
3.4.3 U-BOOT transplantation and analysis 36-39
3.5 crop, configure and compile the kernel 39-47
3.5.1 kernel configuration program starts 39-40
3.5. 2 Configuring the kernel 40-45
3.5.3 kernel compiled build 45-47
3.6 root file system 47-52
3.6.1 the basic types of root file system 47-49
3.6.2 the basic structure of the root file system 49-50
3.6.3 build root file system 50 - Chapter 52
automatic meter reading system software planning and implementation software framework 52-67
4.1 automatic meter reading system 52-53
4.2 controller side services software design 53-62
4.2.1 network Communication Program is designed 53-54
4.2.2 data acquisition and processing program is designed 54 - 57
realize 4.2.3 client service controller software 57-62
4.3 server management software designed 62-67
4.3.1 Visual C development database management module approach 62-63
4.3.2 Visual C development of network communication module approach 63-64
realize 4.3.3 server management software 64-67
Chapter purpose I / O port driver design and implementation 67-72
5.1 LINUX driver introduced 67-68
5.2 write generic I / O port driver using 68-71
5.3 Universal I / O port driver 71-72
Chapter VI summary and Outlook 72-76
6.1 summarizes 72-73
6.2 deficiencies and improve 73
6.3 Conclusion 73-76
references 76-79
Summary 79-81
ABSTRACT 81-83
Thanks 83-84
tutors and Author 84
Related dissertations
- The Research on the Finance and Tax Policy for Promoting the Development of the Networking
- Research on News Language in the Perspective of Network
- Analysis of mobile phone two-dimensional code marketing communication mode and effect
- Design of the Paper Quality Control System Based on Industrial Ethernet
- The Research of Process Gas Analysis Instruments Networking
- Design and Implementation of Remote Medical Aid System on Rural Remote Areas
- Research and Development of Management Information System Based on RFID Welding Technology Test
- Development of Interest-based Sharing Social Networking
- The LAMP Architecture of Corporate Website Development
- Design and implementation of social insurance archives management system
- The Design and Implementation of Data Terminal and Sensor Network Gateway of Mesh Emergency Network in Mine
- The Research on the Key Technology of Space Laser Communication Network
- Research on the Protocol of Distributed HF Communication Svstem
- Design of Integrated Data Network in Northeast Power Grid
- Research on Universities' Networking Ideological and Political Education's Current Situation and Ways
- Research on Network Reforming and Implementation of Modern Distance Education System Upgrade
- Challenges and Countermeasures for Ideology Set in Networking Development
- The Design and Implementation of Sanming Regionl Power Grid Dispather Training Simulation System
- Research and Design on Main Transformer Intelligent Protection Device for Digital Substation
- Design and Realization of the Plotter Mobile Terminal Based on ARM