Two-Tank Alarm Management

16
Høgskolen i Telemark Fakultet for teknologiske fag Bachelor i ingeniørfag Fakultet for teknologiske fag Adresse: Kjølnes ring 56, 3918 Porsgrunn, telefon 35 02 62 00, www.hit.no Bachelorutdanning - Masterutdanning Ph.D. utdanning Two-Tank Alarm Management

description

descripcion de alarma

Transcript of Two-Tank Alarm Management

Page 1: Two-Tank Alarm Management

Høgskolen i Telemark Fakultet for teknologiske fag

Bachelor i ingeniørfag

Fakultet for teknologiske fag

Adresse: Kjølnes ring 56, 3918 Porsgrunn, telefon 35 02 62 00, www.hit.no

Bachelorutdanning - Masterutdanning – Ph.D. utdanning

Two-Tank Alarm Management

Page 2: Two-Tank Alarm Management

Høgskolen i Telemark TABLE OF CONTENTS

3

TABLE OF CONTENTS

TABLE OF CONTENTS .................................................................................................... 3

1 Introduction ..................................................................................................................... 4

2 Alarm management ......................................................................................................... 5

2.1 Step 1: Configure Level Alarms........................................................................................................... 5 2.2 Step 2: Configure Level Switches ........................................................................................................ 6 2.3 Step 3: Creating an Interlock ............................................................................................................... 9 2.4 Step 4: Download ................................................................................................................................ 10

3 HMI ................................................................................................................................ 12

3.1 Step 1: Draw Level Switches .............................................................................................................. 12 3.2 Step 2: Animate Level Switches ......................................................................................................... 12

4 Operate ........................................................................................................................... 15

Page 3: Two-Tank Alarm Management

Høgskolen i Telemark 1 Introduction

4

1 INTRODUCTION

In this task you will learn how to program alarms, and handle alarms in HMI to the two-tank

system with DeltaV. Figure 1-1 shows the two-tank system. For this task to make any sense it is

important that you do the task about creating a program to the two-tank model, this task is called

“Two-Tank Control”.

Figure 1-1 The Two-tank system

Page 4: Two-Tank Alarm Management

Høgskolen i Telemark 2 Alarm management

5

2 ALARM MANAGEMENT

In this chapter we will learn how to create alarms to the two-tank system.

2.1 Step 1: Configure Level Alarms

In a lot of cases it is important and crucial with alarms. We will now configure alarms to the

level of the tank. There are four capacitive level switches on the tanks that we will configure the

alarms to, two on each tank.

Let’s start with the level to tank1

Go to Exploring DeltaV and open your area 2-TANK. Right click on the PID_LOOP_1 and open

with control studio. There are already alarms inactive in the PID block, at the bottom of the

window you can find them. Double click on HI_ALM and sett Limit value to 75 and press

Enable, and then press ok, as shown in Figure 2-1.

Figure 2-1 Alarm Properties – high alarm

Now double click on LO_ALM and set Limit value to 35 and press enable, and then press ok, as

shown in Figure 2-2.

Page 5: Two-Tank Alarm Management

Høgskolen i Telemark 2 Alarm management

6

Figure 2-2 Alarm Properties – low alarm

Now download the program by pressing the button. Press OK and yes until you can

download.

We now have a high and low alarm on the level of tank1.

2.2 Step 2: Configure Level Switches

Now we need to apply alarms to the level switches on both the tanks. We have one capacitive

level watch on high and low level.

Choose 2-TANK2 and right click on IO and open it with Control Studio. Press the alarm button

to add a new alarm, see Figure 2-3.

Page 6: Two-Tank Alarm Management

Høgskolen i Telemark 2 Alarm management

7

Figure 2-3 Insert alarm

Set alarm type: High High Alarm, Priority: Critical and Functional classification: Safety and

press browse and choose HA1, OUT_D and press OK as shown in Figure 2-4.

Figure 2-4 Alarm Properties – high high alarm

Page 7: Two-Tank Alarm Management

Høgskolen i Telemark 2 Alarm management

8

The alarm is now created, you can find it at the bottom of the page. Right click the alarm and

choose rename. Rename the alarm to HA_1 like in Figure 2-5, this is the HIGH HIGH alarm for

Tank1.

Figure 2-5 Alarm renaming

Press the alarm button to make another alarm. Another HIGH HIGH alarm for Tank2. Exactly

the same procedure. Set alarm type: High High Alarm, Priority: Critical and Functional

classification: Safety and press browse and choose HA2, OUT_D and press OK. Rename the

alarm to HA_2

Press the alarm button to make another alarm. We will now make a Low low alarm for Tank1.

Set alarm type: Low Low Alarm, Priority: Warning and Functional classification: Safety, like

Figure 2-6. Check the box for inverted and press browse and choose LA1, OUT_D and press

