SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Downloaden Sie, um offline zu lesen
S.A.N.Sandeep, P.Malyadri / International Journal of Engineering Research and Applications
                       (IJERA) ISSN: 2248-9622 www.ijera.com
                           Vol. 2, Issue 4, July-August 2012, pp.
      Embedded Web Server Based on DAC System Using ARM
              S.A.N.Sandeep                                                P.Malyadri
                 M.Tech Student                                              Assoc Prof
                 PKSK College                                               PKSK College
                   ECE Dept                                                  ECE Dept

Abstract:
           Now a days we are using many                 in a central server and has all the applications. A
Networked embedded systems for monitoring               person that needs to access any data must first
and control the home or industrial devices.With         access the server. An indirect access to the data-
the scalable networking solution The server             acquisition unit makes the system unattractive for
enables     Web     access     to    distributed        real-time control applications, where direct
measurement/control systems and provides                interaction with the system may be required. The
optimization     for educational laboratories,          need to maintain an additional server will also
instrumentation,    Industrial     and     home         increase the setup costs and the costs to maintain the
automation. In this paper , we present the              acquisition systems, such as regular maintenance
principles and to design a system for Internet-         costs, system updates, etc. Therefore, the central
based data-acquisition system and control by            server has to be eliminated for a real time system.
using Advanced RISC Machine i.e ARM                     The closest to this idea is published in [5]. In this
processor and in-build web server application           system, a reliable bidirectional Point-to-Point
with General Packet Radio Service (GPRS)                Protocol (PPP) link for real-time control and
technology. The main core of the system is an           surveillance via a GSM network is formed.
embedded hardware running on a NUT OS, a                However, there is still no effort to minimize the
industrial grade RTOS for hard time                     operational costs. In addition, this system is based
applications.     The      embedded       device        on an industrial PC, thus making it an expensive
communicates through General Packet Radio               solution. Interaction with the embedded unit is also
Service (GPRS),and also help us to communicate          an important issue. In [6], an embedded PC card
with the GSM as most of us were communicating           placed on the Internet allows limited interaction
with GSM which makes it accessible from                 through commands sent through Transmission
anywhere in the world through a web server              Control Protocol/IP (TCP/IP) and User Datagram
built into the embedded device.The proposed             Protocol. In this paper, we propose a GPRS based
system eliminates the need for server software          portable low-cost data-acquisition system, which
and maintenance. The proposed system                    can establish a reliable bidirectional connection for
minimizes the operational costs while operating         data acquisition. The proposed system uniquely
with a large amount of data.                            reduces the Costs occurring from frequently
Key Terms: GPRS, GSM, Real Time Processing,             requested data and eliminates the need for a well-
Dataacquisition.                                        established server. The system uses a dummy server
                                                        for static information, thus optimizing the transfer of
I. INTRODUCTION                                         large data. The user can directly log in and interact
          DATA-ACQUISITION systems are in               with the embedded device in real time without the
great demand in industry and consumer applications.     need to maintain an additional server. The system is
In some applications, human beings have been            modularly built, allowing different modules to be
replaced by unmanned devices that will acquire data     added. In addition, it is flexible to accommodate a
and relay the data back to the base [1]. There are      wide range of measurement devices with
data-acquisition and control devices that will be a     appropriate interfaces.
substitute for a supervisor in a multisite job
operation. A single person can monitor and even
interact with the ongoing work from a single base
station. An acquisition unit designed to collect data
in their simplest form is detailed in [2], which is
based on Linux [3], which is a popular choice for
embedded PC systems. A similar system in [4]
provides data acquisition with no concern for remote
access. In these applications, data are compiled in a
central server and are then served to the clients via
the Internet. The client framework is


                                                        In Section II, we will introduce the details of the

                                                                                                  1|Page
S.A.N.Sandeep, P.Malyadri / International Journal of Engineering Research and Applications
                       (IJERA) ISSN: 2248-9622 www.ijera.com
                           Vol. 2, Issue 4, July-August 2012, pp.
aforementioned system. In Section III will describe
the Testing of Embedded Web Server. In Section IV
data acquisition sensors are connected to the
embedded system to demonstrate its operation and
the results are presented. Section V presents the
conclusion.

II. INTERACTIVE DATA-
    ACQUISITION SYSTEM
           Interactive     Internet-based    systems
provide a way to monitor and adjust using standard
web browsers and a PC. The target systems can be
monitored and controlled independent from the
location and the platform since standard web
browsers can be used on the client side. A typical
data-acquisition system is connected to web clients
via the Internet, as shown in Fig. 1. The data
acquisition system needs to relay the acquired
information to the requesting clients. Digitally         A. Establishing a Direct Communication Link
acquired data are stored in web server’s data base.           between the Client and the Embedded
Whenever the client wants to access data, it sends            Device:
the request to server; this request is taken by the                The use of GPRS is well known to
router, which is connected to the internet. The web      everybody and almost all service providers on GSM
processes the request made and finally connects to       are giving this service. GSM and GPRS [8] are
the desired web server, access the requested data        developed for cellular mobile communication.
and sends the data to the client.                        Hence it is very much easy to be getting connected
                                                         to the Internet world. Once a GPRS connection has
Embedded Web Server Architecture:                        been established queried data can be relayed to the
          An embedded web server is an ARM               client via a central server[8]. Using a central server
processor that contains an internet software suite as    to relay the acquired data has some disadvantages.
well as application code for monitoring and              First, a central server needs a client interface
controlling machines/systems. Embedded web               framework. An additional data transfer corresponds
servers are integral part of an embedded network         to time delays before the data are made available to
[7]. Fig 2. Shows the proposed concept of DACS           the client. In addition, since the server acts as a
with embedded web server on a single chip module.        relay, no direct bidirectional communication
This is a single hardware it contains RTOS portable      between the client and the embedded system can be
ARM processor. ARM processor is the responsible          established. This makes the system unsuitable for
part for measuring signals and controlling the           real-time control applications.
devices remotely. Measurements can be done by                      The basic idea behind real-time processing
DACS mode and the data are shared with clients           is that the embedded system is expected to respond
through embedded web server by embedded web              to the queries in time. Real time should be fast
server mode. The real time operating system              enough in the context in which the system is
manages all the tasks such as measuring signals,         operating and reliable as well. Real-time system
conversion of signals, data base up-dation, sending      correctness depends not only on the correctness of
HTMLpagesandconnecting/communicating             with    the logical result of the computation but also on the
new users etc.,                                          result delivery time [9]. This method also increases
          The RTOS manages all the required tasks        the data transfer cost as the number of clients
