19
About Plant Communication MODBUS MATLAB Code and Results Tools Used Communication of Heat Exchanger Process through Modbus TCP/IP Protocol through MATLAB Pritesh Shah,Prof Sudhir Agashe, Sadik Tamboli, Rupesh Thoraiet Department of Instrumentation & Control Engineering, College of Engineering, Pune Department of Electronics and Telecommunication, Symbiosis Institute of Technology, Pune Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

Communication of Heat Exchanger Process Through Modbus TCP

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Communication of Heat Exchanger Process throughModbus TCP/IP Protocol through MATLAB

Pritesh Shah,Prof Sudhir Agashe,Sadik Tamboli, Rupesh Thoraiet

Department of Instrumentation & Control Engineering,College of Engineering, Pune

Department of Electronics and Telecommunication,Symbiosis Institute of Technology, Pune

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Outline

About Plant

Communication

MODBUS

MATLAB Code and Results

Tools Used

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Abstract

Title: Communication of Heat Exchanger Process through Modbus TCP/IPprotocol through MATLAB for data analysis and control purpose

I A heat exchanger process is connected to the PLC and PLC has aModbus Ethernet port.

I A Modbus TCP/IP protocol is communicated successfully throughMATLAB product Instrument Control Toolbox.

I After this communication, we are able to do data analysis of processand setup for the research experiment purpose.

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Boiler and Heat Exchanger Plant Specifications

I Type of Heat Exchanger: Pipe in pipe counter current type

I Boiler Heat Capacity: 30 Kg/hour

I Boiler Operating Range: 3.5 bar and 1470C

I Boiler Type: Electrical Heater (18KW)

I PLC Used: Mircologix 1400 (Allen Bradly)

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Boiler and Heat Excahnger Plant

Figure: Boiler and Heat Exchanger Pilot plant

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Control Room

Figure: Control Room for Boiler and Heat Exchanger Plant

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

Figure: Mimic Diagram of Boiler and Heat Exchanger Plant

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

MODBUS

I MODBUS is an application-layer messaging protocol, positioned atlevel 7 of the OSI model.

I It can be implement by following ways

1. MODBUS RTU (Remote Terminal Unit)2. MODBUS TCP/IP

I MODBUS TCP/IP protocol can be connected through many pointscompared where in RTU protocol can be connected to only one point.

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Communication with Plant

I Boiler and hear exchanger plant are connected through PLC to MAT-LAB sofware through TCP/IP Modbus protocol.

I Modbus protocol has mainly two different kinds of approaches namelyserially connection and Ethernet connection.

I In our experimental set up, plant is connected through Modbus TCP/IPprotocol.

I Initially, we faced some problem in serial Modbus.

I Advantage of TCP/IP Modbus protocol over serial Modbus protocol isthat connection of hardware can be made from any computer which isin the same network.

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Topology of Communication

Figure: Topology of Communication

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Message Structure Modbus

Figure: MODBUS Message Structure

I Transaction Identifier: 2 bytes set by clientI Protocol Identifier: 2 bytes set by client (always 00 00)I Length: 2 bytes, number of bytes in the message to follow

(Depending upon Reading and writing operation )I Unit Identifier: 1 byte (Slave ID)I FCode: Function code (1 byte) for MODBUS operation e.g. read

analog register (03)

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

MATLAB Code

I Function for reading data: gen pdu read TCP.m

I Fetch process data from received data

I Function for writing data gen pdu write TCP.m

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Data Drop in MATLAB

20 40 60 80 1000

50

100

150

Sample

Tem

p(C

)

Plot for Boiler Temperature

Figure: Data Dropuout in MATLAB

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Boiler and Heat Exchanger Data

20 400

50

100

150

Plot for Boiler Temperature (C)

20 400

50

100

Plot for Boiler Level

Figure: Boiler and Heat Exchanger Data

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Boiler and Heat Exchanger Data

20 400

2

4

Plot for Boiler Pressure (bar)

20 400

2

4

Plot for Steam Flow

Figure: Boiler and Heat Exchanger Data

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Graphical User Interface

Figure: GUI for Communication

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Problem Faced

I Continuous Data refresh in GUI

I Fetching Data with 0.1 sec sampling time

I Random Data in between (See figure of Data Drop)

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Tools used for MODBUS Protocol

I MATLAB

I Instrument Control Toolbox

I MATLAB GUI

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh

About PlantCommunication

MODBUSMATLAB Code and Results

Tools Used

Thank [email protected]

Pritesh ,Prof Sudhir Agashe, Sadik , Rupesh