基于嵌入式Linux无线远程监测系统的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着社会的发展,科学水平的进步,我国自动化程度的提高,企业的生产过程复杂化,生产过程需采集的数据也越来越多。而这些数据中有些是分布在一些分散的、无人值守的恶劣环境。对于这些数据采集采用传统的有线传输、短距离无线网等通信方式已不再适合。此时,结合嵌入式系统和移动通信技术的无线数据远程监测成为一种新型的解决方案。
     本论文首先介绍了课题的背景,然后研究并分析了GPRS网络的特点,提出了采用GPRS技术实现无线数据传输。接着提出了一套设计方案:系统共分为三部分,第一部分是上位机部分,第二部分是嵌入式GPRS通信终端,第三部分是数据采集装置。数据采集装置放置在工业现场,嵌入式GPRS通信终端把数据采集装置采集到的现场数据发送至互联网上,控制室内的PC通过上网即可监控现场数据,实现远程监控。
     本论文在第三章第四章介绍了嵌入式GPRS通信终端硬件和软件设计。嵌入式GPRS通信终端的硬件部分以三星公司的ARM9处理器S3C2410为核心,GPRS模块使用的是SIMENSE公司的MC39I。软件体系上,嵌入式GPRS通信终端采用嵌入式Linux作为它的操作系统,移植PPP协议作为数据链路层协议,嵌入UDP协议作为传输层协议,在此基础上开发了驱动程序和应用程序。最后嵌入式GPRS通信终端可以通过访问GPRS无线网络传输现场数据,实现无线上网。
     本论文第五章介绍了数据采集装置,该装置有三类模块,分别是模拟量采集模块、模拟量输出模块、开关量输入输出模块。为了节约成本,工业现场距离比较近的数据采集装置共用一个嵌入式GPRS通信终端,嵌入式GPRS通信终端与多个数据采集装置之间使用RS485总线方式通信,通信协议使用一主多从的Modbus协议,嵌入式GPRS通信终端作为主机,数据采集装置作为从机,每个数据采集装置都有板地址,为了方便现场配置Modbus网络,使用红外通信技术对每个数据采集装置设置板地址。
     本论文最后总结了论文所做的工作,并给出了基于嵌入式Linux无线远程监测系统需要完善的方面以及未来发展的趋势。
With the development of society, the level of scientific progress, the degree of automation in China being increasing, the enterprise's complex production being processing, the production process data is also growing. Some of these data is distributing in Scattered and unattended harsh environment. The traditional data gather such as cable transmission, short-range wireless communications network is no longer suitable for this situation. At this time, wireless remote data control bases on embedded systems and mobile communication technologies becomes into a new solution.
     First, this paper expounds the background of advancing the study object. Then it analyzed and researched GPRS network features, and puts forward wireless data transmission using by GPRS technology. Then it put forward a design. The system can be divided into three parts; the first part is upper computer, the second part is embedded GPRS communication terminal; the third part is data gather modules devices. The data gather devices put on the field; the embedded GPRS communication terminal device puts the data of the data gather devices onto the internet. You can control the data of the field using PC who is online in the control room.
     This paper in the third chapter and fourth chapter describes the hardware and software design methods of the embedded GPRS communication terminal device. In the hardware the embeddd GPRS communication terminal device uses Samsung's S3C2410 for ARM9 processor as the core, using MC39I of SIMENSE as GPRS module. In the software the embeddd GPRS communication terminal device uses embedded Linux as its operation system, transplanting PPP protocol as data link layer protocol, embedding UDP protocol as transport layer protocol. On the basis, the author developes driver programs, graphical interface programs and application programs. In the end, by visiting the GPRS wireless network, the embeddd GPRS communication terminal device can transmit the data in the field and realize wireless internet.
     This paper in the fifth chapter introduces the data gather devices, and there are three types of data gather devices modules: analog input, analog output, switching of input and output. in order to save costs, the gather devices who are close share a the embeddd GPRS communication terminal device in the field, the embeddd GPRS communication terminal device communications with many gather devices by RS485 bus mode, using Modbus protocol who is one master multi-slaves protocol, the embeddd GPRS communication terminal device as a host, the data gather devices as a slave, each board data gather devices have addresses, in order to facilitate the on-site Modbus network configuration, using infrared communication to set the plate address for every data gather devices.
     In the end of this paper, the author sum up the work of the paper, point out some problem of wireless remote control system based on embedded Linux needing to be optimized and the developing direction in the future.
