嵌入式GUI技术及其在工程机械控制系统中的应用研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
人机交互(Human Machine Interface)技术已成为当今软件工程研究的热点课题之一。图形用户界面(Graghic User Interface)作为该技术的核心内容,以其丰富的图形图像信息、直观的表达方式与用户进行交互。嵌入式图形用户界面是嵌入式实时操作系统的一个重要组成部分,随着嵌入式系统硬件平台技术的不断提升及嵌入式系统应用范围的不断扩大,嵌入式GUI系统的重要性愈发突出。在国内工程机械领域,愈来愈多的厂商开始采用GUI开发其控制系统,充分发挥嵌入式GUI的优势。
     本文深入分析了嵌入式GUI的设计流程及主要技术,对其关键技术部分——图形设备接口(Graghic Device Interface)进行具体设计与实现,同时结合嵌入式GUI开发软件,为某实际工程机械控制系统项目开发出一套功能强大,界面美观的嵌入式GUI系统。本文首先对嵌入式GUI进行需求分析,阐述了主流GUI的主要技术,针对GUI多任务通信部分给出了详细的算法流程与程序代码;其次,深入研究了GUI系统中的图形设备接口技术,对其中的基本绘图模块、文本模块及输入输出层做了详细设计并予以实现;接下来,在PC104工控板上搭建嵌入式Linux操作系统,包括系统引导、内核移植及文件系统的搭建,并在此开发平台之上,配置安装了MiniGUI并结合实际工程机械控制系统进行图形用户界面的开发以及输入引擎的移植;文章最后,通过自编写软件及专业测试工具,对开发出的嵌入式GUI系统进行性能测试,通过与其他嵌入式GUI系统的比较,验证了其有效性。
     本文针对某工程机械控制系统所开发的嵌入式GUI,经软、硬件测试已经完全达到实际项目需要,在后续的系统整合、衔接及运行期间,该嵌入式GUI的稳定性,可靠性及功能实现方面表现也非常不错,这些均表明了本文的研究成果具有较高的实用价值和推广应用前景。
Human Machine Interface technology has become one of the hot issue of software engineering research. As a core content, Graghic User Interface interacts with users through its rich graphic/image imformation and direct expression. Embedded Graghic User Interface is an important component part of Embedded Real-Time OS. Along with the developing of hardware platform tehnology and the expanding of embedded system applied range, the importance of embedded GUI system has become prominent. In the field of internal construction machinery, more and more companies begin to adopt GUI to develop their control system, which give full scope to their advantages.
     This paper gives a thorough analysis of the embedded GUI design flow and major technique, accomplishs the key part-Graghic Device Interface concretely, and finally develops a set of powerful, elegant embedded GUI for the actual construction machinery project by combining the embedded GUI kits. At first, specific to embedded GUI, this paper gives the demand analysis and the description of mainstream GUI, then lists the detailed arithmetic flow and code which is oriented to the multi-task communication part. In the next part, we study the system GDI in-depth, and implement its basic drawing module, text module and I/O layer. After that, we build a embedded Linux OS on PC104 board, including bootloader, kernel transplanting and file system construction, on which we configure and install MiniGUI to develop GUI according to the construction machinery project, with the input engine been transplanted. In the last chapter, we test the accomplished embedded GUI system by using self-writing software and professional tools. Via comparing with other embedded GUI, we verify its validity.
     The embedded GUI based on construction machinery control system has been proved to be meet the actual requirement. Furthermore, its stability, liability and function-fullfill performs very well in the following system integrating, combining and running stage. It is also an evidence for the excellent practicability and the application foreground of the production in this paper.
