The Design of Large-scale Remote Monitoring Network Based on CAN Bus

Author
DuHongLiang
Advisor
HuangLu
School
University of Science and Technology of China
Major
Circuits and Systems
Classification
TP277 Monitoring, alarm,fault diagnosis system
Degree
Master's thesis
Year
2009
Downloads
392
Citations
11

Request the full text

Abstract

At present, China is building a number of deep gorge hydropower complex geological and topographical conditions, slope stability problem is that these projects are facing a common technical problems. Safety monitoring is to master an effective means of slope stability conditions. But the dam slope monitoring and routine monitoring compared to its particularity, automated monitoring presence to overcome technical problems. In this paper, Qinghai LAXIWA dam safety monitoring of high slope of the right bank of the need for the design of a large-scale remote monitoring network system. The overall system contains communications systems, software and the underlying measurement module upper three parts. This article focuses on communications systems and upper management software related content. Taking into account the high slope LAXIWA hub monitoring system particularity: measuring point and more equipment and more, and measuring the distance between the devices are quite different, far from the main control room (up to 5Km). Therefore, this article Select CAN bus communication system as the carrier of the message protocol, the main two functions: on the one hand the upper user's command is sent to the underlying measurement module; hand the underlying measurement module collected sensor data accurate sent to upper management software for the upper user analysis and processing. Network module for the design of communication systems, this paper introduces the design of hardware and software modules. Hardware design, the paper selected C8051F040 microcontroller as the core of the control communication system, also selected a number of new high-speed, powerful peripheral chips, so that the hardware design is more affordable, simple and reliable. As LAXIWA slope monitoring system of coverage (10Km × 10Km), in order to improve anti-jamming communication system network and ensure appropriately high communication rate, you need to add repeaters in the network. This is the first network in a communication system based on dual MCU's SPI CAN network repeater module, in order to achieve the communication link signal amplification, and data packet routing and forwarding. This method is in the country is still in the experimental stage, but its meaning is very important. Software design, according CAN2.0A, CAN2.0B and SPI protocol specification, take full advantage of the packet frame format, the rational design of communication protocols, completed the master node, and the underlying communications repeater node communication software design. Upper management software, this paper introduces the serial communication related content. In addition, through the remote network equivalent circuit analysis, and the design of experiments to test the system and build a remote circuit simulation and found no packet loss and 76ms successfully send and receive data once, if coupled with repeater 138ms sent successfully receiving a data communication system network authentication module has good stability and real-time, high slope has been basically meet the requirements of safety monitoring system.

Table of contents

Abstract 4-5 ABSTRACT 5-11 Chapter 1 Introduction 11-21 1.1 research background and significance 11-12 1.2 control system development 12 1.3 fieldbus definitions and technical characteristics 12-13 1.4 several influential fieldbus 13-16 1.4.1 CAN bus 14 1.4.2 PROFIBUS bus 14 1.4.3 LON bus 14-15 < br /> 1.4.4 RS-485 bus 15 1.4.5 Foundation Fieldbus 15-16 1.5 CAN bus and the other bus performance comparison 16 -18 1.5.1 CAN bus with DCS, PLC control system performance comparison 16 1.5.2 CAN field bus and RS-485 bus comparison 16-17 <br / > 1.5.3 dedicated and Universal CAN bus system performance comparison 17-18 1.6 this major work done 18-21 Chapter 2 controller Area Network Technical Specification 21-31 2.1 CAN bus production and development 21 2.2 CAN bus related concepts 21-23 2.3 CAN bus Properties 23-24 2.4 CAN bus hierarchy 24-25 2.5 CAN bus packet transmission 25-27 2.5.1 frame format 25 2.5.2 frame Type 25-27 2.6 CAN bus bit value 27-28 2.7 transmission distance and bit rate 28 2.8 advocates peace multi-node receives 28-29 2.9 data security 29 2.10 Summary 29-31 first Chapter 3 large remote monitoring network architecture and hardware design 31-45 3.1 large remote monitoring network composed of high slope structure 31-32 3.2 tree high slope more a CAN bus system architecture 32 3.3 hardware device selection 32-39 3.3.1 MCU selection 32-35 3.3.2 voltage converter chip A51117 35-36 3.3.3 CAN bus transceiver chip SN65HVD251 36 3.3.4 dual-channel digital isolators ADuM1201 36-37 3.3.5 CP2101 features and principles 37-39 3.4 CAN node design 39-43 3.4.1 host node functional design 39-40 3.4.2 host node hardware circuit design 40-43 3.5 Summary 43-45 Chapter 4 planning and implementation of communications software system 45-67 4.1 C_CAN design method 45-46 4.2 C8051F040 CAN controller in 46-49 4.2.1 C8051F040 CAN in Introduction 46-47 4.2.2 C8051F040 CAN- register classification 47 4.2.3 C8051F040 CAN controller timing 47-49 4.3 upper control interface with communication protocol design 49-55 4.3.1 level control interface design 49-52 4.3.2 communication protocol design 52-55 <br / > 4.3.2.1 transmission frame format 53 4.3.2.2 response frame format 53-54 4.3.2.3 underlying sensor upload data frame format 54-55 < br /> 4.4 CAN bus communication program design 55-66 4.4.1 Crossbar system initialization and pin assignment 55-58 4.4.2 system configuration and CAN message initialization procedure 58-61 4.4.3 and CAN related procedures 61-64 4.4.4 host CAN node software design 64-65 <br / > 4.4.5 underlying node communication software design 65-66 4.5 Chapter Summary 66-67 Chapter 5, controller Area Network bus repeater design 67 -81 5.1 CAN bus repeater Overview 67-69 5.1.1 repeaters Category 67-68 5.1.2 repeater excellent disadvantages 68 5.1.3 CAN bus Repeater overall design 68 5.1.4 CAN bus repeater hardware design requirements 68-69 <br / > 5.2 serial Peripheral Interface (SPI) introduced 69-71 5.3 C8051F040 functional overview of the SPI 71-74 5.3.1 SP10 master mode 71 - 72 5.3.2 SP10 slave 72-73 5.3.3 SP10 interrupt sources 73 5.3.4 SP10 operating 73 <br / > 5.3.5 serial clock Timing 73-74 5.4双MCU CAN bus repeater hardware system design 74-77 5.4.1 CAN Bus repeater transmission module design 75 5.4.2 repeater SPI module design 75-77 5.5 repeater protocol design 77 5.5 .1 relay master node 77 5.5.2 relay from node 77 5.6 repeater MCU state control design 77-79 5.6.1 MCU0 design 78 5.6.2 MCU1 design 78-79 5.7 repeater system for real-time analysis 79 5.8 Summary 79-81 Chapter 6, controller Area Network bus communication platform to build and system analysis 81-95 6.1 remote communication network set-up and test design 81-89 6.1.1 equivalent circuit telecommunication network design and analysis 81-84 6.1.2 remote Monitoring System testing and analysis 84-88 6.1.3 CAN bus remote control network performance summary 88-89 6.2 controller Area Network bus multi-master communication theory and analysis of test results 89-92 6.2.1 bit arbitration principle 89-90 6.2.2 analysis of test results 90-92 6.3 real-time method to improve the system 92-93 6.4 Summary 93-95 Chapter 7 Conclusion and Outlook 95-97 7.1 Conclusion 95 7.2 Prospects 95 - 97 Appendix 1 Host node module circuit diagram 97-98 Appendix 2 repeater module circuit diagram 98-99 Appendix 3 bottom module circuit board schematic 99-100 References 100-101 papers published during the reading and research achievements 101-102 Thanks 102

