embedded gsm automation
DESCRIPTION
TRANSCRIPT
www.focustm.in
What is an Embedded System?
Software which controls the hardware
A system encapsulated within a large
device to perform a particular task
Is a part of large system
For dedicated applications
3
www.focustm.in
Hardware
Standard components
• Microprocessors, Memory,
Diodes, Etc
System level components
• Sensors, I/O peripherals,
Networking elements.
www.focustm.in
6
Micro Processor versus
Micro Controller
ALU
ACC.
REGISTERS
PC
INT
SP
CLK
MICROPROCESSOR MICRO CONTROLLER
ALU
REG.
ACC.
INT.RAM
SP
INT.ROM
I/O
I/O
INTCLK
PC
UART
www.focustm.in
System level components
IR SensorTemperature Sensor
Obstacle Sensor
Gas SensorFinger print Sensor
www.focustm.in
Software
High Level Language – User Friendly
Compiler – Easily generate the
machine code
Easy to develop and maintain
Portable
Not necessary to know complete
architecture
www.focustm.in
Flow Diagram of Compiler
Linker
Source Code
Preprocessor
Expanded Source Code
Compiler
OBJ Code
EXE
www.focustm.in
Compilers and Cross Compilers
Compilers – Coding in one host and
the target is same host
Cross Compilers – Coding in one host
and the target is different
www.focustm.in
Cross Compilers List
MPLAB CCS
Code Vision AVR
Keil Micro Vision
Raisonance IDE
Etc….
www.focustm.in
Characteristics of Embedded
System
Single-functioned
Tightly-constrained: low cost, low power,
small, fast
Reactive and real-time
Reliable, dependable
Efficient
www.focustm.in
Application Areas
Medical systems: e.g.
• Artificial eye:
Camera attached to glasses with
computer output directly connected
to the brain
Translation into sound with much
better resolution
15
www.focustm.in
Application Areas
Robotics
19
“Pipe-climber”Robot
“Johnnie“
(Courtesy
and ©:
H.Ulbrich, F.
Pfeiffer, TU
München)
www.focustm.in
Mobile Phones
Multiprocessor
• 8-bit/32-bit
• DSP for signals
• 32-bit in IR port
• 32-bit in Bluetooth
8-100 MB of memory
All custom chips
Power consumption & battery
life depends on software 20
www.focustm.in
Mobile Base Station
Massive signal processing
• Several processing tasks per connected
mobile phone
Based on DSPs
• Standard or custom
• 100s of processors
21
www.focustm.in
Telecom Switch
Rack-based
• Control cards
• IO cards
• DSP cards
• ...
Optical & copper connections
Digital & analog signals
22
www.focustm.in
Embedded System Architecture
Usually working in a loop (“hardware
in a loop”):
23
A/D converter(sample-and-hold)
Information
processing
display
D/A converter
Sensors Actuators
environment
Embedded system
www.focustm.in
Why OS in Embedded Device?
Support for multitasking, scheduling, and
synchronization
Support for a wide range of I/O devices
Support for file systems
Scheduling and buffering of I/O operations
Support for networking
Memory management
Support for graphics displays
Security and Power Management
24
www.focustm.in
OS for Real-Time System
A real-time system must respond to
external inputs and produce new
outputs in a limited amount of time.
The response time needs to be
bounded
General-purpose desktop OS are not
designed for real-time use
• Real-time OS needs to be initially
designed for real-time use in order to
provide fast bounded response times25
www.focustm.in
What is GSM ?
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.
www.focustm.in
GSM: History
Aim : to replace the incompatible analog system
Developed by Group Spéciale Mobile (founded
1982) which was an initiative of CEPT ( Conference
of European Post and Telecommunication )
Presently the responsibility of GSM standardization
resides with special mobile group under ETSI (
European telecommunication Standards Institute )
Under ETSI, GSM is named as “ Global System for
Mobile communication “
www.focustm.in
Today many providers all over the world use GSM
(more than 135 countries in Asia, Africa, Europe,
Australia, America)
More than 1300 million subscribers in world and 45
million subscriber in India.
www.focustm.in
GSM in World
Figures: March, 2005
37%
1%4%43%
4%
3%
3%
3% (INDIA)
3%
Arab World
Asia Pacific
Africa
East Central Asia
Europe
Russia
India
North America
South America
www.focustm.in
VARIOUS AUTOMATIONS USING GSM
GSM/GPRS Automation with Controllers and
PC.
Monitoring Units and PLC Controllers with
GSM/GPRS.
GSM Controller – SMS monitoring with PLC.
GPRS Controller – GPRS real time control with
PLC.
Vehicle Tracking using GPS/SGM/GPRS.
Remote field data logging and control.
www.focustm.in
GSM/GPRS AUTOMATION WITH CONTROLLERS
AND PC
The GSM/GPRS concept may be used as it is in
any automation projects and/or suitable parts may
be integrated into any existing systems and
machines for remote automation
www.focustm.in
Tele Services
Telecommunication services that
enable voice communication
via mobile phones
• Offered services
Mobile telephony
Emergency calling
www.focustm.in
Bearer Services
Include various data services for information transfer between GSM and other networks like PSTN, ISDN etc at rates from 300 to 9600 bps
Short Message Service (SMS)
up to 160 character alphanumeric data transmission to/from the mobile terminal
fax
Voice mailbox
Electronic mail
www.focustm.in
Supplementary Services
Call related services :
• Call Waiting- Notification of an incoming call while on the handset
• Call Hold- Put a caller on hold to take another call
• Call Barring- All calls, outgoing calls, or incoming calls
• Call Forwarding- Calls can be sent to various numbers defined by the user
• Multi Party Call Conferencing - Link multiple calls together
www.focustm.in
GSM Operation
Speech decoding
Channel decoding
De-interleaving
Burst Formatting
De-ciphering
DemodulationModulation
Ciphering
Burst Formatting
Interleaving
Channel Coding
Speech coding
Radio Interface
Speech Speech
13 Kbps
22.8 Kbps
22.8 Kbps
33.6 Kbps
33.6 Kbps
270.83 Kbps
www.focustm.in
Outgoing Call
1. MS sends dialled number to BSS 2. BSS sends dialled number to
MSC3,4 MSC checks VLR if MS is
allowed the requested service. If so, MSC asks BSS to allocate resources for call.
5 MSC routes the call to GMSC6 GMSC routes the call to local
exchange of called user7, 8,9,10 Answer back(ring back) tone is
routed from called user to MS via GMSC,MSC,BSS
www.focustm.in
Incoming Call
1. Calling a GSM subscribers2. Forwarding call to GSMC3. Signal Setup to HLR4. 5. Request MSRN from VLR6. Forward responsible MSC to
GMSC7. Forward Call to current MSC8. 9. Get current status of MS10.11. Paging of MS12.13. MS answers14.15. Security checks16.17. Set up connection
www.focustm.in
GSM modem
o Wireless modem
o Like GSM mobile, GSM modem
requires a SIM card
o Behaves like dial-up modem
o Modem sends and receives through
radio waves.
o Dial-up use a fixed telephone line.
www.focustm.in
GSM modem
A GSM modem can be a dedicated modem device
with a serial, USB or Bluetooth connection, or it may
be a mobile phone that provides GSM modem
capabilities
The basic segregation of working of the modem is
as under:
• Voice calls
• SMS
• GSM Data calls
www.focustm.in
APPLICATIONS
Remote control switching of vehicle
engine pre-heaters
Remote control switching of irrigation
systems, water well pumps and pumping
stations
Automated gate remote control
Remote control lighting
Security systems
www.focustm.in
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“.
Commands are usually followed by at least a
minimal response of: “OK” if the command line has
been executed successfully or “ERROR” if the
command line has errors or is not executed
successfully.
www.focustm.in
AT commands
To call
ATD phone number;
To send message
AT+CMGS=“ phone number”
message
ctrl+Z
www.focustm.in
Types of GSM
Types of GSM and band used in the frequency
spectrum
GSM 850
GSM 900
GSM 1800
GSM 1900
The number indicates the frequency band, in MHz,
www.focustm.in
Applications
• Automatic Meter Reading
• GSM Pay Phones
• Traffic management
• Remote data logging and reporting
• Security systems
www.focustm.in
Advantages of GSM over Analog
system
Capacity increases
Reduced RF transmission power and longer battery
life.
International roaming capability.
Better security against fraud (through terminal
validation and user authentication).
Encryption capability for information security and
privacy.
Compatibility with ISDN,leading to wider range of
services
www.focustm.in
Future Of GSM
2nd Generation
GSM -9.6 Kbps (data rate)
2.5 Generation ( Future of GSM)
HSCSD (High Speed ckt Switched data)
Data rate : 76.8 Kbps (9.6 x 8 kbps)
GPRS (General Packet Radio service)
Data rate: 14.4 - 115.2 Kbps
EDGE (Enhanced data rate for GSM Evolution)
Data rate: 547.2 Kbps (max)
3 Generation
WCDMA(Wide band CDMA)
Data rate : 0.348 – 2.0 Mbps
www.focustm.in
Thank youby,
Focus Tech MediaNo.3, Gem Plaza, II Floor,
SRC Road, Trichy-2.Off: +91 431-4544 142. Mob: 90030 10012/14.
E-Mail Id: [email protected]