基于ARM的嵌入式系统在无线手持终端中的应用研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着Internet的发展和后PC时代的到来,嵌入式系统的应用越来越广泛,目前嵌入式技术已经成为了最热门的技术之一。基于ARM的嵌入式技术已经成为当前嵌入式领域研究的一个亮点。
     基于ARM的微控制器由于高性价比、广泛的第三方支持和良好的通用性必然导致发展和应用非常广泛,近年应用于各种终端设备和PDA是热点研究对象,而ZigBee技术是近两年出现的无线通信技术,它是以IEEE802.15.4技术为基础的一组涉及网络、安全、应用的软件协议,在家居自动化、楼宇自动化工业监控系统得到广泛的应用。
     本文是在充分陈述嵌入式主要素和现有无线手持终端发展状况的基础上,对一个基于嵌入式ARM处理器LPC2220、嵌入式操作系统uC/OS-Ⅱ、ZigBee无线技术和图形界面系统MiniGUI的无线手持终端进行了设计和研究。详细分析了硬件组成(液晶、触摸屏、SPI、ZigBee模块),围绕硬件驱动的实现展开研究的同时,介绍了ZigBee相关技术。然后用图形界面系统MiniGUI以餐厅点餐为例,设计了简单的点菜界面。最后以点对点模型进行研究,并简单分析了实际应用中的组网。
     本文重点是无线手持终端的硬件设计、软件移植、图形用户界面和无线通信等关键技术的实现。在硬件设计中,按照功能模块一一阐述了各主控制芯片的特性及设计原理;在软件中,先研究了相关设备的驱动,再研究了嵌入式软件的移植,最后阐述了简单图形界面的设计和无线通信的接口设计及工作流程。
     本文创新点是将ZigBee无线技术应用于无线手持终端,给出了一个新的无线手持终端设计方案,利用有限的硬件资源在缺少MMU的低端CPU上设计并开发出性能接近高端的无线手持终端系统。充分利用了嵌入式操作系统uC/OS-Ⅱ的多任务和保护机制,合理地协调了硬件资源和软件系统之间的一些矛盾。
     本文共由六章构成。第一章首先介绍了无线手持终端的研究背景,即对ARM微控制器、嵌入式操作系统、图形用户界面系统和无线局域网技术四个方面的发展现状进行了概括。然后,叙述了无线手持终端的国内外发展现状。最后,介绍了论文的研究工作及实现目标。第二章先阐述了系统的构建,然后分别以硬件模块为单位进行介绍,在分析了驱动程序设计后,在第三节对IEEE.802.15.4协议标准和直序列扩频技术进行了介绍。第三章主要是操作系统的移植分析和在对图形用户界面MiniGUI for uC/OS-Ⅱ移植的基础上进行简单用户界面设计。第四介绍章无线模块和终端通讯接口的设计。第五章给出系统研究模型,并以点餐系统为例介绍了简单组网应用。第六章是对论文所做工作的概括性总结和结果分析,同时对后续工作进行了展望。
