基于嵌入式技术的电机控制系统
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
嵌入式系统与Internet技术的结合已经成为未来嵌入式系统的发展趋势,而基于ARM的嵌入式系统由于其低功耗、低成本、高性能等优势已经广泛的应用于工业控制领域。
     本文研究嵌入式电机控制系统的关键技术,要包括ARM微处理器AT91RM9200及其外设接口的设计与开发、AVR系列mega128单片机及Linux实时操作系统在嵌入式电机控制系统中的应用技术等内容。
     论文从嵌入式系统的硬件电路和软件开发两个方面进行设计。在硬件设计上主机采用Atmel公司生产的AT91RM9200微处理器为CPU,从机采用Atmega128系列单片机,选用8M的FLASH和32M的SDRAM作为系统存储器,扩展了以太网接口、串行接口等外围通信设备以及输入输出接口,根据处理器和其他接口芯片的要求设计了电源电路、晶振电路、FLASH,SDRAM存储器接口电路、以太网接口电路、串行接口电路;使用4层贴片工艺设计了系统PCB印刷电路板,焊接和安装了贴片元件,并进行了电路调试等过程。在软件设计上基于Linux操作系统,介绍了Linux文件系统的结构、根文件系统的层次和文件的管理方法。研究了Linux设备管理方法和设备驱动程序的中断实现方法,分析了Linux字符设各驱动程序设计技术,给出了SPI接口驱动程序,主从机通讯程序。
The combination of Internet and embedded system has become the trend of embedded system development in the future. The embedded system based on ARM has been applied widely in industry because of low consume, low cost and high performance.
    The key technology in motor control system based on embedded technology is researched. This article contains the design and exploitation of ARM microprocessor AT91RM9200 and its interface, also contains applied technique of Atmega128 singlechip and Linux operating system.
    Research of the paper includes the hardware design and software design. The embedded system is composed of AT91RM9200 microprocessor, 8MFLASH, 32MSDRAM and Ethernet interface, serial interface, in-out interface. According to the design rules of the microprocessor and other chips the hardware design includes power, crystal circuits, memorizer, Ethernet, serial and extending in-out interfaces. The Printed Circuit Board adopts four layers SMT technics, and by circuit debugging the hardware can run normally. Linux is loaded to the hardware. The thesis studies the system structure and work flow of Bootloader, and the start-up course of kenrel, it also analyses the porting course of Linux from two aspects of Bootloader and kernel. The paper researches the device management of the Linux operating system and the strategy of interrupt management of the Linux device drivers. Through analyzing the developing methods and technologies of character device driver of Linux, the common process of developing character device driver was elicited, the developing frame of character device driver was put forward.