in parallel and in small amounts of time. Web based      increases due to the access amount of data transfers
management user interfaces using embedded web            via GPRS. Direct communication, on the other
server have many advantages: ubiquity, user-             hand, enables access to only relevant information in
friendly, low-development cost and high                  the embedded system by pre processing the data.
maintainability. Embedded web server has different       The embedded system should also handle the web
requirements, such as low resource usage, high           services. This eliminates the need for a central
reliability, security, portability and controllability   server and reduces the amount of data sent from the
for which general web server technologies are            remote unit since only the queried data will be
unsuitable.                                              transferred. In the proposed system, the GPRS
                                                         architecture and protocols are compliant with [8].
                                                         This system is configured to be virtually online at all
                                                         times in a GSM network. An admin script is


                                                                                                   2|Page
S.A.N.Sandeep, P.Malyadri / International Journal of Engineering Research and Applications
                       (IJERA) ISSN: 2248-9622 www.ijera.com
                           Vol. 2, Issue 4, July-August 2012, pp.
executed after the boot of the operating system,                   This process is illustrated in Fig. 4. The
initiating the GPRS connection software module. A         DHCP approach is more flexible and works better
PPP connection is established by a GPRS modem             compared with the static approach as a cost-
that works at 900/1800/1900 MHz operating                 effective solution, despite the necessity for a script
frequencies. A PPP daemon (PPPD) is used to               running on the embedded server, one-time
manage the PPP network connections between the            broadcasting its IP to the FTP server. The hypertext
client and the embedded module.                           file placed on the FTP server by the embedded
          The PPPD is responsible for setting up the      system and queried by the client is shown in Fig. 5.
GPRS parameters, such as the connection speed and         With this mechanism in place, the embedded system
compression. To directly access an embedded               updates it IP information on the FTP server upon
system, the IP address of the embedded device             every reboot, which causes an IP refresh from the
should be made available to the client side. There        GSM service- provider
are two choices available. A static (hard-coded) IP
could be used, or the remote device should initiate a      B. Data Management in the System
connection by reporting its IP. This choice is quite                The Internet server is used to decrease the
straightforward and simple. Although the usage cost       management costs by sending all the pictures (logo,
remains unchanged, it requires a static IP setup by       picture, bar graphics, etc.) to the client through a
the service provider and involves monthly recurring       server on the Internet. Text data such as coordinates,
costs. The static IP is preferred for its simplicity in   temperature, and altitude are served from the
designing a system; however, its overhead may be          embedded system. If bulky data are going to be sent,
impractical. The other choice is to use a dynamic IP      the embedded module is set to send the image only
assigned through a Dynamic Host Configuration             once via GPRS and placed on an FTP server. This
Protocol (DHCP) server of the GSM provider for            approach eliminates the transfer of large data
every connection established. However, this IP            through GPRS more than once, thus reducing the
needs to be known by any client requesting an             transfer costs, particularly if more than one client is
access to the embedded server. One solution is to         involved or multiple requests to the same data are
broadcast this IP to a dummy FTP server. The FTP          needed, as shown in Fig. 6.
server is a dummy server and does not require
regular software updates or maintenance. The folder
structure of the FTP server is shown in Fig. 3. A
script on the embedded device is configured to
update its IP address on the FTP server in Hypertext
Meta-Language as an index.htm file, under a folder
uniquely named by its hostname. This script simply
parses the current IP for that embedded device and
sends an html file with the IP information of the
embedded device to the FTP server.
          Once this file is in place, a direct
connection can be established with the desired
embedded device by a simple query. An example
embedded system, named DAS (Fig.3), can be
queried from the FTP server by a simple command.
The web browser processes the (index.htm) file in
the specified folder as default; therefore, a file name
is not needed for referencing.




                                                                                                    3|Page
S.A.N.Sandeep, P.Malyadri / International Journal of Engineering Research and Applications
                       (IJERA) ISSN: 2248-9622 www.ijera.com
                           Vol. 2, Issue 4, July-August 2012, pp.




                                                          D.Software and Operating System Choice
                                                                     Nut/OS [10] is an embedded open-source
                                                          operating system for microcontrollers, licensed by
C. Hardware                                               egnite software [11] under the BSD license. It is
          The general hardware structure of the           allowed to modify the source code and chip binary
remote I/O data acquisition and control system            software, as long as the original copyright notice is
based on ARM processor is shown in Fig 7. The             included. Nut/OS offers many features to the
remote I/O data acquisition and control system            programmer like dynamic memory allocation,
based on embedded ARM platform has high                   threading, formatted output and many more. But to
universality, each acquisition and control device         ease portability of the stack itself as few Nut/OS
equipped with 24-way acquisition/control channels         specific features as possible were used. The
and isolated from each other. Each I/O channel can        operating system also offers a modular design, so
select a variety of electrical and non electrical         that only needed parts are linked together and no
signals like current, voltage, resistance etc., Digital   unneeded parts are loaded into the limited program
acquisition are done by special ADC. The measured         space of the host. Another advantage is the support
data are stored in external memory in which the           for cooperative multi threading. The application
memory is act as a data base during web server            itself runs in a separate thread and there is no need
mode. The ARM processor directly supports the             for the application programmer to cope with events,
Ethernet service and RS485 communication. Hence           dispatching and other confusing techniques.
the data has been stored and controlled by some           Multiple threads can wait on a queue and block until
other PCs or network via RS485 and Ethernet. ARM          an event is posted to this queue. Then either one or
processor has internal I2C module. So it has the          all threads wake up. Nut/OS also supports dynamic
ability to communicate with any other peripherals.        memory management to allocate and free memory
A Data acquisition module, and a GPRS are                 on the heap, although this is not used to ease
integrated into the embedded board to form a              portability. Timer support and stream I/O functions
sample application, as shown in Fig. 8. DAS               are also supported. In the Nut/OS part serial device
                                                          drivers and a PPP stack is included. Additionally
                                                          Nut/OS features a Nut/Net part, including a fully
                                                          functional TCP/IP stack providing ARP, IP, UDP,
                                                          ICMP and TCP protocol, automatic configuration
                                                          via DHCP, a HTTP server with CGI functions and
                                                          TCP and UDP socket API for the application
                                                          programmer.




                                                                                                  4|Page
