Gsm based m2 m system design & implementation using p soc
1. GSM Based M2M System Design &
Implementation Using PSoC
Under The Guidance of
Dr. Avireni Srinivasulu
Sharat Chandra
ME/ECE/1010/09
DEPARTMENT OF ELECTRONICS & COMM. ENGG.
BIRLA INSTITUTE OF TECHNOLOGY
MESRA-835215, RANCHI 1
2011
2. INTRODUCTION
M2M(Machine to Machine) is about enabling the flow of
data between machines and machines and ultimately
machines and people.
M2M(Machine to Machine)refers to technologies that allow
both wireless and wired systems to communicate with
other devices of the same ability.
Machine-to-Machine (M2M) means no human intervention
when devices are communicating end-to-end.
Also termed as Machine to Mobile, Machine to Man, Mobile
to Mobile & Vice- Versa.
2
4. WHY GSM BASED M2M?
CHARACTERISTICS M2M PERSPECTIVE
Carrier Frequency 900 MHz, 1.8 GHz, and others the lower, the better
8 power classes; min 20 mW =
Power Management 13 dBm can be easily handled
(2dB power control steps)
constant envelope good for M2M
Modulation GMSK
PA
Complexity fairly low as of now Generally, good candidate
160 7-bit
best effort over control channel characters useful for device wake-
SMS
data backup, configuration, up, remote diagnosis, etc.
# of SMS bounded (100/Day)
DATA circuit switched data, 9.6Kbps often not sufficient
4
6. INDUSTRIAL
TELEMEDICINE
AUTOMATION AND AND
MONITORING
HEALTHCARE
TELEMETRY CONSUMER
APPLICATIONS
SECURITY AND BUSINESS
SURVEILLANCE APPLICATIONS
6
7. OBJECTIVE
To develop a single platform to provide GSM
based wireless solutions in designing of M2M
system using Programmable System on Chip
(PSoC) for various sector of applications.
The scope of work is focused mainly those area of
application which demands low cost, less
complexity and high security.
7
12. Software Design
Start
Initialization of GSM AT+CREG?
modem ATEO
AT+CMGF=1
Monitor the system status and send message
AT+CMGS
to control mobile
Check and Read the From authorized Decode
incoming message user
Compare with valid
Not from Invalid
authorized user command commands
Send message for invalid
command
Valid
command
1. Generate Control Signals for the
AT+CMGD=1 Delete the message machine
2. Send command execution report to
the user
No
End
Yes Sleep 12
14. REMOTE CIRCUIT BREAKER
GSM Network
GSM Network
GSM Module
GSM Module
Far end control
UART
UART mobile
PSoC
PSoC
Power Supply
Power Supply
Circuit breakers
Circuit breakers
Power switch driver
Power switch driver
and switches at
and switches at
circuit & Status Signals
circuit & Status Signals
plants
plants
Remote Circuit Breaker Monitoring & Control Using GSM Based M2M System
14
15. GSM GATEWAY DESIGN FOR WSNs
The hardware of the proposed design comprises of:
The Sensor nodes
The PSoC M2M module as Gateway engine
GSM Interface System
Sensor Sensor
GSM Network
Sensor
Sensor
GSM
PSoC Modem
Sensor
Sensor
Power Supply
M2M Module as a Sensor Mote in WSN
15
16. Software Flow Chart
Boot
Configure the Modem for
Network Connection
Receive SMS from End
Download
Control of WSN
Commands
Execution of Download data from
Command received Sensor nodes
Data formatting and sending
Acknowledgment via SMS to End control
Sleep 16
17. COMPACT FOOD PROCESSING
MACHINE
Speed Sensor
Temperature Sensors
(RTD PT100)
Current M2M Module as
Sense WSN Gateway
Resistors
17
18. GRID AUTOMATION
GSM Network
User End
DCC
Far end user
GSM Modem
(SIM300)
PSoC
(CY8C29466) Transformer
M2M Power
Module Distribution
Network
M2M based Architecture of DAS
18
19. Software Flow for the Proposed
Design
Start
GSM Network
Configure the GSM Modem
for cellular connectivity
Receive SMS Command
from authorised control
Load System
number
Parameters
Transmit status and
Acknowledge as SMS
Updates Lines Status
Process and format the data to
extract the useful information
Notify as SMS at far end
control mobile number
Generates action command
signal based on Decision
making software
Command Signals to the
Circuit Breakers and other 19
control equipment
20. DATA PACKET FORMAT
Received Data Format
Machine Power
GC Voltage GC Current GC GC %Loss
ID Factor
Power
GC Voltage GC Current GC GC %Loss
Factor
Power
GC Voltage GC Current GC GC %Loss
Factor
Control Commands format
COMMAND NAME DESCRIPTION
STATUS Check the status of the machine
SETNAME <OLDNAME> <NEWNAME> Change the machine name
CNTLPHONE <DEVICE NAME> <NEW
Transfer the control to another number
NUMBER>
20
21. PROPOSED DAS ARCHITECTURE AT
BIT MESRA, RANCHI
GSM M2M System
GSM M2M System
GSM M2M System
GSM M2M System
Distributed
Distributed
Monitoring Centre
Monitoring Centre
GSM M2M System
GSM M2M System GSM M2M System
GSM M2M System
21
22. EXPERIMENTAL SET UP FOR
PROTOTYPE SYSTEM
SCALING FACTORS FOR PROTOTYPE
SYSTEM
Original System Prototype System
Parameter Scaling Factor
Value (max.) Value (max.)
Voltage 230V 15V 15.33
Current 670A 50mA 13.4e3
22
24. REMOTE CIRCUIT BREAKERS
Message Received from the PSoC M2M Module Command Sent
TEST
CNTLPHONE
CB1 8969194926
SETNAME
NONAME RCB01
BREAKCKT
RCB01
MAEKCKT
RCB01
MAKE CIRCUIT
RCB01
When Circuit got
connected (M2M
module Automatically
replied )
24
25. TRANSMISSION DELAY IN
MEASUREMENTS
Time of Massage Transmission
S.No.
Measurment Received Time Delay (Sec.)
1 12.05.43 12.05.56 13
2 12.09.30 12.09.43 13
3 15.05.20 15.05.34 14
4 18.00.10 18.00.23 13
Message Received at User End Mobile
25
28. CONCLUSIONS
A great solution in the field of M2M in terms of
Cost
Complexity
Security
Flexibility
Advantages because of PSoC:
Fewer components
Lower cost
Smaller size
Hardware and Software is protect from reverse engineering
Dynamic Reconfiguration, programmable voltage,
instrumentation, inverting, and non-inverting amplifiers
28
29. LIMITATIONS AND SOLUTION
Low Speed
Dependency of GSM Connectivity
Not Suitable for High End Applications (like
video monitoring, Image processing)
Solutions :
3G, GPRS, Wi-Fi, Bluetooth, ZigBee
PSoC3, PSoC5
29
30. REFERENCES
1. Alheraish, A.“Design and implementation of home automation system,” IEEE Transactions on Consumer Electronics, Vol.
50, No. 4, Nov 2004, pp. 1087 – 1092, DOI: 10.1109/TCE.2004.1362503.
2. Catalin Pancu, Adrian Baraboi, Maricel Adam, Adrian plesca,” GSM Based Solution for Monitoring and Diagnostic of
Electrical Equipment,” in Proc. of the 13th WSEAS International Conference on circuits, 2009, ISBN: 978-960-474-096-3.
3. Taha Landolsi, A. R. Al-Ali, Tarik Ozkul, and Mohammad A. Al-Rousan “Wireless Distributed Load-Shedding Management
System for Non-Emergency Cases”, International Journal of Electrical and Electronics Engineering 4:7 2010.
4. Ahmad ‘Athif, Mohd Faudzi, Koichi Suzumori “Programmable System on Chip Distributed Communication and Control
Approach for Human Adaptive Mechanical System”, Journal of Computer Science, Vol. 6, Issue 8, 2010, pp. 852-861, DOI:
10.3844/jcssp.
5. Yanbo Zhao, –Zhaohui Ye “A Low Cost GSM/GPRS Based Wireless Home Security System”, IEEE Transactions on
Consumer Electronics, Vol. 54, no. 2, May 2008, pp. 567-572.
6. Carlos F. García-Hernández, Pablo H. Ibargüengoytia-González, Joaquín arcía-Hernández, Jesús A. Pérez-Díaz, “Wireless
Sensor Networks and Applications: a Survey”, International Journal of Computer Science and Network Security, Vol. 7 No.3,
March 2007, pp. 264-273.
7. Hong-jiang He, Zhu-qiang Yue, Xiao-jie Wang. “Design and Realization of Wireless Sensor Network Gateway Based on
ZigBee and GPRS”, International Conference on Information and Computing Science, 2009, pp. 196-199.
8. Yu Cui-bo, Gou Xue-rong, LI Nan, Zhang Xiao-hua. “A study of mobile service monitoring system based on wireless sensor
network”, The Journal of China Universities of Posts and Telecommunications, September 2008, pp.103–106.
9. S.Prabhakar Karthikeyan, Jacob Raglend, Pallerlamudi Pratyusha, D.P Kothari “A New Methodology for Distribution System
Feeder Reconfiguration”, International Journal of Energy, Issue 1, Vol. 2, 2008, pp. 9-15. 30
10. Yu Chen, Yuli Yang “Cellular Based Machine to Machine Communication with Un-peer2peer Protocol Stack”, Vehicular
31. 11. Martsola, M. Kiravuo, T. Lindqvist, J.K.O. "Machine to machine communication in cellular networks", Mobile Technology,
2nd International Conference on Applications and Systems, Nov 2005.
12. Cristaldi, L. Faifer, M. Grande, F. Ottoboni, R. "An Improved M2M Platform for Multi-Sensors Agent Application", Sensors
for Industry Conference Feb 2005, pp. 79 – 83.
13. Quanli Wei, Xingshun Wang “The Design and Implementation of The Minimal M2M Terminal Based on The SIM4100
Wireless Module”, Third International Symposium on Information Processing, 2010, pp. 567 – 571, DOI:
10.1109/ISIP.2010.11.
14. Catalin pancu, adrian baraboi, maricel adam, adrian plesca “GSM Based Solution for Monitoring and Diagnostic of Electrical
Equipment”, Proceedings of the 13th WSEAS International Conference on CIRCUITS, 2009, pp. 58-63.
15. Trang Hoang, Alan Lelah, Fabrice Mathieux, Daniel Brissaud, Vincent Gimeno, "Environmental Evaluation of Machine-to-
Machine Services: The case of Glass Waste Collection ", 2nd CIRP IPS2 Conference, Linköping, Sweden, 2010.
16. Ch. Murthy , Susmita Kar, R. C. Jha, D. K. Mohanta, “Distribution Automation Using Wireless Communication for
Improving Reliability”, International Conference on Device and Communication, 2011, pp. 1-5.
17. Renjish Kaleelazhicathu, “Machine-to-Machine Applications over Mobile Networks”, Proceedings of the Research Seminar
on Telecommunications Business II , 2005, pp. 40-44.
18. Seil Jeon, Kyung-Won Park, Hee Wook Ryu, Younghan Kim, “A Design of M2M-based Intelligent OperatingSystem for
Effective Pollution Control Facilities”, International Conference on Information and Communication Technology
Convergence (ICTC), 2010, pp. 521-522.
19. Q. Jiang, D. Manivannan. "Routing Protocols for Sensor Networks,"Proc. 1st IEEE Consumer Comm. And Networking
Conference, 2004, pp. 93-98.
31
20. David Tomanek, “What is PSoC”, International Conference on Applied Electronics (AE), 2010, pp.1-4.
32. 21. George Lawton “Machine-to-Machine Technology Gears Up for Growth” IEEE Computer Society Magazine/Industrial
Trends/ September 2004.
22. Steve Whitehead, “Adopting Machine to Machine technology”, IEE Computing & Control Engineering, October/November
2004.
23. Researcher Project- ‘VERDIKT’ report, “Mobile-to-Mobile Communication Systems (M2M)”, Aug 2008.
24. CY8C29466 Datasheet, Cypress, 2007.
25. Béla Juhász, “Developing M2M Applications with MANGO”, Bachlor thesis report, 2009.
26. Matumba Dalubuhle Goodtime, “Development of a GSM-Based Monitoring System”, Project report, 2005.
27. “Machine-to-Machine: Let your machines talk.”, Nokia, White paper, 2004.
28. Klaus-Dieter Walter, “Implementing M2M applications via GPRS, EDGE and UMTS”, M2M Alliance White paper, 2009.
29. Krishnan V, Bhaswar Sanyal “M2M Technology: Challenges and Opportunities”, Tech Mahindra, White paper, 2010.
30. Pradeep Murthy, “Mobilizing The Machine”, Deloitte Research, 2003.
31. “SIM300 AT Commands Set”, Simcom Reference Technical Manual, 2007.
32. PSoC tuetorials. http://www.easypsoc.com (accessed Sep 2010).
33. GSM. http://www.wikipedia.com (accessed Aug 2010)
34. Substation-monitoring, http://www.amscreenm2m.com (accessed Jan 2011)
35. M2M portal. http://www.m2mcomm.com (accessed Jan 2011)
36. Machine to Machine communication. http://www.gi-de.com (accessed Jan 2011)
32
33. LIST OF PUBLICATIONS
Papers Communicated to:
Journal
1.Sharat Chandra and Avireni Srinivasulu, “PSOC based GSM Gateway Design for
Wireless Sensor Networks”, Communicated to Journal of Electrical Engineering,
Elektrotechnický časopis, Ilkovičova 3, 812 19 Bratislava, Slovakia.
Conference
1.Sharat Chandra, Susmita Kar, Avireni Srinivasulu and D.K.Mohanta “Distribution
System Automation based on GSM using Programmable System on Chip (PSoC)”,
Communicated to IET(UK) 2nd International Conference “SEISCON 2011”
(Sustainable Energy and Intelligent System Conference), Chennai, India.
33