Real Time Monitoring System based on Embedded Linux Application

Similar documents
SAMPLE CHAPTERS UNESCO EOLSS DIGITAL INSTRUMENTS. García J. and García D.F. University of Oviedo, Spain

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Room Temperature based Fan Speed Control System using Pulse Width Modulation Technique

Design of Remote data acquisition system based on Internet of Things

REMOTE HOST PROCESS CONTROL AND MONITORING OF INDUSTRY APPLIANCES

Raghavendra Reddy D 1, G Kumara Swamy 2

ANDROID BASED HOME AUTOMATION AND VISION SURVEILLANCE USING RASPBERRY PI

Microcontroller-based experiments for a control systems course in electrical engineering technology

Lab Experiment 1: The LPC 2148 Education Board

DATA LOGGER AND REMOTE MONITORING SYSTEM FOR MULTIPLE PARAMETER MEASUREMENT APPLICATIONS. G.S. Nhivekar, R.R.Mudholker

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

ONLINE HEALTH MONITORING SYSTEM USING ZIGBEE

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

The software beyond the climatic. Environment simulation

Development of an Embedded Web Server System for Controlling and Monitoring of Remote Devices Based on ARM and Win CE

Automatic Docking System with Recharging and Battery Replacement for Surveillance Robot

Measuring, Controlling and Regulating with labworldsoft

Intelligent Home Automation and Security System

Programming Logic controllers

Computer Automation Techniques. Arthur Carroll

Design and Development of Embedded Multimedia Terminal

Self-Evaluation Configuration for Remote Data Logging Systems

System Design Issues in Embedded Processing

Smart Thermostat page 1

Raspberry pi based Energy Monitoring System in Chemical Industry

ARM7 Based Smart ATM Access & Security System Using Fingerprint Recognition & GSM Technology

GPS & GSM BASED REAL-TIME VEHICLE TRACKING SYSTEM.

International Journal of Computer Engineering Science (IJCES)

An Embedded Based Web Server Using ARM 9 with SMS Alert System

PC & EMBEDDED CONTROL TRENDS

Vehicle Tracking and Monitoring By ARM7

Sigma Control PC INSIDE. 97 psi 187 F R on load

An Approach to Develop Embedded System For Web Based Monitoring & Controlling of Renewable Energy Sources

Freescale Semiconductor, I

Final Design Report 19 April Project Name: utouch

Automatic Ration Material Distributions and Payment System Based on GSM and RFID Technology

Bus Data Acquisition and Remote Monitoring System Using Gsm & Can

USER MANUAL V5.0 ST100

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

Desktop Publishing 5N0785 Learning Outcome 2 Monaghan Institute Level 5 Module

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

Current and Ultrasonic Testing System

KACO-monitoring. onlinecomponents.com. Integrated monitoring available. Monitor up to 32 inverters per prolog. Reliable and accurate data

Design of Self-service Car Washing Machine Control System Based on ARM Zhengmin Cui a, Peng Sun b

Design of a Wireless Medical Monitoring System * Chavabathina Lavanya 1 G.Manikumar 2

International Journal of Advanced Engineering Research and Applications (IJAERA) ISSN: Vol. 1, Issue 6, October Big Data and Hadoop

The Design of DSP controller based DC Servo Motor Control System

Lesson 6: 6 EXAMPLES OF EMBEDDED SYSTEMS. Chapter-1L06: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Implementation of Knock Based Security System

MECE 102 Mechatronics Engineering Orientation

Smart Home System Using Android Application

HIGH SECURED VEHICLE WITH INTERIOR VENTILATION CONTROL AND PERIMETER MONITORING SYSTEM

EnerVista TM Viewpoint Monitoring v7.10

DESIGN OF SMART HOME SECURITY SURVEILLANCE SYSTEM USING GSM

CMS Central Monitoring System

Serial port interface for microcontroller embedded into integrated power meter

The Research and Application of College Student Attendance System based on RFID Technology

Keywords: GPS, GSM, AVR Microcontroller, SMS.

Accurate Measurement of the Mains Electricity Frequency

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications

HUMAN-COMPUTER INTERFACE DEVELOPMENT OF WIRELESS MONITORING SYSTEM BASED ON MINIGUI

Automated Profile Vehicle Using GSM Modem, GPS and Media Processor DM642

A DESIGN OF DSPIC BASED SIGNAL MONITORING AND PROCESSING SYSTEM

EMBEDDED C USING CODEWARRIOR Getting Started Manual

