bank locker room_rev2

52
Bank Locker Room Surveillance with help of Integrated Camera

Upload: onepointer

Post on 14-Apr-2015

16 views

Category:

Documents


2 download

DESCRIPTION

ppt

TRANSCRIPT

Page 1: Bank Locker Room_rev2

Bank Locker Room Surveillance with help of Integrated Camera

Page 2: Bank Locker Room_rev2

Contents

Goal

Subsist System

Intent System

Block Diagram

Circuit Diagram / Module Description

Software Tools

References through Books

Page 3: Bank Locker Room_rev2

Goal

To implement bank locker room security system through video

surveillance and monitoring produce high security

Page 4: Bank Locker Room_rev2

Subsist System

Mostly uses valley

Low protection system

Monitoring made manually

Security systems are not effective

Page 5: Bank Locker Room_rev2

Intent System

High security system

Counting no of theft enter into the room

Short messaging service

Automatic fire detection

Highly alert for people

Remote monitoring and control

Detecting persons through PIR sensors

Wireless communication

Page 6: Bank Locker Room_rev2

Block diagramControl section

RF Module (TX/RX)

RS232Microcontroller

Section (AT89s51)Level Converter

Power Supply Section

Page 7: Bank Locker Room_rev2

Locker room section

Web CameraWeb Camera

DriversUnit

DriversUnit

Serial communication

Serial communication

PIRSensor

PIRSensor

SerialCommunication

SerialCommunication MicrocontrollerMicrocontroller

SMOKE SENSORSMOKE SENSOR RF TransceiverRF Transceiver

Device 1Device 1

Device 2Device 2

GSM

IR SNSOR

Page 8: Bank Locker Room_rev2

Block definition Consists of control section and locker room section

PIR sensor are used for detecting motion of the object in the locker

room section

Any body enters into secured place then send indication to control

room through wireless

If alarm attached then it produced signal then people understood

something happens on host

Locker room and control room section connected through RF

wireless communication

In control room section, Data are collected from locker section

through web page

Devices are control from locker room places

Page 9: Bank Locker Room_rev2

GSM

Page 10: Bank Locker Room_rev2

Block definition

After the working hours locker room section detecting any

signal immediately send message through manager and also

nearest police station with no of theft entered into the bank.

No of theft count is calculated by IR sensor. In this sensor

activated after the working hours . Theft count is used to alert

the police to come to take the action. if any smoke is

detected send sms through nearest fire station.

Page 11: Bank Locker Room_rev2

Embedded Hardware

Power Supply Unit

Microcontroller (AT89s52)

RF Module

Serial communication

PIR Sensor

Smoke sensor

IR sensor

Web camera

Page 12: Bank Locker Room_rev2

Need of Microcontroller

A microcontroller (also MCU or µC) is a functional

computer system-on-a-chip. It contains a processor

core, memory, and programmable input/output

peripherals.

Microcontrollers include an integrated CPU, memory (a

small amount of RAM, program memory, or both) and

peripherals capable of input and output.

Page 13: Bank Locker Room_rev2

Features

Optimized 8 bit CPU for control applications.

Extensive Boolean processing capabilities.

64K Program Memory address space.

64K Data Memory address space.

128 bytes of onchip Data Memory.

32 Bi-directional and individually addressable I/O lines.

Two 16 bit timer/counters.

Full Duplex UART, On-chip clock oscillator.

6-source / 5-vector interrupt structure with priority levels.

Page 14: Bank Locker Room_rev2

Micro Controller (Circuit Diagram)

VCC

VCC

P0_0P0_1P0_2P0_3P0_4P0_5P0_6P0_7P1_7

P1_6

P1_1P1_0

P1_3P1_2

P1_5P1_4

P3_3

P3_0

P3_4

P3_7

P3_5

P3_2

P3_6

P3_1

P2_4

P2_2

P2_7

P2_1

P2_5

P2_3

P2_6

P2_0

R28K2