With the development of internet and the arrival of Post-PC times, the application of embedded system becomes popular. Now embedded technology has been the focal point of research. The embedded technology based on ARM has become a spot light of current embedded field.
     ARM-based microcontrollers because of cost-effective, extensive third-party support and the good universalness is bound to lead to the development and a very wide application, terminal equipment used in recent years and PDA is hot subjects, and the ZigBee appearring near two years is a wireless communications technology, which is IEEE802.15.4-based application software protocols involved in networking, security, and in home automation, industrial building automation control systems which are widely used.
     The basis on which design and research about wireless portable terminal stand, is several embedded elements and the situation of current wireless terminal are presented. The terminal consist of four aspects in application: LPC2220 based on ARM7TDMI、real-time operation system uC/QS-II、ZigBee wireless technique and graphic user interface—MiniGUI. The paper introduces the related technologies as well as hardware composition( LCM、Touch-Screen、SPI、ZigBee module) ,and analyze how to carry out hardware driver. And then restaurant order is taken as an example in order to use MiniGUI goes to design a simple interface. At last, the point to point model is given and some prospects about network construction are brought out for the further work in this field.
     The key techniques of this thesis are hardware design、software porting、GUI and wireless communication and so on. This thesis introduces every main controller's characteristic and application according to its function on the side of hardware; on the side of software, this thesis introduces hardware driver, and then shows the embedded system transplanting, at last presents simple GUI design、wireless communication interface design and its operation flow.
     This paper's innovation is the wirelessZigBee technology used in wireless hand handsets, affords a new wireless handset design. Use of limited hardware resources, Use of limited hardware resources, based on the low-end CPU and absence of MMU, the paper begins to design and develop a wireless handsets System of high-end performance close to. Take full advantage of the embedded operation system uC/OS-II multi-task and protection mechanisms, reasonably to coordinate some contradictions between the hardware resources and software systems.
     This article has six chapters. The first chapter introduces the research background of wireless handsets first, that is, a summary of four areas—the ARM microcontrollers, embedded operating systems, graphical user interface systems and wireless local area network technology. Then, describes current status and development trend of wireless portable terminal at home and abroad. Finally, shows its work and objectives. Chapter II first shows the construction of the system, and then introduces the hardware module one by one. After showing the driver design, in the third quarter IEEE.802.15.4 protocol standards and direct sequence spread spectrum technology is introduced. Chapter III is the transplantation of the operation system and graphical user interface MiniGUI for uC/OS-II transplant ,on the basis of which a simple user interface is designed. Chapter IV of communication interface design between wireless module and terminal. Chapter V gives system model, and takes the order system as an example a simple network application. Chapter VI, the research work and analysis of the results is given, while expounds the follow-up work in the future.