Programmable Logic Controllers Definition. Programmable Logic Controllers History

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

Chapter 8 Operating Systems and Utility Programs

STEPPER MOTOR SPEED AND POSITION CONTROL

Nagpur, Maharashtra, India

Automated Security System using ZigBee

Network Scanning: A New Feature for Digital Copiers

Design of Wireless Home automation and security system using PIC Microcontroller

Temperature & Humidity SMS Alert Controller

BUILD VERSUS BUY. Understanding the Total Cost of Embedded Design.

Overview. Alarm console supports simultaneous viewing of both live and recorded video when alarm events are selected

USB I/O CONTROL BOX 8 relays, 8 digital I/O lines and 8 HV inputs

Remote Control of Home Appliances

Real Time Water Quality Monitoring System

Coal Mine Security System

The Heartbeat behind Portable Medical Devices: Ultra-Low-Power Mixed-Signal Microcontrollers

Hardware and Logic Implementation of Multiple Alarm System for GSM BTS Rooms

ARM Hardware Platform for Vehicular Monitoring and Tracking

Wireless Sensor Network Based Low Power Embedded System Design For Automated Irrigation System Using MSP430

Embedded Based Web Server for CMS and Automation System

Industry First X86-based Single Board Computer JaguarBoard Released

I2C PRESSURE MONITORING THROUGH USB PROTOCOL.

Barcode Based Automated Parking Management System

Reduced to the best. Visualize and Control Solutions for Process Automation

Disturbance Recoder SPCR 8C27. Product Guide

Wireless power meter monitoring with power theft detection and intimation system using GSM and Zigbee networks

Network Enabled Battery Health Monitoring System

ARCHITECTURE OF INDUSTRIAL AUTOMATION SYSTEMS

Development of Application Software for Stock Material Selection for Manufacturing of Shafts

A Prepaid Energy Meter for Efficient Power Management

Cell Phone Based Liquid Inventory Management Using Wireless System

DS1104 R&D Controller Board

Open Access Research and Design for Mobile Terminal-Based on Smart Home System

International Journal of Electronics and Computer Science Engineering 1588

A White Paper By: Dr. Gaurav Banga SVP, Engineering & CTO, Phoenix Technologies. Bridging BIOS to UEFI

Transcription:

Real Time Monitoring System based on Embedded Linux Application 1 Unnati Patel, 2 Vijay N. Chavda 1 ME Scholar, 2 Assistant Professor, VLSI and Embedded system, GTU PG School, Gandhinagar, India 1 patelunnu27@gmail.com, 2 vjychavda@gmail.com Abstract In today s world, the management of domestic laboratories in the research institute and universities has issues of poor real time, high cost and low precision. It is difficult to determine the quality of environment of the laboratory. So the Laboratory Monitoring System should be developed to implement early warning, remote control, real time monitoring and other functions. Thus we focus on the process and difficult points in the application of embedded GUI based on Qt / Embedded in the laboratory monitoring system. The design of GUI for embedded systems is different from that of traditional data computing, which often handles mouse or keyboard events to complete a specific calculation, while for embedded systems the events are caused by external devices. Because the embedded systems is resource-constrained, the design mode of the GUI of the traditional PC has relatively larger memory consumption and take up more CPU time, which is not suitable for embedded systems. The intelligent monitoring system uses Qt / Embedded under embedded Linux as its GUI development platform, which can fully satisfy the restriction of embedded system resources. Index Terms Real Time Monitoring, Raspberry pi, Embedded/Qt I. INTRODUCTION The embedded systems which use micro-controller such as 8-bit microcontroller as the main controller has been widely used in various fields, but most of these applications are still in the low-level stage of stand-alone use of the embedded system. It is feasible and forward-looking to apply the high-performance 32-bit microprocessors, embedded Linux system and Qt / embedded GUI application to practical industrial control in certain occasion. Embedded front end machine uses Raspberry Pi, which has an arm11 processor and embedded Linux operating system that manages the following: The sensor networks include a variety of monitoring sensors such as temperature sensor, current sensor, and voltage sensor. These sensors automatically monitor the temperature, current and voltage in the laboratory. The microprocessor collects the data for the environment of the lab and processes it. The electrical equipment switches control various electrical equipment in the laboratory. When the laboratory environmental data is abnormal, such as the temperature is too high, the system will cut off the large-scale power equipment; switch on the air conditioning for cooling and when an illegal invasion occurs, the burglar alarm will ring to notify the administrators. The System is equipped with a LCD monitor, which enables us to develop friendly GUI with QT under embedded Linux system to provide functions such as querying and setting the laboratory environment parameters. The monitoring software real-time receives data of all monitored points, so as to track the data statistics, analyze and respond to abnormal condition. All the data received will be displayed on the monitor graphically in real time. II. SYSTEM ARCHITECTURE We need to design a system that is collecting the information from the sensors and updating the latest information regarding the environmental condition of the lab. The main purpose is to design an application that will monitor, analyze and display the information continuously in a graphical format. Since the embedded system is resource-constrained, the design mode of the GUI of the traditional PC is not acceptable because its memory consumption is relatively large and takes up more CPU time. The lab monitoring system uses Qt /Embedded under embedded Linux as its GUI development platform, which can fully satisfy the restriction of embedded system resources. Fig1. System architecture of real time monitoring system IJEDR1402091 International Journal of Engineering Development and Research (www.ijedr.org) 1850