引文
[1] Craig Hollabaugh.嵌入式Linux-硬件、软件与接口[M].北京:电子工业出版社.2003.
    [2] 杨健,张慧慧.基于嵌入式系统的数据采集系统网络接入的设计与实现[J].仪器仪表学报,2005,26(8):290-293.
    [3] 赵海.嵌入式Internet[M],北京:清华大学出版社,2001.
    [4] DickG, LakshminarayanaP, RaghunathanA. Analysis of power dissipation in embedded system susingreal-time operating systems[J]. Computer-Aided Design of Integrated Circuits and Systems, 2003, 22(5): 615-62.
    [5] KonradA, ChengJ, CampbellB. Object analysis patterns for embedded systems[J]. Software Engineering, 2004, 30(12): 970-992.
    [6] 凌志浩,张文超,俞金寿.嵌入式系统结构及其发展概况[J].自动化仪表,2003,24(4):1-5.
    [7] 王卓,包杰.嵌入式Linux系统及其应用前景[J].单片机与嵌入式系统应用,2004,5(5):5-8.
    [8] TaramaaJ, KhuranaAN, KuvajaP. Product-based software process improvement for embedded systems[J]. Euromicro Conference, SanFrancisco, California, 1998, 24(2): 905-912.
    [9] 武朝晖.嵌入式软件发展趋势[J].电子产品世界,2005,22(2):36-37.
    [10] DickG, LakshminarayanaB, RaghunathanA. Analysis of power dissipation in embedded system susingreal-time operating systems[J]. Computer-Aided Design of Integrated Circuits and Systems, 2003, 22(5): 615-627.
    [11] 陈闺中.Linux在嵌入式操作系统中的应用[J].同济大学学报,2001,29(5):564-566.
    [12] 霍妍,孟凡荣.Linux运用于嵌入式系统的技术分析[J].计算机系统应用,2004,22(8):4-6.
    [13] GoodacreJ, SlossAN. Parallelism and the ARM instruction set architecture[J]. Computer, 2005, 38(7): 42-50.
    [14] 陈章龙.嵌入式处理器的Cache结构研究[J1.小型微型计算机系统,2004,25(7):5-7.
    [15] 何荣森,何希顺,张跃.从ARM体系看嵌入式处理器的发展[J].微电子学与计算机,2002,34(5):42-45.
    [16] 周彩宝,刘应学.ARM体系以及AMBA总线分析[J].计算机工程,2003,29(5):147-150.
    [17] 马海红,何嘉斌.基于ARM的嵌入式系统FLASH接口设计与编程[J].仪表技术与传感器,2005,42(1):39-42.
    [18] 胡永庆,陈萍,梁学东.公共闪存接口CFI在FlashMemory程序设计中的应用[J].电子技术应用,2000,21(7):66-68.
    [19] 曲延滨,冯立国,苏健勇.一种基于TMS320VC5402扩展外部Flash的方法[J].现代电子技术,2004,29(23):41-43.
    [20] 刘宇,李玉山.吕菱一种通用SDRAM控制器的设计[J].电子设计应用,2003,2(2):19-21.
    [21] 田丰,邓建国,李巍等.SDRAM控制器的设计与VHDL实现[J].电子技术应用,2005,31(2):74-77.
    [22] 耿德根.AVR高速嵌入式单片机原理与应用[M].北京:北京航空航天大学出版社,1995。
    [23] 马学文,朱名日,程小辉.基于uclinux和153C4510B的网络通信设计[J].单片机与嵌入式系统应用.2004,4(6):30-33.
    [24] 王亚军,刘金刚.Linux运用于嵌入式系统的技术分析[J1.计算机应用研究,2005,20(5):102-105.
    [25] 董小明,李怀阳赵振等.一种创建小型化Linux系统的方法[J].计算机工程,2005,31(9):61-63.
    [26] 王东,李哲英.U-Boot在S3C44B0上的移植方法[J].北京交通大学学报,2005,29(2):76-80.
    [27] 蒋巧文,潘孟春.基于ARM体系的嵌入式系统BSP的程序设计[J].电子技术应用,2004,30(9):4-6.
    [28] 顾咏枫,陈章龙.Linux运用于嵌入式系统的技术分析[J].小型微型计算机系统,2003,24(9):167-170.
    [29] 黄克彬,叶梧,冯穗力.基于ARM-uClinux嵌入式系统启动引导的实现[J].电子技术应用,2004,30(9):16-18.
    [30] 马学文,朱名日,程小辉.嵌入式系统中Bootloader的设计与实现[J].计算机工程,2005,31(7):96-98.
    [31] MinnichRG. Give your bootstrap the boot: using the operating system to boot the operating system[J]. Cluster Computing, 2004, 20(4): 439-448.
    [32] 刘文峰,李程远,李善平.嵌入式Linux操作系统的研究[J].浙江大学学报(工学版),2004,38(4):447-452.
    [33] 兰晓红.嵌入式Linux中断设备驱动程序设计[J].计算机应用研究,2003,23(5):96-98.
    [34] ALESSANDROR.LINUX设备驱动程序[M].北京:中国电力出版社,2001.
    [35] Robert Love.Linux内核设计与实现[M].北京:机械工业出版社,2004.
    [36] CasazzaG, AntoniolG, VillanoU. Identifying clones in the Linux kernel[J]. Source Code Analysis and Manipulation, 2001, 10(3): 90-9.
    [37] 王锋.王滔,季晓勇.一种嵌入式Linux平台的软硬件设计[J].电子技术应用,2003.29(2):12-14.
    [38] SchachSR, JinB, WrightDR. Maintain Ability of the Linuxkernel[J]. Software Engineering 2002, 149(1): 18-23.
    [39] 魏平,夏良正,王岩.Linux体系结构及嵌入式Linux的移植方法[J].东南大学学报,2004,34(1):126-131.
    [40] 毛德操,胡希明.Linux内核源代码情景分析[M].杭州:浙江大学出版社,2003.
    [41] 胡宁,张德运,王福豹.基于Linux的流媒体文件系统[J].计算机工程,2005,31(14):196-198.
    [42] 史芳丽,周亚莉.Linux系统中虚拟文件系统内核机制研究[J].陕西师范大学学报(自然科学版),2005,33(1):29-32.
    [43] 陆尔东,邓利平.Linux下的设备驱动及其管理机制[J].计算机应用,2003,23(1):124-126.
    [44] 吴娴.一个嵌入式Linux文件系统的优化[J].计算机应用与软件.2005,22(7):82-85.
    [45] YaghmourK. Building embedded Linux Systems[M]. USA: OReilly Press, 2003.
    [46] 邹思轶.嵌入式Linux设计与应用[M].北京:清华大学出版社,2002.
    [47] 刘斐,王文君,杨建民.U-Boot在ARM系统中的启动及应用[J].陕西师范大学学报(自然科学版),2005,33(6):213-215.
    [48] AlessandroR, JonathanC. Linux Device Driver (2ndEdition) [M]. USA: O'Reilly, 2001.
    [49] 李海刚,崔杜武.Linux模块技术分析及应用[J].计算机工程,2003,29(1):120-122.
    [50] 张凯,李云冈.基于AMBA总线的DDR2SDRAM控制器研究与实现[J].微电子学与计算机,2005,22(9):117-122.