Research of Master-slave Station Communication Based on CANopen Profile
- Author
- ChenHaiYan
- Advisor
- YiLingZhi
- School
- Xiangtan University
- Major
- Power Electronics and Power Drives
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 25
- Citations
- 0
Abstract
With the development trend of digitization, intelligence and networking of ACservo system and more and more application of fieldbus technology in the area ofindustrial automation, many servo driver equipments have all kinds of fieldbuscommunication interface. On the basis of in-depth research of CAN bus and itsapplication layer protocol, unified the CANopen fieldbus technology and the ACservo mechanism, has designed the fieldbus interface of AC servo digitalcommunication connection based on the CANopen technology, and the master stationfor AC servo driver is designed as well.First the CAN bus and CANopen protocol is studied in the paper, thecharacteristics of CAN bus and the protocol structure of CANopen fieldbus isdescribed in detail. A plan used for the communication which is based on CAN busand USB is presented.The USB-CAN module can communicate with the PC throughthe USB interface on the PC and connect with the CAN_bus through two signal wiresCAN_H and CAN_L. It makes the PC as a CAN node communicate with otherbottom peripherals.And then choose USB controller chip CY7C68013A and CANcontroller SJA1000to construct the hardware platform after the functions and feet ofthese chips are analysed in detail.And use the microcontroller development tool–KEIL C debug a number of communication experiments. At the same time, the slavestation’s software design for AC servo driver is introduced in this paper, thesoftware’s gross structure and each module’s function, CANopen protocol stack’sdesign methods and key technologies are analyzed in detail. The method of theCANopen communication protocol stack and the servo-control protocol stack isrealized.According to the completion of the hardware and software of the overall system,the permanent magnet synchronous AC servo system integrating the CANopenfieldbus interface is builted by using USB-CAN interface card and PC machine as themaster station, The CANopen communication ability of the master-slave station, thefunctions of the servo system in position and velocity modes have been tested, and theexpected results reach the design requirements.
Table of contents
Summary 4-5
Abstract 5-6
directory 6-9
Chapter 1 Introduction 9-15 <br / > 1.1 fieldbus technology 9-11
1.1.1 fieldbus Overview 9-10
1.1.2 servo drive fieldbus 10-11 <br / > History and Current Situation 1.2 CANopen of purpose and significance of the research 11-12
1.3 of 12-13
1.4 herein and the contents of the work arrangements 13 -15
1.4.1 This paper work done 13
content herein 1.4.2 arrangements 13-15
Chapter 2 CANopen protocol analysis 15-36
2.1 CAN bus and CANopen protocol outlined 15-16
2.1.1 CAN bus Overview 15-16
2.1.2 CANopen sub-protocol outlined 16
2.2 CANopen communication protocol DS301 16-30
2.2.1 CANopen communication model 17-20
2.2.2 CANopen communication objects defined 20-22
2.2.3 service Data Objects : SDO 22-24
2.2.4 process Data Objects : PDO 24-26
2.2.5 network management : NMT 26-28
2.2.6 special Function object 28-29
2.2.7 object Dictionary 29-30
2.3 CANopen servo control protocol DSP402 30-35
2.3.1 state machine and its control 30-32
2.3.2 control mode setting 32-33 <br / > 2.3.3 position control mode 33-34
2.3.4 speed control mode 34
2.3.5 homing mode 34-35
2.4 Summary 35-36
Chapter 3 USB-CAN master card hardware and software design 36-47
3.1 USB-CAN hardware design 36-40
3.1.1 USB interface module 36-37
3.1.2 CAN interface module 37-39
3.1.3 peripheral modules 39-40
3.2 USB-CAN software design 40-46
3.2.1 CAN communication function 40-41
3.2.2 initialization 41-43
3.2.3 sending program designed 43-44
3.2.4 receiving program designed 44-46
3.2.5 interrupted 46
3.3 Chapter Summary 46-47
Chapter 4 of the master and slave communication software design 47-70
4.1 overall design 47-48 <br / > 4.2 CANopen DS301 communication protocol stack designed 48-60
4.2.1 OD ( object Dictionary ) design 48-50
4.3.2 CANopen initialization 50 -52
4.2.3 communication loop processing 52-58
transceiver 4.2.4 packets 58
4.2.5 PDO processing 58 -60
4.3 CANopen servo control DSP402 protocol stack design achieve 60-69
4.3.1 state machine 60-63
4.3.2 motor initial position detection 63-64
4.3.3 position and velocity calculations 64-66
4.3.4 PP, PV, HM three modes of control to achieve 66-69
4.4 Summary 69-70
Chapter 5 systems running the test 70-75
5.1 system test platform 70
5.2 CANopen communications Test 70-71
5.3 servo control mode test 71-74
5.3.1 PP mode test 72-73
5.3.2 PV mode test 73-74
5.3.3 HM mode test 74
5.4 summary 74-75
Chapter 6 summary and Outlook 75-77
6.1 This article summarizes 75
6.2 Prospect 75-77
References 77-80
Thanks 80-81
CVs, published during the academic master's degree and research 81
Related dissertations
- The Design and Implementation of the Permanent Magnet Synchronous Motor Servo System
- Design and Research of Development Platform for Servo Control System with PMSM
- Study on Servo Control System of Optical Turntable Based on DSP
- Design and Research of High Frequency Digital Inverter Based on DSP
- Hardware Design of PMSM Servo Controllers Based on TMS320F28035
- Research on the Elevator Applications of Pmsm Based on the SVPWM Technology
- Development on Vector Control System for Permanent Magnet Synchronous Motor
- The Research on Sensorless Control of PMSM Based on EKF Theory
- Research and Design of Permanent Magnet Synchronous Motor Servo Drive
- Study of Permanent Magnet Synchronous Motor Drive and Regeneration Energy Feedback Based on DSP
- Design and Implement of High Performance and Universal Interface AC Servo Controller
- Research of Vector Control System for Permanent Magnet Synchronous Motor
- Research and design of driving system of welding robot
- Research on the Slave Station for AC Servo Driver Based on CANopen Protocol
- Research and Development of PMSM Servo Control System
- PID Control Based on Fuzzy Adaptive Servo Control System for AC PM
- Servo Control System Design and Research of Embedded NC Repertoire
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Intelligent Video Surveillance System Based on DSP
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA