Designed a Battery Data Collection and Management Based on CAN Bus

Author
JinPeng
Advisor
SunLi
School
North China University of Technology
Major
Power Electronics and Power Drives
Classification
TP274.2 Data collection and processing systems
Degree
Master's thesis
Year
2008
Downloads
393
Citations
3

Request the full text

Abstract

CAN(Controller Area Network) bus was designed for the monitoring and control system of automobile by Germany SOSCH Company at first. It is a kind of effective serial communication network which supports distributed control or real-time control. It has advantages such as multiple masters,high transmit rate,high data safety,and it is widely used in many kinds of control processes, such as automobile electron control,process control,mechanical industry, fabrics machine,robot, Numerical controlled lathe,medical equipment and sensor etc. CAN bus has formed international standard already,and has been recognized as one of the most promising on-the-sport buses.On the other hand, with the electric vehicle technology development, electric vehicles have begun to move towards the road of market Promotion. The management and maintenance about the battery has increasingly become one of the focus of the electric vehicles. Control Area Network (CAN) is good at resist interfere, and because of its simple connection and do not need master address, it’s suitable for real-time data collection and transmission. So,the paper designed a real-time data collection and management system based on CAN bus. It is applied in practical application after analyse, design, programming and debug.The system includes data collection layer, data transmission layer and user data management layer. The main function of the data collection layer is collecting and sending the real-time data of battery. The main function of the data transmission layer is receiving real-time data that sent by the data collection layer through the CAN bus and converting it into a serial RS232 to sent to PC; The main function of the user data management layer is receiving data through serial port, real-time display, storage and analysis.The works that have finished are:(1) Through the system requirements analysis, the whole system is divided into three separate layer,designed hardware and software separately, realized modular system, enhanced the application of the system.(2)Deeply studied the protocol of CAN 2.0B and SAE J1939, designed the communication protocol that fit for this system.(3) Deeply studied the hardware structure and software design of MC9S12DG128.The innovation of this article is it used the CAN bus protocol that widely used in the automobile industry to design a simple, efficient and stable battery data collection and management system and used in practice. In the process of designing, I proposed a concept that the whole system is divided into three layers, greatly enhanced the level of the system’s modular, it is conducive to the expansion and maintenance the system.

Table of contents

Abstract 4-5 Abstract 5-9 Introduction 9-11 overall system design 11-15 1.1 Background topics 1.2 topics sources 11 1.3 System Requirements 11-12 1.4 System Functional Analysis 12-13 1.5 system structure 13-15 Chapter II CAN bus communication protocol design 15-37 2.1 CAN bus Introduction 15-17 2.1.1 CAN bus origin 15 2.1.2 CAN bus technology characteristics 15-16 2.1.3 CAN bus works 16-17 2.2 1939 Protocol Introduction 17-19 2.2.1 SAEJ1939 agreement 17-18 2.2.2 levels of agreement features 18-19 2.3 communication protocol design 19-37 2.3.1 CAN bus network management 20-24 2.3.2 CAN bus transport protocol 24-29 2.3.3 fault alarm information sent 29-33 of 2.3.4 battery real-time data transmission 33-35 2.3.5 CAN protocol application 35-37 Chapter III system hardware design 37-49 3.1 data acquisition layer hardware design 37-41 3.1.1 MC9S12DG128B chip introduced 37-39 3.1.2 CAN transceiver choose 39-41 3.2 data transfer layer hardware design 41-49 3.2.1 Selection of hardware design 41-44 3.2.2 hardware design principles analysis 44-49 system software design 49-65 4.1 data acquisition layer software design 49-54 the development environment Introduction 4.1.1 CodeWarrior3.1 49-50 4.1.2 MSCAN initialization procedure design 50-52 4.1.3 MSCAN transmit and receive program design 52-54 4.2 data transport layer software design 54-58 4.2.1 SJA1000 initialization 54-56 the the 4.2.2 data transmission layer main program 56-58 4.3 upper machine management software design 58-65 4.3.1 Development Environment Introduction 59-60 4.3.2 serial configuration and communication procedures designed 60-62 4.3.3 database operations 62-65 Chapter system debugging and analysis 65-67 5.1 system debugging required equipment 65 5.2 system debugging 65-66 5.3 debugging results and analysis 66-67 concluded 67-68 the References 68-70 learn research 70-71 Acknowledgements 71

Related dissertations

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