基于ARM的嵌入式平台技术及其在工程机械中的应用
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着电子技术、嵌入式软件技术和控制技术的飞速发展,同时基础设施建设行业对施工机械的信息化、智能化、网络化要求的不断提高,基于嵌入式技术的工程机械监控系统的研发已成为国内外机电控制领域热点课题。
     本文首先综述了国内外工程机械行业发展的现状和趋势,阐明了实施工程机械智能化及远程监控的意义和需求,并为此构建了工程机械远程监控系统三层结构模型:前端单元控制系统、车载监控系统和远程监控中心;提出了一种基于HMS30C7202和linux的嵌入式车载监控系统构建方案;深刻剖析了HMS30C7202的特点、内核结构、运行机理,然后结合引导程序的开发对linux内核进行移植前的必要修改,并深入分析了linux驱动程序的架构;对构成嵌入式系统硬件的各个主要部分:嵌入式微处理器HMS30C7202、存储单元、串行接口、人机交互接口、CAN总线控制模块、调试接口以及复位电路等电路设计方案做了详细的介绍;为证明所编写引导程序的正确性,还将μC/OS-Ⅱ实时内核移植到本文研发的嵌入式硬件系统中,编写了该操作系统的底层硬件驱动程序,建立了上层用户应用程序的组织结构。
     本文所实现的车载监控系统的硬件部分和底层软件,不仅是整个车载监控系统实现的基础,而且也是整个系统的核心部分。其中的部分研发成果,如基于ARM微处理器的嵌入式硬件电路设计技术、引导程序的开发技术、车载监控系统底层驱动技术等具有一定的推广应用价值。
With the electronics, embedded software and control technology developed rapidly, and the requirement of informationization, intelligent, networked of the construction machinery in infrastructure construction trade constant improving,, the construction machinery monitor and control system based on embedded technology has become a hot subject in the domestic and international control field.
     Firstly, this paper summarizes the situations and trends of domestic and international engineering machinery, illustrates the demands and implements of intelligent and long-range monitoring and controlling in construction machinery ,and constructs a three-layer model of the engineering machinery long-range monitoring and control system: the front unit control systems, the machine-mounted monitoring system and the long-range control center ; proposes a kind of structure of embedded system based on HMS30C7202 and embedded Linux; Researching the characteristic of HMS30C7202、kernel construct and mechanism of the CPU’s operation deeply, than combining the booting program, the paper issue some modification of Linux kernel before transplanting and the framework of the linux device driver. This text makes a particular presentation about some important circuits for instance the center process unit、the memory unit、the interface of the UART and HMI、CAN bus module、JTAG、reset circuit etc, which are main parts of the embedded system’s hardware. To improve the booting program’s validity, the text presents the process of transplanting the real-time kernelμC/OS-II to the hardware of the embedded system and the low-level hardware driver program of the operation system. Finally the text introduces the framework of the application program.
     The hardware and low-level software system designed in the paper, not only is the bedrock of the whole system, but also is the core of the system. Some productions , such as the designs based on ARM, the technology of designing the embedded hardware、the development of the booting program and the low-level driver program, have values of application and popularization.
