Intelligent Portable Combustible Gas Detector Research and Development
- Author
- ZhaoZuo
- Advisor
- WangJianGang
- School
- Jilin University
- Major
- Biomedical Engineering
- Classification
- TP216 Automatic testing equipment,instruments
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 827
- Citations
- 5
Abstract
With the progress of modern technology, combustible gases are used in industry and our daily lives more and more, which include Methane (CH4), CO etc. These gases can provide a lot of advantages and value for the people’s production and lives. However, they are more difficult to control compared with the solid coal and liquid petroleum, because they are gaseous substances. Leak may cause an explosion, fire or poisoning, which will be a serious threat to safety of people’s lives and property. Without detecting the content of combustible gases that are in industry and home quickly and accurately to eliminate combustible gases leakage, it can not guarantee to safely use combustible gases and healthily develop industrial production. Researching on the high-performance portable combustible gases detection instrumentation is an interested problem. Based on this purpose, in the paper I design a portable intelligent combustible gases detection system with the combustible gases sensor.In this design, the main function of portable combustible gases detector is to detect content of combustible gases (CH4 and CO) of the measured gas accurately, and to display combustible gases concentrations through the LCD. When the gas concentration reaches a certain threshold value, it will give off acousto-optic alarm. To enhance practical value, the system is also designed a human interface with the computer, communication port with computer, battery power detection device, gas pump module. In order to achieve the above functions, system should have gas detection sensor, temperature detection sensor, humidity detection sensor, signal conversion and adjust module, AD conversion chip, MCU, LCD, input keyboard, acousto-optic alarm module,RS-232 communication module, battery power detection module and gas pump control module.Technical parameters of the system are as follow. Detection range of CO is 0~150ppm; measurement accuracy of CO is not more than 20ppm; alarm threshold value is 30ppm. Detection range of CH4 is 0~5000ppm; measurement accuracy of CH4 is not more than 500ppm; alarm threshold value is 3500ppm. The working voltage of the system is +9V; the temperature is -20~+70°C, and relative humidity is 10~95%RH.Gas sensor is the starting point of the system as well as the core and emphasis of the system, so choosing a suitable sensor is critical for a successful system. The system adopts SnO2 semiconductor metal oxide gas sensors--TGS842 sensor which is made by FIGARO Company of Japan. TGS842 has high sensitivity to combustible gases, long-term stability, and good selectivity for a special gas. At different temperatures TGS842 manifests different sensitivity for different gases. Meanwhile TGS842 has a short response time and very simple external circuit. I design a controllable heating circuit according to character that TGS842 manifests different sensitivity for different gases at different temperatures. We can control the temperature of sensor through controlling the heating voltage. Heating voltage of sensor can switch between +2V and +5V. As the sensor is embedded installation, it is necessary to use an gas pump to pump gas into apparatus. This will speed up the flow velocity of measured gas, so that sensor can detect the change of external gas concentrations much faster. In addition, using the gas pump can accelerate the change of the sensor’s surface temperature, which is convenient for sensor to switch in different temperature. Resistance changes of gas sensor are transformed to voltage conversion value by sensor signal detection circuit. The voltage is amplified and adjusted by AD623 amplifier, which can be controlled by MCU to switch different gain between different gases. The adjusted signal can be turned into digital signal, which can be identified by MCU only after AD conversion. Temperature and humidity detection modules adopt an integrated digital temperature and humidity sensor, which include a capacitance polymer humidity sensor and a temperature sensitive component made of energy-gap materials. Those sensitive components, an 14 bit AD converter and a serial interface circuit are design on the same chip. It will be able to exactly know the technical parameters of temperature and humidity in the sensors working environment by using SHT71. Then system can provide reliable temperature and humidity compensation for the gas sensor signal. System adopts TLC2543 as AD conversion chip, which is 12 bit high precision AD chip. TLC2543 has 11 analog input channels and it communication with MCU via a serial way that can save resource of MCU Very much. Its conversion time is just 10μs so that it doesn’t need external sampling keeping circuit. The calculate core of system is STC89C58, which has 32KB FLASH memorizer that can support ISP function, is can download program via RS-232 serial port without special programmer that is easy for programming and testing. It also has 1280B RAM and 16KB E2PROM. In addition, it has soft watchdog and low power design. Human interface with the computer is used SMG12864ZK Chinese characters LCD display module and 2*2 keyboard which are mode key (MODE), plus key(+), subtract key(-) and enter key(ENTER). The system can switch in different mode with those control buttons, and alarm value can be realized the dynamic setting. The system place an RS-232 serial port to communicate with the external. As the only communication port of system serial port is very important. With the serial port, we can use the computer on-line to demarcate sensor, set up the alarm value online, and order MCU to show the gas concentration of environment as well as the alarm value which is already set up. We can also download the new sensor-driver program and system update program from the PC to MCU through the serial port. Acousto-optic alarm module adopt alarm buzzer and three color LED to display the state of system and gas concentrations.The software of system is compiled with C51 compiler system. And the main program has been divided into several sub-module. The major functions of software are such as setting initial state of the system, identification of gas composition and concentration, temperature and humidity measurement, compensation to the gas concentration according to the temperature and humidity, serial communications, scanning keyboard and model choice, displaying the gas concentration, acousto-optic alarm and so on. Interrupt service routine of timer 0 is the core of the system, because many of the major functions are embedded in the interrupt service routine. The time that timer 0 set up is 50ms, which means main function will have a routing cycle per 50ms. Interrupt service routine includes combustible gas detection subroutine, the detection subroutine of temperature and humidity, correcting subroutine for gas concentrations, dynamic setting subroutine for alarm value, change display, trigger watchdog and so forth. Serial communication module is also a key of the system, whose communication protocol has been drawn for facilitating the continued development and application of system upgrading. To enhance system reliability, we will set up timer 2 through software to achieve watchdog function, trigger watchdog on time and correct to avoid program error.The test of system is carried out at a CH4 environment in which temperature is 20°C, and relative humidity is 65%. Based on the contrast of actual gas concentration and the measured gas concentrations, the system basically accord with the design requirements. It can be achieve rapid and accurate response to combustible gas.
Table of contents
Summary 4-7
first chapter 7-10
1.1 portable combustible gas detector overview 7-8
1.2 portable combustible gas detector instrument development at home and abroad 8-9
1.3 combustible gas detector developed practical significance and application prospects 9
1.4 main work of this paper 9 - 10
Chapter portable combustible gas detector design requirements and design principles 10-24
2.1 design requirements 10-11
2.1.1 combustible gas detector function 10-11
2.1.2 combustible gas detector system diagram 11
2.2 design principles 11-24
2.2.1 combustible gases the role of the sensor principle 11-15
2.2.2 humidity sensor action principle 15-17
2.2.3 the role of the temperature sensor principle 17-21 < br /> 2.2.4 sensor compensation Algorithm 21-24
Chapter intelligent portable combustible gas detector hardware design 24-55
3.1 system hardware block diagram 24-25
3.2 system Power 25-28
3.2.1 LM7805 applications 25
3.2.2 system analog ground and digital ground distinction 25-26
3.2.3 battery monitoring circuit 26-27
3.2.4 A / D converter reference power 27-28
3.3 main Processing the selection and basic peripheral circuit 28-29
3.4 gas sensor selection 29-32
3.5 sensor signal detection circuit and heating circuit 32-34 <br / > 3.5.1 sensor signal detection circuit 33
3.5.2 sensor heating circuit 33-34
3.6 gas sensor signal conditioning 34-36 <br / > 3.7 temperature and humidity measurements 36-40
3.7.1 Introduction SHT71 digital temperature and humidity sensor 37-38
3.7.2 temperature measurement 38-39 <br / > 3.7.3 humidity measurement 39
3.7.4 SHT71 connection with the microcontroller 39-40
3.8 AD conversion chip select 40-47
3.8.1 TLC2543 chip Introduction 41-45
3.8.2 TLC2543 with the microcontroller and peripheral circuits connected 45-46
3.8.3 TLC2543 application Note 46-47
3.9 RS-232 bus 47-48
3.10 LCD unit 48-51
3.10.1 SMG12864ZK LCD module Overview 48-50
3.10.2 SMG12864ZK LCD module connected with the microcontroller 50-51
3.11 audible alarm unit 51-52
3.12 keyboard circuit 52-53
3.13 gas pump control unit 53-55
Chapter intelligent portable combustible gas detector software design 55-67 <br / > 4.1 system software diagram 55-56
4.2 system main 56-57
4.3 mode Selection button scanning and sub-module 57-59
4.4 interrupt processing sub-module 59-63
4.4.1 A / D conversion sub-module 59-60
4.4.2 gas concentration detection sub-module 60 - 62
4.4.3 temperature and humidity detection and compensation sub-module 62-63
4.5 serial communication Module 63-65
4.6 watchdog sub-module 65-67
Chapter portable combustible gas detector calibration and test data 67-70
Conclusion 70-71
References 71-73
Summary 73-76
Abstract 76-80
Thanks 80
Related dissertations
- Acetone Concentration Detector for Research and Design
- Design and Implementation of a Supply Chain System for Manufactural Enterprise
- Optimization of D Company Purchasing Management under the Environment of Supply Chain Management
- The Diagnostic Analysis of H Company Vendor Managed Inventory VMI Management Model Establishment
- Research on the Interconnection Problems of Production Management Data of Enterprise in Supply Chain
- Inventory Control Research in T Company Under the Environment of Supply Chain Management
- The Research on the Subsidy Policy of China’s Aluminum Industry on the Base of "SCM"
- On the Design of Home Security System for Teaching
- Technology Development of Coal-fired Automatic Boiler Control System Based on Single Chip Microcomuter Technology
- Intelligent Controller for Solar Water Heater
- The Study of Gas Sensors Based on Wo3with3D Mesoporous Structure
- Electric and Light Stress Source Monitering and Control Sysytem in Night Vision Testing Equipment
- Research on the System of Laser Triangulation Measuring
- The Design and Implementation of Purchasing Management System Besed on JIT Theory
- The Design of the Data Acquisition System in Strapdown Navigation Computer
- Design and Development of DAQ System Teaching Instrument Based on Labview
- A Study on RMB Exchange Rate Subsidies under the Framework of WTO
- Rearch on the Selection of Jilin Forest Industry Group'E-Business Mode
- The Design of Fuzzy PID Controller and Remote Monitoring System for Environmental Factors to the Growth of Eringi
- Design and Implementation of Remote Greenhouse Temperature Control System Based on GPRS and Zigbee Technology