Development on the Distributed CNC System Based on CAN Bus
- Author
- JinZhenHua
- Advisor
- ZhangDongLiang
- School
- Shandong University
- Major
- Control Science and Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 82
- Citations
- 0
Abstract
In today’s era. along with the rapid progress of IT, it exits many problems, such like the prevalence levels of ordinary automation numerical control system is very low, and the level of network is very low also. CAN bus as a hotspot technology research in the automatic control field today, with its stable open as well as digital multi-point communication network, acquire more and more extensive applications in the automotive area, industrial site, smart buildings, and other areas. The system format by CAN bus has the characteristics of openness, as well as easy to extend the upgrade, easy to design and simple wiring system, running stable, and the low cost of development, easy to use and maintenance, etc.. CAN bus technology used in CNC systems, which can solve the above-mentioned problems in the modern ordinary CNC system perfectly. So, it realizes upgrading of the CNC system.In this paper, through the use of the CAN bus technology, as well as the PC technology,Ⅰ design a distributed numerical control system. The overall structure of the system is given in this article, and CAN bus protocol priorities are introduced in detail. As the main object of the study for CAN bus system intelligent node, which composed the CAN-bus distributed numerical control system,Ⅰ Completed the hardware design and software design of the system. Via the CAN bus, it received control commands from the host PC to control the CNC system, and describe in detail about CAN bus communication between the MCU and PC programming. The PC is connected to the CAN bus adapter and the next crew intelligent node CAN bus adapter plug, easy to use and flexible. In the design of the host computer part,Ⅰ complete of the design work for the system monitoring software on the PC. The PC software is programmed by the C++Builder, which can achieve good portability and scalability. Interpolation algorithm uses the open-loop control, and gives the simulation test run of the system. This article also gives the distributed numerical control system for the formulation of the CAN bus application layer protocol, which carry on an exploration for the CAN bus widely used in the numerical control system. The structure of the system is reasonable and reliable performance, and greatly improves the integration of the CNC system to achieve a stable and fast transfer data between PC and CNC equipment, and can be widely applied to other distributed monitoring and control system. Finally, the article gives a summary of the digital distributed control system. The system has many advantages, such as simple of structure, easy-to-use, stable operation and low cost.
Table of contents
Directory 4-6
CONTENTS 6-8
Summary 8-9
ABSTRACT 9-11
first Chapter Introduction 11-22
1.1 Introduction 11
1.2 fieldbus technology Introduction 11-17
characteristics 1.2.1 fieldbus technology main advantage of 12
1.2.2 fieldbus systems 12-13
1.2.3 of several commonly used fieldbus 13-17
1.3 CAN bus Research Status of meaning 17-18
1.4 of this study 18-20
1.5 the main structure of the system 20-22
Chapter II CAN bus protocol 22-29
2.1 CAN bus protocol main features 22
2.2 CAN bus signal transmission distance and signal level in the form of 22-23
network Structure 2.3 CAN bus protocol 23-24
2.4 CAN bus frame type and composition of the structure 24-27
2.5 CAN bus arbitration mechanism 27-28
2.6 CAN bus bit timing mechanism 28
2.7 Summary hardware 28-29
Chapter III system design 29 -45
overall structure of the 3.1 -bit machine intelligent node 29-30
3.2 STC10F08XE microcontroller 30-31
3.3 CAN bus controller SJA1000 31 -34
3.3.1 SJA1000 major new features 31-32
3.3.2 SJA1000 main pin description 32-33
3.3.3 SJA1000 the main register 33-34
3.4 CAN bus transceiver device PCA82C250 34-36
3.4.1 PCA82C250 main features 35-36
3.4 .2 PCA82C250 works 36
3.5 lower machine intelligent node in the bus communication part of the hardware circuit design 36-40
3.5.1 CAN bus controller SJA1000 control module 37-38
3.5.2 CAN bus transceiver PCA82C250 drive circuit design 38-40
3.6 stepper motor control module hardware design 40-44
3.6.1 stepper motor briefly 40-41
3.6.2 main characteristics of stepper motor 41-42
3.6.3 stepper motor control circuit design 42-44
3.7 Summary 44-45
Chapter IV system software design 45-61
4.1 Introduction to the main module 45-46
4.2 intelligent node main part 46-47
4.3 SJA1000 in Intel mode to read and write internal registers method 47-51
4.3.1 SJA1000 addressing method 47-48
4.3.2 read in Intel mode SJA1000 internal register 48-49
4.3.3 in Intel mode under the internal registers of the SJA1000 write initialization module 49-51
4.4 CAN bus control device of SJA1000 51-54
4.4.1 SJA1000 initialization process of 51-52
filter settings 4.4.2 SJA1000 acceptance of 52-53
4.4.3 bus timer timing method 53-54
4.5 lower machine the CAN bus transmission program 54-57
4.6 bus intelligent node receives work program designed 57-58
4.7 stepper motor control module software design 58-60
4.8 Summary 60-61
Chapter PC software design 61-80
5.1 object -oriented programming 61 -62
5.2 CAN bus adapter 62-65
5.2.1 PCI bus 63
5.2.2 CAN -bus adapter card major structural develop 63-65
5.3 CAN bus application protocol 65-67 assigned ID numbers section
5.3.1 CAN bus system for data frame data bytes define 65-66
5.3.2 of the data frame data bytes define 66-67
5.4 system PC software 67-72 <br / > Initialize workflow 5.4.1 CAN -bus adapter card 69-70
5.4.2 PC to send programming 70-71
5.4.3 PC receiving program design 71-72
5.4.4 monitoring interface shows part interpolation algorithm 72
5.5 CNC system 72-77
5.5.1 straight interpolation algorithm 73
5.5.2 circular interpolation judgment method 73-74
5.5.3 endpoint 74
5.5.4 PC motion control programming sports 74-77
5.6 PC control Pro control chart 77-78
5.7 Summary 78-80
Chapter VI Conclusion 80-82
References 82-88
Thanks 88-89
dissertation assessment Eris and the respondent table 89
Related dissertations
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- The Design of Hybrid Electric Bus Data Acquisition and Test System
- Industrial Field Data Acquisition System Design Based on CAN Bus
- Design of the Hazard Source Monitoring System Based on CAN Bus
- The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
- Research on Data Acquisition System of Can Bus
- The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
- Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
- Design and Implementation of Intelligent Wiring Hardness Detection System
- Research on Indoor Localization System for Intelligent Wheelchair
- Research on CAN Bus Communication and Application Experiments
- Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
- Research of Fieldbus Relay Basing on CAN Bus
- Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
- CAN Network Development of Commercial Vehicle
- Based on Smith Fuzzy-PID of Hot Drawing Roller Temperature Control System
- Research on the Scheduling Algorithm of Networked Control System Based on CAN Bus