Abhyarthana Bisoyi 1, Umesh Chandra Pati 2

Similar documents
Implementation of ON/OFF and PID controller using TCP Protocol Based on Virtual Instrumentation

Internet-Based ON/OFF Controller Using LabVIEW

Simulation and Modeling of 6-DOF Robot Manipulator Using Matlab Software

Health monitoring of an power amplifier using an ethernet controller

CURRICULUM VITAE. Discipline University /Board Year % Secured. Indian Institute of Technology (IIT), Kharagpur. (NIT), Rourkela

Control Technology. motion controller and power amplifier

A liquid level control system based on LabVIEW and MATLAB hybrid programming

Design of Telemetry in Student Imaging Satellite

University College of Southeast Norway. LM-900 Level Tank. Hans-Petter Halvorsen,

Datalogging in LabVIEW

Simulation of Signals with Field Signal Simulator

Speed Control of A DC Motor Through Temperature Variation Using NI ELVIS LabVIEW

Intelligent Pressure Measuring System

Applied Medical Informatics Using LabVIEW

Development of Low Cost Monitoring Data Logger Fluid Temperature via Wireless System

DESIGN OF CALORIMETER BASED ON ARM AND ZIGBEE

AC : DESIGN OF DATA ACQUISITION SYSTEM FOR COMPUTER ENGINEERING EDUCATION

Non-Contact Water Level Monitoring using Labview with Arduino and Ultrasonic Sensor

LabVIEW Basics I: Introduction Course

Embedded Surveillance System using Multiple Ultrasonic Sensors

Meta-Content framework for back index generation

DESIGN OF AN INTELLIGENT NITROGEN INJECTION SYSTEM FOR FIRE SAFTEY OF POWER TRANSFORMER

International Journal of Advance Engineering and Research Development. LabVIEW Based Wireless Switch Control System

Assessing Package Reusability in Object-Oriented Design

Introduction to Labview and Temperature Measurement

Data Acquisition Laboratory

AC : REACTIVATION OF A SIX-DEGREE-OF-FREEDOM RE- PEATED IMPACT MACHINE USING PROGRAMMABLE LOGICAL CON- TROLLER (PLC)

PROCESS CONTROL ACROSS NETWORK

Grid Connected Converter

Implementation of Adaptive Buffer in Video Receivers Using Network Processor IXP 2400

Virtual Lab: Real-Time Acquisition and Analysis of ECG Signal

Micro physical simulation system of electric power systems

A Comparative Analysis of Traffic Flows for AODV and DSDV Protocols in Manet

Web Based Greenhouse Environment Monitoring and Controlling System using Arduino Platform.

Real time data acquisition using mobile robot

International Journal of Engineering Research ISSN: & Management Technology

Data Acquisition HANS-PETTER HALVORSEN,

Impact of Black Hole and Sink Hole Attacks on Routing Protocols for WSN

Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics.

Controller IP for a Low Cost FPGA Based USB Device Core

Real-Time High Performance Computing Platform for Smart Grid Applications

Design of a Low Cost Trainer for Flow Control

Microcontroller Based High Resolution Temperature Monitoring Data Acquisition System with Graphical User Interface

Performance Evaluation of CoAP and UDP using NS-2 for Fire Alarm System

Implementing Crytoptographic Technique in Cluster Based Environment for Secure Mobile Adhoc Networks

Programming for the LabVIEW Real-Time Module Using LabWindows/CVI

Delayed ACK Approach for TCP Performance Improvement for Ad Hoc Networks Using Chain Topology

Research on function and design of virtual instrument based on LabVIEW Technology

Teaching Control System Principles Using Remote Laboratories over the Internet

Application of Co-simulation Technology Based on LabVIEW and Multisim in Electronic Design

Keyless Car Entry Authentication System Based on A Novel Face-Recognition Structure

Development of EDA Tool with Easy Plugin for New VLSI Algorithms Ashwini Desai, Ashwini Baligatti, Harsha Pal, Savita Y.

Performance analysis of QoS-Oriented Distributed Routing protocols for wireless networks using NS-2.35

The Modified Scheme is still vulnerable to. the parallel Session Attack

AC : MATHEMATICAL MODELING AND SIMULATION US- ING LABVIEW AND LABVIEW MATHSCRIPT

