34
DEPARTMENT OF ELECTRONICS & COMM. ENGG. BIRLA INSTITUTE OF TECHNOLOGY MESRA-835215, RANCHI 2011 GSM Based M2M System Design & Implementation Using PSoC Under The Guidance of Dr. Avireni Srinivasulu Sharat Chandra ME/ECE/1010/09 1

Gsm based m2 m system design & implementation using p soc

Embed Size (px)

Citation preview

Page 1: Gsm based m2 m system design & implementation using p soc

DEPARTMENT OF ELECTRONICS & COMM. ENGG.BIRLA INSTITUTE OF TECHNOLOGY

MESRA-835215, RANCHI2011

GSM Based M2M System Design & Implementation Using PSoC

Under The Guidance ofDr. Avireni Srinivasulu

Sharat Chandra

ME/ECE/1010/09

1

Page 2: Gsm based m2 m system design & implementation using p soc

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

Page 3: Gsm based m2 m system design & implementation using p soc

WHAT IS M2M?

3

Page 4: Gsm based m2 m system design & implementation using p soc

WHY GSM BASED M2M?

CHARACTERISTICS M2M PERSPECTIVE

Carrier Frequency 900 MHz, 1.8 GHz, and others the lower, the better

Power Management 8 power classes; min 20 mW =

13 dBm (2dB power control steps)

can be easily handled

Modulation GMSKconstant envelope good for M2M PA

Complexity fairly low as of now Generally, good candidate

SMS

160 7-bit

best effort over control channel data backup, configuration,

# of SMS bounded (100/Day)

characters useful for device wake-up, remote diagnosis, etc.

DATA circuit switched data, 9.6Kbps often not sufficient4

Page 5: Gsm based m2 m system design & implementation using p soc

APPLICATIONS

5

Page 6: Gsm based m2 m system design & implementation using p soc

TELEMETRY CONSUMER APPLICATIONS

INDUSTRIALAUTOMATION AND

MONITORING

TELEMEDICINE AND

HEALTHCARE

SECURITY ANDSURVEILLANCE

BUSINESS APPLICATIONS

6

Page 7: Gsm based m2 m system design & implementation using p soc

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

Page 8: Gsm based m2 m system design & implementation using p soc

PROPOSED PLATFORM

M2M Engine

GSM Module

M2M Engine

GSM Module

SIM CardSIM Card

PSoCPSoC

MachineMachine

SensorsSensors ActuatorActuator

M2M Controller

8

Page 9: Gsm based m2 m system design & implementation using p soc

DESIGN PHASES

9

Page 10: Gsm based m2 m system design & implementation using p soc

NETWORK INTERFACING

Design Hardware 10

Page 11: Gsm based m2 m system design & implementation using p soc

PSoC CONFIGURATION FOR NETWORK INTERFACING

11

Page 12: Gsm based m2 m system design & implementation using p soc

Software Design

Sleep

1. Generate Control Signals for the machine2. Send command execution report to the user

Start

Initialization of GSM modem

Monitor the system status and send message to control mobile

Send message for invalid command

Decode

Delete the message

Check and Read the incoming message

Compare with valid commands

End

AT+CREG?ATEOAT+CMGF=1

AT+CMGS

Not from authorized user

From authorized user

Invalid command

AT+CMGD=1

Valid command

No

Yes

12

Page 13: Gsm based m2 m system design & implementation using p soc

IMPLEMENTED APPLICATIONS

13

Page 14: Gsm based m2 m system design & implementation using p soc

REMOTE CIRCUIT BREAKER

Power SupplyPower Supply

PSoCPSoC

Circuit breakers and switches at

plants

Circuit breakers and switches at

plants

GSM ModuleGSM Module

UARTUART

Power switch driver circuit & Status Signals

Power switch driver circuit & Status Signals

Far end control mobile

GSM NetworkGSM Network

Remote Circuit Breaker Monitoring & Control Using GSM Based M2M System

14

Page 15: Gsm based m2 m system design & implementation using p soc

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

GSM ModemPSoC

Power Supply

Sensor

Sensor

Sensor

Sensor

Sensor

Sensor

GSM Network

M2M Module as a Sensor Mote in WSN

15

Page 16: Gsm based m2 m system design & implementation using p soc

Acknowledgment

Boot

Configure the Modem for Network Connection

Download data from Sensor nodes

Receive SMS from End Control of WSN

Data formatting and sending via SMS to End control

Download Commands

Execution of Command received