C2 1

0u

F

U1

8051

9

1819

20

293031

40

12345678

2122232425262728

1011121314151617

3938373635343332

RST

XTAL2XTAL1

GN

D

PSENALE/PROG

EA/VPP

VC

CP1.0P1.1P1.2P1.3P1.4P1.5P1.6P1.7

P2.0/A8P2.1/A9

P2.2/A10P2.3/A11P2.4/A12P2.5/A13P2.6/A14P2.7/A15

P3.0/RXDP3.1/TXDP3.2/INTOP3.3/INT1P3.4/TOP3.5/T1P3.6/WRP3.7/RD

P0.0/AD0P0.1/AD1P0.2/AD2P0.3/AD3P0.4/AD4P0.5/AD5P0.6/AD6P0.7/AD7

X111.0592MHz

C333PF

C433PF

C1

0.1uF

RS

T

Page 15: Bank Locker Room_rev2

Power supply

Page 16: Bank Locker Room_rev2

Power Supply Circuit

V D D

V D D

C 70 . 1 u F

J P 2

2 2 0 V A C

12

- +

D 1

14

32

U 27 8 0 5

1

3

2V I N

GND

V O U T

C 61 0 0 u F

C 54 7 0 u F

R 42 2 0 o h m

D 2

L E D

Page 17: Bank Locker Room_rev2

Power Supply – Circuit Description

The operation of power supply circuits built using filters,

rectifiers, and then voltage regulators. Starting with an AC

voltage, a steady DC voltage is obtained by rectifying the AC

voltage, Then filtering to a DC level, and finally, regulating to

obtain a desired fixed DC voltage. The regulation is usually

obtained from an IC voltage regulator Unit, which takes a DC

voltage and provides a somewhat lower DC voltage, Which

remains the same even if the input DC voltage varies, or the

output Load connected to the DC voltage changes.

Page 18: Bank Locker Room_rev2

PIR sensor

Page 19: Bank Locker Room_rev2

PIR sensors

Passive Infrareds sensors (PIRs) are electronic devices which are

used in some security alarm systems to detect motion of an infrared

emitting source, usually a human body.

The pyroelectric sensor is made of a crystalline material that

generates a surface electric charge when exposed to heat in the

form of infrared radiation.

When the amount of radiation striking the crystal changes, the

amount of charge also changes and can then be measured with a

sensitive FET device built into the sensor.

This radiation (energy) is invisible to the human eye but can be

detected by electronic devices designed for such a purpose

Page 20: Bank Locker Room_rev2

PIR sensor materials

The actual sensor on the chip is made from natural or artificial

pyroelectric materials

usually in the form of a thin film, out of gallium nitride

– gallium nitride (GaN)

– caesium nitrate (CsNO3)

– polyvinyl fluorides

– derivatives of phenylpyrazine

– cobalt phthalocyanine

– Lithium tantalate (LiTaO3) is a crystal exhibiting both

piezoelectric and pyroelectric properties

Page 21: Bank Locker Room_rev2

PIR configuration

Page 22: Bank Locker Room_rev2

Block process

The PIR325 sensor has two sensing elements connected in a

voltage bucking configuration.

This arrangement cancels signals caused by vibration, temperature

changes and sunlight.

A body passing in front of the sensor will activate first one and then

the other element whereas other sources will affect both elements

simultaneously and be cancelled.

The radiation source must pass across the sensor in a horizontal

direction when sensor pins 1 and 2 are on a horizontal plane so that

the elements are sequentially exposed to the IR source.

A focusing device is usually used in front of the sensor

Page 23: Bank Locker Room_rev2

Serial communication

Page 24: Bank Locker Room_rev2

Serial communication

ATMEL microcontroller and write the code to initialize the UART and

use it to send and receive data

Data you need to transmit and it will do the rest.

It transmits data at standard speeds of 9600,19200 bps etc

The advantage of hardware UART is that you just need to write the

data to one of the registers of UART and your done, you are free to

