Академический Документы
Профессиональный Документы
Культура Документы
Abstract—Data acquisition plays an important role in the field world. In the work presented here, a technique has been
of modern industry control. In many cases, remote data should developed to calculate voltage, current or temperature from a
be transferred to monitor center which is far from the remote area automatically using the existing GSM networks
manufacturing field. Traditional data acquisition system by for cellular phones. This technique can be applied for
wired means could not meet the needs. This paper presents a humidity, wind flow, etc as well. The sensors send its sensed
remote voltage, current and temperature measurement data values like voltage, current, temperature, etc. by SMS to a
acquisition and analyzing system based on the SMS/GPRS central server. The central server then stores the information
technology, so the wireless real-time transmission of the remote in database for analysis.
monitoring data was achieved. The result of the experiment The SMS based data collection can be done very quickly
shows that system works well for data acquisition and wireless and efficiently. Data can be collected after any desired time
transferring based on GPRS rapidly which has a reference
interval such as hourly, daily, weekly, or monthly basis. By
value for remote diagnosis, remote monitoring and so on. As a
applying complex encryption algorithms on the data SMS,
low cost, good expansibility and high performance data
acquisition system, this type data acquisition system can also data security can be ensured. Though, the development cost
be applied in the fields of hydrological processes, environment of the SMS based remote data acquisition system will be
and air pollution monitoring and control. higher than conventional system, any industry or company
should implement this system because it will eliminate the
Keywords-Remote unit; Central receiving unit, SMS, GPRS; possibility if corruption done by the data collector.
Sensor; Microcontroller.
II. SYSTEM DESIGN AND ARCHITECTURE
I. INTRODUCTION The proposed SMS based remote data acquisition system
composed of remote unit and a central receiving unit as
The conventional data acquisition system for voltage, shown in fig1.The remote unit is installed from where the
current, or temperature is that an assigned person visits process is actually monitored. It gathers required data about
selected area and calculate the values of different sensors
the process and exchange information with the CRU by
manually. Then the collected values are used for further
calculation. This manual process can become very time SMS using GSM networks for cellular phones. The CRU is
consuming and tiresome. It can cause human error and can heart of the system and is centrally located under the
open an opportunity for corruption done by the human data operator's control.
collector. Thus the conventional system can become III. REMOTE UNIT
inaccurate and inefficient [7].
The recent advances in the field of information The remote unit mainly consists of data acquisition unit, a
technology have made the exchange of information fast, LCD display, RS232 serial port, a microcontroller unit and a
secured and accurate. The digital revolution caused the rapid GSM modem
drop of digital devices such as computers and A. Data Acquisition Unit
telecommunication devices. Circumstances that we find
This section consists of
ourselves today in the field of microcontrollers[2] had their
beginnings in the development of technology of integrated Temperature sensing circuit.
circuits. These integrated circuits contained both processor Current sensing circuit.
and peripherals. That is how the first chip containing a Voltage sensing Circuit.
microcomputer, or what would later be known as a For temperature sensing circuit we use LM35 and a non-
microcontroller came about. Nowadays microcontroller is inverting amplifier. The LM35[4] are precision integrated-
widely used in almost all electronic devices such as DVD circuit temperature sensors whose output is linearly
drive, washing machine, mobile station etc. In the field of proportional to the Celsius temperature. The current sensing
hardware controlling there is no better alternative than circuit consists a sensing part and amplifier. For voltage
microcontroller. sensing circuit we use simply resistors and capacitor.
Communication networks like the internet, GSM
networks, etc. are available almost all the countries of the
.
Fig1: Block diagram of SMS based remote data acquisition system.
routines for calculation, display, data SMS frame creation,
B . LCD DISPLAY etc. Application Layer calls different routines of the Driver
The display is a standard LM020a[1] which displays 2 Layer to access hardware peripherals.
lines of 16 characters (16×2). Each character is of 5×10 D. RS 232 Serial Port
pixels. The display receives ASCII codes for each character
at the data inputs (D0–D7). The data is presented to the RS232 is the most known serial port used to interface and
display inputs by the MCU, and latched in by the pulsation transmit the desired data in communication. Though the serial
of the E (Enable) input. The RW (Read/Write) line can be port is hard enough to program than the parallel port, this is
tied low (write mode), as the LCD is receiving data only. the most effective method in which the data transmission
The RS (Register Select) input allows commands to be sent requires less wire (only three links – transmit, receive and
to the display. RS = 0 selects command mode, RS = 1 data common ground) that yields the low system cost. The two
mode. The display itself contains a microcontroller; the pins TxD & RxD are used for transmit and receive data
standard chip in this type of display is the Hitachi HD44780. between the communication devices. There are some other
It must be initialized according to the data and display lines in this port which are set as default[1].
options required.
E. Modem
C. Control Unit
A GSM modem is interfaced with the micro-controller's
This is the main part of the remote unit. It controls each serial (RS232) port for sending and receiving SMS. Using
individual section of the remote unit. It is also called the FBUS protocol, the microcontroller sends different
microcontroller unit. The PIC16F876A[2] is used here. commands to the modem and receives data SMS frames
Because it belongs to the mid range family of the PICmicro from the GSM modem[6] The serial communication with the
devices. It is one of the most popular microcontrollers in the modem is full duplex 8 bits, no parity, 1 stop bit and at
world for its high performance, rich instruction set (MCS- 115200 bauds. We have used Grameen[3] Subscriber
51®), and low cost. It has two 8 bit ports, one 6 bit port total Identification Module (SIM) in the modem. The AT
22 I/O lines[5]. Different peripherals of the system are commands are the basic commands that communicate with
connected with its ports. It has 14.3KB of program memory the GSM mobile phone. Table1 indicates some common AT
and 256 byte of EEPROM. Full 8 Bit functionality on PORT commands necessary for SMS transmission and reception.
B-C and 6 bit functionally on PORTA. Port B is connected Detailed format of AT commands are available in ENFORA
to the LCD display. Port C is connected to the RS232 board. GSM modem’ guidelines.
For very fast operation (up to 20MHz) here we use a 4MHz Command Description
Crystal. It is possible to use Zero Insertion Force (ZIF) AT Attention Command
sockets with the control unit. ZIF sockets are useful where AT+CPMS Preferred Message Storage
the chips will be removed from the control unit many times. AT+CNMI New Message Indication to TE
The firmware inside the microcontroller’s program memory
AT+CMGR Read Message
is built using two layers – the Driver Layer and the
AT+CMGS Send Message
Application Layer. The Driver Layer contains protocols for
accessing different hardware peripherals such as LCD, Data AT+CMSS Send From Storage
acquisition unit, RS232 serial port, GSM modem, etc. On the AT+CMGW Write Message To Memory
top of the Driver Layer, the Application Layer contains AT+CMGD Delete Message
Fig: Schematic diagram of complete remote unit