The Research and Realization of Communication between Principal and Subordinate CNC Systems Based on CAN BUs
- Author
- LiMeiLing
- Advisor
- XiaoBaoZuo
- School
- Taiyuan University of Technology
- Major
- Signal and Information Processing
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 297
- Citations
- 3
Abstract
With the rapid development of modern manufacturing, the degree of automation in the ordinary CNC (Computerized NumericalControl, CNC) machining is not high, the lack of network limitations have become increasingly prominent, the NC system function expansion to become an important direction of development of CNC technology The purpose of this project is to establish a high-reliability, networking, composite numerical control system architecture, making it better adapted to modern manufacturing network, integration trends. CNC system at home and abroad to develop multi-axis CNC system, and has achieved a lot, but in our country, the application of multi-axis CNC system is relatively small, accounting for 70.1% of the existing CNC equipment is \CNC machine tools, type \At the same time due to the rapid development of microelectronics technology, communications technology, computer technology, CAN (Controller Area Network CAN) fieldbus technology as an effective support for distributed control and real-time control of the serial communication LAN has been widely used in control systems between the data communication. This topic with CAN bus technology, to the KND-K1000MII CNC system as the main numerical control system, to KND-KOS system as the numerical control system design based on CAN bus master from CNC systems, namely the main CNC system adopted in the course of their work CAN bus interface with the exchange of information from the NC system. This paper studies the content is as follows: First, from the in the existing CNC system hardware and software based on the analysis of the main, depending on the functions to be achieved, the proposed design of the main from the NC system pieces. Second, chosen STC89C516RD microcontroller as CNC system control chip, careful analysis of the original hardware circuit in the D / A output module, serial communication modules, memory expansion module, input and output module design principles, design CAN communications interface circuits, and all circuit module for the integrated completed board use PADS2005 software design schematics and PCB board design, circuit board to do a good job on the function of each module in the circuit have been successful commissioning. Should pay attention to the problem of system hardware anti-jamming technology is described. Again, based on the analysis from the numerical control system software design, from functional modular angle to achieve message flow design and the CAN communication program design of the operation panel. Circular interpolation algorithm and error. The CAN communication program designed to achieve the initialization of the CAN bus controller SJA1000 CAN underlying protocol, transmit and receive interrupt handler design, Luminary Micro Ltd. developed an application layer protocol-iCAN agreement. Finally, the main from the numerical control system is applied to the processing center of the distribution chain magazine design ideas, analysis of the main CNC system the respective functional allocation of the processing center, explained as the the chain magazine's positioning from the NC system The axis of the advantages of the main frame structure of the the iCAN agreement in the machining center CNC system control process, and specific applications.
Table of contents
Abstract 3-5
ABSTRACT 5-11
first chapter 11-16
the
research background and significance of 1.1 of the topics 11-12
1.2 Fieldbus development status 12-13
1.2.1 a variety of field bus technology standards coexist 12
1.2.2 Fieldbus in the development of our country 12
1.2.3 fieldbus control system 12-13
1.3 CNC system trends 13-14
1.4 The research study content 14-16
overall system design 16-23
2.1 CNC system structure analysis 16-17
2.2 overall system design 17-18
2.3 CAN bus performance studies 18-23
2.3.1 CAN bus Introduction 18
the
technology features in 2.3.2 CAN 18-19
2.3.3 CAN connection and pass 19-20
2.3.4 CAN message 20-21
2.3.5 error detection 21-23
Chapter III system hardware circuit design 23-42
3.1 hardware design principles 23-24
3.2 power circuit design 24-25
3.3 MCU Selection 25-26
3.3.1 STC89C516RD Introduction 25
3.3.2 STC89C516RD related circuit design 25-26
3.4 buttons and display circuit design 26-28
3.4.1 key circuit design 26
3.4.2 liquid crystal display circuit 26-28
3.5 memory circuit design 28-30
3.5.1 program memory space expansion 29
3.5.2 Data storage expansion 29
3.5.3 memory extended schematic 29-30
3.6 CAN interface circuit design 30-36
3.6.1 CAN controller choice 30-33
3.6.2 transceiver choose 33-35
3.6.3 machine CAN interface circuit design 35-36
3.7 serial circuit design 36-37
3.8 DA conversion circuit design 37-38
3.9 level matching module design 38-39
3.10 system hardware anti-jamming technology 39-42
3.10.1 device layout 39-40
3.10.2 wiring 40-41
3.10.3 decoupling capacitor configuration 41-42
system software design 42-60
the
demand for 4.1 CNC systems analysis 42-45
the
the 4.1.1 NC system user needs analysis 42-43
4.1.2 CNC system function module divided 43-45
4.2 overall lower computer software design 45-53
4.2.1 board initialization 46-47
the 4.2.2 operation panel message event handler 47
4.2.3 circular interpolation algorithm 47-50
4.2.4 main communication from the NC system software design 50-53
4.3 main CNC system from the CAN communication protocol 53-60
4.3.1 the iCAN message identifier assigned 53-55
4.3.2 iCAN frame data is part of the definition of 55-57
4.3.3 iCAN protocol communication frame transfer protocol 57-60
the
fifth chapter of the main from the CNC system debugging 60-66
5.1 software development environment and debug environment Introduction 60-62
5.2 hardware system debug 62-66
5.2.1 CAN self transceiver experiment 62-63
5.2.2 two nodes intermodulation 63-66
of
sixth chapter master-slave CNC system with chain magazine's processing center 66-70
6.1 main from CNC system functions in the processing center on the decomposition Figure 66-67
6.2 with lower bit machine control positioning of the advantages of the chain magazine 67
6.3 chain magazine automatic control process 67-68
6.4 with a chain magazine machining centers to achieve 68-70
6.4.1 lower machine work 68-69
the 6.4.2 host computer work 69
6.4.3 iCAN protocol frame structure in the communication of the control system of the machining center control system with chain magazine 69-70
Chapter VII Summary and Outlook 70-72
7.1 text summarizes 70-71
7.2 Research Prospects 71-72
Acknowledgements 72-73
studying for a degree during the published papers 73-74
the
References 74-77
Appendix 77-84
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