Development of Dual-Redundant CAN Bus Module
- Author
- DuZuoZuo
- Advisor
- FuPing
- School
- Harbin Institute of Technology
- Major
- Instrument Science and Technology
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 57
- Citations
- 0
Abstract
Field bus is a connection network between the controller and measurement device at the production site. Now there are more than ten kinds of field bus which are recognized, the CAN bus is also one of them. Because of its high reliability, low cost, stability, etc, which are widely used in control areas liking automotive, electrical, mechanical, chemical, aerospace. However, it requires highly reliable data transfermation and bus management in the field of aerospace. While the CAN protocol cannot meet this requirement, thus it is necessary to design higher-level protocol and hardware design.The dual redundant CAN bus module based on NIOSII processor is designed in this paper. It proposed the dual redundant CAN communication protocol, which supports this module, through the CAN protocol, 1553B protocol and redundancy analysis. The protocol uses the CAN bus of extension frame to achieve the bus management and flexible switching bus.In dual redundant CAN bus module, it is designed by the NIOS II processor embedded in FPGA, It selects SJA1000 as the CAN controller and TJA1000 as the CAN transceiver. It achieves communication between NIOS II processor and the peripherals through Avalon interface module connected. Including communication between NIOS II and the CAN controller SJA1000, or SRAM, or configuration chip EPCS4 of FPGA.According to the dual redundancy protocol, Nodes on the bus contain master nodes and slave nodes, NIOS II processor for modular programming is done in eclipse integrated development environment to achieve communication between nodes and make the master and slave nodes finish their respective functions. The master node is mainly used to send commands or data and error handing. The slave node is mainly used to receive commands or data and response back to the master node after completion of the implementation.Using three dual redundant CAN bus module to build a test platform, a module as the master node and the other two modules as a slave node. Experimental results show that the hardware design and the software design is reasonable in the dual redundant CAN bus module which is proposed in the paper, having implemented redundany.
Table of contents
Summary 4-5
Abstract 5-9
Chapter 1 Introduction 9-20
1.1 The purpose of the study and significance -10
1.2 research status 10-18
1.2.1 Fieldbus foreign research status nbsp 10-12
1.2.2 CAN bus abroad Research ; the 12-17 1.2.3 CAN bus domestic research
17-18
1.3 content 18-20
Chapter 2, the overall program design 20-40
2.1 CAN bus topology 20
2.2 design requirements 20-21
2.3 system software overall program design 21 - 24
2.3.1 CAN drive redundancy 21
2.3.2 CAN controller redundancy 21-23
2.3.3 system-wide redundancy 23-24
2.4 dual redundant protocol the 24-34
2.4.1 system structures 24-25
2.4.2 CAN message frame format 25-28
2.4.3 packet transmission format 28-32
2.4.4 master node operating 32
2.4.5 from node operation 32-33
2.4.6 master node error handling the 33-34
2.5 design selection 34-36
2.6 chip of select 36-39
2.6.1 FPGA choice the 37-38 2.6.2 CAN protocol controller of choice
38-39
2.6.3 CAN transceiver is the choice 39
2.7 Chapter Summary 39-40
Chapter 3 hardware design 40-53
3.1 overall hardware block diagram 40-52
3.1.1 CAN transceiver circuit design 41-42
3.1.2 CAN controller design 42-43
3.1.3 FPGA design 43-52
3.2 Chapter Summary 52-53
Chapter 4 software design 53-67
4.1 single-channel communication design 54 - 56
the 4.1.1-initialization Design the 4.1.2 send data programming 54-55
55-56
4.1.3 Receive Data program design 56
4.2 redundancy program designed 56-66
4.2.1 master node redundancy program designed 56-64
4.2.2 from node redundancy programming 64-66
4.3 Chapter Summary 66-67
Chapter 5, validation and testing 67-77
5.1 Avalon-SJA1000 interface test 67-68
5.2 Functional Test the 68-76
5.2.1 master node - node transmission formats 69-72
5.2.2 master node broadcast transmission format 72-73
5.2.3 from node - node transmission format 73-74
5.2.4 from the the node broadcast transmission format 74 -75
5.2.5 redundant function test 75-76
5.3 Chapter Summary 76-77
conclusion 77-78
References 78-83
Acknowledgements 83
Related dissertations
- Research and Development on Industrial Communication System Based on Field Bus
- Design and Implement of Testing-end of Ship Navigation Communication System Based on CAN Bus
- Design of Embedded Data Acquisition and Processing System of MEMS-INS
- Design and Realization of CS-50Catalyst Production Control System Based on CAN Bus
- Design of DeviceNet-CANopen Integrated Slave Node
- The Research of Embeded Intelligent Household Based on ARM
- Design of Industrial Controller Based on EPA
- The Design of the Rectification Recovery System Based on the CAN Bus
- Safety Design of Distributed Control System for a PVC Production Process
- Performance Analysis of EPL and Its Application in DCS System
- Research on the Data Redundancy Technique for the Large-scale and Distributed Storage Systems
- Research of Fault-tolerant Technology and Its Application in Integrated Navigation System
- HLR Troubleshooting and Redundancy HLR Program Design
- Research on the Transport Protocol Based on Adaptive Network Coding with Loosed Packet Predicted in Mobile Ad Hoc Networks
- Redundancy in Legal English and Its Chinese Translation
- On Redundancy Translation of Political Texts from the Perspective of Skopos Theory
- Simultaneous Interpreting Practice Report
- Redundancy and Tactics in Chinese-english Consecutive Interpreting
- The Effects and Mechanism of Ca2+/CaN/Cbl-b/Akt in the Oxygen-glucose Deprivation and Pharmacological Preconditioning
- The Design of Digitalized High-frequency Switching Power Supply Based on DSP