Design of On-line Interactive Data Acquisition and Control System for Embedded Applications

DOI : 10.17577/IJERTV1IS9264

Download Full-Text PDF Cite this Publication

Text Only Version

Design of On-line Interactive Data Acquisition and Control System for Embedded Applications

Kyasa Shobha Rani Prof .B .Brahma Reddy

PG Scholar HOD, Dept of ECE

Embedded Systems, Dept of ECE Vignana Bharathi Institute of Technology Vignana Bharathi Institute of Technology

Abstract – In various Internet applications based on the client/server architecture, it is better to use embedded WEB server other than PC server for decreasing volume, cost and power consumption. The paper introduces the design of the WEB server based on the ARM9 processor and analyzes hardware configuration and software implementation with the growing popularity of Internet. Through the Ethernet we could acquire the different real-time information, and based on the information, we could draft corresponding options and we can also implement Control through Internet. It allows the user to interface real time applications like, Industrial automations and data acquisition etc,. Data acquisition plays an important role in real-time controls and online supervisions. In this paper we will be using S3C2440 32 bit ARM Processor with Linux porting. For this purpose we will be using Friendly ARM board which is having an inbuilt DM9000 Ethernet controller. In this Paper we are implementing a WEB server. Finally the application is developed and ported into an ARM9 processor using embedded 'C' language. Web pages are written by Hyper text markup language (HTML); this system is used for real time applications, Mission critical applications.

Keywords – Linux Operating system ,Embedded ARM9 Processor, Embedded web server.

I.INTRODUCTION

The system contains inbuilt data acquisition control system with online interaction. It makes the system more reliable and avoids more complication. It

basis on the microprocessor and Linux as the embedded operating system.

The ARM board acts as acquisition, control unit and embedded web server. In this paper we are implementing data monitoring and control, visitor counter application, server application and devices ON / OFF control. Here we are implementing data monitoring and control action for two sensors. Temperature sensor and is LDR. For both sensors one set point is assigned. If temperature value below the set point heater will ON, and if temperature value above the set point cooler will ON. For LDR also we are arranging one set point. If light intensity is less then street light is ON or intensity is more street light will OFF. At the same time visitor counter application is implementing with the help of IR sensors. Here we are arranging two sets of IR to identify the in and out. The result is displayed on the LCD. For data acquisition we are going to implement the web server concept. User can access the hardware in two ways i.e. PAN or LAN. In the application program we are assigning one specific IP address for our hardware. The sensors statuses are displayed in web page whenever user is giving request from any one of the system with in the LAN. From the

web page user can control (ON / OFF) the access the whole system from LAN vISiaSN:i2t2s78-0181

devices. Hence, results show that the client can

browser.

