Design and implementation of CAN bus network control system of vehicle

Author
LiuGang
Advisor
Liu , MiJingPing
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2012
Downloads
704
Citations
0

Request the full text

Abstract

With the vehicle electronics development, more and more electronic devices areused in modern vehicles which have gradually entered into the computer-controlled era.The increasing electrical equipment in motor vehicles make the automobile electricalsystem to be a complex and large system, so that the problems of in-car wiring difficultbecome increasingly acute. If the traditional wiring technology was continously adopted,the body wiring would inevitably become longer and more complicated which reducesthe operating reliability and increases the fault maintenance difficulty. Therefore, so thenetwork structure based on the serial information transmission becomes an inevitablechoice.In this thesis, based on referencing to large amounts of data and in-depth analysingthe vehicle network, the CAN bus network protocol is adopted, which is low-cost andhigh-performance. This thesis introduces the technical specifications of the CAN busnetwork protocol and accomplishes the overall design of the vehicle CAN bus networkcontrol using the advantages of the CAN bus technology. DSP56F807is selected toestablish a DSP control system and the switch signals and speed signals processingcircuits are designed. The light control and DC motor control circuits are given. And,the anti-jamming measures are given. The hardware design of the CAN bus controlsystem is completed.This thesis adopts the general-purpose modular software design idea to designCAN bus general-purpose module, A/D conversion module, digital input and outputmodules, input capture module and pulse width modulation (PWM) module with thehelp of DSP56F807programming development environment CodeWarrior8.0and theintegrated development package Processor Expert (PE). The software design of theCAN bus control system is completed.In this thesis, the CAN bus test platform is developed using DSP56F807and thedevelopment package PE. And the CAN bus communication experiments, the bus lightand DC motor control tests and the application of CAN bus protocol are conducted. Theresults show that the system operation is stable and reliable under laboratory conditions.

Table of contents

Summary 4-5 ABSTRACT 5-9 Chapter 1 Introduction 9-15 necessity nbsp 1.1 CAN bus applications in cars ; 9-10 1.1.1 nbsp car features and advantages of using bus technology ; domestic and international developments 10 1.2 CAN bus technology 10-13 foreign Development 1.2.1 CAN bus technology domestic developments 10-11 1.2.2 CAN bus technology major work 11-13 1.3 papers 13-14 1.4 chapters arranged 14-15 Chapter 2 CAN bus protocol and overall design 15-23 performance and features 2.1 CAN bus 15-16 2.2 CAN bus network protocol specification 16 2.3 packet transmission CAN bus 16-18 2.3.1 CAN bus messages frame text data 17-18 2.3.2 CAN bus packets remote frame error 18 2.3.3 CAN bus message frame 18 2.4 vehicle CAN bus network control overall design 18-22 2.4.1 automotive CAN bus local area network 18-19 2.4.2 powertrain CAN bus network design 19-20 2.4.3 body Control system CAN bus network design 20-21 2.4.4 automotive electronic control device signal characteristics 21-22 2.5 Summary 22-23 Chapter 3 CAN bus system hardware design 23-36 3.1 CAN bus hardware overall design 23-24 3.1.1 CAN bus network structure 23-24 3.1.2 CAN bus intelligent node overall design 24 3.2 DSP56F807 digital Signal Processor 24-26 3.3 microcontroller peripheral circuits 26-29 3.3.1 clock circuit 26 3.3.2 reset circuit 26-27 3.3.3 power Module 27 3.3.4 RS232 serial communication 27-28 3.3.5 parallel JTAG interface circuit 28-29 3.4 CAN bus interface design 29-31 3.4.1 MSCAN module 29-30 3.4.2 CAN bus driver 82C250 30 <br / > 3.4.3 CAN bus interface circuit 30-31 3.5 signal acquisition circuit 31-33 3.5.1 switch processing circuit 31-32 <br / > 3.5.2 speed signal processing circuit 32 3.5.3 accelerator pedal signal processing circuit 32-33 3.6 driver circuit 33-34 <br / > 3.6.1 headlights power Driver 33 3.6.2 DC motor drive anti-jamming design nbsp 33-34 3.7 hardware circuit ; 34 3.8 Summary 34-36 Chapter 4 CAN bus control system software design 36-64 4.1 Overview of embedded software systems development 36-41 <br / > 4.1.1 embedded systems Concepts 36 4.1.2 embedded systems software 36-38 4.1.3 embedded systems development core technology 38-40 4.1.4 embedded system features 40-41 4.2 embedded software design 41 4.3 CODEWARRIOR 8.0 integrated development environment (IDE ) 41-44 4.3.1 CodeWarrior 8.0 integrated development environment 42-43 4.3.2 Processor Expert (PE) application 43-44 4.4 CAN communication module design 44-49 4.4.1 MSCAN module initialization 45-47 4.4.2 CAN transmit programming 47-48 4.4.3 CAN accepted programming 48-49 4.5 other modules programming 49-55 4.5.1 A / D converter module 50 -51 4.5.2 -bit input and output modules 51-52 4.5.3 input Capture capture modules 52-55 4.5.5 asynchronous serial communication SCI modules 55 4.6 control Node software design 55-59 4.6.1 CAN bus application layer protocol defines 55-58 4.6. 2 DC motors node software design 58-59 4.6.3 headlights node software design 59 4.7 DSP main program 59-61 4.8 virtual instrument LABVIEW programming 61-63 4.9 Summary 63-64 Chapter 5 CAN bus control system test 64-70 5.1 CAN bus data transmission and reception tests 64-66 5.2 CAN bus control system functional test 66-68 5.2.1 lighting control test 66 5.2.2 DC motor control test 66-68 5.3 CAN bus priority arbitration test 68-69 5.4 Summary 69-70 Chapter 6 summary and Outlook 70-72 6.1 Conclusion 70 6.2 Prospects 70-72 Thanks 72-73 References 73-76

Related dissertations

  1. Development and Application about Data Management System of PVC Glove Production Line
  2. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  3. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  4. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  5. Design and Application of the Distributed Monitoring System Based on Embedded Web
  6. The Design of Hybrid Electric Bus Data Acquisition and Test System
    LiHuiXian ·Hunan University ·2012 ·Master's thesis
  7. Industrial Field Data Acquisition System Design Based on CAN Bus
  8. Design of the Hazard Source Monitoring System Based on CAN Bus
  9. The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
  10. Research on Data Acquisition System of Can Bus
  11. The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
    QianYiWei ·Hunan University ·2013 ·Master's thesis
  12. Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
    FeiYongYun ·Nanjing Agricultural College ·2013 ·Master's thesis
  13. Design and Implementation of Intelligent Wiring Hardness Detection System
  14. Research on Indoor Localization System for Intelligent Wheelchair
  15. Research on CAN Bus Communication and Application Experiments
    WangHuaWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
  17. Research of Fieldbus Relay Basing on CAN Bus
  18. Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
    ZhaoBo ·Dalian Polytechnic University ·2012 ·Master's thesis
  19. CAN Network Development of Commercial Vehicle
    MaJiZhou ·Xi'an University of Petroleum ·2012 ·Master's thesis
  20. Based on Smith Fuzzy-PID of Hot Drawing Roller Temperature Control System
    FangHaiPing ·Tianjin University of Technology ·2013 ·Master's thesis