S.A.N.Sandeep, P.Malyadri / International Journal of Engineering Research and Applications
                       (IJERA) ISSN: 2248-9622 www.ijera.com
                           Vol. 2, Issue 4, July-August 2012, pp.
                                                  III. RESULTS AND DISCUSSIONS
                                                                   Fig 10 and 11 shows execution results of
                                                           ARM Embedded web server based on DACS
                                                           system.




III.TESTING EMBEDDED WEB SERVER
         Initially, the target is tested for the working
of operating system. This is done by booting the
target using the hyper terminal. After the target is
successfully booted with Nut/OS, it is tested over
the network using ping command. Now the
embedded web server is responding to the clients,
request is made to the server, embedded web server,
by typing the IP address of the server in the client’s
browser. The user has to enter IP to access the
server. This request is taken by the operating system
of the client and given to the LAN controller of the
client system. The LAN controller sends the request
to the router that processes and checks for the                     Above showed web pages are requested by
system connected to the network with the particular        the client and served by the embedded web server
IP address. If the IP address entered is correct and       which is ported on ARM9 processor. Client can
matches to that of the server, a request is sent to the    interact with the machine through its own browser
LAN controller of the server and a session is              via these embedded web pages. Every client’s
established and a TCP/IP connection is establishes         control has been executed in industry via the
and the server starts sending the web pages to the         embedded web server.
client.
                                                           IV. CONCLUSION
                                                                     In this application, a low-cost, Internet-
                                                           based data acquisition and control system has been
                                                           designed and implemented that should find interest
                                                           from researchers. The application possibilities are
                                                           virtually unlimited by attaching modules with
                                                           appropriate interfaces, although the usage of the
                                                           system is demonstrated with only a few sample
                                                           devices. Compared with other applications, this
                                                           system has advantages in terms of allowing direct
                                                           bidirectional communication and reducing overhead,
                                                           which can be vitally important for some real-time
                                                           applications. The operational costs have been
                                                           reduced by relinquishing the storage of large data to
                                                           an FTP server on the Internet. The system is
                                                           designed to support both static and dynamic IPs. A
                                                           method to distribute the IP information has been
                                                           developed. This cost-minimization effort is a big
                                                           concern for mobile systems using wireless
                                                           communication methods and has not been discussed



                                                                                                   5|Page
S.A.N.Sandeep, P.Malyadri / International Journal of Engineering Research and Applications
                       (IJERA) ISSN: 2248-9622 www.ijera.com
                           Vol. 2, Issue 4, July-August 2012, pp.
before. The overall cost advantage of the system in            Packet Radio Service GPRS: Architecture,
terms of the components used makes it an attractive            protocols, and air interface,‖ IEEE
choice for data-acquisition applications. The power            Commun. Surveys Tuts., vol. 2, no. 4, pp.
demand of the device is still in the process of being          2–14, Third Quarter 1999.
improved by putting the attached devices into sleep
mode at times when they are not in use to conserve      [9]    RTOS Evaluation Project, ―What makes a
power.                                                         good RTOS,‖ Dedicated Systems Experts,
                                                               2001.                            [Online].
REFERENCES                                                     Available:http://www.dedicatedsystems.co
  [1]    C. E. Lin, C.-W. Hsu, Y.-S. Lee, and                  m
         C.C.Li, ―Verification of unmanned air
         vehicle flight control and surveillance        [10]   www.ethernut.de/en/firmware/nutos.html
         using mobile communication,‖J. Aerosp.
         Comput. Inf. Commun., vol. 1, no. 4, pp.       [11]   www.egnite.de/en/software/nutos.html
         189–197, Apr. 2004.W.-K. Chen, Linear
         Networks and Systems (Book style).
         Belmont, CA: Wadsworth, 1993, pp. 123–
         135.

  [2]    K. Jacker and J. Mckinney, ―TkDAS—A
         data acquisition system using RTLinux,
         COMEDI, and Tcl/Tk,‖ in Proc. Third
         Real-Time Linux workshop 2001. [Online].
         Available: The Real Time Linux
         Foundations: 2001/papers.html

  [3]    E. Siever, A. Weber, S. Figgins, and R.
         Love, Linux in a Nutshell. Sebastopol, CA:
         O’Reilly, 2005.

  [4]    Q. Zhou, W. Wu, and Y. Ma, ―The
         embedded data acquisition system for
         Mössbauer spectrum,‖ in Proc. Third Real-
         Time Linux Workshop Embedded Linux
         Expo Conf. Real-Time Embedded Comput.
         Conf., Milan, Italy, Nov. 2001, pp. 26–29.

  [5]    C. E. Lin, C.-C. Li, A.-S. Hou, and C.-
         C.Wu, ―A real-time remote control
         architecture using mobile communication,‖
         IEEE Trans. Instrum. Meas.,vol. 52, no. 4,
         pp. 997–1003, Aug. 2003.

  [6]    T. Motylewski, ―The industrial data-
         acquisition system with embedded Rt-
         Linux and network server technology,‖ in
         Proc. Third Real-Time Linux Workshop,
         2001. [Online]. Available: The Real Time
         Linux                         Foundation:
         http://www.realtimelinuxfoundation.org/ev
         ents/rtlws-2001/papers.html

  [7]    Klimchynski, ―Extensible embedded Web
         server for internet-based data acquisition
         and control,‖ in Proc. 3rd IEEE Int. Conf.
         Sensors,Vienna, Austria, Oct. 24–27, 2004,
         vol. 1, pp. 52–55.

  [8]    C. Bettstetter, H.-J. Vögel, and J.
         Eberspächer, ―GSM phase 2+ General

                                                                                             6|Page

