The Design of Application System with CAN Bus
- Author
- WuZhuang
- Advisor
- LuYuan
- School
- Hebei University
- Major
- Communication and Information System
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 637
- Citations
- 9
Abstract
Controller Area Network (CAN) is a serial communication protocol , can effectively support distributed real-time control with a very high level of security . The CAN wide range of applications from low-cost , high-speed network to multiplex wiring can use the CAN . This paper first introduces the use of the actual meaning of the CAN bus , CAN development course and basic knowledge ; CAN microcontroller interface technology and design of CAN-232 Intelligent CAN interface card for instance ; CAN-PCI CAN-ISA computer the adapter design examples CAN and PC interface technology ; Finally , through a complete project examples - CAN bus based on the temperature , humidity , real-time acquisition , recording , alarm system fully describes the CAN bus in the actual project application . All instances , both from the hardware and software to analyze and has a certain reference value for the specific application of CAN bus project .
Table of contents
Chapter 1 Introduction 10-12
1.1 issues and their significance 10
1.2 topics content and purpose 10-12
first Chapter 2 in-depth understanding of the CAN bus 12-20
2.1 CAN bus journey 12-13
2.1.1 CAN bus origin
2.1.2 CAN bus prospects 12-13
2.2 CAN bus features 13-14
2.3 CAN bus technology specification 14-20
2.3.1 CAN communication protocol 14-16
2.3.2 CAN data exchange principle 16
2.3.3 CAN real-time data transmission 16-17 <br / > 2.3.4 CAN message frame type 17-19
2.3.5 CAN error detection 19-20
Chapter 3 CAN bus controller and microcontroller interface technology 20-33
3.1 CAN device selection 20-22
3.1.1 CAN controller SJA1000 20-21
3.1.2 CAN bus drives 82C250 21-22
3.2 CAN-232 intelligent CAN interface card designed 22-30
3.2.1 hardware circuit design 22-26
3.2.1.1 hardware overall structure 22-23
the 3.2.1.2 of SJA1000 with AT89C52 Interface 23-24
3.2.1.3 CAN controller and the drive of connection 24-25
3.2.1.4 TTL converter circuit R5232C level 25-26
3.2.2 software design 26-30
3.2.2.1 software overall structure 26
3.2.2.2 CAN node initialization 26-28
3.2.2.3 CAN packet transmission process 28-29
3.2. 2.4 CAN message reception process 29-30
3.3 CAN-232 intelligent CAN interface card form CAN control network 30-33
3.3.1 R5232 Peer-to-Peer Remote communications 30-31
3.3.2 R5232 multi-machine communication network 31-33
Chapter 4 CAN bus controller and PC interface technology 33 -42
4.1 smart ISA bus the CAN adapter design 33-37
4.1.1 overall structure of intelligent adapter 33
4.1.2 hardware circuit Design 33-36
4.1.2.1 dual-port RAM-IDT7132 nbsp a; 33-35
of 4.1.2.2 dual-port RAM connected 35-36
4.1.3 Software Design 36-37
4.1.3.1 MCS-51 program 36
4.1.3.2 PC native application 36-37
4.2 non-intelligent ISA bus CAN adapter card design 37-39
4.2.1 hardware circuit design 37
4.2.2 software design 37-39 < br /> 4.2.2.1 virtual device driver design 38-39
4.2.2.2 Dynamic Link Library design are found; 39
4.3 PCI bus CAN adapter design 39-42
4.3.1 special interface chip PC19052 40
4.3.2 from ISA to PCI 40-42
Chapter 5 is based on the temperature of the CAN bus, Humidity real-time monitoring system (hardware) 42-50
5.1 system overall program nbsp the 5.2 system technical indicators 42-43
; 43-44
5.2. the 1 device technology parameters 43-44
5.2.2 temperature and humidity measurement indicators 44
5.3 system hardware design 44-50
5.3.1 the sensor selection the 44-48
5.3.1.1 bus Introduction 44-45
5.3.1.2 digital temperature sensor D518820 45-46
5.3 .1.3 relative humidity sensor HIH3610 46
5.3.1.4 Smart Battery Monitor D52438 the 46-48
5.3.2 bus with AT89C52 interface protection circuit 48
5.3.3 digital humidity sensor design 48-50
Chapter 6 is based on the real-time monitoring of temperature, humidity CAN bus system (software) 50-61
The overall structure of the 6.1 system software 50
6.2 central management and control procedures designed 50-57
the 6.2.1 parameter setting module design 51-52
6.2.1.1 alarm limits 51-52
6.2.1.2 write address 52
6.2.2 sending module design are found; 52-55
6.2. 2.1 command frame format 52-53
6.2.2.2 CRC generation 53-55
6.2.3 receiving and data processing module design 55-57
6.2.3.1 data frame format the 55-56
6.2.3.2 Data Processing Module Design 56-57
6.3 CAN-232 level converter program design 57-58
6.3.1 CAN data frame socket description 57-58
6.4 smart node procedures designed 58-61
6.4.1 multi-channel acquisition module 58-61
6.4.1.1 1 bus operation command 58-59
6.4.1.2 multi-way acquisition principle 59-60
6.4. 1.3 multi-channel acquisition cycle estimates the 60-61
conclusions and the outlook to References 61-63
63-65
thank the 65 -66
Appendix 66-68
Related dissertations
- The Research and Application of Can Bus in Vehicle Body Control System
- Monitoring System of Motion Position Platform Design Based on Wincc
- Application Study of Comprehensive Video Monitoring System of Railways
- Design and Research on Monitoring and Diagnosis System of Superconducting Medium Radiator Automatic Filling Production Line
- Design and implementation of computer monitoring and control system of pumping station based on PLC
- The Research of Facility Agriculture Based on the Wireless Network
- Research on Tunnel Monitoring System Key Technology
- Design and Implementation of Software for Highway Tunnel Monitoring System
- Based on GSM/GPRS GPS Monitoring System Design for Construction Machinery
- Design and Implementation of Application Monitor System for Commercial Bank
- Design and Implementation of Monitoring System for Lamination Based on PLC and Qt
- Remote Monitor System Based on3G and Web Technology
- Design and Implementation of Monitoring System for Industrial Rice Breeding
- Design and Implementation of Military Barracks Security Monitoring System
- Design of the Hazard Source Monitoring System Based on CAN Bus
- The Research and Design of Embedded Wireless Wild Animals Monitoring System Based on NT96211
- Design and Implementation of Bacterial Colony Growth Monitoring System in Bacterination Experiment
- Embedded Network Monitoring System Based on ZIGBEE
- Task Scheduling and Process Control of Serial Production Line Coupled with Transmission and Station
- Applied Research on HIL Simulation of Fused Quartz Furnace Control System