A Full Software NC System for Pneumatic Marking Machine Based on Windows

Author
ZhangJianJun
Advisor
ZhuWen
School
Chongqing University
Major
Mechanical and Electronic Engineering
Classification
TG659 Program control machine tools, CNC machine tools and machining
Degree
Master's thesis
Year
2007
Downloads
64
Citations
1

Request the full text

Abstract

At present, the trend of numerical control system is open-architecture NC system, and full software NC system is the trend of open-architecture NC system. Pneumatic marking machine is a product of mechanical and electronic integration designed for use in a wide range of automatic industry production applications. The traditional NC framework mode of pneumatic marker based on windows is“PC + special NC controller”, which could not make the NC kernel fully open though belonging to the category of open-architecture. The main problem with this traditional mode is that a mass of print data between PC and special NC controller need to encode and pack, so decoding this complex data must reduce system Real-time performance, and increase instabilities and interference of system.To deal with the outstanding problems existing in the traditional pneumatic marking machine NC system mentioned above, this paper designed a full software pneumatic marking machine NC system, which NC framework mode is“PC + stepping motor driver”. In this framework mode, PC not only serves for Real-time operations such as interpolation, I/O control, etc. but also serves for Not-Real-time operations such as man-machine conversation, etc.. In this framework mode, stepping motor driver is just an I/O interface board, which serves for isolation, amplification, transform of stepping pulse, and drive stepping motor finally. More important is that data between PC and stepping motor driver is no longer complex data, but digital pulse sequence which can be identified by any stepping motor driver. Because the kernel of system entirely be transplanted into the PC and entirely is open to the user, this software NC system is a real full software NC system.Under current leading windows operating system, such as Windows2000, WindowsXP, it is impossible to access physical port directly, and it is necessary to design bottom driver so that access port indirectly. On the base of functional need and criterion of LPT, this paper redefined 25-pin LPT port used for stepping pulse and other I/O signals. This paper designed bottom LPT driver through configuring the Windows DDK development environment in the Microsoft Visual C++ 6.0, and encapsulated to DLL interface function so that upper applications could call. This work is most important part of print software platform.Finally, according to traits of stepping motor and its driver, and requirements of full-software NC system, this paper presents a method of stepping motor design and designed a stepping motor driver, which is small in size, good in cooling, low in cost and well in performance.

Table of contents

Abstract 3-4 ABSTRACT 4-8 1 Introduction 8-11 the purpose and significance of 1.1 topics 8-9 The purpose of the 1.1.1 subject 8 1.1.2 subject meaning 8-9 1.2 research status 9-10 1.2.1 CNC System Development Status and Trend 9-10 the pneumatic marking machine CNC system 1.2.2 Windows environment Research 1.3 This paper studies the content 10-11 2 pneumatic marking machine software CNC system overall design 11-16 2.1 overall system structure and function 11-13 2.2 pneumatic marking machine CNC system key technical analysis 13-15 2.2.1 underlying LPT parallel port driver design 13-14 2.2.2 Open dynamic link library interface functions designed 14-15 2.2.3 full software CNC stepper drive the design 15 2.3 This chapter Summary 15-16 3 software design 16-35 3.1 underlying LPT parallel port driver design principles and methods 16-24 3.1.1 WDM driver model and architecture [2] 16-18 3.1.2 configure Windows DDK development environment Microsoft Visual C 6.0 18-20 3.1.3 Windows NT/2000/XP access to a physical port principle 20 realization method of access to the physical port 3.1.4 Windows NT/2000/XP 20-24 3.2 underlying LPT parallel port driver designed to achieve 24-28 3.2.1 DriverEntry routine implementation 24-26 3.2.2 LPTDispatch routines to achieve 26-27 3.2.3 LPTUnload routines to achieve 27-28 3.3 LPT parallel port interface DLL function design 28-34 3.3.1 DLL technology and its advantages 28-30 3.3.2 the driver packaged as DLL 30 3.3.3 LPT parallel port DLL interface functions to achieve 30-32 the 3.3.4 DELPHI called development of the VC DLL 32-34 3.4 This chapter Summary 34-35 4 hardware design 35-43 4.1 stepper motor design 35-36 4.1.1 pneumatic marking machine with the characteristics of stepper motor work 35 4.1.2 stepper motor parameters design 35-36 4.2 stepper motor drive design 36-41 4.2.1 drive function and composition 36-37 4.2.2 P89LPC922 microcontroller 37-39 4.2.3 peripheral circuit design 39-40 4.2.4 cooling solution 40 4.2.5 drive embedded software design 40-41 4.3 This chapter Summary 41-43 5 reliability and anti-jamming design 43-48 5.1 drive system reliability design 43-44 5.1.1 drive system failure analysis 43 5.1.2 to improve reliability measures 43-44 5.2 drive system anti-jamming design 44-47 5.2.1 interference sources of 44-45 5.2.2 hardware anti-jamming measures 45 5.2.3 software anti-jamming measures 45-47 5.3 This chapter Summary 47-48 6 Conclusion and Prospects 48-50 Acknowledgements 50-51 the References 51-53 Appendix 53-67 A study for the the Master engaged during the research work and the achievements 53-54 B underlying parallel port driver source 54-59 C parallel port DLL function source 59-67

Related dissertations

  1. Design of distributed control system based on embedded platform
    JieZhouKai ·Xi'an Optics and Fine Mechanics ·2010 ·Master's thesis
  2. WebRTC-based Design and Implementation of Video Conferencing
    XieXiaoBo ·South China University of Technology ·2013 ·Master's thesis
  3. The Study of Valuables Logistics Monitoring Scheme Based on Internet of Things
  4. Real-time and Reliability Research of CAN Bus Communication in Automotive Electronics Test Platform
    GongXia ·Harbin Engineering University ·2013 ·Master's thesis
  5. The Design of Integrated Service Platform for Subway Passengers Information System
    XuJinJin ·Tianjin University ·2012 ·Master's thesis
  6. Study on Eliminating Welding Residual Stress and Deformation by Real Time Ultrasonic Impact Treatment
    XiaoChangHui ·Harbin Institute of Technology ·2013 ·Master's thesis
  7. Research and Development of Cold Rolling Miil MES System
    WanBinJie ·Nanchang University ·2013 ·Master's thesis
  8. Research and Validation of Intelligent Real-Time Data Acquisition Solution
  9. Research of String Vibration Type Mine Pressure Detecting System Based on ARM7
  10. Dynamic Modeling and Robust Control for Space Robot
    ZhangMeng ·Shenyang Aerospace University ·2012 ·Master's thesis
  11. Ethernet embedded parallel computing research and application of data exchange system based on
    WangZhangYan ·Yunnan University ·2012 ·Master's thesis
  12. Design and implementation of Windows security assessment system
  13. Research and implementation of real time collision detection of cloth simulation
  14. Research on Video Surveillance System with 3G Mobile Phone
  15. Research on Haze Removal Algorithms for Digital Images
    HanZuo ·Lanzhou University ·2013 ·Master's thesis
  16. Research on the Image Dehazing Algorithm Based on OpenCL
    LiuXiaoGuang ·Harbin Institute of Technology ·2013 ·Master's thesis
  17. Research on the Technologies of Video Smoke Detection Based on FPGA
  18. Design and Implementation of an Embedded Operation System for Real-time ATR Algorithm Evaluation
  19. Application Research of Real-Time Linux in SMP System
    QiuZuo ·Southwest Jiaotong University ·2012 ·Master's thesis
  20. Design and Implementation of Modules in the Precise Advertising System IDCLICKS
    FangHeDai ·Beijing Jiaotong University ·2012 ·Master's thesis