Research on CNC System Human Interface Based on μC/OS Operating System
- Author
- LuoNing
- Advisor
- PiYouGuo
- School
- South China University of Technology
- Major
- Control Theory and Control Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 7
- Citations
- 0
Abstract
CNC machine is the workhorses of the equipment manufacturing industry, CNC machineis an important foundation of the national economy, it also represents the level and strength ofa country,s equipment manufacturing. Numerical control system is the core of the CNCmachine to achieve automatic processing, and it is the soul of the entire CNC machine tools.the level of control directly determines the level of features and machining accuracy of CNCmachine tools. As the core component of the CNC machine tools, The numerical controlsystem is a research focus in the field of electronics, computer, automation. Open numericalcontrol system based on embedded microprocessor is the development trend of CNC system.After several decades of development, China’s CNC system achieved many majorbreakthroughs. Compared with foreign products our products are less stable, and we have aproblem of poor sets of numerical control system of CNC equipment. There are cases that thenumerical control equipment, drives and motors are not supporting.The CNC system we studied in this paper uses a dual-CPU structure. According to thefunctional requirements of man-machine interface, we use embedded microprocessor chipARM S3C2440and some peripheral interface including SD card, USB, RS-422, RS-485,LCD interface to build the human-computer interface hardware. We use embedded μC/OS-IIoperating system and graphical user interface tools μCGUI to build software platform.This paper focuses on software platform design and realize of man-machine interface,and we implement a successful transplant of μC/OS-II operating system and a graphical usersupport system μCGUI. We also developed UART driver, LCD driver and some other driverwe may need. We transplant the file system FATFS into the system, so we can read andmodify files. We use VHDL language to program the FPGA design. We design the addressdecoder module and some other functional modules and by the correct connection of thesefunctional modules we realize the serial communication interface between man-machineinterface and motion cotroller.This paper also design a CNC interface and NC code interpreter. We design thecommunication protocol between man-machine interface and motion controller based on the information processing. By a experiment we proved that the protocol meet the system’scommunication needs.
Table of contents
Summary 5-6
Abstract 6-11
first chapter 11-17
1.1 CNC System Overview 11-15 the basic composition
1.1.1 CNC machine development history nbsp 11
1.1.2 NC system ; 11-13
1.1.3 development of numerical control technology and Research Status trends 13-14
1.1.4 CNC technology development and application of 14-15
1.2 embedded technology 15
1.3 This paper studies the content 15-17
Chapter II CNC machine interface system overall program 17-23
2.1 CNC system functional requirements analysis and human interface functional requirements analysis 17-18
2.2 CNC overall system architecture 18-19
2.3 Human Interface hardware Description 19
2.4 embedded operating system 19-21
2.4.0 Vxworks 20
2.4.1 embedded Linux 20
2.4.2 WinCE 20-21
2.4.3 μC / OS-II 21
2.5 graphical user interface support system selection 21-22
2.6 Summary 22-23
Article chapters software Platform 23-35
3.1 bootloader bootloader 23-24
3.2 operating system μC / OS-II transplantation 24-27
3.2.1 μC / OS-II operating system 24-25
3.2.2 kernel cutting and transplantation 25-27
3.2.3 operating system μC / OS start 27
3.3 driver Development 27-33
3.3.1 UART driver 28-30
3.3.2 LCD driver 30-33
3.3.3 FPGA driven 33
3.4 file system migration nbsp 33-34
3.5 summarizes this chapter ; 34-35 <br / > Chapter IV FPGA and internal module design 35-47
4.1 FPGA Profile 35-39
4.1.1 FPGA development environment and design process Introduction 35 - 37
4.1.2 FPGA design basic principles 37-39
4.2 FPGA design interior of each module 39-45
4.2.1 address decoder module 40
4.2.2 clock divider module 40-42
4.2.3 transmission module 42-44
4.2.4 receiver module 44
4.2.5 RD signal processing module 44-45
4.3 FPGA simulation test 45-46
4.4 Summary 46-47 <br / > Chapter V application software design 47-57
5.1 system software architecture 47
5.2 user interface design 47-51
5.2.1 μCGUI analysis and transplantation overall architecture 47-49
5.2.2 CNC interface 49-50
5.2.3 CNC interface design 50-51
5.3 CNC code interpreter design 51-53
5.4 protocol design 53-56
5.5 Summary 56-57 <br / > Chapter VI debug and test 57-61
6.1 hardware debug 57
6.2 ARM and DSP communications debugging 57-58
6.2.1 ARM and DSP hardware connection test 57-58
6.2.2 FPGA program testing 58
6.2.3 immunity test 58
6.3 serial line communication experiment 58-60
6.4 summary 60-61
summary and Outlook 61-63
References 63 - 66
studying for a master's degree obtained during research 66-67
Thanks 67-68
accessories 68
Related dissertations
- Design of Remote Strain Measurement System Based on FGPA
- Based on AMBA3.0Bus Image Acquisition System Design and Implementation
- The Research for the Engraving Machine Control System Based on ARM and FPGA
- Research on Multi-axis Motion Controller Based on CAN Bus
- The Research on Ethernet_based Interface of Embeded Motion Control System
- Research on High-Speed Spindle Controller of Precision Grinding Machines
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- The Implementation of New Memory Burn-in Test System
- Design and Implementation of Industrial Gateway Device Based on ARM
- System Design of Digital Printer Based on FPGA and ARM
- Research and Design of Truck-Mounted Weighing System
- Research and Design of a New High-Precision Deep Hole Honing Equipment CNC System
- Refueling machine control device based on IFSF protocol
- Design of Portable Flue Gas Analyzer Controller Based on ARM
- The Research and Design of Embedded Fresh Air Monitoring System Based on ARM
- The Design and Development of Embedded CNC System Based on ARM and μC/OS-II
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Remote Monitor System for Oil Wells Working Condition Based on GPRS
- Engine Room Monitoring System Based on the Embedded Web Server