引文
[1]施伟年,凌海宏.GPRS网络上数据传输协议之讨论.电力系统通信,2004(8):20-22
    [2]吕捷.GPRS技术.北京:北京邮电大学出版社,2001:13-14
    [3]韩斌杰.GPRS原理及其网络优化.北京:机械工业出版社,2003:2-8
    [4]孙少陵.GPRS技术特点及其应用.电信技术,2000,3:2-5
    [5]文志成.通用分组无线业务--GPRS.北京:电子工业出版社,2004:14-16
    [6]杨著,余成波,胡晓倩.GPRS技术及其应用探析.重庆工学学报,2004,1:30-32
    [7]马忠梅,李善平等.ARM Linux嵌入式系统教程.北京:北京航空航天大学出版社,2004:25-135
    [8]吴红云.移动通信前沿--GPRS技术应用.中山大学学报(自然科学版),2003增刊,136-140
    [9]秦贵和,徐华中等.ARM9嵌入式技术及Linux高级实践教程.北京:北京航空航天大学出版社,2005:32-36
    [10]李亚逢,欧文盛等.ARM9嵌入式Linux系统开发从入门到精通.北京:清华大学出版,2007:20-165
    [11]韩冰,李芬华.GRPS技术在数据采集与监控系统中的应用.电子技术,2003,8:26-29
    [12]罗坷.RS485现场总线和GPRS在远程监控和信息化管理中应用.山东电子,2003,1:11-13
    [13]Modicon.Modbus Protocol Reference Guide.1996:2-120
    [14]叶晴炜.小水电综合自动化系统的研究与开发:[学位论文].长沙:中南大学,2007
    [15]孙天泽,袁文菊等.嵌入式设计及Linux驱动开发指南--基于ARM9处理器.北京:电子工业出版社,2005:95-125
    [16]SIEMENS.MC39i Siemens Cellular Engine.2003:2-76
    [17]卡莫尔.嵌入式系统体系结构编程与设计.北京:清华大学出版社,2005:1-50
    [18]韩劫.操作系统教程.北京:清华大学出版社,2005:36-58
    [19]曾桂根,范冬萍.PPP(点对点协议)的实现.江苏通信技术,2001,7(5):26-29
    [20]傅中君.嵌入式GPRS无线通信模块的设计与实现.计算机工程与应用,2004,14:162-165
    [21]裘迅.PPP拨号上网的协议解析.苏州职业大学学报,2003,4(2):42-46
    [22]赵立权.在Linux下实现安全PPP连接.云南师范大学学,2002,22(3):7-10
    [23]关宇东,陈学泉,朱伟明.嵌入式单片机PPP协议的应用研究.电子技术应用,2003,2:18-20
    [24]林海,刘成良,苗玉彬等.实现GPRS数据传输新方法的研究.工业控制计算机,2006,19(1):1-3
    [25]Elena M,Quero JM,Toral SL ect.LG.Intelligent cardiology monitoring system using GPS/GPRS networks.PROCEEDNIGS OF THE 2002 28THANNUAL CONFERENCE OF THE IEEE INDUSTRIAL ELECTRONICS SOCIETY.2002,VOLS1-4:3419-3424.
    [26]PPP Authentication Portoeols.http://communiyt.orxen.eom/developesr/idocs/rof/rcfl334.hmtl.
    [27]The Point-to-Point Protocol(PPP)Initial Configuration Options.
    [28]Ni.S,Haggman.GPRS performance estimation in GSM circuit switched services and GPRS shared resource systems,Wireless Communication and Networking Conference,Sept 1999,1417-1421
    [29]车恒志,王婉南.PPP协议链路操作的软件实现.现代电子技术,2003,18:100-102
    [30]周维,陈默.基于S3C2410的ARM开发平台.电子技术,2004,7:4-7
    [31]徐广毅,张晓林,崔迎炜等.Qt/Embedded在嵌入式Linux系统中的应用.单片机与嵌入式系统应用,2004,12:14-17
    [32]白玉霞,刘旭辉,孙肖子.基于Qt/Embedded的GUI移植及应用程序开发.电子产品世界.2005,13:98-100
    [33]王平.基于嵌入式计算机系统的数字化医疗仪器研究:[学位论文].重庆:重庆大学,2006
    [34]http://www.trolltech.com/products/qtopia
    [35]Trolltech Inc.Qt Reference Documentation 2.3.7.2001
    [36]Trolltech Inc.Qt Reference Documentation 3.3.2.2004
    [37]Commun.Lab.Helsinki Univ.of Technol.,Espoo,Finland,GPRS network planning on the existing GSM system,Global Telecommunications Conference,2000,11:1432-1438
    [38]Walden,R.W.,Khoini-Poorfard,R.etc,A GSM 2+conversion signal processor for continuous full-duplex EDGE/GPRS application,Solid-State Circuits Conference,2001.Digest of TechnicalPapers.ISSCC.2001 IEEE International,2001,2:350-351
    [39]文俊峰,乔晓军,王成等.便携式红外收发器的设计与实现.应用技术,2006,4:234-238
    [40]Microchip Technology Inc MCP2120/MCP2150 DEVELOPER'S KIT USER'S GUIDE 2001
    [41]张晓红,Sasan,乔为民等.红外通讯IrDA标准与应用.光电子技术,2003,4,(23):261-265
    [42]秦龙.MSP430单片机应用开发典型实例.北京:中国电力出版社,2005:3-161