Research on Automotive UDS Diagnostic Protocol Stack Test System

Intelligent Network Design of intelligent multinode Sensor networking

Load balancing with Modify Approach Ranjan Kumar Mondal 1, Enakshmi Nandi 2, Payel Ray 3, Debabrata Sarddar 4

A Review on Smart Bulb & Proposed a Real Time Vision Based Smart Bulb using Image Processing

A METHOD FOR DETECTING FALSE POSITIVE AND FALSE NEGATIVE ATTACKS USING SIMULATION MODELS IN STATISTICAL EN- ROUTE FILTERING BASED WSNS

Published in A R DIGITECH

Implementation & Throughput Analysis of Perfect Difference Network (PDN) in Wired Environment

PERFORMANCE ANALYSIS OF AF IN CONSIDERING LINK UTILISATION BY SIMULATION WITH DROP-TAIL

International Journal of Scientific & Engineering Research, Volume 4, Issue 7, July ISSN

Efficient Cluster Based Data Collection Using Mobile Data Collector for Wireless Sensor Network

A Field Monitor System of Rodpumped Wells Based on GPRS

SOME NEW CLASSES OF GRACEFUL DIAMETER SIX TREES

Establishing a Validated Automated System for Attenuation Measurement at DC-18GHz Frequencies

Real Time Data Acquisition and Home Parameters Monitoring using LabVIEW

From lab to production, providing a window into the process. Dynisco's ATC990 and UPR900 Applications and Setup

DATA ACQUISITION SYSTEM USING LABVIEW

REPORT FORMAT FOR PREPARATION OF SEMINAR REPORT/ PROJECT REPORT

Empirical Mode Decomposition Based Denoising by Customized Thresholding

Development of Remote Access and Control Features for Digital Signal Processing Laboratory Experimentations

A Comparative Analysis of Energy Preservation Performance Metric for ERAODV, RAODV, AODV and DSDV Routing Protocols in MANET

On the Design and Implementation of User-friendly Interface for Scientific and Engineering Applications

Enhancing Fairness in OBS Networks

Review: Performance Evaluation of TCP Congestion Control Mechanisms Using Random-Way-Point Mobility Model

DEVELOPMENT OF ADVANCED AUTOMATED RAILWAY GATE CONTROL SYSTEM K.C.Shanmugapriya, R.Paarthasarathy, M.Siva kumar, G.Thenilavan

International Journal of Advance Research in Computer Science and Management Studies

REAL-TIME ANALYSIS OF A MULTI-CLIENT MULTI-SERVER ARCHITECTURE FOR NETWORKED CONTROL SYSTEMS

SOLARIUM: HOME AUTOMATION SYSTEM USING BLUETOOTH

Dynamic Deferred Acknowledgment Mechanism for Improving the Performance of TCP in Multi-Hop Wireless Networks

M2M Communication in Ad-Hoc WSNs for Industrial Application Using MQTT Protocol

K Anup Kumar et al,int.j.comp.tech.appl,vol 3 (1), 32-39

DATASOCKET TECHNOLOGY AND ITS APPLICATION IN EQUIPMENT REMOTE CONDITION MONITORING AND FAULT DIAGNOSIS

A Smart Card Based Authentication Protocol for Strong Passwords

PERFORMANCE EVALUATION OF AODV AND DSR ROUTING PROTOCOLS IN MANET NETWORKS

Automation in Industry for speed control of conveyor belt Drive

Dr. V.U.K.Sastry Professor (CSE Dept), Dean (R&D) SreeNidhi Institute of Science & Technology, SNIST Hyderabad, India

Smart Autonomous Camera Tracking System Using myrio With LabVIEW

Transient Stability Improvement of Long Transmission Line System by Using SVC

Estimation of worst case latency of periodic tasks in a real time distributed environment

Controllability of Complex Power Networks

Variational Level Set Formulation and Filtering Techniques on CT Images

Controlling and Monitoring Of Industrial Parameters by Using GSM

Development of a Smart Power Meter for AMI Based on ZigBee Communication

VLSI ARCHITECTURE FOR NANO WIRE BASED ADVANCED ENCRYPTION STANDARD (AES) WITH THE EFFICIENT MULTIPLICATIVE INVERSE UNIT

