International Journal of Electronics, Communication & Instrumentation Engineering Research and Development (IJECIERD) ISSN 2249-684X Vol. 2 Issue 4 Dec - 2012 37-42 Š TJPRC Pvt. Ltd.,
EMBEDDED DATA ACQUISITION SYSTEM USING M2M COMMUNICATION 1
PANSAMBAL B. H. & 2R. D. KOKATE
1 2
SRES college of engineering, Kopa Kopargaon.
Jawaharlal Nehru Engineering College Aurangabad
ABSTRACT M2M communication is introduced to reduce human interference, response time & improve accuracy of any system. Wireless GSM communication networks are becoming faster & reliable with each ne next generation. These characteristics of networks can be used to make industrial applications more flexible by providing remote accessibility. This system is designed & proposed for remote assistance for industrial embedded application through Wireless GSM network services like SMS. System will continuously monitor, maintain and lock different parameters of boiler like temperatures, liquid level and pressure .In case perceived value exceeds than set range, controlling action will be initiated and same is informed ormed to remote server as well as operator. The operator can monitor and update set point directly via SMS or remote server.
KEYWORDS : Smart DAS,M2M, GSM, SMS,
Figure 1. Role oof M2M Communication in Industrial Automation
INTRODUCTION Now a day’s many embedded mbedded Data Acquisition [DAS] systems are being used in industries. Majority among them are either stand alone or interacting with users through some standard communication interfaces like USB, Serial or Parallel communication, Controller Area Network(CAN Network(CAN)) bus protocol. But to assist these systems either operator has to be in proximity of few meters or system need to be interfaced with internet enabled PC/Server for extending the range of accessibility. Figure. 1 shows role of M2M communication in industrial industri automation application. This work focuses on particular problem of operator involvement and lack of centralized data logging, correlation and analysis functionality needed to improve decision making power remotely. The architecture uses software and hardware dware components already available and it does not required any improvement or modification to current GSM network, while the existing DAS systems can easily become smarter and flexible by enabling M2M Communication.[3]
PROBLEM STATEMENTS In processing plants ants the DAS systems have various input and output parameters to be observed, controlled and regulated. A main problem is to acquire and transmit such huge data from remote location through wired or wireless network in real time. Wireless networks using ra radio dio frequency is having wide coverage area but they get interrupted by obstacles like walls, building etc. such wireless systems are more complex. Also the cost of implementation is significantly high. The challenge is to provide cost effective, simple and always-on on wireless solution for communication.
38
Pansambal B. H. & R. D. Kokate
PROPOSED SOLUTIONS DAS systems used today are powered with the smart computational devices like microcontroller or microprocessors.Majority microcontrollers used in traditional DAS systems supports communication communication protocols like RS232 or serial communication, same communication interface can be extended and used for interfacing different type of MODEMs (MODulator DEModulator unit) like GSM modem, GPRS modem for M2M communication.
Figure 2: Smart Data Acquisition Acquisi System With M2M Communication
Wired network is not always a good solution, sometimes due to the cost of installing & maintaining wiring to a large number of devices or because the application is mobile. Also installation of a private radio network llike RFID, Bluetooth, IrDA and Zigbee is not justified. So cellular provides a unique combination of geographic availability, the ability to use as much or as little capacity as needed, low capital costs to gain access to the network, and high reliability. [1] Current cellular data connections are pure data pipes without any management capabilities. The transition from Circuit Switched connections like calls to Packet Switched like GPRS emphasizes the need for connection management,
Embedded Data Acquisition System Using M2M Communication
39
since SMS communication may be initiated by either end of the connection, but the GPRS system mandates that the connection is initiated by the end device in the network.[3] Even if GPRS provides higher data rate & “always-on” communication, but complexity involved in integrating TCP/IP stack for interfacing device with GPRS make it secondary choice for M2M communication. In recent years, SMS has become an increasingly important mechanism for M2M communication, with the ubiquity of GSM and the relatively low cost of SMS being cited as advantages. Concerns have been raised over the reliability of SMS as an M2M channel, however the rise of direct Signaling System 7 (SS7) connected SMS gateways, which can offer increased reliability and the ability to confirm delivery, have allayed many of these fears. Initialization of communication is comparatively easier in SMS than a call or DTMF as overhead like number busy, network busy should not be consider by remote system.[2]
PROCESS PARAMETERS ACQUISITION AND CONTROL In this system the Pressure, current water level coal level, temperature of water and Air Pressure is sensed by individual sensor and sensor parameters are amplified and digitized by signal conditioner and ADC. Figure 2. Shows smart data acquisition system with M2M communication. All the parameters are acquired by microcontroller at regular intervals .It will take the corrective action like pressure control or flow control. If any hazardous situation occurs the controller will activate buzzer, send message of failure to operator through SMS and shut off the entire system. Along with control the microcontroller will collect this data and it will stores the Data at own memory. Same will be averaged over the duration of 5 minute to save controller’s internal memory. Also these parameter’s values are send to remote operator through GSM module in the form SMS after fixed no. of iterations of acquisition. On arrival of new message, micro controller will check the authorization of sender. If the message is not from trusted source, it will be discarded and no action will be taken, else the message content will be cross checked with standard input values. If it is ‘S’ then the parameters are set as per the new parameters and ‘ok’ message is send back, otherwise if message is ‘P’ then the current
OBSERVATION AT commands are used to send request to GSM module and to receive back response from module. FOLLOWING PARAMETERS ARE SEND TO REMOTE ASSISTANT THROUGH GSM : Temp Set Val-150, Temp obs val-174, Upper level-1, Lower level-1, Heater status-0, I/P Solenoid- 0. O/P Solenoid-1 AND TO CHANGE TEMPERATURE SET NEW VALUE FOLLOWING MESSAGE HAS TO SEND: :SET 100 THIS WILL SET NEW TEMPERATURE VALUE 100.
40
Pansambal B. H. & R. D. Kokate
Table 1 Actual Observations
Parameter Temperature(in celsius) Level Upper Level lower Input Solenoid Status Output Solenoid status Heater Status
Observation 1 Temp Set30 Actual Observed value value Actual 25 value-25 0 0 1 1 1 1
Observation 2 Temp Set 30 Actual Observed value value Actual 30 value-30 1 1 1 1 0 0
Observation 3 Temp Set 50 Actual Observed value value Actual 50 value-50 1 1 1 1 0 0
0
0
1
1
1
1
1
1
0
0
0
0
Above results were observed while M2M communication is going on.
ALGORITHM TIMER INTERRUPT : START
0 DEC COUNT OUTER
Collect current parameters, display it, activate relay & store it in memory.
!=0 Reload outer count
DEC COUNT INNER !=0 0
Send all collected parameters, reset pointer
reload counts
END
41
Embedded Data Acquisition System Using M2M Communication
MAIN ROUTINE :-
START A
INITIALISE START POINT & POINTS
SET TAKE CURRENT PARAMETER VALUES & THEN SEND
B
INITINALISE LCD DELETE THE MESSAGE
INITIALISE SERIAL COMMUNICATION C
INITIALISE GSM MODULE C WAIT TILL ARRIVAL OF NEW MESSAGE
NO AUTHENTICATION
B
YES STORE IT IN MEMEORY
IF ‘S’ READ 1ST CHARACTER
CHANGE SET POINT IN MEMORY & SEND OK MESSAGE
IF’P’ A
B
42
Pansambal B. H. & R. D. Kokate
CONCLUSIONS In this paper, we have presented embedded intelligent DAS system for operator remote assistance where M2M communication has been implemented. The system proposed also support real time parameter transmission over long distance, even at low cost. Also proposed system does not need any modification in existing GSM network. The current DAS uses Internate system for communication which get infected using various attacks. Also such systems has to make changes as per network, it requires separate network. While using GSM above limitations get overcomed.
REFERENCES 1.
“M2M Communication for Cellular Networks” by By David Crowe
2.
“Wireless M2M system Architecture for DAS and Control” by Elmira Bachvarova .
3.
“Application of M2M wireless communication” by Sallinen M.
4.
“M2M communication study report”, IEEE 802.16 (ppc-10/0002r7),2010
5.
Muhammas Mazidi, Janice Mazidi and Rolin McKinlay, “The 8051 Microcontroller and Embedded Systems using Assembly and C”, Pearson Education, 2nd edition.
6.
Mazidi, Rolin McKinlay and Danny Causey, ‘PIC Microcontroller and Embedded Systems using Assembly and C for PIC18’, Pearson ducation