Integrated Design of CANbus Inteligent Gateway
- Author
- ZhengYuZuo
- Advisor
- WangChangMing
- School
- Xi'an University of Electronic Science and Technology
- Major
- Systems Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 318
- Citations
- 1
Abstract
Industrial production is more stringent requirements for the control system 's real-time information processing , real-time design of CAN bus intelligent gateway system internal CAN fieldbus and Ethernet integration . This paper introduces an embedded real-time operating system μC / OS-II, it can improve the real-time nature of the emergency task execution . Meanwhile, all data to be processed in the same task information in accordance with the classic queuing theory preemption priority system M / M / 1 model queuing in order to further improve the real-time data processing of the CAN bus intelligent gateway . On the other hand , CAN industrial field there are a number of different rates running CAN bus , Therefore , this article uses the LPC2294 ARM controller , its unique hardware resources can be easily integrated management of multiple CAN bus . The same time , taking into account domestic factories in the old-fashioned instrument compatible design also deliberately retained the RS232 and RS485 interfaces . Finally, given the specific hardware and software design of the gateway , and the actual operation data , verify the design of this article is the ability to achieve the expected design goals .
Table of contents
Summary 4-5
ABSTRACT 5-8
first chapter 8-13
1.1 research background and significance nbsp the; -11
1.1.1 Introduction 8-9
1.1.2 controller LAN-CAN field bus Introduction 9-10 1.1.3 Ethernet Overview
10-11
1.2 research trends at home and abroad and the limitations the 11-12 1.2.1 the research
Dynamic 11
1.2.2 Related Technical limitations 11-12
1.3 This article 12-13
CAN bus and Ethernet principles 13-27
2.1 the ISO / OSI reference model structure the 13-15 2.2 CAN bus
basic principles 15-22 the
CAN bus basic concepts 2.2.1 15-16
2.2.2 CAN Bus hierarchical structure the 16-18 2.2.3 CAN bus characteristics
18-19
2.2.4 CAN bus packets transmitted its frame structure 19-22
2.3 Ethernet principles 22-27
2.3.1 Ethernet basic concept 22-23
2.3. 2 TCP / IP protocol architecture the 23-25 ??Ethernet frame structure
2.3.3 25-27
Chapter CAN bus intelligent gateway real-time performance improved 27-37
3.1 real-time operating system μC / OS-II 27-28
3.2 generation of priority inversion and improving program - priority inheritance protocol 28 -32
3.2.1 μC / OS-II priority inversion produce 28-30
3.2.2 basic priority inheritance protocol (priority-inheritance protocol) 30-32
3.3 data preemption priority system queue M / M / 1 model and its real-time performance analysis 32-37
Chapter CAN bus intelligent gateway hardware design 37-47
4.1 CAN bus intelligent the Gateway hardware design system framework 37-38
4.2 CAN bus intelligent gateway hardware module design 38-47
the 4.2.1 core control module design 38-40
4.2.2 CAN bus interface module design the 40-42
4.2.3 Ethernet interface module 42 -43
4.2.4 RS232 interface module with RS485 interface module 43-47
Chapter CAN bus intelligent the gateway software design 47-62
5.1 μC / OS-II's transplant to 47-49 the
5.1.1 OS_CPU.H The file to 47-48 the
5.1.2 OS_CPU.C The file 48 <br / > 5.1.3 OS_CPU_A.ASM file the 48-49
5.2 system software framework and a specific task 49-60
5.2.1 system initialization the task Task_ SYS_initialize, 50-52
5.2.2 CAN bus receive and send task the 52-54
5.2.3 Ethernet data reception tasks and data transmission task 54-57 < br /> 5.2.4 RS232, RS485 transceiver tasks 57-58
5.2.5 the public processing tasks and to seize the realization of the priority system queuing algorithm 58-60
5.3 priority the inheritance protocol implementations 60-62
Chapter VI run and experiment results 62-64
conclusions 64-65
Acknowledgements 65-66
Reference 66-67
read during research 67
Related dissertations
- Design of Distributed Concurrent State-aware System for the Quadruped Bionic Robot
- Research on the Vehicle Body CAN Control Network Based on Hybrid Scheduling Algorithm
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- Study of Real-time Grid Monitoring System Based-on Complex Event Processing
- The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
- Research and Implementation of the Web-integrated Real-time Video Surveillance System Based on Flex
- 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