sciscada toolbox

39
LOGO Zhe Peng [email protected] Institute of Industrial Control of Zhejiang University 28th Sep. 2006 SciSCADA Toolbox SciSCADA Toolbox

Upload: gaurav-soni

Post on 24-Nov-2014

209 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: SciSCADA Toolbox

LOGO

Zhe [email protected]

Institute of Industrial Control of Zhejiang University28th Sep. 2006

SciSCADA ToolboxSciSCADA ToolboxSciSCADA ToolboxSciSCADA Toolbox

Page 2: SciSCADA Toolbox

Contents

Introduction to SCADA1

The Design of SCADA System Based on Scilab2

The Realization of Data Acquisition with Scilab3

Applications and a Example in Water Enterprise4

OSSS-EA’2006

Conclusion and prospect5

Page 3: SciSCADA Toolbox

Introduction to SCADA1

The Design of SCADA System Based on Scilab2

The Realization of Data Acquisition with Scilab3

Applications and a Example in Water Enterprise4

OSSS-EA’2006

Conclusion and prospect5

Contents

Page 4: SciSCADA Toolbox

Introduction to SCADA

Widely used in industrial area because of its convenience.

OSSS-EA’2006

SCADA

Supervisory Control and Data Acquisition

Page 5: SciSCADA Toolbox

Introduction to SCADA

OSSS-EA’2006

Typical Hardware Architecture

Page 6: SciSCADA Toolbox

Introduction to SCADA

Typical Software Architecture

Page 7: SciSCADA Toolbox

Introduction to SCADA - Shortage and Solving Methods

Only implement the functions of data acquisition and data monitor, having no enough scientific computation ability to do complicated control and optimization.

OSSS-EA’2006

Shortage

a. Compute module should be imported in the SCADA system.

b. Developing the SCADA system based on scientific computation software.

Solving

Page 8: SciSCADA Toolbox

Introduction to SCADA1

The Design of SCADA System Based on Scilab2

The Realization of Data Acquisition with Scilab3

Applications and a Example in Water Enterprise4

OSSS-EA’2006

Conclusion and prospect5

Contents

Page 9: SciSCADA Toolbox

The Design of SCADA System Based on Scilab

Developing SCADA System based on Scientific Computation Software Scilab

OSSS-EA’2006

To Solve the Shortage of Traditional SCADA

We propose a method

Page 10: SciSCADA Toolbox

The Design of SCADA System Based on Scilab

1. Costs, Scilab is free.

OSSS-EA’2006

Why choose Scilab? Not Matlab, etc.

2. Source, Scilab open its Code source, which allow us modify the software according to our opinion, or integrate Scilab to our own software.

3.Toolbox, Scilab provides much toolbox in control and optimization area.

4. OS, Scilab support Linux operating system.

Page 11: SciSCADA Toolbox

The Design of SCADA System Based on Scilab

Data Acquisition

SciSCADA Software Frameworks

Configuring

DataMonitor

ControlData

Storage

TCL/TK

ScilabInterface

DLL

MySQLOPC

MobusEthernet

PIDFuzzy Control

OPC.dll Modbus.dll Ethernet.dll Mysql.dll

Module

Page 12: SciSCADA Toolbox

Laboratory

Factory

Can’t Exchange Data

Laboratory

Factory

Convenience Exchange Data

DiscreteOff-line

ContinuousOn-line

The Design of SCADA System Based on Scilab

Page 13: SciSCADA Toolbox
Page 14: SciSCADA Toolbox

The Design of SCADA System Based on Scilab

OSSS-EA’2006

We want to do…

Realizing control and optimization

on-line, not off-line

Page 15: SciSCADA Toolbox

Introduction to SCADA1

The Design of SCADA System Based on Scilab2

The Realization of Data Acquisition with Scilab3

Applications and a Example in Water Enterprise4

OSSS-EA’2006

Conclusion and prospect5

Contents

Page 16: SciSCADA Toolbox

The Key Technology

Realizing exchange data between factory and Scilab

What Should Do?

Developing Scilab Interface with Factory Device According to Some Industrial Protocol, Such as OPC, Field Bus, Industrial Ethernet, etc.

OSSS-EA’2006

The Realization of Data Acquisition with Scilab

Page 17: SciSCADA Toolbox

OPC interface

Modbus-ASCII interface

Industrial Ethernet (Modbus-TCP)

OSSS-EA’2006

The Realization of Data Acquisition with Scilab

What we have done?

Page 18: SciSCADA Toolbox

The OPC Foundation has established a set of standard OLE/COM interface protocols intended to foster greater interoperability between automation/control applications, field systems/devices, and business/office applications in the process control industry.

OSSS-EA’2006

The Realization of Data Acquisition with Scilab-OPC

OPC interface

Page 19: SciSCADA Toolbox

With OPC technology, we can acquisition data from different device easily.

And not need to know physical structure.

OSSS-EA’2006

The Realization of Data Acquisition with Scilab-OPC