MAINTAIN TOP-K RESULTS USING SIMILARITY CLUSTERING IN RELATIONAL DATABASE

Optimization of Bit Rate in Medical Image Compression

Transcription:

Implementation of ON/OFF and PID controller using TCP Protocol Based on Virtual Instrumentation Abhyarthana Bisoyi 1, Umesh Chandra Pati 2 Postgraduate Scholar, NIT Rourkela, India 1 Associate Professor, NIT Rourkela, India 2 abhyarthana.bisoyi2@gmail.com ucpati@nitrkl.ac.in Abstract LabVIEW (Laboratory Virtual Instrument Engineering Workbench) is the software which gives virtual existence of hardware, reduces its cost and hence termed as Virtual Instrumentation. This paper deals with the implementation of ON/OFF and PID controller for controlling the temperature of a heating element inside a wooden box with the help of LabVIEW. In this software, Transmission Control Protocol (TCP) is used for developing an online transmission process between client and server. Client has control over the set point and Server has control over the temperature. In hardware section, a Data Acquisition (DAQ) card reads temperature from sensor and delivers to Server. With the help of internet protocol, client provides the value of set point according to which the control actions are taken by the server. The paper also includes discussions regarding the advantages and disadvantages of TCP/IP. Keywords Data Acquisition, ON/OFF, PID, TCP/IP, LabVIEW 1. Introduction The basic controllers used to control a process variable at its set point are ON/OFF, P, PI, PID and PID fuzzy. There are various networking protocols used in LabVIEW such as DS (DataSocket Protocol), TCP (Transmission Control Protocol), and UDP (User Datagram Protocol) which provides online facilities to the users. These are the basic tools for communication over internet. In 2007, S. Murthy, et al. [1] described in their paper about protocols and the way these protocols help in improving networking capabilities of many measurement and automation applications. LabVIEW encourages such protocols in control applications. In 23 2003, E. Rézaei, et al. [2] and in 2009, K. Prerna, et al. [3] proposed a system where the temperature of a bulb inside a wooden box is controlled by using ON/OFF controller, with the help of DS Protocol and also developed the algorithm. In 2011, R. Dutta, et al. [4] proposed a system where the temperature of a set of light bulbs inside a wooden box is controlled using DS Protocol and digital temperature sensor. In 2011, A.O. Neaga, et al. [5] proposed a system to control liquid nitrogen to its set point using ON/OFF controller, but there are certain defects in the control loop. In 2011, S.K. Sahoo, et al. [6] described about PI-PID controller in order to control the speed of DC motors using various algorithms. In 2009, J. Liu, et al. [7], described about various PID algorithms to control position of a DC motor using (Data Acquisition) DAQ. In 2012, Y. Li, et al. [8] discussed about vulnerabilities of TCP/IP by exposing it to attacks. In 2011, J.H. Zhang, et al. [9] proposed an acquisition diagnostic system for remote ground equipment using LabVIEW. The objective of this paper is to measure and control the temperature of a heating element inside a box. This is performed by using LabVIEW (Laboratory Virtual Instrument Engineering Workbench) software, by developing a Client and a Server. They communicate using TCP/IP, Server controls the temperature using ON/OFF and PID controller. Client has an option to decide the set point. Rest of the paper is organized as; the Proposed System is discussed in Section 2. Algorithm of the controllers is described in Section 3. The simulation results along with discussions on it are presented in Section 4. More details about the TCP/IP protocol are discussed in Section 5. The paper is concluded in Section 6. 2. Proposed System The main objective of this is to maintain the temperature inside a wooden box which is heated

