the semantic web an inside look at the creation of control loop foundation

Post on 28-Jan-2015

104 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

The book Control Loop Foundation and its companion website controlloopfoundation.com have been widely used. One of the reasons for this was the team’s decision to allow access to study materials and labs from a wide-variety of PCs and Tablets. Doing this required putting a web interface on top of DeltaV, supporting multiple browsers, and providing access to continuous and historical data from web pages. Details on the web site design and construction are addressed in this workshop.

TRANSCRIPT

The Semantic Web: An Inside Look at the Creation of

Control Loop Foundation

Mark Nixon, Director of Research, Austin, TX

Presenters

Mark Nixon

Austin, TX

Paul Muston

Leicester, UK

Terry Blevins

Austin, TX

Abstract

The book Control Loop Foundation and its companion

website www.controlloopfoundation.com have been

widely used. One of the reasons for the high hit rate on

this site was the team’s decision to allow access to

materials, labs, and solution sets from a wide-variety of

PCs and Tablets. Doing this required putting a web

interface on top of DeltaV, supporting multiple browsers,

and providing access to continuous and historical data

from web pages.

Introduction

What is the Semantic Web?

Background on Control Loop Foundation

Overview of the Control Loop Foundation Web Site

Adding content to Control Loop Foundation

Working through an example

Summary

Q&A

What is the semantic web?

There is a lot of data we all use every day. Much of this data is not

accessible through the web or through browsers. For example there is

data in process operations, in control strategies, and in our devices in

equipment. We have more data in drawings, user manuals, embedded

in our displays, etc. What would be nice would be the ability to bring all

of this data together in one place.

Enter the Semantic Web. It is about common formats for integration

and combination of data drawn from diverse sources, where on the

original Web mainly concentrated on the interchange of documents. It

is also about language for recording how the data relates to real world

objects. That allows a person, or a machine, to start off in one

database, and then move through an unending set of databases which

are connected not by wires but by being about the same thing.

We used these concepts to help shape the framework behind Control

Loop Foundation. In this presentation we will review Control Loop

Foundation, introduce you to the framework, and demonstrate it in-

action.

Introduction to Control Loop Foundation

Control Loop Foundation address the

concepts and terminology that are

needed to work in the field of process

control.

The book is written to act as a guide for

engineers who are just starting to work

in this field.

– 13 workshops on basic control techniques

used in the process industry

Experienced control engineers will

benefit from the application examples

on process control design and

implementation of multi-loop control

strategies.

– 6 Application Examples that demonstrate

how basic techniques may be combined to

address complex control requirements.

Control Loop Foundation Content Introduction

Background – Historic Perspective

Measurement – Basic Transmitter Types, Limitations

Analyzers – Examples of On-line Analyzers

Final Elements – Valves and Variable Speed Drives

Field Wiring and Communications – Traditional, HART, FF , WirelessHART

Control Strategy Documentation – Plot Plan, Flow Sheet, P&ID, Loop Diagram

Operator Graphics and Metrics – Considerations in Display Design

Process Characterization – Identifying process dynamics and gain

Control Objectives

Single Loop Control – PID basics, selecting PID structure, action

Tuning and Loop Performance – Manual and automated tuning techniques

Multi-loop Control – Feedforward, Cascade, Override, Split-range

Model Predictive Control – Addressing Difficult Dynamics, Interactions

Process Modeling – Process simulation for Checkout/Training

Applications – Continuous, Batch, Combustion, Distillation

Accessing the book web Site

Basic Technique - Cascade Control

Example – Boiler Steam Temperature

Workshop – Cascade Control

Application - Continuous Reactor

Continuous Reactor - Control

Student Interface to Workshops

For internal classes the

students use DeltaV.

Customers with DeltaV

may download

workshops and

applications from the

book’s web site.

Web based interface to

perform workshops and

applications is required

for people who do not

have access to DeltaV

Web Design

Professional guidance

provided by Deb Franke,

justwhatweneed@gmail.com,

on web site design, we

reviewed web sites with

similar requirements to explore

best in class

Decision was made to use

HTML5 for the workspace that

mimics DeltaV Control Studio

on-line

In the workspace area the

student may perform the

workshops and applications.

Control Loop Foundation Web Site

Demonstration of Web Site

DeltaV Server DeltaV Server

ControlLoopFoundation Architecture

Web Server Web Server

DeltaV Runs on an Isolated Server

Web Site Hosted Offsite

Data transfer utilizes HTTP

