Study about Open CNC Technologies and Application on the Make-Mark Control System Based on Windows
- Author
- LeXiaoYan
- Advisor
- ZhouShaoMei , TuRongJun
- School
- Nanchang University
- Major
- Computer Software and Theory
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 56
- Citations
- 1
- Make-Mark Control System
- NC system
- real-time control
- multi-thread
- Data processing
- PCI photoelectric isolated card
Abstract
This thesis introduces how to design and implement the Make-Mark Control System using the open CNC technologies based on Windows platform.Firstly, this thesis analyzes the current situation and development of numerical control technologies at home and abroad. The CNC system will be high-speed、 ultra-precision、 based on PCs networked and Open-Architecture in the future. Considering the need of the CNC technologies’ development and the actuality of hardware and software of the subject, this thesis divides the system into hardware part and software part for the development of the system.The main goal of hardware part designing is to make the most of the existing hardware devices (such as: PCs, Make-Mark machines, Drivers, PCI photoelectric isolated card) in the new system. Here, the special method will be designed for the alterations of PCI photoelectric isolated card.Concerning the design of software part, according to the comparative analysis of three most important typical structures (OMAC 、 OSEC and OSACA) in the international NC field today, based on the OMAC model, the Open Make-Mark Control System constructs its own software model and achieves this system. In the process of the system implementation, some key technical issues in this system are deeply analyzed and researched. The main achievements are made below: In the data processing, this system uses an optimum method. This method can save memory resources and speed up the processing, therefore, it improves the efficiency of making- mark. In terms of the real-time control, under the base of not using other hardware and analyzing and comparing the running effect of various methods for real-time control in the Windows platform, this system applies WDM technologies with the Windows kernel, which can achieve the high precision machining. In terms of the multi-thread, this system has six threads, which are main thread、 user management threads data management threads compiling threads making-mark thread and delay control thread. Through the synchronization and coordination among these threads, the process of making-mark is achieved.The Open Make-Mark Control system has been tested and checked in the production practice. The result was satisfactory.
Table of contents
Summary 3-4
Abstract 4-8
first chapter 8-16
development course and direction of development of CNC technology 1.1 development of domestic and international overview 8-9
1.2 open CNC system and Research In Motion 9-12
1.2.1 Survey and study abroad open CNC system dynamic 9-11
1.2.1.1 NGC and OMAC 9-10
1.2.1.2 OSACA 10
1.2.1.3 OSEC 10-11 < br /> 1.2.2 development Status and domestic research open CNC system dynamic 11-12
1.3 open- system code control system overview and analysis of the major technical difficulties 12-13 <br / > 1.3.1 the main work of this paper 12
1.3.2 open- system code control system overview 12
1.3.3 analysis of the major technical difficulties 12 -13
1.3.3.1 hardware architecture design 12-13
build nbsp 1.3.3.2 software architecture model ; 13
analysis 1.3.3.3 data Processing 13
1.3.3.4 Real-time control 13
1.3.3.5 multithreading technology overall design concept 13
1.4 system and the full text of the organization 13 the overall design ideas -16
1.4.1 system 13-14
1.4.2 entirety organization 14-16
Chapter II system based on Open CNC technology code control system hardware structure design hardware architecture 16-21
2.1 open system code control system 16-17
2.2 stepper motor control technology 17-18
2.2.1 the basic principle of stepper motor segments driving principle 17-18
2.2.2 stepper motor 18
2.3 PCI photoelectric principle isolation card 18-19
transformation of open system design nbsp 2.4 code control system optical isolation PCI card ; 19-21
2.4.1 achieve TTL-level output 19-20
2.4.2 amplifier driving 20-21
Chapter III technology system based on Open CNC code control system software architecture of the overall design 21-27
3.1 comprehensive comparative analysis of the current open CNC system model 21-22
3.2 OMAC structure model software architecture model 22-24
3.3 system code control system 24-27
3.3.1 Human-Computer Interaction layer design 25-26
3.3.2 NC control layer 26
3.3.3 Real-time kernel layer data processing method 26-27
Chapter IV of open system code control system 27-36
4.1 traditional data processing methods 27-28
4.1.1 interpretation 27
4.1.2 compiled 27-28
4.2 improved three data processing methods 28-30 < br /> 4.2.1 duplication of resources flowing interpretation process 28-29
4.2.2 compiled object code 29
4.2.3 explain - compiled 29-30
4.3 open- system code control system data processing methods 30-31
4.4 new method implementation in the system 31-36 <br / > 4.4.1 tag and tag code analysis code input 31-32
4.4.2 data Structure Design 32-33
realize 4.4.3 data processing Chapter 33-36
achieve open- system code control system, real-time control of ordinary timer 36-47
5.1 Windows platform (TIMER) 36-37
5.2 under Windows use VisualC 6.0 correlation function method to achieve delay 37-41
5.2.1 accuracy low latency implementation 37
5.2.2 The use of real-time multimedia timer control 37-40
5.2.3 performance Counters achieve precision delay 40-41
5.2.3.1 Summary of Method 40
5.2.3.2 precision performance counters used in an open system delay method code control system 40-41
5.3 using WDM precise delay control 41-47
5.3.1 VxD and WDM 42
5.3.2 WDM technology principle 42-43
5.3.3 kernel Timer object 43-44 < br /> 5.3.4 system code control system to achieve high-precision real-time control 44-47
Chapter VI multithreading technology in the system 47-56
6.1 multithreading concept 47-48
6.2 multithreading type 48
create 6.3 thread 48-49
6.3.1 user interface thread (UI) to create create 48
6.3.2 worker threads control Functions 48-49
6.3.2.1 write thread 48-49
6.3.2.2 start threads 49
6.3.2.3 access thread return code 49
6.4 thread suspend and wake 49
6.5 communication between threads 49-50
nbsp 6.6 synchronization between threads ; 50-52
6.6.1 using critical sections 50-51
6.6.2 using the Event object 51
6.6.3 using mutexes 51-52
6.6.4 using semaphore 52
6.7 thread termination 52-53
6.8 multithreading technology in an open system code control system 53-56
6.8.1 number of open control system of multi-threaded code division 53-54
6.8.2 each thread synchronization is achieved between synchronization between 54-56
6.8.2.1 each thread exists 54-55 solutions
6.8.2.2 synchronization problems debug 55-56
Chapter VII of the open- system code control system ; nbsp 56-60
7.1 debugging environment 56
7.2 open- system code control system hardware debugging 56-57
optical isolation debug nbsp 7.2.1 PCI card ; 56-57
7.2. 1.1 detection output signal 56
7.2.1.2 detects the input signal 56-57
7.2.2 stepper motor and drive system code debugging 57 <br / > 7.3 open- system code control system software debugging 57-59
7.3.1 unit Testing 57
7.3.2 assembly and testing 57
7.3.3 confirmation test 57-58
7.3.4 system test 58-59
7.4 system debugging principles followed 59
7.5 debugging results 59-60
Chapter VIII summary and Outlook 60-62
8.1 Full Summary 60-61
8.2 prospect research 61-62
References 62-66
studying for a master's degree theses published 66-67
Thanks 67
Related dissertations
- The Research of Windows OS in Die Casting Machine Real-time Control
- Design and Implementation of ETL Oriented on Big Data
- Study on Three-Dimensional Digital Measurement Technology Based on Reverse Engineering
- Software Design of a Certain Experience Platform Multi-parameter Monitoring System
- Design and Implementation of Information Acquisition System Based on News and Forums
- Development of the Waste Transfer Control System
- The Research of Real-time Simulation Experiment of Process Controlbased on Web
- Microcomputer-controled Precision AC High-Voltage Power
- The Research on the Stability Control of Two-wheeled Self-balancing Robot Based on Genetic Algorithms
- Design of CTD Sensor and Research of Data Processing Technology
- Research on Dynamic Calibration Method for Force Transducers Based on Sine Force Loading
- Research on Data Processing and Analysis for Harmless Production Process of Injection Foaming
- Research on Content Distribution Mechanism of MP2P Networks
- Multi-threshold Image Segmentation Techniques Based on Intelligent Optimization Algorithm and Its Parallel Speedup
- Based on the Atos Profiled Morphorpholgy Detection and Reverse Technology Research
- Research on Phase Shifting Profilometry Based Portable Fringe Projection3D Surface Measuring System
- Design and Implementation of Guangxi Investment Group Coordination Office Automation System Based on the SOA
- Application Study of Data Warehouse Technology in the Price Monitoring
- The Research to B/S Based Bank Industry Accounting Report and Building Data Warehouse
- Research on mining algorithm of hierarchical clustering and frequent patterns in time series stream