Study of Distributed Measurement System Based on CAN Bus Technology

Author
PengYi
Advisor
GaoChao
School
Chongqing University
Major
Instrument Science and Technology
Classification
TP274 Data processing, data processing system
Degree
Master's thesis
Year
2005
Downloads
508
Citations
6

Request the full text

Abstract

Field bus is a digital, bi-directional and multi-branch communication network that connects field equipments and automatic system. As a product integrating technology of computer, communication and control, the field bus featured with opening and distribution has been one of the key technologies in modern automatism field. As one of the field buses, CAN (Controller Area Network) is a serial communication network that supports distributed and real time control effectively. CAN very fits interlinkage of monitor and control equipments in industry process and has been well accepted as the most perspective field bus. A distributed measurement and control system was developed based on CAN field bus. The technologies in some fields including computer, control, communication, network and circuit design were used which enable a comparatively rich functions in monitor and control, in addition to stable performance and friendly interface. Research content includes the research on hardware of node and CAN-PC interface card, software both running on node and interface card, and software running on PC for monitor and control of CAN network. PIC16F877 single chip computer and MCP2510 CAN controller are the main elements of Node and Interface Card. Every node has 4 AD inputs and 8 switch outputs. The maximum 110 nodes on a CAN bus communicate with PC through interface card. Monitor and control software running on PC is designed with object-oriented method. The physical existed node is mapped to an instance of node class, so the monitor and control to node are also mapped as the calling of node class’s methods. All data and setting are supported by database. The function of online adding and removing of nodes on CAN bus are achieved by event trigger mechanism. The PC software can monitor all sensors and can show, print the history curves of which. PC software also can control the 8 switches of all nodes by call the remote control method of node class. The adjustment of sensor is implemented in PC instead of node that overcomes the disadvantages of inconveniency and inefficiency of writing adjustment data to node. This system is a universe product that can be used in varied situation with different sensors. The main content of this thesis is as following: In the first chapter of this paper, the conceptions and features of distributed system, field buses are introduced. The traditional RS232 and RS485 serial communication standard are also discussed in this chapter. In the second chapter the CAN hierarchy structure, frame structure and communication principle of CAN technology are introduced. The structure of distributed sensor system is formed according the features of CAN. In the third and forth chapter, the circuits design and chips selection of both interface card and node, plus the design of indispensable node software, interface card software and PC’s monitor control software based on CAN field bus are researched. In the final part of this paper, a summary of the project is made. The issues about how to perfect this system and development of relative theory and technology are also been discussed.

Table of contents

Abstract 4-5 ABSTRACT 5-9 1 Introduction 9-17 1.1 Introduction 9 1.2 distribution fieldbus systems and the development of 9-10 1.2.1 distributed system development 9-10 1.2.2 fieldbus technology development 10 1.3 fieldbus system features 10-12 1.3.1 fieldbus system structural features 10 1.3.2 fieldbus system technical characteristics 10-11 1.3.3 fieldbus advantage 11-12 1.4 several influential traditional fieldbus communication standards and technical standards 12-15 1.5 CAN bus technology in many applications 15-16 1.6 contents of this paper 16-17 2 CAN bus technology 17-29 2.1 CAN bus main characteristics 17-20 2.2 CAN bus hierarchy 20 2.2.1 Logical Link Control (LLC) sublayer 20 2.2.2 Media Access Control (MAC) sublayer 20 2.3 MAC frame structure 20-25 2.3.1 MAC data frame 21-22 2.3.2 MAC remote frame 22 2.3.3 error frame 22-23 2.3.4 overload frame 23 2.3.5 interframe Space 23 2.3.6 MAC frame coding and send / receive 23-24 2.3.7 error detection 24-25 2.4 physical layer 25-26 2.4.1 physical layer functional model 25 2.4.2 -bit encoding / decoding 25 - 26 2.4.3 synchronization 26 2.5 distributed measurement system design 26 2.6 structural design 26-28 2.7 Summary 28-29 3. hardware design 29-41 3.1 PIC microcontroller advantages and features 29-31 3.2 MCP2510 CAN controller Features 31-32 3.3 PC-CAN interface card designed 32-37 3.3.1 power circuit 33-34 3.3.2 reset Circuit 34-35 3.3.3 crystal oscillator circuit 35 3.3.4 serial communications interface circuits 35-36 3.3.5 CAN bus communication circuit 36-37 3.4 node hardware design 37-41 4 software design 41-57 4.1 child node software design 42 -44 4.2 PC-CAN interface card software design 44-45 4.3 PC software design 45-57 4.3.1 software architecture 47-50 4.3.2 SCADA software main features introduced 50-57 5 Conclusion and Outlook 57-59 5.1 Conclusion 57 -58 5.2 Prospects 58-59 Thanks 59-60 References 60-62 Appendix 62 -63 originality statement 63 dissertation copyright attorney 63

Related dissertations

  1. Design and Realization of CS-50Catalyst Production Control System Based on CAN Bus
    AiTianLun ·Dalian Jiaotong University ·2012 ·Master's thesis
  2. The Research on Protocol Converter between CAN-bus and Modbus
    XuHui ·Northeastern University ·2010 ·Master's thesis
  3. Design study based on the CAN bus intelligent pressure transmitter
    HeJunBing ·Southwestern University ·2007 ·Master's thesis
  4. The Research of Intellectual Control Meter Based on CAN
    WuJinGuo ·Donghua University ·2007 ·Master's thesis
  5. The Automatic Module Based on CAN and It’s Application
    ZhengChangZheng ·Wuhan University of Technology ·2003 ·Master's thesis
  6. Design of Embedded Data Acquisition and Processing System of MEMS-INS
  7. Research of Fieldbus Relay Basing on CAN Bus
  8. Design of DeviceNet-CANopen Integrated Slave Node
    LiuXueWei ·Tianjin University of Technology ·2013 ·Master's thesis
  9. Design and Realization of Control System in Solar Screen Printing Production Line
  10. The Research of Embeded Intelligent Household Based on ARM
    WangWenChuan ·Hefei University of Technology ·2013 ·Master's thesis
  11. Research on Process Control System for Residual Titanium Recycling Production Line
    LiYang ·Xi'an University of Petroleum ·2013 ·Master's thesis
  12. Design of Industrial Controller Based on EPA
    ZuoShengChao ·Dalian Jiaotong University ·2013 ·Master's thesis
  13. The Design of the Rectification Recovery System Based on the CAN Bus
    LiuTianQi ·Dalian Jiaotong University ·2013 ·Master's thesis
  14. Development on the Automatic Correction Control System of Gantry-type Bucket wheel Stacker and Reclaimer
    ZhaoFeng ·Jilin University ·2013 ·Master's thesis
  15. Open CNC System Communication Rate Research Base on SERCOS Bus
  16. Research of Hart Multiplexer and Its Software Design
  17. The Effects and Mechanism of Ca2+/CaN/Cbl-b/Akt in the Oxygen-glucose Deprivation and Pharmacological Preconditioning
    ZhangWei ·Dalian Medical University ·2013 ·Doctoral dissertation
  18. The Design of Digitalized High-frequency Switching Power Supply Based on DSP
    LiZhiYong ·Tianjin University of Technology ·2013 ·Master's thesis
  19. Design and Implementation of High Frequency PFC On-board Charger
    ChenKai ·Wuhan University of Technology ·2013 ·Master's thesis
  20. Research on Fault Recorder System Based on STM32F4
    ZhangZuo ·Hebei University of Technology ·2012 ·Master's thesis