嵌入式技术在铣床数控系统上的应用
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
嵌入式系统是一种以应用为中心,以计算机技术为基础,软硬件可裁剪,适应对功能、可靠性、成本、体积、功耗严格要求的专用计算机系统。随着计算机软硬件技术的迅速发展,嵌入式系统技术日趋成熟和完善,其可靠性高、性能强、功耗低等优点促使它在工业控制、交通管理、环境检测等众多领域中获得了广泛的应用。
     本文结合开发项目“铣床嵌入式数控系统SDS9-3CNCD的研制”,在深入研究嵌入式系统技术的基础上选择具体的硬件平台和软件平台进行铣床嵌入式数控系统的研发,硬件结构以高性能低功耗的32位嵌入式处理器S3C44BOX为核心,配以系统所需的外围模块;软件系统以源码公开的uC/OS-Ⅱ实时嵌入式操作系统为核心,开发系统所需的应用软件,将uC/OS-Ⅱ实时嵌入式操作系统扩展为一个完整、实用的铣床嵌入式数控系统。该系统不仅具有可靠性高、稳定性好、功能强的优点,而且具有良好的可移植性和可裁剪性,便于根据实际需求进行功能的扩展和裁剪。本论文的主要研究内容如下:
     (1)研究uC/OS-Ⅱ实时嵌入式操作系统在硬件平台上的移植及其占先式内核的任务调度原理,合理分割铣床控制系统的管理任务,根据任务的要求赋予不同的优先级和调度时间,保证任务的执行效率和实时性;
     (2)开发底层设备驱动程序和应用程序接口(API)函数,以便于进行系统应用软件的开发;
     (3)深入研究FAT16文件系统的结构和固态盘的硬件特性,参照FAT16文件系统的管理思路,开发固态盘文件管理软件以有效管理NC代码文件;
     (4)深入研究由ARM主控板、键盘板、I/O控制板、编码器信号采集板等装置组成的串口通讯网络可靠通信的模型及其通讯协议,开发串口通讯网络通信软件;
     (5)研究字符的显示原理和在操作系统中嵌入字库的方法,在此基础上结合汉字的特性深入研究中文字库的嵌入方法,开发中文字库嵌入软件,满足开发操作界面的信息要求;
     (6)深入研究三维图形坐标变换的原理,开发实用的三维加工轨迹显示软件,便于操作者对零件的加工过程进行监控和诊断。
     最后,本文总结了系统的开发工作,提出了系统需要继续完善的地方,以作为后续研究工作的参考。
Embedded system is a kind of special application-oriented computer system. It is based on computer technology and can meet the strict requirement of function, reliability, cost, volume, and power consumption by adjusting its hardware and software. With rapid development of hardware technology and software technology of the computer, embedded-system technology is getting more reliable and perfect step by step. At present, embedded system has been widely used in many fields such as industrial control, traffic control, and etc, because of its high reliability, high performance, low power consumption and so on.
    Combined with the project research and development of embedded NC system of Milling machine SDS9-3CNCD, and based on in-depth study on technology of embedded system, this dissertation chooses specific platform of hardware and software to research and develop the embedded NC system of milling machine. The kernel of hardware is the 32-bit embedded CPU S3C44BOX with characteristics of high performance and low power consumption. And it is also equipped with the required peripheral modules to extend itself to one whole hardware system. The software is based on uC/OS-II real-time embedded operating system, and the required application software needs to be developed so as to turn uC/OS-II real-time embedded operating system into one practical embedded NC system of Milling machine, which not only has virtues of high reliability, high performance, but also can be transplanted and trimmed so well as to modify function conveniently according to system requirement. The following are the main research contents of the dis
    sertation.
    (1) On the basis of in-depth research on the contents how to transplant uC/OS-II real-time embedded operating system into hardware platform and how tasks run in the preemptive kernel of uC/OS-II real-time embedded operating system, the management tasks of NC system of milling machine are assigned with reason. And then their priorities and scheduled time are also assigned according to the need of system so that efficiency of program and real-time requirement of task can be optimized.
    (2) Develop device drivers and API functions in order to meet the need of developing application software with ease.
    (3) Study deeply the structure of FAT 16 file system and the characteristic of flash disk, and develop the file management software of flash disk to manage NC files effectively according to the management idea of FAT 16 file system.
    (4) Research the module and protocol of reliable communication in serial network, which are composed of ARM main control board, DSP motion control board, keyboard board, I/O control board and encoder signal collection board, and then develop communication software of the serial network.
    (5) Study the principle of displaying char in LCD and the method of embedding font library into operating system, and research deeply the method of
    
    
    embedding Chinese font library into OS in the light of the characteristic of Chinese. On the basis of that, the software of embedding Chinese font library is developed to meet the information requirement of developing operating interface.
    (6) Study the theory of three-dimension graphic conversion, and develop the
    software of displaying the three-dimension machining track, which provides
    the function that operator can watch over conveniently the machining
    process.
    At last, the dissertation makes a summary of the work in the course of system
    development, points out what the system needs to be improved, and offers the
    reference for following the development work.
