Design and Implementation of the CAN-Ethernet communication protocol converter based on ARM9
- Author
- DiYuWei
- Advisor
- XiangYu , DingFengQi
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 17
- Citations
- 0
Abstract
Network is the inevitable product in automatic control industry, which is promoted by the demand of data exchange between complex network protocols. Automatic control means using additional equipment or device to make the machine, equipment or some working condition and parameter to run according to the scheduled law automatically without direct involvement of human. The studying of automatic control technology will help human out of complicated, dangerous and cumbersome working environment, and improve the control efficiency. In traditional automatic control industry, a conversation is needed according to some networking protocol to make all kinds of machines and equipments run with given parameter. The CAN (Controller Area Network) and Ethernet protocols, and serial communication protocols like RS-232 and RS-485 are widely used nowadays. The upper computer and equipment carry the data exchange and parameter sending with the above protocols. Because all the equipments with different protocols work in the same automatic control network, there exits the problem of cooperative work. Thus it triggers the demand of data exchange in several network protocols, i.e., the CAN-Ethernet protocol. The first generation CAN-Ethernet communication protocol converter cannot fulfill the data increase and demand, which used the 386 hardware structure and 8-bit wire technology and will restrict the improvement of efficiency and algorithm. Therefore, the development of new converter is very imperative. In this paper, the new system was realized by ARM hardware structure and 32-bit wire technology.Compared with the first generation communication protocol converter, the superiority of this system is the fast operating rate and large data throughput. Due to theμC/OS-Ⅱembedded real time operating system, the stability and expandability of this system improve a lot for the convenience of cutting and transplant, and can collect data to calculate, analysis, storage and transmission. Thus the operating load of upper computer and CAN-Ethernet protocol can be reduced, and the efficiency of equipment can be increased and the maintenance cost can be lowed.This system has passed the test, and is ready to be arranged on the spot, which can run normally and steadily in the test. As the front end collects data of each control appliance, then encrypts data and transfers to the upper computer, the operation speed and efficiency of the whole system can be improved and the safety and reliability of system data can be insured. In this case, the data integrity and safety will increase greatly, and this research has its reference function and practical significance for the development of automatic control network.
Table of contents
Summary 4-5
ABSTRACT 5-10
first chapter 10-15
1.1 subject background 10-11 < br /> 1.2 development at home and abroad 11-13
1.2.1 communication protocol converter 11
1.2.2 ARM-based communication protocol converter -12
the 1.2.3 development status and problems 12-13
1.3 Research objectives and significance the 13-14 1.3.1 research goals
13
1.3.2 research significance the 13-14
1.4 The structure of the paper arrangements 14
1.5 Chapter Summary 14-15
communication protocol converter technology foundation 15-25
2.1 Industrial Ethernet technology 15-16
2.1.1 Introduction to Industrial Ethernet 15 <br / > 2.1.2 Ethernet MAC controller 15-16
2.2 CAN introduce 16-19
2.2.1 CAN Controller Area Network 17-18 < br /> 2.2.2 CAN work mode 18-19
2.2.3 CAN bus bit values ??with the transmission distance 19
2.3 RTOS concept and ΜC / OS introduces 19-21
2.3.1 RTOS concept 19-20
2.3.2 real-time operating system features 20-21
2.3.3 Real-time system μC / OS Profile 21
2.4 communication protocol converter data transmission network structure of
21-22 2.5 communication protocol converter applications in the aluminum factory 22-24
2.6 Chapter Summary 24-25
Chapter communication protocol converter hardware design 25-32
3.1 communications protocol converters overall design 25 -26
3.1.1 ARM processor choice 25
3.1.2 communication protocol converter overall design 25-26
3.2 system module hardware design 26-31
the 3.2.1 core of the system board design 26-27
3.2.2 Ethernet interface circuit design 27-28
3.2 .3 CAN communication circuit design 28-29
3.2.4 keys and display circuit design 29-30
3.2.5 serial communication circuit design 30-31
3.3 Chapter Summary 31-32
Chapter ΜC / OS in ARM9 transplant 32-54
4.1 ARM Overview 32-33
4.1.1 ARM processor Overview of the 32
4.1.2 ARM processor architecture 32-33
4.2 μC / OS version selection and analysis 33-36
4.2.1 μC / OS version select 34-35
4.2.2 μC / OS - II systems analysis 35-36
4.3 ΜC / OS-Ⅱ transplant 36-53
4.3.1 transplantation, prepare 36-42
4.3.2 transplantation, μC/OS- Ⅱ STR91X 42 -53
4.4 Chapter Summary 53-54
Chapter ΜC / OS communication protocol converter program to achieve 54-67
initial 5.1 target board technology and configuration parameters 54-56
5.2 system task programming 56-64
5.2.1 Ethernet TCP / IP protocol to achieve the task 56 - 58
5.2.2 data receiving task the 58-60 5.2.3 Data Conversion task
the 60-61
5.2.4 keyboard scan and send task 61-63
5.2.5 LCD display tasks 63-64
5.3 The main function of the system 64-66
5.3.1 task priority processing 64-66
5.3.2 main function design 66
5.4 Chapter Summary 66-67
Chapter VI-site testing and analysis of communication protocol converter 67-72
6.1 test Summary 67
6.2 test content and implementation 67-70
6.2.1 hardware system test 67 - 68
6.2.2 software system test 68-70
6.3 defects Statistics and Analysis 70-71
6.4 Chapter Summary 71-72 <br / Chapter 7 Summary and Outlook 72-74
7.1 summarizes 72
7.2 Looking 72-74
Acknowledgements 74 - 75
Reference 75-78
Related dissertations
- The Research and Design of Embedded Multi-network Protocol Converter
- Design and Implementation of Ethernet Transfer Based on ARM
- Design of Smart Terminal for New Energy Micro Grid of Island
- Research of Fieldbus Multi-Protocol Conversion Gateway Based on PROFIBUS-DP Slave
- The Design and Implementation of Multi-configuration Data Acquisition Module
- Based on the TMS570CAN Communication Interface Board Design
- The Design of Vehicle Digital Recorder Based onμC/OS-Ⅱ
- Design and Implementation of the Multifunctional Automotive Gateway Base on MPC5668G Platform
- Research on Micro-grid Web Monitoring System Based on Ethernet and μC/OS-Ⅱ
- Study on Network Protocols for Locomotive Security Monitoring Platform
- Based on the CAN bus and Ethernet rotor spinning machine control system development
- Design and Realization of Computer Embroidery Machine Monitoring System Based on ARM
- The Research of Controller between Ethernet and CAN Bus Connection Interface Based on ARM
- Design of Monitoring Network System Based on Wireless Sensor
- Research of Data Acquisition System Based on Embedded Ethernet
- Research and Realization of Coal Mine Embedded Data Collection Substation
- Design of Remote Control System Based on Ethernet
- Application Research of Data Acquisition Platform Based on ARM and μC/OS-Ⅱ
- Design of Remote Strain Measurement System Based on FGPA
- Design of Embedded Data Acquisition and Processing System of MEMS-INS