The Designing of Fire Alarm System for Experimental Building Based on CAN Bus
- Author
- WuQiang
- Advisor
- SunLiHua , HuangDongNan
- School
- Nanchang University
- Major
- Electronics and Communication Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 133
- Citations
- 0
Abstract
With the development of social economy and the accelaration of urbanization construction, more and more tall buildings are built for people to live. Therefore, the fire safety risks are increasing.Because the death and economic losses caused by fire could be terrible. But if we can predict the accident, in other words, measures can be taken before the fire spreads out, the loss will be reduced.The can bus has many advantages, among which real time and reliability are predominant.So this subject combines the two points and does make the research on the fire alarm system in the buildings.In this thesis, the MCU, CAN bus, and corresponding circuits are adopted to design the early warning system for fire based on CAN bus. The system detects and acquires the data by Temperature sensor and smoke sensor, and the data communications are based on CAN bus, which makes the system reliable and real-time.In this paper, the detailed hardware and software designs are introduced. The system is in master-slaver structure, in which MCU is acting as the processor. SJA1000 is selected as CAN controller and PCA82C250 is taken as the transceivers to implemente communication circuits designing of CAN bus. Finally, the results is displayed on the LED, which indicates the temperature of every sites, both master and slaver. In slaver sites, DS18B20 temperarure sensor and MQ-2 smoke sensor are applied to acquire data respectively.The yesting results show that the designs in this paper can satisfy the requirements.
Table of contents
Abstract 3-4
ABSTRACT 4-7
Chapter Introduction 7-11
1.1 systems research background and significance 7
1.2 building a fire warning system development status 7-8
1.3 fieldbus technology development 8-9
1.4 the main contents of this paper 9-11
Chapter Introduction and CAN bus system design 11-19
2.1 CAN bus Overview 11-12
2.2 CAN 's works 12-13
2.3 CAN protocol analysis 13-14
2.3.1 CAN protocol layering 13-14
2.3. 2 CAN bus bit value 14
2.4 messaging and frame structure 14-16
2.5 system design 16-18
2.5.1 system design requirements 16-17
2.5.2 system's overall design scheme 17-18
2.6 chapter Summary 18-19 <br / > Chapter 3 System hardware design 19-32
3.1 system is a major component selection About 19-21
3.1.1 microprocessor STC89C52 19
3.1.2 SJA1000 Profile 19-20
3.1.3 PCA82C250 Profile 20-21
3.2 CAN communication circuit design 21-23 <br / > 3.2.1 CAN bus interface control circuit design 22-23
3.2.2 CAN bus transceiver circuit design 23
3.3 master node design 23-28
3.3.1 master circuit design 24-25
3.3.2 alarm Display circuit design 25-26
3.3.3 key control circuit design 26-28
3.4 slave node design 28-31
3.4.1 sensor module circuit selection 28-31
3.5 Summary 31-32
Chapter 4 System software Design 32-43
4.1 system initialization design 32-34
4.1.1 MCU initialization 32
4.1.2 CAN controller initialization 32-34
4.2 CAN communication circuit programming 34-37
4.2.1 send subroutine design 34-35
4.2.2 CAN interrupt reception program design 35-37
4.3 master node program design 37-38 <br / > 4.4 slave nodes program design 38-42
4.4.1 sensor module circuit programming 40-42
4.5 chapter Summary 42-43 <br / > Chapter Summary and Outlook 43-44
5.1 Summary 43
5.2 Prospects 43-44
Thanks 44 - 45
References 45-47
Appendix A master program 47-65
Appendix B slave program 65-81
Appendix C hardware circuit physical 81
Related dissertations
- Realization of Data Acquisition and Monitoring Systerm Based on Can Bus in Production Line
- Study on the structure and control system of a stack unit
- Design of Fire Alarm System Based on CAN Bus and Data Fusion
- Design of Terminal Management System Based on ATmega16MCU for Foot Massage Service
- Development of Vehicle ESP System Based on MCU
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- The Foam Insulation Greenhouse Monitoring System Design
- The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- The Design of Hybrid Electric Bus Data Acquisition and Test System
- Industrial Field Data Acquisition System Design Based on CAN Bus
- Design of the Hazard Source Monitoring System Based on CAN Bus
- The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
- Research on Data Acquisition System of Can Bus
- The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
- Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
- Research of a System Integrated Rotational Speed and Temperature Measurement Based on MCU
- Design and Implementation of Intelligent Wiring Hardness Detection System
- The Wireless Temperature and Humidity Monitoring System Design