Pages

Thursday, August 1, 2013

Fire alarm system

1. INTRODUCTION

An automatic fire alarm system is designed to detect the unwanted presence of fire by monitoring environmental changes associated with combustion. In general, a fire alarm system is classified as either automatically actuated, manually actuated, or both. Automatic fire alarm systems are intended to notify the building occupants to evacuate in the event of a fire or other emergency, report the event to an off-premises location in order to summon emergency services, and to prepare the structure and associated systems to control the spread of fire and smoke.

Fundamental configuration

  • Fire alarm control panel: This component, the hub of the system, monitors inputs and system integrity, controls outputs and relays information.
  • Primary Power supply: Commonly the non-switched 120 or 240 Volt Alternating Current source supplied from a commercial power utility. In non-residential applications, a branch circuit is dedicated to the fire alarm system and its constituents. "Dedicated branch circuits" should not be confused with "Individual branch circuits" which supply energy to a single appliance.
  • Secondary (backup) Power supplies: This component, commonly consisting of sealed lead-acid storage batteries or other emergency sources including generators, is used to supply energy in the event of a primary power failure.
  • Initiating Devices: This component acts as an input to the fire alarm control unit and are either manually or automatically actuated. Examples would be devices like pull stations or smoke detectors.
  • Notification appliances: This component uses energy supplied from the fire alarm system or other stored energy source, to inform the proximate persons of the need to take action, usually to evacuate. This is done by means of a flashing light, strobe light, electromechanical horn, speaker, or a combination of these devices.
  • Building Safety Interfaces: This interface allows the fire alarm system to control aspects of the built environment and to prepare the building for fire and to control the spread of smoke fumes and fire by influencing air movement, lighting, process control, human transport and exit.

 

Initiating devices

  • Manually actuated devices; Break glass stations, Buttons and manual fire alarm activation are constructed to be readily located (near the exits), identified, and operated.
  • Automatically actuated devices can take many forms intended to respond to any number of detectable physical changes associated with fire: convected thermal energy; heat detector, products of combustion; smoke detector, radiant energy; flame detector, combustion gasses; carbon monoxide detector and release of extinguishing agents; water-flow detector. The newest innovations can use cameras and computer algorithms to analyze the visible effects of fire and movement in applications inappropriate for or hostile to other detection methods.

2. TECHNICAL DETAIL
2.1 BUILDING THE ALARM PCB

COMPONENTS NEEDED

R1 and R2 10k resistor (brown black orange gold)
R3 22k resistor (red red orange gold)
R4 330R resistor (orange orange brown gold)
R5 1k resistor (brown black red gold)
R6 1k/10k resistor (brown black red/orange gold)
(the value of R6 depends on the type of LDR used)
LED1 5mm red LED
PZ piezo sounder
TR1 BC548B Transistor
D1 1N4001 diode
C1 100uF electrolytic capacitor
IC1 8 pin IC socket
IC1 PICAXE-08 microcontroller
CT1 PICAXE download 3.5mm socket
BT1 battery clip
BT1 4.5V (3xAA) battery box
BLOCK DIAGRAM











CIRCUIT DIAGRAM
















3.BLOCK DIAGRAM DISCRIPTION

The main electronic components you may need for your alarm are shown here. The next few pages describe each of these components in more detail, and also provide some programming ideas that may be us
PICAXE-08 microcontroller
light emitting diode (LED)
piezo sounder
light dependent resistor (LDR)
transistor and diode
batteries
And you will also need pixel download socket resistors useful when you are later programming your alarm.


3.1 MICROCONTROLLER

A microcontroller is often described as a ‘computer-on-a-chip’. It is an integrated circuit that contains memory, processing units, and input/output circuitry in a single unit. Microcontrollers are purchased ‘blank’ and then programmed with a specific control program. Once programmed the microcontroller is built into a product to make the product more intelligent and easier to use.

