Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

ENHANCE THE SENSING RELIABILITY OF AN EMBEDDED SYSTEM

1.1 INTRODUCTION
Recently surveillance systems have become more important for everyones security. The
embedded surveillance system, frequently used in a home, an office or a factory, uses a sensor
triggered to turn on a camera. Some designs use different types of sensors to achieve reliability
by means of the different features of each sensor. In this project we extend our previous design
not only by using both multiple PIR sensors and ultrasonic sensors as a sensor group, but also by
using the MEMS and gas sensors. Ultrasonic receivers and transmitters are located at opposite
ends. However, to reduce the interference from other frequencies in ultrasonic signals, we use a
coding signal to enhance the ability to distinguish the random interference. To enhance system
reliability in the experiment, we focus on how to improve the shortcomings of the ultrasonic
sensor. Some research explores the influence of attenuation in air and crosstalk of ultrasonic
signals by using a coding signal, while some provides improvement of the ultrasonic signal by
using different coding signal types. Other research uses the application of a coding signal to
increase resolution and contrast of images. Yet another approach builds a 3D image with an
ultrasonic sensor in the PN code that solves the problem with time delay. To enhance the
reliability of the ultrasonic sensors group, we propose adding to the number of bits with coding
to reduce the probability of code breaking.
In this project we extend our previous design not only by using both multiple PIR
sensors, Smoke, MEMS, camera and ultrasonic sensors as a sensor group. The PIR sensors are
placed on the ceiling, Smoke sensor used to find the smoke thats comes before the fire will be
detected, MEMS used to detect the wall Breaking or safe breaking, the ultrasonic sensor with
combination of PIR (pyro-electric infrared sensors) used to check the intruder camera used to
monitor the live events caused by the above sensors at the same time an alert message is also
transmitted to authenticated person. Thus all these and all these modules are placed in a line
direction
1.2 HARDWARE REQUIREMENT FOR IMPLEMENTATION OF THE FUNCTION
MODULE

CONTROLLER (AT89s52).
PIR SENSOR
ULTRASONIC SENSOR
MEMS Module.

Dept. of E.C.E., K.O.R.M.C.E

Page 1

ENHANCE THE SENSING RELIABILITY OF AN EMBEDDED SYSTEM

SMOKE SENSOR
WEBCAM.
POWER SUPPLY UNIT
MAX 232 IC.
MISCELLINOIUS COMPONENTS.

1.3 SOFTWARE REQUIREMENT FOR IMPLEMENTATION OF THE FUNCTION


MODULE
The KEIL U version IDE which Keil C51 Product is a complete software development
environment for the 8051 microcontroller family.
Us Flash+ Ver. 4.0.0 programmer for MCS51 microcontrollers developed by UC micro
systems.
1.3.1 Language
All editions provide a complete Embedded C/C++ development environment and KEIL
includes extensive middleware libraries.
1.3.2 Platform
WINDOWS XP.
WINDOWS 7.

Dept. of E.C.E., K.O.R.M.C.E

Page 2

ENHANCE THE SENSING RELIABILITY OF AN EMBEDDED SYSTEM

2.1 INTRODUCTION
Computers have evolved from few, huge mainframes shared by many people, and mini
computers that were smaller but still shared to todays PCsmillions in number, miniscule in
size compared to the mainframes, and used by only one person at a time. The next generation
could be invisible, with billions being around and each of us using more than one at a time.
Welcome to the world of embedded systems, of computers that will not look like computers and
wont function like anything were familiar with
2.2 BLOCK DIAGRAM OF THE SYSTEM

Fig 2.1: Block diagram of the system

Dept. of E.C.E., K.O.R.M.C.E

Page 3

ENHANCE THE SENSING RELIABILITY OF AN EMBEDDED SYSTEM

2.3 AT89S52MICROCONTROLLER
Microprocessors and microcontrollers are widely used in embedded systems products.
Microcontroller is a programmable device. A microcontroller has a CPU in addition to a fixed
amount of RAM, ROM, I/O ports and a timer embedded all on a single chip. The fixed amount
of on-chip ROM, RAM and number of I/O ports in microcontrollers makes them ideal for many
applications in which cost and space are critical.
The Intel 8051 is Harvard architecture, single chip microcontroller (C)
which was developed by Intel in 1980 for use in embedded systems. It was
popular in the 1980s and early 1990s, but today it has largely been
superseded by a vast range of enhanced devices with 8051-compatible
processor cores that are manufactured by more than 20 independent
manufacturers including Atmel, Infineon Technologies and Maxim Integrated
Products.
8051 is an 8-bit processor, meaning that the CPU can work on only 8
bits of data at a time. Data larger than 8 bits has to be broken into 8-bit
pieces to be processed by the CPU. 8051 is available in different memory
types such as UV-EPROM, Flash and NV-RAM.
The present project is implemented on Keil U vision. In order to
program the device, Preload tool has been used to burn the program onto
the microcontroller.
The features, pin description of the microcontroller and the software tools used are
discussed in the following sections.
2.3.1Features of AT89s52

8K Bytes of Re-programmable Flash Memory.


RAM is 256 bytes.
4.0V to 5.5V Operating Range.
Fully Static Operation: 0 Hz to 33 MHzs
Three-level Program Memory Lock.
256 x 8-bit Internal RAM.
32 Programmable I/O Lines.
Three 16-bit Timer/Counters.
Eight Interrupt Sources.
Full Duplex UART Serial Channel.

Dept. of E.C.E., K.O.R.M.C.E

Page 4

ENHANCE THE SENSING RELIABILITY OF AN EMBEDDED SYSTEM

Low power Idle and Power-down Modes.


Interrupt recovery from power down mode.
Watchdog timer.
Dual data pointer.
Power-off flag.
Fast programming time.
Flexible ISP programming (byte and page mode).
2.3.2AT89s52pin description
The AT89s52 is a low-voltage, high-performance CMOS 8-bit microcomputer with 8K
bytes of Flash programmable memory. The device is manufactured using Atmels high density
nonvolatile memory technology and is compatible with the industry-standard MCS-51
instruction set. The on chip flash allows the program memory to be reprogrammed in system or
by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with
Flash on a monolithic chip, the Atmel AT89s52 is a powerful microcomputer, which provides a
highly flexible and cost-effective solution to many embedded control applications.
In addition, the AT89s52 is designed with static logic for operation down to zero
frequency and supports two software selectable power saving modes. The Idle Mode stops the
CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue
functioning. The power-down mode saves the RAM contents but freezes the oscillator disabling
all other chip functions until the next hardware reset.

Dept. of E.C.E., K.O.R.M.C.E

Page 5

You might also like