http://192.168.79.10:8000/jsondata/workshop_0101

{"WORKSHOP_0101/AI1/SIMULATE_IN.CV":{"Type":"F","Val":"

50.00"},"WORKSHOP_0101/AI1/OUT.CV":{"Type":"F","Val":"50.

00"},"WORKSHOP_0101/AI1/PV.CV":{"Type":"F","Val":"50.00"},

"WORKSHOP_0101/AO1/MODE.TARGET":{"Type":"T","Val":"A

UTO"},"WORKSHOP_0101/AO1/SP.CV":{"Type":"F","Val":"50.0

0"},"WORKSHOP_0101/AO1/IO_OPTS.CV":{"Type":"I","Val":"1

6384"},"WORKSHOP_0101/AO1/CAS_IN.CV":{"Type":"F","Val":

"0.00"},…

Taking a look at the development

Phase 1 – Development of framework and use of

primitive tools to build and support

www.controlloopfoundation.com

Phase 2 – Improvements to support Advanced

Control Foundation and future projects

Phase 1 – Creating the Framework

Control Loop Foundation is made up of several parts:

– Workshops and Applications

• Exercise

• Process

• Workspace (with live data from DeltaV)

• Chart (to view trended data from exercise)

• Solution (You Tube Video)

– Downloads

• Labs and Charts

– Information on the Book

– News and Updates

Exercises are run in a Workspace

Dynamic Values: dyn:AI1/OUT.CV

Parameter View is Supported

Function Blocks Populate

Parameter View fb:TC185,PID

Parameter Change is Supported

Select Parameters to Change

Values

Parameters Dynamically Updated

Parameters

update

Chart utilized to track changes

Creating Content

Markup Bitmaps

Extract Parameter Sets from HTML Markup

Move JSON files to Web Site

Move Data files to DeltaV Server

MapEdit

Used to mark-up the bitmap with three things

– function blocks, dynamic values, attributes

Mapedit adds client-side image maps to web pages

Ref: http://www.boutell.com

Use MapEdit to Markup Content

Use Rectangle Tool to

create a the outline of

the function block

In the URL property of

this link object put

fb:<fb name>,<fb type>

Examples:

– fb:TT185,AI

– fb:AO1,AO

Set URL - fb:<functionblock name>,<function block type>

Set ALT - <function block name>

Attributes

Use Rectangle Tool

to create a the

outline of the

Attribute

In the URL put

att:<OPC path

relative to the

module>

Example:

– att:OUT_FLOW.CV

Set URL - attr:<OPC path relative to module>

Set ALT - <attribute name>

Dynamic Values

Use Rectangle Tool to

create a the outline of

the value

In the URL property of

this link object put

dyn:<OPC path relative

to the module>

Examples:

– dyn:PROCESS_3/LEVEL

_MEAS.CV

– dyn:AO1/OUT.CV

– dyn:OUT_FLOW.CV

Set URL - dyn:<OPC path relative to module>

Resulting HTML

<img src="images/Workshop5-PID_Tuning.PNG" alt="" usemap="#Workshop5-PID_Tuning"/>

<map id="Workshop5-PID_Tuning" name="Workshop5-PID_Tuning">

<area shape="rect" alt="TT185" coords="64,171,162,220" href="fb:TT185,AI" title="TT185" />

<area shape="rect" alt="TC185" coords="244,145,367,300" href="fb:TC185,PID" title="TC185" />

<area shape="rect" alt="DISTURBANCE" coords="333,387,432,404" href="att:DISTURBANCE.CV" title="DISTURBANCE" />

<area shape="rect" alt="" coords="43,190,58,204" href="dyn:HEATER_PROCESS/MEASUREMENT.CV" title="" />

<area shape="rect" alt="" coords="746,137,761,151" href="dyn:HEATER_PROCESS/MEASUREMENT.CV" title="" />

<area shape="rect" alt="" coords="172,191,182,203" href="dyn:TT185/OUT.CV" title="" />

<<area shape="rect" alt="" coords="588,137,599,148" href="dyn:TV185/OUT.CV" title="" />

<area shape="rect" alt="" coords="445,392,456,403" href="dyn:DISTURBANCE.CV" title="" />

<area shape="rect" alt="" coords="590,160,601,171" href="dyn:DISTURBANCE.CV" title="" />

<area shape="default" nohref="nohref" alt="" />

</map>

Extract Data

Application HtmlImageMapToControlLoop

Contains Knowledge about Blocks

It contains Knowledge about the Charts

Knowledge in CSV files

Builds JSON files for Web Server

Builds CSV to configure WebDeltaV

Function Block Knowledge

Block Type,Attribute,Field,DataType,BlockListed Y/N,Writeable Y/N

AI,SIMULATE_IN,CV,F,N,N

AI,OUT,CV,F,N,N

AI,PV,CV,F,Y,N

AO,MODE,TARGET,T,Y,Y

AO,SP,CV,F,Y,Y

AO,IO_OPTS,CV,I,Y,Y

AO,CAS_IN,CV,F,N,N

AO,OUT,CV,F,N,N

AO,BKCAL_OUT,CV,F,N,N

Chart Knowledge

*Workshop,BlockName,Attribute,Field,DataType,Axis

WORKSHOP_01,AI1,OUT,CV,F,1

WORKSHOP_01,AO1,SP,CV,F,1

WORKSHOP_02,AI1,OUT,CV,F,1

WORKSHOP_02,AO1,SP,CV,F,1

WORKSHOP_03,AI1,OUT,CV,F,1

WORKSHOP_03,AO1,SP,CV,F,1

WORKSHOP_03,,OUTFLOW,CV,F,1

JSON to configure WebApp

{ "backgroundImageUrl": "/images/Workshop3-Characterize_3.png",

"dynamics": [ { "x": 456, "y": 291,

"alias": "AO1/OUT.CV", "type": "f", "format": "%.2f“ },

{ "x": 525, "y": 228,

"alias": "AO1/OUT.CV", "type": "f", "format": "%.2f“ },

... ],

"blocks": [ {

"name": "AI1", "blockType": "AI",

"x": 89, "y": 270, "w": 98, "h": 49 },

... ],

"attributes": [ {

"name": "OUT_FLOW", "tag": "OUT_FLOW.CV", "dataType": "f",

"x": 413, "y": 368, "w": 81, "h": 18 }

] }

CSV to configure WebDeltaV

WORKSHOP_0301/AI1/SIMULATE_IN.CV,F,0.0,N

WORKSHOP_0301/AI1/OUT.CV,F,0.0,Y

WORKSHOP_0301/AI1/PV.CV,F,0.0,N

WORKSHOP_0301/AO1/MODE.TARGET,T,,N

WORKSHOP_0301/AO1/SP.CV,F,0.0,Y

WORKSHOP_0301/AO1/IO_OPTS.CV,I,0,N

WORKSHOP_0301/AO1/CAS_IN.CV,F,0.0,N

WORKSHOP_0301/AO1/OUT.CV,F,0.0,N

WORKSHOP_0301/AO1/BKCAL_OUT.CV,F,0.0,N

WORKSHOP_0301/PROCESS_3/LEVEL_MEAS.CV,F,0.0,N

WORKSHOP_0301/OUT_FLOW.CV,F,0.0,N

Demonstration

Demonstration of

– MapEdit

– HtmlImageMapToControlLoop

Phase 2 – Current State of Tools

Development environment for

ControlLoopFoundation being extended for

AdvancedControlFoundation and other projects

MapEdit and Html extract have been combined into

one tool along with additional functionality for creating

simplistic displays

WebConsoleDisplayEditor

Dynamic Values

Display Linking

Faceplate

Support

Dynamic Bars

Resource Linking

Adding Dynamic Values

Add real-time, database, and historical links

Real-time value

and properties

Display Navigation

Navigate between displays

Display

Navigation

Template Support

Minimal Template Support

Two Templates

(Small and Very Small)

Faceplate Support

Real-time

Value

Database

Value

Dynamic Bars

Real-time and

Database

Values

Resource Liking

Resource

Linking

Demonstration

Crude Unit Simulator

Adding Content to Crude Unit System

Summary

We presented background on the sematic web

We provided an overview of the Control Loop

Foundation Web Site

We provided detailed information on the construction

of the web site

We demonstrated the technology in-action

Feedback

Questions?

Where To Get More Information

T. Blevins, M. Nixon, “Control Loop Foundation –

Batch and Continuous Processes”, ISA, 2010

Control Loop Foundation Web Site,

www.controlloopfoundation.com

J. Jackson, Ian Gilman, “HTML5 for .NET Developers

version 6”, www.manning.com, 2012

W3C Semantic Web Activity,

http://www.w3.org/2001/sw/

L. Feigenbaum, I. Herman, T. Hongsermeier, E.

Neumann and S. Stephens, “The Semantic Web in

Action”, Scientific America, December 2007

top related