节点文献

基于Windows的串行总线数控系统实时控制关键技术研究

Study on the Key Technology of Real-time Control in Serial CNC System Based on Windows

【作者】 陈月斌

【导师】 邬义杰;

【作者基本信息】 浙江大学 , 机械制造及其自动化, 2004, 硕士

【摘要】 本文综合研究了基于Windows实时控制系统的软件开发中关键技术,重点分析了Windows下实时串行通信软件开发的相关技术。最后,对数控系统中若干控制功能进行研究与开发。 第一章:综述数控系统的发展历程、研究现状,介绍当代数控系统发展趋势和主要特征,分析基于PC的开放式CNC系统的体系结构以及主流数控系统软件平台,阐述了开发基于Windows经济型串行总线数控系统的研究意义。最后给出全文研究内容及安排。 第二章:针对Windows平台下数控系统实时多任务控制这一关键问题,研究了Windows环境下软硬件精确定时技术;并在Windows底层驱动程序的特点和工作原理分析基础上,对虚拟设备驱动程序编程开发中关键技术问题进行研究,提出应用程序与VxD共享内存的具体实现方法;此外,还对Windows下多线程技术中同步机制、任务调度算法以及线程调度模型进行深入研究。 第三章:介绍计算机通信系统的特点、组成、数据传输方式;分析比较了三种计算机串行通信接口标准(RS-232C、USB和IEEE-1394)的性能特点和应用场合等;最后,对通信协议层次结构中流量控制、差错控制等数据链路层控制技术进行分析研究。 第四章:介绍Win32下串行通信的内部机制及其基本步骤;分析串行通信的编程实现方法及其工作方式:并在对WindowsAPI方式和VxD模式实现串行通信关键技术分析基础上,具体编程开发相应的实时串行通信软件;最后,对影响实时串行通信的相关因素进行实验分析。 第五章:简要介绍基于Windows串行总线数控系统的软硬件结构和组成;在分析Windows下数控系统多任务特点基础上,给出了实现多任务控制的缓冲区技术和基于多线程技术的多任务实时调度方案。最后,对数控系统中若干控制功能进行研究与开发。 第六章:总结全文的研究工作,并对今后开放体系结构CNC系统的发展进行展望。

【Abstract】 The paper synthetically studies the key technology in software development of real-time control system based on Windows, and emphatically analyses correlative technology, which applied on software development of real-time serial communication base on Windows. In the end, the paper study on several control function in NC (numerical control) system.Chapter 1 presents a review of the integration of NC system, and introduces the developmental trend and main characteristic of modern NC system. And then, the charpter analyses system framework of open architectural CNC system based on PC and mainstream software platform of NC system, and expatiates significance of study on economic SCNC (Serial Computer Numerical Control) System base on Windows. In the end, it presents the paper’s content.Chapter 2 contraposes to the key question of real-time multitask NC system based on Windows, and study the precision timing technology used software or hardware under Windows. On the basis of analyzing characteristic and theory of device driver under Windows and studying the key technology in the programming of virtual device driver, puts forward the realization of sharing memory between application and VxD. Furthermore, Synchronous mechanism, task schedule rule and thread schedule model of multithreading technology in Windows are studied deeply.Chapter 3 introduces the characteristic , composing and data transmission mode of compunication system firstly. Secondly, it analyses and compares capability characteristic and application situation of three kinds of standard which applies computer serial communication interface(RS-232Cx USB and IEEE-1394) . Finally, the technology of data link control protocl, such as flux contro, error control which apply on communication protocol hiberarchy, is analysed and studied.Chapter 4 introduces deep mechanism and primary process of serial communication in Win32 system, and analyses the way of programming and wok mode of serial communication. On the ground of analysis and study of the main technology of realizing serial communication based on Windows API and VxD respectively, real serial communication software is developed. Finally, experiment and analyze what is correlative factor, which affect real-time serial communication.Chapter 5 simply introduces the composed of SCNC system and its structure of software and hardware. On the basis of analyzing characteristic of real-time multitask control in NC system base on Windows system, it gives buffer technology on the control of multitask and real-time schedul scheme which bases on multithreading technology. In the end, it studies and develops several control function in NC system. Chapter 6 summarizes the study of entire paper, and prospects the development of open architectural CNC system.

  • 【网络出版投稿人】 浙江大学
  • 【网络出版年期】2004年 04期
  • 【分类号】TG659
  • 【被引频次】4
  • 【下载频次】457
节点文献中: 

本文链接的文献网络图示:

本文的引文网络