Research and Implementation of CAN communication network based on WinCE
- Author
- ShengLiang
- Advisor
- LiuJun , LiuZhiJun , LiuJinGang
- School
- Capital Normal University
- Major
- Applied Computer Technology
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 330
- Citations
- 9
Abstract
CAN bus is a fieldbus , plays an increasingly important role in the existing field of industrial control , its application was originally based on automotive systems , visualization . This topic is of internship in Beijing Kunlun -state period , to carry out the practical problems arising in the company 's application . Of this research project is under WinCE , how to achieve the the CAN function of core -driven development , CAN card driver is customized to the touch screen motherboard , making them an effective whole , and ultimately achieve efficient visual surveillance system . Should ensure reliable operation of the system and reduce costs , real-time , high efficiency and communication features . The main topic solve several key elements : (1) According to the CAN protocol , the bottom of the CAN card -driven design . (2) WinCE kernel customization , CAN device driver to WinCE system kernel , the CAN functions transparent to the software development . (3) using the appropriate bandwidth allocation policy , so that the design of the CAN network to meet the real-time requirements of the system at the same time , the maximum delay time to meet the non - real-time data requirements . ( 4 ) optimize the CAN card communication efficiency and communication : the rational design of data structures and cache management method , making large amounts of data in and out CAN communication card , either to ensure that the data frame loss and the chance of error is within the allowable range , and can ensure the frame can be issued quickly and receive data to achieve good performance . (5) test the stability of the system , the complete system testing in this topic is a very critical issue , the possibility of communication , the stability , compatibility testing is very important . On the achievements of the subject , the requirements for corporate users , the research and design a set to use the company's products and based WinCE CAN communication network systems to meet the requirements of the user -site communication , to achieve expected performance . Summarizes the work done at the end of this article , and further research direction and goals .
Table of contents
Abstract 3-4
Abstract 4-5
catalog 5-7
first chapter 7-12 <br / > 1.1 the purpose and significance of the topic 7-8
1.2 CAN bus development status 8-9
1.3 CAN bus with other bus communication program comparison -11
1.4 my summary of work and thesis chapters arrangements 11-12
Chapter II system hardware and software environment to build 12-17
2.1 system application environment 12
2.2 embedded operating system WinCE 12
2.3 configuration software MCGS 12-13
2.4 system hardware environment to build 13 - 16
2.4.1 touch screen nTouch TPC 13-14
2.4.2 CAN controller and related devices 14-15
2.4.3 ARM2440, CAN functional design 15
2.4.4 CPLD internal CAN interface 15-16
2.5 Chapter Summary 16-17
Chapter CAN card driver framework to achieve the 17-42 3.1 WinCE under
drive mechanism and interrupt design 17-19
3.2 driver calls and loaded 19-21
3.3 CAN the protocol layering 3.4 CAN card driver 21-22
underlying function design 22-32
3.4.1 CAN card register read and write functions 23-24
3.4.2 CAN card initialization 24-25
3.4.3 CAN card information sent 25-28
3.4.4 CAN card information to receive the 28-30
3.4.5 CAN card event handler 30-32
3.4.6 CAN Card drive package design 32
3.5 CAN application program interface implementation 32-33
3.5.1 user interface 32-33
3.5.2 external interface 33
the 3.6 parent device driver to achieve 33-35
3.6.1 create and close the the CAN driver instance 33
3.6.2 and driver interaction 33-35
3.7 sub device driver implementation to the 35-41
3.7.1 Equipment Agreement 35-36
the 3.7.2 devices work status the 36-37 3.7.3 Interface Description
37-38
3.7.4 development CAN_BUS_ph module instance 38-41
3.7.4.1 Data Definition nbsp 38-39
3.7.4.2 data processing; 39-41
3.8 Chapter Summary 41-42
Chapter customized with CAN functionality the WinCE kernel 42-49
4.1 the custom tool PlatFormbuilder of use 42
4.2 platform customized 42-48
4.2.1 Wizard customization process the 43-46
4.2.2 platform compiler 46 -47
4.2.3 CAN driver information added registry 47-48
4.3 Chapter Summary 48-49
Chapter application system design and test 49-59
5.1 set up effective CAN communication network and communications the efficiency optimization 49-51
5.1.1 CAN control network in real-time 49
5.1.2 Control network protocol real-time indicators 49-50
5.1.3 CAN control network in real-time improvements 50-51
5.2 CAN communications applications mode 51-53
5.3 run time the 53-54
5.4 system environment to build 54-55
5.5 system debugging and testing nbsp 55-59
5.5.1 functional testing; the 5.5.2 performance testing of 56
56-57
5.5.3 stability, robustness testing nbsp ; 57
5.5.4 Real-time testing the 57-58
5.5.5 test summary to Case 58-59
Chapter VI CAN network communications 59-65
6.1 Project Background nbsp 59
6.2 project process; 59
6.3 system structure 59-61
6.4 configuration process 61-65
Chapter VII summarizes the 65-66
Reference 66-67
Acknowledgements 67-68
of resume 68
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
- Design of Multi-Channel Food Safety Detector Based on WinCE
- Research of Real-Time Performance and Software Reliability Based on Embedded Industrial Control System with Windows CE
- Car GPS devices Image Technology
- 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
- Design of Greenhouse Environment Remote Control System Based on MMS
- 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