应用于震前地下水位测量的嵌入式远程监测系统的设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
地下水位异常是目前公认的最重要的地震前兆信息之一。因此,地下水位数据的监测,对地震预报具有非常重要的实际意义。我国地下水位观测网是世界上规模最大的前兆台网,拥有近1000口观测井泉,每日采集到数以万计的观测数据。但是,目前我国地震地下水位前兆数据的管理技术水平较低,数据的传输以函寄、电话报数为主,部分数据还要靠人工输入计算机中,这就严重阻碍了数据的有效利用和长期保存。因此,有必要开发一种远程监测系统来实现观测数据的自动采集和传输。
     在查阅大量中外相关文献,总结前人研究工作的基础上,本文设计了一种低成本的GPRS(General Packet Radio Service,即通用分组无线服务)通信与嵌入式系统相结合的远程监测系统。
     本系统硬件平台采用了三星公司的基于ARM920T(Advanced RISC Machine)内核的S3C2410A芯片作为系统处理器,软件平台采用了嵌入式Linux操作系统,采用了GPRS作为无线通信方式。S3C2410A处理器将采集到的水位数据传送到处理器的串口,通过其串口控制GPRS无线通讯模块接入Internet网络,并将数据传送到指定了地址(固定IP地址或域名)的监控中心主机,从而实现了对地下水位的远程无线监测和数据保存。
     本文完成了远程嵌入式监测系统的硬件设计和软件设计。
     首先以S3C2410A芯片为核心进行硬件开发,硬件平台主要包括存储模块、数据采集模块和数据传输模块。存储模块采用了MCP FLASH(MCP是Multi-Chip Package的缩写,即多芯片封装)存储器,其内部集成了32M的NAND FLASH(NAND型闪存)和16M的SDRAM(Synchronous Dynamic Random Access Memory,即同步动态随机存储器),为系统提供了足够的存储空间;数据采集模块,是由感应式数字水位传感器、水位变送器和S3C2410A的八路十位A/D(Analog/Digital)转换器组成;数据传输模块,采用GPRS通信模块GR100。
     然后针对S3C2410A的硬件特性,修改Linux操作系统的内核源代码并编写部分内核源代码以保证操作系统对硬件系统的支持;配置和编译Linux操作系统的内核,构建了相应的嵌入式Linux平台。
     最后在该软硬件平台的基础上,开发在嵌入式Linux系统下的外围硬件设备驱动程序,设计应用程序实现地下水位数据的自动采集和传输功能。
     通过实验,证明远程嵌入式监测系统能够满足地下流体观测网对数据自动采集和传输的需要。该系统的设计节省了地下流体观测网的投资费用,保证了地下水位数据传输的实时性,方便了地下水位数据的保存。因此具有重要的研究意义和广阔的应用前景。
Abnormality of groundwater-level is considered as one of the most important forewarnings for earthquakes. Therefore, monitoring of groundwater-level data has great significance for earthquake forecast. Chinese observation ney based on groundwater is the largest in the world and we have nearly 1000 observation wells. They produce millions of observation data every day. But the level of the data management techniques is very low. The data is transmitted mainly by letters and telephones. Part of the data is input by computer artificially. All the bove hinder usage effectiveness and preservation of the data. Thus, it is necessary to develop a remote monitoring system for data auto-collection and auto-tansmission.
     After consulting many related documents in both china and foreign countries, I design a low-cost remote monitoring system combined GPRS communications with embedded system, which is based on former research.
     The system takes Samsung S3C2410A ARM920T micro-processor as CPU, embedded Linux as operating system and GPRS as wireless communication technology for hardware. S3C2410A micro-processor transfers water-level data, coming from exterior sensor, to the serial port of the micro-processor. S3C-2410A micro-processor connects GPRS module with serial port. S3C2410A sends data to GPRS server by GPRS module, and then the server re-sends the data to the computer of the control centen, whose IP address is given in the water-level data by internet.
     The thesis completes the design for remote embedded monitoring system in both software and hardware. The work is as follows:
     The haraware development, based on S3C2410A microprocessor, includes: storage module, which adopts MCP FLASH storage, intergrates 32M NAND FLASH and 16M SDRAM. So it provides enough storage space for the system. data-collection module. It is made up of digital water-level sensor and 10-bit analog to digital converter with 8-channel analog inputs. data-transmission module.
     According to the characteristic of S3C2410A, I revised the kernel source code of Linux operation system and complined parts of kernel sourcr code, in order to guarantee the support to hardware system. Allocating and editing the kernel of Linux operation, I built a corresponding embedded Linux platform.
     Based on the software platform, I developed a peripheral hardware driver which is subordinate to the embeadded Linux. The application program realizes auto-collection and auto-transmission of watr-level data.
     It is proved that the remote embedded monitoring system can meet the demand of auto-collection and auto-transmission by fluid observation net. The design of the system not only can save expenses of investment influid observation net, but also guarantee the real-time of ground water-level data transmission and preservation. Therefore, it has important researching significance and broad application prospect.
