Documente Academic
Documente Profesional
Documente Cultură
Oil & Gas Science and Technology – Rev. IFP Energies nouvelles, Vol. 67 (2012), No. 4, pp. 693-701
Copyright © 2012, IFP Energies nouvelles
DOI: 10.2516/ogst/2012008
Résumé — Contrôle de la vitesse d’un racleur grâce à la méthode de synthèse QFT — Pour qu’une
inspection de pipeline soit efficace, l’opération de raclage doit être réalisée à vitesse constante. Cet article
présente une méthode simple et efficace fondée sur la théorie QFT (Quantitative Feedback Theory),
système de régulation robuste bien connu, permettant de contrôler la vitesse d’un racleur avec bypass
dans un oléoduc. Ce régulateur classique commande l’ouverture ou la fermeture d’une soupape installée
sur le racleur. Le racleur est ensuite contrôlé grâce au volume de fluide qui le traverse. Pour cela,
l’équation dynamique non linéaire du mouvement du racleur est convertie en un ensemble de structures
linéaires instables équivalentes via la méthode Sobhani-Rafeeyan (méthode SR). Puis, un régulateur de
type QFT est synthétisé. La méthode présentée est conçue pour des pipelines bidimensionnels dans deux
situations différentes. Le régulateur créé est simulé numériquement grâce à la boîte à outils Simulink du
logiciel MATLAB. Les résultats de la simulation montrent que le régulateur peut être utilisé pour
contrôler efficacement la vitesse du racleur lorsque celui-ci passe dans des oléoducs.
Abstract — Speed Control of Pipeline Pig Using the QFT Method — To provide an efficient inspection
of pipeline, pigging operations must be executed at a constant speed. This paper presents an efficient and
simple method based on Quantitative Feedback Theory (QFT), which is a well-known robust controller
scheme, for speed control of a pig with bypass flow in a liquid pipeline. This classical-type controller
commands the valve installed in the body of the pig to open or close. Then, the pig is controlled using the
amount of bypass flow across its body. For this purpose, the nonlinear dynamic equation of motion of the
pig is converted to a family of linear uncertain equivalent plants using Sobhani-Rafeeyan’s method (SR
method). Then, for this family of uncertain equivalent plants, a QFT-type controller is synthesized. The
presented method is developed for two-dimensional pipelines in two cases. The designed controllers are
simulated numerically using the Simulink toolbox of the MATLAB software. The simulation results show
that the designed controller can be used for speed control of the pig with good performance when it runs
in the liquid pipelines.
ogst110098_Mirshamsi 21/09/12 10:37 Page 694
694 Oil & Gas Science and Technology – Rev. IFP Energies nouvelles, Vol. 67 (2012), No. 4
M Mirshamsi and M Rafeeyan / Speed Control of Pipeline Pig Using the QFT Method 695
se
no
p
F2
lve
Va
tai
l
p
Fμ
P
N
mg
t
n F1
y
θ
x g
Figure 1
Schematic view of a pig inside a planer pipeline.
is assumed to be the function of the centerline of the pig, thus In general, the pressure difference between the tail and
we can write: the nose of the bypass hole in the pig (p tail – p nose ) is
1 established from three parts; i.e. pressure losses from a
θ = tan−1 f ′( x ), cos θ = (3)
1 + f ′( x )2 sudden contraction at the tail (KSC), the valve inside the hole
(K V ) and a sudden expansion at the nose (K SE ). The
If s measures along the pig’s path and the radius of curvature following relations are suggested for the pressure difference
of the path is R, then we can derive both accelerations of the and the loss coefficients in the fluid mechanics books and
pig as follows: papers, e.g. [1]:
Vpig = s = 1 + f ′( x )2 x (4) K total ρ(Vh − Vpig )2
ptail − pnose =
2
2
Vpig f ′′( x )
an = = x 2
(5) where:
R 1 + f ′( x )2 K total = K SC + KV + K SE
(8)
⎛ d2 ⎞
d s f ′′( x ) f ′( x ) 2
2
K SC = 0.42 ⎜1 − valve
at = = x +
x 2 1 + f ′( x )2 (6) 2 ⎟
dt 2 ⎝ d ⎠
1 + f ′( x ) 2
⎛ h ⎞ d2
The term F1 – F2 on the left side of Equation (2) can be KV = f ⎜ ⎟ , K SE = 1 − valve
derived as follows [13]: see Equation (7). ⎝ dvalve ⎠ D2
⎡ l ( x + 5l pig ) − l ( x ) V 2 ⎤ f ′( x )
F1 − F2 = ( ptail − pnose ) Ah − ⎢ f ρ + gρZ ( x + 5l pig cos θ) − ρgZ ( x )⎥ A − 4ρgAl pig (7)
⎣ D 2 ⎦ 1 + f ′( x )2
ogst110098_Mirshamsi 21/09/12 10:37 Page 696
696 Oil & Gas Science and Technology – Rev. IFP Energies nouvelles, Vol. 67 (2012), No. 4
⎛ d2 ⎞⎛ d2 ⎞ L ( jω)
min( K total ) = ⎜1 − valve
2 ⎟⎜
1.42 − valve ⎟ (9) TL ( j ω ) ≤ ≤ TU ( jω) for all P, ω ≥ 0 (13)
⎝ D ⎠⎝ D2 ⎠ 1 + L ( jω)
Substitutions (3) and (5) in (1) give the normal force N as Equation (13) implies that the system’s response to the
follows: step input should be placed in a predefined region specified
⎡ f ′′( x ) 1 ⎤ by upper and lower bounds, denoted as TU(jω) and TL(jω),
N = m⎢ x 2 + g⎥ (10) respectively. Suppose that:
⎢⎣ 1 + f ′( x )2 1 + f ′( x )2 ⎥⎦ – the system’s response to the step input is required to settle
The final equation of the pig can be derived by substituting in ts ≤ 2.5 s;
all the terms in (2) as follows: see Equation (11). – an overshoot of ML = 1.4 is appropriate.
The following transfer functions can be selected so as to
define the desired tracking bounds with the aforementioned
2 QFT CONTROLLER DESIGN specifications:
4.938( s + 4 )
General Formulation TU ( jω) = (14a)
s + 2 ± j 3.969
Numerical simulation of Equation (11) shows that the pig
speed varies with respect to time. In order to control the pig 8 400
TL ( j ω ) = (14b)
speed, the pig’s nonlinear system is converted to a family of ( s + 3)( s + 4 )( s + 10 )( s + 70 )
linear uncertain equivalent systems using the SR method. In
These two specifications generate robust bounds on L0(jω)
order to demonstrate the remarkable performance of the
which is a nominal loop transmission at selected frequencies,
proposed control approach, two different case studies are
and the bounds are plotted on the NC. The synthesized L0(jω)
considered and QFT controllers are designed.
must lie on or just above the bound at each frequency to
Using the open-loop transmission, each controller should satisfy the required performance. The proposed compensator
be synthesized such that the closed-loop system is stable and G is designed by adding appropriate poles and zeros to the
also satisfies the following conditions. nominal loop function so that it lies inside the acceptable
regions.
Robust Stability
The designed compensator, however, guarantees only that
The stability margin can be specified in terms of a phase the variation in ⏐L(jω)/(1+L(jω))⏐ is less than or equal to that
margin, a gain margin or the corresponding ML contour on allowed. Therefore, it is necessary that a prefilter be designed
the Nichols Chart (NC) using the associated magnitude in to ensure robust performance in the tracking problem.
decibels (dB) [16]. If any one of the three stability require-
ments is specified, the remaining two can be calculated. The Application to the Proposed System
ML contour is the stability specification used directly for the The dynamic equation of motion of the pig can be written as:
(V − x )
2
QFT design technique, placing an upper limit on the magni-
1 + c2 5l pig V2
tude of the closed-loop frequency response: x = W (t ) − fρ
1 1 + c2 Dm 1 + c 2 2
≤ M L for all P, ω ≥ 0 (12)
1 + L ( jω) c c2 (15)
+4ρggAl pig − g
The ML contour on the NC therefore forms a boundary m(1 + c 2 ) 1 + c2
which must not be violated by a plot of the open-loop
transmission L(s) = G(s)P(s). Throughout the design, ML is ⎛ d g ⎞ cd 2
−bμ ⎜ x 2 + ⎟− x
chosen to be 1.58 dB. ⎝1 + c2 1 + c2 ⎠ 1 + c2
( )
2
K total ρA 2 V − x 1 + f ′( x )2 5l pig V 2 f ′( x ) f ′( x )
− fρ + 4ρgAl pig − mg
2 Ah D 2 1 + f ′( x ) 2
1 + f ′( x )2 (11)
⎡ f ′′( x ) ⎤ ⎡ ⎤
− sgn( x )mμ ⎢ x 2 +
g ⎥ = m ⎢ f ′( x ) f ′′( x ) x 2 + x 1 + f ′( x )2 ⎥
⎢⎣ 1 + f ′( x )2 1 + f ′( x )2 ⎥⎦ ⎢⎣ 1 + f ′( x )2 ⎥⎦
ogst110098_Mirshamsi 21/09/12 10:37 Page 697
M Mirshamsi and M Rafeeyan / Speed Control of Pipeline Pig Using the QFT Method 697
b = sgn(x· ) (17)
Vpig ( s ) aV 2 − 2 a 2V 1 + c 2 + (1 + c 2 )a 3
′( x ), d == ff”(x)
cc == f ’(x), ′′( x ) P= =
(18) W (s ) ⎛ bμd + cd 2 ⎞ (20)
a 1 + c 2 s + ⎜−k + a ⎟ 1 + c2
Since Ah is time-variant, W(t) can be considered as control ⎝ 1 + c2 ⎠
input. b, c and d can be considered as system uncertainties. where: V2
5l pig c
Now, the nonlinear system governed by Equation (15) is k = − fρ + 4ρgAl pig
replaced with a family of linear time equivalent systems mD 1 + c 2 2 m(1 + c 2 )
(21)
using the SR method. This method uses an arbitrary family of c g
−g − bμ
output functions for construction of this equivalent family, 1 + c2 1 + c2
substitutes these functions in dynamic equations, obtains the Now two different case studies are considered and QFT
Laplace transform of the equation and obtains a family of controllers and prefilters are designed for each one.
linear equivalent uncertain transfer functions for a nonlinear
system [14]. In this study, a set of step functions with uncertain
height is considered arbitrarily, as follows: 3 NUMERICAL EXAMPLES
Vpig = x· = a.u(t) (19) Case 1
where u(t) is a step function. Substituting this function in the For the first case study, let us assume a 2D pipeline with the
dynamic equation of the pig (15) and getting the Laplace linear equation as y(x) = x. The numerical values for the mass
transform of the equation, the transfer function of linear of the pig, length of the pig, pipe diameter and bypass
equivalent plants is obtained as follows: diameter are assumed to be 50 kg, 0.3 m, 0.25 m and 0.12 m,
40
200 100 80
400 50
30
800
1
20 1
2 10
10 2
5
Magnitude (dB)
5
0
10
-10
-20
50
-30
80
100
-40
-350 -300 -250 -200 -150 -100 -50 0
Phase (°)
Figure 2
Nominal loop-shaping for case 1.
ogst110098_Mirshamsi 21/09/12 10:37 Page 698
698 Oil & Gas Science and Technology – Rev. IFP Energies nouvelles, Vol. 67 (2012), No. 4
respectively. The fluid is water with density of 1000 kg/m3 Bode diagram
100
and velocity of 6 m/s. The dynamic and static coefficients of
Magnitude (dB)
friction are assumed to be 0.2 and 0.3, respectively. The pig 0
f ′′( x ) = 0 and
position at initial time is x(0) = y(0) = 0. Since f”(x) -100
f ′( x ) = 1 in this example, c = 1 and d = 0. It is assumed that
f’(x)
-200
b ∈ [-1 1], a ∈ [1 5]. QFT compensators and prefilters are
designed for the family of uncertain linear time-invariant -300
equivalent plants (20) using the numerical values above. The -400
prefilter H1 and compensator G1 are designed as: -90
1 -135
Phase (°)
H1 ( s ) = (22)
s / 29.19 + 1 -180
25.24 -225
G1 ( s ) = (23)
(
s s / 137.1 + 2.33s / 137.1 + 1
2
) -270
108
10-2 100 102 104 106
In Figure 2 colored lines show the resulting QFT design Frequency (rad/s)
bounds (stability bounds and performance bounds) for the
pre-determined set of design frequencies ω = {1, 2, 5, 10, 50,
Figure 3
80, 100, 200, 400, 800} and the black line shows the loop
shaping L(jω) for these frequencies. It is noted that the plot at The Bode plot of G1(s) for case 1.
40
30
1
1
20
2
2
10
5
Magnitude (dB)
10 10
0
5 800
400
-10 50
80
100
200 50
-20
80
100
-30
200
-40
M Mirshamsi and M Rafeeyan / Speed Control of Pipeline Pig Using the QFT Method 699
0 3.0
-100 2.5
0.5
-135
0
-180 0 1 2 3 4 5 6 7 8 9 10
10-2 100 102 104 106 108 Time (s)
Frequency (rad/s)
Figure 6
Figure 5
Simulated pig velocity for case 1.
The Bode plot of G2(s) for case 2.
3.5
3.0
each chosen frequency satisfies the specified bound, that is,
L(jω) does not violate the U-contour (for stability) and any 2.5
points of L(jω) are on or above the performance bound curve
Pig velocity (m/s)
700 Oil & Gas Science and Technology – Rev. IFP Energies nouvelles, Vol. 67 (2012), No. 4
0.13 0.13
0.12 0.12
0.11
0.11
Valve diameter (m)
0.05 0.06
0.04 0.05
0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10
Time (s) Time (s)
Figure 8 Figure 9
Changes in valve diameter, for case 1. Changes in valve diameter, for case 2.
1
Out 1
+ 0.5 sqrt
– d_valve
Scope
-K- + u2 + sqrt
+ –
-C-
-C-
V
V1
num f1 num g1 W
+ + In1 Out1 2
+ den f1 – den g1
Out 2
Step Prefilter Controller Saturation PIG
1
In
Figure10
Block diagram.
CONCLUSIONS were obtained. The results from the two studies showed that
the speed of the pig reaches its desired value very soon. This
This paper proposed a new and simple controller design research is the first application of the QFT method, which is
method to maintain the speed of a pipeline pig. This method, a well-known robust control method, in the area of speed
which is called Sobhani-Rafeeyan’s method, replaces the control of the pig. Also, it is the first control method for pigs
nonlinear dynamic equation of the pig with bypass flow in whose paths are two-dimensional. It is expected that this
liquid pipeline with a family of uncertain linear systems. method can be developed for speed control of a pig in a
Then, a robust controller using the Quantitative Feedback natural gas pipeline. Also, this method can include some
Theory (QFT) method was synthesized for this family of uncertainty of parameters such as: density of fluid,
uncertain linear systems. The designed controller was coefficient of friction, length of the pig and so on. The final
simulated on the original nonlinear system and good results designed controller is always of classical type and realizable.
ogst110098_Mirshamsi 21/09/12 10:37 Page 701
M Mirshamsi and M Rafeeyan / Speed Control of Pipeline Pig Using the QFT Method 701
Mu
-K-
X
k2
8 Sign
+ k1
k + 0.4
+
-C- + -K- u2
k_p
– 1
+ – 1
1 + s
X + Out
In Integrator
-K- u2 +
– -K-
1/k_z k_z
Figure 11 V
Dynamic of pig.