USE
Microcontrollers are used as the ‘brain’ in electronic circuits. These electronic circuits are often drawn visually as a ‘block diagram’.  The program for the microcontroller is developed (and tested) on the computer and then downloaded into the microcontroller. Once the program is in the microcontroller it starts to ‘run’ and carries out the instructions. The PICAXE microcontroller system is a low cost, flash memory based microcontroller. The simplest PICAXE microcontroller IC the PICAXE-08. This is programmed using BASIC programming language. Once the programme has been written it is downloaded via a serial port on the PC direct to the picaxe circuit.

The PICAXE-08 has 8 legs, similar to many integrated circuits (ICs). However, the numbers of the output/input pins are not the same as the leg numbers. The table above shows the leg numbers and pin numbers and their functions. Great care must be taken when using the PICAXE-08 in a circuit as the leg numbers and pin numbers can be confused. The PICAXE-08 project board shown below has the PINS clearly labeled. 

   








3.2 POWER SUPPLY

Batteries come in all sorts of types and sizes. Most battery packs are made up of a number of 'cells', and each cell provides about 1.5V. Therefore 4 cells will generate a 6V battery and 3 cells a 4.5V battery. As a general rule, the larger the battery the longer it will last (as it contains more chemicals and so will be able to convert more energy). A higher voltage battery does not last longer than a lower voltage battery. Therefore a 6V battery pack made up of 4A A cells will last much longer than a 9V PP3 battery, as it contains a larger total amount of chemical energy as it is physically larger. Therefore items that require more power to work (e.g. a CD walkman which contains a motor and laser to read the CD's) will always use AA cells rather than PP3 batteries. Microcontrollers generally require 3 to 6V to work, and so it is better to use a battery pack made up of three or four AA size cells. Never use a 9V PP3 battery as the 9V supply will damage the microcontroller.


3.3 LIGHT EMITTING DIODE (LED)

A Light Emitting Diode (LED) is an electronic component that gives out light when current passes through it. An LED is a special type of diode. A diode is a component that only allows current to flow in one direction. Therefore when using a diode, it must always be connected the correct way around. The positive (anode) leg of an LED is longer than the negative (cathode) leg (shown by the bar on the symbol). The negative leg also has a flat edge on the plastic casing of the LED.

What are LEDs used for?

LEDs are mainly used as indicator lights. Red and green LEDs are commonly used on electronic appliances like televisions to show if they are switched on or in 'standby' mode. LEDs are available in many different colours, including red, yellow, green and blue. Special 'ultrabright' LEDs are used in safety warning devices such as the 'flashing lights' used on bicycles. Infra-red LEDs produce infra-red light that cannot be seen by the human eye but can be used in devices such as video remote-controls
3.4 PIEZO-TRANSDUCERS
                         
A piezo transducer is a low-cost 'mini-speaker' that can used to make sounds. The sound that the piezo makes can be changed by altering the electronic signals provided by the microcontroller.

Use

Piezos are used in many different consumer goods to provide 'feedback' to the user. A good example is a vending machine which will 'beep' whenever a keypad switch is pressed to select a drink or snack. The 'beep' provides the user with feedback to tell them their switch push has been successful. Uncased piezos are also often used in musical birthday cards to play a tune when the card is opened.

Using piezos.

A piezo is very simple to connect. Simply connect the red wire to the microcontroller output pin and the black wire to 0V (ground). Note that the cheapest piezos do not have a plastic casing to them. In this case it is necessary to mount the piezo on a piece of board (with a sticky pad) to create a noise that can be heard. The board acts as a 'sound-box' to amplify the sound made by the piezo. Make sure the sticky pad is stuck on the correct side of the piezo (the brass side

3.5 TRANSISTOR

A transistor is a component that controls current flow in a circuit. A transistor acts as an ‘electronic switch’ so that a small current can control a large current. This allows low-current devices, like a microcontroller, to control large current devices (like motors.

Using Transistors.

A transistor has three legs. These are labeled base, collector and emitter. The base connection is the leg that is used to activate the ‘electronic switch’. When a small current is passed through the base connection, it allows a much larger current to flow down between the collector and emitter. This larger current can be used to switch on devices such as motors, lamps and buzzers. A common transistor is the BC548B type. This has a plastic can with a flat edge. The flat edge enables the base

3.6 DIGITAL SENSORS (SWITCHES)
What are switches?
A digital sensor is a simple ‘switch’ type sensor that can only be ‘on’ or ‘off’. Switches are electronic components that detect movement. There are a large number of different types of switches e.g: push switches that detect momentary ‘push’ micro-switches with long levers that detect small movement’s tilt-switches that detect jolting reed-switches that detect a magnet being moved
.
Using switches     

The value of the resistor is not that important, but a 10k resistor is often used. When the switch is 'open' the 10k resistor connects the microcontroller input pin down to 0V, which gives an off (logic level 0) 0V signal to the microcontroller input pin. When the switch is activated, the input pin is connected to the positive battery supply (V+). This provides an on (logic level 1) signal to the microcontroller.


3.7 LIGHT DEPENDENT RESISTOR (LDR)

A Light Dependent Resistor (LDR) is special type of resistor that reacts to changes in light level. The resistances of the LDR changes as different amounts of light fall on the top 'window' of the device. This allows electronic circuits to measure changes in light level.

Using  LDRs.

A LDR can be used in two ways. The simplest way to use an LDR is as a simple on-off ("digital") switch - when the light level is above a certain value (called the 'threshold value') the LDR will provide an on signal, when the light level is below a certain value the LDR will provide an off signal. In this case the LDR is used in a potential divider with a standard resistor. The value of the standard resistor sets the 'threshold value'. For miniature LDRs a suitable value is 10k or 1k, for larger ORP12 type LDRs 10k is more appropriate. If desired the fixed resistor can be replaced by a variable resistor so that the threshold value can be 'tuned' to different light values. A more versatile way of using the LDR is to measure a number of different light values, so that decisions can be made at varying light levels rather than just one fixed threshold value. A varying value is known as an 'analogue' value, rather than a digital 'on-off' value. To measure analogue values the microcontroller must contain an 'analogue to digital converter (ADC)' and the programming software must support use of this ADC. Most microcontrollers only contain ADC on certain input pins, and so the input pin connection must be carefully selected. With the 8 pin microcontroller only pin1 can be used. The electronic circuit for using the ADC is a potential divider identical to the circuit above. The analogue 'measurement' is carried out within the microcontroller itself.






















Cost Estimation

S.N
Components
Qty.
Rate
Total
1
Resistor Box
Few
-
100
2
LED
Few
-
50
3
PZ piezo sounder
3
-
150
4
TR1 BC548B Transistor
5
20
100
5
D1 1N4001 diode
Few
-
50
6
C1 100uF electrolytic capacitor
Few
-
250
7
IC1 8 pin IC socket
2
200
400
8
IC1 PICAXE-08 microcontroller
2
200
400
9
CT1 PICAXE download 3.5mm socket
2
50
100
10
BT1 battery clip
2 set
15
30
11
BT1 4.5V (3xAA) battery box
1
100
100
12
Bread Board
2
25
50
13
PCB
1
200
200
14
Miscellaneous
-
-
500

Total


2480

















TIME ESTIMATION
The overall time duration of the project is estimated to be about 3 months. Different tasks will be performed during that period of time.
23/1/2069                       13/2/2069                     03/03/2069                  23/03/2069             13/04/2069   






















































Figure: Chart showing time Estimation
 

 












Horizontal Bars represent time duration.

Task 1 :  Primary Research and study
Task 2 :  Collection of materials
Task 3 :  System Design
Task 4 :  Programming
Task 5 :  System testing
Task 6 :  Implementation
Task 7 :  Final System Review






 
 









Conclusion

The main objective of minor project can be obtained by conducting “Fire alarm system”. This project of  Bachelor of electronics engineering can be successfully completed with gaining basic skill of project management and ability of team working can be enhanced.







































No comments:

Post a Comment