Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ON
CERTIFICATE
The student has successfully completed the seminar report for the partial fulfillment
of the B.Tech (Electronics & telecommunication) as per the norms prescribed by
NMIMS University during the seventh trimester of academic year 2009-10. The
report has been assessed and found to be satisfactory.
______________
Mr. Amar Khalore
(Seminar Guide)
______________ _________________
Mr. Shailendra.B Prof. R.R.Sedamkar
(HOD, EXTC Dept.) (Associate Dean)
ACKNOWLEDGEMENT
I would like to place on record my deep sense of gratitude to “ Mr. Amar Khalore”
Dept. of Electronics & telecommunication, Mukesh Patel School of Technology
Management & Engineering, Shirpur Campus, for his generous guidance, help and
useful suggestions.
Data Acquisition (SCADA) is a process control system that enables a site operator to monitor
and control processes that are distributed among various remote sites. A properly designed
SCADA system saves time and money by eliminating the need for service personnel to visit each
site for inspection, data collection/logging or make adjustments.
Supervisory Control and Data Acquisition systems are computers, controllers, instruments;
actuators, networks,and interfaces that manage the control of automated industrial processes and
allow analysis of these systems through data collection .They are used in all types of industries,
from electrical distribution systems, to food processing, to facility security alarms.[7]
Supervisory control and data acquisition is used to describe a system where both data acquisition
and supervisory control are performed. Mobile Supervisory Control and Data Acquisition
(referred to as Mobile SCADA) is the use of SCADA with the mobile phone network being used
as the underlying communication medium. GSM is a wireless communication technology; most
popular today for transmitting data anywhere in the world through SMS with the help of mobile
phones.General Packet Radio Service (GPRS) is chosen as the specific mobile communication
protocol to use as it provides an always on-line Inter connection without any time based charges.
SMS is a globally accepted wireless service that enables the transmission of alphanumeric
messages between mobile subscribers and external systems such as electronic mail, paging, and
voice-mail systems. It is a store and forward way of transmitting messages to and from mobiles.
SMS benefits includes the delivery of notifications and alerts, guaranteed message delivery,
reliable and lowcost communication mechanism for concise information, ability to screen
messages and return calls in a selective way and increased subscriber productivity
LITERATURE
SURVEY
LITERATURE SURVEY
2.1 Development of GSM Technology
The idea of the first cellular network was brainstormed in 1947. It was intended to be
used for military purposes as a way of supplying troops with more advanced forms of
communications. From 1947 till about 1979 several different forms of broadcasting technology
emerged. The United States began to develop the AMPS (Advanced Mobile Phone Service)
network, while European countries were developing their own forms of communication.
Europeans quickly realized the disadvantages of each European country operating on their
mobile network. Rectifying the situation the Conference of European Posts and Telegraphs
(CEPT) assembled a research group with intentions of researching the mobile phone system in
Europe. This group was called Group Spécial Mobile (GSM).
For the next ten years the GSM group outlined standards, researched technology and
designed a way to implement a pan-European mobile phone network. The acronym GSM had
been changed from Group Spécial Mobile to Global Systems Mobile Telecommunications.
By April of 1991 commercial service of the GSM network had begun. Just a year and
half later in 1993 there were already 36 GSM networks in over 22 countries. Most of the world
external to the United States uses GSM technology. However, operate on different frequencies.
There are five major GSM frequencies that have become standard worldwide. They include
GSM-900, GSM-1800, GSM-850, GSM-1900 and GSM-400.
Today GSM is the most popular standard for mobile phones in the world. Its promoter,
the GSM Association, estimates that 82% of the global mobile market uses the standard. GSM is
used by over 2 billion people across more than 212 countries and territories. GSM differs from
its predecessors in that both signaling and speech channels are digital call quality, and thus is
considered a second generation (2G) mobile phone system. The map on the nest page shows the
wide usage of the GSM technology all over the world.
Fig. 2.1
The Subscriber Identity Module, commonly known as a SIM card, is a key feature of
GSM. The SIM is a detachable smart card containing the user's subscription information and
phonebook. This allows the user to retain his information after switching handsets.
Fig. 2.2
GSM also pioneered a low-cost alternative to voice calls, the Short message service
(SMS, also called "text messaging"), which is now supported on other mobile standards as well.
The first SMS message was sent over the Vodafone GSM network in the United
Kingdom on 3 December 1992, from Neil Papworth of Airwide Solutions (using a personal
computer) to Richard Jarvis of Vodafone (using an Orbitel 901 handset). The text of the message
was "Merry Christmas".The first SMS typed on a GSM phone is claimed to have been sent by
Riku Pihkonen, an engineering student at Nokia, in 1993.
The maximum single text message size is either 160 7-bit characters, 140 8-bit
characters, or 70 16-bit characters.Larger content (Concatenated SMS, multipart or segmented
SMS or "long sms") can be sent using multiple messages.
2.3 Hardware
2.3.1 Microcontroller
1. The first and the foremost criterion for selecting a microcontroller is that it must meet the
task at hand efficiently and cost effectively. In analyzing the need of a microcontroller based
project we must see whether an 8 bit, 16 bit, 32 bit microcontroller can best handle the
computing need of the task most efficiently. Among other consideration in this category are
speed, power consumption, amount of on chip RAM and ROM, the number of sufficient I/O
ports and cost per unit.
2. Second how easy is it to develop product around it. Key considerations are the availability of
an assembler, debugger, emulator and technical support.
3. Its ready availability in needed quantity, both now and in future.
In 1981, Intel Corporation introduced an 8 bit microcontroller called 8051, this had 128
bytes of RAM, 4 bytes of on chip ROM, two timers, one serial port, and 4 ports each 8 bits
wide all on a single chip. At this time it was referred to as “system on chip”. The 8051 is an 8
bit processor meaning that the CPU can work only on 8 bit at a time. Data larger than 8 bit has
to be broken up into 8 bit pieces to be processed by the CPU.
The 8051 became widely popular after Intel allowed other manufacturers to make and
market any flavor of 8051 with the condition that they remain code compatible with 8051. This
has lead to many versions of 8051 with a different speed and amount of on chip ROM
marketed by different companies.
2.4 Software
As our project required involved the application of software, on consulting with our
project guide we came to the conclusion that we shall use Embedded C for programming
utilizing the Keil software
Use of embedded processors cars, mobile phones, medical equipment, aerospace systems
etc is widespread. The applications of embedded C are exploited through the Keil software.
Keil was founded in 1986 to market add on products for development tools provided by many
of the silicon vendors. It soon became evident that there was a void in the market placethat
must be filled with quality software development tools. It was then that Keil introduced the
first C compiler designed from the ground-up specifically for 8051 microcontroller.
The literature about Keil was collected from the net as well as some e-books via the
internet. http://www.keil.com/company is the link of the site from which the basics of the
software was taken.
METHODOLOGY
Step down transformer is the first part of regulated power supply. To step down the mains 230V
A.C. we require step down transformer. Following are the main characteristic of electronic
transformer.
1) Power transformers are usually designed to operate from source of low impedance at
a single freq.
2) It is required to construct with sufficient insulation of necessary dielectric strength.
3) Transformer ratings are expressed in volt–amp. The volt-amp of each secondary
winding or windings are added for the total secondary VA. To this are added the load
losses.
4) Temperature rise of a transformer is decided on two well-known factors i.e. losses on
transformer and heat dissipating or cooling facility provided unit.
The following information must be available to the designer before he commences for the design
of transformer.
1) Power Output.
2) Operating Voltage.
3) Frequency Range.
4) Efficiency and Regulation.
Rectifier Unit:-
Rectifier unit is a circuit which converts A.C. into pulsating D.C. Generally semi-conducting
diode is used as rectifying element due to its property of conducting current in one direction
only. Generally there are two types of rectifier.
1) Half wave rectifier 2) Full wave rectifier.
In half wave rectifier only half cycle of mains A.C. is rectified so its efficiency is very
poor. So we use full wave bridge type rectifier, in which four diodes are used. In each half cycle,
two diodes conduct at a time and we get maximum efficiency at o/p.
Following are the main advantages and disadvantages of a full-wave bridge type rectifier
ckt.
Advantages:
1) The need of center tapped transformer is eliminated.
2) The o/p is twice that of center tap circuit for the same secondary voltage.
3) The PIV rating of diode is half of the center tap circuit.
Disadvantages:
Filter Circuit :-
Generally a rectifier is required to produce pure D.C. supply for using at various places in the
electronic circuit. However, the o/p of rectifier has pulsating character i.e. if such a D.C. is
applied to electronic circuit it will produce a hum i.e. it will contain A.C. and D.C. components.
The A.C. components are undesirable and must be kept away from the load. To do so a filter
circuit is used which removes (or filters out) the A.C. components reaching the load. Obviously a
filter circuit is installed between rectifier and voltage regulator. In our project we use capacitor
filter because of its low cost, small size and little weight and good characteristic. Capacitors are
connected in parallel to the rectifier o/p because it passes A.C. but does not pass D.C. at all.
Three terminal voltage regulator:-
A voltage regulator is a ckt. that supplies constant voltage regardless of change in load current.
IC voltage regulators are versatile and relatively cheaper. The 7800 series consists of three
terminal positive voltage regulator. These ICs are designed as fixed voltage regulator and with
adequate heat sink, can deliver o/p current in excess of 1A. These devices do not require external
component. This IC also has internal thermal overload protection and internal short circuit and
current limiting protection. For our project we use 7805 voltage regulator IC.
Power Supply
· Use AC – DC Power Adaptor with following ratings
· DC Voltage : 12V
· DC Current : 1A
· Polarity : Centre +ve & Outside –ve
· Current Consumption in normal operation 250mA, can rise up to 1Amp while transmission.
Interfaces
· RS-232 through D-TYPE 9 pin connector, Serial port baud rate adjustable 1200 to115200 bps
(9600 default)
· Stereo connector for MIC & SPK
· Power supply through DC socket
· SMA antenna connector
· Push switch type SIM holder
· LED status of GSM / GPRS module
Getting Started
· Insert SIM card: Press the yellow pin to remove the tray from the SIM cardholder. After
properly fixing the SIM card in the tray, insert the tray in the slot provided.
· Connect Antenna: Screw the RF antenna on the RF cable output provided.
· If voice call is needed, connect the mic and speaker to stereo sockets.
SOFTWARE
DEVELOPMENT
SOFTWARE DEVELOPMENT
The C language was invented by Dennis Ritchie at Bell Telephone Laboratories (now an
AT&Tdivision) in the early 1970‟s. Ritchie wanted a high-level language suitable for writing
operating system, which manages input and output devices of computer allocates the storage, and
schedules the running of the other programs. Operating systems had usually been written in
machine instructions of a particular computer, using as assembler language.
The features of C:
C is a high level procedural language. In part, it resembles other procedural languages, such
as PASCAL, FORTRAN, BASIC, ALGOL, PL/1, and ADA. When using a procedural language, a
programmer writes explicit directions for a computer about the steps it is to perform. The
programmer must understand the meaning of the data, the steps being performed, and the results. A
high-level language frees the programmer from having to work with machine instructions and from
having to determine the location of data in main storage. These details are provided by compiler,
which translates a program from source-code, in a high level language to machine instructions.
Limited data-types
Originally C provided only characters and Integers. Later “long” and “short” integers were
added, as well as floating point data.
High efficiency:
C compilers are generally able to translate source code into efficient machine instructions. C
language data and control mechanisms are well matched to most small computers and
microcomputers.
Structured Programming:
In the 1960s and early 1970s, theorists interested in algorithms developed techniques called
structured programming. Because structured programs are easy to understand and test, they are
usually more reliable than unstructured programs. The C language is designed to support structured
programming techniques.
Advantages of C:
Because the C language is relatively simple and orderly, C compilers can be made to run on
small computers. The language is also designed so that compilers can translate it into efficient
machine instructions. The C language provides more flexibility in detailed data manipulation than
other high-level languages. These characteristics have made C attractive for micro-computers and
for applications such as interfaces, communications, control systems, automatic test equipment,
operating systems, database managers, computer aided designs, spread-sheets, and text processors.
Comparing C to PASCAL, experienced programmers would value the flexibility of C‟s data
manipulation, the compactness of its statements, the generality of it‟s data structures, and the
portability of it‟s source code.
Limitations of C:
Implementations of C:
C compilers are now available for most popular microcomputers, minicomputers and small
mainframe computers. These compilers implement the language in remarkably consistent way. In
contrast to the situation with PASCAL most writers of C compiles have refrained from adding
features or changing the interpretation of statements. Because of this, programs written in C are
usually easier to transport from one type of computer to another.
Nearly all elements of the C language described are implemented by the systems that claim to
support the “full” C language with two exceptions. The first is support for floating point numbers.
The other exception is so called “standard” library services. These provide frequently used
procedures, such as reading data from a file, allocating portions of main storage to a program, or
printing messages on terminal.
µVision Keil is a windows based front end for all Keil based compilers and assemblers. It
includes an editor, project manager and make facility. µVisin includes everything needed to
create, edit, compile, assemble, link, load and debug microcontroller based projects.
Compiler assembler and linker options are set are set by pointing and clicking on the prompted
options. The Program manager conveniently accesses your files helping you organize and
maintain your embedded software projects. µVision has the ability to call 3rd party executable
and keil simulator dScope easing the transition from application to application. Codes can be
written in Embedded C or Assembly language programming.
µVision runs under Windows 3.11, 95, XP and NT. The compiler assembler and linker are also
DOS executable.
Features of Keil
Integrated Project Manager and Make facility.
Colour syntax highlight for better code readability.
Interactive error correction.
5.3 AT COMMANDS:
AT commands are instructions used to control a modem. AT is the abbreviation of ATtention.
Every command line starts with "AT" or "at". That's why modem commands are called AT
commands. Many of the commands that are used to control wired dial-up ATO (Return to online
data state), are also supported by GSM/GPRS modems and mobile phones. Besides this common
AT command set, GSM/GPRS modems and mobile phones support an AT command set that is
specific to the GSM technology, which includes SMS-related commands like
AT+CMGS (Send SMS message),
AT+CMSS (Send SMS message from storage), AT+CMGL (List SMS messages) and
AT+CMGR (Read SMS messages).
Note that the starting "AT" is the prefix that informs the modem about the start of a command
line. It is not part of the AT command name. For example, D is the actual AT command name in
ATD and +CMGS is the actual AT command name in AT+CMGS. However, some books and
web sites use them interchangeably as the name of an AT command.
Here are some of the tasks that can be done using AT commands with a GSM/GPRS modem or
mobile phone:
· Get basic information about the mobile phone or GSM/GPRS modem. For
example, name of manufacturer (AT+CGMI), model number (AT+CGMM), IMEI number
(International Mobile Equipment Identity) (AT+CGSN) and software version (AT+CGMR).
· Get basic information about the subscriber. For example, MSISDN (AT+CNUM) and IMSI
number (International Mobile Subscriber Identity) (AT+CIMI).
· Get the current status of the mobile phone or GSM/GPRS modem. For example, mobile phone
activity status (AT+CPAS), mobile network registration status (AT+CREG), radio signal
strength (AT+CSQ), battery charge (AT+CBST), radio link protocol parameters (AT+CRLP),
SMS center address
(AT+CSCA) and storage of SMS messages (AT+CPMS).
· Save and restore configurations of the mobile phone or GSM/GPRS modem.
5.5 ALGORITHM
I. START
II. Initialize all Ports and Variables
III. Initialize all Useful SFR‟s
IV. Initialize respective Delays
V. Read the switches postion
VI. Generate message on lcd
VII. Call the Convert Subroutine
VIII. Display on LCD
IX. Send a message to the user
CONCLUSION
CONCLUSION
Our objective is to work on the “Remote site Safety & security Application by using Controller”
to achieve to produce an input data file for each of the Data Logger, build a Controller Area
network ,Collect & manage datain the Control Area Network(CAN) and Send SMS to a
monitoring centered .
Our project would eliminates the need of a constant manned monitoring of the
system for the parameters being measured. This will increases the efficiency of the work.
Looking ahead into the future, the scope of the project can be widened by monitoring more
parameters All these can be monitored using separate dedicated sensors and fluctuation in
anyone of these parameters will alert the user and immediate action will be taken.
BIBOLOGRAPHY
Chapter 7
Bibliography
Muhammad Ali Mazidi and Janice Gillespe, The 8051 Microcontroller and Embedded
Systems, I/O Programming, Printice Hall
http://www.picotech.com/experiments/calculating_heart_rate/
http://www.mytutorialcafe.com/Microcontroller%20Project%20Thesis%20RTC%204051
.htm
http://www.bioenabletech.com/gsm_gprs_gps_mobile_m2m_india.htm