Professional Documents
Culture Documents
Abstract- In the present IT age, we are in need of fully automated able to control the devices remotely. Embedded Web based
industrial system. To design of Data Acquisition System (DAS) acquisition and control system can adapt to the strict
and its control is a challenging part of any measurement, requirements of the data acquisition system, such as the
automation and control system applications. Advancement in function, reliability, cost, size, power consumption, and so
technology is very well reflected and supported by changes in
measurement and control instrumentation. To move to high-
on. In this paper, a new kind of remote I/O distributed data
speed serial from Parallel bus architectures has become acquisition system based on embedded Web server has been
prevalent and among these Ethernet is the most preferred investigated and developed, which can measure all kinds of
switched Serial bus, which is forward-looking and backward- electrical and thermal parameters such as voltage, current,
compatible. Great stride have been made in promoting Ethernet thermocouple, RTD, and so on.[4] The measured data can
use for industrial networks and factory automation. The Web be displayed through web pages from the server, and at the
based distributed measurement and control is slowly replacing same time can be acquired at different geographical
parallel architectures due to its non-crate architecture which locations through RJ-45 Ethernet network using python
reduces complexities of cooling, maintenance etc. for slow speed based MMI to remote DAS or DCS monitoring system by
field processing. A new kind of expandable, distributed large
I/O data acquisition system based on low cost microcontroller
using HTTP protocol. The system has the dual redundant
based electronic web server[1] boards has been investigated and
network and global communication function, which can
developed in this paper, whose hardware boards use 8-bit RISC ensure the disturb rejection capability and reliability of the
processor with Ethernet controller, and software platform use communication network. A central SBC can act as a central
AVR-GCC for firmware and Python for OS independent man CPU to communicate between web servers.
machine interface. This system can measure all kinds of
electrical and thermal parameters such as voltage, current,
thermocouple, RTD, and so on. The measured data can be II. STRUCTURE DESIGN OF THE WHOLE SYSTEM
displayed on web pages at different geographical locations, and
at the same time can be transmitted through RJ-45 Ethernet
The whole structure chart of the remote distributed data
network to remote DAS or DCS monitoring system by using
acquisition and monitoring system based on embedded web
HTTP protocol. A central embedded single board computer
server platform is shown in Figure 1. In the scheme of the
(SBC) can act as a central CPU to communicate between
system, the remote I/O data acquisition modules are
web servers automatically.
developed as embedded web servers having static IP with
port 80, which can be widely used to diversified industries
Keywords- Embedded Web server; remote I/O data; data such as electric power, petroleum, chemical, metallurgy,
acquisition and monitoring system (DAS or DCS), Real Time steel, transportation and so on. This system is mainly used
Processing, Data-acquisition, TCP/IP, AVR-GCC for the concentrative acquisition and conversion of a variety
of electrical and thermal signals such as voltage, current,
I. INTRODUCTION thermal resistance, thermocouple in the production process.
The hardware boards which are built around microchip
Electrical systems are necessary in each kind of building Ethernet controller (ENC28J60), Tx/Rx, MAC and PHY in
such as research laboratories, homes, factories, hospitals and one small chip, and ATmega-328P processors through
so on. In many cases electrical systems manage critical Ethernet transformer, Magjack; RJ45 with integrated
applications, like freezer temperature, incubator internal magnetics and LEDs or Ethernet network communication
temperature and so on [3]. All these systems contain devices interface by using TCP/IP protocol. ENC28J60 is a small
that are sensitive to voltage variations, current deviations chip with 28 pins only and has a SPI interface which is easy
and to all the power quality and quantities [1] [2]. This to use from any microcontroller. The data in the embedded
system can measure and store any kind of electrical and controller platform is transmitted to the remote client
non-electrical signals in embedded web server. And it can centers by Ethernet after further analyzed and processed. At
78
International Journal of Instrumentation, Control & Automation (IJICA), Volume 1, Issue 1, 2011
Distributed data acquisition and control system based on low cost Embedded Web servers
the same time, these data can be stored in the real time of and RJ-45 communication. Hence the data has been stored
the server. The system has the dual redundant network and and controlled by some other PCs or network via Ethernet.
global communication function, which can ensure the
disturb rejection capability and reliability of the PC
communication network. The hardware platform of the RISC Web
Remote distributed I/O data acquisition system based on I/O Processor CPU
device
embedded web server, a smart small TCP/IP stack by RJ-45
Guido Socher [1], uses 8-bit RISC processor with Ethernet Ethernet connecto
controller. The MMI software platform uses the Python controller PC
which runs HTTP Client GET-method on Ubuntu operating Clie
Router nt 1
system.
The system is based on utilizing Embedded Web Servers Embedded web server
(EWS) technology to design a Web-based Distributed Data PC
Clie
Acquisition System (DDAS).
nt 2
Digital Digital Analog Digital Multipl Figure 2. Structure of the distributed I/O data acquisition system based
I/P O/P I/P I/P e on Embedded Web server.
10.0.0. 10.0.0. I/O…
1 2 10.0.0. 10.0.0.. …
3 O/P…..
IV. SOFTWARE DESIGN AND REALIZATION OF THE SYSTEM
79
International Journal of Instrumentation, Control & Automation (IJICA), Volume 1, Issue 1, 2011
Distributed data acquisition and control system based on low cost Embedded Web servers
data2 = res2.read() time and they can work also without any power supply
(PoE) [1]. The prototype can be easily extended to more
print data2 devices or machines. The system is demonstrated to be
conn3 = httplib.HTTPConnection("10.0.0.3") suitable for different embedded applications by attaching
several real-time modules through appropriate interfaces.
conn3.request("HEAD","/index.html") Regarding the security issue, the prototype takes into
res3 = conn.getresponse() account only a cipher authentication. So, adding security to
this system is currently not in the scope of this work,
data3 = res3.read() presently it is for network which is private and standalone.
print data3 So, using the screenshots coming from the developed
application we will show how it is possible to use the
proposed data acquisition system for a controlled channel.
A test GUI designed to test such a set-up in Python is For that we have to reach the embedded web server by
given below: typing its address into the web browser (for example we
tested the prototype in a LAN, where the server has the
10.0.0.40 address) and each web clients differ by the IP
addresses. This produces the login form of Fig. 4. During
the programming stage we set the credentials of the
authorized users.
ACKNOWLEDGMENT
REFERENCES
[1] http://tuxgraphics.org/electronics/
[2] http://www.fz-juelich.de/portal/homeJ
[3] M.Babita Jain, Amit Jain, M.B.Srinivas, 2008”A Web based expert
systems shell for fault diagnosis and control of power systems
Figure 7. Snapshot of Monitoring page, for PC client 4 equipment “, IEEE, pp1310-1313.
[4] Tao Lin ,Hai Zhao ,Jiyong Wang ,Guangjie Han and Jindong
Wang ,”An Embedded Web Server for Equipment ”,School of
Information Science & Engineering, Northeastern University,
VI. CONCLUSIONS Shenyang, Liaoning, China.
[5] Clyde C. W. Robson, Samuel Silverstein, and Christian Bohm
(2008) An Operation-Server Based Data Acquisition System
A distributed and data acquisition and control system based Architecture IEEE Transaction on Nuclear Science, Vol. 55, No.1.
on embedded Web server is designed in this paper. The [6] http://www.commandprompt.com/community/pyqt/
system adopts Browser/Server mode and control the remote
81
International Journal of Instrumentation, Control & Automation (IJICA), Volume 1, Issue 1, 2011