by a heating element i.e. a bulb, at some desired Error = Set Point- Process variable (2) value of set point which is selected by Client. After the calculation of error the temperature is Figure 1 s hows the block diag ram of Propos ed controlled by two ways. The algorithms for these two Sys tem. The heating element is covered by a wooden controllers are discussed in following two subsections box and on heating; the temperature is sensed by respectively. temperature sensor and is transmitted to the server PC with the help of DAQ card. Since, the output of sensor is in voltage form, the server PC converts it to temperature using Equation 1. PV = 6. Vin + 60 (1) Where, PV is Process Variable Vin is voltage measured by sensor This value of temperature i.e. process variable (PV) is sent to client PC. The client PC on receiving PV sends set point (SP) value to the server PC. Depending upon the SP, ON/OFF and PID controller take necessary actions. The actions are in the form of signals that control the operation of fan. When the temperature crosses the neutral zone, controller turns a fan ON or OFF accordingly. Neutral zone is the zone bounded by low and high limit. Figure 2. Flow chart of proposed system. Algorithm for ON/OFF controller: The logic behind the implementation of the controller is described as, 1. The calculated error is compared with upper limit and lower limit. 2. Accordingly, the indicators show the state and action has been taken. The state is seen through the Within Limit and Out of Limit indicator. The control action has been implemented by using a fan in order to control the temperature. So the Fan ON and Fan OFF indicators show the control action to be taken. Figure1. Block Diagram of the Proposed System. 3. Algorithm The flow chart of the proposed system is shown in Figure 2. Equation 2 is used by Server in order to find error, 3. The comparison has been done with three conditions. A). If Error > 0 AND PV > Low Limit then the indicators states are: If condition is not satisfied, then the indicators states are: Cooling Fan ON: ON 24

B). If Error < 0 AND Tout< High Limit, then the within limits indicator is turned ON while the rest indicators states are: two indicators remain OFF. The TCP/IP icons can be Cooling Fan ON: ON seen in the block diagram. The detailed description about these icons is mentioned in Section 5. The port address is 2055 which is given as input to the TCP OPEN CONNECTION in Client side and as input to If condition is not satisfied, then the indicators TCP LISTEN icon in Server side. states are: C). If Error = 0 then the indicators states are: If condition is not satisfied, then the indicators states are, Algorithm for PID controller: Using the following steps, manually the PID tuning parameters has been set and the output response is obtained. 1. First and values has been set to zero. Figure 3. Front Panel of ON/OFF controller Server. 2. has been increased until the output of the loop oscillates. 3. has been set to approximately half of that value for a "quarter amplitude decay" type response. 4. has been increased until any offset is corrected for the process. 5. has been increased if required but too much causes excessive response and overshoot. 4. Results and Discussion In LabVIEW the front panel shows only the inputs and the outputs. The main programming part is presented in the block diagram. The front panel of the ON/OFF controller server is shown in Figure 3 and the block diagram is shown in Figure 4.In this case, the value of PV is greater than SP, the calculated error is positive and hence the fan OFF indicator is turned ON. Since PV is less than the high limit, the 25 Figure 4. Block Diagram of ON/OFF controller Client. The front panel of the PID controller server using TCP protocol is shown in Figure 5 where the set

point is set to 60. The front panel of PID controller The graph obtained in the front panel of server is client is shown in Figure 6. shown in Figure 7. It is clearly seen that the PV is controlled to its SP value with less time. Figure 5. Front Panel of PID controller Server. In this case, also the PV value is sent to the client and the client sets the SP. This is the manual tuning results where the values of tuning parameters of PID controller,, and has been tuned to 3, 0.048 and 0 respectively. Figure 7. Graph of PID controller. 5. Communication through Internet using TCP/IP TCP allows to setup data communication between virtual instruments on a network using internet protocol addresses and port numbers. The Advantages of TCP/IP is that it allows variable length messages which help the clients to initiate the transfer of information, data is buffered by receiver and servers can be developed wherever it is necessary. The Disadvantage of TCP/IP is that it is very complicated to setup. Figure 6. Front Panel of PID controller Client. 26 For Client PC In Client PC, TCP OPEN CONNECTION has been called with the IP Number, the port number that has been connected with a suitable timeout. For TCP WRITE, a string and CONNECTION ID has been provided that is obtained from TCP OPEN CONNECTION. The SP that is in integer format has been converted to string by using typecast. TCP READ has been called and is provided with the connection id (obtained from TCP OPEN CONNECTION), a mode, and a number of bytes to read. When transmission is over, TCP CLOSE CONNECTION has been called. For Server PC