Sleep

Software Flow Chart

16

Page 17: Gsm based m2 m system design & implementation using p soc

COMPACT FOOD PROCESSING MACHINE

M2M Module as WSN Gateway

Temperature Sensors (RTD PT100)

Speed Sensor

Current Sense

Resistors

17

Page 18: Gsm based m2 m system design & implementation using p soc

GRID AUTOMATION

GSM Modem (SIM300)

PSoC(CY8C29466)

GSM Network

Far end user

User End DCC

Transformer

Power Distribution

Network

M2M Module

M2M based Architecture of DAS18

Page 19: Gsm based m2 m system design & implementation using p soc

Command Signals to the Circuit Breakers and other

control equipment

Load System Parameters

Configure the GSM Modem for cellular connectivity

Updates Lines Status

Generates action command signal based on Decision

making software

Notify as SMS at far end control mobile number

Receive SMS Command from authorised control

number

Transmit status and Acknowledge as SMS

Process and format the data to extract the useful information

GSM Network

Start

Software Flow for the Proposed Design

19

Page 20: Gsm based m2 m system design & implementation using p soc

DATA PACKET FORMAT

Machine ID

GC Voltage GC Current GC Power Factor

GC %Loss

GC Voltage GC Current GC Power Factor

GC %Loss

GC Voltage GC Current GC Power Factor

GC %Loss

Received Data Format

Control Commands format

COMMAND NAME DESCRIPTION

STATUS Check the status of the machine

SETNAME <OLDNAME> <NEWNAME> Change the machine name CNTLPHONE <DEVICE NAME> <NEW NUMBER> Transfer the control to another number

20

Page 21: Gsm based m2 m system design & implementation using p soc

PROPOSED DAS ARCHITECTURE AT BIT MESRA, RANCHI

GSM M2M SystemGSM M2M System

Distributed Monitoring Centre

Distributed Monitoring Centre

GSM M2M SystemGSM M2M System

GSM M2M SystemGSM M2M System

GSM M2M SystemGSM M2M System

21

Page 22: Gsm based m2 m system design & implementation using p soc

SCALING FACTORS FOR PROTOTYPE

SYSTEM

ParameterOriginal System

Value (max.)

Prototype System

Value (max.)Scaling Factor

Voltage 230V 15V 15.33

Current 670A 50mA 13.4e3

EXPERIMENTAL SET UP FOR PROTOTYPE SYSTEM

22

Page 23: Gsm based m2 m system design & implementation using p soc

RESULTS

23

Page 24: Gsm based m2 m system design & implementation using p soc

REMOTE CIRCUIT BREAKERS

TEST

CNTLPHONE CB1 8969194926

SETNAME NONAME RCB01

BREAKCKT RCB01

MAEKCKT RCB01

MAKE CIRCUIT RCB01

When Circuit got connected (M2M

module Automatically replied )

Command SentMessage Received from the PSoC M2M Module

24

Page 25: Gsm based m2 m system design & implementation using p soc

TRANSMISSION DELAY IN MEASUREMENTS

S.No.Time of

MeasurmentMassage

Received TimeTransmission 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

Page 26: Gsm based m2 m system design & implementation using p soc

DATA MONITORING CENTER

26

Page 27: Gsm based m2 m system design & implementation using p soc

DATA MONITORING CENTER

27

Page 28: Gsm based m2 m system design & implementation using p soc

CONCLUSIONSA great solution in the field of M2M in terms of

Cost Complexity Security Flexibility

28

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

Page 29: Gsm based m2 m system design & implementation using p soc

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

Page 30: Gsm based m2 m system design & implementation using p soc

REFERENCES1. 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.

10. Yu Chen, Yuli Yang “Cellular Based Machine to Machine Communication with Un-peer2peer Protocol Stack”, Vehicular

Technology Conference Fall (VTC 2009-Fall), IEEE 2009, pp. 1-5, DOI: 10.1109/VETECF.2009.5378945.

30

Page 31: Gsm based m2 m system design & implementation using p soc

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.

20. David Tomanek, “What is PSoC”, International Conference on Applied Electronics (AE), 2010, pp.1-4.31

Page 32: Gsm based m2 m system design & implementation using p soc

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

Page 33: Gsm based m2 m system design & implementation using p soc

LIST OF PUBLICATIONS

Papers Communicated to:

Journal1.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

Page 34: Gsm based m2 m system design & implementation using p soc

THANK YOU

QUERIES ???

34