Weitere ähnliche Inhalte

Was ist angesagt?

A comprehensive survey on security issues in cloud computing and data privacy...
A comprehensive survey on security issues in cloud computing and data privacy...A comprehensive survey on security issues in cloud computing and data privacy...
A comprehensive survey on security issues in cloud computing and data privacy...eSAT Publishing House
 
Understanding Open Protocols in Building Automation
Understanding Open Protocols in Building AutomationUnderstanding Open Protocols in Building Automation
Understanding Open Protocols in Building AutomationSchneider Electric
 
IRJET- Attribute based Access Control for Cloud Data Storage
IRJET- Attribute based Access Control for Cloud Data StorageIRJET- Attribute based Access Control for Cloud Data Storage
IRJET- Attribute based Access Control for Cloud Data StorageIRJET Journal
 
Low-cost wireless mesh communications based on openWRT and voice over interne...
Low-cost wireless mesh communications based on openWRT and voice over interne...Low-cost wireless mesh communications based on openWRT and voice over interne...
Low-cost wireless mesh communications based on openWRT and voice over interne...IJECEIAES
 
Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...
Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...
Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...IRJET Journal
 
A Survey on Provable Multi-copy Dynamic Data Possession in Cloud Computing Sy...
A Survey on Provable Multi-copy Dynamic Data Possession in Cloud Computing Sy...A Survey on Provable Multi-copy Dynamic Data Possession in Cloud Computing Sy...
A Survey on Provable Multi-copy Dynamic Data Possession in Cloud Computing Sy...IRJET Journal
 
Propalms Centralized Computing Solution Document
Propalms Centralized Computing   Solution DocumentPropalms Centralized Computing   Solution Document
Propalms Centralized Computing Solution DocumentVijender Yadav
 
How Does Your Real-time Data Look?
How Does Your Real-time Data Look?How Does Your Real-time Data Look?
How Does Your Real-time Data Look?Supreet Oberoi
 
Module1 Mobile Computing Architecture
Module1 Mobile Computing ArchitectureModule1 Mobile Computing Architecture
Module1 Mobile Computing Architectureraksharao
 
Cloud computing (IT-703) UNIT 1 & 2
Cloud computing (IT-703) UNIT 1 & 2Cloud computing (IT-703) UNIT 1 & 2
Cloud computing (IT-703) UNIT 1 & 2Jitendra s Rathore
 

Was ist angesagt? (18)

Module 3-cloud computing
Module 3-cloud computingModule 3-cloud computing
Module 3-cloud computing
 
Cloud Models
Cloud ModelsCloud Models
Cloud Models
 
A comprehensive survey on security issues in cloud computing and data privacy...
A comprehensive survey on security issues in cloud computing and data privacy...A comprehensive survey on security issues in cloud computing and data privacy...
A comprehensive survey on security issues in cloud computing and data privacy...
 
82 87
82 8782 87
82 87
 
Understanding Open Protocols in Building Automation
Understanding Open Protocols in Building AutomationUnderstanding Open Protocols in Building Automation
Understanding Open Protocols in Building Automation
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
IRJET- Attribute based Access Control for Cloud Data Storage
IRJET- Attribute based Access Control for Cloud Data StorageIRJET- Attribute based Access Control for Cloud Data Storage
IRJET- Attribute based Access Control for Cloud Data Storage
 
Low-cost wireless mesh communications based on openWRT and voice over interne...
Low-cost wireless mesh communications based on openWRT and voice over interne...Low-cost wireless mesh communications based on openWRT and voice over interne...
Low-cost wireless mesh communications based on openWRT and voice over interne...
 
Ah4301185187
Ah4301185187Ah4301185187
Ah4301185187
 
Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...
Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...
Assessment to Delegate the Task to Cloud for Increasing Energy Efficiency of ...
 
A Survey on Provable Multi-copy Dynamic Data Possession in Cloud Computing Sy...
A Survey on Provable Multi-copy Dynamic Data Possession in Cloud Computing Sy...A Survey on Provable Multi-copy Dynamic Data Possession in Cloud Computing Sy...
A Survey on Provable Multi-copy Dynamic Data Possession in Cloud Computing Sy...
 
Propalms Centralized Computing Solution Document
Propalms Centralized Computing   Solution DocumentPropalms Centralized Computing   Solution Document
Propalms Centralized Computing Solution Document
 
G0314043
G0314043G0314043
G0314043
 
D0362035
D0362035D0362035
D0362035
 
How Does Your Real-time Data Look?
How Does Your Real-time Data Look?How Does Your Real-time Data Look?
How Does Your Real-time Data Look?
 
Module1 Mobile Computing Architecture
Module1 Mobile Computing ArchitectureModule1 Mobile Computing Architecture
Module1 Mobile Computing Architecture
 
Cloud computing (IT-703) UNIT 1 & 2
Cloud computing (IT-703) UNIT 1 & 2Cloud computing (IT-703) UNIT 1 & 2
Cloud computing (IT-703) UNIT 1 & 2
 
improve cloud security
improve cloud securityimprove cloud security
improve cloud security
 

Andere mochten auch (20)

Kl2417741781
Kl2417741781Kl2417741781
Kl2417741781
 
Ja2415771582
Ja2415771582Ja2415771582
Ja2415771582
 
Jl2416451648
Jl2416451648Jl2416451648
Jl2416451648
 
Kx2418461851
Kx2418461851Kx2418461851
Kx2418461851
 
Hf2412861289
Hf2412861289Hf2412861289
Hf2412861289
 
Kd2417341737
Kd2417341737Kd2417341737
Kd2417341737
 
Kz2418571860
Kz2418571860Kz2418571860
Kz2418571860
 
Kq2418061809
Kq2418061809Kq2418061809
Kq2418061809
 
Hk2413161321
Hk2413161321Hk2413161321
Hk2413161321
 
