Design of Embedded CNC System Bottom Software Based on Linux

Author
SunChengJian
Advisor
ZuoHuaSong
School
Wuhan University of Science and Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
463
Citations
6

Request the full text

Abstract

CNC system is a complex control system, particularly for high-end CNC system, it requires more than just the CNC machine tools with high machining accuracy, high reliability and computing power complex curve, but also required to give users a humanized operation interface Therefore, the numerical control system is a complex combination of computer science and electrical and mechanical systems. Beijing University of Aeronautics and Astronautics, the research topics for GSK CNC Equipment Co., Ltd. developed the five-axis CNC system for the practice platform of this thesis, the five-axis numerical control system as a starting point, the to research Linux-based embedded CNC system underlying software design. The CNC system adopts ARM FPGA DSP Linux embedded architecture, ported Linux operating system on the ARM platform, using MiniGUI provides interactive interface. Embedded numerical control system, the underlying software plays a connecting role the underlying hardware circuit and the upper application (such as: interpolation, decoding, etc.) between the bond, the underlying software programs related to the design of the circuit, its the pros and cons of the program, but also related to the stability and efficiency of the implementation of the upper layer applications, the underlying software plays an important role in the whole system. Elaborated from the following four aspects of the numerical control system design of the underlying software. CNC system is a multi-task and strong real-time system of coexistence, NC system, this solution to the problem of the RTLinux operating systems and Linux DSP two kinds. From the memory management, process scheduling in-depth analysis of the pros and cons of Linux and RTLinux discussed the feasibility of the Linux DSP program and elaborate on the strong and weak real-time module division method. Second, in order to make the weak real-time module and strong real-time module coordinated operation of the ARM and DSP DSP HPI and ARM hardware interface, ARM and DSP software design communication solutions based on DSP HPI access timing . Third, in order to provide a good interactive interface to the user in a Linux system transplant MiniGUI as a graphical interface. This paper analyzes the principle of of MiniGUI hardware interface design departure from the human-computer interface hardware on MiniGUI transplantation, and Linux underlying driver implementations. , FPGA is a bridge between the ARM, DSP and servo drives, this article discusses in detail the FPGA control logic implementations, FPGA, ARM and DSP closed loop control of servo drives. ARM FPGA DSP Linux architecture, this paper discusses the breakthrough the the previous ARM FPGA RTLinux architecture of limitations, and enhance the system function, strengthen the interpolation operation capability, suitable for the size of the machining center CNC system. At present, the control part of the five-axis CNC system hardware and software development work has been basically completed, now is the perfect stage.

Table of contents

