Research and Lmplementation of an Axis Control System Based on Windows NT

Author
BaiYan
Advisor
QiZhiPing , WangPing
School
Institute of Electrical Engineering, Chinese Academy of Sciences
Major
Power Electronics and Power Drives
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2001
Downloads
70
Citations
1

Request the full text

Abstract

This article analyzed the architecture of Windows NT and the primary functions of its kernel, and also discussed the possibility of utilizing Windows NT as a real-time operating system. The blueprint of a Windows NT based axis control system was presented. The strategy of axis control was designed based on Windows NT architecture and the runtime model was built. The solution to some key technical problems was also discussed.Using 5638 servo control card as example, this article illustrates the strategy of the key technical problems of axis control based on Windows NT. Furthermore, the device driver and basic driver library of 5638 card were designed and implemented. It also describes how to utilize the real-time and multi-task characteristics of Windows NT to ensure the axis control抯 real-time response capability during the implementation. At the same time basic ideas of building the 5638抯 interpolation library were proposed on the basis of the Windows NT dynamic link library standards. The interface between the interpolation routines and user mode applications was defined. Then the flow design of the routines, which implement the straight line and circle interpolation, was accomplished.Finally, a strict operational experiment of axis control was carried out by implementing the user mode application and the result of the test was obtained.

Table of contents

Chapter 1 Introduction 8-13 1.1 CNC system development process and the development trend 8 1.2 CNC systems the choice of operating system platforms -10 1.3 control axis CNC system Windows NT-based key technologies 10-11 1.4 subject background and the main research work 11-13 Chapter 2, Windows NT real-time multi-task analysis of the core components 13-26 2.1 Windows NT system structure 13-14 2.2, Windows NT characteristics of real-time multi-tasking the 14-19 thread scheduling 2.2.1 the interrupt handling 14-15 2.1.2 15-17 2.2.3 synchronization mechanism 17-18 2.2.4 I / O system 18-19 2.3 Windows NT device driver program structure 19-24 2.3.1 device driver program standard routine 19-21 2.3.2 device driver object model 21-24 2.4 Windows NT as the feasibility of the axis control system platform 24-26 Chapter 3, based on the Windows NT-axis control system analysis and design 26 -38 3.1 the CNC system architecture based on Windows NT 26-27 3.2 based on Windows NT axis control system analysis and design 27-36 < br /> 3.2.1-axis control system to control the data flow analysis 27-28 3.2.2-axis control system running model 28-30 3.2.3-axis control system tasks scheduling 30-31 3.2.4-axis control system design of critical data structures 31-34 the .2.5-axis control system priority determined and dynamic analysis the 34-36 3.3 Summary of Design 36-38 Chapter 4-axis control is based on Windows NT Design and Implementation of the key software 38-76 4.1 5638 axis control card hardware specification 38-39 4.1.1 Features 38 - 39 4.1.2 register port address 39 4.1.3 LM628 assembly instructions 39 420 5638 axis control card device driver design and implementation 39-52 4.2.1 driver object model 40-41 4.2.2 driver structure design 41 -43 the 4.2.3 driver standard routine implementation 43-49 4.2.4 driver synchronization 49-51 the .2.5 driver compatibility and independence of design 4.3 5638 51-52 axis control card to drive the design and implementation of the library 52-66 4. 3.1 driver library function classification design 52-58 4.3.2 driver library functions available to the user mode application interface design 58-60 4. Analysis and design of real-time performance of the 3.3 driver library 60-63 4.3.4 driver library scalability and maintainability design 63-64 4 .3.5 driver compatibility and independence of the library design 64-66 440 5638 axis control design cards interpolation function library and its interface are found; 66-72 4.4.1 interpolation function library design 66-67 4.4.2 the interpolation algorithms Profile 67-68 4.4.3 plug the complement function library the function interface design the 68-72 4.5-axis control system user state program to simplify the design and realization 72-75 4.6 Design Summary 75-76 Chapter 5-axis control of experimental results and analysis 76-81 5.1 axis control experiment block diagram 76 5.2 trajectory parameters calculated 76-79 5.3 Experimental results and analysis 79-81 Chapter 6 Conclusion 81-83 Acknowledgements 83-84 Reference 84-87