Lc2418711873
Lc2418711873Lc2418711873
Lc2418711873
 
Lf2418891896
Lf2418891896Lf2418891896
Lf2418891896
 
In2414961500
In2414961500In2414961500
In2414961500
 
Ku2418231829
Ku2418231829Ku2418231829
Ku2418231829
 
Jv2416961699
Jv2416961699Jv2416961699
Jv2416961699
 
Hy2414011407
Hy2414011407Hy2414011407
Hy2414011407
 
Im2414901495
Im2414901495Im2414901495
Im2414901495
 
If2414451450
If2414451450If2414451450
If2414451450
 
Iw2415551560
Iw2415551560Iw2415551560
Iw2415551560
 
Jh2416211626
Jh2416211626Jh2416211626
Jh2416211626
 
Aportacio tac ciències. Vic
Aportacio tac ciències. VicAportacio tac ciències. Vic
Aportacio tac ciències. Vic
 

Ähnlich wie Jq2416671672

Embedded Web Server based Interactive data acquisition and Control System
Embedded Web Server based Interactive data acquisition and Control SystemEmbedded Web Server based Interactive data acquisition and Control System
Embedded Web Server based Interactive data acquisition and Control SystemIOSR Journals
 
Raspberry Pi Based Client-Server Synchronization Using GPRS
Raspberry Pi Based Client-Server Synchronization Using GPRSRaspberry Pi Based Client-Server Synchronization Using GPRS
Raspberry Pi Based Client-Server Synchronization Using GPRSIJTET Journal
 
Arm embedded web server based on dac system
Arm embedded web server based on dac systemArm embedded web server based on dac system
Arm embedded web server based on dac systemsudhakar5472
 
A Scalable Network Monitoring and Bandwidth Throttling System for Cloud Compu...
A Scalable Network Monitoring and Bandwidth Throttling System for Cloud Compu...A Scalable Network Monitoring and Bandwidth Throttling System for Cloud Compu...
A Scalable Network Monitoring and Bandwidth Throttling System for Cloud Compu...Nico Huysamen
 
27859 a new distributed architecture for remote communications 2013
27859 a new distributed architecture for remote communications 201327859 a new distributed architecture for remote communications 2013
27859 a new distributed architecture for remote communications 2013Benjamin Kyalo
 
An Internet Based Interactive Data Acquisition System
An Internet Based Interactive Data Acquisition System An Internet Based Interactive Data Acquisition System
An Internet Based Interactive Data Acquisition System Saptarshi Nag
 
An in-building multi-server cloud system based on shortest Path algorithm dep...
An in-building multi-server cloud system based on shortest Path algorithm dep...An in-building multi-server cloud system based on shortest Path algorithm dep...
An in-building multi-server cloud system based on shortest Path algorithm dep...IOSR Journals
 
Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...
Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...
Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...IJTET Journal
 
Energy Meters using Internet of Things Platform
Energy Meters using Internet of Things PlatformEnergy Meters using Internet of Things Platform
Energy Meters using Internet of Things PlatformIRJET Journal
 
A NOVEL THIN CLIENT ARCHITECTURE WITH HYBRID PUSH-PULL MODEL, ADAPTIVE DISPLA...
A NOVEL THIN CLIENT ARCHITECTURE WITH HYBRID PUSH-PULL MODEL, ADAPTIVE DISPLA...A NOVEL THIN CLIENT ARCHITECTURE WITH HYBRID PUSH-PULL MODEL, ADAPTIVE DISPLA...
A NOVEL THIN CLIENT ARCHITECTURE WITH HYBRID PUSH-PULL MODEL, ADAPTIVE DISPLA...ijasuc
 
IRJET - Importance of Edge Computing and Cloud Computing in IoT Technolog...
IRJET -  	  Importance of Edge Computing and Cloud Computing in IoT Technolog...IRJET -  	  Importance of Edge Computing and Cloud Computing in IoT Technolog...
IRJET - Importance of Edge Computing and Cloud Computing in IoT Technolog...IRJET Journal
 
Improving the Latency Value by Virtualizing Distributed Data Center and Auto...
Improving the Latency Value by Virtualizing Distributed Data  Center and Auto...Improving the Latency Value by Virtualizing Distributed Data  Center and Auto...
Improving the Latency Value by Virtualizing Distributed Data Center and Auto...IOSR Journals
 
Cloud Computing Final1
Cloud Computing Final1Cloud Computing Final1
Cloud Computing Final1Sandip Kadam
 
Centralized Data Verification Scheme for Encrypted Cloud Data Services
Centralized Data Verification Scheme for Encrypted Cloud Data ServicesCentralized Data Verification Scheme for Encrypted Cloud Data Services
Centralized Data Verification Scheme for Encrypted Cloud Data ServicesEditor IJMTER
 

Ähnlich wie Jq2416671672 (20)

Embedded Web Server based Interactive data acquisition and Control System
Embedded Web Server based Interactive data acquisition and Control SystemEmbedded Web Server based Interactive data acquisition and Control System
Embedded Web Server based Interactive data acquisition and Control System
 
Ki3517881791
Ki3517881791Ki3517881791
Ki3517881791
 
Bj4101347351
Bj4101347351Bj4101347351
Bj4101347351
 
Raspberry Pi Based Client-Server Synchronization Using GPRS
Raspberry Pi Based Client-Server Synchronization Using GPRSRaspberry Pi Based Client-Server Synchronization Using GPRS
Raspberry Pi Based Client-Server Synchronization Using GPRS
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Arm embedded web server based on dac system
Arm embedded web server based on dac systemArm embedded web server based on dac system
Arm embedded web server based on dac system
 
A Scalable Network Monitoring and Bandwidth Throttling System for Cloud Compu...
A Scalable Network Monitoring and Bandwidth Throttling System for Cloud Compu...A Scalable Network Monitoring and Bandwidth Throttling System for Cloud Compu...
A Scalable Network Monitoring and Bandwidth Throttling System for Cloud Compu...
 