引文
[1] 王世明,杨为民 ,李天石等 .国外工程机械新技术新结构和发展趋势.工程机械,2004(1): 61-66
    [2] 吴明晖.基于 ARM 的嵌入式系统开发与应用.北京:人民邮电出版社,2004
    [3] 李顶根,陈军,吴朝晖.基于 Arm-Linux 的车载信息平台的研制,浙江大学学报(工学版), 2006(9)
    [4] 陈翌,田捷,王金刚.嵌入式软件技术开发.第一版.北京: 国防工业出版,2003, 1-3
    [5] 罗蕾.嵌入式实时操作系统及应用开发.第一版.北京: 北京航空航天大学出版社,2005,158-168
    [6] 总线及其在测控网络中的实现.http://bbs.gongkong.com, 2005-07-08
    [7] 蔡俊宇,徐国政,关永刚,黄瑜珑,基于 CAN 总线和 ARM 的变电站在线监测装置的研制,高压电器, 2006(6)
    [8] 马忠梅,马广云,田泽.ARM 嵌入式处理器结构与应用基础,北京:北京航空航天大学出版社,2002
    [9] 何小庆.如何选择嵌入式操作系统.www.99eda.com,2005-04-02
    [10] Andre Przywara, Riidiger Kusch, Dietrich Naunin.Real-time operating systems on small embedded devices for industrial control and communication.In: Industrial Electronics Society, 2003. IECON '03. The 29th Annual Conference of the IEEE. Virginia, 2003, 2047-2052
    [11] 刘名博,邓中亮.基于 ARM 的嵌入式 Linux 操作系统移植的研究.计算机系统应用, 2006(11)
    [12] 张原豪.以 NOR FLASH 记忆体为磁碟系统之嵌入式 LINUX 实作:[国立中山大学硕士论文].台湾:国立中山大学,2005
    [13] 杜春雷.ARM 体系结构与编程.北京:清华大学出版社, 2003
    [14] Atmel Corporation. ARM Architecture Reference Manual.USA:Atmel Corporation,1996
    [15] 闰茂德,贺星理,陈金平等.嵌入式实时操作系统内核的设计与实现.长安大学学报(自然科学版), 2004(3): 95-99
    [16] 张丽芬,陈朔鹰.一个嵌入式实时操作系统开发平台的实现,北京理工大学学报,2001(1)
    [17] Hynix Semiconductor Inc.CAN User Manual of HMS30C7202 for Software Engineer. Hynix Semiconductor Inc,2000
    [18] 西安傅立叶电子科技发展有限公司.FFT-ICE 实时仿真机用户使用手册.第一版.西安: 西安傅立叶电子科技发展有限公司,2003: 1-38
    [19] 王薇.基于嵌入式 Linux 的 BootLoader 的设计与应用:[西南交通大学硕士论文].西安:西南交通大学,2006
    [20] 张群忠,沈建华.ARM&Linux 嵌入式系统 BootLoader 的研究与设计,计算机应用与软件, 2006(12)
    [21] Sungjoo Yoo, Jerraya, A.A. Introduction to hardware abstraction layers for SoC Design.In:Automation and Test in Europe Conference and Exhibition, 2003, 2003 Page(s):336–337
    [22] Qiming Teng, Hua Wang, Xiangqun Chen. A HAL for component-based embedded operating systems. Computer Software and Applications Conference, 2005. COMPSAC 2005. 29th Annual International, Volume 2,26-28 July 2005 Page(s):23-24 Vol.1
    [23] 刘晶晶. 基于 ARM 的嵌入式 Linux 系统的实现及其在机车信号检测仪上的应用研究:[北京交通大学硕士论文].北京:北京交通大学,2006
    [24] 毛德操,胡希明. 嵌入式系统. 浙江:浙江大学出版社, 2003
    [25] YAGHMOUR.Building embedded Linux systems.O’REILLY,2002
    [26] 黄燕平.uC/OS ARM 移植要点详解.北京:北京航空航天大学出版社,2005
    [27] Jean J.Labrosse.MicroC C/OS-Ⅱ The Real-Time Kernel Second Edition .USA: CMP Midia LLC, 2002: 283-286
    [28] 王苗田.嵌入式系统设计与实例开发――基于 ARM 微处理器与μC/OS-Ⅱ实时操作系统.第二版.北京: 北京航空航天大学出版社,2003: 71-83
    [29] DANIEL P.BOVET, MARCO CESATI.UNDERSTANDING THE LINUX KERNEL.O’REILLY, 2004
    [30] ALESSANDRO RUBINI, JONATHAN CORBET. LINUX DEVICE DRIVERS 2nd .O’REILLY, 2002
    [31] Abraham Silberschatz, Peter Galvin, Greg Gagne. APPLIED OPERATING SYSTEM CONCEPTS. John Wiley&Sons,Inc, 2002
    [32] Gary Nutt. Kernel Projects for Linux.北京: 机械工业出版社, 2003
    [33] Peter Jay Salzman, Ori Pomerantz. The Linux Kernel Module Programming Guide, 2003
    [34] C_CAN User’s Manual. Robert Bosch GmbH Automotive Equipment Division 8 Development of Integrated Circuits(MOS)
    [35] 刘淼. 嵌入式系统接口设计与 Linux 驱动程序开发. 北京:北京航空航天大学出版社, 2006
    [36] 李韩英.嵌入式汽车网络系统的硬件及驱动程序设计:[浙江大学硕士论文].浙江:浙江大学, 2006
    [37] 周立功等.ARM 嵌入式系统实验教程.广州: 周立功单片机发展有限公司,2005: 32-35
    [38] 洪魁元.嵌入式汽车网络系统的软件设计:[浙江大学硕士论文].浙江:浙江大学,2006
    [39] Chaari, L.; Masmoudi, N.; Kamoun, L. Electronic control in electric vehicle based on CAN network, Systems, Man and Cybernetics, 2002 IEEE International Conference on Volume 7,6-9 Oct. 2002 Page(s):4 pp. vol.7
    [40] An-Ping Wang, Hou-Sheng Hsu, Psu-Lo Hsu. Remote monitoring and control via the intelligent database gateway for the CAN-based wheelchair,Networking, Sensing and Contrl, 2004,3:445-450
    [41] Song Dafeng, Li Jing, Ma Zhinmin, Li Youde, Zhao Jian, Liu Wei. Application of CAN in vehicle traction control system,Vehicular Electronics and Safety, 2005.10:188-192
    [42] Zhao Hong-Wei; Chen Peng; Zang Xue-Bai; Liu Da-You; Wang Qing-Nian. Research on multi-energy hybrid electric vehicle powertrain controller based on CAN network, Intelligent Transportation Systems, 2003. Proceedings. 2003 IEEE, Volume 2,12-15 Oct. 2003 Page(s):938-941 vol.2
    [43] 唐伟, 张建波, 范文宾.基于 GPRS 技术的远程抄表系统设计,电力系统通信, 2004.
    [44] Michael R. Sweet .The serial Programming Guide for POSIX Operating System. 5th Edition:1994
    [45] 赵克佳,沈志宇,赵慧.UNIX 程序设计教程.北京:清华大学出版社,2001
    [46] Bruce Molay.Understanding Unix/Linux Programming. 北京 : 清华大学出版社,2001