引文
[1] 周太平,谈防震减灾与经济建设和社会发展的关系[J].城市防震减灾,1999(1),13~17
    [2] 杨竹转,地震引起的地下水位变化及其机理初步研究[D].[学位论文],北京,中国地震局地质研究所,2004
    [3] 李军,大震前地下流体异常特征及演变过程研究[J].四川地震,2003(2),40~44
    [4] 孙天泽,袁文菊,张海峰,嵌入式系统设计及Linux驱动开发指南-基于ARM9处理 器[M].北京,电子工业出版社,2005,32~33
    [5] 宋延昭,嵌入式操作系统及选型原则[J].工业控制计算机,2005(7),25~29
    [6] 何立民,嵌入式系统的定义与发展历史[J].单片机与嵌入式系统应用,2004(1),16~20
    [7] 邹思轶,嵌入式Linux设计与应用[M].北京,清华大学出版社,2002,53~55
    [8] 探矽工作室,嵌入式系统开发圣经[M].第二版,北京,中国铁道出版社,2003,79~83
    [9] Jean J.Labrosse著,邵贝贝译,嵌入式实时操作系统UC/OS-Ⅱ[M].第二版,北京,北京航空航天大学出版社,2003,123~130
    [10] 杭州立宇泰电子有限公司,S3C2410A中文数据手册[M].2004,5~6
    [11] 李漾,基于S3C2410的Smartphone系统设计[D].[学位论文],成都,电子科技大学,2005
    [12] 马福昌,数字水文信息采集与自动化报送理论及新技术研究[D].[学位论文],西安,西安理工大学,2005
    [13] 望月,无线宽带的先驱—GPRS技术全接触[N].中国教育和科研计算机网,2001
    [14] 钟章队,GPRS通用分组无线业务[M].北京,人民邮电出版社,2001,23~24
    [15] 北京华荣汇通信设备有限公司,GR100型GPRS MODEM产品手册[M].15~17
    [16] 毛德操,胡希明,Linux内核源代码情景分析[M].杭州,浙江大学出版社,2001,62~66
    [17] A. Rubini, J. Corbet, Linux Device Drivers Second Edition [M]. N.Y ,O'reilly Press, 2001, 130~152
    [18] S. Furber, ARM system-on-chip Architecture second edition [M] . Mesa, Addison Wesley, 2000, 158~160
    [19] 杜春雷,ARM体系结构与编程[M].北京,清华大学出版社,2003,1~3
    [20] 李驹光,ARM应用系统开发详解基于S3C4510B的系统设计[M].北京,清华大学出版社,2003,201~202
    [21] Martin Devera, NAND Boot Loader Source Program (GNU Version) [J]. IEEE Communi- cations Magazine, 1999(1), 142~150
    [22] S. Furber, ARM system-on-chip Architecture second editio[M]. Mesa, Addison Wesley, 2000, 158~160
    [23] 贾化周,秦清娟,利用地下水位预报地震的新思路与新方法[J].华北地震科学,1996(3),28~37
    [24] D. P. Bovet M. Cesat,iUnderstanding the Linux Kernel[M]. N.Y,.O'reilly Press,2001 (1), 175~180
    [25] 栾昌海,王盟,基于GPRS的嵌入式Internet设计研究[J].微计算机信息,2006(6-2),94~96
    [26] 王学龙,嵌入式Linux系统设计与应用[M].北京,清华大学出版社,2001,263~270
    [27] 王田苗,嵌入式系统设计与实例开发——基于ARM微处理器与μC/OS-Ⅱ实时操作系统[M].北京,清华大学出版社,2002,25~30
    [28] David A.Rusling,Linux Program White Paper [M] . N.Y. ,O'reilly Press,2000,1~3
    [29] Daniel P. Borer,Understanding the Linux Kernel [M] . 2nd Edition,N.Y., O'Reilly Press, 2002
    [30] Lindemann.C,Thumnler,A Performance analysis of the General Packet Radio Service [J]. Disributed Computing Systems, 2001, 73~80
    [31] 约翰.E.埃贝尔,地震学家必须开始预报地震[J].国际地震动态,2004(5),31~34
    [32] 李捍东,张晓勇,陈璇,基于Linux的GPRS远程数据通信系统的研究与实现[J].测控技术,2005(7),49~52
    [33] 纪纯杰,Linux内核分析及常见问题解答[M].北京,人民邮电出版社,2000,214-218
    [34] A. Oran, S. Talbott, Managing Projects with make [M]. N.Y ,,O'reilly Press, 1996,3~12.
    [35] 王琪华,陈奇,GSM的网络与GPRS网络安全分析[J].计算机工程与设计,2005(02),47~58
    [36] 于兵,朱欣华,朱炫鹏,基于ARM和GPRS的无线数据传输模块的设计[J].电子器件,2006(1),216~219
    [37] 李平均,申健,范威,基于GPRS网络的单片机的Internet接入[J].微电子学与计算机,2006(3),34~39
    [38] 武效明,陈占英,GPRS在水情自动测报系统中的应用[J].东北水利水电,2006(6),40~42
    [39] 魏汝庆,王华,地震地下流体数字化观测初探[J].山西地震,2003(1),14~17
    [40] Jim Zeus,JFFS - Journaling Flash File System [J]. ACM Trans On Computer Systems, 2001(3) ,257~260
    [41] 谢希仁,计算机网络[M].第二版,大连,大连理工大学出版社,1996
    [42] 徐千洋,Linux C函数库参考手册[M].北京,中国青年出版社,2002
    [43] 马忠梅,李善平,康慨,ARM&Linux嵌入式系统教程[M].北京,北京航空航天大学出版社,2004,374~380
    [44] 陈莉君,深入分析Linux内核源代码[M].北京,人民邮电出版社 2002,372~378

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700