SciELO - Scientific Electronic Library Online

 
vol.14 número2Parameter monitoring and control during petrol transportation using PLC based PID controllerThe App SOC plus a tool to estimate and calculate organic carbon in the soil profile índice de autoresíndice de materiabúsqueda de artículos
Home Pagelista alfabética de revistas  

Servicios Personalizados

Revista

Articulo

Indicadores

Links relacionados

  • No hay artículos similaresSimilares en SciELO

Compartir


Journal of applied research and technology

versión On-line ISSN 2448-6736versión impresa ISSN 1665-6423

J. appl. res. technol vol.14 no.2 Ciudad de México abr. 2016

https://doi.org/10.1016/j.jart.2016.03.003 

Articles

Hydrogen gas detector card

Francisco Sánchez Niñoa  * 

Francisco Javier De Anda Salazara 

aInstituto de Investigación en Comunicación Óptica IICO-UASLP, San Luis Potosí, México


ABSTRACT

A small card used for detecting hydrogen gas in a crystal growth system by the liquid phase epitaxy technique was designed and built. The small size of the card enables its portability to other laboratories where leakage detection of hydrogen or other flammable gas is required. Card dimensions are approximately 10 cm long and 5 cm wide enabling easy transportation. The design is based on a microcontroller which reads the signal from the hydrogen sensor and internally compares the read value with preset values. Depending on the signal voltage a red, yellow or green LED will light to indicate the levels of concentration of the flammable gas. The card is powered by a 9 V battery.

Keywords Hydrogen; Microcontrollers; Sensors; LPE; USB

1. Introduction

The liquid phase epitaxy technique used to fabricate optoelectronic devices is performed under a hydrogen atmosphere. This is done to prevent oxidation of the substrates and the liquid solutions; otherwise, the quality and characteristics of the components would be affected.

Once the materials have been introduced to the growth system, it is evacuated to remove gaseous pollutants. After evacuation, a flow of hydrogen is used to drag the remaining gases and thus purify the system. Furthermore, when the system is heated, oxygen reacts with the hydrogen and prevents the oxidation problems mentioned earlier.

The problem with using hydrogen is that it is highly flammable and, at concentrations in the atmosphere above 4%, it becomes dangerous because it can cause explosions of different magnitudes. Thus it is necessary to monitor the levels of hydrogen concentration in the liquid phase epitaxy laboratory. When a hydrogen concentration higher than normal is detected, it is necessary to find the source that gives rise to such concentration (Mishournyi, Hernández del Castillo, Gorvatchev, & Lastras Martínez, 2002).

The system reported here allows the detection of abnormal concentrations of hydrogen in the laboratory and locating the sources or points where the hydrogen is leaking (Sánchez-Niño & De Anda Salazar, 2015).

2. Portable card design

The design of this card is based on a PIC12F1572 microcontroller whose main features are:

  • A 49-instruction set and a 16 levels stack.

  • Internal clock speed of 31 kHz to 32 MHz.

  • Three pulse-width-modulation (PWM) modules 16-bit, complementary waveform generator (CWG) and four internal 10-bit analog-digital converter (ADC) modules.

  • One digital-analog converter (DAC) of 5 bits and one comparator.

  • Two 8-bit timers, timer 0 (TMR0), timer 2 (TMR2) and one 16-bit timer, timer 1 (TMR1).

It is a new generation 8-pin plastic dual in-line package (PDIP) encapsulated microcontroller used in a variety of applications such as light emitting diodes (LED) lighting systems, control stepper motors, direct current (DC) motors, power supplies, and general purpose applications. In Figure 1, the pinout and the encapsulation of the PIC are shown (Microchip, 2004).

Fig. 1 Schematics of the PIC12F1572 microcontroller. 

The card is based on this microcontroller as the main brain (Microchip, 2014). Figure 2 shows the block diagram of the detector card. The hydrogen (H2) sensor used is a commercial solid state gas sensor that can detect concentrations of hydrogen gas as low as 10 ppm. The H2 sensor requires a 5.4 VDC power supply. The output resistance of the sensor decreases as the hydrogen concentration detected increases. The sensor's output resistance is connected to a load resistance as a voltage divider. The signal on the load resistance is coupled to a LM324 operational amplifier configured as a unity follower to match the output impedance of the sensor and then the operational amplifier output is fed to the microcontroller via the RA0 input. The LM34 was chosen because it can be powered by a single power supply voltage (Microchip, 2004).