do other things while UART is transmitting the byte.

UART automatically senses the start of transmission of RX line and

then inputs the whole byte and when it has the byte it informs

you(CPU) to read that data from one of its registers

Page 25: Bank Locker Room_rev2

RS232 pins

Page 26: Bank Locker Room_rev2

UART pins

The UART always transmits data on pin P3.1,P1.3/TX

The UART always receives data on pin P3.0,P1.2/RX

The RS-232 standard defines lots of other signals other than

TX and RX used for handshaking.

Page 27: Bank Locker Room_rev2

Voltages

The USART input/output uses 0V for logic 0 and 5V for logic

1.

The RS-232 standard (and the COM port) use +12V for logic

0 and –12V for logic 1.

To convert between these voltages levels we need an

additional integrated circuit (such as Maxim’s MAX232).

Page 28: Bank Locker Room_rev2

MAX232

V D D

R X

TX T2 O U T

R 2 I N

U 1M A X2 3 2

1 38

1 11 0

1345

2

6

1 291 47

1615

R 1 I NR 2 I NT1 I NT2 I N

C +C 1 -C 2 +C 2 -

V+

V -

R 1 O U TR 2 O U TT1 O U TT2 O U T

VC

CG

ND

C 1 1 0 u F

C 41 0 u F

C 31 0 u F

C 21 0 u F

Page 29: Bank Locker Room_rev2

Infrared digital communication

must have line- of-sight

direction dependent

short distances

reflection

can suffer from sunlight and tube light (TL) noise

Page 30: Bank Locker Room_rev2

Emitter/Detector Alignment Good alignment of the emitter and detector is

important for good operation, especially if

the gap is large. This can be done with a

piece of string stretched between and in

line with LED and phototransistor. A length

of dowel or stiff wire could be used to set

the alignment. Another method that can be

used for longer distances is a laser pointer

shone through one of the mounting holes.

The next diagram shows two methods of

aligning the emitter and detector mountings.

For best results the height of the "beam"

should be at coupler height and at an angle

across the tracks.

Page 31: Bank Locker Room_rev2

Relay

A relay is an electrical switch that opens and

closes under the control of another electrical

circuit. In the original form, the switch is operated

by an electromagnet to open or close one or

many sets of contacts.

Page 32: Bank Locker Room_rev2

GSM modem

A GSM modem is a wireless modem that works with a GSM

wireless network.

A wireless modem behaves like a dial-up modem. The main

difference between them is that a dial-up modem sends and

receives data through a fixed telephone line while a wireless

modem sends and receives data through radio waves.

A GSM modem can be an external device or a PC Card /

PCMCIA Card. Typically, an external GSM modem is connected

to a computer through a serial cable or a USB cable.

Like a GSM mobile phone, a GSM modem requires a SIM card

from a wireless carrier in order to operate.

Page 33: Bank Locker Room_rev2

AT COMMANDS

computers use AT commands to control modems. Both

GSM modems and dial-up modems support a common

set of standard AT commands.

GSM modems support an extended set of AT

commands.

Page 34: Bank Locker Room_rev2

Operations

Reading, writing and deleting SMS messages.

Sending SMS messages.

Monitoring the signal strength.

Monitoring the charging status and charge level of the battery.

Reading, writing and searching phone book entries.

Page 35: Bank Locker Room_rev2

GSM phone or modem supports SMS text mode

Check if your GSM phone or modem supports SMS text mode

To check if your modem supports this text mode, you can try the

following command:

AT+CMGF=1 <ENTER>

If the modem responds with "OK" this mode is supported.

Page 36: Bank Locker Room_rev2

RF TRANSMITTER The transmitter output

is up to 8mW at 433.92MHz with a range of approximately few meters

It accepts both linear and digital inputs

It can operate from 1.5 to 12 Volts-DC

It is approximately the size of a standard postage stamp.

Page 37: Bank Locker Room_rev2

HT-12E ENCODER