引文
[1] 马忠梅,李善平等.ARM&Linux 嵌入式系统教程.北京:北京航空航天大学出版社,2004,99-103
    [2] 魏永明等.Linux/ucLinux+MiniGUI 嵌入式系统开发原理、工具及过程.北京:飞漫软件技术有限公司,2005,10-12
    [3] 王世明,杨为民,李天石等.国外工程机械新技术新结构和发展趋势.工程机械,2004(1):61-66
    [4] 朱剑英.机械工程智能化的发展趋势.航空制造技术,2003(5):17-20
    [5] 陈继文,范文利,李彦凤等. 工程机械新技术和发展趋势. 现代制造工程,2006(4):144-146
    [6] 李善平,刘文峰,王焕龙等.Linux 与嵌入式系统(第二版).北京:清华大学出版社,2006,208-237
    [7] 马晓波,嵌入式 GUI 的研制——GUI 支撑技术的研究与实现:[电子科技大学硕士学位论文].成都:电子科技大学计算机应用技术系,2003
    [8] 宋立新,面向嵌入式操作系统的图形用户界面:[浙江大学硕士学位论文].浙江:浙江大学计算机系,2001
    [9] 赵克佳,沈志宇等.UNIX 程序设计教程.北京:清华大学出版社,2001
    [10] 黄超等.Linux 应用开发基础.北京:机械工业出版社,2004,143-154
    [11] (美)Alessandro Rubini,Jonathan Corbet.LINUX 设备驱动程序(第二版).北京:中国电力出版社,2004
    [12] 王继春.嵌入式软件及其应用领域与发展趋势.信息技术与信息化,2004,(4):41-42
    [13] 毛德操,胡希明.嵌入式系统——采用公开源代码和 StrongARM/XScale 处理器.杭州:浙江大学出版社,2003,276-278
    [14] Jollen. Linux Kernel Porting. www.jollen.org, 2005
    [15] San-Pil Moon, Joo-Won Kim, Kuk-Ho Bae et al. Embedded Linux Implementation on a Commercial Digital TV System. IEEE Transactions on Consumer Electronics, 2003, 49(4): 1402-1407
    [16] 孙天泽,袁文菊,张海峰.嵌入式设计及 Linux 驱动开发指南——基于 ARM9处理器.北京:电子工业出版社,2005,128-129
    [17] 魏平,夏良正,王岩.Linux 体系结构及嵌入式 Linux 的移植方法.东南大学学报(自然科学版),2004,34(增刊):126-130
    [18] 曹旋昌,王林.两种平台下嵌入式应用程序的编译和存储布局.计算机工程,2005,31(21):214-216
    [19] Wookey, Chris Rutter, Jeff Sutherland, et al. The GNU Toolchain for ARM Targets HOWTO. www.aleph1.co.uk, 2005
    [20] 刘淼.嵌入式系统接口设计与 Linux 驱动程序开发.北京:北京航空航天大学出版社,2006,12-13
    [21] 钱华峰,面向对象嵌入式 GUI 及其可视化研究环境实现:[电子科技大学硕士学位论文].成都:电子科技大学计算机应用技术系,2004
    [22] Robert Bosch GmbH. C_CAN User’s Manual. www.bosch.com, 2006
    [23] Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman. Linux Device Drivers(3rd Edition). Sebastopol: O'Reilly Media, 2005, 42-49
    [24] 宋立新.面向嵌入式操作系统的图形用户界面:[浙江大学硕士学位论文].浙江:浙江大学计算机系,2001,6-13
    [25] 任善全,吕强,钱培德等.一个基于 Qt/Embedded 的嵌入式 Linux 应用程序的实现.计算机应用与软件,2006,23(2):105-106
    [26] 李小群,赵慧斌,孙玉芳.进程间通信机制的分析与比较.计算机科学,2002,29(11):16-21
    [27] Neil Matthew, Richard Stones. Beginning Linux Programming. 3rd Edition. Indianapolis: Wiley Publishing, 2004, 566-573
    [28] C Bettstetter, HJ Vogel, J Eberspacher. General Packet Radio Service GPRS: Architecture, Protocols, and Air Interface. IEEE Communications Surveys, 1999, 2(3): 2-13
    [29] 思泰基(SeaTech)电脑有限公司.SX-340 用户手册.上海:思泰基(SeaTech)电脑有限公司,3-4
    [30] 胡小龙.Linux 操作系统启动过程的分析.长沙铁道学院学报,2006(9): 29-32
    [31] Terrasa Andres, Garcia-Fornes Ana, J.Botti Vicente. Flexible Real-Time Linux: A Flexible Hard Real-Time Environment. Real-Time Systems, 2002, 22(1): 151-173
    [32] DANIEL P.BOVET,MARCO CESATI.深入理解 Linux 内核.北京:中国电力出版社,2004,50-53
    [33] 蔡勇,战兴群.基于 PC104 主板的嵌入式 Linux 的实现.计算机工程与应用,2004(27):109-110
    [34] 孙海彬,傅谦,徐良贤.Linux 内核模块的实现机制.微电子学与计算机,2001(3):29-32
    [35] 顾咏枫,陈章龙.嵌入式 Linux 裁剪方法.小型微型计算机系统,2003(9):1697-1700
    [36] 张勇,裘雪红.嵌入式 Linux 下 JFFS2 文件系统的实现.计算机技术与发展,2006(4):29-31
    [37] busybox 主页.http://www.busybox.net/
    [38] 何先波,唐宁九,吕方等.ELF 文件格式及应用.计算机应用研究,2001(11):144-150
    [39] 刘宝祥.谈谈动态链接与动态链接库.科技信息(学术版),2006(7):347
    [40] 饶运涛,邹继军,郑勇芸.现场总线 CAN 原理与应用技术.北京:北京航空航天大学出版社,2003.6,14-20
    [41] 黄迪明,基于嵌入式操作系统的图形用户界面系统的研究与实现:[电子科技大学硕士学位论文].成都:电子科技大学计算机应用技术系,2003
    [42] 邹益仁,马增良,蒲维.现场总线控制系统的设计和开发.北京:国防工业出版社,2003.1,25-34
    [43] Cena, G., Valenzano, A. A protocol for automatic node discovery in CANopen networks. Industrial Electronics, 2003, 50(3): 419-430
    [44] 郭玉东.Linux 操作系统结构分析.西安:西安电子科技大学出版社. 2002.1,406-423
    [45] 王永杰,刘京菊,孙乐昌.Linux 可装载模块的开发与应用.计算机应用研究,2002(7):143-146
    [46] Robert Love.Linux 内核设计与实现.北京:机械工业出版社.2004.11,53-70
    [47] 刘峥嵘,张智超,许振山等.嵌入式 Linux 应用开发详解.北京:机械工业出版社.2004.6,250-255
    [48] MiniGUI 主页.http://minigui.org/
    [49] 于孝辉,陈秋艳,李国义.嵌入式 Linux 下 MiniGUI 的移植及软件开发.辽宁工学院学报,2006(2):90-92
    [50] 张棣.基于嵌入式 Linux 的 PDA 及其功能扩展研究:[西北工业大学硕士学位论文].陕西:西北工业大学控制理论与控制工程,2005,31-38
    [51] 程晓宇,毕笃彦,王浩学.Linux 下串行通信的实现及其在机载视频记录系统中的应用.计算机应用与软件,2005(11):62-63
    [52] Michael R. Sweet. Serial Programming Guide for POSIX Operating Syste. http://digilander.libero.it/robang/rubrica/serial.htm
    [53] WANG Haixia, SHANG Fengjun, ZHOU Rongsheng. The Application of PC104 Serial Communication. Computing Techniques for Giophysical andGeochenical Exp loration, 2001, 23 (2): 187-191.
    [54] MA Wenhui, LI Lanyou. The Serial Communication in Linux. Electronics Instrumentation Customer, 2005,12 (1): 39-41.
    [55] Philip Koopman. Embedded System Design Issues (the Rest of the Story). Proceedings of the IEEE International Conference on Computer Design, 1996. 310-317.
    [56] 魏永明等.MiniGUI 编程指南.北京:北京飞漫软件技术有限公司,2005
    [57] 胡湘华.嵌入式 Linux 中图形用户界面的研究与实现:[国防科学技术大学硕士学位论文].湖南:国防科学技术大学计算机科学与技术,2002,15-16
    [58] Gunnar Heine. GPRS:Gateway to Third-Generation Mobile Networks- [Book Review]. IEEE Communications Magazine, 2004, 42(7): 12
    [59] Samjani A A. General Packet Radio Service [GPRS]. Potentials, 2002, 21(2): 12-15
    [60] Yan Zhang, Boon-Hee Soong. Performance evaluation of GSM/GPRS networks with channel re-allocation scheme. IEEE Communications Letters, 2004, 8(5): 280-282

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

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

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