The various sensors are connected to the Raspberry Pi via an ADC. The ADC is connected to the Raspberry Pi at the SPI pin. The data from the sensors will be moved to the SPI pin that will be taken as an input of the system and is sent to the Qt creator Platform. At the Qt Creator application, the received input will be displayed. The main task is to create a GUI application that will display the input not only in text format. But as the data changes, it will display the change in value of the input in a graphical representation. There will be a plot created that will display the changes in data on the sensors immediately as the value on the sensors gets updating. The GUI application is such that the changes monitored on the sensors will be immediately plotted in a graphical format. That is, the graph will be updating in Real time. The changes will be made on the graph in real time as the values on the sensors are updated. As QT uses C + + as its programming language, it can implement hybrid programming with linux-c. Write the linux system calls as parts of the slots functions which can respond to specific signals in order to achieve the combination of Qt / Embedded and linux-c. Of course, to achieve reading and writing of a specific device file, there must be device drivers which provide reading and writing operation interface functions. Therefore, we need to complete the configuration of the drivers of sensors and other external peripherals. The Intelligent Monitoring System uses QT to complete GUI on the ARM head-end machine to achieve the graphical display of data collected by a variety of sensors. III. IMPLEMENTATION A. Hardware Design The Raspberry Pi is a low cost single-board, credit card sized Linux computer. It is developed by the Raspberry Pi Foundation in the UK. It is controlled by a modified version of Debian Linux optimized for the ARM architecture.it has two models model A and model B. The Model B has 512 MB RAM, BCM2385 ARM11, 700 Mhz System on chip processor.the Raspberry Pi is connected with the ADC that will be in turn connected to the various sensors. The sensors will have an analog output which can be converted into digital with the help of ADC. The ADC is connected with the Raspberry Pi through SPI configuration. The ADC used here is ADS7841 that is 12 bit 4 channels ADC. The current and voltage are measured using Current Transformer sensor and Voltage Transformer sensor. Using these sensors, continous monitoring of voltage and current is carried out. The result of monitoring is saved automatically in a pdf format at regular interval. If the readings exceed the normal limit, an automatic control system is designed that will invoke the relay. The relay is connected to the device whose current is being monitored. Whenever the result exceeds a certain limit, relay will cut off the connection with the hardware device connected to it. Fig 2. Hardware Configuration B. Software Design In this system, the user interface is designed by QT Creator. Qt/Embedded is developed by Trolletch Company in Netherlands for embedded systems. It is popular GUI that is mainly used in embedded Linux. It is easy to transplant to Linux as well as Microsoft Windows. A friendly man machine system is very important for monitoring system. Using QT Creator, the man machine interface looks much sophisticated and easy for monitoring the voltage and current of any system. The GUI is designed to display the desired sensors results in a graphical format. This means that the monitoring is achieved in real time. As the sensors data is updated, the changes can be immediately seen on the graph in real time. The graph will update itself and add the latest results continuously. Various power related parameters are calculated and stored in a IJEDR1402091 International Journal of Engineering Development and Research (www.ijedr.org) 1851