27859 a new distributed architecture for remote communications 2013
27859 a new distributed architecture for remote communications 201327859 a new distributed architecture for remote communications 2013
27859 a new distributed architecture for remote communications 2013
 
395 401
395 401395 401
395 401
 
An Internet Based Interactive Data Acquisition System
An Internet Based Interactive Data Acquisition System An Internet Based Interactive Data Acquisition System
An Internet Based Interactive Data Acquisition System
 
An in-building multi-server cloud system based on shortest Path algorithm dep...
An in-building multi-server cloud system based on shortest Path algorithm dep...An in-building multi-server cloud system based on shortest Path algorithm dep...
An in-building multi-server cloud system based on shortest Path algorithm dep...
 
H017113842
H017113842H017113842
H017113842
 
Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...
Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...
Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...
 
Energy Meters using Internet of Things Platform
Energy Meters using Internet of Things PlatformEnergy Meters using Internet of Things Platform
Energy Meters using Internet of Things Platform
 
E0332427
E0332427E0332427
E0332427
 
A NOVEL THIN CLIENT ARCHITECTURE WITH HYBRID PUSH-PULL MODEL, ADAPTIVE DISPLA...
A NOVEL THIN CLIENT ARCHITECTURE WITH HYBRID PUSH-PULL MODEL, ADAPTIVE DISPLA...A NOVEL THIN CLIENT ARCHITECTURE WITH HYBRID PUSH-PULL MODEL, ADAPTIVE DISPLA...
A NOVEL THIN CLIENT ARCHITECTURE WITH HYBRID PUSH-PULL MODEL, ADAPTIVE DISPLA...
 
IRJET - Importance of Edge Computing and Cloud Computing in IoT Technolog...
IRJET -  	  Importance of Edge Computing and Cloud Computing in IoT Technolog...IRJET -  	  Importance of Edge Computing and Cloud Computing in IoT Technolog...
IRJET - Importance of Edge Computing and Cloud Computing in IoT Technolog...
 
Improving the Latency Value by Virtualizing Distributed Data Center and Auto...
Improving the Latency Value by Virtualizing Distributed Data  Center and Auto...Improving the Latency Value by Virtualizing Distributed Data  Center and Auto...
Improving the Latency Value by Virtualizing Distributed Data Center and Auto...
 
Cloud Computing Final1
Cloud Computing Final1Cloud Computing Final1
Cloud Computing Final1
 
Centralized Data Verification Scheme for Encrypted Cloud Data Services
Centralized Data Verification Scheme for Encrypted Cloud Data ServicesCentralized Data Verification Scheme for Encrypted Cloud Data Services
Centralized Data Verification Scheme for Encrypted Cloud Data Services
 

