Automated Fire Suppression
Automated Fire Suppression
Supervised by:
Fall 2017
BRAC University, Dhaka.
DECLARATION
.............................................. ..............................................
..............................................
i
ACKNOWLEDGEMENT
We are thankful to our thesis supervisor Dr. A.K.M. Abdul Malek Azad, Professor,
Department of Electrical and Electronic Engineering (EEE), BRAC University, for
his guidance for completion of the thesis. Our regards to Project Engineer, Ataur
Rahman for his support throughout the whole thesis time span. We are thankful to
EEE department, BRAC University for providing us the necessary equipment for
the completion of this project and funding this project undertaken by Control and
Application Research Centre (CARC).
ii
ABSTRACT
The proposed fire suppression system is a real time monitoring system that detects
the presence of flame of certain wavelength in the air due to fire and suppresses the
fire via continuous water running through multiple sprinklers. The controlling unit
used to develop the fire alarm system is an Arduino Uno. The key feature of this
system is the ability to remotely send an alert when a fire is detected. Fire is an
undesirable event that could cause a great loss of social wealth, human life and
confidential amenities. To prevent these losses, various alarm systems have already
been developed such as smoke detectors, temperature sensor based systems etc.
These systems comes with a high chance of human error that can mislead the
sensing and hence the whole system in general. Our fire suppression system on the
other hand is extremely well thought out; it has no chance of human error as it is
fully self-sufficient. The room or the area will have dedicated overhead sprinklers
connected to the water supply through its dedicated solenoid valve which controls
the flow of water in the pipe lines. The triggering devices of this system are the
flame sensors, when they detect fire an alarm will go off. The coding set in the
Arduino will come into work and provide the optimal voltage to the solenoid valve
through a relay and hence water will rush out the sprinklers extinguishing fire in no
time. The sensors we will be using are highly sensitive, thus it will detect fire even
before it reaches to a point of concern. Water will be evenly spread out through the
overhead sprinklers. Unlike other alarm systems, the components we used are
readily available and reasonable in price. Our automated fire suppression system
can be used both for commercial and residential purposes.
iii
TABLE OF CONTENTS
Acknowledgement………………………………………………………… …..ii
Abstract………………………………………………………………………..iii
List of figures………………………………………………………………....vii
List of tables…………………………………………………………………....x
List of abbreviation…………………………………………………………...xi
CHAPTER 1: Introduction.…………………………………………………..1
1.1Motivation of the work and background…………………...………………..1
1.2Literature review and problem formulation....................................................4
1.3Project objective…………………………………………...………………...6
1.4Contribution of this project………………………………………………….8
1.5Thesis organization.........................................................................................8
1.6Conclusion…………………………………………………………………...9
iv
3.5 Flame sensor……………………………………………………………….25
3.6 Relay……………………………………………………………………….27
3.7 Solenoid valve……………………………………………………………..30
3.8 Miscellaneous devices……………………………………………………..34
3.9 Conclusion…………………………………………………………………36
v
5.2 Distance of triggering the sensor………………………………………......60
5.3 Electrical measures of flame sensor………………....……………....….....63
5.4 Conclusion…………………………………………………………………68
References……………………………………………………………………..72
Appendix……………………………………………………………………...76
vi
LIST OF FIGURES
Figure 3.4a: The logic diagram along with an expanded version of a typical 4
input NAND gate.
Figure 3.8a: Sprinkler head with glass bulb containing heat responsive liquid.
vii
Figure 4.2.3.1b: When power supply is disconnected from electromagnet.
Figure 4.5.3c: Fire detected in the center of the demonstration room. Water is
flowing through the solenoid and out the sprinkler heads.
Figure 5.1.1b: The spectral range in the infrared radiation at which the flame
sensor triggers.
viii
Figure 5.1.2: The ranges in which the flame sensor does not trigger or cannot
detect any infrared.
Figure5.2a: The flame sensor is ON; the switched OFF LED shows that fire is yet
to be detected.
Figure 5.2b: The switched ON LED shows that the flame sensor detects fire at
20cm.
Figure 5.2c: The switched ON LED shows that the flame sensor detects fire at
40cm.
Figure 5.2d: The switched ON LED shows that the flame sensor detects fire at its
maximum range of 100cm.
Figure 5.3a: The typical electro optical curves for YG1006 sensor.
ix
LIST OF TABLES
Table-2: Some related factory and slum incidents in and around Dhaka are
mentioned
Table 10: The electro-optical characteristics include voltage, time, current and
wavelength.
x
LIST OF ABBREVIATIONS
VCC- refers to the voltage from the positive terminal of a power supply.
GND- indicates the ground terminal or the negative terminal of a power supply.
COM- is the common or return connection of the relay essentially when the relay
is activated.
xi
Chapter 1
Introduction
In this chapter we first introduce the topic of Fire Suppression System using
Arduino Uno and describe the problem statement related to the simulation
environment. Then the main research objectives are outlined followed by the
research contributions. Finally, the main thesis overview is presented.
Fire has been a danger to assets and population through ages. In very recent times
there have been multiple cases of fire throughout Dhaka city damaging properties
worth millions and moreover taking away lives of innocent people. Locations like
factories, slums and other open areas are most vulnerable to such disastrous events.
Offices and other workplaces are also exposed to such events which may cause
loss of important confidential documents and treasuries.
From January to February, incidents of 1,845 fires were recorded by Fire Service
and Civil Defense all over Bangladesh.
Table-1[2]:
The estimated financial loss from fires last year was Tk240.43 crores according to
Fire Service and Civil Defense.
1|Page
CHAPTER 1
Some related factory and slum incidents in and around Dhaka are mentioned below
in Table 2[1]:
Factory Location Incident Cause and outcome Injuries Deaths
name date
Next AshuliaSavar 3\1\2015 Thirty people have been injured in a stampede 30 0
Collection when the garment workerswere stepping down
from the factory following fire panic. The
incidenttook place at Next Collection in
Narshinghapur area of Ashulia around 11a.m.on
Sunday. An electrical short circuit caused a
"sparkle of fire."
Unnamed Bangshal 2/21/2014 Four workers have sustained burn injuries after a 3 1
shoe Dhaka shoe factory in the capital's busy Bangshalarea
factory was burned down in a fire on Friday night. The
fire broke out at a small shoe factory at the
Kayettuli area around 10p.m. Two firefighting
units doused the flames after 30 minutes of effort.
Another victim of the shoe factory fire succumbed
to his injuries last night at the Burn and Plastic
Surgery Unit of Dhaka Medical College Hospital.
.
Matrix Choydana, 2/2/2016 Fire broke out at Matrix Sweater Factory at 7:30 5 0
Sweaters National am for the second time in last four days in the
Ltd. University district. Joydebpur Fire Service station officer said
fire broke out at the eighth floor of the factory. On
information, eight unit of Tongi and Joydevpur
fire service rushed to the spot and was trying to
douse fire. Causes of fire and damages caused
could not be known yet.On January 29 fire broke
out on the same factory.
2|Page
CHAPTER 1
Multifabs Gazipur, Dhaka 7/4/2017 A boiler explosion at a Bangladeshi garment plant Unknown 10
co. near the city of Dhaka killed 10 people and
injured dozens. The blast occurred at a plant
operated by local Bangladeshi firm Multifabs
while maintenance work was going on, company
and fire brigade officials said. The explosion at
the boiler, located in a tin-roofed shed, partially
damaged a nearby three-storey factory building.
This was one of the latest industrial tragedy to hit
one of the world’s biggest garment producers.
Korail Mohakhali, 3/16/2017 Many houses at one of the largest slums in Dhaka Unknown Unknown
Slum Dhaka have been razed to the ground by a fire that broke
out at the early hours of 16th march. Authorities
are yet to report any casualties over the fire, the
third in a year, at the Korail slum in the capital's
Mohakhali area. Fire service said that the incident
was reported around 3am on Wednesday. It took
the firefighters a little over five hours to put out
the flamesMohakhali’sKorail slum is one of the
largest slums in the capital with thousands of
inhabitants, hundreds of tin-shed houses at the
slim were gutted. The slum, on a 150-acre land of
the state run BangladeshTelecommunication
Company Ltd (BTCL), is home to several
hundreds of thousands of people of the low-
income group. Hundreds of houses of the slum
were burnt in two incidents of fire on Dec 4 and
Mar 14 last year.
Banshbarhi Mohammadpur, 2/16/2017 A fire has raged through a slum in Dhaka, leaving Unknown Unknown
slum Dhaka more than 100 shanties completely burnt. The fire
service said no casualties were reported from the
incident which took place early on Thursday
morning at the 'Banshbarhi Slum' in the capital's
Mohammadpur area. Flames erupted at the slum
around 3:30am, said Fire Service Control Room
official PalashModak. It took 13 fire-fighting
units almost two and a half hours to put out the
fire. The cause of the fire is yet to be known.
Locals said more than 100 shanties were
completely gutted in the fire.
These are just some of the reported events, other than these there have been news
of multiple fire events in the last 3 or 4 years which were not reported. The very
recent fire ravaged around 500 homes in Korail slum in Mohakhali. Fire disasters
are increasing day by day and should not be overlooked time after time. These
3|Page
CHAPTER 1
unfortunate events gave rise to our project which suppresses fire in a much more
efficient way than the existing methods. Slums have narrow lanes and many
flammable materials in its premise which causes fire to spread out quickly and
makes work harder for Fire brigade to operate on the inside. Factories have many
electrical appliances which may be the cause for fire. We motivated ourselves to
build a technology that could reduce the fire hazard to a minimum at a minimum
cost.
Fire causes huge loss of lives and properties every year in Bangladesh. Analyzing
past fire incidents, facts are revealed. Some of the main causes are insufficient fire
defense materials, electric short circuit from faulty electrical wiring, presence of
inflammable materials, violation of fire safety and lack of adequate awareness etc.
Some factories and recent buildings have proper installation and fire safety
arrangements such as fire alarm, fire extinguishers, water supply system etc. But
the argument is these conventional fire extinguishing systems are not enough to
take prompt action during fire and save life. Traditional manual system does not
ensure 24/7 monitoring from fire protection. Moreover, existing fire protection
system could spread panic inside the whole building since it does not announce the
location of fire or intensity. It only raises alarm whenever fire is detected at any
place. Frightened people could start to run away haphazardly. As a result buildings
full of workers in the factories women, children could be smashed by the outgoing
pressure of the frightened crowd and injured severely. On the contrary, sometimes
people do not realize the intensity of the fire and not willing to evacuate fire
affected building quickly. It could lead a devastating result.
In this paper a Fire suppression system is presented that can reduce these hazards
to a great extent. The proposed system is fully automated and does not effectively
require any human effort to extinguish the unfortunate event. It is self-sufficient as
well. The fire alarm will set off once the fire breaks down which will open the
solenoid valves connected to water pipes by the help of a controlling unit (Arduino
Uno). Relays are connected in between the Arduino and the solenoid valve in order
4|Page
CHAPTER 1
to provide the required voltage to the valve. The sprinklers used in this system can
cover a relatively large radius and can effectively suppress the fire within seconds.
Fire suppression systems are used to extinguish or prevent the spread of fire in a
building or in an open space. An automatic fire suppression system control and
extinguish fires without human intervention. When fires are extinguished in the
early stages loss of life and property is minimal since 93% of all fire related deaths
occur once the fire has progressed beyond the early stages.
Today there are numerous types of Automatic Fire Suppression Systems and
standards for each one. Systems are as diverse as the many applications.
The existing fire alarm system in market nowadays, is too complex in term of its
design and structure. Since the system is too complex, it needs regular preventive
maintenance to be carried out to make sure the system operates well. Meanwhile,
when the maintenance is been done to the existing system, it could raise the cost of
using the system. Therefore, the proposed project is designed with a low cost and
all level users can have one for a safety purpose.
5|Page
CHAPTER 1
Our projects objective is to design a Fire Alarm & Fire suppression System that
would fulfill the following objectives:
iii) Run the controlling unit (Arduino Uno) and control the fire by supplying
water to the remote area by motor pump.
v) The system should also provide the flexibility to suppress the fire in
multiple rooms.
vi) The sprinklers used in the system should suppress the fire over the
correct radius and not waste any water unnecessarily.
vii) The system should never be in any ambiguous state. Under normal
conditions the system should indicate the state of the room as safe to the
normal people.
Furthermore there are other objectives to our research as well which includes:
ii) To have a clear perception of the Arduino and its different characteristics
involved in the project.
iii) To have a clear idea of the flame sensors those are used in the project by
proper identification of their detection mechanism.
6|Page
CHAPTER 1
iv) Design and implement our proposed system at a proper place and safe
environment.
v) Determine the faults in our system and finding the proper solution.
i) This fire alarm system can incorporate the solenoid valve and flame
sensors.
ii) The Arduino is used as the heart of this fire alarm system that controls
the entire operations involved.
iii) The fire alarm system is capable to locate and identify the place that is
in fire while it is controlled by the Arduino.
7|Page
CHAPTER 1
i) Once properly executed, this project will save human lives and amenities
from disaster.
iv) An ideal power back up has been proposed in case of emergency power
supply and its performance has been justified.
8|Page
CHAPTER 1
1.6 Conclusion
9|Page
Chapter 2
Fire Suppression Mechanism
Suppressing fire by throwing water onto it has been used since ancient times. To
provide an automatic spray of water to control a fire, sprinkler systems were
developed in the late 19th century. Since then, automatic sprinklers have become
the most common fixed fire suppression system for providing fire safety in
buildings. Sprinklers control fire development by wetting and cooling the fuel
surface.
They are effective for fires involving solid materials (referred to as solid fuels) but
are not effective for flammable liquids (called liquid fuels) such as gasoline, diesel
and jet fuels. The old adage “oil and water do not mix” must be kept in mind. Fire
suppression systems for liquid fuels typically use foam or dry chemicals, which
cover the fuel surface, hence limiting thermal feedback to the liquid fuel surface
and fuel vaporization.
The new fire suppression systems use technologies such as: inert and halocarbon
gaseous agents, water mist systems and solid gas generator.
Gaseous Systems:
Two types of gaseous agents are available for use in total flooding systems-
halocarbon agents and inert gases. A general requirement for such systems is that
the enclosure must be capable of holding the gas and be able to withstand the high
pressures produced during discharge.
10 | P a g e
CHAPTER 2
Halocarbon Agents-
Halocarbon agents are chemicals similar to Halon except that their molecular
structure has been modified to reduce the number or to eliminate completely, the
chlorine and bromine atoms, which are responsible for ozone depletion. These
agents extinguish fires primarily by cooling. Acceptance of a halocarbon agent by
regulatory authorities hinges on the agent’s toxicity. Two toxicological aspects
must be considered. One is the toxicity of the agent itself, and the other is the
toxicity of combustion by-products of the agent produced under fire conditions.
Results from both small-scale and full scale tests have shown that the halocarbon
replacement systems extinguish fires well, though not as effectively as Halons. To
provide the same level of fire protection as Halons, larger amounts of halocarbon
agents are needed. This means larger and heavier cylinders are required, which
may create weight and space problems. The test results also show that halocarbon
agents produce five to ten times more toxic gases than Halon 1301 during fire
suppression. These gases include hydrogen fluoride (HF) and carbonyl difluoride
(COF2), with levels produced in test fires significantly exceeding all human
exposure limits. The levels of HF and COF2 likely to be produced in actual
applications will depend on many factors such as agent type and concentration, fire
type and size, and discharge and extinguishment times.
11 | P a g e
CHAPTER 2
Water Mist:
The term "water mist" refers to fine water sprays in which 99% of the volume of
the spray is in droplets smaller than 1000 microns in diameter. Fire suppression by
water mist is mainly by physical mechanisms. No significant chemical effects are
involved. Water mist does not behave like a “true” gaseous agent. The
compartment tests showed that its effectiveness in fire suppression is substantially
affected by the fire size, the degree of obstruction, ceiling height, and the
ventilation conditions. Water mist characteristics, such as variety of drop sizes and
spray momentum, have a direct influence on effectiveness. To effectively suppress
a fire, a water mist system must generate and deliver optimum-sized droplets with
an adequate concentration. The selection of the optimum size of droplets for the
design of the system is dependent on the potential size of the fire, properties of the
combustibles, and the degree of obstruction and ventilation in the compartment.
There is no one drop size distribution to fit all fire scenarios.
There are several water mist systems available commercially. Some employ high
or intermediate pressures of water through small orifices in a nozzle to produce the
mist, while others use twin fluid nozzles (water and air). Water mist systems have
demonstrated a number of advantages, such as good fire suppression capability, no
environmental impact and no toxicity. As a result, they have been considered for
numerous applications. One potential application is shipboard machinery spaces.
Water mist systems are able to extinguish a wide variety of fires when natural
ventilation, such as open doors and hatches are allowed, whereas gaseous agents
were not effective under such conditions. Water mist systems also rapidly reduced
the compartment temperature and significantly improved visibility. These
advantages allow accessibility to the compartment during fire suppression. [5]
Gas Generators:
Based on automotive airbag technology, gas generators have been developed for
fire suppression applications. Gas generators can produce a large quantity of gases
(mainly N2, CO2 and water vapor) by combustion of solid propellants. Solid
propellants consist of oxidizers and fuel ingredients, and are able to burn without
ambient air. Gas generators can be very compact and can provide very fast
discharge (in a few milliseconds). Currently, there are two types of gas generators
available: conventional and hybrid. Conventional gas generators contain a
propellant and an electrical initiator. When a signal is received from a
12 | P a g e
CHAPTER 2
The automated system that we designed has multiple advantages over other
technologies:
13 | P a g e
CHAPTER 2
2.4 Conclusion
Chapter 2 portrays the basics of fire suppression mechanisms along with the
existing systems of fire suppression mechanisms such as gaseous systems, water
mist systems and compressed-air foam mechanisms.
Most importantly this chapter tells us the advantages of our systems over the
existing mechanisms. These advantages include localizing the fire, highly
responsive flame sensors, fast response between fire detection and extinguishing
process, independence of the system from grid power, an intelligent and efficient
controlling unit and the system’s own protection unit.
14 | P a g e
Chapter 3
Fundamental Concept of an Embedded
System and Components Used In Our
Embedded System
The electronic system which integrates the hardware circuitry with the software
programming techniques for providing project solutions is called as embedded
systems. By using this embedded system technology the complexity of the circuits
can be reduced to a great extent which further reduces the cost and size. Embedded
system was primarily developed by Charles Stark for reducing the size and weight
of the project circuitry.
Modern embedded systems are often based on microcontrollers (i.e. CPU's with
integrated memory or peripheral interfaces), but ordinary microprocessors (using
external chips for memory and peripheral interface circuits) are also common,
especially in more-complex systems. In either case, the processor(s) used may be
types ranging from general purpose to those specialized in certain class of
computations or even custom designed for the application at hand. A common
standard class of dedicated processors is the digital signal processor (DSP).
One of the very first recognizably modern embedded systems was the Apollo
Guidance Computer developed by Charles Stark Draper at the MIT
Instrumentation Laboratory. [8]
16 | P a g e
CHAPTER 3
Alternatively, embedded systems are being used in mobile robots and some
military applications. In fact, there has been an enormous increase of interest in
mobile robots as they are perfect tools for engineering education. In the past,
mobile robots were controlled by large, expensive, and heavy computer systems
that could not be carried and had to be linked via cables.
Furthermore, it is hard to maintain embedded systems because the software part of
embedded systems is typically monolithic and these systems are hard to upgrade
and customize. Also, it is hard to carry files from one machine to another because
there are different programming languages that can used to manipulate the
hardware of the embedded system, so carrying files from one machine to another is
hard and may not work with the other hardware. In conclusion, it can be seen that
there are many beneficial uses of embedded systems in our daily life which are
raising people’s standard of living in many fields, being used effectively in
different fields of industry and aerospace applications, being used in mobile robots
and in some military applications. [7]
17 | P a g e
CHAPTER 3
Arduino is an open source computer hardware and software company, project, and
user community that designs and manufactures single-board microcontrollers
and microcontroller kits for building digital devices and interactive objects that can
sense and control objects in the physical world.
Arduino board designs use a variety of microprocessors and controllers. The
boards are equipped with sets of digital and analog input/output (I/O) pins that may
be interfaced to various expansion boards (shields) and other circuits. The boards
feature serial communications interfaces, including Universal Serial Bus (USB) on
some models, which are also used for loading programs from personal computers.
The microcontrollers are typically programmed using a dialect of features from the
programming languages C and C++. A program written with the IDE for Arduino
is called a sketch. Sketches are saved on the development computer as text files
with the file extension .ino. Arduino Software (IDE) pre-1.0 saved sketches with
the extension .pde.
18 | P a g e
CHAPTER 3
The version that we will be using in our research is Arduino Uno R3. The Arduino
Uno R3 is a microcontroller board based on the ATmega328 (datasheet). It has 14
digital input/output pins (of which 6 can be used as PWM outputs), 6 analog
inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP
header, and a reset button. It contains everything needed to support the
microcontroller. We need to simply connect it to a computer with a USB cable or
power it with an AC-to-DC adapter or battery to get started.
A summary of the configuration of the device:
Microcontroller ATmega328
Operating Voltage 5V
Input Voltage
7-12V
(recommended)
SRAM 2 KB (ATmega328)
EEPROM 1 KB (ATmega328)
19 | P a g e
CHAPTER 3
The Arduino Uno can be powered via the USB connection or with an external
power supply. The power source is selected automatically.
The board can operate on an external supply of 6 to 20 volts. If supplied with less
than 7V, however, the 5V pin may supply less than five volts and the board may be
unstable. If using more than 12V, the voltage regulator may overheat and damage
the board. The recommended range is 7 to 12 volts.
The power pins are as follows:
• Vin: The input voltage to the Arduino board when it's using an external
power source (as opposed to 5 volts from the USB connection or other
regulated power source).
• 5V: The regulated power supply used to power the microcontroller and other
components on the board.
• 3.3V: A 3.3 volt supply generated by the on-board regulator. Maximum
current draw is 50 mA.
• GND: Ground pins.
20 | P a g e
CHAPTER 3
Each of the 14 digital pins on the Uno can be used as an input or output,
using pinMode(), digitalWrite(), and digitalRead()functions. They operate at 5
volts. Each pin can provide or receive a maximum of 40 mA and has an internal
pull-up resistor (disconnected by default) of 20-50 kiloohms. In addition, some
pins have specialized functions:
• Serial 0 (RX) and 1 (TX): These are used to receive (RX) and transmit
(TX) TTL serial data. These pins are connected to the corresponding pins of
the ATmega8U2 USB-to-TTL Serial chip.
• External Interrupts 2 and 3: These pins can be configured to trigger an
interrupt on a low value, a rising or falling edge, or a change in value.
• PWM 3, 5, 6, 9, 10, and 11: Provide 8-bit PWM output with
the analogWrite() function.
• SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK): These pins support SPI
communication using the SPI library.
• LED 13: There is a built-in LED connected to digital pin 13. When the pin
is HIGH value, the LED is on, when the pin is LOW, it's off.
The Uno has 6 analog inputs, labeled A0 through A5, each of which provide 10
bits of resolution (i.e. 1024 different values).
There are a couple of other pins on the board:
The Arduino Uno can be programmed with the Arduino software. The
maximum length and width of the Uno PCB are 2.7 and 2.1 inches respectively,
with the USB connector and power jack extending beyond the former
dimension. [9]
21 | P a g e
CHAPTER 3
The NAND gate has an output that is normally at logic level “1” and only goes
“LOW” to logic level “0” when all of its inputs are at logic level “1”. The Logic
NAND Gate is the reverse or complementary form of the AND gate. The truth
table of a typical NAND gate is shown below:
0 0 0 0 1
0 0 0 1 1
0 0 1 0 1
0 0 1 1 1
0 1 0 0 1
0 1 0 1 1
0 1 1 0 1
0 1 1 1 1
1 0 0 0 1
1 0 0 1 1
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 0
The 4 inputs of the NAND gate are connected to the flame sensors directly through
prolonged wires. When either of the sensors detects a fire, it sends out a signal to
the microcontroller which carries out the necessary functions in order to extinguish
22 | P a g e
CHAPTER 3
the fire. As we can see from the truth table, if either one of the inputs connected to
the sensors gives a logic “0” the NAND gate gives an output of logic “1”.
This means that when the fire ignites at any corner of the enclosed area, then either
one of the sensors can detect the fire at once and start up the extinguishing
procedure.
The 4 input NAND gate we used in our project has a model number of
HD74HC20.The HD74HC20 is identical in pin-out to the LS20. The device inputs
are compatible with standard CMOS outputs; with pull-up resistors, they are
compatible with LSTTL outputs.
Figure 3.4a: The logic diagram along with an expanded version of a typical 4
input NAND gate. [12]
Like any other logic gates, a HD74HC20 4 input NAND gate also acquires certain
features. The features of a 4 input NAND gate are as follows:
23 | P a g e
CHAPTER 3
Figure 3.4b The PIN assignment of a HD74HC20 4 input NAND gate. [12]
HD74HC20 4 input NAND gate device contains a protection circuit that is used to
guard against damage that can be caused due to high static voltages and electric
fields. When using this device, precautions must be taken so that the voltage
applied should not exceed the maximum rating. For roper operation, Vin and Vout
should always be maintained in such a way so that GND is less than or equal to
(Vin or Vout) which in turn should be less than or equal to the Vcc. Inputs that are
unused should always be connected to the Vcc or GND logic voltage level.[12]
24 | P a g e
CHAPTER 3
The flame sensor module that we used is sensitive to the flame and radiation. It can
also detect ordinary light source at the range of a wavelength from 760nm to 1100
nm. The detection distance is up to 100 cm (1 m). This Flame sensor has a digital
signal as an output. The output is 0 (0V) when radiation in its range is detected,
else the output is 1 (3.3 or 5V, depends on its Vcc). [10]
25 | P a g e
CHAPTER 3
• Vcc: (3.3-5V).
• GND- Ground.
• DO - board digital output interface (0 and 1).
Some of the common characteristics of this flame sensor module include [11]:
26 | P a g e
CHAPTER 3
3.6 Relay
A relay is an electrically operated switch. Current flowing through the coil of the
relay creates a magnetic field which attracts a lever and changes the switch
contacts. The coil current can be on or off so relays have two switch positions and
most have double throw (changeover) switch contacts as shown in the diagram:
Relays allow one circuit to switch a second circuit which can be completely
separate from the first. For example a low voltage battery circuit can use a relay to
switch a 230V AC mains circuit. There is no electrical connection inside the relay
between the two circuits; the link is magnetic and mechanical. The coil of a relay
passes a relatively large current, typically 30mA for a 12V relay, but it can be as
much as 100mA for relays designed to operate from lower voltages. Most ICs
cannot provide this current and a transistor is usually used to amplify the small IC
current to the larger value required for the relay coil. The maximum output current
for the popular 555 timer IC is 200mA, enough to supply a relay coil directly. Most
relays are designed for PCB mounting but you can solder wires directly to the pins
providing you take care to avoid melting the plastic case of the relay. The relay's
switch connections are usually labeled COM, NC and NO:
COM = Common, always connect to this, it is the moving part of the switch.
NC = Normally Closed, COM is connected to this when the relay coil is off.
NO = Normally Open, COM is connected to this when the relay coil is on.
27 | P a g e
CHAPTER 3
1. Physical size and pin arrangement: If we are choosing a relay for an existing
PCB we will need to ensure that its dimensions and pin arrangement are suitable.
We should find this information in the supplier's catalogue or on their website.
2. Coil voltage: The relay's coil voltage rating and resistance must suit the circuit
powering the relay coil. Many relays have a coil rated for a 12V supply but 5V and
24V relays are also readily available. Some relays operate perfectly well with a
supply voltage which is a little lower than their rated value.
3. Coil resistance: The circuit must be able to supply the current required by the
relay coil.
4. Switch ratings (voltage and current): The relay's switch contacts must be suitable
for the circuit they are to control. We will need to check the voltage and current
ratings. Note that the voltage rating is usually higher for AC, for example: "5A at
24V DC or 125V AC".
5. Switch contact arrangement (SPDT, DPDT etc): Most relays are SPDT or DPDT
which are often described as "single pole changeover" (SPCO) or "double pole
changeover" (DPCO).
The relay we used was of SONGLE Company and acquires these special features:
• Has a switching capacity available by 10A in spite of small size design for
high density P.C. board mounting technique.
• UL, CUL, TUV recognized.
• Has a selection of plastic material for high temperature and better chemical
solution performance.
28 | P a g e
CHAPTER 3
Table 6: The coil data chart of SONGLE relay at 20 degree Celsius. [13]
29 | P a g e
CHAPTER 3
Here are the various parts of the solenoid valve and their working according to the
figure above:
1) Valve body: This is the body of the valve to which the solenoid valve is
connected. The valve is usually connected in the process flow pipeline to control
the flow of certain fluid like liquid or air. Ordinarily the flow from the valve is
controlled by the handle, but in case of the automatic valve the solenoid valve is
connected to the valve.
30 | P a g e
CHAPTER 3
2) Inlet port of the valve: This is the port through which the fluid enters inside the
automatic valve and from here it can enter into the final process.
3) Outlet port: The fluid that is allowed to pass through the automatic valve leaves
the valve through the outlet port. The solenoid valve controls the flow of the fluid
from inlet port to the outlet port. The outlet port is eventually connected to the
process where the fluid is required.
4) Coil/ Solenoid: This is body of the solenoid coil. The body of the solenoid coil
is cylindrical in shape, and it is hollow from inside. The body is covered with steel
covering and it has metallic finish. Inside the solenoid valve there is solenoid coil.
5) Coil windings: The solenoid consists of several turns of the enameled wire
wound around the ferromagnetic material like steel or iron. The coil forms the
shape of the hollow cylinder. Externally this coil is covered with the steel covering
and inside the hollow part there is a plunger or the piston, whose motion inside the
hollow space is controlled by the spring.
6) Lead wires: These are external connections of the solenoid valve that are
connected to the electrical supply. The current is supplied to the solenoid valve
from these wires. When the solenoid valve is energized, the current flows through
these wires to the solenoid valve and when the solenoid valve is de-energized the
flow of current stops.
7) Plunger or piston: This is the solid round metallic part cylindrical in shape and
placed in the hollow portion the solenoid valve. When the electrical current is
passed through the solenoid valve, the magnetic field is generated inside the
hollow space. Due to this the plunger tends to move vertically in the hollow space.
When the electrical current is stopped to the solenoid valve, the magnetic field is
stopped and the plunger is remains the existing place due to the force of the spring.
8) Spring: The plunger moves inside the hollow space due to the action of the
magnetic field against the action of the spring. The magnetic field generated inside
the solenoid valve tends to move the plunger, but the spring tends to stop the
motion of the plunger in which ever the position it is. This action of the spring
against the magnetic field helps keeping the plunger in the position where the flow
31 | P a g e
CHAPTER 3
of current to the solenoid valve is stopped. The spring performs very crucial action
inside the hollow space. For one, the plunger is in the vertical position, so the
spring helps keeping it at the desired position instead of allowing the plunger to
fall to the bottom due to gravity when the current to the solenoid valve is stopped.
Secondly, the spring also prevents the movement of the plunger due to force of the
fluid flowing through the valve body. If the spring was not there the plunger would
have moved up when the fluid is present and moved down when the fluid is not
there. Thus the spring actually forces the plunger to carry out the control of the
fluid. It allows the movement of the plunger only to the extent when the electric
current is flowing through the solenoid valve.
9) Orifice: The orifice is an important part of the valve though which the fluid is
flowing. It is the connection between the inlet and the outlet port. The flow of fluid
from the inlet port to the outlet port takes place from this port. In the ordinary
valves, this port is covered with the valve disc at the bottom of the stem of the
valve to which the handle is connected. Thus in ordinary valves, the opening of the
orifice are controlled by the handle, but in case of the solenoid valves, the opening
of the orifice is controlled by the plunger. The movement of the plunger is in turn
controlled by the spring and the current flowing through the solenoid valve. If the
current passing through the solenoid valve is constant, the position of the plunger
and hence opening of the orifice remains constant. If the sensor senses that more
flow of the fluid is required, it allows the increase in current passing through the
solenoid valve, which creates more magnetic field and more upwards motion of the
plunger. This leads to further opening of the orifice and more flow of the fluid
from the inlet port to the outlet. If the required flow of fluid is less, the sensor
allows passage of the lesser current to the solenoid valve. When the sensor senses
that the fluid is no more required in the process, it stops the flow of the current to
the solenoid valve completely. Due to this the solenoid valve gets de-energized and
the plunger reaches the bottom most position and closes the orifice completely thus
stopping the flow of fluid from the inlet port to the outlet port.
32 | P a g e
CHAPTER 3
Initially the sensor senses the process towards the outlet side of the solenoid valve.
When it senses that certain quantity of the flow of the fluid is required, it allows
the current to pass through the solenoid valve. Due to this the valve gets energized
and the magnetic field is generated which triggers the movement of the plunger
against the action of the spring. Due to this the plunger moves in upwards
direction, which allows the opening of the orifice. At this instant the flow of the
fluid is allowed from the inlet port to the outlet port.
If the current passing through the solenoid valve is constant, the position of the
plunger and hence opening of the orifice remains constant. If the sensor senses that
more flow of the fluid is required, it allows the increase in current passing through
the solenoid valve, which creates more magnetic field and more upwards motion of
the plunger. This leads to further opening of the orifice and more flow of the fluid
from the inlet port to the outlet. If the required flow of fluid is less, the sensor
allows passage of the lesser current to the solenoid valve.
When the sensor senses that the fluid is no more required in the process, it stops
the flow of the current to the solenoid valve completely. Due to this the solenoid
valve gets de-energized and the plunger reaches the bottom most position and
33 | P a g e
CHAPTER 3
closes the orifice completely thus stopping the flow of fluid from the inlet port to
the outlet port.
In this way the solenoid coil operates the valve as if it is being operated by the
human being. When the flow of certain quantity of fluid is required it opens the
valve to required extent and when the flow is not required it shuts the valve
entirely. [12]
Apart from the main components that are used in our project, we also used some
sub components which is described in this chapter. Here is a list of the
miscellaneous devices we used in our project:
• A capacitor and a diode are used for our protection circuit against back
EMF.
• A buzzer is used in order to produce the alerting noise which will set off
when fire ignites in the enclosed area.
• A LED light is used along with a resistor which only lights up when fire sets
out in the enclosed area.
• A pair of 12V batteries is used to give the power supply to both the
Solenoid valve and the Arduino.
• A voltage regulator is used to convert the 24V supply from the battery to 5V
which is necessary for the Arduino.
• Multiple wires are prolonged and used for various purposes in our project
such as connecting the flame sensors to the Arduino, connecting the
Arduino to the relay and also connecting the relay to the protection circuit.
• Water pipes are used to supply water to the solenoid valves from the main
water supply.
• Sprinkler heads were used to spread water over the affected area. The glass
bulb containing the heat responsive liquid was removed from the pendent so
that water can flow any time fire is detected.
34 | P a g e
CHAPTER 3
Figure 3.8a: Sprinkler head with glass bulb containing heat responsive liquid.
35 | P a g e
CHAPTER 3
3.9 Conclusion
Basic concept of an embedded system, its benefits and its importance in our project
has been justified at the start of this chapter. The controlling unit used in our
system, an Arduino, has been described part by part along with its control
algorithm (code). Supporting devices such as the flame sensors, relay, solenoid
valve and HD74HC20 IC’s basic functionality and their contribution in our project
have been explained.
Miscellaneous devices such as the buzzer and LED which make up the alarm
system, the capacitor and the diode which make up the protection circuit and the
batteries for our power management has been talked about.
In the end it is shown with the aid of before and after pictures how the glass bulb
containing the heat responsive liquid has been removed from the sprinkler heads
before installing in the pipe lines.
36 | P a g e
Chapter 4
An Automated Fire Suppression Mechanism
Controlled Using an Arduino
4.1.1 Introduction
Our design has six major parts, the electrical connection, sprinkler system, design
of the demonstration room, calculations regarding location of flame sensors, the
control algorithm and finally the power management. In electrical connections we
will explain the circuitry of our automated system along with the protection circuit
that protects it. We will show how we used our sprinkler system as effectively and
efficiently as possible with the help of using data from existing sprinkler systems.
Sensing the fire is the first and most important task, in order to do that we had to
carefully place the flame sensors in correct location. The calculations regarding
placement of sensors, design of demonstration room and explanations will be
provided for better understanding. The automated system’s decision making
process that is the control algorithm will be explained step by step.
37 | P a g e
CHAPTER 4
Here we can see the demonstration room fitted with four over head sprinklers that
comes through one solenoid valve. The water supply pipe line that comes from the
reservoir is controlled by this solenoid valve. Flame sensors are placed just above
the sprinklers. There is no chance of electrocution as the flame sensors are heavily
insulated with silicone. The wire from the flame sensors run through the insulated
tubing place on the back of the wall to the comparator circuit. The Arduino,
comparator circuit, alarm, relay, protection circuit and the batteries are place at a
distance from the demonstration room as shown in Figure 4.1.2.
38 | P a g e
CHAPTER 4
4.2Electrical connections
The controlling unit of the system is the Arduino. Arduino has Digital and Analog
pins, we decided to use the digital pins since both the flame sensors and the relay
operates using digital signal. Pin 2 to pin 7 of Arduino are digital input pins and
pin 8 to pin 13 are digital output pins. For receiving signals from flame sensors we
used pin 7 and for output we used pin 13 to turn relay ON or OFF.
As shown in figure 4.2.1, the four flame sensors will be constantly checking for
traces of flame. If it detects no flame its output signal is 1 and if it detects flame its
output signal is 0. The output signals of the sensors are feed to the 4 input NAND
39 | P a g e
CHAPTER 4
gate (HD74HC20). We selected input pin 1, 2, 4 and 5 of the NAND gate. One
may question why a NAND gate was used. To answer that question we need to
look at the function and truth table of a 4 input NAND gate. Let us assume that the
inputs are A, B, C, D and the output is Y.
A B C D Y
0 0 0 0 1
0 0 0 1 1
0 0 1 0 1
0 0 1 1 1
0 1 0 0 1
0 1 0 1 1
0 1 1 0 1
0 1 1 1 1
1 0 0 0 1
1 0 0 1 1
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 0
40 | P a g e
CHAPTER 4
From Table 7 we can see if any of the independent variables A, B, C and D are 0
the output is 1. The only time the output is 0 is when A, B, C and D all are 1. In
other words we can say if one, two, three or four of the flame sensors detect flame
the output of the NAND gate will be high. If none of them detect flame only then
the output is low.
Rather than soldering the HD74HC20 IC directly into the board socket headers
were used, this was done so that the IC can be replaced if it is damaged in an event.
Multiple male-male headers were soldered to the GND and Vcc pin of the IC; we
took Vcc and GND connections of Flame sensors from these headers and only Vcc
for the relay. Output pin 6 of NAND gate is connected to digital input pin 7 of the
Arduino. Digital output pin 13 of Arduino is connected to relay through a buzzer
and a LED. When the relay will switch the solenoid ON the buzzer will go off and
the LED will glow showing fire is detected. If output of NAND gate is low (0),
input pin of relay is made low (0) and if output of NAND gate is high (1), input pin
of relay is made high (1).
We must understand how a relay module works before we further discuss the
connections. A relay turns ON when it receives 0 and turns OFF when it receives
1. Its output pins are NO, COM and NC. We will be operating our relay in the
manner shown in figure 4.2.2b below:
41 | P a g e
CHAPTER 4
If the input signal to the relay is low, batteries stays disconnected from load, but if
the signal is high then batteries are connected to the load. On pin 13 a buzzer is
connected through a 1 kilo-ohm resistor and a BC547 transistor. This buzzer will
stay ON as long as the load is connected to the batteries. The COM terminal of the
relay is connected to the negative terminal of the batteries and the NC terminal is
connected to the protection circuit. The other terminal of the protection circuit is
connected to the positive terminal of the batteries. Here the load consists of a
solenoid valve and an emergency light connected in parallel. The load is then again
in parallel connected to the protection circuit.
Our Arduino is programmed in such a way so that once the batteries are connected
they remain connected for 30 seconds. This 30 seconds delay has a very important
purpose. As we know fire flickers as it burns due to wind and random distribution
of fuel. Due to this reason the output signal of the Flame sensors change
constantly. If the delay was not introduced the load would also constantly connect
and disconnect. After several trials we found 30 seconds was enough time to
suppress the fire for our system. This time delay can be increased or decreased
depending upon the nature of fire.
When the power supply is connected, current flows through the windings of the
electromagnet. The resting current is determined by the DC resistance of the coil
winding and wires. This current gives rise to a magnetizing field which aligns the
magnetic domains in the metal of the electromagnet. The field is re-enforced due to
42 | P a g e
CHAPTER 4
this alignment which makes magnetic force greater and also stores a lot of energy
in the process.
When power supply is turned OFF, the magnetic field will collapse. Doing so will
generate an EMF or CEMF in the electromagnet’s coil as shown in figure
The generated EMF will produce a very large voltage that can:
43 | P a g e
CHAPTER 4
When power supply is connected the diode is reversed biased and does not play
any role in the circuit. When the power supply is turned OFF a back EMF is
produced in the opposite polarity and so the diode comes in series with the
electromagnet. The diode does a good job of suppressing the back EMF which is
suitable for small solenoids.
44 | P a g e
CHAPTER 4
The source of power for our entire setup is two 12V, 20AH batteries which in
series is 24V. We figured that the solenoid requires the highest voltage, which is
24 V DC. The alarm system consists of an emergency light of 12V and a speaker
of 12V as well, that sums up to 24V in series. Putting the solenoid and alarm
system in parallel means the node will require 24V in total.
By using a 24V to 5V step down voltage regulator we were able to power the
Arduino. The Arduino in turn powers the Flame sensors, relay, NAND gate and
buzzer with 5V DC.
45 | P a g e
CHAPTER 4
The design of the room depended entirely upon the detection range of the Flame
sensor. From the datasheet of the flame sensor and upon carefully experimenting
with them we saw that the average range up to which the flame sensors detect
small fire was 1 meter. Converting meter to inch we find that 1m equal to 39.3701
inches ≈ 40 inches. Therefore we designed a room that is 40 inches by 40 inches by
40 inches.
46 | P a g e
CHAPTER 4
4.5 Sprinkler System and calculations regarding the location of the flame
sensors
Standard spray coverage is up to: Light Hazard = 225 square feet and Ordinary
Hazard = 130 square feet per N.F.P.A 13.
47 | P a g e
CHAPTER 4
48 | P a g e
CHAPTER 4
4.5.2 Step by step description of our sprinkler system and its calculations
The sprinkler system is place on the ceiling of the room 40 inches above the
ground. Dividing the 40 inches by 40 inches ceiling into four equal parts we get a
20 inches by 20 inches square. We placed the sprinkler head exactly at the center
of this square.
From figure 4.5.1 we can see the graph of pressure against spreading radius and
ceiling height. The pressure of our water supply was about 20 psi, dividing that
into four sprinklers gives 5 psi on each sprinkler. While carrying out the
experiment we saw that the radius of water coverage was about 40 to 45cm ≈ 18
inches. This was more than enough for our experiment and justified the use of four
sprinklers.
49 | P a g e
CHAPTER 4
4.5.3 Placement and calculations regarding the location of the flame sensors
As mentioned earlier in this chapter, four flame sensors were used in our
demonstration room. After practically studying the behavior of the one sensor we
found that placing the flame sensor like the sprinkler heads right at the center of
the 20 inches by 20 inches square after dividing the 40 inches by 40 inches ceiling
into four equal parts will cover the detection area. Coincidentally the location of a
sprinkler head and a flame sensor were together.
The datasheet of a flame sensor states that the detection angle is 60°. However
after several experiments with one we found that in reality its detection angle is
about half of that is stated in the datasheet that is 30°.
Here,
= 15°
R= radius of detection
51 | P a g e
CHAPTER 4
From the figure 4.5.3b above we can see that the red zones indicate the area of fire
detection. We can also tell that some areas of the demonstration room do not fall in
the detection area. However after carrying out the experiment we found that as fire
flickers in a random pattern when it burns it crosses the detection area and triggers
the sensors. We placed fire exactly in the center of the room and it was
successfully suppressed as shown in the figure 4.5.3c and 4.5.3d below:
52 | P a g e
CHAPTER 4
Figure 4.5.3c: Fire detected in the center of the demonstration room. Water is
flowing through the solenoid and out the sprinkler heads.
53 | P a g e
CHAPTER 4
55 | P a g e
CHAPTER 4
First the NAND gate is stated as pin 7 and Relay as pin 13. The initial state of the
NAND gate is stated as LOW (0). It is then declared that the Relay is connected as
an output and NAND gate is connected as an input to the Arduino. Please refer to
Figure 4.2.2b before reading further.
A loop is then run which will constantly read the state of pin 7 that is the output of
NAND gate. It checks if the Pin 7 is HIGH (1) or LOW (0).
An “if” condition is run where it states that if the output of NAND gate pin 7 is
HIGH (1) the Relay pin 13 will be made HIGH (1). A delay of 30000 milliseconds
that is 30 seconds is made. This 30 seconds delay is made so that the Relay pin 13
stays HIGH (1) for 30 seconds.
Again an “if” condition is run which state what happens when the output of NAND
gate pin 7 is LOW (0). When the output of NAND gate pin 7 is LOW (0), the input
of Relay pin 13 will be made LOW (0).
In the end the delay of 50 microseconds is made just for the Arduino to process the
whole information. In both “if” conditions a “Serial.pirnt” command is given, if we
connect the Arduino to a computer we will be able to monitor the state of Relay
pin 13.
56 | P a g e
CHAPTER 4
4.7 Conclusion
57 | P a g e
Chapter 5
Field Test and Analysis
The flame sensor module that we used with the Arduino Uno in our project
contains aYG1006 sensor which is a high speed and high sensitive NPN silicon
phototransistor in a standard 5mm package. Its black epoxy makes the device
sensitive to infrared radiation. This sensor can detect infrared radiation at a
wavelength ranging from 760nm to 1100nm.
58 | P a g e
CHAPTER 5
Range of triggering
Figure 5.1.1b: The spectral range in the infrared radiation at which the flame
sensor triggers. [26]
As we can see in figure 5.1.1b the YG1006 sensor in the flame sensor module can
detect light at a wavelength range of 760nm to 1100nm. The range of the color of
the light is from light orange to light red. This justifies that the flame sensor
module will only respond to flames of color (light orange –light red). This sensor
has high photo sensitivity and high response time which enables it for instantly
detecting light within its wavelength range within milliseconds.
In topic 5.1.1 we have seen the wavelength range in the electromagnetic spectrum
within which the flame sensor module we used in our project can detect radiation.
In this chapter we will come across the range of wavelength in which the flame
sensor does not trigger.
Figure 5.1.2: The ranges in which the flame sensor does not trigger or cannot
detect any infrared. [26]
59 | P a g e
CHAPTER 5
As we can see from figure 5.1.2, the YG1006 sensor present in the flame sensor
module can only detect wavelengths from 760-1100nm, all the other ranges of
wavelengths does not trigger the sensor at all. The ranges of non-triggering
wavelengths are 200 to 760nm and 1100 to 1200nm. Hence we can conclude that
the sensor cannot detect lights of colors purple, different shades of blue, green, and
few shades of yellow and orange. All in all, the flame sensor cannot response to
any of the ultraviolet and visible light spectrum.
In topic 3.5, we have come across the key features of our flame sensor module
which stated that it has a maximum triggering distance of 100cm or 1m. In order to
justify this feature, we conducted an experiment to check the distance upto which
the sensor detects the presence of fire.
Figure 5.2a: The flame sensor is ON; the switched OFF LED shows that fire is yet
to be detected.
60 | P a g e
CHAPTER 5
The experiment showed how the flame sensor senses the fire over 100cm. We
divided 100cm into five windows of 20cm. Then we placed the fire at each interval
up to 100cm.
Figure 5.2b: The switched ON LED shows that the flame sensor detects fire at
20cm.
61 | P a g e
CHAPTER 5
Figure 5.2c: The switched ON LED shows that the flame sensor detects fire at
40cm.
Figure 5.2d: The switched ON LED shows that the flame sensor detects fire at its
maximum range of 100cm.
62 | P a g e
CHAPTER 5
When the fire was placed at a distance more than 100cm, the sensitivity of the
flame sensor got weaker with the increasing distance. However flame was being
detected but the signal constantly flickered, which could be observed from the
continuous switching and ON and OFF of the LED.
The flame sensor module that we used in our project consists of certain
components which include mainly the YG1006 NPN phototransistor sensor, the
LM 393 comparator chip. The sensor typically operates at a voltage range of
(3.3V - 5V).
The YG1006 sensor is a high speed and high sensitive NPN silicon phototransistor
which is sensitive to infrared radiation. [10]
63 | P a g e
CHAPTER 5
Table 10: The electro-optical characteristics include voltage, time, current and
wavelength. [10]
64 | P a g e
CHAPTER 5
Some typical electro optical curves in accordance with the electro optical
characteristics are as follows:
65 | P a g e
CHAPTER 5
Figure 5.3a: The typical electro optical curves for YG1006 sensor. [10]
Another key component of the flame sensor module is the LM 393 comparator
chip.
The LM393 series are dual independent precision voltage comparators capable of
single or split supply operation. These devices are designed to permit a common
mode range–to–ground level with single supply operation. Input offset voltage
specifications as low as 2.0 mV make this device an excellent selection for many
applications in consumer auto-motive, and industrial electronics. [24]
• Low Input Offset Voltage: 2.0 mV (max) LM393A 5.0 mV (max) LM293/393
66 | P a g e
CHAPTER 5
• Output Voltage Compatible with DTL, ECL, TTL, MOS, and CMOS Logic
Levels
• ESD Clamps on the Inputs Increase the Ruggedness of the Device without
Affecting Performance. [24]
67 | P a g e
CHAPTER 5
5.4 Conclusion
The effect of sensor triggering and non-triggering wavelengths has been shown
along with their diagrams. The triggering distance was explained by and
experiment through several pictures and brief descriptions. Also the electrical
measures across the YG1006 sensor and the LM393 chip have been looked upon
with the aid of graphs, diagrams and tables.
68 | P a g e
Chapter 6
Conclusion and Future Work
6.1 Summary
Our project named as “An automated fire suppression mechanism controlled using
an Arduino” mainly focuses on the idea of developing a system of extinguishing
fire, which can be effective and efficient while being cheap and reasonable at the
same time. Our system is effective in the sense that it can detect fire at a wide
range of distance and efficient in the sense that it can extinguish fire within a short
period of time. The components that we used for our project are readily found at
the market and are quite reasonable in price. Unlike other projects on automated
fire suppression mechanisms, our project focuses greatly on decreasing the delay
which occurs between the ignition of fire and the extinguishing process. Through
proper coding in the Arduino, we managed to establish a system which causes
minimum delay between the time the flame sensors detect the fire and the flow of
water out the sprinklers.
If we look at our system at a glance, we can summarize the whole project into
these simple steps:
• First the flame sensor detects the fire at its certain wavelength range of
760nm-1100nm.
• The LED lights up and the buzzer goes off simultaneously.
• The flame sensors send the signal to the Arduino Uno through the
comparator circuit.
• The Arduino Uno has been set up with required codes previously which
come in terms.
• The Arduino provides the optimal voltage to the solenoid valves which then
opens up and allows the water stored in the water reservoir beforehand to
flow.
• The Arduino is connected to the solenoid valves through relay which says
ON for a user defined time span.
69 | P a g e
CHAPTER 6
• A protection circuit is used to prevent the flow of back EMF through the
solenoid valve.
• The fire will be extinguished in no time!
The project that we developed was intended for many future applications in our
country. The main target customers are the Factories especially Garments factories,
Banks and Slum areas. These areas will be hugely benefitted if they implement our
system into their premises.
The major improvement that can be made on this system is the end detector.
Instead of using just flame detectors we can use Thermo-graphic cameras. The
controlling unit can be replaced with a Raspberry Pi 3 which is more than 40 times
70 | P a g e
CHAPTER 6
faster than an Arduino. The cameras can detect fire and its intensity. If the fire
detected is large enough only then the solenoid valve will be turned ON. This will
prevent any unwanted infrared from triggering the system such as cigarette amber.
Raspberry Pi will be a better option in case of complex tasks such as image
processing.
The slum areas are also vulnerable to such fire incidents at all times. The recent
fire that occurred at the Korail slum located at Mohakhali, Dhaka ravaged and
destroyed round 500 homes which left hundreds of people homeless. We believe
our system can reduce the number of such incidents to a great extent if
implemented according to the needs of the areas. For example, the slum areas are
usually open areas and the sprinklers that we used have to cover a large distance.
In order to achieve that, the water pressure through the water pipes can be
increased so that the sprinklers can work effectively to cover the whole ignited
area. Also, thin nozzles can be used to increase the pressure of water.
In case of the factories and banks, the flame sensors we used can be replaced by
heat detectors for better sensitivity. The flame sensors we used were for our
protocol purpose hence it can be replaced by better ones if needed. All in all, our
system can be of great value to the government as they can implement this in their
designated places and provide safety and security to the general public of our
country.
71 | P a g e
REFERENCE
REFERENCE
[1] K. Maniruzzaman and Q. Haque, (n.d.). Fire Hazard in Dhaka Citv: A Case
Study of the Service Area of Mohammadpur Fire Station. [Online]
http://www.bip.org.bd. Available at:
http://www.bip.org.bd/SharingFiles/journal_book/20130718121437.pdf, [Accessed
15 Oct. 2017].
[3] NFPA 2001 (2000), “Standard on Clean Agent Fire Extinguishing Systems,
”National Fire Protection Association, Quincy, MA, U.S.A., 2000 Edition, pp. 1-
104 [Accessed 16 Oct. 2017].
[4] NFPA 750 (2010), “Standard on Water Mist Fire Protection Systems,” National
Fire Protection Association, Quincy, MA, U.S.A., 2010 Edition, pp. 1-69
[Accessed 16 Oct. 2017].
[5] Kim, A.K., Liu, Z. and Su, J.Z. (1999),“Water Mist Fire Suppression using
Cycling Discharges,” Proceedings of Interflam ’99, Edinburgh, UK, p. 1349
[Accessed 18 Oct. 2017].
72 | P a g e
REFERENCE
[12] Brighthub Engineering (n.d), How Solenoid Valve Works? Parts of Solenoid
Valves. [Online] Available at:
http://www.brighthubengineering.com/manufacturing-technology/56397-parts-of-
the-solenoid-valve-how-solenoid-valve-works/ [Accessed 8 Nov. 2017].
73 | P a g e
REFERENCE
[16] A Flame Sensor with Uniform Sensitivity Overa Large Field of View
CLIFFORD W. ERICKSON. IEEE TRANSACTIONS ON ELECTRON
DEVICES, VOL. E~-19, NO. 11, NOVEMBER 1972. [Accessed 15 Nov. 2017].
[18] Dual-band UV/IR Optical Sensors for Fire and Flame Detection and Target
Recognition David Starikov and Chris Boney, Integrated Micro Sensors, Inc.
10814 Atwell Dr., Houston, TX, 77096. Phone: 713-748-7926, fax : (713) 729-
2867, e-mail : [email protected].[Accessed 18 Nov. 2017].
[21] Raspberry Pi based Smart Fire Management System employing Sensor based
Automatic Water Sprinkler Noorinder, Student Member IEEE Department of
Electronics and Communication Engineering, Punjabi University, Patiala, India
[email protected],Member IEEE Department of Electronics
and Communication Engineering, Punjabi University, Patiala, India
[email protected] Ekambir Sidhu, Member IEEE/IETE Assistant
Professor, Department of Electronics and Communication Engineering Punjabi
University, Patiala, India [email protected].[Accessed 20 Nov. 2017].
74 | P a g e
REFERENCE
[22] Revealing fire survivors hidden behind smoke and flames by IR active
imaging systems V. Bianco1, M. Paturzo1, A. Finizio1, L. Miccio1and P. Ferraro1.
1CNR—National Institute of Optics Via Campi Flegrei 34, I-80078, Pozzuoli
(Naples), Italy [email protected].[Accessed 20 Nov. 2017].
75 | P a g e
APPENDIX
APPENDIX
76 | P a g e
APPENDIX
77 | P a g e
APPENDIX
78 | P a g e
APPENDIX
79 | P a g e
APPENDIX
80 | P a g e
APPENDIX
81 | P a g e
APPENDIX