Features

Operating voltage:2.4V~12V for the HT12E

Low power and high noise immunity

CMOS technology

Minimum transmission word’s of

4 words for the HT12E

Built-in oscillator needs only 5% resistor

Data code has positive polarity

Minimal external components

HT12E: 18-pin DIP/20-pin SOP package

Page 38: Bank Locker Room_rev2

DESCRIPTION

• The 2^12 encoders are a series of CMOS LSIs for remote control system applications.

• They are capable of encoding information which consists of N address bits and 12N data bits.

• Each address/data input can be set to one of the two

logic states. • The programmed addresses/data are

transmitted together with the header bits via an RF transmission medium .

• Transmission is enabled by applying a low signal to the TE pin.

Page 39: Bank Locker Room_rev2

RF RECEIVER It also operates at

433.92MHz, and has a

sensitivity of 3uV.

It operates from 4.5 to

5.5 volts-DC,

It has both linear and

digital outputs.

Page 40: Bank Locker Room_rev2

HT12D DECODER Operating voltage: 2.4V~12V Low power and high noise immunity CMOS technology Low standby current Capable of decoding 12 bits of information Binary address setting Received codes are checked 3 times Address/Data number combination - HT12D: 8 address bits and 4 data bits Built-in oscillator needs only 5% resistor Valid transmission indicator Easy interface with an RF transmission medium Minimal external components Pair with Holtek's 212 series of encoders 18-pin DIP, 20-pin SOP package

Page 41: Bank Locker Room_rev2

DESCRIPTION 2^12 decoders are a series of CMOS LSIs for

remote control system applications.. The decoders receive serial addresses and

data from a programmed 2^12 series of encoders that are transmitted by a carrier using an RF transmission medium.

They compare the serial input data three times continuously with their local addresses.

If no error or unmatched codes are found, the input data codes are decoded and then transferred to the output pins.

The VT pin also goes high to indicate a valid transmission.

The 2^12 series of decoders are capable of decoding information's that consist of N bits of address and 12-N bits of data.

Page 42: Bank Locker Room_rev2

Embedded software

Keil IDE

Flash Programmer

Proteus simulation

Embedded c

Page 43: Bank Locker Room_rev2

Start

Initialize I/O Ports

Waiting for get signal from PIR Sensor

If get valid signal?

Data will be transmitted waiting for get signal from Control room

If get valid signal ?

Device will be activate and Direction control for web camera

Locker room Section

Page 44: Bank Locker Room_rev2

Start

Initialize I/O ports

Waiting for get signal from locker room section

If get valid

signal?

Alert Module activate and waiting get signal from PC

If get valid

signal?

Data will be transmitted

Control Room Section

Page 45: Bank Locker Room_rev2

Keil software

Page 46: Bank Locker Room_rev2

Flash Programmer

Page 47: Bank Locker Room_rev2

Design Tools

OrCAD Design

Page 48: Bank Locker Room_rev2

OrCAD Design

Page 49: Bank Locker Room_rev2

Advantages

Manual operation eliminated

Secured data transmission

Page 50: Bank Locker Room_rev2

Applications

Military

Security

Commercial

Industrial

Page 51: Bank Locker Room_rev2

Conclusion

This system is suitable for high security areas like banks ,

defense, commercial and produce high alert to people

Page 52: Bank Locker Room_rev2

References

A. Hampapur, L. Brown, J. Connell, , A. Ekin, N. Hass,M. Lu,

H. Merkl, S. Pankanti, A. Senior, C.-F. Shu, and Y. L.Tian.

Smart video surveillance. IEEE Signal Processin Magazine,

pages 38–51, March 2005

T. B. Moeslund and E. Granum. A survey of computervision-

based human motion capture. Computer Vision and Image

Understanding

D. Gavrila. InECCV ’00: Proceedings of the 6th European

Conference on Computer Vision-Part II, pages 37–49,

London, UK, 2000. Springer-Verlag.