Professional Documents
Culture Documents
Abstract: Active control of the production choke valve is the recommended solution to prevent
severe slugging ow at oshore oilelds. This requires operation in an open-loop unstable
operating point. It is possible to use PI or PID controllers which are the preferred choice in
the industry, but they need to be tuned appropriately for robustness against plant changes and
large inow disturbances. The focus of this paper is on nding tuning rules based on model
identication from a closed-loop step test. We perform an IMC (Internal Model Control) design
based on the identied model, and from this we obtain PID and PI tuning parameters. In
addition, we nd simple PI tuning rules for the whole operation range of the system considering
the nonlinearity of the static gain. The proposed model identication and tuning rules show
applicability and robustness in experiments on a test rigs as well as in simulations using the
OLGA simulator.
1. INTRODUCTION Z
Prt Ps
76 76 76
Pin [bar]
74 74 74 75
in
72 72 72
70 70 70
70
0 50 100 150 0 50 100 150 0 50 100 150
t [min] t [min] t [min] 65
60 60 60
60
58 58 58 0 10 20 30 40 50 60 70 80 90 100
P [bar]
56 56 56 Z [%]
rt
54 54 54 62
min & max steadystate
52 52 52 60
0 50 100 150 0 50 100 150 0 50 100 150
58
Prt [bar]
t [min] t [min] t [min]
56
Fig. 2. Simulation results of OLGA case for dierent valve 54
openings 52
234
IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India
50
min & max steadystate ys(s) e u y(s)
40 +_
Kc0 G(s)
P [kpa]
30
in
20
10
Fig. 7. Closed-loop system for step test
0 10 20 30 40 50 60 70 80 90 100
Z [%] 29
30 output
set point
min & max steadystate
25
28.5
20
P [kpa]
15 !ys
28
rt
10
5
27.5 B
y [kpa]
0
0 10 20 30 40 50 60 70 80 90 100
Z [%] 27
!y
!yp !yu
8
Fig. 5. Bifurcation diagrams for experimental setup
26.5
tu
tp
u
u u y 26
u
G '( s)
25.5
Static Nonlinearity Linear time!invariant 20 40 60 80 100 120 140
time [sec]
235
IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India
0.4
Tf
0.3 Ki = 3 (16)
k
0.2
Kc = Ki 1 Ki Tf (17)
0.1
Kd = Ki 2 Kc Tf (18)
0
1 2 3 4 We require Kc < 0 and Kd < 0, in order that the controller
Order
works in practice. We must choose such that these two
conditions are satised.
Fig. 9. Hankel Singular Values of fourth order model
236
IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India
80 29
Olga model simple static model
28
75
P [bar]
Pin [kpa]
27
in
70
26
data setpoint filtered identified
65 25
0 10 20 30 40 50 60 70 80 90 100 0 20 40 60 80 100 120 140
Z [%] t [sec]
1
40
2
35 openloop stable
3
P [kpa]
Olga model simple static model
30
4
0 10 20 30 40 50 60 70 80 90 100
in
25
Z [%]
20 openloop unstable
Fig. 11. Simple static model compared to OLGA case
15
0 2 4 6 8 10 12 14 16 18 20
5. PI TUNING CONSIDERING NONLINEARITY t [min]
actual valve position (manipulated variable)
80
The PID and PI tuning rules given in above are based openloop unstable
on a linear model identied at a certain operating point. 60
However, as we see in Fig. 11, the gain of the system Controller Off Controller On Controller Off
Z [%]
40
changes drastically with the valve opening. Hence, a con-
m
The system switches to slugging ow at 15% of valve 6.2 Experiment 2: PID and PI tuning at Z=30%
opening, hence it is unstable at 20%. We closed the loop
by a proportional controller Kc0 = 10 and changed the We repeated the previous experiment at 30% valve open-
set-point by 2 kPa (Fig. 12). Since the response is noisy, ing. We closed the loop by a proportional controller Kc0 =
a low-pass lter was used to reduce the noise eect. Then, 20 and changed the set-point by 2 kPa (Fig. 15). Then,
we use the method explained in Section 3.1 to identify the we use the method explained in Section 3.1 to identify the
closed-loop stable system as the following: closed-loop stable system as the following:
y(s) 2.317s + 0.8241 y(s) 2.634s + 0.6635
= (30) = (33)
ys (s) 19.91s2 + 2.279s + 1 ys (s) 13.39s2 + 2.097s + 1
237
IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India
P [kpa]
30 30
in
in
25 25
20 openloop unstable 20
openloop unstable
15 15
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
t [min] t [min]
actual valve position (manipulated variable) actual valve position (manipulated variable)
80 80
openloop unstable openloop unstable
60 60
Controller On
Controller Off Controller On Controller Off Controller Off Controller Off
Z [%]
Z [%]
40 40
m
m
20 20
Fig. 14. Result of PI controller for experiment 1 Fig. 16. Result of PID controller for experiment 2
27 inlet pressure (controlled variable)
40
26
35 openloop stable
Pin [kpa]
P [kpa]
25 30
in
25
24
data setpoint filtered identified 20
23
openloop unstable
0 20 40 60 80 100 120 140 15
t [sec] 0 2 4 6 8 10 12 14 16 18 20
t [min]
actual valve position (manipulated variable)
Fig. 15. Closed-loop step test for experiment 2 80
openloop unstable
The identied closed-loop transfer function is shown by 60
Controller On
the red line in Fig. 15. Then, we back calculate to the Controller Off Controller Off
Z [%]
40
open-loop unstable system:
m
0.0098s 0.0025 20
G(s) = 2 (34)
s 0.0401s + 0.0251 openloop stable
0
We select = 8 for an IMC design to get the controller: 0 2 4 6 8 10 12 14 16 18 20
t [min]
42.20(s2 + 0.052s + 0.0047)
C(s) = (35)
s(s + 0.251) Fig. 17. Result of PI controller for experiment 2
The related PID tuning values, as in Section 3.3, are shown in Fig. 18. The controller gains are given in Fig. 19.
Kc = 5.65, Ki = 0.79, Kd = 145.15 and Tf = 3.97. This simple adaptive controller could stabilize the system
Fig. 16 shows result of control using the PID controller. from 20% to 50%, and it was stable even with 1sec added
This controller was tuned for 30% valve opening, but it can time delay.
stabilize the system up to 50% valve opening which shows
good gain margin of the controller. In addition, we tested 7. OLGA SIMULATION
its delay margin by adding time-delay to the measurement.
It was stable with 2 sec added time delay.
We tested the PI tuning rules in (28) and (29) on the
The related PI tuning values, as in Section 3.4, are Kc = Olga case presented in Section 2.1. The PI tuning values
42.20 and I = 53.53. Fig. 17 shows result of experiment are given in Table 1 and the simulation result is shown in
using the PI controller. This controller was stable only Fig. 20. The open-loop system switches to slugging ow at
with less than 1 sec time-delay. 5% valve opening (Fig. 2), but by using the proposed PI
tuning the system could be stabilized up to 23.24% valve
6.3 Experiment 3: Adaptive PI tuning opening.
238
IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India
30
was identical to the IMC that retains good phase-margin
and gain-margin.
in
25
20
openloop unstable Moreover, a simple static model was introduced to account
15
0 5 10 15 20 25 30
for the intense nonlinearity in static gain of the system,
t [min] then a one-step PI tuning was proposed based on the
actual valve position (manipulated variable) static model. This method could stabilize the system on a
80
openloop unstable wide range of valve opening in both experiments and Olga
60 Controller On simulations.
Controller Off Controller Off
Z [%]
40
REFERENCES
m
20
Di Meglio, F., Kaasa, G.O., Petit, N., and Alstad, V.
openloop stable (2010). Model-based control of slugging ow: an exper-
0
0 5 10 15 20 25 30
t [min] imental case study. In American Control Conference.
Baltimore, USA.
Fig. 18. Result of control using adaptive PI tuning in Godhavn, J.M., Fard, M.P., and Fuchs, P.H. (2005). New
experiment 3 slug control strategies, tuning rules and experimental
results. Journal of Process Control, 15, 547557.
proportional
openloop gain
stable
Havre, K., Stornes, K., and Stray, H. (2000). Taming slug
0 ow in pipelines. ABB Review, (4), 5563.
20 Jahanshahi, E. and Skogestad, S. (2011). Simplied dy-
40
namical models for control of severe slugging in multi-
Kc []
400
tional Journal of Multiphase Flow, 12(2), 203217.
I
300
Yuwana, M. and Seborg, D.E. (1982). A new method for
200 on-line controller tuning. AIChE Journal, 28(3), 434
100
0 5 10 15 20 25 30 440.
t [min]
Appendix A. MODEL IDENTIFICATION
Fig. 19. Controller gains resulted from adaptive PI tuning CALCULATIONS
in experiment 3
Stable closed-loop transfer function:
inlet pressure (controlled variable)
67.5 y(s) K2 (1 + z s)
= 2 2 (A.1)
ys (s) s + 2 s + 1
The Laplace inverse (time-domain) of the transfer function
Pin [bar]
67
in (A.1) is (Yuwana and Seborg (1982))
y(t) = ys K2 [1 + D exp(t/ ) sin(Et + )] , (A.2)
measurement setpoint
where [
66.5
0 1 2 3 4 5 6 ( z )2 ] 12
t [h] 1 2
z
+
50
valve position (manipulated variable)
D= (A.3)
1 2
40
30
Table 1. PI tuning values in Olga simulation
Z [%]
239
IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India
240