Jq2416671672

  • 1. S.A.N.Sandeep, P.Malyadri / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp. Embedded Web Server Based on DAC System Using ARM S.A.N.Sandeep P.Malyadri M.Tech Student Assoc Prof PKSK College PKSK College ECE Dept ECE Dept Abstract: Now a days we are using many in a central server and has all the applications. A Networked embedded systems for monitoring person that needs to access any data must first and control the home or industrial devices.With access the server. An indirect access to the data- the scalable networking solution The server acquisition unit makes the system unattractive for enables Web access to distributed real-time control applications, where direct measurement/control systems and provides interaction with the system may be required. The optimization for educational laboratories, need to maintain an additional server will also instrumentation, Industrial and home increase the setup costs and the costs to maintain the automation. In this paper , we present the acquisition systems, such as regular maintenance principles and to design a system for Internet- costs, system updates, etc. Therefore, the central based data-acquisition system and control by server has to be eliminated for a real time system. using Advanced RISC Machine i.e ARM The closest to this idea is published in [5]. In this processor and in-build web server application system, a reliable bidirectional Point-to-Point with General Packet Radio Service (GPRS) Protocol (PPP) link for real-time control and technology. The main core of the system is an surveillance via a GSM network is formed. embedded hardware running on a NUT OS, a However, there is still no effort to minimize the industrial grade RTOS for hard time operational costs. In addition, this system is based applications. The embedded device on an industrial PC, thus making it an expensive communicates through General Packet Radio solution. Interaction with the embedded unit is also Service (GPRS),and also help us to communicate an important issue. In [6], an embedded PC card with the GSM as most of us were communicating placed on the Internet allows limited interaction with GSM which makes it accessible from through commands sent through Transmission anywhere in the world through a web server Control Protocol/IP (TCP/IP) and User Datagram built into the embedded device.The proposed Protocol. In this paper, we propose a GPRS based system eliminates the need for server software portable low-cost data-acquisition system, which and maintenance. The proposed system can establish a reliable bidirectional connection for minimizes the operational costs while operating data acquisition. The proposed system uniquely with a large amount of data. reduces the Costs occurring from frequently Key Terms: GPRS, GSM, Real Time Processing, requested data and eliminates the need for a well- Dataacquisition. established server. The system uses a dummy server for static information, thus optimizing the transfer of I. INTRODUCTION large data. The user can directly log in and interact DATA-ACQUISITION systems are in with the embedded device in real time without the great demand in industry and consumer applications. need to maintain an additional server. The system is In some applications, human beings have been modularly built, allowing different modules to be replaced by unmanned devices that will acquire data added. In addition, it is flexible to accommodate a and relay the data back to the base [1]. There are wide range of measurement devices with data-acquisition and control devices that will be a appropriate interfaces. substitute for a supervisor in a multisite job operation. A single person can monitor and even interact with the ongoing work from a single base station. An acquisition unit designed to collect data in their simplest form is detailed in [2], which is based on Linux [3], which is a popular choice for embedded PC systems. A similar system in [4] provides data acquisition with no concern for remote access. In these applications, data are compiled in a central server and are then served to the clients via the Internet. The client framework is In Section II, we will introduce the details of the 1|Page
  • 2. S.A.N.Sandeep, P.Malyadri / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp. aforementioned system. In Section III will describe the Testing of Embedded Web Server. In Section IV data acquisition sensors are connected to the embedded system to demonstrate its operation and the results are presented. Section V presents the conclusion. II. INTERACTIVE DATA- ACQUISITION SYSTEM Interactive Internet-based systems provide a way to monitor and adjust using standard web browsers and a PC. The target systems can be monitored and controlled independent from the location and the platform since standard web browsers can be used on the client side. A typical data-acquisition system is connected to web clients via the Internet, as shown in Fig. 1. The data acquisition system needs to relay the acquired information to the requesting clients. Digitally A. Establishing a Direct Communication Link acquired data are stored in web server’s data base. between the Client and the Embedded Whenever the client wants to access data, it sends Device: the request to server; this request is taken by the The use of GPRS is well known to router, which is connected to the internet. The web everybody and almost all service providers on GSM processes the request made and finally connects to are giving this service. GSM and GPRS [8] are the desired web server, access the requested data developed for cellular mobile communication. and sends the data to the client. Hence it is very much easy to be getting connected to the Internet world. Once a GPRS connection has Embedded Web Server Architecture: been established queried data can be relayed to the An embedded web server is an ARM client via a central server[8]. Using a central server processor that contains an internet software suite as to relay the acquired data has some disadvantages. well as application code for monitoring and First, a central server needs a client interface controlling machines/systems. Embedded web framework. An additional data transfer corresponds servers are integral part of an embedded network to time delays before the data are made available to [7]. Fig 2. Shows the proposed concept of DACS the client. In addition, since the server acts as a with embedded web server on a single chip module. relay, no direct bidirectional communication This is a single hardware it contains RTOS portable between the client and the embedded system can be ARM processor. ARM processor is the responsible established. This makes the system unsuitable for part for measuring signals and controlling the real-time control applications. devices remotely. Measurements can be done by The basic idea behind real-time processing DACS mode and the data are shared with clients is that the embedded system is expected to respond through embedded web server by embedded web to the queries in time. Real time should be fast server mode. The real time operating system enough in the context in which the system is manages all the tasks such as measuring signals, operating and reliable as well. Real-time system conversion of signals, data base up-dation, sending correctness depends not only on the correctness of HTMLpagesandconnecting/communicating with the logical result of the computation but also on the new users etc., result delivery time [9]. This method also increases The RTOS manages all the required tasks the data transfer cost as the number of clients in parallel and in small amounts of time. Web based increases due to the access amount of data transfers management user interfaces using embedded web via GPRS. Direct communication, on the other server have many advantages: ubiquity, user- hand, enables access to only relevant information in friendly, low-development cost and high the embedded system by pre processing the data. maintainability. Embedded web server has different The embedded system should also handle the web requirements, such as low resource usage, high services. This eliminates the need for a central reliability, security, portability and controllability server and reduces the amount of data sent from the for which general web server technologies are remote unit since only the queried data will be unsuitable. transferred. In the proposed system, the GPRS architecture and protocols are compliant with [8]. This system is configured to be virtually online at all times in a GSM network. An admin script is 2|Page
  • 3. S.A.N.Sandeep, P.Malyadri / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp. executed after the boot of the operating system, This process is illustrated in Fig. 4. The initiating the GPRS connection software module. A DHCP approach is more flexible and works better PPP connection is established by a GPRS modem compared with the static approach as a cost- that works at 900/1800/1900 MHz operating effective solution, despite the necessity for a script frequencies. A PPP daemon (PPPD) is used to running on the embedded server, one-time manage the PPP network connections between the broadcasting its IP to the FTP server. The hypertext client and the embedded module. file placed on the FTP server by the embedded The PPPD is responsible for setting up the system and queried by the client is shown in Fig. 5. GPRS parameters, such as the connection speed and With this mechanism in place, the embedded system compression. To directly access an embedded updates it IP information on the FTP server upon system, the IP address of the embedded device every reboot, which causes an IP refresh from the should be made available to the client side. There GSM service- provider are two choices available. A static (hard-coded) IP could be used, or the remote device should initiate a B. Data Management in the System connection by reporting its IP. This choice is quite The Internet server is used to decrease the straightforward and simple. Although the usage cost management costs by sending all the pictures (logo, remains unchanged, it requires a static IP setup by picture, bar graphics, etc.) to the client through a the service provider and involves monthly recurring server on the Internet. Text data such as coordinates, costs. The static IP is preferred for its simplicity in temperature, and altitude are served from the designing a system; however, its overhead may be embedded system. If bulky data are going to be sent, impractical. The other choice is to use a dynamic IP the embedded module is set to send the image only assigned through a Dynamic Host Configuration once via GPRS and placed on an FTP server. This Protocol (DHCP) server of the GSM provider for approach eliminates the transfer of large data every connection established. However, this IP through GPRS more than once, thus reducing the needs to be known by any client requesting an transfer costs, particularly if more than one client is access to the embedded server. One solution is to involved or multiple requests to the same data are broadcast this IP to a dummy FTP server. The FTP needed, as shown in Fig. 6. server is a dummy server and does not require regular software updates or maintenance. The folder structure of the FTP server is shown in Fig. 3. A script on the embedded device is configured to update its IP address on the FTP server in Hypertext Meta-Language as an index.htm file, under a folder uniquely named by its hostname. This script simply parses the current IP for that embedded device and sends an html file with the IP information of the embedded device to the FTP server. Once this file is in place, a direct connection can be established with the desired embedded device by a simple query. An example embedded system, named DAS (Fig.3), can be queried from the FTP server by a simple command. The web browser processes the (index.htm) file in the specified folder as default; therefore, a file name is not needed for referencing. 3|Page
  • 4. S.A.N.Sandeep, P.Malyadri / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp. D.Software and Operating System Choice Nut/OS [10] is an embedded open-source operating system for microcontrollers, licensed by C. Hardware egnite software [11] under the BSD license. It is The general hardware structure of the allowed to modify the source code and chip binary remote I/O data acquisition and control system software, as long as the original copyright notice is based on ARM processor is shown in Fig 7. The included. Nut/OS offers many features to the remote I/O data acquisition and control system programmer like dynamic memory allocation, based on embedded ARM platform has high threading, formatted output and many more. But to universality, each acquisition and control device ease portability of the stack itself as few Nut/OS equipped with 24-way acquisition/control channels specific features as possible were used. The and isolated from each other. Each I/O channel can operating system also offers a modular design, so select a variety of electrical and non electrical that only needed parts are linked together and no signals like current, voltage, resistance etc., Digital unneeded parts are loaded into the limited program acquisition are done by special ADC. The measured space of the host. Another advantage is the support data are stored in external memory in which the for cooperative multi threading. The application memory is act as a data base during web server itself runs in a separate thread and there is no need mode. The ARM processor directly supports the for the application programmer to cope with events, Ethernet service and RS485 communication. Hence dispatching and other confusing techniques. the data has been stored and controlled by some Multiple threads can wait on a queue and block until other PCs or network via RS485 and Ethernet. ARM an event is posted to this queue. Then either one or processor has internal I2C module. So it has the all threads wake up. Nut/OS also supports dynamic ability to communicate with any other peripherals. memory management to allocate and free memory A Data acquisition module, and a GPRS are on the heap, although this is not used to ease integrated into the embedded board to form a portability. Timer support and stream I/O functions sample application, as shown in Fig. 8. DAS are also supported. In the Nut/OS part serial device drivers and a PPP stack is included. Additionally Nut/OS features a Nut/Net part, including a fully functional TCP/IP stack providing ARP, IP, UDP, ICMP and TCP protocol, automatic configuration via DHCP, a HTTP server with CGI functions and TCP and UDP socket API for the application programmer. 4|Page
  • 5. S.A.N.Sandeep, P.Malyadri / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp. III. RESULTS AND DISCUSSIONS Fig 10 and 11 shows execution results of ARM Embedded web server based on DACS system. III.TESTING EMBEDDED WEB SERVER Initially, the target is tested for the working of operating system. This is done by booting the target using the hyper terminal. After the target is successfully booted with Nut/OS, it is tested over the network using ping command. Now the embedded web server is responding to the clients, request is made to the server, embedded web server, by typing the IP address of the server in the client’s browser. The user has to enter IP to access the server. This request is taken by the operating system of the client and given to the LAN controller of the client system. The LAN controller sends the request to the router that processes and checks for the Above showed web pages are requested by system connected to the network with the particular the client and served by the embedded web server IP address. If the IP address entered is correct and which is ported on ARM9 processor. Client can matches to that of the server, a request is sent to the interact with the machine through its own browser LAN controller of the server and a session is via these embedded web pages. Every client’s established and a TCP/IP connection is establishes control has been executed in industry via the and the server starts sending the web pages to the embedded web server. client. IV. CONCLUSION In this application, a low-cost, Internet- based data acquisition and control system has been designed and implemented that should find interest from researchers. The application possibilities are virtually unlimited by attaching modules with appropriate interfaces, although the usage of the system is demonstrated with only a few sample devices. Compared with other applications, this system has advantages in terms of allowing direct bidirectional communication and reducing overhead, which can be vitally important for some real-time applications. The operational costs have been reduced by relinquishing the storage of large data to an FTP server on the Internet. The system is designed to support both static and dynamic IPs. A method to distribute the IP information has been developed. This cost-minimization effort is a big concern for mobile systems using wireless communication methods and has not been discussed 5|Page
  • 6. S.A.N.Sandeep, P.Malyadri / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp. before. The overall cost advantage of the system in Packet Radio Service GPRS: Architecture, terms of the components used makes it an attractive protocols, and air interface,‖ IEEE choice for data-acquisition applications. The power Commun. Surveys Tuts., vol. 2, no. 4, pp. demand of the device is still in the process of being 2–14, Third Quarter 1999. improved by putting the attached devices into sleep mode at times when they are not in use to conserve [9] RTOS Evaluation Project, ―What makes a power. good RTOS,‖ Dedicated Systems Experts, 2001. [Online]. REFERENCES Available:http://www.dedicatedsystems.co [1] C. E. Lin, C.-W. Hsu, Y.-S. Lee, and m C.C.Li, ―Verification of unmanned air vehicle flight control and surveillance [10] www.ethernut.de/en/firmware/nutos.html using mobile communication,‖J. Aerosp. Comput. Inf. Commun., vol. 1, no. 4, pp. [11] www.egnite.de/en/software/nutos.html 189–197, Apr. 2004.W.-K. Chen, Linear Networks and Systems (Book style). Belmont, CA: Wadsworth, 1993, pp. 123– 135. [2] K. Jacker and J. Mckinney, ―TkDAS—A data acquisition system using RTLinux, COMEDI, and Tcl/Tk,‖ in Proc. Third Real-Time Linux workshop 2001. [Online]. Available: The Real Time Linux Foundations: 2001/papers.html [3] E. Siever, A. Weber, S. Figgins, and R. Love, Linux in a Nutshell. Sebastopol, CA: O’Reilly, 2005. [4] Q. Zhou, W. Wu, and Y. Ma, ―The embedded data acquisition system for Mössbauer spectrum,‖ in Proc. Third Real- Time Linux Workshop Embedded Linux Expo Conf. Real-Time Embedded Comput. Conf., Milan, Italy, Nov. 2001, pp. 26–29. [5] C. E. Lin, C.-C. Li, A.-S. Hou, and C.- C.Wu, ―A real-time remote control architecture using mobile communication,‖ IEEE Trans. Instrum. Meas.,vol. 52, no. 4, pp. 997–1003, Aug. 2003. [6] T. Motylewski, ―The industrial data- acquisition system with embedded Rt- Linux and network server technology,‖ in Proc. Third Real-Time Linux Workshop, 2001. [Online]. Available: The Real Time Linux Foundation: http://www.realtimelinuxfoundation.org/ev ents/rtlws-2001/papers.html [7] Klimchynski, ―Extensible embedded Web server for internet-based data acquisition and control,‖ in Proc. 3rd IEEE Int. Conf. Sensors,Vienna, Austria, Oct. 24–27, 2004, vol. 1, pp. 52–55. [8] C. Bettstetter, H.-J. Vögel, and J. Eberspächer, ―GSM phase 2+ General 6|Page