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

Similar documents
Abhyarthana Bisoyi 1, Umesh Chandra Pati 2

Internet-Based ON/OFF Controller Using LabVIEW

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

Health monitoring of an power amplifier using an ethernet controller

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

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

Datalogging in LabVIEW

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

Intelligent Pressure Measuring System

Applied Medical Informatics Using LabVIEW

Design of Telemetry in Student Imaging Satellite

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

Grid Connected Converter

Control Technology. motion controller and power amplifier

DESIGN OF CALORIMETER BASED ON ARM AND ZIGBEE

Simulation of Signals with Field Signal Simulator

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

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

LabVIEW Basics I: Introduction Course

Controller IP for a Low Cost FPGA Based USB Device Core

Meta-Content framework for back index generation

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

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

Introduction to Labview and Temperature Measurement

AC : DESIGN OF DATA ACQUISITION SYSTEM FOR COMPUTER ENGINEERING EDUCATION

Data Acquisition Laboratory

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

REPORT FORMAT FOR PREPARATION OF SEMINAR REPORT/ PROJECT REPORT

PROCESS CONTROL ACROSS NETWORK

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

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

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

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

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

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

Real time data acquisition using mobile robot

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

Data Acquisition HANS-PETTER HALVORSEN,

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

Assessing Package Reusability in Object-Oriented Design

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

Real-Time High Performance Computing Platform for Smart Grid Applications

Design of a Low Cost Trainer for Flow Control

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

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

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

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

ISSN: (Online) Volume 2, Issue 4, April 2014 International Journal of Advance Research in Computer Science and Management Studies

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

POSITION CONTROL OF DC SERVO MOTOR USING FUZZY LOGIC CONTROLLER

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

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

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

Teaching Control System Principles Using Remote Laboratories over the Internet

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

A Novel Architecture of Parallel Multiplier Using Modified Booth s Recoding Unit and Adder for Signed and Unsigned Numbers

Embedded Surveillance System using Multiple Ultrasonic Sensors

Research on Automotive UDS Diagnostic Protocol Stack Test System

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

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

STUDY AND COMPARISION OF PROACTIVE AND REACTIVE ROUTING PROTOCOL FOR MULTICHANNEL WIRELESS AD-HOC NETWORK

Published in A R DIGITECH

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

Micro physical simulation system of electric power systems

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

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

DATA ACQUISITION SYSTEM USING LABVIEW

International Journal of Engineering Research ISSN: & Management Technology

International Journal of Advance Research in Computer Science and Management Studies

Design and Simulation of Power Optimized 8 Bit Arithmetic Unit using Gating Techniques in Cadence 90nm Technology

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

SOLARIUM: HOME AUTOMATION SYSTEM USING BLUETOOTH

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

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

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

Secure Group Key Management Scheme for Multicast Networks

Transient Stability Improvement of Long Transmission Line System by Using SVC

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

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

DESIGN AND DEVELOPMENT OF A WIRELESS SENSOR MODEL FOR VEHICULAR AREA NETWORKS

Smart Autonomous Camera Tracking System Using myrio With LabVIEW

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

MAINTAIN TOP-K RESULTS USING SIMILARITY CLUSTERING IN RELATIONAL DATABASE

Controllability of Complex Power Networks

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

Optimization of Bit Rate in Medical Image Compression

An Adaptive and Optimal Distributed Clustering for Wireless Sensor

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

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

Microcontroller Based Data Acquisition System

Adaptive Buffer size routing for Wireless Sensor Networks

A Field Monitor System of Rodpumped Wells Based on GPRS

Real Time Data Acquisition and Home Parameters Monitoring using LabVIEW

An Energy Efficient Intrusion Detection System in MANET.

LabVIEW Communication Techniques for Distributed Applications

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

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 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 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 22 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 value of set point which is selected by Client. Figure 1 shows the block diagram of Proposed System. The heating element is covered by a wooden box and on heating; the temperature is sensed by

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. 3. The comparison has been done with three conditions. Figure 1: 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, Error = Set Point- Process variable (2) After the calculation of error the temperature is controlled by two ways. The algorithms for these two controllers are discussed in following two subsections respectively. 23 A). If Error > 0 AND PV > Low Limit then the indicators states are: states are: Cooling Fan ON: ON B). If Error < 0 AND Tout< High Limit, then the indicators states are: Cooling Fan ON: ON

states are: C). If Error = 0 then the indicators states are: 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. 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. Figure 3: Front Panel of ON/OFF controller Server 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 within limits indicator is turned ON while the rest two indicators remain OFF. The TCP/IP icons can be 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 TCP LISTEN icon in Server side. 24 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 client is shown in Figure 6.

Figure 7: Graph of PID controller 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 6: Front Panel of PID controller Client The graph obtained in the front panel of server is shown in Figure 7. It is clearly seen that the PV is controlled to its SP value with less time. 25 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. 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 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. [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 Conference on Intelligent Human-Machine Systems and Cybernetics, (IHMSC), vol. 1, pp. 206 209, Au g. 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.Tech. degree in Electronics & Communication Engineering from NIST, Berhampur, in 2011. Currently she is pursuing her M.Tech. degree in Electronics & Instrumentation 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). 26