引文
[1] 凌志浩,张文超,俞金寿.嵌入式系统结构及其发展概况.自动化仪表,2003年04期
    [2] 何立民.嵌入式系统的定义与发展历史.单片机与嵌入式系统应用,2004年01期
    [3] Catherine Lingxia Wang, Bo Yao, Yang Yang, Zhengyong Zhu. A Survey of Embedded Operating System. http://3c.nii.org.tw/3c/silicon/embedded
    [4] What Is an Embedded System?. http://www.therationaledge.com/content
    [5] 王田苗.嵌入式系统设计与实例开发(第二版).北京:清华大学出版社,2003.10
    [6] 雷亚平,沈春林,杨忠.嵌入式系统的组成、设计与调试.航空计算技术,2003年03期
    [7] 吕京建,肖海桥.面向二十一世纪的嵌入式系统综述.电子质量,2001年08期
    [8] Wayne Wolf. What and Why about Architecture for Embedded Systems. http://www4.ncsu.edu/~efg/wcae/2OOO/submissions/wolf.pdf
    [9] 冯继超.面向二十一世纪的嵌入式系统及发展方向.工业控制计算机,2001年05期
    [10] 魏庆福,郑文波.嵌入式系统的技术发展和我们的机遇.自动化博览,2002年04期
    [11] 嵌入式系统的特点,http://www.gkong.com/learn
    [12] 张晶,曾宪云.嵌入式系统的应用.电气时代,2002年05期
    [13] 王爱玲,张吉堂,吴雁.现代数控原理及控制系统.北京:国防工业出版社,2002.1
    [14] 谢武,陈晓剑,邸允柱.我国数控机床竞争力现状及对策研究.经济师,2002年12期
    [15] 丁雪生.国产数控机床竞争力分析.世界制造技术与装配市场,2004年02期
    
    
    [16]徐树滋.2003年我国加工中心进口分析.世界制造技术与装配市场,2004年02期
    [17]徐树滋.2003年世界机床生产、消费、进出口统计.世界制造技术与装配市场,2004年02期
    [18]陈长年.中国机床市场研究报告.数控机床市场,2004年03期
    [19]于成廷.机床工具行业需要认真思考的几个问题.世界制造技术与装配市场,2004年02期
    [20]马义德,刘映杰,张新国.嵌入式系统的现状及发展前景.信息技术,2001年12期
    [21]卞正岗.论嵌入式系统的发展.仪器仪表与分析监测,2004年01期
    [22]黄玉东,朱华杰.浅论嵌入式系统.沈阳电力高等专科学校学报.2003年04期
    [23]张连明,霍迎辉。嵌入式系统的设计与开发.国外电子元器件,2004年01期
    [24]Embedded System Architecture. ttp://www.sonoma.edu/users/s/serceki/Lecture/
    [25]胡泽明,岳春生.嵌入式系统开发要素的选择分析.单片机与嵌入式系统应用,2003年08期
    [26]嵌入式操作系统一览,http://www.gkong.com/learn
    [27]万相奎,丁建平,秦树人.嵌入式系统及其典型开发模式.重庆大学学报,2004年2期
    [28]夏玮玮,沈连丰,肖婕.嵌入式系统关键技术分析与开发应用.单片机与嵌入式系统应用,2003年02期
    [29]赵全忠,穆玉刚,王友发.嵌入式系统及其调试手段的研究.沈阳工业学院学报,1999年04期
    [30]周海芳.嵌入式系统软硬件联合设计方法研究.计算机工程与科学,2001年06期
    [31]um_s3c44box.pdf, http://www.samsung.com
    [32]tms320c2407_application.zip, http://www.ti.com/
    [33]http://www.ucos-ii.com/
    [34]DAVID STEPNER, NAGRAJAN RAJAN, DAVID HUI. Embedded
    
    Application Design Using a Real-Time OS. Proceedings of the 36th ACM/IEEE Conference on Design Automation Conference, New Orleans, United States. 1999
    [35]JEAN J.LABROSSE.uC/OS-Ⅱ—源码公开的实时嵌入式操作系统.邵贝贝.北京:中国电力出版社,2002.6
    [36]高建平,何超,赵龙庆.通过任务分割提高嵌入式系统的实时性.单片机与嵌入式系统应用,2003年10期
    [37]崔树林.嵌入式系统通用的应用软件结构研究.单片机与嵌入式系统应用,2003年08期
    [38]模块化方案已成为开发嵌入式系统的必然趋势,http://www.gkong.com/learn
    [39]陈小朴,曾育星,沈烈.嵌入式系统中固态盘文件管理软件的开发.上海大学学报坛刊(已录用),拟2004年8月刊登
    [40]陈智育.嵌入式系统中的Flash文件系统.单片机与嵌入式系统应用,2002年02期
    [41]KM29U128T.pdf, http://www.samsung.com
    [42]适宜于嵌入式多媒体应用的Flash文件系统,http://www.gkong.com/learn
    [43]黄珊。军用嵌入式系统中的Flash文件系统设计.现代电子技术,2003年16期
    [44]陈峰,尹寒.嵌入式系统中的Flash存储管理.单片机与嵌入式系统应用,2003年02期
    [45]吴雨劲.嵌入式系统中的线性Flash文件系统设计.单片机与嵌入式系统应用,2003年10期
    [46]曹保根.一主从式RS485应用系统的设计与调试.电子技术,2000年02期
    [47]姜云柏,韩怀成,包文毅.主从式RS485串行通讯在实际中的应用.信息技术2001年03期
    [48]王苒,汤冬谊.基于RS485主从通信协议的实现.现代电子技术,2003年24期
    [49]沈红星.一种基于RS485总线的网络协议及其实现方法.单片机与嵌入式系统应用,2003年06期
    
    
    [50]陈新忠.基于RS485总线的单片机多机通信软件设计.现代电子技术,2002年03期
    [51]SAMSUNG SNC-M (Mchining Center) User's Manual
    [52]广州数控设备厂,GSK980T车床数控系统使用手册
    [53]SIEMENS 802D CNC User's Manaul
    [54]路兆强,张怀存.嵌入式系统的人机交互界面设计.北京机械工业学院学报,2003年04期
    [55]杨悦梅.液晶显示在嵌入式系统中的应用.国外电子元器件,2003年07期
    [56]陈小朴,曾育星,沈烈.液晶显示器专用字符模块的开发应用.机电产品开发与创新,2003.4 Vol.80,No.3
    [57]张秀平,杨亚南.用LCD显示汉字时字库的提取.河海大学常州分校学报,2000年03期
    [58]王路敬.汉字输入与文字处理.北京:中国劳动出版社,1997.4,21-25
    [59]王土元.C高级实用程序设计.北京:清华大学出版社,1996.6,385-388
    [60]郭劲松.在LCD上应用标准汉字点阵字库的方法.中国医学物理学杂志,2002年01期
    [61]陈小朴,曾育星,沈烈.嵌入式操作系统嵌入中文字库方法的探讨.机电产品开发与创新,2004.2,Vol.84,No.1
    [62]杨钟藩,杨战.新编微型计算机绘图及其程序设计.河北:中国物资出版社,1994.7
    [63]张全伙,张剑达.计算机图形学.北京:机械工业出版社,2003.8
    [64]童秉枢,李学志,吴志军等.机械CAD技术基础.北京:清华大学出版社,1996.1
NGLC 2004-2010.National Geological Library of China All Rights Reserved.
Add:29 Xueyuan Rd,Haidian District,Beijing,PRC. Mail Add: 8324 mailbox 100083
For exchange or info please contact us via email.