The Upper-Computer Softwar Design of a CAN Bus Based Data Collection

Author
XuLi
Advisor
ZhangChunYe , JieXiGuo
School
Shandong University
Major
Electronics and Communication Engineering
Classification
TP274.2 Data collection and processing systems
Degree
Master's thesis
Year
2011
Downloads
181
Citations
0

Request the full text

Abstract

With the development of national economy, the raising level of automation of production management and the technical improvement in Field Bus, more and more people pay attention to the Bus, including the CAN bus which has the characteristics of outstanding reliability, flexibility, and efficient real-time data transmission capability, automotive, industrial control, security. In this thesis, we use the underlying network CAN bus with a USBCAN interface card and host computer, and by using Microsoft Visual C + +6.0, we design the data collection system software to perform the daily work of the industry to configure, test and statistical industry data.With respect to the hardware part, this paper imploys a CAN adapter for PC and slave nodes to transmit data, so as to constitute a distributed CAN bus control system solutions. The upper node is a computer, while the slave part contains the USB-CAN interface card, micro controller, CAN controller, the can bus transceiver some specific sensors. We use the well-kown 51 single-chip microcomputer as micro controller, and CAN controller, the can bus transceiver are integrated in the USB-CAN intelligence interface card. The types of the sensors types are close-to type, budge type, barcode type, keyboard input type, weighing type, parameter acquisition and types of control. For the goal of the expansion of the system for future, we reserve two sensor types.Good communication protocol design can ensure the efficient communication and use of the existing resources between the PC and the lower place machine. Based on the original CAN2.0 frame, we design a communication system to expand the definition which includes the PC launched under the communication protocol design and the communication protocol initiated a machine design. In PC launched communication protocol design, mainly contain PC search current online equipment, inquires the next place machine running condition and inquires the lower level computer current yield, settings on a machine production task, settings that place machine production tasks. In the slave-part protocol, it contains a lower place machine requesting for the current time, requesting a month’s production task, request the production task and send monthly production.With respect to the software design, the host computer (ie, PC) uses Microsoft Visual C++6.0 as the programming tools to design the interactive monitoring and management software. This is the core part of this paper. The software is divided into communication configuration module, the next crew configuration module, monitoring module, historical query module and remote access modules.This software is designed for operation in the actual detection of stable and reliable performance, field devices can be spread to all kinds of information control room away from the scene, which can achieve some special occasion or dangerous unattended monitoring, making the production accidents to a minimum. The software for the enterprises has the merits of doing the production management, save resources and capital investment, which has very good prospect.

Table of contents

Summary 8-10 ABSTRACT the English abbreviations 10-12 12-13 Chapter Introduction 13-18 < br /> 1.1 thesis topic background 13-15 1.2 thesis work content 15-17 the 1.3 paper organizational structure 17-18 first 18-19 two CAN bus protocol outlined 18-28 2.1 Introduction to Fieldbus technology 18-22 2.1.1 fieldbus technology 2.1.2 several classic fieldbus technology 19-22 2.2 CAN bus protocol outlined are found; 22-27 2.2.1 CAN bus development history 22 -23 2.2.2 CAN bus scenarios 23-24 2.2.3 CAN bus technology characteristics 24 2.2.4 CAN protocol transmission The packet format 24-26 -2.2.5 CAN protocol error detection 26-27 2.3 Chapter Summary 27-28 third Chapter data acquisition system design 28-41 3.1 overall design scheme 28-30 3.2 hardware device selection 30-32 3.2 .1 CAN interface card the 30-31 3.2.2 CAN controller 31-32 3.2.3 CAN bus transceiver 32 3.3 communication protocol design overview 32-40 the 3.3.1 extended frame structure defined 33-35 the 3.3.2 host computer initiates the communication protocol design 35-37 3.3.3 lower machine that initiates the communication protocol design 37-40 3.4 Chapter Summary 40-41 Chapter IV PC software design 41-64 4.1 software interface design the 41-43 the 4.1.1 main interface Design the 41-42 4.1.2 menu bar and toolbar 42-43 4.2 database design 43-47 the 4.2.1 user management database design 43-44 4.2.2 communication parameter database design nbsp online device database design; 44-45 4.2.3 45 the 4.2.4 device type database design 45-46 4.2.5 daily / monthly tasks database design 46-47 4.3 key modules Design and Implementation 47-63 4.3.1 Communication and Monitoring module 47-55 4.3. 2 System Configuration module 55-56 the search appliance module nbsp 4.3.3 ; 56-57 4.3.4 task set module 57-58 4.3 .5 data management 58-63 4.4 Chapter Summary 63-64 Chapter Summary and Outlook 64-66 5.1 This paper summarizes 64-65 5.2 Outlook and Prospects the 65-66 Reference 66-69 Acknowledgements 69-70 papers published during graduate study and research 70-71 Dissertation Table of reviewers and the respondent 71

Related dissertations

  1. A Kind Of Data Collection And Monitoring System Base On CAN Bus
    YiHui ·Central South University ·2011 ·Master's thesis
  2. A Marketing Strategy Research on HLJ Company
    JiangHongYong ·Hebei University of Technology ·2013 ·Master's thesis
  3. The Research on Customer Satisfaction Index in YGsoft Company
    YangZuoGong ·Jilin University ·2013 ·Master's thesis
  4. The Study on the Resource and Service Releasing System Based on the Newest Opac
    WangQiong ·Yanshan University ·2012 ·Master's thesis
  5. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  6. The Design of Integrated Circuit Board Remote Maintenance Online Monitoring System
  7. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  8. Research and implementation of TaaS monitoring system
    WeiZhenNi ·Northwestern University ·2013 ·Master's thesis
  9. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  10. Design and Implementation of City Fire Remote Monitoring System Software
    SunDaYong ·Yanshan University ·2013 ·Master's thesis
  11. Design and Implementation of Vehicle Monitoring System Based on GPS Technology
  12. Gas Measurement and Control System Research Based on Satellite Communications
  13. Design and Application of the Distributed Monitoring System Based on Embedded Web
  14. The Design of Hybrid Electric Bus Data Acquisition and Test System
    LiHuiXian ·Hunan University ·2012 ·Master's thesis
  15. Industrial Field Data Acquisition System Design Based on CAN Bus
  16. Design of the Hazard Source Monitoring System Based on CAN Bus
  17. The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
  18. Research on Data Acquisition System of Can Bus
  19. The Research and Implementation on Data Acquisition System in the Cigarette Quality Inspection Process
    TangJun ·Hunan University ·2013 ·Master's thesis
  20. The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
    QianYiWei ·Hunan University ·2013 ·Master's thesis