Research on the CAN-USB Bus Communication Technology for CNC Machine Tools
- Author
- LiNing
- Advisor
- XueJianBin
- School
- Nanjing University of Aeronautics and Astronautics
- Major
- Mechanical and Electronic Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 41
- Citations
- 0
Abstract
In modern manufacturing, open CNC (Computer Numerical Control) system could accommodateto the modern mode of production which has the characters of many varieties, medium or small batch.And it has become an important tendency in the development of modern NC (Numerical Control)system.The SKY2006NA open CNC machine is a product produced by Nan Jing SKY Electronics Co.Ltd. PMAC(programmable multi-axes controller),which is one product of the DELTA TAU Co. inUSA, is the motion controller of the machine.It can be inserted into the motherboard of the PC andcommunicate with it through the PCI bus and with AC servo drive system, front-panel and otherauxiliary equipments in serial mode.Because of the limited resources of the PCI,it is not easy toexpand other function of the NC.Meanwhile the mode of communication with the field devices isagainst the realization of automation and network.In order to build an compact, reliable and effective communication system applied into the NC,combined with CAN bus, as an field bus widely used in the modern industries and popular USBtechnology in data transmission, a plan used for the communication which is based on CAN bus andUSB is presented.The USB-CAN module can communicate with the PC through the USB interface onthe PC and connect with the CAN_bus through two signal wires CAN_H and CAN_L. It makes thePC as a CAN node communicate with other bottom peripherals.Firstly according to the CAN2.0B and USB protocols, the architecture of the communication isbuilt.And then choose USB controller chip CY7C68013A and CAN controller SJA1000to constructthe hardware platform after the functions and feet of these chips are analysed in detail.And use themicrocontroller development tool–KEIL C debug a number of communication experiments. Finallyuse the SOPC Builder tool in Quartus II software to embedded USB and CAN IP cores into theminimum embedded system constructed on FPGA. Acceptance filter function module and registersmodule are simulated on the RTL level so as to verify the design.
Table of contents
Summary 4-5
Abstract 5-12
first chapter 12-17
1.1 research background 12-14
1.1.1 open CNC system development process 12-14
1.1.2 domestic open CNC system development 14
1.2 sources and significance of the subject 14-15
1.2.1 topics sources 14
1.2.2 research significance 14-15
1.3 The main contents and structure 15-17
1.3.1 The main contents 15-16
1.3.2 organizational structure 16-17
The second chapter of open CNC system CAN bus applied research 17-28
2.1 CAN bus describes 17-19
2.1.1 CAN bus generation and development 17
2.1.2 CAN bus technical features 17-18
2.1.3 CAN bus in the development of numerical control system application 18-19
2.2 CAN bus research 19-20 <br / > 2.2.1 CAN bus operating logic 19
2.2.2 CAN bus bit arbitration 19-20
2.2.3 CAN bus level protocols 20 <br / > 2.3 CAN packet transmission technology 20-27
2.3.1 frame format 20
2.3.2 frame types and uses 20-26 <br / > 2.3.3 packet filtering and packet checksum 26
2.3.4 coding - bit stuffing 26-27
2.3.5 error type 27
2.4 Chapter Summary studies 27-28
Chapter III USB bus communication system 28-36
3.1 USB Overview 28-29
3.1.1 USB background 28-29
3.1.2 USB bus features 29
3.2 USB system schema 29-31
3.3 USB transfer 31-35
3.3.1 USB field 32
3.3.2 package type 32-33
3.3.3 USB transaction processing 33
3.3.4 transmission type 33-35
3.4 Summary 35-36
fourth chapter based on CAN-USB communication module design 36-49
4.1 CAN-USB communication module design is based on an overview of 36
4.2 CAN-USB communication module hardware design 36-41
4.2.1 USB interface module 37
4.2.2 CAN interface module 37-39
4.2.3 peripheral modules 39-41
4.3 CAN-USB communication module software design 41-48
4.3.1 CAN communication function 41-42
4.3.2 initialization procedure designed 42-44
4.3 .3 send programming 44-46
4.3.4 to receive programming 46-48
4.3.5 interrupt handling 48
4.4 chapter Summary 48-49
Chapter V CAN-USB communication module into the FPGA research 49-66
5.1 FPGA and SOPC Introduction to research and development 49-51
5.1.1 FPGA Profile 49-50
5.1.2 SOPC research and development 50-51
5.2 with USB control SOPC embedded systems built 51-52
5.3 CAN controller receives the filtering module design design and implementation 52-62
5.3.1 receive filter 54
5.3.2 under BasicCAN mode receiver filter receive filtering nbsp 54-55
5.3.3 PeliCAN mode ; 55-59
5.3.4 simulation results analysis 59-62
5.4 CAN controller register module design 62-65
5.4.1 register module design and implementation 62-64
5.4.2 simulation results analysis 64-65
5.5 summary 65-66
Chapter VI summary and Outlook work 66-68
6.1 This article summarizes 66 <br / > 6.2 topics outlook outlook 66-68
References 68-71
Thanks 71-72
research and published during the school papers 72-73
Appendix 73
Related dissertations
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- Research on the Control System of5-Axis NC Electrochemical Manuafacturing Machine Tool Based on PMAC
- Research and Development of PMAC-Based Open NC System for Roll Grinder
- Study on the CNC System for the Serial-Parallel Kinematics Machine Tool Based on Visual C++
- Open CNC system research based on PMAC motion controller
- Development of 3-RRRT Parallel Manipulator Numerical Control System Based on PMAC
- The Research and Application of Open Network CNC System Based on PMAC
- Development and Study of Numerical Controlling Interface of Large-scale Drinding Machine Based on PMAC
- The dyeing automatically with liquid machine and the computer control system design
- Study on the NC System and Virtual Machining for the Turning-Milling Composite Machine Tools
- Technology of Abrasive Water Jet Precise Machining Based on Open Numerical Control System
- Development of Numerical Control System of Pipe Cutting Machine Possessing Five Simultaneous Motion Axes and Error Compensation Functions
- Research of PMAC-Based Open NC System for Roll Screen Printer
- Research on the Model of STEP-NC Interpreter
- Exploitation of Paralle Machine Tools’ Open CNC System Functional Modules Based on Windows