Research of Intelligent Relay Based on the Can Bus
- Author
- WangLiang
- Advisor
- WangLiZhong
- School
- Guangxi Normal University
- Major
- Circuits and Systems
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 79
- Citations
- 0
Abstract
Relay based on Bus is a relay with bus communication function. In the past few decades, People make use of the fuse box and breaker to prevent electrical equipment from power-failure. But these protective equipment are characterized by passive.it is difficult to warn and diagosis when have some problem.unabe to meet special need,such as ships,spacecraft,vehicles etc. so relay base on bus becomes a kind of trend.Relay base on bus provides with information qurey,error-record,saving important,parameter. It is esay for help users to configure the system.This allows user to grasp the state of the realy.Advanced electrical load management system is compose with intelligent,network-enable appliances node by relay based can bus.According to the command of the system,carry out the logical switch,feedback,data collection,overload protection,state detection,fault records and so on. This advanced load management system has many advantages,first of all,reducing the weight of the system,reducing the size of device,not relay on cables and connectors.second,the function of load current measurement can be achieved by querying bus command. Third,have the function of load current overload protection and short circuit tripping capabilities,at the same time the trip threshold is variable.Forth,the detection of the contact state is achieved by querying the bus command.fifth,have the historical work records search function,such as the state of relay overload,the state of short circuit,the state of contact can be recorded in the relay,these data do not lose when meet with power-failure.It is helpful to failure protection,diagnosis and maintenance.There are some bus in the computer,for example internal bus,systerm bus,external bus and so on.internal bus is used to connect perioheral chips with processors.systerm bus is used to connect the various plug-in bord with sistem board. external bus is used to connect computer with external devices.At present,RS232,RS485,CAN are popular bus.RS232is a single-ended signal transmission,there is common-mode interference communication distance is short.communication distance is less than20m.RS485make use of the technology of the balance-send and differential receiver,it has the ability of suppress common mode interference. Bus transceiver has high sensitivity,can detect the volatage lager than200mv.transmission signal can be recovered in the1000m,it has half-duplex mode,there is only node in the sending state at any time,therefore transmit circuit need enable signal.so we will get use of can bus with excellent performance in the paper.CAN bus is belong to the field of fieldbus,support for realtime control of distributed control and serial communication network.compared with RS232,RS485,CAN bus has obvious advantages,there is only two lines in the system.there are error detection and management module in the system.According to the advantage of the BUS relay and the protocol of CAN bus,design the communication protocol of the system;according to the requirements of communication context,design the single-chip peripheral hardware circuit;design corresponding software;study the factors affecting the reliability of the system and get use of corresponding measures;study the factors of affecting remote-distance communication;study the factor of affecting the number of nodes.above all, design the Bus intelligent relay.
Table of contents
Summary 4-6
Abstract 6-10
Introduction 10-11
Chapter 1 overall block diagram of the principle and 11 -12
Chapter 2 CAN bus protocol 12-26
2.1 CAN basic concepts 12-13
2.2 CAN bus transmission medium 13-15
2.3 CAN bus features 15-16
2.4 CAN hierarchical structure and communication protocols hierarchical structure of 16-17
2.4.1 CAN 16-17
2.4.2 CAN communication protocol 17
2.5 CAN message frame structure frame Type 17-19
2.5.1 CAN messages 17-18
2.5.2 CAN message frame format 18-19
2.6 bit timing and bit synchronization 19-20
2.6.1 bit timing and bit synchronization content 19-20
2.6.2 -bit timing and bit synchronization role 20
2.7 CAN arbitrator technology 20-21
2.7.1 arbitrator principle 20
2.7.2 arbitrator role 20-21
2.8 packet filtering technology 21
2.9 CAN communication errors and error handling 21-22
2.9.1 CAN communication error types 21-22
2.9.2 error handling 22
2.10 structure and principles of CAN bus system 22-25
2.10.1 CAN bus system architecture 22-23
2.10.2 CAN bus system nodes 23 - 24
2.10.3 CAN bus system topology 24-25
2.11 CAN bus system of communication 25-26
2.11.1 multi-master architecture 25
2.11.2 master-slave structure 25-26
Chapter 3 hardware Design 26-61
3.1 CAN communication module design 26-47
3.1.1 CAN network controller 26-38
3.1.2 CAN network transceiver 38-44
3.1.3 light coupled isolator 6N137 44-47
3.2 current data collection 47-50
works 3.2.1 Closed-loop Hall sensor 47
3.2.2 Hall and Hall effect devices 47-48
3.2.3 Closed-loop current sensor and its working principle 48-49
3.2.4 Closed Loop Hall the main performance of the current sensor application nbsp 49
3.2.5 Closed-loop Hall current sensor ; 49
3.2.6 Closed-loop current sensor electrical parameters 49
3.2.7 Closed-loop current sensor in the design of the circuit 49-50
3.3 signal processing circuit design 50-51
3.3.1 ADC0832 Features 50
3.3.2 top view of the chip and pin description 50-51
3.3.3 signal processing interface circuit design 51
3.4 relay driver circuit 51-52
3.4.1 parameter determines 51
3.4.2 relay protection diodes 51
3.4.3 relay driver circuit design 51-52
3.5 hardware watchdog circuit design 52-54
3.5.1 MAX813L chip and its working principle 52-53
3.5.2 the watchdog circuit design 53-54
3.6 state protection circuit design parameters 54-55
3.6.1 chip pin package diagram and pin description 54
3.6.2 AT24C02 microcontroller interface circuit 54-55
3.7 micro processing unit clock circuit design 55-57
3.7.1 AT89c51 About 55-57
3.7.2 clock circuit design 57
3.8 power Design 57-61
Chapter 4 software Design 61 - 70
4.1 Introduction and development of application software program overall design 61-62
4.1.1 Introduction to develop application software 61
4.1.2 program overall design 61-62
4.2 CAN transceiver programming 62-65
4.2.1 SJA1000 initialization program design 62-63
4.2.2 SJA1000 sending program design 63-64
4.2.3 send handler design 64
4.2.4 packet reception program design 64
4.2.5 Receive Handler design 64-65
4.3 current signal acquisition 65-66
4.4 data storage 66-69
4.4.1 I2C bus About 66-67
process 4.4.2 writes process 67-68
4.4.3 read 68
4.4.4 I2C performance function 68-69
4.5 interrupt service routine design 69-70
4.5.1 receive interrupt service routine design 69
4.5.2 -down service programming 69-70
Chapter 5 System commissioning results and main parameters 70-71
5.1 debugging process and results 70
5.2 the main parameters 70-71
summary 71-72
References 72-74
Appendix 1 74-75
Appendix 2 75-76
Appendix 3 76-78
Thanks 78-79
Related dissertations
- Research of Fieldbus Relay Basing on CAN Bus
- Research on Spectrum Sensing Technology and Applicaion in Cognitive Radio Networks
- Research on the Communication-Capable Low Voltage Switchgear Based on CAN Bus
- 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,Fabrication and Interferometric Measurement Method Using Dual-grating of Microbeams for Surface Stress Sensing
- Design and Implementation of Intelligent Wiring Hardness Detection System
- Development and design of intelligent residential area centralized control 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