Vol. 1 Issue 9, November- 2012

  1. DESIGN OF THE SYSTEM

    Ethernet

    Hardware design, Software design and Porting the web server appication are the important steps in system design.

    IR SENSORS

    A .Hardware design of system:

    Light

    L D R

    F A N

    O/p Driver s

    LM35

    Temperature

    Sensor

    A D C

    LC D

    S3C440

    ARM9 PROCESSOR

    The implementation of proposed work applies S3C241Os32-bit ARM microprocessor which takes ARM920T as its core. This microprocessor has rich resources, including Clock, USB, SDRAM, Nand Flash, LCD, Ethernet Interface, JTAG, Power, ADC etc. These modules can help achieve Ethernet services. The client PC is connected to the Ethernet through a browser and then gets access to the embedded Web server. The acquisition and control device

    equipped with acquisition/control channels and

    Externa l memor

    isolated from each other. Each I/O channel can

    select a variety of electrical and non electrical signals like current, voltage, resistance etc., Digital acquisition are done by special ADC.

    The temperature and light parameters are measures by using appropriate sensor. The output of the sensors is given to analog to digital converter (ADC). The analog signals obtained from sensors are converted in to digital format by using ADC. visitor counter application is implementing with the help of IR sensors. Here we are arranging two sets of IR to identify the in and out. The result is displayed on the LCD.

    For data acquisition we are going to implement the web server concept. User can access the hardware in two ways i.e. PAN or LAN. In the application program we are assigning one specific IP address for our hardware. The sensors statuses

    Fig 1.Block diagram

    are displayed in web page whenever user is giving request from any one of the system with in the LAN.

    1. Analog to digital converter:

      The analog to digital converter (ADC) of the S3C2440A is a 8-channel ADC. It converts the analog input signal into digital codes at a maximum conversion rate of 500KSPS with 2.5 MHz A/D converter clock. The S3C2440A supports Touch Screen Interface, which consists of a touch screen panel, four external transistors,an external voltage source, AIN[7] and AIN[5]. Touch Screen Interface controls and selects control signals (nYPON, YMON, nXPON and XMON) and analog pads (AIN[7], AIN[5]). The ADC channels are used for connecting sensors. The sensors that we are employing are temperature and Light and IR sensors.

      .

      Fig 2. ADC flowchart

      1. Software design of the system:

        1. Linux:

    Software development process based on embedded OS includes: Establishment of cross compiler, the transplantation of Boot loader, transplantation of embedded Linux and root file system. Later the embedded application is ported onto the system. To begin with, system cross- compiler environment using arm-linux-gcc- 4.3.3 is established. Supervivi Bootloader is used as Bootloader.For compiling the kernel on the ARM9 board cross compiler tools are used to generate executables for embedded system.

    2) porting Linux to ARM9Board:

    To configure the kernel 2.6.29 according to requirements and its compilation to obtain the required zImage.

    1. Cross-build environment:

      The arm-linux-gcc cross compiler is employed to generate the executables for the Master system. The following steps are done to install it. The arm- linux-gcc-4.3.2.tgz tar file is copied into a directory.

      # tar xvzf arm-linux-gcc-4.3.2.tgz -C

      The installed compiler path is added to the system environment variable: PATH. It is done by editing the .bashrc file as follows.

      # vim / root /.bashrc

      At the end of the file the following line is added export PATH = $ PATH: / usr/local/arm/4.3.2/bin

    2. The Transplantation of Linux Kernel:

      # cd /opt/Friendly ARM/mini2440

      #cd /Linux-2.6.29.

      # cp config_mini2440_n45 .Config

      # make menuconfig

      # make zImage

    3. Downloading kernel image to Mini2440:

    #ftp 192.168.2.151

    Name: plg

    Password: plg

    ftp<put server.c

    #minicom

    3. Implementation of Web server:

    Initialization of the web server such as creating an environment variable, binding a port, listening a port, entering the loop and waiting for connection request from a client. When there is a connection request from a client , web server is responsible for receiving request and saving related information. After receiving the request,Boa analyzes the request and it process it accordingly.

    Fig 4&5 shows the results of ARM web server based on Ethernet controller.

    7/31/12

    Fig 4. Web page requested by client Fig 3.Web server flowchart

  2. RESULTS AND DISCUSSIONS

    The web page is designed using HTML language. It is requested by the client to the server. Then the webserver processes these request & response for client request with webpage. Now the client can access the data monitoring and control devices through LAN.

    Fig.5 host system and target board

    Hence results show the client can access the whole system from LAN via browser. In industries the single ARM acts as data acquisition and control system and as web server, so it compact with less complexity. This system replaces the traditional system for data access and control by embedded web server with Linux operating system.

    International Journal of Engineering Research & Technology (IJERT)

    ISSN: 2278-0181

    Vol. 1 Issue 9, November- 2012

  3. CONCLUSIONS

    In the design of Data acquisition and control system every client can access the data from LAN via its web Browser. With the rapid development of field of Industrial process control and wide range of applications of network ,intelligence it is necessary to make a higher demand of data accuracy and reliability of the control system. This embedded ARM system can adapt to the strict requirements of data acquisition and control system such as reliability, cost, power consumption and size. Embedded web server mode is used to share the data with clients in online. The modes of server are efficiently carried out by multi tasking operating system . This system can be widely used in electric, petroleum, electrical Industries, Automobiles, ATM networks and so on.

  4. REFERENCES

[1]. Manivannan M and KumaresanN Design of an online interactive data Acquisition and Control System for embedded Real-time Applicationsmeasures OF ICETECT 2011.

[2]. Daogang Peng, Hao Zhang, Kai Zhang, Hui Li, Fei Xia," Research of the Embedded Dynamic Web Monitoring System Based on EPA Protocol and ARM Linux,"IEEE Conf, pp.640-644, 2009.

International Journal of Engineering Research & Technology (IJERT)

ISSN: 2278-0181

Vol. 1 Issue 9, November- 2012

[3]. S.Li,Jiarong, R.Luo, YichunC.Wu, GuimingM.Li, FengWang and YongWang. Continuous Real-Time DataAcquisition Embedded System for EAST, IEEE Trans. Nuclearscience,Vol.57,No.2,pp.696-699,April 2010.

[4]. E.Siever, A. Weber, S.Figgins, and R.Love, CA: OReilly,Linux in aNutshell,, 2005.

[5]. Peng D.G, Zhang H., Yang L., etc, "Design and Realization of Modbus Protocol Based on Embedded Linux System". The 2008 International Conference on Embedded Software and Systems Symposia. July 29-31, 2008, Chengdu, Sichuan, China, pp:275-280.

[6]. Platform for rapid prototyping of experimental control systems," IEEE Trans. Nucl. Sci., vol. 53, no. 3, pp. 927-929, Jun. 2006.

[7]. K. Jackeran J. Mckinne, TkDAS- A data acquisition system using RTLinux, COMEDI, and Tcl/Tk, inProc. Third Real Time Linux Workshop, 2001. [Online].Available: The RealTimeLinuxFoundation:http://www.realtimelin uxfoundation.org/events/rtlws-2001/paper.

[8] . www.opensource.org [9]. www.embeddedarm.org

Leave a Reply