[6] S. K. Sahoo, R. Sultana, and M. Rout, Speed control of dc motor using modulus hugging approach, Proceedings of International Conference on Sustainable Energy and Intelligent Systems (SEISCON), pp. 523 528, July 2011. [7] J. Liu, P. Zhang, and F. Wang, Real-time dc servo motor position control by PID controller using LabVIEW, Proceedings of International TCP CREATE LISTENER has been called and this provides a listener id. In a while loop; TCP LISTENER has been called using the listener id that is just obtained. When a connection comes in, the LISTENER function has returned without an error. TCP READ and TCP WRITE has been called. When transmission is over, TCP CLOSE CONNECTION has been called, and the loop is repeated, to wait for another connection to come in. 6. Conclusion PID controller response is faster and stable than ON/OFF controller. Basing on the operation, ON/OFF controller is more simple and easy to program than PID controller. Using TCP/IP, the online operation becomes easier for remote clients and server. ON/OFF controller does not work properly all the time since it goes for force error correction. PID controller eliminates the temperature error by increasing the correcting output. The work can be extended by using Fuzzy PID controllers. Online communication can be extended by using FTP (File Transfer Protocol), e-mails, etc. References [1] S.S. Murthy, R.K. Mittal, A. Dwivedi, G. Pavitra, and S. Choudhary, Online performance monitoring and testing of electrical equipment using virtual instrumentation, Proceedings of 7th International Conference on Power Electronics and Drive Systems,(PEDS), pp. 1608 1612, Nov. 2007. [2] E.K. Rézaei and S.R. Kolla, Internet-based ON/OFF controller using LabVIEW, Proceedings of 2003 American Society for Engineering Education Annual Conference & Exposition, American Society for Engineering Education, 2003. [3] K. Prema, N. Kumar, and K.A. Sunitha, Online temperature control based on virtual instrumentation, Proceedings of International Conference on Control, Automation, Communication and Energy Conservation, (INCACEC), pp. 1 4, June 2009. [4] R. Dutta, and P. Ghosh, Implementation of a Smart Temperature Controller in Real Time using LabVIEW, International Journal of Smart Sensors and Ad Hoc Networks, (IJSSAN) ISSN No. 2248-9738, Vol. 1, Issue 2, 2011. [5] A.O. Neaga, C. Festila, E.H. Dulf, R. Both, T. Szelitzky, et al., Monitoring and control of liquid nitrogen level of the 13c separation column using ni pxi-1031, Proceedings of 6th IEEE International Symposium on Applied Computational Intelligence and Informatics (SACI), pp. 35 40, May 2011. Conference on Intelligent Human-Machine Systems and Cybernetics, (IHMSC), vol. 1, pp. 206 209, Aug. 2009. [8] Y. Li and K. Jiang, Prospect for the future internet: A study based on TCP/IP vulnerabilities, Proceedings of International Conference on Computing, Measurement, Control and Sensor Network (CMCSN), pp. 52 55, July 2012. [9] J. H. Zhang and X. M. Liu. An acquisition system for remote diagnostics of airport special equipment based on L abview, Proceedings of International Conference on Computational and Information Sciences (ICCIS), pp. 744 746, Oct.2011. Abhyarthana Bisoyi was born in Berhampur, 1989. She received her B.T ech. degree in Electronics & Communication Engineering from NIST, Berhampur, in 2011. Currently she is pursuing her M.T ech. degree in Electronics & Inst rument at ion Engineering from National Institute of Technology, Rourkela, India. Her areas of interest are Industrial Instrumentation, Control System and Networking. Umesh Chandra Pati belongs to Cuttack district in Odisha. He obtained his B.E. degree in Electrical Engineering from Regional Engineering College (now National Institute of Technology), Rourkela, Odisha. He received both M.Tech. and Ph.D. degrees in Electrical Engineering with specialization in Instrumentation and Image Processing respectively from Indian Institute of Technology, Kharagpur. Presently, he is serving as Associate Professor in the Department of Electronics and Communication Engineering, National Institute of Technology, Rourkela, Odisha. His current areas of interest are Instrumentation, Image Processing, and Computer Vision. He has published two books and more than 45 research papers in referred journals and conference proceedings. He has served as referee in different international journals and conferences. He is a member of IEEE and life member of various professional bodies like The Indian Society for Technical Education, Instrument Society of India and The Institution of Engineers (India). 27