OK. Rename the alarm to LA_1

Figure 2-6 Alarm Properties – low low alarm

Press the alarm button to make another alarm. We will now make a Low low alarm for Tank2.

Set alarm type: Low Low Alarm, Priority: Warning and Functional classification: Safety, check

Page 8: Two-Tank Alarm Management

Høgskolen i Telemark 2 Alarm management

9

the box for inverted and press browse and choose LA2, OUT_D and press OK. Rename the

alarm to LA_2

2.3 Step 3: Creating an Interlock

If the level of the tank gets too high, we would like an interlock that makes sure the solenoid

valves will open, and the level will decrease.

Place the blocks as shown on Figure 2-7. Press OUT_D on HA1 and connect it to LV1. Do the

same with HA2 and connect it to LV2

Figure 2-7 Interlock connection

Mark LV1, a properties box will appear in lower left corner. Double click on MODE, that’s

found under Operating. Set Normal mode and Target mode to Cascade. As shown in Figure 2-8.

Do exactly the same with LV2.

Page 9: Two-Tank Alarm Management

Høgskolen i Telemark 2 Alarm management

10

Figure 2-8 MODE Properties

The level switches on high level will now activate the valves.

2.4 Step 4: Download

We have now created and configured alarms for all the level switches. Press Download, and

choose OK and yes until you can download.

Go back to Exploring DeltaV. Right click physical network and choose download physical

network as shown in Figure 2-9.

Page 10: Two-Tank Alarm Management

Høgskolen i Telemark 2 Alarm management

11

.

Figure 2-9 Download Physical Network

The Program is now complete. Let’s head over to control studio and make some alarm functions.

Page 11: Two-Tank Alarm Management

Høgskolen i Telemark 3 HMI

12

3 HMI

The alarms we created in our program will appear with text and sound when they are activated.

We would also like some visual alarms on our four level switches that we have to create in our

HMI.

3.1 Step 1: Draw Level Switches

Go to Control Studio and find the picture you made for the Two-tank.

In the Toolbox we can find a rectangle. Place this rectangle close to Tank1, right click on the

rectangle and choose Color, and Foreground. Change color to grey. Copy the rectangle so you

get four of them.

Press the «A» in the toolbox and write HH in two of the rectangles and LL in the last two. Place

the rectangles as shown in Figure 3-1.

Figure 3-1 Alarm placement

3.2 Step 2: Animate Level Switches

Double click on HH next to Tank1, Figure 3-2 will popup, check the Foreground box under

Color.

Page 12: Two-Tank Alarm Management

Høgskolen i Telemark 3 HMI

13

Figure 3-2 Foreground color

Mark Exact Match, delete all the rows and make a new row with value = 1 and color = red. Like

Figure 3-3 shows you.

The letters HH will now be red when the high alarm is active.

Figure 3-3 Foreground color assignment

Press the button, Browse DeltaV Control Parameters, 2-TANK2, HA1,OUT_D, mark CV,

as shown in Figure 3-4 and press OK until you are back to you picture.

Page 13: Two-Tank Alarm Management

Høgskolen i Telemark 3 HMI

14

Figure 3-4 Browse DeltaV Control parameters – Select CV

The same procedure with the other level switches, but choose value = 0 on the LL alarms, and

value = 1 on the HH alarms.

LL TANK1=LA1

HH TANK2=HA2

LL TANK2 = LA2

Our HMI is now upgraded with visual effects when the different alarms are active.

It is best to run the HMI from DeltaV Operat Run. To be able to do that, you need to save your

picture under pictures. Do this go to File Save as, and save the picture in the Pic-folde with

yourname1.

Page 14: Two-Tank Alarm Management

Høgskolen i Telemark 4 Operate

15

4 OPERATE

In this chapter we will learn how to manage the alarms used in the Two-tank system.

Our HMI is now ready to be run. Double click on DeltaV Operate Run located on the desktop.

Press Open and choose the picture you just created, yourname1, and press enter. See Figure 4-1.

Figure 4-1 Open the picture you created.

On the bottom of the picture a lot of alarms will appear, most of these alarms are system alarms

that we don’t have to worry about. To get rid of these alarms you need to press Area Filter, like

Figure 4-2.

Page 15: Two-Tank Alarm Management

Høgskolen i Telemark 4 Operate

16

Figure 4-2 Area Filter

Uncheck AREA_A like Figure 4-3 is showing.

Figure 4-3 Uncheck AREA_A

Now run the system in manual and make sure the alarms gets activated at their right value.

The alarms will show up on the faceplate and you can press Acknowledge there, or by pressing

“Ack All” in the lower right corner of the faceplate. See Figure 4-4.

Page 16: Two-Tank Alarm Management

Høgskolen i Telemark 4 Operate

17

Figure 4-4 Ack All