Fig. 2 Block diagram of H2 leak detection portable card. 

The reading from the H2 sensor is digitalized by the internal analog-digital converter and then it is compared internally with three preset levels indicating the concentration of H2 gas (Microchip, 2001). Depending on the value of the sensor output, one of the LEDs that are on the card is turned on according to Table 1.

Table 1 Preset values to turn on the LEDs. 

Command Voltage (V) LED
Safe 0.0-0.8 Green
Warning 0.8-1.5 Yellow
Danger 1.5-5.0 Red

Figure 3 shows the schematic diagram of the card design. The final size of the card is approximately 10.0 cm long by 5.0 cm wide; the system is powered by a rechargeable 9-V battery that feeds a 7805-Ve regulator which provides the supply voltage of the microcontroller, sensor and LM324 operational. Besides this, a LM317 is used to provide a heating voltage of 5.4 V for the hydrogen sensor (SYNKERA, 2010).

Fig. 3 Schematic diagram of the portable card used to detect leaks of H2. 

3. Software

Although the PIC12F1572 is a low range microcontroller it can support programming languages such as "C" and assembler. The program was developed in the PIC C compiler. Figure 4 shows the flowchart implemented for the application (CCS, 2010).

Fig. 4 Flowchart for reading the concentration levels of H2 with mobile card designed. 

The microcontroller constantly reads the output voltage of the hydrogen sensor and compares this value with three predefined voltages, while the output voltage is below 800 mV the green LED is illuminated indicating that the concentration of H2 is safe and there is no explosion danger when performing the experiment. If the voltage read by the analog-digital converter is below 1.5 V and above 800 mV, the amber LED is activated indicating an H2 concentration higher than normal and thus the existence of a small hydrogen leak. If the voltage from the sensor exceeds the value of 1.5 V, the red LED its turned on indicating a large leak of gas. In this case, it is necessary to stop the process and protect the staff in a safe place. It is worth mentioning that the LEDs were programmed to blink at different frequencies according to Table 2.

Table 2 Frequency of the LEDs as a function of the state of the system. 

State LED Frequency (Hz)
Safe Green 5
Warning Amber 10
Danger Red 20

4. Conclusions

A card to detect hydrogen was designed and built to be portable, it is fed by batteries and has been tested to verify proper operation, the sensor reading remains between 40 and 80 mV in the absence of additional hydrogen in the atmosphere.

The response of the card to hydrogen leakage levels was measured by immersing the detector in a gas mixture containing 95% argon and 5% hydrogen. By changing the distance between the gas mixture source and the card, each LED is turned on as programmed. The card allowed detecting some small leaks that would be difficult to locate using other methods. Also, the visual indicators warn the users of abnormal gas concentrations in the laboratory.

Acknowledgements

Special thanks to the technical staff at IICO-UASLP. This work has been partially supported by CONACYT, PROMEP and FAI at UASLP.

References

CCS, 2010 Custom Computer Services, Inc. CCS,. Manual PIC C Compiler. 2010. [ Links ]

Microchip, 2001 Microchip. Datasheet PIC16F877A/74A/76A/773A. 2001. [ Links ]

Microchip, 2004 Microchip. Datasheet PIC18F2455/2550/4455/4550. 2004. [ Links ]

Microchip, 2014 Microchip. Datasheet PIC12F1572. 2014. [ Links ]

Mishournyi et al., 2002 Mishournyi V.A, Hernández del Castillo I.C, Gorvatchev A.Y, Lastras Martínez A. Tecnologías epitaxiales de crecimiento de cristales semiconductores. Avance y Perspectiva. 2002; 21(1):21-31 [ Links ]

Sánchez-Niño and De Anda Salazar, 2015 Sánchez-Niño F, De Anda Salazar F.J. A hydrogen detectors wireless network for monitoring the gas ambient in a laboratory. Journal of Physics: Conference Series. 2015; 582(1):, http://dx.doi.org/10.1088/1742-6596/582/1/012038 [ Links ]

SYNKERA, 2010 Technologies, Inc. SYNKERA. Datasheet trace hydrogen sensor (P/N 701). 2010. [ Links ]

Peer Review under the responsibility of Universidad Nacional Autónoma de México.

Received: December 03, 2015; Accepted: March 17, 2016

* Corresponding author. ninof_sanf@yahoo.com.mx

Conflict of interest The authors have no conflicts of interest to declare.

Creative Commons License This is an open-access article distributed under the terms of the Creative Commons Attribution License