The Communication System Design of CAN Bus with Ethernet
- Author
- YuanXueWen
- Advisor
- HuangTianShu
- School
- Wuhan University
- Major
- Detection technology and automation devices
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 484
- Citations
- 3
Abstract
With the combination of measurement and control technology and Internet technology, The measurement and control technology must follow the trend of Internet, which promotes the rapid growth of embedded Internet technology . The dissertation offers the whole communication system design’s project of CAN Bus with Ethernet, and introduces the hardware design and the software design of the system in detail.The 8 bit single chip processor SX52 with rapid speed, high performance and low price is taken as hardcore, adopted in the communication system. It connect Ethernet with the Ethernet control chip RTL8019AS, and connect CAN bus with the CAN bus control chip SJA1000. The program in the SX52 processor interprets both Ethernet and CAN bus protocols. So it realizes the interconnection communication of computer network BASEd TCP/IP protocol with CAN bus field control network BASEd CAN protocol.The dissertation relates to Field bus technology, computer network technology and embed system-designed technology, etc. here it concentrates on following some major parts.4- The development trend of Network technology and the system project bring forward.◇ The system structure designing of the interconnection project.◇ Research on both CAN protocol and IEEE802.3 protocol.◇ Designing the realization of embed TCP/IP protocol stack in the SX52 processor.◇ The interconnection system hardware designing.◇The hardcore exchange model designing in interconnection system.◇ The interconnection system application software designing.This interconnection project can not only be widely applied in industry control fields to realize the network application of industry detection and control, but also can be applied in intelligent instrument intelligent homesteads ,plant factories, environment engineering and industry refrigeration, etc.The result of the experiment indicates the interconnection system can obtain satisfying result with high stability and reliability and it has comprehensive application prospect and popularization value.
Table of contents
Abstract 4-5
ABSTRACT 5-8
first chapter 8-12
1.1 measurement and control technology development and field bus technology 8-9
1.2 network technology and Internet 9-10
1.3 system Design Concept formation 10-12
Chapter interconnection System structural design 12-15
Chapter CAN protocol analysis and application protocol design 15-24
3.1 CAN hierarchical and structural 15
3.2 Logical Link Control (LLC) sublayer 15-17
3.2.1 LLC sublayer functions 15-16
3.2.2 LLC frame structure 16 -17
3.3 Media Access Control (MAC) sublayer 17-22
3.3.1 MAC sub-layer structure and function model 17-18
3.3.2 MAC frame structure 18-20
3.3.3 Media Access and arbitration 20-21
3.3.4 error detection 21-22
3.4 physical Layer 22-23
3.4.1 physical layer functional model 22
3.4.2 -bit encoding / decoding 22-23
3.5 application layer design 23-24
Chapter ethernet protocol 24-27
4.1 Overview 24
4.2 IEEE802.3 network standards 24 - 25
4.3 MAC method CSMA / CD 25-26
4.4 Media Access Control (MAC) sublayer 26-27
Chapter SX52 TCP / IP protocol stack design 27-41
5.1 SX52 TCP / IP protocol stack structure 27
5.2 SX52 ARP protocol 27-28
5.2. 1 SX52 ARP protocol implementation 28
5.3 SX52 IP protocol 28-31
5.3.1 IP datagram format 29-30
5.3. 2 SX52 IP protocol implementation 30-31
5.4 SX52 ICMP protocol 31-33
5.4.1 Overview 31-32
5.4.2 ICMP packet format 32
5.4.3 ICMP packets sent 32-33
5.4.4 SX52 ICMP simplified protocol 33
5.5 SX52 UDP protocol 33-35
5.5.1 UDP datagram format 34
5.5.2 UDP inspection and 34-35
5.5.3 SX52 UDP protocol implementation 35
5.6 SX52 TCP protocol 35-40
5.6.1 TCP service 36
5.6.2 TCP segment format 36-38
5.6.3 TCP finite state machine 38-39
5.6.4 SX52 TCP protocol and implementation 39-40
5.7 TCP and IP transport protocol selection 40-41
Chapter interconnection system hardware design 41-52
6.1 RTL8019AS ethernet controller works 41-44
6.1.1 RTL8019AS Ethernet controller structure and function 41
6.1.2 RTL8019AS register file 41-43
6.1.3 frame transmission process 43-44
6.1.4 frame reception process 44
6.2 SJA1000 CAN bus controller works 44-48
6.2.1 SJA1000 address assignment 45-46
6.2.2 SJA1000 initialization 46-47
6.2.3 SJA1000 packet transmission 47-48 <br / > 6.3 SX52 speed microcontroller 48-49
6.4 hardware analysis and design 49-52
6.4.1 CAN bus network device interface design 49 <br / > 6.4.2 embedded transparent SX52 gateway designs 49-52
Chapter VII of the interconnection system software design 52-58
7.1 transparent Gateway protocol conversion model 52-56
7.1.1 CAN controller protocol driver module 52-53
7.1.2 ethernet controller protocol driver module 53-54
7.1 .3 CAN-Ethernet protocol conversion module 54-56
7.2 ethernet layer application design 56-58
Chapter VIII of the experimental test 58-59 < br /> Chapter Summary and Outlook 59-60
References 60-63
Thanks 63
Related dissertations
- Design of Embedded Gateway Base on Heterogeneous Multi-protocol
- Design and Implementation of TCP/IP to FTAM/MQ Gateway Based on Embedded Application
- Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
- Research of Fieldbus Relay Basing on CAN Bus
- Communication of DC Micro_Grid and It's Energy Management System
- Stirling Engine Fuel Management System Based on Ethernet
- Design and Implementation Communication System of Remote Elevator Monitoring System
- Design and Realization of Multi-bus Gateway for Integrated Bridge System
- Design and Research of Cabin Monitoring System Based on CAN Bus
- The Study of WTB and Ethernet Gateway and Its Inauguration Module's Implementations
- Study on Field Bus Technology with High Speed and High Precision Multi-channel CNC System
- Design of Mine Underground Personnel Positioning System Based on CAN Bus
- Design and Implementation of the Long-term Monitoring System for Subsea Dynamic Environment
- Design of Multi-Sensor Data Acquisition System Based on CAN-BUS
- Design and Implementation of Multimodal Traffic Signal Controller
- Intelligent Home Control System Based on the CAN Bus
- Research of Multiply PLC Communication Control Based on CAN Bus
- Research and Implementation of CAN Bus and Ethernet Communication Based on ARM7Embedded System
- Design of Vehicle Data Recorder Based on the Dual Bus
- Design of Electric Accommodation Detector