Top Banner
The Semantic Web: An Inside Look at the Creation of Control Loop Foundation Mark Nixon, Director of Research, Austin, TX
50

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

Jan 28, 2015

Download

Technology

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.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The semantic web   an inside look at the creation of control loop foundation

The Semantic Web: An Inside Look at the Creation of

Control Loop Foundation

Mark Nixon, Director of Research, Austin, TX

Page 2: The semantic web   an inside look at the creation of control loop foundation

Presenters

Mark Nixon

Austin, TX

Paul Muston

Leicester, UK

Terry Blevins

Austin, TX

Page 3: The semantic web   an inside look at the creation of control loop foundation

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.

Page 4: The semantic web   an inside look at the creation of control loop foundation

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

Page 5: The semantic web   an inside look at the creation of control loop foundation

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.

Page 6: The semantic web   an inside look at the creation of control loop foundation

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.

Page 7: The semantic web   an inside look at the creation of control loop foundation

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

Page 8: The semantic web   an inside look at the creation of control loop foundation

Basic Technique - Cascade Control

Page 9: The semantic web   an inside look at the creation of control loop foundation

Example – Boiler Steam Temperature

Page 10: The semantic web   an inside look at the creation of control loop foundation

Workshop – Cascade Control

Page 11: The semantic web   an inside look at the creation of control loop foundation

Application - Continuous Reactor

Page 12: The semantic web   an inside look at the creation of control loop foundation

Continuous Reactor - Control

Page 13: The semantic web   an inside look at the creation of control loop foundation

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

Page 14: The semantic web   an inside look at the creation of control loop foundation

Web Design

Professional guidance

provided by Deb Franke,

[email protected],

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.

Page 15: The semantic web   an inside look at the creation of control loop foundation

Control Loop Foundation Web Site

Page 16: The semantic web   an inside look at the creation of control loop foundation

Demonstration of Web Site

Page 17: The semantic web   an inside look at the creation of control loop foundation

DeltaV Server DeltaV Server

ControlLoopFoundation Architecture

Web Server Web Server

Page 18: The semantic web   an inside look at the creation of control loop foundation

DeltaV Runs on an Isolated Server

Page 19: The semantic web   an inside look at the creation of control loop foundation

Web Site Hosted Offsite

Page 20: The semantic web   an inside look at the creation of control loop foundation

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"},…

Page 21: The semantic web   an inside look at the creation of control loop foundation

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

Page 22: The semantic web   an inside look at the creation of control loop foundation

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

Page 23: The semantic web   an inside look at the creation of control loop foundation

Exercises are run in a Workspace

Dynamic Values: dyn:AI1/OUT.CV

Page 24: The semantic web   an inside look at the creation of control loop foundation

Parameter View is Supported

Function Blocks Populate

Parameter View fb:TC185,PID

Page 25: The semantic web   an inside look at the creation of control loop foundation

Parameter Change is Supported

Select Parameters to Change

Values

Page 26: The semantic web   an inside look at the creation of control loop foundation

Parameters Dynamically Updated

Parameters

update

Page 27: The semantic web   an inside look at the creation of control loop foundation

Chart utilized to track changes

Page 28: The semantic web   an inside look at the creation of control loop foundation

Creating Content

Markup Bitmaps

Extract Parameter Sets from HTML Markup

Move JSON files to Web Site

Move Data files to DeltaV Server

Page 29: The semantic web   an inside look at the creation of control loop foundation

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

Page 30: The semantic web   an inside look at the creation of control loop foundation

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>

Page 31: The semantic web   an inside look at the creation of control loop foundation

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>

Page 32: The semantic web   an inside look at the creation of control loop foundation

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>

Page 33: The semantic web   an inside look at the creation of control loop foundation

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>

Page 34: The semantic web   an inside look at the creation of control loop foundation

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

Page 35: The semantic web   an inside look at the creation of control loop foundation

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

Page 36: The semantic web   an inside look at the creation of control loop foundation

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

Page 37: The semantic web   an inside look at the creation of control loop foundation

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 }

] }

Page 38: The semantic web   an inside look at the creation of control loop foundation

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

Page 39: The semantic web   an inside look at the creation of control loop foundation

Demonstration

Demonstration of

– MapEdit

– HtmlImageMapToControlLoop

Page 40: The semantic web   an inside look at the creation of control loop foundation

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

Page 41: The semantic web   an inside look at the creation of control loop foundation

WebConsoleDisplayEditor

Dynamic Values

Display Linking

Faceplate

Support

Dynamic Bars

Resource Linking

Page 42: The semantic web   an inside look at the creation of control loop foundation

Adding Dynamic Values

Add real-time, database, and historical links

Real-time value

and properties

Page 43: The semantic web   an inside look at the creation of control loop foundation

Display Navigation

Navigate between displays

Display

Navigation

Page 44: The semantic web   an inside look at the creation of control loop foundation

Template Support

Minimal Template Support

Two Templates

(Small and Very Small)

Page 45: The semantic web   an inside look at the creation of control loop foundation

Faceplate Support

Real-time

Value

Database

Value

Page 46: The semantic web   an inside look at the creation of control loop foundation

Dynamic Bars

Real-time and

Database

Values

Page 47: The semantic web   an inside look at the creation of control loop foundation

Resource Liking

Resource

Linking

Page 48: The semantic web   an inside look at the creation of control loop foundation

Demonstration

Crude Unit Simulator

Adding Content to Crude Unit System

Page 49: The semantic web   an inside look at the creation of control loop foundation

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?

Page 50: The semantic web   an inside look at the creation of control loop foundation

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