Escolar Documentos
Profissional Documentos
Cultura Documentos
SURVEILLANCE SYSTEM
A PROJECT REPORT
Submitted by
GOPALAKANNAN.M 12005106026
JAYAPRAKASH.V 12005106033
of
BACHELOR OF ENGINEERING
In
MAY 2009
ACKNOWLEDGEMENTS
Any accomplishment requires the effort of many people and this work is
no different.
First of all we would like to express our deep gratitude to our beloved and
respected Thiru M.V.Muthuramalingam,Chairman,Velammal Educational
Trust and Thiru M.V.M.Velmurugan,CEO,Velammal Engineering College
for their kind encouragement and blessings.
We wish to express our sincere thanks and gratitude to for our most
respectable and beloved Prof.S.Mary Joans, Professor & Head of the
Department of Electronics and Communication Engineering, who has been
a guiding force and constant source of inspiration to us.
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
SIGNATURE SIGNATURE
Prof. S.MARY JOANS M.E, (Ph.D) Mr M.MANIGANDAN M.E
HEAD OF THE DEPARTMENT SUPERVISOR
LECTURER
ELECTRONICS & ELECTRONICS &
COMMUNICATION ENGG., COMMUNICATION ENGG.,
VELAMMAL ENGINEERING VELAMMAL ENGINEERING
COLLEGE, COLLEGE,
VELAMMAL NAGAR, VELAMMAL NAGAR,
SURAPET, SURAPET,
CHENNAI-66 CHENNAI-66
CERTIFICATE OF EVALUATION
Semester : VIII
The report of the project work submitted by the above students in partial
fulfillment for the award of Bachelor of Engineering Degree in Electronics and
Communication Engineering of Anna University was evaluated and confirmed
to the report of the work done by the above students.
the moving human sized objects using wireless Surveillance camera through
PC. The image acquisition is done through Wireless transmission from the
X-UFO Quad Rotor Aerial Vehicle on which the wireless camera is mounted
in it. Meanwhile the aerial vehicle control is done from remote location
images from the wireless Camera. Gyroscope sensor is used in our project
for balancing the aerial vehicle in all directions. We have RF modules for
it. The image is also acquired at the client side from the server where the
grabbing the images. This completes our surveillance system with complete
1. Introduction 5
2. Literary Review
2.1.Related Project
2.2.Patent Search
2.3.Project Objective
3. System Overview
3.1.Block Diagram
3.2. System Description
3.2.1.Advantages
3.3. Quadra copter Aerial Vehicle
3.3.1.Digital 4 channel radio
3.4.Circuit Diagram
3.4.1.Hardware Description
3.4.1.1.Power Supply Circuit
3.4.1.2. Transformer
3.4.1.3.Bridge Rectifier
3.4.1.4.Regulator
3.4.1.5.Filter
3.4.1.6.LED
3.4.1.7.Circuit Operation
3.4.2.Microcontroller
5.2.Diode
5.3.Regulator
5.4.Microcontroller
5.4.1.Pin Description
5.5.RS232
5.6.H-Bridge
5.7.DC Gear Motor
6. Parallel Port 22
6.1.Parallel Port –Data Port
6.2.Parallel Port- Status Port
6.3.Parallel Port-control Port
6.4.Parallel port –Gnd Pin
7. Visual Basic 25
8. PCI Based TV tuner Card 26
9. PCI TV Program 27
10. Design Process 30
10.1.Mechanical Design
11. Conclusion 31
CHAPTER 1
INTRODUCTION
The goal of the project is to stabilize the Quadra copter such that it
can be wireless controlled with a serial port based on Server- Client
Architecture and to surveillance the outdoor environment. The X-UFO is a
remote controlled flying toy with four rotors. The output power of X-UFO
the motor is much lower, making it (nearly) harmless.
The helicopter used in the lab project was equipped with some
hardware to control the servos through wireless from remote place. To be
able to use the X-UFO for the lab course the UFO needs a comparable piece
of hardware .The multidisciplinary of this problem is expressed in the
problem statement.
CHAPTER 2
LITERARY REVIEW
2.1.Related Project:
2.2.PATENT SEARCH:
In all the above works the aerial vehicle has been controlled only
through handheld remote using which can only a skilled pilots can
control it. We have come up with a solution to this problem by
controlling the vehicle through PC so that, the aerial vehicle can be
controlled even from remote locations in a smart way.And the same
vehicle can be used for surveillance by having a wireless cam module in
it. Once image has been acquired from the wireless survelliance camera
target image would be located in the test image using correlation
algorithm implemented through MATLAB.
CHAPTER 3
SYSTEMOVERVIEW
The X-UFO quad rotor aerial vehicle rotors are connected to a bridge
circuit which is used to control its speed which is then connected to a
microcontroller for receiving the control signals from the PC. The control
actions for moving the aerial vehicle like up, down, left, right are done
using remote control circuit. This remote control circuit is connected to
the PC via serial port. The relay driver circuit is used to switch
connections for different control actions of the rotor. The transmitter used
here is of the range 27 MHz. The remote control circuit is interfaced with
PC for controlling the navigation of the aerial vehicle, the interfacing is
done through Visual Basic and the same is used for getting the captured
image / video from the Wireless camera through the PCI TV tuner card.
The user can able to monitor the live videos from the remote location on
a network. Even the control of the AV can be done on the network itself.
The camera module is placed at the center, beneath the X-UFO aerial
vehicle without affecting the hovering and other navigation operation of
the vehicle. The camera which we are going to use here is Wireless
camera. The main reason for choosing this camera is that it features low
size and low power consumption targeting mobile applications. This
complete camera module is ready to connect to camera enabled baseband
processors, back-end IC devices.
The image / video which is captured from the camera is transmitted
using the transmitter which works in the range of 2.4 GHz. The
transmitted image is received at the receiver which is present in the base .
The received image / video at the receiver is monitored in the PC through
the TV receiver module which is being connected at the PCI TV tuner
card through Video in Input of the TV tuner card. For controlling the AV
the Remote control circuit re-modified in such a way that the control of
the AV is done from the PC using serial port. Some of the control
function is lift up, lift down, move straight, move backward without
tilting too much at high altitude of even 100mts.
The application is typical for many air, land, and naval vehicles that
require extensive embedded control software to achieve stability
where humans are no longer able to perform this complicated, real-
time task. Professional aerial vehicles such as helicopters, most airline
and fighter jets totally rely on ES for stability. This also applies to
submarines, surface ships, missiles, satellites, and space ships (future
automobiles will also extensively rely on embedded software for
safety-critical tasks such as steering, braking, etc., commonly denoted
“X-by-wire”).
Made of ultra lightweight carbon fiber and EPP foam, it can fly up to
100m indoors, or outside The X-UFO features 4 channels proportional
radio control, with individual trims to finely balance each function for
optimum performance.
Control all aspects of flight: throttle, pitch, roll, and yaw! Fantastic radio
range of 100 meters 109 yards means you can fly outdoors on calm days up
to the limits of visibility Gyro Stabilized! To help you fly like a seasoned
pro, the X-UFO has an advanced gyro system.
3.4.CIRCUIT DIAGRAM
1000mf
LED
D3
39 21 1
38 P 0 .0 /A D 0 P 2 .0 /A 8 22 2
37 P 0 .1 /A D 1 P 2 .1 /A 9 23 3
36 P 0 .2 /A D 2 P 2.2/A 1 0 24 4
35 P 0 .3 /A D 3 P 2.3/A 1 1 25
34 P 0 .4 /A D 4 P 2.4/A 1 2 26
33 P 0 .5 /A D 5 P 2.5/A 1 3 27
P 0 .6 /A D 6 P 2.6/A 1 4 5 Volt
32 28
P 0 .7 /A D 7 P 2.7/A 1 5
1 10
2 P 1 .0 P 3 .0 /R XD 11
3 P 1 .1 P 3 .1 /T XD 12
4 P 1 .2 P 3 .2 /IN T O 13
5 P 1 .3 P 3 .3 /IN T 1 14
6 P 1 .4 P 3 .4 /T O 15
l 293 D Motor driver ic
7 P 1 .5 P 3 .5 /T 1 16
8 P 1 .6 P 3.6/W R 17
P 1 .7 P 3.7/R D
19 29
18 XTA L 1 PSEN
9 XTA L 2 30
33Pf R ST A L E /P R O G
31
. E A /V P P .
RESET SW
16
.
A T89C 51 9 12
8 R 1 IN R 1O U T 13
.
33Pf 1 1 R 2 IN R 2O U T 14
TO PC
10 T1out T 1 IN 7
10Mf 10K T2IN T2O U T
1 9
3 C+
4 C 1- 3
5 C 2+
2 C 2- 2
6 V+ M AX232
V- 5
..
15
3.4.1.HARDWARE DESCRIPTION
D 1
1
VD D
JP2
2 - + 4 1 2
2 V IN VO U T VD D
1 U 2
G N D
7805 R 4
220 VAC C 5 C 6 C 7 220 ohm
470 uF 100 uF 0 .1 u F
3
D 2
3
LED
Circuit of power supply
3.4.1.2 TRANSFORMER:
DEFINITION
PRINCIPLE:
3.4.1.4 REGULATOR:
IC voltage regulators
Voltage regulators comprise a class of widely used ICs.
Regulator IC units contain the circuitry for reference source,
comparator amplifier, control device, and overload protection all in a
single IC. IC units provide regulation of either a fixed positive
voltage, a fixed negative voltage, or an adjustably set voltage. The
regulators can be selected for operation with load currents from
hundreds of milli amperes to tens of amperes, corresponding to
power ratings from milli watts to tens of watts.
3.4.1.5. FILTER:
4.1 MICROCONTROLLERS
INTRODUCTION
P1
P0
RESET
RXD EA
TXD PSEN
INT0 ALE
P3 INT1
T0
T1
RD
WR P2
XTAL1
XTAL2
GND
T0/1: Timer0/1
RAM ARCHITECTURE
The 8051 uses 8 "R" registers which are used in many of its
instructions. These "R" registers are numbered from 0 through 7 (R0,
R1, R2, R3, R4, R5, R6, and R7).These registers are generally used to
assist in manipulating values and moving data from one memory
location to another. The concept of register banks adds a great level of
flexibility to the 8051.
4.2.3 REGISTERS
The Accumulator
The Accumulator, as its name suggests, is used as a general
register to accumulate the results of a large number of instructions. It
can hold an 8-bit (1-byte) value and is the most versatile register
Interrupts
An interrupt is a special feature which allows the 8051 to
provide the illusion of "multitasking," although in reality the 8051 is
only doing one thing at a time.
.
Timers
Timers are one of the categories of hardware time delays. Time
delays are used to keep a system into halting System or sleepy mode.
We have two timers-timer0, timer1.Hardware time delays are used to
generate exact time delays.
Let add 3 more memory locations to a specific block that will have a
built in capability to multiply, divide, subtract, and move its contents
from one memory location onto another. The part we just added in is
called "central processing unit" (CPU). Its memory locations are
called registers.
Figure2.5: Simplified central processing unit with three registers
Bus
Input-output unit
Those locations we've just added are called "ports". There are
several types of ports: input, output or bidirectional ports. When
working with ports, first of all it is necessary to choose which port we
need to work with, and then to send data to, or take it from the port.
Timer unit
#include<reg51.h>
void main()
{
int x = 0 ;
TMOD = 0x20;
TH1 = 0xf4;
SCON = 0x50;
TR1 = '1'; //start timer
while(1)
{
while(!RI) ;
RI = 0 ;
x = SBUF ;
if ( x == '1' )
{
out10 = 1 ;
out11 = 0 ;
}
if ( x == '2' )
{
out10 = 0 ;
out11 = 1 ;
}
if ( x == '3' )
{
out10 = 0;
out11 = 0;
}
if ( x == '4' )
{
out20 = 1 ;
out21 = 0 ;
}
if ( x == '5' )
{
out20 = 0 ;
out21 = 1 ;
}
if ( x == '6' )
{
out20 = 0;
out21 = 0;
}
}
The serial port has many pins. We will discuss the transmit and
receive pin first. Electrically speaking, whenever the serial port sends
a logical one (1) a negative voltage is effected on the transmit pin.
Whenever the serial port sends a logical zero (0) a positive voltage is
effected. When no data is being sent, the serial port's transmit pin's
voltage is negative (1) and is said to be in a MARK state. Note that
the serial port can also be forced to keep the transmit pin at a positive
voltage (0) and is said to be the SPACE or BREAK state. (The terms
MARK and SPACE are also used to simply denote a negative voltage
(1) or a positive voltage(0) at the transmit pin respectively).
Assume we want to send the letter 'A' over the serial port. The
binary representation of the letter 'A' is 01000001. Remembering that
bits are transmitted from least significant bit (LSB) to most significant
bit (MSB), the bit stream transmitted would be as follows for the line
characteristics 8 bits, no parity, 1 stop bit, 9600 baud.
LSB (0 1 0 0 0 0 0 1 0 1) MSB
To calculate the actual byte transfer rate simply divide the baud rate
by the number of bits that must be transferred for each byte of data. In
the case of the above example, each character requires 10 bits to be
transmitted for each character. As such, at 9600 baud, up to 960 bytes
can be transferred in one second.
The above discussion was concerned with the
"electrical/logical" characteristics of the data stream. We will expand
the discussion to line protocol.
115.5
4.5.1 RS – 232
In telecommunications, RS-232 (Recommended Standard 232)
is a standard for serial binary data signals connecting between a DTE
(Data Terminal Equipment) and a DCE (Data Circuit-terminating
Equipment). It is commonly used in computer serial ports.
4.6 H – BRIDGE