Abstract 3-4 Abstract 4-9 Chapter Introduction 9-14 1.1 significance 9-10 < br /> 1.2 domestic research 10-12 1.3 Foreign Research 12 1.4 research 12-14 Chapter axis CNC system design 14-23 2.1 Introduction 14 2.2 hardware module design 14-15 2.3 circuit board structure 15 -16 2.4 module design 16-20 2.4.1 Control module introduces 16-18 2.4.2 DSP module introduces 18-20 2.4.3 FPGA / CPLD module introduces 20 2.4.4 Human Interface Module Introduction 20 2.5 module communication between 20-22 2.6 Summary 22-23 Chapter CNC system real-time analysis and implementation 23-32 3.1 numerical control system for real-time requirements 23 3.2 CNC system real solutions 23-24 3.3 real-time operating system indicators and features 24 3.4 embedded operating system and CNC RTLINUX Introduction 24-25 3.5 RTLINUX architecture 25-26 3.6 LINUX and real-time performance analysis RTLINUX 26-30 3.6.1 angle from the task to analyze 26-28 3.6.2 up analysis from the memory management mechanisms 28 3.6.3 From the perspective of the delay time 28-30 <br / > 3.7 LINUX Advantage program selection 30 3.8 system real division 30-31 3.9 Summary 31-32 Chapter LINUX Drivers and MINIGUI transplant 32-43 4.1 LINUX device driver framework 32-35 4.1.1 Linux on the device classification 32-33 4.1.2 driver module architecture 33 4.1.3 device driver file_operations structure 33-35 4.2 device driver written 35 4.3 keyboard circuit hardware description 35-36 4.4 MINIGUI transplant 36-40 4.4.1 MiniGUI IAL introduction 36-37 4.4. 2 poll and select 37-38 4.4.3 MiniGUI associated drivers realize 38-40 4.5 MINIGUI application 40-42 4.6 Summary 42-43 Chapter communication between the ARM and DSP 43-53 5.1 Overview 43 5.2 DSP Host Interface (HPI) Introduction 43-44 5.3 ARM and DSP interface circuit 44-45 5.4 DSP HPI interface drivers, and applications 45-49 5.4. 1 Linux memory management 45-46 5.4.2 mmap Device Operation 46-47 5.4.3 DSP HPI drive to achieve 47-48 <br / > 5.4.4 DSP HPI application implementation 48-49 5.5 DSP and ARM interrupt implementation 49-52 5.5.1 Linux asynchronous trigger 49-50 5.5.2 Asynchronous triggering application implements 50 5.5.3 Asynchronous trigger driver implements 50-52 5.6 Summary 52-53 Chapter servo control interface FPGA logic design 53-61 6.1 Overview 53 6.2 FPGA function of 53-54 6.3 FPGA Development and HDL language 54 6.4 servo control interface FPGA logic design 54-59 6.4.1 FPGA interface module overall structure 54-55 6.4.2 System Utilities module design 55-56 6.4.3 Timer module design 56-57 6.4.4 drive pulse is sent module design 57-58 6.4.5 pulse counting module design 58-59 6.5 FPGA and DSP communication 59-60 6.6 Summary 60-61 Chapter Summary and Outlook 61-62 7.1 Full Conclusion 61 7.2 yet continue in-depth research work 61-62 References 62-65 graduate papers published during 65-66 Thanks 66-67 <br / > Detailed summary 67-70

Related dissertations

  1. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  2. The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
    WangJianFei ·University of North ·2014 ·Master's thesis
  3. The Design and Research of Embedded Multi-axis Control System
  4. 5D film motion experience platform motion control card design
  5. The research and design of a multi legged robot motion control system
  6. The Research on the Ptical Mirror Reflector Single CCD Panoramic Imaging System
  7. Design and Implementation of Unidirectional Data Transmission Device Based on Removable Storage Media
  8. The Research and Implementation of the M-GNSS Positioning Receiver
  9. Design and implementation of universal software radio platform based on multi core DSP
  10. Research of Image Data Caching and Processing in Monitoring System
    LongChangGui ·Tianjin University of Technology ·2013 ·Master's thesis
  11. Design and Implementation of the Hardware Platform for Broadband Digital Beamforming
    LiMingZuo ·Harbin Engineering University ·2013 ·Master's thesis
  12. Design and Realization of Multi-antenna Attitude Measurement Receiver Based on GPS
    WangBiao ·Harbin Engineering University ·2013 ·Master's thesis
  13. The Research on the Terminal Equipment in Power Quality Online Monitoring System
    XiongLiang ·East China Jiaotong University ·2013 ·Master's thesis
  14. Lights Control and Test System Based on Qt
  15. Design and Implementation of the Embedded Video Surveillance Server Based on ARM and Linux
    JiaoFangChao ·Shandong Normal University ·2012 ·Master's thesis
  16. ARM embedded video monitoring system based on compressed sensing
  17. Design and Implementation of Command&Control Computer with Master-Slave
  18. Linux operating system on the ARM hardware platform transplantation
  19. Research of Embedded Operating System Windows CE.net
    YangXiangWen ·Chengdu University of Technology ·2008 ·Master's thesis
  20. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis