Research on Function Test System of Vehicle Body Module Based on CAN Bus

Author
HuSuJun
Advisor
ZuoWeiMing
School
Harbin Institute of Technology
Major
Electrical Engineering
Classification
TP274 Data processing, data processing system
Degree
Master's thesis
Year
2010
Downloads
136
Citations
0

Request the full text

Abstract

With the current rapid development of information technology, the intelligence and networking of automotive electronic has become a trend now. Because of the reliability and openness, CAN bus has become the most extensive used data communication network. How to test the function of the CAN bus products is a problem the automotive electronic OEMs confronting. The manual test means is in common use at home, and it is lowly efficient and reliable. For solving the bottleneck that the behindhand test means induced and improving the level of the CAN bus products testing, this paper develops an automatic test system which has high automation, reliability, generability and openness.In order to clarify the needs of the test system, this paper firstly analyzes the function of the CAN bus modules and the characteristic of the SAE J1939 protocol, and then puts forwards three design solutions and fixs the final one from them by comparing. Expatiates the hardware and software overall design respectively. The design solution of the test system, which is based on the modular PLC, interface circuit including MCU and PC including communication interface cards, has high reliability and openness. To solve the connections between the PLC IO modules and the IO pins of the CAN bus modules, designs several kinds of IO interface circuits. The test system uses“virtual resistor”test means to test the analog input function and it has the advantages of easy control, high accuracy and small space occupation over the resistor arrays test means. To enhance the reliability and serviceability, this paper builds a three levels software architecture, which consists of the low level PLC control procedure, middle level CAN messages management procedure and high level HMI (human machine interface) procedure. The use of database for control logics and test results of CAN bus modules storage makes the test system function more flexible.At last, the practical running experience indicates that the automatic test system this paper designed has friendly human machine interface, convenient operation, high efficiency, accurate test results. It improves the test efficiency and quality of the CAN bus modules. The flexible configuration enhances the generability of the test system. The test system could be a reference to CAN bus products testing.

Table of contents

Abstract 4-5 Abstract 5-9 Chapter 1 Introduction 9-15 the of 1.1 topics sources and research purposes and significance 9-11 1.2 CAN bus applications in the automotive electronics industry status quo 11-13 Research 1.3 automotive CAN bus module functional test system 13-14 1.4 The research 14-15 Chapter 2 test system solutions designed 15-34 the 2.1 function test theory 15-16 2.2 CAN bus module function analysis 16-19 2.3 Test System Requirements Analysis 19-21 2.3.1 switch testing requirements 19-20 2.3.2 Analog testing requirements 20 2.3.3 pulse volume testing needs 20-21 2.3.4 the bus meter test demand 21 2.4 SAE J1939 protocol analysis 21-25 2.4.1 SAE J1939 Overview 21-22 2.4.2 SAE J1939 protocol analysis 22-25 2.5 test system overall program design 25-33 2.5.1 hardware solutions to the overall design 25-28 2.5.2 software solutions to the overall design 28-33 2.6 This chapter Summary 33-34 Chapter 3 test system hardware design 34-45 3.1 PLC selection 34-35 3.2 communication interface card selection 35-36 3.3 I / O interface circuit design 36-44 3.3.1 switch interface circuit 37-40 3.3.2 analog interface circuit 40-42 3.3.3 pulse volume interface circuit 42-44 3.4 This chapter Summary 44-45 Chapter 4 test system software design 45-67 4.1 Programming technical concepts 45-47 4.1.1 Dynamic Data Exchange DDE 45-46 4.1.2 database operation object ADO 46 4.1.3 programming language VBA 46-47 4.2 PLC program design 47-52 4.2.1 PLC program theory 47-48 4.2.2 PLC control program design 48-52 4.3 CAN message management program design 52-56 4.3.1 CAN bus communication routine 53-54 4.3.2 database operation subroutine 54 4.3.3 DDE communication routines 54-55 4.3.4 serial communication routines 55 4.3.5 module test subroutine 55-56 4.4 interactive interface program design 56-59 4.4.1 Model configuration and testing of recordkeeping and inquiries 57 the the 4.4.2 module test interface display 57-59 4.5 I / O interface circuit programming 59-66 4.5.1 of pulses input signal generated 59-62 4.5.2 of pulses output signal detection procedures 62-64 the the 4.5.3 interface circuit serial communication program 64-66 4.6 This chapter Summary 66-67 Chapter 5 test system debugging and running 67-72 5.1 test system configuration 67-68 5.2 module testing process 68-70 the the 5.3 test record query 70-71 5.4 This chapter Summary 71-72 concluded 72-73 the References 73-77 the studying for a master's degree during published papers and other outcomes 77-79 Acknowledgements 79

Related dissertations

  1. The Research of Communication Technology Based on PLC Automatic Control System
    ZhaoJing ·Northeastern University ·2012 ·Master's thesis
  2. Design of PLC Source Program Compilation and Internal Communication System Based on ARM and FPGA
  3. Study on Constant Pressure Drip Irrigation Systems Based on PLC and HMI
    WeiKai ·Gansu Agricultural University ·2013 ·Master's thesis
  4. Research on Controller Area Network Bus Communication of Automobile Electronic Mechanical Braking System
    YangXiaoWei ·University of North ·2014 ·Master's thesis
  5. Design of Additives Distribution Automatic Control System Based on PLC
    FuHeTan ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  6. Research on the Control System of Abrasive Flow Machine
  7. Research and Development on Control System of Multi-position Punching Busbar Machine
  8. Study on Key Technologies of Coal-mine Power Monitoring System Based on CAN Bus
  9. Reseach and Design of Automated Production Line of the New Prefabricated Exhaust for Residential Ketchen
  10. Development of Automated Production Line Teaching Experiment Platform Based on Profibus
    HuYa ·Dalian University of Technology ·2013 ·Master's thesis
  11. Development and Application about Data Management System of PVC Glove Production Line
  12. Based on PLC Street-lamps Romote Monitoring System Research and Implementation
    JiangYang ·Dalian Polytechnic University ·2011 ·Master's thesis
  13. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  14. The Development and Research of an Intelligent Sewage Trestment System Based on Cast Craft
  15. Monitoring System of Motion Position Platform Design Based on Wincc
  16. Design of Monitoring System in Oilfield Metering Station Based on PLC
  17. The Sewage Treatment Plant of Langfang Development Zone Control System Analysis
    SunChenZuo ·Yanshan University ·2012 ·Master's thesis
  18. Mine Drainage Automation Monitoring System Design and Implementation
  19. Design and implementation of computer monitoring and control system of pumping station based on PLC
    XieZhengHua ·Jiangxi University of Technology ·2013 ·Master's thesis
  20. Research and Development of Variable Frequency Speed Regulation Monitoring System for Coal Main Fan