Design and Implementation of the Communication System for the Distributed Multi-Axis Motion Control System Based on CAN Bus
- Author
- GuoGuangLei
- Advisor
- YangFangChun
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 363
- Citations
- 4
Abstract
Fieldbus is used in the production site , multi-node bidirectional serial digital communication system between computerized measurement and control equipment , also known as an open , digital, low-level control of multi-point communication network . Fieldbus marked by the appearance of industrial control technology is the beginning of a new era . CAN bus (Controller Area Network, Controller Area Network ) is a fieldbus , it is effective to support distributed control or real-time control of the bus serial communication network . Compared with other fieldbus CAN bus data communication has outstanding reliability , real-time and flexibility . This article first introduced the CAN bus , its technical features and protocol standards . For distributed multi-axis motion control system based on CAN bus communication system , the authors conducted a needs analysis and overall design . The overall design of content including : hardware and software structure of the system network topology , communication systems . In the overall design of the work focuses on the design and implementation of the CAN node . CAN node hardware structure is composed by the master controller , CAN controller and CAN transceiver . The software structure of the CAN node communication software model , which is the focus of this article . Communications software models including application layer protocol module , communication module and motion control application module . Among them, the application layer protocol module , including the contents of the message identifier assigned data field formats , data exchange and packet filtering mechanism ; basic communication module includes the initialization of the CAN controller , packets received, packets sent , error processing and interrupt service routine ; motion control application modules , including the contents of the output control commands and input status information . Of completed software development and design of test cases . Finally, system simulation test platform , a test of basic communication capabilities . The results indicate that the communication system is the initial realization of the design requirements .
Table of contents
Abstract 4-5
ABSTRACT 5-10
The first chapter 10-15
1.1 Background 10-11
1.2 CAN bus application status at home and abroad and prospects 11-12
1.3 Background and Significance topic 12-14
1.4 This organizational structure 14-15
CAN bus communication standard Chapter Summary 15-22
2.1 CAN bus technology features 15-16
2.2 CAN bus network hierarchy 16-17
2.3 CAN bus communication protocol 17
2.4 CAN message frame type 17-19
2.5 CAN message frame format 19-20
2.6 CAN bit arbitration techniques 20
2.7 CAN packet filtering technology 20-21
2.8 CAN communication errors and processing 21
2.9 CAN-based higher layer protocols 21-22
Chapter CAN bus communication system's overall design 22-28
3.1 System Design Requirements Analysis 22-23
3.2 system network topology 23-25
3.3 communication system hardware 25
3.4 communication system software model 25-28
3.4.1 software model application layer protocol module 26-27
3.4.2 software model of the basic communication module 27
3.4.3 software model of motion control application module 27-28
Chapter CAN bus communication system hardware and software design and implementation 28-53
4.1 CAN bus communication system hardware design and implementation 28-33
4.1.1 CAN node hardware components 28-29
4.1.2 CAN node hardware implementation 29
4.1.3 Main characteristics of the chips and functions 29-33
4.1.4 CAN node hardware anti-jamming measures 33
4.2 CAN bus application layer protocol module design 33-38
4.2.1 message identifier assignment 34-35
4.2.2 Data field information format 35-36
4.2.3 Data exchange 36-37
4.2.4 packet filtering mechanism 37-38
4.3 CAN bus communication system software design 38-53
4.3.1 CAN bus bit rate setting 38-41
4.3.2 important data structure design and function 41-43
4.3.3 CAN controller initialization module 43-44
4.3.4 packet receiver module 44-46
4.3.5 packet transmission module 46-48
4.3.6 Initialization main controller module 48
4.3.7 Interrupt Service Routine module 48-50
4.3.8 main function module 50-52
4.3.9 motion control application module 52-53
Chapter communication systems software development and testing 53-59
5.1 software development environment 53-54
5.1.1 CSS PIC18 C compiler 53
5.1.2 Description of special instructions 53
5.1.3 Setting up development environments 53-54
5.2 source development 54-55
5.3 system simulation test 55-59
5.3.1 simulation test system architecture design 55-56
5.3.2 test case design and test results 56-59
Chapter VI Conclusion 59-61
6.1 Conclusion 59
6.2 future work 59-61
References 61-62
Abbreviations bilingual table 62-63
Thanks 63
Related dissertations
- Design and Implementation Communication System of Remote Elevator Monitoring System
- 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
- Microprobe Automatic Test System and Performance Research
- 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
- Research of Self-adjusting Fuzzy PID for Automatic Analyzer Sampling Institution
- 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