ECos and the ARM7 sewage line monitoring transmission terminal - based Design and Implementation
- Author
- LiZhiXun
- Advisor
- YangYiKang , SuChengZhi
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 7
- Citations
- 0
Abstract
With the high speed development of industry modernization, environment (especially water) pollution is a serious issue. The department of environmental protection has introduced real-time monitoring system for sources of pollution in order to throw away unfashionable ways by manual sampling and analyzing in fixed place and time so that achieve the aim of auto and real-time monitoring.The design of online monitoring terminal in this paper is to improve the quality of monitoring for water pollution by adopting a low power consumption but high performance ARM7 core which body is the LPC2210 processor of NXP and choosing the Embeded Configurable real-time Operating System (eCos) which has the features of configurability and open-source.In hardware section, I analyze the requirement of function and choosing for core chips. What’s more, I devote a full discussion to the topic of data processing in the serial communication.In software section, I focus on solving the following issues: the selection of RTOS, the porting of eCos, the realizing of FAT16 file system on SD card, and the realizing of HJ/T212-2005 protocol. Then we have a clear understanding of the process and difficulties in the development of terminal software.When communicating, the terminal works in GPRS mode, with the features which have wide range coverage, real-time transmission, pay-as-you-use and "Always online". I optimize the GPRS module’s fault tolerance in the practical application, so as to solve the loss of data, the delay of transmission, the crashing of module and other practical problems. So the terminal can endure a stable and reliable long-term operation in an unattended environment.With the principle of good scalability, robustness and maintainability, the design of the terminal adopts the Embeded Configurable real-time Operating System (eCos). This paper describes its characteristics and summary the steps of porting the eCos to Smart ARM2200 Development Board.In order to solve the problem of mass storage for collected data, this paper realizes the function of the FAT16 file system that based on SD card and gives a complete analysis of the principle of FAT file system and it’s code, which provides an effective solution to the key technical problem of the shortening of life time which caused by real-time data storage.Meanwhile, this paper adopts the latest technology to the traditional field for industry monitoring and achieves the aim to the perfect combination of the ARM processor and the real-time operating system. What’s more, the technology can be common used and referenced for the remote monitoring in industry applications.
Table of contents
Summary 4-6
ABSTRACT 6-11
first chapter 11-15
1.1 Project Background 11-12 < br /> 1.2 pollution monitoring at home and abroad overview of the development 12-13
1.2.1 the foreign pollution monitoring Development of 12
1.2.2 domestic pollution monitoring status quo 12-13
1.3 objectives and significance of the research 13
1.4 research content, the chapters divided and difficulty 13-15
Chapter II System Requirements and programs designed 15-20
2.1 system consisting the 15-16
2.2 System Requirements Analysis 16
2.3 system design 16 -19
2.3.1 the choice of the means of communication 16-19
2.3.2 terminals hardware, platform design 19
2.3.3 terminal software platform program Design 19
2.4 Chapter Summary 19-20
Chapter terminal hardware system design 20-35
the 3.1 terminal system architecture 20-21
the 3.2 terminal design basis [11] 21-23
3.2.1 terminal performance requirements 21
3.2.2 terminal communication way the 21-22
3.2.3 terminals, should have functionality 22
3.2.4 Other requirements 22-23
3.3 4 to 20MA conversion program for the voltage signal to select 23-26
3.4 A / D conversion chip selection and software implementation 26-29
3.5 embedded processor (MCU) Select the type and structure of hardware 29-31
3.6 serial communication, data processing method the 31-34
3.7 This chapter summary 34-35
Chapter software design and 35-60
4.1 embedded real-time operating system 35-36
4.2 mainstream RTOS classification and selection 36-37 <br / > 4.3 ECOS operating system the 37-38 4.4-ECOS Software platform
transplant the 38-48
4.4.1 eCos platform transplantation flowchart 39
4.4.2 HAL hardware abstraction layer composed 39-40
4.4.3 Detailed-HAL transplantation steps 40-43
4.4.4 eCos, HAL startup process 43-46
4.4.5 memory layout file written transplantation 46-47
4.4.6 driver 47-48
4.4.7 transplantation Summary 48
the 4.5 terminal software architecture 48-49
4.6 SD card FAT16 file system software to achieve 49-55
4.7 HJ/T212- 2005 protocol software implementation 55-58
4.8 Chapter Summary 58-60
Chapter GPRS wireless communication module of the software implementation 60-73
5.1 GPRS basic principle 60-65
the 5.2 GPRS existence of problems and their transition to 3G 65-68
the the 5.3 GPRS module selection 68
5.4 GPRS module software design process 68-69
5.5 GPRS module software to solve practical problems 69-71
5.5.1 complex electromagnetic environment of wireless communication interference the 69-70 5.5.2 GPRS module
own software stability the 70-71 5.6 GPRS module software implementations
71-72
5.7 Chapter Summary the 72-73
Chapter Summary and Outlook 73-75
6.1 solve the key technologies 73-74
6.2 Looking 74-75
Acknowledgements to References 75-76
76-78
attack Shuo obtained during the research 78-79 < br /> Appendix A LTC1859 software code 79-83
Appendix B SD card SPI driver software implementation to code 83-88
Appendix C FAT file system code nbsp Appendix D schematics, PCB-kind photo software running screenshots; 88-89
89-91
Related dissertations
- Remote Monitor System for Oil Wells Working Condition Based on GPRS
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- Research and Design of Remote Monitoring System Based on ARM
- The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
- Research Andapplication of FAT File System for Multimedia Storage
- The Design of Positioning, Collection and Transmission System Based on ARM
- Desing and Implementaion of Repeater Monitoring System
- Design of intelligent 10kV controller based on the permanent magnetic actuator
- The wireless remote meter reading system
- And implementation of vehicle positioning and communication terminal based on GPS/GPRS
- Research and Design of Truck-Mounted Weighing System
- The Design and Implementation of Tower Crane Safety Monitoring and Management System
- The Design of Wastewater Treatment Plant Remote Monitoring and Control System Based on ARM
- The Design and Application of New Packaging Printing Machine's Storage System
- Research on Displacement Monitoring System of Daye Iron Mine
- Design and Implementation of the Client of Remote Vechicle Surveillance System Based on ARM Linux
- Design and Development of the Embedded Well Multiphase Automatic Metering and Remote Monitoring System
- Design and Implementation of Terminal for Agricultural Data Collection and Query Based on Arm&Dsp
- Design and Implementation of ARM-based Network Communications Controller
- The Development of Intelligence Streetlight Tracking and Security System