What can OPC give us?

OPC Client #1

OPCServer

Vendor A

OPCServer

Vendor C

OPCServer

Vendor BOPC Client #2

OPC Client #3

Page 20: SciSCADA Toolbox

Through writing OPC DLL to extend Scilab’ OPC function.

OSSS-EA’2006

The Realization of Data Acquisition with Scilab-OPC

Developing OPC Interface

IUnknown

OPC.dll

OPC_ConnectOPC_DisConnect

OPC_WriteOPC_Read

OPC_AddGroupOPC_AddItem

Page 21: SciSCADA Toolbox

With SciSCADA toolbox, we can easily acquisition data from OPC server.

OSSS-EA’2006

The Realization of Data Acquisition with Scilab-OPC

Acquisition Data

Page 22: SciSCADA Toolbox

We also developed Modbus Protocol Interface, and Industrial Ethernet Protocol Interface.

They can let Scilab acquisitive data easily from device through Serial Port and Ethernet.

Also, to storage the data to database, we developed Mysql interface.

OSSS-EA’2006

The Realization of Data Acquisition with Scilab

Page 23: SciSCADA Toolbox

With SciSCADA toolbox, we can easily exchange data with Modbus device.

OSSS-EA’2006

The Realization of Data Acquisition with Scilab-Modbus

Page 24: SciSCADA Toolbox

With SciSCADA toolbox, we can easily exchange data with Modbus device.

OSSS-EA’2006

The Realization of Data Acquisition with Scilab-Modbus-TCP

Page 25: SciSCADA Toolbox

Introduction to SCADA1

The Design of SCADA System Based on Scilab2

The Realization of Data Acquisition with Scilab3

Applications and a Example in Water Enterprise 4

OSSS-EA’2006

Conclusion and prospect5

Contents

Page 26: SciSCADA Toolbox

OSSS-EA’2006

Applications-OPC

Simatic. Net

Rslinx OPC Factory Server

OtherOPC Server

GE OPC Server

Scilab SciSCADA Toolbox

Scilab SciSCADA Toolbox

Rockwell Vendor Product

Rockwell Vendor Product

Siemens Vendor Product

Siemens Vendor Product

Schneider Vendor Product

Schneider Vendor Product

GE Vendor Product

GE Vendor Product

Other Vendor Product

Other Vendor Product

Page 27: SciSCADA Toolbox

OSSS-EA’2006

Applications-OPC Example

OPC ClientOPC Client OPC ServerOPC Server

Exchange DataExchange Data

Software: RSView, etc…Software: RSView, etc…Hardware: PLC, etc…Hardware: PLC, etc…

Take ROCKWELL Vendor Product for Example

Scilab SciSCADA

Toolbox

Rslinx OPC

Server

Page 28: SciSCADA Toolbox

OSSS-EA’2006

Applications in a Water Enterprise

Water Supply Enterprise ask us to acquisitive data from device and storage data according to their need.

Also advanced control should included in the project.

Problem:

With SciSCADA Toolbox, we can easily acquisitive data from device, and Scilab’s compute ability enable us realizing advanced control.

Solving:

Page 29: SciSCADA Toolbox

Hardware framework

OSSS-EA’2006

Printer

LED

Mysql Server PLC

Scilab

PLC

EtherNet

Modbus

Instrumetn Transducer

OPC server

RS485

Applications in a Water Enterprise

Page 30: SciSCADA Toolbox

The software we designed based on Scilab

OSSS-EA’2006

Applications in a Water Enterprise

Data Monitor

Data Acquisition

Data Curve

Data Storage

Network Monitor

Main functions:

Page 31: SciSCADA Toolbox

The software we designed based on Scilab

Page 32: SciSCADA Toolbox

The software we designed based on Scilab

Page 33: SciSCADA Toolbox

The software we designed based on Scilab

Page 34: SciSCADA Toolbox

The software we designed based on Scilab

Page 35: SciSCADA Toolbox

The software we designed based on Scilab

Page 36: SciSCADA Toolbox

Introduction to SCADA1

The Design of SCADA System Based on Scilab2

The Realization of Data Acquisition with Scilab3

Applications and a Example in Water Enterprise 4

OSSS-EA’2006

Conclusion and prospect5

Contents

Page 37: SciSCADA Toolbox

Conclusion

In the past, Scilab only can used in discrete and off-line control in laboratory. Through the SciSCADA toolbox, Scilab can exchange data with device layer and Ethernet layer convenience. It transforms Scilab from discrete and off-line control to continuous and on-line control.

OSSS-EA’2006

Page 38: SciSCADA Toolbox

Conclusion

SciSCADA system is proposed based on Scilab.

It can …

Enhance the SCADA system’s scientific compute ability

Realizing control and optimization on-line

OSSS-EA’2006

Page 39: SciSCADA Toolbox

LOGO

OSSS-EA’2006

If You are Interested in Industrial Control Software, Please Email Me.

[email protected]