You are on page 1of 22

The OPC Logger:

Triggers and Spanning Functions


Team MU: (-1)
Michael Anders
Kathleen O’Malley
Kharel Thompson
Problem of Interest

 For most experiments run in DPCL, data


is analyzed from graphs.
 All process variables shown on the
graph – cluttered and difficult to read!
 Need better way to collect data and store
information for analysis.
What is the OPC Logger?

 OPC is the industry leader in data


collection technology.
 Relatively inexpensive
 Compatible with multitude of software,
including DeltaV control
 Offers several key functions including
triggers and spanning functions
 Easy to set up and operate
Triggers
 Triggers are functions set up to control
when the data gets logged
 Start and stop logging based on times and
conditions
 Scheduled, Recurring, and Monitored Item
options
 Can perform sampling, batch runs, alarm
runs
 Your data when and where you want it!
Spanning

 Spanning records the data with a date


and time stamp
 Helps keep data organized
 Aids reading of data

 Assists in observing trends and patterns

 Know when your data took place!


Execution

 Plan of Action
 Familiarize group with OPC Logger with
Help file and Professor Heider’s assistance
 Set up triggers for Experiments #1, 2, and 3

 Set up spanning for same three


experiments
 Ensure file with logging data opened in
Microsoft Excel
OPC Logger Screen Shots
How to Set Up Spanning

 Go to the TextFileLogger
 Select the spanning tab
 Input the appropriate data

 Spanning
 Takes the data at specified intervals
 Intervals are 5 secs for our purposes

 Select format for displaying time


How to Set Up Triggers

 Select Trigger type:


 Scheduled
 Recurring

 Monitored

 Create an OPC boolean block inside the


Delta V control studio
 Input appropriate conditions for the boolean
 Input expression for the variables
Trigger Box
Delta V Block
New Delta V Block

 Use conditional block!


 Input condition using editor…set variable
of interest greater than some number.
 When this occurs, the output of the box will
be 1 and trigger will start.
 If condition not met, the output of the box is
0 and the trigger does not start.
Experiment One Overview

 We are controlling the level and pressure


in the tank for experiment one.
 The controllers used are the level and
pressure controllers.
Experiment One: Excel Data
LAB1/FC1- LAB1/FC1- LAB1/FC1- LAB1/LC1- LAB1/LC1- LAB1/LC1- LAB1/PC1- LAB1/PC1-
Timestamp 1/OUT.CV 1/PV.CV 1/SP.CV 1/OUT.CV 1/PV.CV 1/SP.CV 1/OUT.CV 1/PV.CV LAB1/PC1-1/SP.CV
06:55.9 99.24592 0.152241 0.6 1 10.62321 50 0 0.165681 5
07:00.9 99.24592 0.992238 0.6 1 11.08362 50 0 0.167701 5
07:05.9 99.24592 1.048034 0.6 1 14.73118 50 0 0.168487 5
07:10.9 99.24592 1.055485 0.6 1 16.68434 50 0 0.168712 5
07:15.9 99.24592 1.049783 0.6 1 17.85982 50 0 0.169686 5
07:20.9 99.24592 1.041922 0.6 1 19.63914 50 0 0.169959 5
07:25.9 99.24592 1.042224 0.6 1 20.77319 50 0 0.170732 5
07:30.9 99.24592 1.042251 0.6 1 23.8534 50 0 0.170732 5
07:35.9 99.24592 1.059029 0.6 1 25.19835 50 0 0.171742 5
07:40.9 99.24592 1.058355 0.6 1 26.14813 50 0 0.17177 5
07:45.9 99.24592 1.040904 0.6 1 27.54046 50 0 0.172753 5
07:50.9 99.24592 1.052819 0.6 1 30.55703 50 0 0.173242 5
07:55.9 99.24592 1.041861 0.6 1 31.80226 50 0 0.173763 5
08:00.9 99.24592 1.056543 0.6 1 33.49319 50 0 0.174055 5
08:05.9 99.24592 1.064811 0.6 1 34.04341 50 0 0.174773 5
08:10.9 99.24592 1.064048 0.6 1 36.72429 50 0 0.175475 5
08:15.9 99.24592 1.058757 0.6 1 38.20936 50 0 0.175783 5
08:20.9 99.24592 1.050173 0.6 1 39.84107 50 0 0.175807 5
08:25.9 99.24592 1.049309 0.6 1 41.04131 50 0 0.176774 5
08:30.9 99.24592 0.302486 0.6 1 41.30848 50 0 0.176794 5
08:35.9 99.24592 0.173293 0.6 1 40.49702 50 0 0.177512 5
08:40.9 99.24592 0.164977 0.6 1 39.83445 50 0 0.177804 5
08:45.9 99.24592 0.16607 0.6 1 38.59704 50 0 0.177804 5
08:50.9 99.24592 0.167015 0.6 1 37.11844 50 0 0.177989 5
Experiment Two Overview

 In experiment two, we have a cross-flow


heat exchanger.
 We have two inputs, hot water and cold
water.
 We can control the output temperature of
