Based on CAN Bus Gas Alarm System Research and Implementation

Author
HanYaoZhen
Advisor
ZhouFengYu
School
Shandong University
Major
Control Theory and Control Engineering
Classification
TP277 Monitoring, alarm,fault diagnosis system
Degree
Master's thesis
Year
2008
Downloads
396
Citations
4

Request the full text

Abstract

Whether in petroleum, chemical and other enterprises, or in the mall or resident buildings in the event of combustible or toxic gases and other harmful gases leak without taking effective measures against persons and property will have a great impact on safety. Made for the early detection of gas leak, the leak does not expand before to take effective measures to avoid accidents or worse. This paper describes the development of product gas alarm status, comparing the advantages and disadvantages of various related products. CAN bus communication through in-depth learning theory, and based on the design requirements of the gas alarm was proposed based on CAN bus gas alarm system design. CAN bus system uses a combination of two RS485 bus communication network, the master controller, CAN/485 converters, gas detectors and the linkage module combining three-tier structure. Master controller and converter CAN/485 between upper-layer network using CAN communication, CAN/485 converter and the detector, the linkage between the modules is the underlying communication using RS485 way through this structure to better achieve the monitoring of harmful gases. Secondly, the paper describes in detail the main controller hardware design and software implementation. Master controller selects as its high-performance microcontroller ATmega128 MCU, using the MCP2510 as the CAN controller, PCA82C250 achieved for the CAN bus transceiver CAN communication module design, the choice of a 10.4-inch color LCD with touch screen terminal to achieve each screen display and parameter settings, the main controller also includes a power conversion and detection circuit, sound and light alarm circuit, printer module, real-time clock, the motherboard linkage control part, external expansion 32KB E ~ 2PROM and RAM and so on. Again, introduced CAN/485 converter software and hardware design. CAN/485 converter used the AVR ATmega16 microcontroller as the controller, the design of the CAN communication interface and RS485 communication interface for programming the alarm system to achieve the communication format conversion, the node automatically search, address changes and some other specific features. Then, the article details the detectors and linkage module implementations. Detectors and linkage module are used as a microcontroller PIC16F690 microcontroller, to achieve on-site gas concentration detector acquisition, processing, transmission and other functions, the linkage module as a gas pipeline linkage to close or open the exhaust fan. Finally, the article on the function of the system and electromagnetic compatibility test experiments were introduced to improve the CAN communication distance of several methods are summarized. The gas alarm system can be realized on natural gas, liquefied petroleum gas, coal gas, organic solvents and other combustible gases, toxic gas monitoring, gas detectors node capacity can reach 1024, to achieve the alarm recording, fault recording, switch machine history Record print; optional color LCD with touch screen operator interface terminal allows the user more beautiful and simple. Based on CAN Bus fire alarm system in the industry has a relatively wide range of applications, and in the gas alarm industry has just started, based on the structure of the gas used in this paper alarm system currently rarely reported, is the bus gas alarm system is an important direction of development, has a broad market space and development prospects. This topic is Jinan Changqing Computer Applications Company's horizontal cooperation projects, at present, the products have passed the gas alarm industry GB certification, has mass market.

Table of contents

Abstract 10-12 ABSTRACT 12-14 The first chapter 14-18 1.1 research background and significance 14-15 1.2 Development of gas alarm systems 15-17 1.3 topics sources 17 1.4 The main research topics 17-18 Chapter gas alarm system based on CAN bus overall design 18-25 2.1 CAN bus in the gas alarm system advantages 18-20 2.1.1 CAN Bus Overview 18-19 2.1.2 CAN bus organization's basic rules 19-20 2.2 overall system design requirements 20-22 2.2.1 General requirements and concentration display 20-21 2.2.2 gas concentration alarm function 21 2.2.3 failure alarm function 21-22 2.2.4 self-test function and power capabilities 22 2.3 overall design 22-24 2.4 Summary 24-25 Chapter gas alarm system master controller design 25-50 3.1 host controller hardware design 25-40 3.1.1 watchdog chip microcontroller ATmega128 and introduce 25-27 3.1.2 power conversion and detection circuit 27-29 3.1.2.1 Power Conversion 28-29 3.1.2.2 Mains state detection 29 3.1.2.3 backup power, charging and undervoltage condition detection 29 3.1.3 CAN bus communication module design 29-34 3.1.3.1 master controller CAN communication circuit design 29-32 3.1.3.2 CAN bus bit timing parameters determine 32-34 3.1.4 audible alarm and printer circuit 34-36 3.1.5 with a color LCD touch screen smart terminal module 36-38 3.1.6 expand outside independent 32KBE ~ 2PROM and SDRAM circuit 38-39 3.1.7 host controller linkage part of the design 39-40 3.2 host controller software 40-49 3.2.1 main process design 40-42 3.2.2 CAN communication realization 42-46 3.2.3 Intelligent LCD terminal transceiver processes 46-48 3.2.4 GAL chip programming 48 3.2.5 external expansion memory and real-time clock program 48-49 3.3 Chapter Summary 49-50 Chapter CAN/485 converter design 50-59 4.1 Hardware Design 50-51 4.2 software 51-58 4.3 Chapter Summary 58-59 Chapter detectors and linkage module design 59-66 5.1 Detector design 59-63 5.1.1 Detector hardware circuit design 59-61 5.1.2 Detector software 61-63 5.2 linkage module design 63-64 5.2.1 linkage module hardware design 63 5.2.2 linkage module software 63-64 5.3 Chapter Summary 64-66 Chapter VI system experiment 66-73 6.1 system functional test 66-70 6.2 system electromagnetic compatibility test 70-72 6.3 Chapter Summary 72-73 Chapter Summary and Outlook 73-76 7.1 Summary 73-75 7.2 Job Outlook 75-76 References 76-80 Thanks 80-81 papers published during the study for a degree 81-82 thesis reviewers and the respondent Fact Sheet 82

Related dissertations

  1. The Design of Wireless Home Intelligent Controller Based on GPRS Technology and Embedded System
  2. Design and Implementation of a Supply Chain System for Manufactural Enterprise
    ZhangZhiYou ·Northeastern University ·2011 ·Master's thesis
  3. Optimization of D Company Purchasing Management under the Environment of Supply Chain Management
    LiuChao ·Nanjing Agricultural College ·2013 ·Master's thesis
  4. The Diagnostic Analysis of H Company Vendor Managed Inventory VMI Management Model Establishment
    ChenWeiNa ·South China University of Technology ·2013 ·Master's thesis
  5. Research on the Interconnection Problems of Production Management Data of Enterprise in Supply Chain
    WangLu ·Dalian Jiaotong University ·2013 ·Master's thesis
  6. Inventory Control Research in T Company Under the Environment of Supply Chain Management
    HuangKunLun ·Dalian University of Technology ·2013 ·Master's thesis
  7. The Research on the Subsidy Policy of China’s Aluminum Industry on the Base of "SCM"
    ChenDan ·Hunan University ·2013 ·Master's thesis
  8. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  9. On the Design of Home Security System for Teaching
    ZuoYaFei ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  10. Research and Design of Intelligent Medical Infusion Monitoring System
  11. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  12. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  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 Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
    QianYiWei ·Hunan University ·2013 ·Master's thesis
  20. Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
    FeiYongYun ·Nanjing Agricultural College ·2013 ·Master's thesis