Communication between Master and Slave Nodes Based on CANopen+uC/OS_II Platform
- Author
- WangRuiPeng
- Advisor
- YuZhenSheng
- School
- Tianjin University
- Major
- Communication and Information System
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 356
- Citations
- 4
- CAN bus
- CANopen Protocol
- uC / OS_II operating system
- ARM7
- Communication between master and slave nodes
Abstract
CANopen is based on the CAN bus application layer protocol. CAN bus data transfer based on the definition of different frame structures , forming a PDO, SDO, Heartbeat and a series of sub- agreements by these sub- agreements constitute an application layer protocol data transmission became CANopen. uC / OS_II is an open source real-time multi -tasking operating system . Its kernel provides task scheduling and management, time management, task synchronization and communication , memory management and interrupt service functions. uC / OS_II for small control systems , with the implementation of high efficiency, small footprint, excellent real-time performance and scalability , and other characteristics . PHILIPS LPC2129 ARM7 chip company is a real-time simulation and tracking 32-bit ARM7TDMI-S CPU, and with 256k bytes (kB) of embedded high speed Flash memory. LPC2129 In addition to having a plurality of 32-bit timers , 4- channel 10-bit ADC, PWM channels , 46 GPIO lines with up to nine external interrupt , but also has two separate built-in CAN controller CAN bus interface . Paper presented at the PHILIPS LPC2129 ARM7 chip companies achieve CANopen uC / OS_II communication between the master and slave nodes system software architecture design and hardware debugging process . Main work includes: ARM7 chip LPC2129 transplant uC / OS_II, transplant CANopen, in uC / OS_II embedded CANopen operating system kernel design system CANopen communication between master and slave node software architecture , writing software , debug hardware circuits. CANopen is a CAN bus based mainstream of today's application-layer protocols. CANopen-based data communication is used in automotive electronics , industrial control , marine electronic equipment, medical equipment and other fields, the current development trend of CANopen strong , continue to be used in various fields , will become the industry 's development priorities.
Table of contents
Chinese Abstract 3-4
ABSTRACT 4-7
The first chapter 7-15
1.1 Introduction 7
1.2 CANopen Introduction and development 7-13
1.2.1 CAN Bus Introduction 7-10
1.2.2 CANopen protocol introduced 10-13
1.3 of this thesis work content 13-14
1.4 Research progress of this project and achievements 14-15
Chapter CANopen kernel interpretation and transplantation 15-25
2.1 CANopen protocol stack, the basic structure of 15-21
2.1.1 Object Dictionary 16-17
2.1.2 PDO module 17-18
2.1.3 SDO module 18-19
2.1.4 LSS module 19-20
2.1.5 NM module 20-21
2.2 CANopen protocol ARM7 transplant 21-24
2.3 transplant CANopen work summary 24-25
Chapter embedded CANopen kernel to uC / OS_II system 25-31
3.1 uC / OS_II introduction 25-29
3.1.1 kernel 25
3.1.2 Task 25-27
3.1.3 Clock 27
3.1.4 Signal 27-28
3.1.5 Interrupt 28-29
3.2 CANopen in uC / OS_II Embedding 29-30
3.3 CANopen embedded uC / OS_II test 30-31
Chapter IV application design 31-48
4.1 master node hardware structure 31-35
4.1.1 master node hardware schematics 31-34
4.1.2 master node Function 34-35
4.2 from node hardware structure 35-40
4.2.1 from node hardware schematics 35-40
4.2.2 Functional description from the node 40
4.3 master-slave node software architecture design 40-48
4.3.1 master node software design 40-43
4.3.2 software from the node design 43-46
4.3.3 master and slave nodes communicate 46-48
Chapter V system debugging 48-60
5.1 debugging environment and development tools About 48-51
5.1.1 ADS1.2 Profile 48-50
5.1.2 EasyJTAG emulator Profile 50
5.1.3 in ADS using EasyJTAG emulator 50-51
5.2 CANopen system debug observation software VCI 2.16 Description 51-53
5.3 Work Process 53-57
5.4 system electromagnetic compatibility studies 57-60
Chapter VI project summary 60-62
References 62-64
Thanks 64
Related dissertations
- Design and Implement of Wood Processing Network Control System Based on Canopen
- Design on CAN-Based Control System for Large Plastic Machines
- Hardware Design and Realization of Power Cable Pipeline Online Monitoring System
- The Study on the Belt Protect Switch Monitoring System Based on CANopen Protocal
- 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