Related dissertations

  1. A Design of Automatic Test System of Hydraulic Pressure Station and Its Hardware and Software Realization
    MaZhengWei ·Shanghai Jiaotong University ·2012 ·Master's thesis
  2. The Study and Realization of Protocol Converter between CAN Bus and SPI Bus
  3. Design of Distributed Monitoring Vibration Network System On-line and Its Communication Interface
    SunShuangHua ·Tianjin University ·2004 ·Master's thesis
  4. Application of Communication Technology to Digital Protection Devices
    LiShaoHua ·Taiyuan University of Technology ·2003 ·Master's thesis
  5. Design of Embedded Data Acquisition and Processing System of MEMS-INS
  6. Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
    CuiXiaoNan ·Hebei University of Technology ·2013 ·Master's thesis
  7. Design and Realization of CS-50Catalyst Production Control System Based on CAN Bus
    AiTianLun ·Dalian Jiaotong University ·2012 ·Master's thesis
  8. Design of DeviceNet-CANopen Integrated Slave Node
    LiuXueWei ·Tianjin University of Technology ·2013 ·Master's thesis
  9. The Research of Embeded Intelligent Household Based on ARM
    WangWenChuan ·Hefei University of Technology ·2013 ·Master's thesis
  10. Design of Industrial Controller Based on EPA
    ZuoShengChao ·Dalian Jiaotong University ·2013 ·Master's thesis
  11. The Design of the Rectification Recovery System Based on the CAN Bus
    LiuTianQi ·Dalian Jiaotong University ·2013 ·Master's thesis
  12. Design of I~2C/SPI Bus for Digital Output Sensor
    ZhangZuoYao ·Harbin Institute of Technology ·2012 ·Master's thesis
  13. Design and Implementation of the SPI-based Technology Windows Firewall
  14. Design and Implementation of a Multi-channel Stereo Audio Encoding System
    ZhangRuiSheng ·Tianjin University ·2012 ·Master's thesis
  15. Design of digital audio information monitoring system based on Embedded System
  16. 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
  17. Study on the Water, Soil and Nutrient Loss from Gneiss Mountainous Area under Simulated Rainfall
    DaiXiao ·Agricultural University of Hebei ·2013 ·Master's thesis
  18. The Characteristics of Purple Soil Soluble C、N Lossing under Simulated Rainfall
    ZhangHaiTao ·Sichuan Agricultural University ·2013 ·Master's thesis
  19. The Design of Digitalized High-frequency Switching Power Supply Based on DSP
    LiZhiYong ·Tianjin University of Technology ·2013 ·Master's thesis
  20. Design and Implementation of High Frequency PFC On-board Charger
    ChenKai ·Wuhan University of Technology ·2013 ·Master's thesis