The Design and Realization of Economic NC System Based on μC/OS-Ⅱ and Hardware-based Interpolation Chip

Author
LiSuo
Advisor
MaYue , HanWeiGuang
School
Graduate School of Chinese Academy of Sciences (Shenyang Institute of Computing Technology)
Major
Computer Architecture
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2006
Downloads
293
Citations
2

Request the full text

Abstract

NC (Numberical Control) system is technology core of NC machine which is a key of the advanced manufacturing equipments,so it is important to study and master the technology inorder to improve the manufacturing level of our country.The development of NC system has two trends at home. On the one hand, we develop full-function and a high degree of automation NC system; on the other hand, we should spread the economic NC system by the greatest extent in domestic market to accelerate transformation of existing production systems and to meet the needs of appropriate all kinds of levels of production. At present, the economic NC system occupies a major quotient of domestic NC system market, which have many advantages, such as lower prices, mezzo precision, well function pertinence and so on. But economic NC systems has some main disadvantages such as the lower extent of hardware integration,the lower precision of control and the lower interpolation speed and so on.Moreover openness of the system is not enough and the ability of dealing with multitast is weak.To resolve these problems, this paper brings forward the design of embedded two-axes numerical control system based on Hardware-based interpolation chip, which bases on the analysis of the theory of economic NC system in domestic market. This design adopts N80C196K-SCM as primary cup; MCX314-motorial control chip as the secondary CPU, which can account for a lot of disadvantages of the national economic numerical control system such as the low level of hardware-based integration, the low precision and the low frequency of operation. At the same time, the design also make use of embedded operating systemμC/OS-Ⅱto make the system deal with multitask better ensuring the real time capability.X axis and Z axis are controlled by MCX314-motorial control chip in the economic NC system. Software-interpolation function is replaced of line-interpolation and arc-interpolation function in motorial control chip in economic NC system, which can enhance economical NC systemic performance and speed up the processing speed of interpolation computer. This paper introduces some MCX314 movement control software interface function and the realization of these functions.In order to achieve and enhance the openness of NC systems, an embedded operating system-μC/OS-II is transplanted to N80C196KC-SCM in economic NC system. The real-time and multitask capacity inμC/OS- II can enhance real-time control and multitask capacity in economic NC system.

Table of contents

Abstract 2-3 ABSTRACT 3-6 Introduction 6-8 Chapter Summary 8-11 <br / > 1.1 CNC system development overview and topic background 8-9 the 1.2 research purposes and significance 1.3 this project work 9-10 1.4 Chapter Summary 10-11 the MCX314 the CNC system functional design the 11-21 2.1 MCX314 chip About 11-18 2.1.1 Movement control chip MCX314 performance indicators 11 2.1.2 motion control chip MCX314 register 11-14 2.1.3 motion control chip MCX314 various commands 14-15 2.1.4 the MCX314 function analysis 15-18 2.2 The main function of the economic numerical control system design 18-20 <br / > 2.3 Chapter Summary 20-21 Chapter Economical CNC System Design and Implementation 21-39 3.1 CNC system hardware design and implementation of 21 -26 3.1.1 the output pulse Definition (nP P, N nP nP-P, nP-N) 23-24 3.1.2 servo drive universal input (nINPOS, nALARM ) 24-25 3.1.3 overtravel limit switch input (nLMT nLMT-) 25 3.1.4 external pulse control input (nEXOP, nEXOP-) the 25-26 axis 3.1.5 back to zero signal 26 3.2 software design and motion control chip 26-38 3.2.1 Linear interpolation are found; 26-31 3.2.2 arcs, interpolation 31-33 3.2.3 thread interpolation 33-34 3.2 .4-bit mode interpolation 34-37 3.2.5 Input / Output 37 3.2.6 Other functions 37-38 3.3 of this chapter Summary 38-39 Chapter based of 80C196KC μC/OS- Ⅱ transplant 39-63 of 4.1 embedded real-time operating system μC/OS- Ⅱ Introduction 39-46 4.1.1 kernel structure 39-42 4.1.2 Task Manager 42-43 the 4.1.3 time manage and 43-44 communication and synchronization between tasks 4.1.4 44-45 4.1.5 Memory Management 45-46 4.2 transplant feasibility analysis 46 4.3 specific transplantation process 46-58 4.3.1 rewrite INCLUDES.H 47-48 4.3.2 rewrite OS_CPU.H 48-49 4.3.3 rewrite OS_CPU_A.ASM the 49-56 4.3.4 rewrite OS_CPU_C.C 56-58 4.4 CNC system software to achieve the 58-61 4.4.1 software interface the task realization 58-59 4.4.2 59-61 4.5 System Implementation and Validation 61-62 4.6 Chapter Summary 62-63 summarize the 63-64 Reference 64-66 wrote 66-67 Acknowledgements 67

Related dissertations

  1. Design and Application of Real-time Dam Deformation Monitoring Instrument
    ZuoShiBo ·Hunan University ·2013 ·Master's thesis
  2. Research and Implementation of Networked Data Acquisition System Based on Cortex-M3
    ShengQingPeng ·Qilu Industrial University ·2014 ·Master's thesis
  3. Design of CTD Sensor and Research of Data Processing Technology
    LvZhi ·Harbin Engineering University ·2013 ·Master's thesis
  4. Research on the Iris Recogniton System Based on DSP
  5. μC/OS-Ⅱ-based Recording Player Software Design and Implementation
  6. Design and Implementation of Industrial Gateway Device Based on ARM
    ZuoXiaoJing ·Harbin Engineering University ·2013 ·Master's thesis
  7. Microprocessor Protection Algorithm Based on HHT and Its Platform Development
  8. The Research on Intelligent Monitor Equoment of Reactive Compensation in Changing Ternimal of New Rural Distribution Network
    ZhangLingLing ·Hunan University ·2013 ·Master's thesis
  9. The Research and Application of Real-time CDT Protocol in DC Screen
    JiaChengLong ·Zhejiang Ocean University, ·2014 ·Master's thesis
  10. Research and Design of Truck-Mounted Weighing System
    WangHao ·Chang'an University ·2013 ·Master's thesis
  11. Design and Implementation of Rail Flaw Detection System
    JinPeiFeng ·Hunan University ·2013 ·Master's thesis
  12. Research and Design of Quadrotor Control System Based on the Embedded
    WangDongPing ·Huaqiao University ·2013 ·Master's thesis
  13. Development and Experimental Study of Embedded Computer System for Water Quality Monitoring
    WangZhiJiang ·Hebei University of Technology ·2013 ·Master's thesis
  14. Research and Design of a New High-Precision Deep Hole Honing Equipment CNC System
  15. Study on the Resistance Welding Power Source Based on ARM Control
  16. Research of Coal Mine Monitoring System Based on Wireless Sensor Network
    WenXiangGui ·Xiangtan University ·2013 ·Master's thesis
  17. Design and Development of Remote ECG Monitoring System
  18. Study on Embedded Sleep Monitor and Alarm System
  19. Study on the Embedded Equipment Monitoring Platform Based on μC/OS-Ⅱ and LwIP
    LuXu ·Chongqing University ·2013 ·Master's thesis
  20. The Research and Design of Monitoring System on Interior Environment and Equipment Condition
    YangZheZuo ·Wuhan University of Technology ·2012 ·Master's thesis