引文
[1]杜春雷.ARM体系结构与编程[M].北京:清华大学出版社,2007.2
    [2]周立功等.ARM嵌入式系统基础教程[M].北京:北京航天航空大学出版社,2005.1
    [3]ARM.ARM7TDMI Data Sheet
    [4]傅立叶电子科技ARM技术研发部710065
    [6]http://www.dataie.com
    [7]嵌入式系统在中国的发展.http://blog.163.com/hxzhen1982@126/blog/static/27708210200751794053234/
    [8]http://www.minigui.org
    [9]http://minigui.aka.citf.net
    [10]http://www.eetchina.com/ART_8800364888_617693_TA_4e168767.HTM
    [11]William Stallings著.何军等译.无线通讯与网络[M].北京:清华大学出版社,2005.10
    [12]程广.无线技术在部分行业应用简述[J].中国无线电,2007,8:16-18
    [13]易龙.U网络时代的无线世界[J].中国无线电,2007,8:3-6
    [14]中国宽带无线IP标准工作组http://www.chinabwips.org
    [15]http://www.innotel.com
    [16]http://www.dabarcode.com
    [17]http://focus.ti.com.cn/cn/tihome/docs/homepage.tsp
    [18]http://www.psionteklogix.com.cn
    [19]http://www.sinovee.com
    [20]NXP.LPC2220 Data Sheet
    [21]周立功等编著.ARM嵌入式系统实验教程(二)[M].北京:北京航空航天大学出版社,2005
    [22]周立功等编著.ARM嵌入式系统实验教程(三)[M].北京:北京航空航天大学出版社,2005
    [23]Stuart R.Ball著.嵌入式微处理器模拟接口设计(第二版)[M].北京:电子工业出版社,2004.6
    [24]http://www.hjtag.com
    [25]http://www.twentyone.blogchina.com
    [26]ARM7TDMI(Rev 4)Technical Reference Manual
    [28]SST.SST39VF3201 Data Sheet
    [29]周立功,张华等.深入浅出ARM7[M].北京:北京航天航空大学出版社,2005.
    [30]魏洪兴,周亦敏著.嵌入式系统设计与实例开发实验教材Ⅰ[M].北京:清华大学出版,2005.9
    [31]马忠梅,李善平,康慨等.ARM & Linux嵌入式系统教程[M].北京:北京航空航大大学出版社,2004
    [32]TRULY SEMICONDUCTORS LTD.CMS-PG1N0084DPSW-N
    [33]Mike Magdaluyo.3V与5V混合系统中逻辑接口问题.Philips半导体公司逻辑产品部应用工程师
    [34]BURR-BROWN.ADS7843Datasheet
    [35]赵立生,杜安,张伟.MSPG320240DBCW211N大规模点阵式LCD与PIC单片机接口技术[J].液晶与显示,2004,19(6):478-482
    [36]尹正泉,黄纯.图形点阵式LCM的软硬件接口技术及其应用[J].湖南工程学院院报,2001,11(3-4):13-15
    [37]张宏锋,李文锋.基于ZigBee技术的无线传感器网络的研究[J].武汉理工大学学报,2006,28(8):12-15
    [38]Chipcon.CC2430Datasheet
    [39]王力.Protel DXP库元器件手册[M].北京:人民邮电出版社,2003
    [40]任哲等.嵌入式操作系统基础UC/OS-Ⅱ/LINUX[M].北京:北京航天航空大学出版社,2006.8
    [41]张伟.Protel DXP入门与提高[M].北京:人民邮电出版社,2003
    [42]任哲.嵌入式实时操作系统uC/OS-Ⅱ原理及应用[M].北京:北京航天航空大学出版社,2005.8
    [43]赵星寒,周春米等.ARM开发工具ADS的原理与应用[M].北京:北京航天航空大学出版社,2006.7
    [44]杨立杰,王广生.uC/OS-Ⅱ在PhilipsARM7上的移植[J].现代电子技术,2007,10:77-81
    [45]谭浩强.C程序设计[M].北京:清华大学出版社,2000,9
    [46]周立功.ARM嵌入式系统软件开发实例[M].北京:北京航天航空大学出版社,2004.12
    [47]Andrew N.Sloss等著.ARM嵌入式系统开发—软件设计与优化[M].沈建华译.北京:北京航空航天大学出版社.2005
    [48]黄燕平.uC/OS ARM移植要点详解[M].北京:北京航天航空大学出版社,2005.11
    [49]周航慈.基于嵌入式实时操作系统的程序设计技术[M].北京:北京航天航空大学出版社,2006.11
    [50]周立功.ARM嵌入式MiniGUI初步与应用开发范例[M].北京:北京航天航空大学出版社,2005.12
    [51]MINIGUI-PROG-GUIDE-V1.6-C.
    [52]MINIGUI-USER-MANUAL-V1.6-C.
    [53]袁敏.嵌入式操作系统中实现图形支持的技术和理论研究[D].成都:四川大学计算机软件与理论专业,2001
    [54]何小庆.微软嵌入式操作系统得分析和对比[J].电子产品世界,2007,10:114-115
    [55]魏永明.MiniGUI和嵌入式操作系统.北京飞漫软件技术有限公司.2004.6.17
    [56]张娜欢等.MiniGUI在电力通信服务器中的应用[J].电子工程师,2007,33(12):50-52
    [57]盂庆洋,张晓明.基于uC/OS-Ⅱ的高性价比PDA的设计与实现[J].计算机工程,2007,33(5):240-242
    [58]刍韵,田学隆.如何用MINIGUI设计小键盘输入[J].单片机遇嵌入式系统应用,2007,1
    [59]万永波,张根宝等.基于ARM的嵌入式系统Bootloader的启动流程分析[J].微计算机信息,2005,21(11):90-92
    [60]郝红旗,田斌.ARM启动原理分析与实现[J].计算机与网络,2005,11:174-175
    [61]张宏财,赵曾贻.基于ARM核的Bootloader的代码的分析与设计[J].微计算机信息,2006,22(5):137-139
    [62]白伟平,包启亮.基于ARM嵌入式Bootloader浅析[J].微计算机信息,2006,22(4):99-100
    [63]张喜俊,牟龙华.LPC2000系列ARM处理器重映射原理的分析与实现[J].电子测量技术,2007,30(1):96-98
    [64]胡修林,余凯军.基于AEMS3C44BOX处理器的Bootloader设计与实现[J].计算机应用,2006,26(7):1727-1729
    [65]申伟杰,彭楚武,胡辉红.嵌入式Linux中基于Qt/Embeded触摸屏驱动的设计[J].中国仪器仪表,2006,4
    [66]陈辰,韩秋实,徐小力.ARM芯片S3C2410触摸屏驱动的研究与开发[J].科学技术与工程,2006,6(3):327-330
    [67]杜威,慕春棣.基于uclinux的触摸屏软硬件设计与关键技术分析[J].计算机工程与设计,2005,26(4):914-917
    [68]李中奇,张冬波.嵌入式Linux系统中触摸屏控制的研究与实现[J].工业控制计算机,2005,18(2):41-42
    [69]张晓明.超声波触摸屏 PC 机接口驱动程序设计[J].计算机应用,2004,24(12):165-167
    [70]殷惠莉,刘少君,黄道平.基于uClinux触摸屏的设计[J].电子工程师,2004,30(2):17-19
    [71]蒙智明,屈百达,徐保国.基于ARM处理器的LCD控制及触摸屏接口设计[J].微计算机信息,2007,23(7-2):113-115
    [72]陈世利,孙墨杰.触摸屏的工作原理及典型应用[J].单片机与嵌入式系统应用,11-15
    [73]黄海萍,郭振军,黄廷磊.四线电阻式触摸屏控制器的应用研究[J].仪表技术,2007,10:45-46、50
    [74]张耀麒.应用于电阻式触摸屏的ADS7846控制器[J].电子科技,2006,9:49-53
    [75]王晖,马鸣锦.基于触摸屏控制器ADS7846触摸点坐标和压力的测量和计算[J].电子设计应用,2003,9:78-81.
    [76]卢崇,马建仓,王吉富.基于ATmega128L与CC2420的无线传感器网络节点的研究与实现[J].电子技术应用,2006,12:130-133
    [77]刘拥军,王晓蔚.基于ZigBee的无线传感网的分群算法[J].计算机技术与发展,2006,16(6):204-206
    [78]张瑞华,袁东风.基于嵌入式无线传感器网络平台的实现[J].计算机工程与设计,2006,27(18):3349-3352
    [79]赵泽,崔莉.一种基于无线传感器网络的远程医疗监护系统[J].信息与控制,2006, 35(2):265-269
    [80]William C,Zigbee.Wireless Control That Simply Works[J].Craig Program Manager Wireless Communication..2004,37:100-104.
    [81]Jaggar.D.Arm Architecture and SystemsMicro[J].IEEE,1997,17(July—Aug):9-11
    [82]Shah R C,Rabacy J M.Energy aware routing for low energy and hoc sensor networks[A].Proc IEEE Wirless Communications and Networking Conference(WCNC,02)[C],IEEE,2002,1(3):17-21
    [83]Heinzelman W,Chandrakasan A,Balakrishnan H.Energy efficient communication protocol for wireless microsensor networks[A].Proceedings of the 33rd Hawaii International Conferenceon System Sciences[C].IEEE 2000.
    [84]MaglaverasN.Citizen health system:telehealth homecare[J].Studies inHealthTechnology and Informatics,2003,92:117-125.
    [85]Mitchell S L,Morris J N,Park P S,et al.Terminal care forpersonswith advanced dementia in the nursing home and home care settings[J].Journal ofPalliativeMedicine,2004,7(6):808-816.
    [86]Kiyohito Tokuda,Tadahiko Maeda,Yuichi Shiraki.Development of Wireless Home Gateways for Information Applications-Wireless Integrated Server at Home[J].Oki Technical Review,2004,72(4).
    [87]I.Akyildiz,W.Su,Y.Sanakarasubramaniam,et al.Wireless Sensor Networks[J].A Survay,Computer Networks,2002,38(4):392-422.
    [88]Anand R,Mehrotra K,Mohan C K,Ranka S.Efficient classification for multiclass problems using modular neural networks[J].IEEE Transactions on Neural Networks,1995,6:117-124.
    [89]Zhu,k k Ma.A new diamond search algorithm for fast block-matching motion estimation [J].IEEE Trans on Image Processing,2000,9(2):287-290
    [90]李明.使用ADS移植uC/OS-Ⅱ的实例分析[J].电子产品世界,2003.8:64-66
    [91]谢金明.高速数字电路设计与噪声控制技术[M].电子工业出版社.2003