ENG450 - ENGINEERING INTERNSHIP FINAL REPORT
by Isaac Correia
Supervised by:
Dr Parisa Bahri – Academic Supervisor Kristian Sikora – Industry Supervisory
A thesis submitted to the School of Engineering and Energy, Murdoch University in partial fulfilment of the
requirements for the degree of Bachelor of Engineering
2008
We are satisfied with the progress of this internship project and that the attached report is an accurate reflection of the work undertaken. Signed: Industry Supervisor Signed: Academic Supervisor
MURDOCH UNIVERSITY
ALCOA WORLD ALUMINA, AUSTRALIA
ABSTRACT
This report covers the work undertaken during the internship at Alcoa’s Wagerup
refinery performed throughout the period of 11th August to 5th November 2008.
The report will cover the work conducted during the internship, primarily
focusing on the main project. The aim of the project was to conduct a
performance of all control loops, instrumentation and code in precipitation and
fix issues where possible in preparation for the implementation of an advanced
controller.
The project was split into two parts, the software review which involved the
analysis of all necessary programs and a loop analysis to analyse the performance
of the controllers using performance indices such as rise time, settling time, decay
ratio and Integral Square Error (ISE). Saturation time and mode analysis was also
required and the incorporation of the valve characteristic plot allowed for an
effective way to detect instrument problems such as valve stiction.
The review has so far covered 90% of all the necessary loops required to be
analysed. Of those analysed so far over 65% exhibited less than satisfactory
performance
Acknowledgments
I wish to thank academic supervisor Prof. Parisa Bahri for making this internship
possible, and also for her continual help and guidance along the way.
I would also like to thank Kristian Sikora, for his guidance during this time and
for providing the opportunity to work in an industrial environment.
Special mention should go to the operations and maintenance staff at Operations
Centre 3 (Precipitation) at the Wagerup alumina refinery.
i
TABLE OF CONTENTS
Acknowledgments ............................................................................................................... ii Table of Contents ................................................................................................................. i 1. Introduction ........................................................................................................... 2 2. Background ............................................................................................................ 3
2.1. Alcoa World Alumina, Wagerup Refinery ................................................ 3 2.2. The Bayer Process ......................................................................................... 3 2.3. Overview of Precipitation ............................................................................ 5
3. Overview of Major Project ................................................................................. 7 3.1. Tools/ Inventory............................................................................................ 8
4. Software Review .................................................................................................. 10 4.1. Total Bank Flow Calculation ..................................................................... 10
4.1.1. Total Green Liquor flow down the bank ................................ 12 4.1.2. Total Coarse Seed flow down the bank .................................. 15 4.1.3. Total Tray Seed flow down the bank ....................................... 20 4.1.4. 50E Return Filtrate to Precipitation ......................................... 24 4.1.5. Summary........................................................................................ 26
5. Loop Analysis ...................................................................................................... 27 5.1. Methods of performance Analysis ............................................................ 27 5.2. Performance Analysis .................................................................................. 28
5.2.1. Rise Time ...................................................................................... 29 5.2.2. Settling Time ................................................................................. 29 5.2.3. Integral Square Error .................................................................. 30 5.2.4. Control Valve Issues ................................................................... 31
5.3. Presentation of Data.................................................................................... 37 5.4. Methodology ................................................................................................. 39 5.5. Analysis of Inter Stage Cooler Controllers ............................................. 43 5.6. Analysis of Green Liquor Controllers ...................................................... 46 5.7. Analysis of Coarse Seed Controllers ........................................................ 53
6. Conclusion ............................................................................................................ 62 6.1. Progress and Future Work ......................................................................... 62 6.2. Problems Faced ............................................................................................ 63
2
C h a p t e r 1
1. Introduction
This is a report covering the internship carried out at Alcoa’s Wagerup refinery
commencing on the 11th August 2008 and ending on the 28th November 2008.
The objective of the internship is to “provide the intern exposure to the applied world of
engineering design or research through a period of workplace employment in a relevant area of
engineering” (Murdoch University, 2008). While at Wagerup, the intern was part of
the Process Control Team which is a division of the refinery’s Technical
Department. This team is responsible for maintaining the DCS and all control
applications at the refinery. During the course of the internship, the intern was
granted many responsibilities typical to those of a qualified instrumentation and
control engineer. These included the building and modification of operator
displays, control scheme modifications, documentation development and
controller tuning.
This report will concentrate on the major project undertaken during the
internship.
The aim of this project was to ensure all control loops and instrumentation in
precipitation are performing satisfactorily before the installation of an advanced
controller. This required conducting a review of all control loops, instrumentation
and code that will become apart of the new controller and fix problem where
possible. Once the review is done, a report documenting the problems found will
be provided to the refinery in order to repair such issues.
The intern was also part of the team commissioning secondary feed system.
Details on this project are available in Appendix 1.
3
C h a p t e r 2
2. Background
2.1. Alcoa World Alumina, Wagerup Refinery
The Wagerup refinery is one of three Alcoa refineries in Western Australia. It was
first opened by the Premier of WA, the Honourable Brian Burke in 1984 and
today employs 900 personnel at both the refinery and the minesite.
The refinery is located approximately 130km south of Perth, and is in close
proximity to the Willowdale minesite which supplies the bauxite ore to the
refinery. Its current production capacity is 2.6 metric tons of alumina per year.
The alumina produced is exported to aluminium smelters around the world via
the Bunbury port, which is one of two Alcoa ports in WA.
The refinery is heralded as “the most environmentally advanced alumina refinery in the
world, with the application of advanced technology contributing to recent improvements in
environmental management.” (Alcoa Inc. 2008)
2.2. The Bayer Process
The Wagerup refinery uses the Bayer process to refine the alumina out of bauxite
ore. The Bayer Process was first developed in 1888 by a German chemist Karl
Bayer. It works on the principal that “a hot solution of liquid caustic soda can dissolve the
alumina from bauxite and the alumina will remain in the solution as long as the solution stays
above 100°C.” (Goodman, A. 2003). The Wagerup refinery uses a slightly altered
version of the original Bayer process but the four key stages still remain;
digestion, clarification precipitation and calcination.
The following is an overview of the process used at the Wagerup refinery. Note
that the Precipitation process will be described in greater detail in the following
chapter. (Goodman, A. 2003):
4
1 The process is basically a continuous recycling caustic soda stream of liquor,
which starts and ends at the Spent Liquor Storage tanks (or 30A tanks). At
this point, the liquor is “spent” liquor (i.e.: the liquor is not saturated with
alumina). From here, two streams of spent liquor leave the tanks; one to
milling (known as liquor to milling or LTM) and the other to digestion
(known as liquor to digestion or LTD)
2 Bauxite ore is then mixed with the LTM and fed into a ball mill where the ore
crushed and ground in a ball mill. The product from the mills is slurry of
caustic and bauxite which it then pumped into the digestion building.
3 Digestion: The slurry is mixed with liquor heated to 150°C and put through a
series of five tanks called digesters. The digesters maintain the liquor at a high
temperature and pressure in order to dissolve the alumina from the bauxite in
the liquor. Once it has left the digesters, the pressure in the lines is reduced to
atmospheric and the slurry is cooled to 104°C. The liquor solution leaving the
digesters are now saturated with alumina is now known as “green” liquor.
4 Clarification: This stage of the process is where solid residues (sand and mud)
are removed from the green liquor. The green liquor first enters through the
bottom of a balloon shaped pressurized vessel know as a sand trap. The
coarse sand, being heavier, falls to the bottom of the tank and is pumped to
residue disposal whilst the remainder leaves through outlets at the top and
enters into two large flat tanks known as thickeners. Here the liquor is mixed
with flocculent which combines the small mud particles together to form
larger ones and settles to the bottom of the tank. The mud is then raked to
the centre of the tank where it is sent the mud washers for further processing.
The rest of the green liquor leaves the thickeners and enters the filtration
building where the last portion of the mud is filtered out before entering
precipitation.
5
5 Precipitation: This stage of the process basically the extraction of dissolved
alumina from the green liquor in the form of alumina trihydroxide, better
known as hydrate
6 Calcination: The hydrate from precipitation enters the calciners. Here the
hydrate is basically “cooked” at temperatures exceeding 1000°C to break the
tight bonds between the water molecules and the alumina of the hydrate and
releasing the water as steam, leaving behind the alumina crystals. This alumina
product is cooled and railed to the Bunbury port as product.
2.3. Overview of Precipitation
The project that is described in this report is based in the Precipitation area of the
plant. A graphical overview of the precipitation process is depicted in Appendix
2 of this report.
Before the green liquor is sent to precipitation, it passes through the heat
interchange building where the green liquor leaving 35X (filtration building) is
cooled down from 100°C to 80°C, the desired temperature required to begin the
alumina re-crystallisation process. The green liquor is then sent to Building 45
where precipitation begins.
From the 45A tank, the green liquor is usually sent to the first tank of each bank.
There a total of four banks, each with twelve Precipitator tanks in series. These
banks are then split into 2 units where banks 1 and 2 are unit 1 and banks 3 and 4
are unit 2. The figuration of the banks is shown in the Figure 2-1.
6
10 20
11 21
12 22
13
14
15 25
23
24
40 30
41 31
42 32
43
44
45 35
33
34
50 60
51 61
52 62
53
54
55 65
63
64
80 70
81 71
82 72
83
84
85 75
73
74
Bank 2 Bank 3 Bank 4Bank 1
10 20
11 21
12 22
13
14
15 25
23
24
10 20
11 21
12 22
13
14
15 25
23
24
40 30
41 31
42 32
43
44
45 35
33
34
40 30
41 31
42 32
43
44
45 35
33
34
50 60
51 61
52 62
53
54
55 65
63
64
50 60
51 61
52 62
53
54
55 65
63
64
80 70
81 71
82 72
83
84
85 75
73
74
70
81
82
Unit 1 Unit 2
10 20
11 21
12 22
13
14
15 25
23
24
10 20
11 21
12 22
13
14
15 25
23
24
40 30
41 31
42 32
43
44
45 35
33
34
40 30
41 31
42 32
43
44
45 35
33
34
50 60
51 61
52 62
53
54
55 65
63
64
50 60
51 61
52 62
53
54
55 65
63
64
80 70
81 71
82 72
83
84
85 75
73
74
80 70
81 71
82 72
83
84
85 75
73
74
Bank 2 Bank 3 Bank 4Bank 1
10 20
11 21
12 22
13
14
15 25
23
24
10 20
11 21
12 22
13
14
15 25
23
24
40 30
41 31
42 32
43
44
45 35
33
34
40 30
41 31
42 32
43
44
45 35
33
34
50 60
51 61
52 62
53
54
55 65
63
64
50 60
51 61
52 62
53
54
55 65
63
64
80 70
81 71
82 72
83
84
85 75
73
74
70
81
82
Unit 1 Unit 2
Figure 2-1: Precipitator Bank Configuration
The precipitators in each bank decrease in height as you go down. This allows the
green liquor to be gravity drawn, rather than pumped to the next precipitator
effectively, thus reducing energy usage. The green liquor travels from one
precipitator to the next through open troughs known as launders. As it goes
through the precipitator bank, it is cooled and agitated which allows some of the
alumina crystals to precipitate.
In order to and speed up this process and effectively control the size of the
crystals, seed crystals are added to the first and second tank of each bank. These
seed crystals are fine crystallised material recycled after it’s gone through the
precipitators because it’s too small to be processed into alumina. The seed acts as
nuclei for the dissolved alumina to precipitate onto.
The hydrate produced after leaving the last precipitator is then classified through
cyclones. The larger particles move on to calcination whilst the smaller particles
are sent through to the filtration building (building 44-1 and 44-2) which filters
the seed from the spent liquor. The small hydrate particles are recycled back as
seed whilst the spent liquor is sent to evaporation and recycled to digestion.
7
C h a p t e r 3
3. Overview of Major Project
Alcoa embarked on a process to install multivariable controllers in its refineries
around the world approximately 8 years ago. Since then, those projects have
demonstrated significant benefits to the business. Alcoa has now started the next
phase of this work, and as part of that, Wagerup will be getting a new controller
for Precipitation.
This controller will be implemented to help maximise production through yield
and flow improvements. The final detailed design has not yet been completed,
but the conceptual design has identified the general inputs and outputs to be
used.
Advanced Process Control (APC) projects are a significant investment in time
and money. Traditionally, the controller design began before any detailed
instrumentation review was carried out. This resulted in some projects being
delayed with large cost blow-outs. To reduce the time required to implement the
Precipitation controller and to maximise the probability of success, it was decided
to review the plant before the project was formally started.
The main internship project was to perform this review, and to provide
recommendations to the plant for maintenance of the physical equipment as well
as any software changes required.
To do this, the project was split into to parts:
1) Software Review
2) Loop Analysis
The software review involved going through all necessary programs,
understanding the code then documenting what it does, how it works; any errors
found and suggested changes to be made.
8
The Wagerup refinery, along with all Alcoa refineries, has incorporated programs
which use Control Language (CL) code. CL is a Honeywell proprietary
programming language developed specifically for control applications on
Honeywell DCS. Programs in CL can be used to perform automatic calculations
based on the point tags contained in the DCS.
The Loop analysis involved conducting performance analysis on all control loops
and their related instrumentation.
3.1. Tools/ Inventory
DOC4000
DOC4000 is the refinery’s database for management and documentation of the
Honeywell DCS system. It was used extensively during the internship for:
• Identification of tags for controllers and instruments
• Identifying the manipulated and process variables of the controllers using
Map Builder
• review of CL code using its CL viewer
Opertune
Opertune is an automated, closed loop, PID tuning technology for Experion
CEE- based controllers (embedded) and any PID controller. It was used to assist
with the tuning of any control loop deemed necessary during the review.
Uniformance Process Trend
Uniformance Process Trend is a desktop trending and analysis tool used to
retrieve and view data from the refinery. It is tag-based, meaning all information
retrieved and viewed is based on the tags selected and how they are customised
by the user.
Process Trend was used to assist with the review and tuning of base level control
loops, in order to identify if the controller needed tuning, the performance of the
9
controller as well as disturbance rejection. It was also used for the
instrumentation review. By analysing the trend of the process, manipulated and
disturbance variable(s), possible instrument faults can be identified for further
investigation.
Loop Scout
Loop Scout sits on the GUS and allows for fast data recording over a specified
time period which is then sent to the server then sends back a report to the
refinery. This report provides:
• An analysis of the controller performance or behaviour (ie: aggressive
control action, etc).
• Advice on how to improve the performance of the controller.
• PV vs OP plot which can be used to identify problems such as valve
stiction.
10
C h a p t e r 4
4. Software Review
The first task was to conduct a review of all CL programs that would become a
part of precipitation APC. This involved providing a thorough description of the
code’s operation and its purpose. The strategy used was as follows:
1) Split the code into relevant sections.
2) Research the process that each section of code covers. This required
investigating the inputs and outputs of the code, the importance and
sources of the read in reading in and/ or writing to. This can be done
using DOC4000.
3) The functionality of each section was then defined. Code was also
checked for errors and irrelevant lines of code.
There were a number of programs that the software review needed to cover. The
main three programs were:
• Total Bank flow calculation
• Current Seed Charge Calculation
• Total Green Liquor to Bank
Each of these programs in which the code was reviewed in a similar manner, and
therefore this report will only cover the review of the total bank flow calculation.
4.1. Total Bank Flow Calculation
The purpose of the total bank flow calculation is to determine the total input flow
into each bank. As stated before in section 1.5, the green liquor flows from tank
to tank through launders which are situated at the top level of the precipitator
banks. If the total flow into these banks increases above a certain limit, the
11
launders will overflow, resulting in flow losses as well as a potential hazard for
personnel working in the lower levels.
There are four CL programs which calculate the total bank flow, one for each
bank. These are:
• F1BANK1
• F1BANK2
• F1BANK3
• F1BANK4
The code for each of these programs is exactly the same with only the tag names
changed to coincide with the specified bank. For this reason, the analysis was
only conducted on F1BANK1.
The analysis began at the very end of the code. It was here that the flows that
form the total bank flow and the coefficients that make up their calculation were
identified. Working backwards from here it is possible to find how and where
each of the coefficients was defined. The final calculation for the total bank flow
is given below:
-- calculate total bank flow SET total = lb1 + sb1 + tsb1 + 50e
The variable, total, is the total bank flow. The other variables are defined as
follows:
-- calculate liq flow down bank SET lb1 = lp10 + lp20 -- calculate total seed flow from 44-2 down bank SET sb1 = sp10 + sp20 -- calculate total tray seed flow down bank SET tsb1 = tsp10 + tsp20
12
From this, it was determined that there were four sections
• Total green liquor flow down the bank
• Total seed flow from 44-2
• Total tray seed flow
• 50E return flow.
The results are then stored in the following locations.
-- store results
SET ftotb1.PV = total
SET fyglp10.PV = lp10
SET fyglp20.PV = lp20
SET fyglb1.PV = lb1
SET fysp10.PV = sp10
SET fysp20.PV = sp20
SET fxtsp10.PV = tsp10
SET fxtsp20.PV = tsp20
SET fysdb1.PV = sb1
SET fytsdb1.PV = tsb1
Before the code could be analysed it became apparent that the process needed to
be fully understood. Therefore, discussions with other process control engineers
were conducted and schematics were developed for each of the 4 sections. The
following sections of this chapter will cover the analysis of each of these sections
of code in detail.
4.1.1. Total Green Liquor flow down the bank
This section deals with the part of the program which calculates the total green
liquor flow to the precipitator banks. An overview of the green liquor circuit is
provided in Figure 4-1.
13
45 A
60 50 80 70
FCLP60
10 4020 30
FCLP10
50 804010
FCLP10S FCLP40S FCLP80SFCLP50S
FCLP20 FCLP40 FCLP30FCLP70FCLP50 FCLP80
Line 2 – Main GL Line, Unit 1 Line 1 – Main GL Line, Unit 2
Spare GL Line, Both Units
Bank 1 Bank 2
Bank 3
Bank 4
Bank 4
Bank 3
Bank 2Bank 1
45 A
60 50 80 70
FCLP60
10 4020 30
FCLP10
50 804010
FCLP10S FCLP40S FCLP80SFCLP50S
FCLP20 FCLP40 FCLP30FCLP70FCLP50 FCLP80
Line 2 – Main GL Line, Unit 1 Line 1 – Main GL Line, Unit 2
Spare GL Line, Both Units
Bank 1 Bank 2
Bank 3
Bank 4
Bank 4
Bank 3
Bank 2Bank 1Figure 4-1: Green Liquor Circuit to Precipitation
The green liquor (GL) circuit begins at the 45A tanks. From here, the green
liquor is pumped into the first precipitator of each bank. There are 3 GL lines:
two main lines (lines 1 and 2) and one spare. Line 1 supplies GL to unit 2 whilst
line 2 tends to unit 1. The spare line can supply to both units. This line is usually
used when one or both of the main lines are taken off circuit for maintenance.
When the whole precipitator is taken offline, the GL is rerouted to the second
precipitator on the main line via the isolation valve to that precipitator.
As shown in the previous section, the equation for the total GL to bank 1 was
given as:
SET lb1 = lp10 + lp20
Where lp10 is the GL flow to liquor flow to precipitator 10 and lp20 is the GL
flow to precipitator 20. The values of both of these variables are defined in the
code shown below:
SET lp10 = ( WHEN fsglp10.PV = on_line AND
& fsglp10s.PV = on_line : fclp10s.PV + fclp10.PV;
14
& WHEN fsglp10.PV = on_line : fclp10.PV ;
& WHEN fsglp10s.PV = on_line : fclp10s.PV ;
& WHEN OTHERS : 0 )
SET lp20 = ( WHEN fsglp20.PV = on_line : fclp20.PV ;
& WHEN OTHERS : 0 )
Where:
• Fsglp10 = Green Liquor to Precipitator 10 Line status
• Fsglp10S = Green Liquor to Precipitator 10 Spare Line Status
• Fsglp20 = Green Liquor to precipitator 20 Line status
• Fclp10 = Green Liquor flow through main line to Precipitator 10
• Fclp10s = Green Liquor flow through spare line to Precipitator 10
• Fclp20 = Green Liquor flow through line to Precipitator 20
The code filters the GL flow readings based on the status of the line. The
outcome of every scenario is provided in table 1.
FSGLP10 FSGLP10s FSGLP20 Outcome
Status
ON_LINE ON_LINE ON_LINE lp10 = fclp10 + fclp10s ; lp20 = fclp20 ;
ON_LINE ON_LINE OFF_LINE lp10 = fclp10 + fclp10s ; lp20 = 0 ;
ON_LINE OFF_LINE ON_LINE lp10 = fclp10 ; lp20 = fclp20 ;
ON_LINE OFF_LINE OFF_LINE lp10 = fclp10; lp20 = 0;
OFF_LINE OFF_LINE ON_LINE lp10 = 0 ; lp20 = fclp20 ;
OFF_LINE ON_LINE OFF_LINE lp10 = fclp10s ; lp20 =0 ;
OFF_LINE ON_LINE ON_LINE lp10 = fclp10s ; lp20 = fclp20 ;
OFF_LINE OFF_LINE OFF_LINE lp10 = 0 ; lp20 = 0 ;
Table 1: GL to Precipitation Logic Table
15
Note that although the scenario is present in the table, there is very little chance
that all lines to one bank will be offline or online concurrently. It is common
practice to have only one line on at a time and rotate between them in order to
conduct line maintenance. However, there are short periods when changing lines
that two lines will be online simultaneously so it is relevant that the program takes
that into account.
4.1.2. Total Coarse Seed flow down the bank
This section deals with the part of the program which calculates the total coarse
seed flow to precipitators 10 and 20. The overflow streams of the last precipitator
in the bank and the cyclones are pumped into the secondary thickeners. These are
tall, narrow settling tanks with feed wells at the top to minimise turbulence when
the stream enters. This allows the heavier crystals to settle to the bottom of the
tank where it flows out and pumped to building 44-2. The overflow contains the
much finer seed and is sent to the tray thickeners. Here the spent liquor and
coarse seed is put through a series of disc filters to separate the coarse seed
crystals from the spent liquor. The coarse seed is then sent into the 44-2 repulper
tanks where it is mixed with green liquor before being pumped to the precipitator
banks. Here the coarse seed is distributed to the first and second precipitators of
each bank in a controlled ratio.
Each unit is allocated two repulper tanks for coarse seed, R21 and R22 for unit 1
and R23 and R24 for unit 2, as well as a bypass line where the input streams of
the repulpers are redirected straight into precipitator banks via the exit line from
the first repulper (ie: R21 for unit 1 and R23 for unit 2). There is a schedule at
Wagerup for when these repulpers should be online. It states when R21 is online
so is R23, whilst R22 and R23 will be offline and vice versa. A schematic of the
coarse seed circuit to the banks is provided in Figure 4-2.
16
Repulper22
Repulper21
ZSR23BVBypass
FCR21P10
FCR22P20
YS44R21 YS44R22
Bank 1
10
20
40
30
Bank 2
FCR21P20
FCR22P10
FCR21P40
FCR22P40FCR21P30
FCR22P40
Repulper24
Repulper23
FCR23P50
FCR24P60
YS44R23 YS44R24
Bank 3
50
60
80
70
Bank 4
FCR23P60
FCR24P50
FCR23P80
FCR24P70FCR23P70
FCR24P80
ZSR21BVBypass
44-2, Unit 1 44-2, Unit 2
Repulper22
Repulper21
ZSR23BVBypass
FCR21P10
FCR22P20
YS44R21 YS44R22
Bank 1
10
20
40
30
Bank 2
FCR21P20
FCR22P10
FCR21P40
FCR22P40FCR21P30
FCR22P40
Repulper24
Repulper23
FCR23P50
FCR24P60
YS44R23 YS44R24
Bank 3
50
60
80
70
Bank 4
FCR23P60
FCR24P50
FCR23P80
FCR24P70FCR23P70
FCR24P80
ZSR21BVBypass
44-2, Unit 1 44-2, Unit 2
Figure 4-2: Coarse Seed Circuit to Precipitation
The equation for the total tray seed to bank 1 in the CL program was given as:
SET sb1 = sp10 + sp20
Where sp10 is the total coarse seed flow to precipitator 10 and sp20 is the total
flow to precipitator 20. The calculation of both these variables were done prior to
this equation based on the status of the bypass line, given by the status tag
ZSR21BV, and that of repulpers 21 and 22 (R21 and R22), provided by the status
tags YS44R21 and YS44R22 respectively. Other tags relevant to this section of
code are listed below
• Fcr21p10 = 44R21 to Precipitator 10
• Fcr21p20 = 44R21 to Precipitator 20
• Fcr22p10 = 44R22 to Precipitator 10
17
• Fcr22p20 = 44R22 to Precipitator 20
-- assign 44r seed flows
SET sp10 = 0
SET sp20 = 0
SET seed_tank21 = 0
SET seed_tank22 = 0
-- set values bad
IF COMM_ERROR (YS44R21.PV) OR COMM_ERROR(zsr21bv.PV)THEN
& (SET seed_tank21 = bad_value;
& SET seed_tank22 = bad_value;
& SET sp10 = bad_value;
& SET sp20 = bad_value;
GOTO next )
The code initially sets the coarse seed flows to each tank to zero and then deals
with the occurrence of communication errors (comm_error). Communications
errors occur when communication between the field instruments and the DCS is
broken, usually caused by power failure. When this happens the status stags will
register as “bad.” The program must take account of this as the readings from the
instruments registering a communication error are unreliable and would thus turn
the rest of the calculation unreliable if it is used. When one of the repulpers or
the bypass line registers a communications problem, the code sets all tray seed
flow coefficients as bad. It then bypasses (or jumps) the next set of code to the
case “next” which is given below. This protects the rest of the calculation from
becoming bad_value.
-- filter ST seed flows by status entered by operator
next: SET sp10 = ( WHEN fshyp10.PV = on_line : sp10 ;
& WHEN OTHERS : 0 )
SET sp20 = ( WHEN fshyp20.PV = on_line : sp20 ;
& WHEN OTHERS : 0 )
In “next,” it establishes whether the lines to both precipitators are actually online
by checking the status tags FSHYPn where ‘n’ is the precipitator number. For
18
bank one, these status tags are FSHYP10 and FSHYP20. When offline, the flow
through that line should be zero, regardless of the repulper status. This is
reflected in the code above where sp10 and 20 are set to 0 when their respective
lines are offline. However, when online and the repulper to that line has a
communications error, the flow reading from that line cannot be trusted and is
thus set to bad_value.
The only issue with this code is that it only takes into account the status of the
bypass line and only one of the repulper tanks, (R21 in the case for F1BANK1
and F1BANK2). The result of this is when R22 has a communications error, the
program wont account for it. The reason why it was done this way was that
communications between both repulpers communicate to/from the DCS from
the same module. Thus if one of the repulpers registers a communications error
so must the other.
-- Tank 21 values.
IF ys44r21.PV = ON_LINE
& OR (ys44r22.PV <> ON_LINE AND zsr21bv.PV = BYPASS) THEN & (SET seed_tank21=1 ;
& SET sp10 = sp10 + fcr21P10.PV;
& SET sp20 = sp20 + fcr21P20.PV)
-- If 22 is online, add tank 22 values
IF ys44r22.PV = ON_LINE THEN
& (SET seed_tank22=1 ;
& SET sp10 = sp10 + fcr22P10.PV;
& SET sp20 = sp20 + fcr22P20.PV)
-- endif
When R21 is online but R22 is offline and the bypass valve is open, the coarse
seed flow to precipitators 10 and 20 are equal to the flow through the bypass and
the stream out of R21. The flow out of R22 is set to zero. When both repulpers
are online, the coarse seed flows out of the two repulpers to the precipitators are
added together. If one repulper is offline, then its flow is initialised to 0
19
(sp10/sp20). If both tanks were offline and the bypass was open, the total coarse
seed to precipitators would be zero.
There are some issues with this section of the program. Firstly, the code sets the
values of two variables, seed_tank21 and seed_tank22, which are not used in any
calculations in the code. Therefore, it was recommended that it be eliminated
from all bank flow calculation programs.
Secondly, the code doesn’t account for every likely status combinations. Table 2
below provides all possible combination of tank and bypass line statuses, the
outcome that should occur from each combination and whether the code reflects
this.
Table 2: Coarse Seed Logic Table
With the seventh outcome, where R22 and the bypass line are online but R21 is
offline, the calculation should include the flow through line out of R21 as well as
the exit line from R22 since the bypass line mixes to the output of R21 (i.e: sp10
= FCR21P10+FCR22P10 and sp20 = FCR21P20 + FCR22P20). However,
YS44R21 YS44R22 ZSR21BV WHAT SHOULD HAPPEN Outcome
ON_LINE ON_LINE OPEN
(BYPASS) sp10 = fcr21p10 + fcr22p10 ; sp20 = fcr21p20 + fcr22p20 ;
YES
ON_LINE ON_LINE CLOSED
(NORMAL) sp10 = fcr21p10 + fcr22p10 ; sp20 = fcr21p20 + fcr22p20 ;
YES
ON_LINE OFF OPEN
(BYPASS) sp10 = fcr21p10 ; sp20 = fcr21p20 ;
YES
ON_LINE OFF CLOSED
(NORMAL) sp10 = fcr21p10 ; sp20 = fcr21p20 ;
YES
OFF OFF OPEN
(BYPASS) sp10 = fcr21p10 ; sp20 = fcr21p20 ;
YES
OFF ON_LINE CLOSED
(NORMAL) sp10 = fcr22p10 ; sp20 = fcr22p20 ;
YES
OFF ON_LINE OPEN
(BYPASS) sp10 = fcr22p10 + fcr21p10 ; sp20 = fcr22p20 + fcr21p20 ;
NO sp10 = fcr22p10 ; sp20 = fcr22p20 ;
OFF OFF CLOSED
(NORMAL) sp10 = 0 ; sp20 = 0 ;
YES
20
when this situation does occur, the code only includes the R22 measurement in
the calculations. This is a major issue as this will cause significant inaccuracies in
the total bank flow calculation.
To counteract this, the following code should be implemented:
-- when tank 22 is online and the bypass in open
IF ys44r22.PV = ON_LINE AND zsr21bv.PV = BYPASS THEN
& SET sp10 = fcr21P10.PV + fcr22P10.PV;
& SET sp20 = fcr21P20.PV + fcr22P20.PV)
4.1.3. Total Tray Seed flow down the bank
This section will deal with the part of the program which calculates the total tray
seed flow to precipitators 10 and 20. The overflow from the secondary
thickeners, which contains much finer seed particles, travels to the tray
thickeners. These are large flat tanks fitted with feed wells in the top to minimise
turbulence caused by incoming flows. (Goodman, A. 2003)
The primary function of the tray thickeners is to recover as much fine seed as
possible from the liquor. The trays consist of multiple levels to increase the
surface area to help the fine seed to settle. Each level has its own rake, all of
which are connected to a common axle. The rakes scrape the fine seed that have
settled at the bottom of each level to the centre cone to be pumped to the fine
seed filters in building 44-1. (Goodman, A. 2003)
Building 44-1 contains a series of fine seed disk filters to separate the fine seed
from the liquor. The fine seed is then sent into the 44-1 repulper tanks, R11 and
R12, where it is mixed with green liquor before being pumped to the precipitator
banks. Like the coarse seed, the fine seed can go into either the first or second
precipitator of each bank. However, fine seed can not be supplied to both
precipitators at the same time.
As shown previously, the equation for the total tray seed to bank 1 was given as:
SET tsb1 = tsp10 + tsp20
21
Where tsp10 is the tray seed flow to precipitator 10 and tsp20 is the flow to
precipitator 20. Figure 4-3 depicts the flow diagram for the tray seed flow.
The two output flow rates from R11 and R12 travel along two lines, both of
which lead to the first 2 tanks in each bank. The lines are connected to each other
by a crossover line, which can either be open or closed. Depending on whether
the crossover line is open or not and which tank is online, will effect which line
the output of the two tanks will take. When the crossover line is open, the tanks
will change to the other line.
The following discusses each subsection of code that deals with the tray seed flow
separately. The tags used in these sections are given below
• Ys44r1 = 441 Repulp Tank 11 Status
• Ys44r12 = 441 Repulp Tank 12 Status
• Hs441rx = 441 Repulp Tank Crossover Status
• Fcsp101 = Tray Seed to Precipitator 10, Line 1
• Fcsp102 = Tray Seed to Precipitator 20, Line 1
• Fcsp201 = Tray Seed to Precipitator 10, Line 2
• Fcsp202 = Tray Seed to Precipitator 20, Line 2
• Fstsp10 = Tray Seed to Precipitator 10 Line Status
• Fstsp20 = Tray Seed to Precipitator 20 Line Status
22
Repulper12
Repulper11
HS44RXCrossover
YS44R11 YS44R12
FCSP101
FCSP201
Bank 1
FCSP202
10
20
40
30
Bank 2
FCSP102
FCSP401
FCSP301
FCSP402
FCSP302
FCSP501
FCSP601
Bank 3
FCSP602
50
60
80
70
Bank 4FCSP801
FCSP701
FCSP802
FCSP702
FCSP502
Repulper12
Repulper11
HS44RXCrossover
YS44R11 YS44R12
FCSP101
FCSP201
Bank 1
FCSP202
10
20
40
30
Bank 2
FCSP102
FCSP401
FCSP301
FCSP402
FCSP302
FCSP501
FCSP601
Bank 3
FCSP602
50
60
80
70
Bank 4FCSP801
FCSP701
FCSP802
FCSP702
FCSP502
Figure 4-3: Tray Seed Flow to Precipitation
23
-- Assign tray seed flow
IF COMM_ERROR (hs441rx.PV) OR COMM_ERROR (ys44r12.PV)
& OR COMM_ERROR (ys44r11.PV) THEN
(SET seed_tank1 = bad_value;
& SET tsp10 = bad_value;
& SET tsp20 =bad_value;
& GOTO next1 )
The above subsection of code deals with communication errors. As previously
explained the program must account for any unreliable data. When one of the
repulpers or the crossover line registers a communications problem, the code sets
all tray seed flow coefficients as bad. It then bypasses (or jumps) the next set of
code to the case “next1” in order to keep the rest of the calculation from
becoming bad.
next1:
SET tsp10 = ( WHEN fstsp10.PV = on_line : tsp10 ;
& WHEN OTHERS : 0 )
SET tsp20 = ( WHEN fstsp20.PV = on_line : tsp20 ;
In “next1,” the coefficient tsp10 is set to 0 when the line status to precipitator 10
is offline and the same with tsp20 when line status to precipitator 10 is offline.
-- Reset tray seed totals
SET tsp10 = 0
SET tsp20 = 0
-- if tank 1 on. use tank 1 values
IF ys44r11.PV = ON_LINE THEN
& (SET tsp10 = (WHEN hs441rx.PV = NORMAL : fcsp101.PV;
& WHEN OTHERS : fcsp102.PV);
& SET tsp20 = (WHEN hs441rx.PV = NORMAL : fcsp201.PV;
& WHEN OTHERS : fcsp202.PV))
-- if tank 2 on, combine tank 2 values
IF ys44r12.PV = ON_LINE THEN
24
& (SET tsp10 = (WHEN hs441rx.PV = NORMAL: tsp10 + fcsp102.PV;
& WHEN OTHERS: tsp10 + fcsp101.PV);
& SET tsp20 = (WHEN hs441rx.PV = NORMAL: tsp20 + fcsp202.PV;
& WHEN OTHERS: tsp20 + fcsp201.PV))
The code sets flow meter readings to the tray seed flow coefficients tsp10 and
tsp20 depending on the status of the repulp tanks and the crossover line (initially
set to zero). This effectively takes care of instances where both repulpers are
online without the need for extra code to be written.
Table 3 below summarises all possible tank and crossover line status
combinations and the resulting values of tsp10 and tsp20. This provides a better
understanding of the operation of this section of code.
Table 3: Tray Seed Flow Logic Table
4.1.4. 50E Return Filtrate to Precipitation
This section deals with the return flow from calcination to precipitation. The
hydrate from precipitation flows through to the calciners where it goes through a
series of filters. The filtrate flow is sent to the surge tanks known as the 50E
YS44R11 YS44R12 HS441RX Outcome
Status
ON_LINE ON_LINE CLOSED (Normal)
tsp10 = fcsp101 + fcsp102 ; tsp20 = fcsp201 + fcrsp202 ;
ON_LINE OFF CLOSED (Normal)
tsp10 = fcsp101 ; tsp20 = fcsp201 ;
OFF ON_LINE CLOSED (Normal)
tsp10 = fcsp102 ; tsp20 = fcsp202 ;
OFF OFF CLOSED (Normal)
tsp10 = 0 ; tsp20 = 0 ;
ON_LINE ON_LINE OPEN tsp10 = fcsp102 + fcsp101 ; tsp20 = fcsp202 + fcrsp201 ;
ON_LINE OFF OPEN tsp10 = fcsp102 ; tsp20 = fcsp202 ;
OFF ON_LINE OPEN tsp10 = fcsp101 ; tsp20 = fcsp201 ;
OFF OFF OPEN tsp10 = 0 ; tsp20 = 0 ;
25
tanks. The level in the tanks is controlled via varying the flow out of the tanks,
(the return flow to precipitation). The output of these tanks can then travel
through 2 lines This, depending on which line is selected, will lead to the first or
second row of each bank. An overview of the return flow to precipitation is
provided in Figure 4-4.
HS50ELReturn Line
SelectorFC50E20
FC50E21
50E250E1
LCLC
30 60 7020 31 61 7121
Row 0 Row 1
Bank1 Bank2 Bank3 Bank4 Bank1 Bank2 Bank3 Bank4
Filters Filters
HS50ELReturn Line
SelectorFC50E20
FC50E21
50E250E1
LCLC
30 60 7020 31 61 7121
Row 0 Row 1
Bank1 Bank2 Bank3 Bank4 Bank1 Bank2 Bank3 Bank4
Filters Filters
Figure 4-4: 50E Filtrate Return Flow to Precipitation Circuit
When row 0 is selected, the flow is routed to the second precipitator of the first
row of each bank (in this case precipitator 20). When row 1 is selected, the flow
is routed to the second precipitator of the second row of each precipitator bank
(in this case precipitator 21). When neither is selected, no flow is going through
the lines. As shown below the code does reflect this in its logic, with the variable
26
50E being set to the flow measurement from FC50E20 when row 0 is selected,
FC5021 when row 1 is selected and zero when none are selected. When there is a
communications error, the variable is set to ‘bad_value’.
-- 50e return flow to precips
SET 50E = (WHEN COMM_ERROR (hs50el.pv) : bad_value ;
& WHEN hs50el.pv = row0 : fc50e20.pv ;
& WHEN hs50el.pv = row1 : fc50e21.pv ;
& WHEN others : 0 )
4.1.5. Summary
Conducting the software review was great preparation work for the loop analysis.
Through analysing the CL programs, the intern was able to achieve a greater
understanding of the precipitation process, how it operates, how it’s controlled
and the purpose of certain control schemes. This undoubtedly contributed to the
success of the project
Overall, only two errors were found in the total bank flow calculation programs,
both of which are in the section which calculates the coarse seed to the first two
precipitators of the bank.
Firstly, its recommended that the local variables of the name seed_tank## are
eliminated from all total bankflow programs as they serve no purpose at all.
Secondly, it’s recommended the following code be implemented to take care of
the instance where R22 and the bypass line are online but R21 is offline:
-- when tank 22 is online and the bypass in open
IF ys44r22.PV = ON_LINE AND zsr21bv.PV = BYPASS THEN
& SET sp10 = fcr21P10.PV + fcr22P10.PV;
& SET sp20 = fcr21P20.PV + fcr22P20.PV)
27
c h a p t e r 5
5. Loop Analysis
The aim of this task was to conduct a performance analysis on all the base level
control loops in Precipitation that would become a part of the new APC
controller. A report was to be handed to the Operating Centre so that faulty
instrumentation could be fixed. Each loop was reviewed to understand the
instruments, final control elements and tuning.
The initial list of control loops was developed from the precipitation APC
conceptual design document as well as those referenced by the CL programs
analysed in the software review.
5.1. Methods of performance Analysis
There were two ways to conduct the loop analysis. The first is by using
automated loop analysis software. The refinery already had a loop analysing tool
known as LoopScout that’s normally used for bulk scanning and identification of
controller issues. Although it is very fast, LoopScout is not suitable for scanning
of long term data and controllers that are currently offline.
The other option was to conduct the analysis manually using trend data and
creating a new performance index. This option is more time consuming however
it can identify issues that LoopScout did not cover. It could also provide more
targeted information for the review.
For this reason, manual analysis was conducted on the each controller using data
over a one moth period, with LoopScout being incorporated as a guide.
Performance criteria were developed to rate controller performance and identify
issues with the instrumentation.
28
5.2. Performance Analysis
A control loop consists of the process, measurement, controller, and a final
control element (a valve, damper, etc., and its associated equipment such as a
positioner). Optimal process control depends on all of these components
working properly. Before tuning can be performed, it must be verified that each
component is operating properly and that the design is appropriate. The
performance analysis conducted on the control loops in bank was based on four
main criteria:
• Setpoint Change Response
• Disturbance Rejection
• Valve Stiction\ hysteresis
• Noise on Field Instruments
When analysing the response to a setpoint change, the criteria traditionally used
to describe how well the process responds to the change include rise time, settling
time and decay ratio. “These techniques permit an orderly comparison of process response
shapes and characteristics”. Thus, they deemed to be suitable and commonly used for
a number of reasons (Rice, R.C. et all, 2005):
• To establish the specifications of a control loop during the
commissioning phase.
• To provide evidence of changes in performance due to maintenance on
the lines or instruments, or alterations in the control or process
parameters or scale build up within the lines and around the final control
element.
A discussion of some of the specific measures now follows.
29
5.2.1. Rise Time
Rise time is a measure of the speed of response to a setpoint change. A large rise
time is usually associated with a sluggish controller in which the time for the
process to reach the new setpoint is fairly long. Inversely, a small rise time is
associated with a more aggressive controller in which the process reaches setpoint
really quickly, but usually results in overshoot. (Rice, R.C et all. 2005)
Figure 5-1: Butterfly Control Valve
5.2.2. Settling Time
Settling time is the time for the process variable to enter and then remain within
the ±10% of the magnitude of the setpoint change from the new setpoint. Time
spent outside this band is generally undesirable, and for this reason a short
settling time is sought. (Rice, C etal. 2005)
Often there is a trade-off between a very fast rise time and short settling time.
This is where the decay ratio comes in handy. It is defined as rate at which the
magnitude of the oscillations decays and is the single parameter in which an equal
compromise between rise time and settling time can be achieved. The smaller the
decay ratio, the quicker the oscillations will dampen. A large decay ratio is
associated with an aggressive controller. Cohen and Coon suggested a quarter
∆y(t)
Rise time
Time
PV
30
decay ratio (0.25) which is now the accepted rule of thumb as it results in 50%
overshoot and a damping coefficient of 0.2. (Rice, C etal. 2005)
5.2.3. Integral Square Error
There are also integral error indices which focus more on the deviation from the
setpoint. These include (NB: e(t)= error, t=time) (Rice, C etal. 2005) :
• Integral Absolute Error (IAE),
dtteT
∫0
)(
• Integral Squared Error (ISE),
dtteT
∫0
2 )(
• Integral Time Absolute Error (ITAE) and
dttetT
∫0
)(
• Integral Time Squared Error (ITSE).
dttteT
∫0
2 )(
ISE is more aggressive as it provides greater punishment for large errors through
squaring the error term. ITAE is the most conservative of the lot as it gives more
weighting on the errors after a long period of time.
31
The ISE index was the main performance indicator used to judge the overall
performance of the controllers analysed by the intern and compare
improvements in control afterwards.
The ISE index was used for each controller using 1 minute snapshot data over a
period of one day (1441 minutes). Originally the data was not normalised. This
became a major issue as different controller types (ie: flow, level, temperature,
etc) required different ISE ranges for their performance rankings which lead to
inconsistency and confusion. For this reason, the data had to be normalized
before the ISE was calculated. This enabled different controller types to be
compared against each other more easily, as well as having a universal
performance rating scheme which is given in Table 4.
Performance Rating ISE Range Average Offset
Excellent 0 – 1.44E+03 0 -1%
Fair ≥1.44E+03 – 5.76E+03 1% - 2%
Ok ≥5.76E+03 – 9.01E+03 2% - 2.5%
Poor ≥ 9.01E+03 > 2.5%
Table 4: ISE Index Table
5.2.4. Control Valve Issues
The valve is often the weak link in the control loop since its components are the
only part of the loop which moves. It’s because of this movement that problems
occur. The control valves used in Precipitation are butterfly valves with
pneumatic actuators moving the valves to new positions. It is imperative that the
actuators are strong enough to deal with the forces applied on the valves by the
process and to overcome the friction from the mechanical pieces in contact.
Furthermore, the components of the valves must fit perfectly within the flanges.
Loose mechanical parts lead to what is known as backlash where the valve
movement will be different from the controller output signal. (Ruel, M. 2000)
32
Figure 5-2: Butterfly Control Valve
One of the major issues faced at Wagerup is valve stiction. Valve stiction is
defined as the “resistance to the start of motion, usually measured as the
difference between the driving values required to overcome static friction
upscale and down scale” (Ruel, M. 2000). It exists when the starting, or static,
friction is greater than the dynamic, or moving, friction in the valve. Ruel
provides a good example of stiction (Ruel, M. 2000):
“…it is sometimes hard to move a piece of furniture. You apply increasing pressure and it
suddenly gives, moving rapidly. Similarly, stiction causes the piston of an air cylinder to suddenly
lurch forward at the start of a stroke or to move jerkily during its travel.”
Stiction is a big issue in control loops as the controller will increase the output
until the PV reaches setpoint. When stiction is present, the controller will increase
the output too high in order to get the valve to move, causing the valve to move
too much resulting in overshoot. The controller will then output the reverse
33
direction and the phenomenon will happen again. A typical telltale sign of valve
stiction is shown in Figure 6-3. The PV will represent a square wave whilst the
controller output will resemble a sawtooth function.
Figure 5-3: The classic sign of valve stiction (Ruel, M. 2000).
Another way to determine stiction is by plotting the process data (PV) against the
controller output (OP) in what is known as the valve characteristic plot. The
shape of the plot emphasises the relationship between the output and the process
variable.
The plots in Figure 5-4 show the different plot shapes that are typical of most
valves. The first suggests a strong linear relationship. Plot 2 suggests hysteresis
where any one valve position can result in two different values in the process
variable depending on the direction of the step of the same magnitude. Although
this is undesirable, hysteresis does not pose a significant problem for control
loops. Plot 3 is typical to that of a butterfly valve where small changes in valve
position result in large change in the process in the lower region but the
magnitude of change for the same step exponentially decreases as the valve
position enters the upper region till around 65%. The fourth plot illustrates
PV
OP
34
deadband. This is the range of which the control output can be varied without
resulting in a change in the process variable. (Shoukat Choudhury et al. 2005)
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
Dead band
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
Dead band
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
1) 2)
3) 4)
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
Dead band
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
Dead band
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
PV
(%
)
0%
100%
OP (%)
100%
50%
50%
1) 2)
3) 4)
Figure 5-4: Typical Valve characteristic plots
The plots of problematic control valves usually will illustrate very little, if any
relationship between the output and the process variable. A classic example is the
case where the shape of the plot is square as shown in Figure 5-5. This strongly
suggests stiction in the valve.
35
PV
(%)
0%
100%
OP (%)
100%
50%
50%
Figure 5-5: Typical Valve characteristic plot of valve stiction
The main cause of stiction is the scale buildup within the pipes. This results when
the hydrate precipitates out of the green liquor in the pipes instead of in
precipitation where it’s supposed to. Scale buildup is a constant issue in the
process world, as it constricts the flow through the pipes and inhibits the
movement of control valves. Figure 5-6 is an example of bad GL scale.very
Figure 5-6 : Green Liquor Scale in a Pipe
36
For this project, the probability of valve stiction was measured by measuring the
strength of the relationship between the controller output and the process
variable, otherwise known as the correlation coefficient (R2). The values of R2
ranges between 0 and 1, where 0 giving no relationship and 1 giving very strong
relationship. The concept for using this to determine stiction was the assumption
that the correlation coefficient was directly proportional to the health of the
valve. The smaller the value of correlation coefficient, the higher the possibility of
valve stiction. Thus, by subtracting the value of R2 from 1, the probability of
valve stiction can be determined.
( ) %1001)( 2 ×−= RstictionP
There were some issues with this algorithm. The algorithm does not differentiate
backlash and stiction. Thus it is effectively a measure of the possibility that there
is problem with the valve. As a rule of thumb, any controller with a P(stiction)
value greater than or equal to 30% is considered to have valve problems and
needs further investigation.
Furthermore, the use of this valve characteristic plot which plots the process
variable against the controller output is limited to controller types whose “process
variable can be taken as proportional to the valve position.” This is because that it will not
only capture the characteristic of the valve, but also the dynamics of the process.
Furthermore, controller types such as temperature, level and density are affected
by disturbances and this will make the plot unreliable to determine stiction.
Ideally, the valve position feedback should be plotted against the controller
output as it would clearly emphasise the stiction in the valve. Wagerup does not
have valve position feedback, so the PV was used instead. Despite this, the plot
can still be used effectively for flow loops, which make up the bulk of the
37
controllers, analysed and every secondary controller in a cascade loop is a flow
controller. (M.A.A. Shoukat Choudhury et al. 2005)
5.3. Presentation of Data
Once the controller performance analysis was conducted, the findings were
summarised in a performance report card, the format of which was based on the
reports LoopScout already generates. The reason for this had to do with the
audience. The control engineers were familiar with the LoopScout format and the
layout effectively summaries the data in a way that’s clear and concise. These
provided the description of the process response, the performance indicators and
performance rating, and the action to be taken to improve the performance.
An example of the controller report card is shown in Figure 5-7. All performance
information is provided such as the description of the process response, the
performance indicators and performance rating, the valve characteristic plot,
saturation time and other mode information and the action to be taken to
improve its performance.
Saturation time and time in normal mode are both important indicators in their
own right. If a controller spends most of its time saturated, there is a high
likelihood that the controller is not performing as it should.
The time in normal mode can also be considered as a performance indicator. The
operators usually take the controller out of normal mode when it is performing
badly. Thus the longer the controller is out of its normal mode; the greater the
likelihood of bad performance.
38
Performance Overview
Loop details and tuning parameters
Overview
Plot
Valve Characteristic
Plot
Control loop connections
Recommendation
Saturation and mode
information
Figure 5-7: Report Card
An overall performance table was also put together in Excel, where all the
controllers analysed with their performance indicators and ratings, suggested
action to be taken, to improve its performance. This table is available in
Appendix 3 of this report.
39
5.4. Methodology
The following methodology was used for the analysis of the loops.
1 The controllers were analysed one bank at a time. The list of controllers for
each bank was derived from the CL programs analysed. The controllers from
each bank were then separated into 4 groups:
• Green Liquor
• Coarse Seed
• Tray Seed
• 50E Hydrate Return
Moving from one group to another, research on each loop was conducted
with the use of DOC3000 and later DOC4000. With the use of query
builder, an SQL query was developed in order to obtain the following data:
• The controller parameters (NB: K is the controller gain, T1 is the
integral time constant and T2 is the differential time constant).
• The value of the filter time constant, Tf (in minutes)
• The high and low limits for the controller output
• Highest and lowest possible values of the PV. PVEUHI for
maximum value and PVEULO for the minimum value.
• The controller normal mode (nmode)
This data was then recorded into a Performance Overview table, produced
in Excel™ for each bank. DOC4000 was also used to find the controllers
upstream to each loop.
2 The analysis began with the GL controllers in bank 1. Each of these were
analysed separately using the trending software, Uniformance Process Trend.
40
Here, the controller output, PV, setpoint, mode and status were generated on
the same trend.
Through analysis of the trend, initial findings of the controller performance
were documented such as the aggressiveness, oscillatory, noise as well as
setpoint response data when the controller is in auto mode.
With the use of the hairline cursor, the trend can be analysed more accurately.
The hairline cursor is a vertical line on the trend which can be moved across
the time axis with a 1 second resolution. Its function is to show the time
value represented by the hairline cursor as well as the value of the intersection
between the hairline and each tag’s trace. Thus it was used to measure the
period and amplitude of oscillations, and to accurately retrieve data in order
to calculate rise time, settling time and decay ratio.
3 A template known as ‘Controller Analysis Template’ was developed in
Excel™ to analyse the data. Here the data was collected using the
Uniformance Companion for Excel. The spreadsheet was developed for easy
use so all that needed to be done was to type in the controller tag name, the
controller status tag, and the starting and finishing time for the period of
analysis and the data would be automatically generated.
The Controller Analysis Template consisted of 3 worksheets; these were:
• Saturation Analysis: This worksheet calculated the online time, the
time spent in each controller mode when online, and the saturation
time when online and in either auto or cascade mode over a period
of a month (31 days) using 1 minute sampled data.
• ISE: This worksheet conducted the ISE analysis on the controller
on one minute snapshot data over a period of one day.
• Valve Characteristic
All this data was then used to develop a controller report card.
41
Once the initial analysis was complete, the testing began, starting with the least
complex loops or the control loops which were not on headers. These included
the primary and secondary inter stage cooler flow controllers. This was done in
order to get a quick “win” so to speak in the project as well as to get the
maintenance crew for the operations centre 3 precipitation (OC3) enthusiastic
about the project by getting results.
The more complex control loops would then be tested. This is due to the
interaction between the controllers on the header will affect the results. To
counteract this, all controllers located on the same header were tested at the same
time. Furthermore, these controllers can have a detrimental effect on other
sections of the process such as tank levels, bank flow limits etc. thus extra care
was needed when testing.
There were two tests conducted on each of these controllers the first was the
noise test, which involved placing the controller in manual mode and holding the
output constant and evaluating the level of noise from the PV. Depending on the
magnitude of the noise, it would then need to be decided whether a filter should
be implemented or the measurement instrument needed replacing.
If a filter was to be implemented, the following equation would be used to
determine the magnitude of Tf:
Time Sample
Constant TimeFilter T
InputFilter Current
Output Previous
OutputFilter
:
60
f
n
1
11
=∆==
==
∆
−+=
−
−−
t
x
Y
Y
where
tT
YxYY
n
n
f
nnnn
42
The second test conducted was to test for valve stiction. The test conducted is
known as valve stroking. Otherwise known as valve travel or bump test, the test
involves putting the controller in manual and increasing the output in small
increments first upwards to 100% then back down to 0%. What should occur, if
the valve is healthy the PV should change after each step. If the valve is sticky,
the pv would not change until the OP has changed enough to allow the actuator
to apply enough force to break the static friction.
If a controller passed both tests, then the controller should undergo retuning in
order to improve performance. There are two ways this can be conducted.
1) Using Opertune.
2) Retune manually
For the second option any controllers that required retuning will be retuned using
the ISE tuning rules. In order to tune the controllers, the process reaction curve
was obtained from the Excel™ spreadsheets associated with the chosen control
loops. This was done by graphing the controlled variables against time. The
parameters for the process reaction curve were obtained, and these were:
• Steady state gain, Kp
• Effective time constant, τ
• Effective time delay, α
A tangent line was drawn at the point of inflection for each process reaction
curve. The slope, σ, as well as the x intercept of the tangent line were taken. Now,
let ‘y’ be the PV and ‘A’ be the magnitude of the step. The equations for the
parameters are (Ogunnaike, B., & Ray, W. H. 1994):
( )
)0(
1
Tangent
p
F
A
yK
×=
=
∞=
τασ
τ
43
The ISE tuning rules will then be used. These are as follows (Stephanopolous, G.
1984):
+
+==
+=
τατα
ατ
ατ
209
3301
12
19.0
T
KKK
I
pp
5.5. Analysis of Inter Stage Cooler Controllers
There are a total of 20 control loops for the interstage coolers, 15 flow controllers
and the remaining were temperature controllers.
The cooling water flow controllers are examples of excellent performance, which
is to be expected as these controllers don’t suffer from the same problems as the
green liquor or seed lines. Take the following controller for example.FCWISC11,
the cooling water flow to one of the heat exchangers. The controller exhibits very
good setpoint tracking, resulting in a low ISE score. The stiction probability was
only 1.26%, which is illustrated in the valve characteristic plot, since the
relationship between the Op and the flow is strong liner. This is easy to see in the
plot as well, since the flow follows the OP closely.
44
#1 (A) PRP.FCWISC11.OP 10/09/2008 20:00:00 46.62 % (Raw) *BANK1 ISC C/W FLOW / BA NK1 ISC C/W FLOW**#2 (A) PRP.FCWISC11.pv 10/09/2008 20:00:00 995.47 kl/h (Raw) *BANK1 ISC C/W FLOW / BA NK1 ISC C/W FLOW**#3 (A) PRP.FCWISC11.sp 10/09/2008 20:00:00 1004.33 kl/h (Raw) *BANK1 ISC C/W FLOW / BA NK1 ISC C/W FLOW**#4 (A) PRP.FCWISC11.mode 10/09/2008 20:00:00 2.00 kl/h (Raw) *BANK1 ISC C/W FLOW / BA NK1 ISC C/W FLOW**
50.50
35.00
1150.00
680.00
1150.00
680.00
2.00
0.00
10/09/2008 12:00:00 10/09/2008 20:00:00
New Plot Title @ 8h0m0s
#1 (A) PRP.FCWISC11.OP 10/09/2008 20:00:00 46.62 % (Raw) *BANK1 ISC C/W FLOW / BA NK1 ISC C/W FLOW**#2 (A) PRP.FCWISC11.pv 10/09/2008 20:00:00 995.47 kl/h (Raw) *BANK1 ISC C/W FLOW / BA NK1 ISC C/W FLOW**#3 (A) PRP.FCWISC11.sp 10/09/2008 20:00:00 1004.33 kl/h (Raw) *BANK1 ISC C/W FLOW / BA NK1 ISC C/W FLOW**#4 (A) PRP.FCWISC11.mode 10/09/2008 20:00:00 2.00 kl/h (Raw) *BANK1 ISC C/W FLOW / BA NK1 ISC C/W FLOW**
50.50
35.00
1150.00
680.00
1150.00
680.00
2.00
0.00
10/09/2008 12:00:00 10/09/2008 20:00:00
New Plot Title @ 8h0m0s
Figure 5-8: The trend and Valve Characteristic of FCWISC11
Other performance indicators also suggested excellent control. Over a period of a
month, the controller was in its normal mode 93.62% of the time and was only
saturated 33.88% of the time, which is quite significant. Overall performance
however was excellent and thus no action was recommended to be undertaken.
In contrast, FCGLPC1 which controls one of the GL flow from the third
precipitator, is a classic example of poor performance. Although it is never
saturated, the controller is hardly ever in its normal mode and has a stiction
probability of 100% and this is easy to see when examining the plots in Figure 5-
9.
45
Figure 5-9: The trend and valve characteristic of FCGLPC1
There are two problems here. Firstly the flow reading is very noisy and since the
controller action (OP) is fairly smooth, it does indicate issues with the flowmeter.
Furthermore, it is very clear that there is no relationship between the flow and the
OP. Not only by the shape of the valve characteristic, but also by the fact that the
OP resembles a saw tooth function and the flow is a square wave. This is the
typical signature of stiction. To confirm this, the valve stroking test was
conducted. The test was conducted with someone out in the field to observe the
valve movement with a walkie talkie in hand to communicate with the operator in
OC3 and notify them to conduct the step change. Although the valve did move
for the initial step from 55% to 25%, it would not move any further. The OP was
stepped from 25 to 30%, then to 35% then to 40%, each time the valve did not
move. Thus the valve is severely jammed and a recommendation for it repair was
made.
Although this was the most severe case of stiction observed, similar results on the
other GL flow to interstage cooler controllers all tested positive for stiction. The
reason for this is the fact that the setpoints of theses controllers are hardly ever
changed, thus once the PV is at setpoint, the controller doesn’t need to move the
valve that much to keep it there. This allows scale to build up within the valve
quicker.
46
5.6. Analysis of Green Liquor Controllers
There are a total of 16 green liquor flow controllers in precipitation. Of those:
• 2 exhibited Excellent performance,
• 3 exhibited Fair performance
• 3 exhibited Ok performance
• 2 exhibited Poor performance, whilst
• 6 had not been in use in the last year
Referring to Figure 5-1 of this report, there are 12 main control loops that feed
GL to the precipitators, split evenly between 3 lines. This report will cover the
analysis of the controllers on line 2, the main line to Unit 1.
There are three green liquor controllers for bank 1 whilst banks 2 to 3 had four.
The extra controllers in the other banks dated back to when the green liquor
could also go into the third precipitator of each bank. This was removed from the
physical system quite a while now, thus making these particular controllers
redundant. The names of these controllers are:
• FCLP41
• FCLP51
• FCLP81
Since these controllers do not exist in the physical setup, it was recommended
that they be eliminated from the DCS.
The GL to the precipitator banks is controlled via a total flow controller,
FCLTPTOT. The controller obtains the result of the total GL to each bank from
the total bank flow calculation programs discussed earlier in this report. The
setpoint of this controller is set by the operator. The output of the controller is
47
then the setpoint for the GL controllers. Since it is a total flow controller, its
performance can not be analysed until the performance of its underlying
controllers improve.
The main issue faced with all of these controllers was valve stiction caused by
green liquor scale. In order to clear the scale, the line must be washed using either
high pressure water or hot caustic soda, depending on the hardness of the scale.
To do this however, the line has to be taken offline which could only happen at
the end of its cycle (28 days). Thus after confirming valve stiction, there is a
waiting period of up to 2 months before the line is back online again, and the
performance can be retested to determine if any require retuning.
One of the controllers tested was FCLP40, the green liquor to precipitator 40.
During the initial analysis, the controller performed fairly well with an ISE score
of 5.17E+03 and a low stiction probability of 7.93%. However, when examining
the valve characteristic shown in Figure 5-10, it became evident that the control
valve has a significant deadband of between 8% and 10% of the OP which is far
too large to be considered as the natural deadband.
FCLP40 Valve Characteristic
295
325
355
385
415
445
475
505
535
565
22 27 32 37 42 47 52 57 62 67 72OP
PV
Figure 5-10: Valve Characteristic of FCLP40
48
Furthermore, for a setpoint change from 150 to 200 (refer to Figure 5-11), the
controller has an initial delay of one minute, but the PV delayed by about 3 and a
half minutes. The delayed control response may be due to the 0.2 minute lowpass
filter. As for the extra 2 and a half minutes on the PV, this has to be due to
stiction as the OP increases from 14% to 20% before any change in the PV is
achieved, thus the valve could not have been moving.
#1 (A) PRP.FCLP40.OP 18/09/2008 16:33:38 23.74 % (Raw) *G.L. TO PRECIPITATOR 04 0 / GLIQ TO PRECIP FLOW**#2 (A) PRP.FCLP40.PV 18/09/2008 16:33:38 200.16 kl/h (Raw) *G.L. TO PRECIPITATOR 04 0 / GLIQ TO PRECIP FLOW**#3 (A) PRP.FCLP40.SP 18/09/2008 16:33:38 200.00 kl/h (Raw) *G.L. TO PRECIPITATOR 04 0 / GLIQ TO PRECIP FLOW**#4 (A) PRP.FCLP40.MODE 18/09/2008 16:33:38 1.00 kl/h (Raw) *G.L. TO PRECIPITATOR 04 0 / GLIQ TO PRECIP FLOW**
30.00
10.00
250.00
100.00
250.00
100.00
0.79
-0.21
18/09/2008 15:33:39 18/09/2008 16:33:39
New Plot Title @ 1h0m 0s
Figure 5-11: Response to setpoint change
The reason for the low stiction probability may be due to the sluggish nature of
the controller, which is evident in that the rise time for the same step was just
over 22 minutes, extremely slow for a flow controller. If one was to wind up the
controller gain from 0.1 to say 0.3, the results that would come from the ISE and
the stiction probability would confirm that it was stiction. In saying this, there
was evidence of stiction in Figure 5-12. There are numerous spots on the trend
where the OP was changing but the PV remains unchanged. So the valve will
have to be tested for stiction.
49
#1 (R) PRP.FCLP40.OP 13/09/2008 03:48:54 53.10 % (Raw) *G.L. TO PRECIPITATOR 04 0 / GLIQ TO PRECIP FLOW**#2 (R) PRP.FCLP40.PV 13/09/2008 03:48:54 514.46 kl/h (Raw) *G.L. TO PRECIPITATOR 04 0 / GLIQ TO PRECIP FLOW**#3 (R) PRP.FCLP40.SP 13/09/2008 03:48:54 463.02 kl/h (Raw) *G.L. TO PRECIPITATOR 04 0 / GLIQ TO PRECIP FLOW**#4 (R) PRP.FCLP40.MODE 13/09/2008 03:48:54 2.00 kl/h (Raw) *G.L. TO PRECIPITATOR 04 0 / GLIQ TO PRECIP FLOW**
80.00
30.00
600.00
350.00
600.00
350.00
2.00
0.00
12/09/2008 23:48:54 13/09/2008 03:48:54
New Plot Title @ 4h0m 0s
Figure 5-12: Evidence of Stiction - FCLP40
When testing, the controller was put in manual along with the FCLP20, the only
other controller that was online on the same header. Now FCLP20 was a very
special case indeed. If one refers to Figure 5-1, FCLP20 branches off the line to
FCLP10, the GL to the first precipitator of bank one through the main line.
Usually, the GL will go into precipitator 10 only through either the mainline or
the spare line. However, precipitator 10 had just been taken offline for
maintenance, so precipitator 20 now became the first tank and FCLP20 was now
in use for the first time in over 2 years.
Since the controller had been offline for such a long time, no analysis had been
conducted on it, thus it was uncertain what was to be expected. When the
controller first came online, it displayed very strange behaviour as depicted Figure
5-13. Output resembled something like sound frequency.
50
#1 (R) PRP.FCLP20.OP 23/10/2008 06:51:02 40.98 % (Raw) *G.L. T O PRECIPIT AT OR 020 / GLIQ T O PRECIP FLOW**#2 (R) PRP.FCLP20.PV 23/10/2008 06:51:02 442.98 kl/h (Raw) *G.L. T O PRECIPIT AT OR 020 / GLIQ T O PRECIP FLOW**#3 (R) PRP.FCLP20.SP 23/10/2008 06:51:02 522.05 kl/h (Raw) *G.L. T O PRECIPIT AT OR 020 / GLIQ T O PRECIP FLOW**#4 (R) PRP.FCLP20.MODE 23/10/2008 06:51:02 2.00 kl /h (Raw) *G.L. T O PRECIPIT AT OR 020 / GLIQ T O PRECIP FLOW**
100.00
0.00
800.00
0.00
800.00
0.00
2.00
0.00
23/10/2008 02:51:02 23/10/2008 06:51:02
New Plot Title @ 4h0m 0s
Figure 5-13: The bizarre behaviour of FCLP20
On closer examination, it became clear that this behaviour was due to aliasing.
The sampling time for the controller trend data was 1 minute. The period of
oscillations was less than this resulting in the observed pattern. This is shown in
Figure 6-14, which shows the time when the sampling time was increased to 5
seconds. At first it was believed that the controller was too aggressive, so an
attempt was done to retune it using Opertune. However, the oscillations
continued and a pattern emerged that suggested stiction. Furthermore there was a
delay of about 15 to 30 seconds between the changes in OP to a change in flow.
Thus the valve had to be tested for stiction .
51
#1 (A) PRP.FCLP20.OP 23/10/2008 08:13:17 26.77 % (Raw) *G.L. T O PRECIPIT AT OR 020 / GLIQ T O PRECIP FLOW**#2 (A) PRP.FCLP20.PV 23/10/2008 08:13:17 519.62 kl /h (Raw) *G.L. T O PRECIPIT AT OR 020 / GLIQ T O PRECIP FLOW**#3 (A) PRP.FCLP20.SP 23/10/2008 08:13:17 506.40 kl /h (Raw) *G.L. T O PRECIPIT AT OR 020 / GLIQ T O PRECIP FLOW**#4 (A) PRP.FCLP20.MODE 23/10/2008 08:13:17 2.00 kl/h (Raw) *G.L. T O PRECIPIT AT OR 020 / GLIQ T O PRECIP FLOW**
110.00
-10.00
1000.00
0.00
1000.00
0.00
2.00
0.00
23/10/2008 07:13:18 23/10/2008 08:13:18
New Plot Title @ 1h0m 0s
#1 (A) PRP.FCLP20.OP 24/10/2008 13:40:11 31.91 % (Raw) *G.L. T O PRECIPIT AT OR 020 / GLIQ TO PRECIP FLOW**#2 (A) PRP.FCLP20.PV 24/10/2008 13:40:11 684.74 kl /h (Raw) *G.L. TO PRECIPITATOR 020 / GLIQ TO PRECIP FLOW**#3 (A) PRP.FCLP20.SP 24/10/2008 13:40:11 596.32 kl /h (Raw) *G.L. TO PRECIPITATOR 020 / GLIQ TO PRECIP FLOW**#4 (A) PRP.FCLP20.MODE 24/10/2008 13:40:11 2.00 kl/h (Raw) *G.L. TO PRECIPITATOR 020 / GLIQ TO PRECIP FLOW**
110.00
-10.00
1000.00
0.00
1000.00
0.00
2.00
0.00
24/10/2008 13:28:18 24/10/2008 14:28:18
Figure 5-14: Proof Of Ailiasing: (left) FCLP20 with 1 minute sampling time. (Right) the same controller with 5 second sampling time
Before testing was conducted, both controllers were set to a 5 second sampling
time and filter time constant was reduced from 0.2 minutes to 0. This was done
on the advice given by the internship industry supervisor that any controller with
a filter constant greater than 0.1 minutes (6 seconds) should be tested for noise.
During testing, a restriction was put in place such that the total bank flow limit
was not breached as this will result in the launders overflowing. Furthermore, the
level of the 45A tank had to be monitored to ensure that it did not overflow. For
this reason the operators were notified prior to testing so the level of the tank
could be brought down to between 40 to 60%. This provided a 50% buffer zone
for testing.
There were two tests conducted, the first of which was called the noise test to
evaluate how noisy the PV was without the filter. Both control loops had a
magnetic flow indicator (mag-flow) to measure the flow.
The test involving placing both controllers in manual, holding the output
constant and evaluating the level of noise. Both controllers passed the test, with
hardly any noise present.
The second test was valve stroking. The first controller tested was FCLP20. The
OP was initially set 33%. From there the OP was stepped down by 1%, waited
for the flow to get to steady state before performing the next step. As shown in
52
Figure 5-15 below, the control valve displayed perfect movement, as the flow
changed with every step change. This was not expected as it was almost certain
that the valve was sticky.
#1 (A) PRP.FCLP20.OP 27/10/2008 12:21:00 42.96 % (Raw) *G.L. TO PRECIPITATOR 02 0 / GLIQ TO PRECIP FLOW**#2 (A) PRP.FCLP20.PV 27/10/2008 12:21:00 787.44 kl/h (Raw) *G.L. TO PRECIPITATOR 02 0 / GLIQ TO PRECIP FLOW**#3 (A) PRP.FCLP20.SP Hidden (Raw) *G.L. TO PRECIPITATOR 020 / GLIQ TO PRECIP FLOW#4 (A) PRP.FCLP20.MODE 27/10/2008 12:21:00 2.00 kl/h (Raw) *G.L. TO PRECIPITATOR 02 0 / GLIQ TO PRECIP FLOW**
50.00
10.00
1000.00
0.00
1000.00
0.00
2.00
0.00
27/10/2008 09:42:00 27/10/2008 12:21:00
New Plot Title @ 2h39m 0s
Figure 5-15: Valve stroking FCLP20
There was a delay between the time when the step change was made to when the
flow changed, which was usually 15 seconds but varied up to 1 minute. This was
very puzzling because positioners usually move very quickly in response to OP
changes. The test was then conducted again, this time it was out in the field with
the operator making the changes. The field tests confirmed the trend data, and
the belief is that the I to P converter of the actuator is faulty resulting in the
delayed transmission of the signal from the DCS. Therefore, it was recommended
that this be checked and repaired.
The results for FCLP40 were more conclusive. The test began with an OP of
42.5%.Two single unit step changes were then performed and as illustrated by the
flow in the plot below, the valve did not move for either step. The same occurred
for a 1.5% step change from 43.5% to 45%. The valve only moved when stepped
to 50%. Thus the minimum change in the OP required to effectively move the
53
valve is 8% which is unacceptable. This was to be expected, since the controllers
valve characteristic plot developed in the initial analysis did indicate a deadband
between 8% and 10%
#1 (A) PRP.FCLP40.OP 27/10/2008 11:22:31 50.00 % (Raw) *G.L. T O PRECIPITAT OR 040 / GLIQ T O PRECIP FLOW**#2 (A) PRP.FCLP40.PV 27/10/2008 11:22:31 769.91 kl/h (Raw) *G.L. T O PRECIPIT AT OR 040 / GLIQ T O PRECIP FLOW**#3 (A) PRP.FCLP40.SP Hidden (Raw) *G.L. T O PRECIPITAT OR 040 / GLIQ T O PRECIP FLOW**#4 (A) PRP.FCLP40.MODE 27/10/2008 11:22:31 0.00 kl/h (Raw) *G.L. T O PRECIPIT AT OR 040 / GLIQ T O PRECIP FLOW**
53.00
40.00
800.00
620.00
1300.00
0.00
2.00
0.00
27/10/2008 11:10:00 27/10/2008 11:22:31
New Plot Title @ 12m31s
Figure 5-16: Valve Stroking FCLP40
It turned out that the control valves for both controllers were replaced before
they went online, which was 9 days before the test was conducted. Thus it is
believed that rather than scale, it is likely that the valve for FCLP40 was not
positioned correctly when installed in the flange and as a result the disc is
continually hitting the edges. For this reason, it was recommended that the valve
alignment be checked once it has been taken offline.
5.7. Analysis of Coarse Seed Controllers
There are a total of 28 coarse seed controllers in precipitation of which four
control the level of the repulper tanks, four control the total coarse seed flow to
precipitation and the rest control the flow to either the first or second precipitator
of each bank (refer to Figure 5-2 for the layout of these controllers). Performance
of these controllers is provided below:
54
• 5 controllers were Excellent,
• 9 exhibited Fair performance
• 2 performed Ok
• 7 exhibited Poor performance, whilst
• 4 were high level controllers which basically empty the repulper tanks
when the level got too high. These were never used and were classed as
inactive.
The purpose of the total flow controllers is to ensure that the available flow is
evenly distributed to the first 2 precipitators of the two banks it supplies
(precipitators 10, 20, 40 and 30). The controller first obtains the flows from the
lines going out of the repulper tank, then adds them together to get the total seed
flow which then becomes the input to the controller. The setpoint is set by the
operator and each total flow controller tries to control this total flow to setpoint.
The controller output is then split 4 ways and becomes the setpoint for the four
controllers on its line. Thus there is no single control valve for total flow
controllers. The block diagram in Figure 5-17 illustrates the block diagram of one
total flow controller, FCR22U1, which controls the total flow of the controllers
on the line out of repulper 22 (Refer to Figure 5-2).
K=1 K=0.25
?RATIO
CONTROLSP
FCR22U1
FCR22P10
FCR22P40
FCR22P30
FCR22P20
∑RATIO
CONTROLSP
FCR22U1
K=1 K=0.25K=1 K=0.25
?RATIO
CONTROLSP
FCR22U1
FCR22P10
FCR22P40
FCR22P30
FCR22P20
∑RATIO
CONTROLSP
FCR22U1
K=1 K=0.25
Figure 5-17: Simplified Block Diagram of FCR22U1
55
This controller underwent retuning in order to improve performance. Figure 5-18
shows the response before retuning. It is evident that the response is very
oscillatory, with amplitude of around 50kl/hr and a period of about 9 to 10
minutes. ISE indicated an OK performance rating.
#1 (R) prp.fc r22u1.op 2/09/2008 04:59:25 46.37 % (Raw) *ST SEED EX 44R22 CONT ROL /**#2 (R) prp.fc r22u1.pv 2/09/2008 04:59:25 1110.17 kl/h (Raw) *ST SEED EX 44R22 CONT ROL /**#3 (R) prp.fc r22u1.sp 2/09/2008 04:59:25 1050.00 kl/h (Raw) *ST SEED EX 44R22 CONT ROL /**
110.00
-10.00
1500.00
500.00
1500.00
500.00
2/09/2008 04:59:08 2/09/2008 08:59:08
New Plot Title @ 4h0m 0s
Figure 5-18: FCR22U1 before retuning
The problem with total flow controllers is that if one of its secondary control
loops is performing bad, then that will effect its own performance and as a result
the performance of all the other controllers it is controlling. Thus, it was unclear
whether the oscillations were due to FCR22U1 or bad tuning on one of the
secondary control loops. There was however an event that did confirm that it was
FCR22U1 that needed tuning. The operators put the secondary control loops
FCR22P10 to 40 all in auto in order to stop the oscillations in these loops. As
shown in Figure 6-19, when this occurred, the oscillations in the total flow
ceased. This was an important finding as it meant that the control loops don’t
oscillate when it is not cascaded with FCR22U1, thus indicating that the primary
controller was too aggressive.
56
#1 (R) prp.fc r22u1.op 30/08/2008 20:26:42 53.74 % (Raw) *ST SEED EX 44R22 CONT ROL /**#2 (R) prp.fc r22u1.pv 30/08/2008 20:26:43 1104.32 kl /h (Raw) *ST SEED EX 44R22 CONT ROL /**#3 (R) prp.fc r22u1.sp 30/08/2008 20:26:43 1050.00 kl/h (Raw) *ST SEED EX 44R22 CONT ROL /**#4 (R) prp.fc r22u1.mode 30/08/2008 20:26:43 2.00 kl /h (Raw) *ST SEED EX 44R22 CONT ROL /**#5 (R) prp.fc r22p20.mode 30/08/2008 20:26:43 1.00 kl/h (Raw) *44R22 T O PRECIP 20 / SEED T O PRECIP FLOW**#6 (R) prp.fc r22p10.mode 30/08/2008 20:26:43 1.00 kl/h (Raw) *44R22 T O PRECIP 10 / SEED T O PRECIP FLOW**#7 (R) prp.fc r22p30.mode 30/08/2008 20:26:43 1.00 kl/h (Raw) *44R22 T O PRECIP 30 / SEED T O PRECIP FLOW**#8 (R) prp.fc r22p40.mode 30/08/2008 20:26:43 1.00 kl/h (Raw) *44R22 T O PRECIP 40 / SEED T O PRECIP FLOW**
110.00
0.00
1200.00
500.00
1200.00
500.00
2.00
0.00
2.00
0.00
2.00
0.00
2.00
0.00
2.00
0.00
30/08/2008 11:09:04 31/08/2008 11:09:04
New Plot Title @ 1d0h0m 0s
Figure 5-19: When the secondary controllers were taken out of cascade mode, the oscillations ceased.
After consulting with the industry supervisor, it was decided to solve the problem
conceptually. The control parameters for the controller were K1=1 and T1 =1
and the ratio control effectively has a gain of 0.25 as it splits the flow evenly 4
ways. It was found that the gain should be 1 since 100% of the total seed flow
goes to the ratio controller which then splits 4 ways. Furthermore, since the
controller was a total flow controller, it was not required that the controller react
too fast to changes in the PV. This is due to the fact that the downstream loops
need time to react to the changes, thus a total flow controller should react slower
than its secondary loops.
To achieve this, T1 was increased from 1 to 3 in order to slow the controller
down and thus eliminate the oscillations. A setpoint change from 1050 to 1075
was then performed. As shown in Figure 5-20, the results from the step response
the retuning worked extremely well, tracking the setpoint with minimal error and
no oscillatory action.
57
#1 (R) prp.fc r22u1.op 2/09/2008 08:00:58 49.03 % (Raw) *ST SEED EX 44R22 CONT ROL /**#2 (R) prp.fc r22u1.pv 2/09/2008 08:00:58 1072.23 kl /h (Raw) *ST SEED EX 44R22 CONT ROL /**#3 (R) prp.fc r22u1.sp 2/09/2008 08:00:58 1050.00 kl /h (Raw) *ST SEED EX 44R22 CONT ROL /**
110.00
-10.00
1500.00
500.00
1500.00
500.00
2/09/2008 08:00:41 2/09/2008 12:00:41
Figure 5-20: Setpoint Change on retuned FCR22U1
This is further highlighted by Figure 5-21 showing the controller’s performance
the next day. It was still performing better than before with better setpoint
tracking, small long oscillations with a period of 20 minutes and amplitude of
about 5kL which is a great improvement from the 50kL amplitude before
retuning. Improvement in performance is also shown in its ISE score which went
from 7.42E+03 (OK) to 2.39E+03 (Fair). Further improvements in performance
can be achieved by improving the performance of the controller’s secondary
loops.
#1 (R) prp.fcr22u1.op 3/09/2008 15:02:05 55.29 % (Raw) *ST SEED EX 44R22 CONT ROL /**#2 (R) prp.fcr22u1.pv 3/09/2008 15:02:05 1094.79 kl/h (Raw) *ST SEED EX 44R22 CONT ROL /**#3 (R) prp.fcr22u1.sp 3/09/2008 15:02:05 1100.00 kl/h (Raw) *ST SEED EX 44R22 CONT ROL /**#4 (R) prp.fcr22u1.mode 3/09/2008 15:02:30 2.00 kl/h (Raw) *ST SEED EX 44R22 CONT ROL /**#5 (R) prp.fcr22p20.mode 3/09/2008 15:02:05 2.00 kl/h (Raw) *44R22 T O PRECIP 20 / SEED T O PRECIP FLOW**#6 (R) prp.fcr22p10.mode 3/09/2008 15:02:05 2.00 kl/h (Raw) *44R22 T O PRECIP 10 / SEED T O PRECIP FLOW**#7 (R) prp.fcr22p30.mode 3/09/2008 15:02:05 2.00 kl/h (Raw) *44R22 T O PRECIP 30 / SEED T O PRECIP FLOW**#8 (R) prp.fcr22p40.mode 3/09/2008 15:02:05 2.00 kl/h (Raw) *44R22 T O PRECIP 40 / SEED T O PRECIP FLOW**
110.00
0.00
1200.00
500.00
1200.00
500.00
2.00
0.00
2.00
0.00
2.00
0.00
2.00
0.00
2.00
0.00
3/09/2008 11:02:01 3/09/2008 15:02:01
New Plot Title @ 4h0m 0s
Figure 5-21: Retuned FCR22U1 - One Day Later.
58
The following will cover the analysis of the secondary control loops of FCR22U1
that were tested. These controllers were as follows:
• FCR22P10 – Coarse seed flow to Precipitator 10 from R22
• FCR22P20 – Coarse seed flow to Precipitator 20 from R22
• FCR22P30 – Coarse seed flow to Precipitator 30 from R22
• FCR22P40 – Coarse seed flow to Precipitator 40 from R22
FCR22P20 and FCR22P30 both performed extremely poor in the initial analysis.
It was initially believed that the FCR22P30 performance was due to aggressive
tuning, due to the erratic controller action exhibited in Figure 5-22.
Figure 5-22: The Trend of FCR22P30 & its associated valve characteristic plot.
However, on closer inspection, evidence of stiction was present. As shown in
Figure 5-23, there are areas where the OP is ramping up or down, yet the flow
doesn’t change until the magnitude of change has reached 10%. This should be
expected when examining the valve characteristic which does strongly indicate
the presence of stiction with a massive deadband of around 10%. Stiction
probability was 93%.
59
Figure 5-23: Close up of FCR22P30. evidence of stiction is indicated in the areas between the dotted lines
FCR22P20 was a little more obvious. Although it was also very oscillatory, there
is no doubt that it was stiction determined not only by the shape of the valve
characteristic but also by its stiction probability of 93.05%
Figure 5-24: The Trend of FCR22P20 & its associated valve characteristic plot.
Furthermore, both controllers had a low pass filter on its PV reading with a 1
minute filter time constant. This is far too large for a flow controller, as it will not
#1 (R) PRP.FCR22P30.OP 27/09/2008 07:34:37 35.69 % (Raw) *44R22 T O PRECIP 30 / SEED T O PRECIP FLOW**#2 (R) PRP.FCR22P30.PV 27/09/2008 07:34:37 310.80 kl/h (Raw) *44R22 T O PRECIP 30 / SEED T O PRECIP FLOW**#3 (R) PRP.FCR22P30.SP 27/09/2008 07:35:02 315.57 kl/h (Raw) *44R22 T O PRECIP 30 / SEED T O PRECIP FLOW**#4 (R) PRP.FCR22P30.MODE 27/09/2008 07:34:27 2.00 kl/h (Raw) *44R22 T O PRECIP 30 / SEED T O PRECIP FLOW**#5 (R) PRP.YS44R22.PVN 27/09/2008 07:34:23 1.00 (Snapshot @1 Min) *44R22 ST AT US NORMALISED ST AT US**
110.00
-10.00
600.00
0.00
600.00
0.00
2.00
0.00
1.00
0.00
27/09/2008 05:34:23 27/09/2008 07:34:23
New Plot Title @ 2h0m 0s
60
only filter the noise but also part of the real value. Thus a noise test had to be
conducted on both controllers.
When testing the controllers, the flow could not go below 50kL/hr. The reason
for this is at this point the seed begins to build up against the disc and will
continue to do so until the line is blocked. This phenomenon is known as
bogging.
Very similar results were achieved for both controllers for both the noise and
stiction. Thus the test results for FCR22P30 will be analysed. As shown in Figure
5-25, the moment the filter time constant was reduced to zero, the flow reading
became very noisy.
Figure 5-25: Noise Test –FCR22P30.
Thus a filter will have to be implemented. Using the low pass filter equation, it
was worked out that a 0.15 minute filter time constant should be implemented
and as shown in Figure 5.26. The filter has removed the noise from the signal,
but allowed the controller to properly manage the flow.
#1 (R) PRP.FCR22P30.OP 3/11/2008 11:41:51 105.00 % (Raw) *44R22 TO PRECIP 30 / SEED TO PRECIP FLOW**#2 (R) PRP.FCR22P30.PV 3/11/2008 11:41:51 401.41 kl/h (Raw) *44R22 TO PRECIP 30 / SE ED TO PRECIP FLOW**#3 (R) PRP.FCR22P30.SP 3/11/2008 11:41:51 522.29 kl/h (Raw) *44R22 TO PRECIP 30 / SE ED TO PRECIP FLOW**#4 (R) PRP.FCR22P30.MODE 3/11/2008 11:41:51 2.00 kl/h (Raw) *44R22 TO PRECIP 30 / SE ED TO PRECIP FLOW**#5 (R) PRP.YS44R22.PVN 3/11/2008 11:41:51 1.00 (Snapshot @1 Min) *44R22 STATU S NORMALISED STATUS**
110.00
-10.00
600.00
0.00
600.00
0.00
2.00
0.00
1.00
0.00
3/11/2008 05:21:44 4/11/2008 05:21:44
New Plot Title @ 1d0h0m0s
Time when filter removed
61
Figure 5-26: Implementing 0.15 Minute filter time constant on FCR22P30.The pink line indicates time of implentation
The next test was valve stroking. As expected, the valve was suffering from
stiction. The valve only moved for a 10% change in the output. The test was
prematurely cut short as the line began to bog. This is shown in Figure 5-27
where the OP is being increased but the flow is steadily decreasing. Despite this,
the presence of stiction was confirmed and recommendations for its repair were
made.
#1 (A) PRP.FCR22P30.OP 3/11/2008 15:10:53 53.03 % (Raw) *44R22 TO PRECIP 30 / SEED TO PRECIP FLOW**#2 (A) PRP.FCR22P30.PV 3/11/2008 15:10:53 362.97 kl/h (Raw) *44R22 TO PRECIP 30 / SE ED TO PRECIP FLOW**#3 (A) PRP.FCR22P30.SP Hidden (Raw) *44R22 TO PRECIP 30 / SEED TO PRECIP FLOW**#4 (A) PRP.FCR22P30.MODE 3/11/2008 15:10:53 0.00 kl/h (Raw) *44R22 TO PRECIP 30 / SE ED TO PRECIP FLOW**#5 (A) PRP.YS44R22.PVN 3/11/2008 15:10:53 1.00 (Snapshot @1 Min) *44R22 STATU S NORMALISED STATUS**
110.00
-10.00
600.00
0.00
600.00
0.00
2.00
0.00
1.00
0.00
3/11/2008 15:02:29 3/11/2008 15:29:09
New Plot Title @ 26m40s
• Valve only moved for 10% change
•10% Sticky
Bogging#1 (A) PRP.FCR22P30.OP 3/11/2008 15:10:53 53.03 % (Raw) *44R22 TO PRECIP 30 / SEED TO PRECIP FLOW**#2 (A) PRP.FCR22P30.PV 3/11/2008 15:10:53 362.97 kl/h (Raw) *44R22 TO PRECIP 30 / SE ED TO PRECIP FLOW**#3 (A) PRP.FCR22P30.SP Hidden (Raw) *44R22 TO PRECIP 30 / SEED TO PRECIP FLOW**#4 (A) PRP.FCR22P30.MODE 3/11/2008 15:10:53 0.00 kl/h (Raw) *44R22 TO PRECIP 30 / SE ED TO PRECIP FLOW**#5 (A) PRP.YS44R22.PVN 3/11/2008 15:10:53 1.00 (Snapshot @1 Min) *44R22 STATU S NORMALISED STATUS**
110.00
-10.00
600.00
0.00
600.00
0.00
2.00
0.00
1.00
0.00
3/11/2008 15:02:29 3/11/2008 15:29:09
New Plot Title @ 26m40s
• Valve only moved for 10% change
•10% Sticky
Bogging
Figure 5-27: Valve Stroking - FCR22P30
#1 (R) PRP.FCR22P30.OP 5/11/2008 10:51:34 46.92 % (Raw) *44R22 T O PRECIP 30 / SEED T O PRECIP FLOW**#2 (R) PRP.FCR22P30.PV 5/11/2008 10:51:34 348.62 kl/h (Raw) *44R22 T O PRECIP 30 / SEED T O PRECIP FLOW**#3 (R) PRP.FCR22P30.SP 5/11/2008 10:51:34 350.00 kl/h (Raw) *44R22 T O PRECIP 30 / SEED T O PRECIP FLOW**#4 (R) PRP.FCR22P30.MODE 5/11/2008 10:51:34 1.00 kl /h (Raw) *44R22 T O PRECIP 30 / SEED T O PRECIP FLOW**#5 (R) PRP.YS44R22.PVN 5/11/2008 10:51:34 1.00 (Snapshot @1 Min) *44R22 ST AT US NORMALISED ST AT US**
110.00
-10.00
600.00
0.00
600.00
0.00
2.00
0.00
1.00
0.00
5/11/2008 09:51:14 5/11/2008 11:51:14
New Plot Title @ 2h0m 0s
62
6. Conclusion
The internship has been a great learning experience for the intern. Over the
course of the internship, the intern was exposed to the applied world of
engineering design and research, allowing for the development of many skills in
graphics development, analysing controller performance analysis and working on
the Honeywell DCS to name a few. Furthermore, the intern was also able to
obtain a tremendous understanding of the precipitation process at Wagerup, how
it operates, how it’s controlled and the purpose of certain control schemes.
The knowledge obtained, the skills developed and the confidence gained through
the conducting the projects and working with other engineers would no doubt
beneficial for a successful career as a control engineer.
6.1. Progress and Future Work
Overall, a total of 106 control loop have been analysed thus far, making up 90 %
of the controllers needed to be analysed for the project. Of those analysed so far,
and of those poor performance was evident on over 65% of them whether that
be tuning, valve or instrument issues.
A report is currently being compiled on the results of the analysis and testing
which will be handed in at the end of the project. Maintenance has been planned
to fix the problem loops.
A great proportion of the loops analysed with less than excellent performance
was due to valve stiction. The most common cause of stiction is scale build up in
the lines. To prevent scale, the lines are meant to be caustic washed every 28 days.
However, evidence suggests that this is not the case, and in some cases, the lines
are not washed effectively.
In order to maintain the performance of the control loops and the health of the
valves, it’s essential that a regular maintenance schedule is developed and strictly
met. The maintenance schedule should also be developed to monitor and
maintain the performance of the control loops. The technical department has
63
access to automatic performance analysis software LoopScout, which scans the
controller and provides a performance report card similar to the ones produced
for this project. Controllers could be scanned in bulk every month and a report
on each one could be provided to OC3 in order to carry out the action required.
6.2. Problems Faced
There were many issues faced during the course of this project
• Precipitators offline
• Lines out of circuit
• Lightning strikes (causing plant downtime)
• Line Scaling
64
BIBLIOGRAPHY
• M.A.A. Shoukat Choudhury, et al. (2003) Modelling Valve Stiction.
University of Alberta – Department of Chemicals and Materials
Engineering, Canada; University College London – Department of
Electronic and Electrical Engineering, London
• .M.A.A. Shoukat Choudhury, et al. (2005) A Simple test to Confirm Control
Valve Stiction. University of Alberta– Department of Chemicals and
Materials Engineering, Canada.
• Alcoa in Australia (2008) Alco World Alumina, Australia.
http://www.alcoa.com/australia/en/info_page/wagerup_overview.asp
(Accessed 20/10/2008)
• Ogunnaike, B., & Ray, W. H. (1994). Process Dynamics, Modelling and Control.
Oxford University Press.
• Ruel, M (2000) Stiction: The Hidden Menace. Control Magazine, .
http://www.expertune.com/articles/RuelNov2000/stiction.html
(Accessed 20/10/2008)
• Goodman, A. (2003). Wagerup Plantwide Inductions –Bayer Process Overview.
Alcoa World Alumina, Australia
• Environmental Review and Management Program: Wagerup Refinery Unit Three
(2000) Alcoa World Alumina, Wagerup
• Rice, RC. Jyringi, RR and Cooper, DJ. (2005) Opening the Black Box:
Demystifying Performance Assesment Techniques. University of Connecticut-
Department of Chemical Enginmeering, Connecticut.
http://www.engr.uconn.edu/control/pdf/isa05.pdf (Accessed
20/10/2008)
65
• Stephanopolous, G. (1984) Chemical Process Control. Prentice Hall
International Editions, New Jersey.
66
A p p e n d i x 1 : O v e r v i e w o f M i l l S e c o n d a r y F e e d P r o j e c t
The secondary feed system (SFC) is a back-up belt feeder system for feeding
bauxite to the mills feed conveyors. The system was designed to operate in the
same fashion as the apron feeders to the mills. The issue with this is that only two
mill SFC are available for 3 mills. Mills 3 and 4 have their own SFC which runs
off their own power supply. The way the mill 5 secondary feed system (SFC)
works is that it can either run off Mill 3 or Mill 4 power supply as it does not have
it own.
Initially, the internship provided the chance to be involved in commissioning the
mill secondary feed project. Originally, the only involvement was to create the
block diagram for the system, however, this changed when the control engineer
for the project fell ill in the last weeks of the project.
The task involved:
• updating the mill secondary feed block diagram the intern created earlier
• Building the DCS display for mill 5 secondary feed
• Commissioning - activating the mill secondary feed tags on the DCS, and
then testing each one. This was done with one of the Rockwell engineers,
who toggled the points in the programmable logic controller (PLC) whilst
the intern checked on the DCS whether the tag registered any change as
well as checking if the display was working as it should.
1
A p p e n d i x 2 : O v e r v i e w o f P r e c i p i t a t i o n
45A
1st 2nd
3rd 4th
5th 6th
7th
Row 0
Row 1
Row 2
Row 3
Row 4
Row 5
x 4 banks1&2 = unit 13&4 = unit 2
Cooling towers
R1 R2
44-1, fine seedfiltration
R21 R22
Coarse seed Filtration
R23 R24
Classification Cyclones
Calcinationu/fo/f
STs TTs
Seed Filtration
45C
Figure A2-1:Precipitation Overview (Sigh,S. 2008)
A p p e n d i x 3 : O v e r a l l P e r f o r m a n c e T a b l e
Refer to “Overall Performance Table.xlm” on CD
4
u e r y