text file. The text file consists of the readings of voltage and current and all the related parameters calculated in numerical format. The real time graph is stored in a PDF format. The various sensors event handling can be explained by the following flowchart: REAL TIME PLOTTING Fig 3: Event handling of various sensors In research labs, a lot of different computer simulations are created. The simulations usually produce a lot of data, which is normally analyzed after the simulation has finished. The analysis is a lengthy process. During the first stages, a lot of graphs which tell us various things about the data are generated. Often the most important conclusion drawn from a data plot is that we need to re-run the simulation with a different set of parameters. This can be frustrating, as sometimes the simulations have to run for many hours, or even several days. We realized that almost every time we created a new simulation, we also created a new data visualization module in order to be able to watch how the simulation variables change during the simulation s live-time. In the vast majority of cases these visualization modules are some kind of graph plotters. There are many plotting tools around, some of which offer very advanced data analysis features. However, there is no tool suitable for our requirements - being able to plug into various sensors data changes and plot their output in real-time. Real Time Graph is a professional solution for exploratory data analysis. It is particularly useful while visually searching data at particular instant or interesting features. It allows for live monitoring of real-time data. The focus lies on a very fast and easy to use interface, rather than on powerful analysis tools. IV. IMPLEMENTATION RESULTS. The results obtained are shown below: 1. When the current sensor is connected with a 100W bulb. And the voltage transformer sensor is measuring the input voltage. 2. A pop up that asks if we want to save the result obtained in PDF format. The pop-up comes up automatically after every 100 sec result is been displayed on the monitor. IJEDR1402091 International Journal of Engineering Development and Research (www.ijedr.org) 1852

Fig 4: Implementation Result Fig 5: Export File V. CONCLUSION In the post-pc era, the embedded system technology develops rapidly and the design of embedded GUI is important and indispensable components of it. This work focuses on solving the issues of poor real time, high cost, low precision and incapability of determining whether the lab environment is in line with the body s health indicators in the laboratory management. It develops a laboratory monitoring system and GUI application based on Qt / Embedded that will graphically displays the monitored data in real time. With a perfect support of the embedded system technology, we believe that the monitoring system will have better performance and broader market prospect. VI. ACKNOWLEDGEMENT Apart from the efforts of myself, the success of any project depends largely on the encouragement and guidelines of my guide, Prof. Vijay N. Chavda. I take this opportunity to express my gratitude towards him for his useful comments, remarks and engagement through the learning process of this master thesis.. I can t say thank him enough for the tremendous support and help. I feel motivated and encouraged every time I attend his meeting. Without his encouragement and guidance this project would not have materialized. REFRENCES [1] Chen Kun, Chen Yun-qiu, Liu Xin. Application design based on Qt / Embedded and embedded Linux [J]. Computer and Digital,Engineering, 2009,37 (1): 156-161. [2] WEI Dong-shan, Complete Guide to Embedded Linux Application Development, Posts & Telecom Press, Beijing, 2008, 8. pp.21-23. [3] Jasmin Blanchette and Mark SummerfieldI, C++ GUI Programming with Qt 4 (2nd Edition). New Jersey: Prentice Hall, February 2008, pp. 279-280 [4] Linux Frame Buffer Driver Developer [EB/OL], http://www.linux-fbdev.org/ IJEDR1402091 International Journal of Engineering Development and Research (www.ijedr.org) 1853

[5] S.S.Sadistap, S.A.Akbar, B.A.Botre, Design and Development of Digital PID Controller for DC Motor Drive System Using Embedded Platform for Mobile Robot. International Advance Computing Conference (IACC) 2013 IEEE 3 rd international [6] M.Shankar, B.Lalitha, Akhil C.V, Nijin Karthik. C, Praveen T.T, A. Sasi kumar Real Time Controlling and Testing In an Embedded Processor under a Multitasking Environment International Journal of Engineering Research and development (ijerd) Volume 6, Issue 10 (April 2013), PP. 54-59 54 [7] M. Chiandone, S. Cleva, A. Massi Pavan and G. Sulligoi Monitoring applications of electrical and climate data for PV systems using Linux RTAI Clean Electrical Power, 2009 international conference. [8] Zhang Qinghui, Li Xudong GUI Design of Grain Monitoring and Control System Based on QT 2010 2nd International Conference on Signal Processing Systems (ICSPS) v2-20, v2-22 [9] Fan Shengwen, Chen Licong, Wen Chunxue, Software Design of Wind Power Supervisory Control System Based on Embedded Qt Electrical and Control Engineering (ICECE) 2011 international conference [10] Srinivas Raja, G. SrinivasBabu, Design of Web based Remote Embedded Monitoring system International Journal of Technology and Engineering system(ijtes),jan-march 2011-Vol.2,No.2. [11] Fang Hongping, Fang KangLing, The Design of Remote Embedded Monitoring System based on Internet International Conference on Measuring Technology and Mechatronics Automation,,2010. IJEDR1402091 International Journal of Engineering Development and Research (www.ijedr.org) 1854