the water stream by varying the flow of
the input cold and hot water streams.
Experiment Two: Excel Data
LAB2/FC2- LAB2/FC2- LAB2/FC2- LAB2/FC2- LAB2/FC2- LAB2/FC2- LAB2/TC2- LAB2/TC2- LAB2/TC2-
Timestamp 1/OUT.CV 1/PV.CV 1/SP.CV 2/OUT.CV 2/PV.CV 2/SP.CV 3/OUT.CV 3/PV.CV 3/SP.CV
4:01:59 AM 95.02735 0.268181 0.35 98.85146 0 0 0 4.616438 34.56931
4:02:04 AM 56.44401 1.055768 0.35 98.85146 0 0 0 4.590205 34.72095
4:02:09 AM 37.72517 0.718991 0.35 98.85148 0 0 0 4.607888 30.15244
4:02:14 AM 39.1097 0.33904 0.35 98.85149 0 0 0 4.66469 30.22445
4:02:19 AM 41.24991 0.324542 0.35 98.85151 0 0 0 4.658128 30.2528
4:02:24 AM 40.66117 0.361338 0.35 98.85152 0 0 0 4.639576 30.96997
4:02:29 AM 39.99916 0.365999 0.35 98.85154 0 0 0 4.652265 31.055
4:02:34 AM 39.81884 0.354454 0.35 98.85155 0 0 0 4.660453 30.62521
4:02:39 AM 40.12429 0.3445 0.35 98.85157 0 0 0 4.645218 30.60582
Experiment Three Overview

 In experiment three, we maintain


constant flow to a particular valve by
varying the incoming flow from two
upstream valves.
Experiment Three: Excel Data
LAB3/FC3- LAB3/FC3- LAB3/FC3- LAB3/FC3- LAB3/FC3- LAB3/FC3- LAB3/PC3- LAB3/PC3-
Timestamp 1/OUT.CV 1/PV.CV 1/SP.CV 2/OUT.CV 2/PV.CV 2/SP.CV 1/OUT.CV 1/PV.CV LAB3/PC3-1/SP.CV
58:22.7 100 0 0.2 0.207092 1.043832 0.2 87.68621 19.83952 10.00185
58:27.7 100 0 0.2 19.23947 0.177237 0.2 73.53087 24.35226 10.00431
58:32.6 100 0 0.2 33.09737 0.073007 0.2 64.48715 22.02985 10.00676
58:37.6 100 0 0.2 33.15008 0.203739 0.2 56.187 20.43075 10.00921
58:42.6 100 0.085505 0.2 29.8406 0.217401 0.2 56.26463 11.30149 10.01166
58:47.6 68.69844 0.464158 0.2 41.69254 0.068689 0.2 62.44071 7.498592 9.944753
58:52.6 23.70159 0.672262 0.2 38.91836 0.249685 0.2 59.98335 11.38603 9.857679
58:57.6 21.69339 0.215264 0.2 19.69161 0.405098 0.2 49.63456 18.91353 9.797675
59:02.6 31.87822 0.103757 0.2 24.96922 0.14398 0.2 41.40157 18.75233 9.800552
59:07.6 36.60348 0.141166 0.2 35.57446 0.086747 0.2 45.1008 8.967288 9.800091
59:12.6 41.12893 0.150497 0.2 41.46033 0.137039 0.2 47.99527 7.597999 9.800541
59:17.6 40.97397 0.198615 0.2 39.38166 0.218448 0.2 50.52176 7.089647 9.788873
59:22.6 38.38322 0.23404 0.2 36.31914 0.227625 0.2 49.64458 9.791812 9.772105
59:27.6 34.15519 0.241858 0.2 36.91217 0.195853 0.2 46.60043 12.29662 9.75308
59:32.6 35.62847 0.180229 0.2 36.51828 0.204221 0.2 45.83599 10.48918 9.739523
59:37.6 40.45423 0.149228 0.2 38.58218 0.175203 0.2 47.78149 8.478426 9.734376
59:42.6 40.5996 0.198435 0.2 40.31724 0.184513 0.2 49.72393 7.705642 9.725233
59:47.6 38.89269 0.219021 0.2 38.52082 0.22128 0.2 50.63193 8.396667 9.709104
59:52.6 36.92933 0.223507 0.2 35.45347 0.230783 0.2 48.97683 10.82395 9.6916
59:57.6 35.42597 0.216241 0.2 35.81721 0.195969 0.2 46.1795 12.11237 9.674126
Conclusions

 Benefits
 Data from first three experiments logged to
Excel file
 Graphs can be generated from data for
specific items of interest
 Time stamp on each data point

 Triggered logging allows for collection only


when necessary
Industry Use of the OPC Logger
 OPC DataLogger has been around as a product for 6 years and
is in use in Asia, Australia, Africa, Europe, & North America by
major global users.

 Some industrial users are:


 AK Steel  Pfizer
 Atlas Copco  Siemens
 Baxter Healthcare  Sony
 Delta Corporation  Southwest Gas
 Dow Chemical  Veolia Water
 General Electric  Verso Paper
 Georgia Pacific
 Morningstar Foods
 Nasa http://www.opcdatalogger.
com/html/users.html
Group Responsibilities
 Michael Anders
 Assisted with initial setup of triggers

 Helped in preparation of Power Point slides.

 Kathleen O’Malley
 Assisted with correcting trigger controls

 Helped in preparation of Power Point slides

 Kharel Thompson
 Helped to implement the triggers and spanning

 Helped in preparation of Power Point slides


Questions?

 Does anyone have any questions


regarding our project?

You might also like