Real-time pump diagnostic algorithms and application thereof

Information

  • Patent Grant
  • 11639660
  • Patent Number
    11,639,660
  • Date Filed
    Tuesday, November 19, 2013
    11 years ago
  • Date Issued
    Tuesday, May 2, 2023
    a year ago
Abstract
A method for determining a pump card for a well. The method comprising: obtaining a first set of data points, wherein the first set of data points comprise a first set of polished rod position data points of the well and a first set of polished rod load data points of the well; and calculating a first data point of a pump position and a pump load using the first set of data points. The calculating occurs before the well moves through a first complete stroke cycle.
Description
BACKGROUND OF THE INVENTION

Embodiments of the invention disclosed and taught herein relate generally to pump diagnostic methods, and more specifically, real-time and near real-time pump diagnostic techniques and approaches for use with rod pump and similar well pumping systems.


The modern pump diagnostic technique for vertical oil wells was originated by Gibbs in 1966 [Gibbs, S. G., et al., Journal of Petroleum Technology, Vol. 18 (1), pp. 91-98 (1966)]. Gibbs used the method of separation of variables to generate the explicit solution of the pump position which satisfied the constraints of the measured polished rod position and load. In 1987, Jennings applied the finite difference method to the wave equation of the vertical wells and obtained some pump cards that were similar to the ones through the method of separation of variables [Everitt, T. A., et al., SPE Production Engineering, pp. 121-127 (February 1992)]. In 1991, Lukasiewicz obtained the solution to the wave equation of the rod strings of some deviated wells through the finite element method by considering the axial and transversal motions [Lukasiewicz, S. A., Journal of Canadian Petroleum Technology, Vol. 29 (6), pp. 76-79 (1990); Lukasiewicz, S. A., Proc. Of Production Operations Symposium, April 1991, Oklahoma City, Okla.; pp. 313-321]. In 1992, Gibbs proposed a diagnostic solution to the deviated wells by including the Coulomb friction in the wave equation [Gibbs, S. G., Journal of Petroleum Technology, Vol. 44 (7), pp. 774-781 (1992)]. In 2001, Xu reinforced Gibbs' diagnostic approach to the deviated wells [Xu, J., et al., Proc. Southwestern Petroleum Short Course, pp. 133-140 (2001)]. In 2003 and 2010, Shardakov and Vasserman studied the stick-slip phenomenon of the deviated wells through the variational inequalities [Shardakov, I. N., et al., Journal of Sound and Vibrations, Vol. 329 pp. 317-327 (2010); Vassserman, I. N., et al., Journal of Mechanics and Technical Physics, Vol. 44 (3), pp. 406-414 (2003)]. In 2012, Pons-Ehimeakhe studied the vertical and deviated wells by including Coulomb friction or considering different viscous damping values in the up and down strokes in the finite difference method to the wave equation [Pons-Ehimeakhe, V., Proc. Southwestern Petroleum Short Course, Lubbock, Tex. (April 2012)].


In the aforementioned approaches, the data points of the polished rod position and load of a stroke cycle are acquired and displayed first. Then, the diagnostic algorithm is executed to obtain the pump position and load. There is a time delay between displaying the pump card and displaying the surface card. In general, the time delay between the display of the first data point of the pump card and the display of the first data point of the surface card is between one stroke cycle and two stroke cycles. The delay time is the accumulation of the polished rod stroke cycle, the time spent on filtering and interpolation of the polished rod data, and the time spent on executing the diagnostic algorithm. There is a demand in oil industry for displaying the pump card in real-time or near real-time. The instant disclosure addresses the issue of displaying a pump card in real-time or near real-time mode using several real-time or near real-time diagnostic techniques and methods, including the finite difference and Fourier series solutions to the wave equation of the rod string in a well. The real-time pump diagnostic technique provides the real-time or near real-time pump information, advances the pump-off control action by about half the pumping cycle, and may be useful for the active speed control of the oil pump.


With the finite difference method, the technique for calculating the pump card in real-time is developed, and the simulation results are reported. With the Fourier series method, by using the periodicity of the signal, the pump data point (pump position and pump load) at any time point is obtained, and the surface and pump data points can be displayed and erased synchronously. The wave propagation delay law is applied so that the pump motion is delayed at a proper time relative to the polished rod motion.


Embodiments of the invention disclosed and taught herein are directed to techniques for displaying a pump card in real-time or near real-time synchronization with a surface card, and the implementation of such methods and techniques.


BRIEF SUMMARY OF THE INVENTION

The objects described above and other advantages and features of the invention are incorporated in the application as set forth herein, and the associated appendices and drawings, related to systems for analyzing, diagnosing, and displaying (on a surface card, pump card, or both) data from pumping units and the like, particularly in real-time or near real-time.


In accordance with a first embodiment of the present disclosure, real-time and near real-time methods, including both methods of finite difference and Fourier series analysis, for analyzing and displaying pump cards and surface cards are described.


According to another embodiment of the present invention, the polished rod load can be derived from a direct measurement through a load cell or from a calculation through a motor torque.


According to another embodiment of the present invention, the first surface stroke may refer to any stable surface stroke after pumping is started, and it does not necessarily refer to the first surface stroke which occurs immediately after the pumping unit is started.


According to another embodiment of the present invention, any surface data point is displayed once it is measured, and any pump card data point is displayed once it is calculated.


According to another embodiment of the present invention, a surface card is erased only after its cycle is complete, a pump card is erased only after its cycle is complete, the surface card and its corresponding pump card can be erased at the same time or in a sequence with a delay.


According to another embodiment of the present invention, the methods for calculating the pump data points in real-time are provided, the methods calculate and display the current pump data point in the time interval between the last surface data point and the current surface data point, and the methods calculate the data points of the first pump card before or when the first surface stroke is completed.


According to another embodiment of the present invention, part or the complete set of the data points of the first surface stroke are used to calculate the first pump data point. Data points may include but are not limited to data points that may be measured, derived or inferred, such as position, load, pressure, motor torque, or motor current.


According to another embodiment of the present invention, a real-time pump card point can be obtained every few surface data points to give more time for executing the real-time pump diagnostic algorithms, and the real-time pump diagnostic algorithms are suitable for strokes with a varying number of data points.


According to another embodiment of the present invention, the real-time pump diagnostic methods are applicable to vertical wells, horizontal wells and deviated wells with single or multi-taper rod strings.


According to another embodiment of the present invention, the real-time pump diagnostic methods provide prompt diagnostic of the pump conditions, and prompt control of the pump.


Other and further objects, features and advantages will be apparent from the following description of a presently preferred embodiment of the invention, given for the purpose of disclosure and taken in conjunction with the accompanying drawings.





BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

The following figures form part of the present specification and are included to further demonstrate certain aspects of the present invention. The invention may be better understood by reference to one or more of these figures in combination with the detailed description of specific embodiments presented herein, wherein:



FIG. 1 illustrates a graphical representation of a polished rod position and load for a vertical well with a three-taper rod string



FIG. 2 illustrates a graphical representation of the displaying and erasing a surface and pump card with a time delay as an exemplary embodiment of a method for implementing the inventions described herein;



FIG. 3 illustrates the surface and pump cards of Well 1 when the first pump data point is obtained and displayed;



FIG. 4 illustrates the surface and pump cards of Well 1 when dozens of pump data points are obtained and displayed;



FIG. 5 illustrates the surface and pump cards of Well 1 when most of the data points of a pump cycle are obtained and displayed;



FIG. 6 illustrates the complete first pump card and some beginning points of the second surface card of Well 1;



FIG. 7 illustrates the sequences of the polished rod position and the relevant pump position with the Fourier series method as an exemplary embodiment of a method for implementing the inventions described herein;



FIG. 8 illustrates the surface and pump cards at the 68th time point of a stroke cycle for Well 1;



FIG. 9 illustrates the surface and pump cards at 136th time point of a stroke cycle for Well 1;



FIG. 10 illustrates the surface and pump cards at the last time point of a stroke cycle for Well 1;



FIG. 11 illustrates the time that is advanced for doing pump-off control;



FIG. 12 illustrates the six cycles of the polished rod position and load synthesized from SROD with varied fillages and a varying number of data points in a stroke.



FIG. 13 illustrates the surface card with 100% fillage;



FIG. 14 illustrates the surface and pump cards with 80% fillage;



FIG. 15 illustrates the surface and pump cards with 60% fillage;



FIG. 16 illustrates the surface and pump cards with 40% fillage;



FIG. 17 illustrates the surface and pump cards with 20% fillage;



FIG. 18 illustrates the surface and pump cards with 100% fillage; and



FIG. 19 illustrates the surface and pump cards that are generated by skipping every two surface data points.





DETAILED DESCRIPTION OF THE INVENTION

While the inventions disclosed herein are susceptible to various modifications and alternative forms, only a few specific embodiments have been shown by way of example in the drawings and are described in detail below. The figures and detailed descriptions of these specific embodiments are not intended to limit the breadth or scope of the inventive concepts or the appended claims in any manner. Rather, the figures and detailed written descriptions are provided to illustrate the inventive concepts to a person of ordinary skill in the art and to enable such person to make and use the inventive concepts.


The following definitions are provided in order to aid those skilled in the art in understanding the detailed description of the present invention.


The term “substantially real time”, or “near real time”, as used herein, refers to a short period of time between process steps. Preferably, something that occurs in “substantially real time” occurs within a time period of less than 10 seconds, more preferably less than 5, 4, 2, 1, 0.5, 0.2, 0.1, 0.01 seconds, or less. In one particular embodiment, computing an algorithm or pump card metric is performed in substantially real time relative to when the activity measurement used to compute the metric was taken.


The term “near real-time” or “nearly real-time” (NRT), in the present disclosure, refers to the time delay introduced, by automated data processing or network transmission, between the occurrence of an event and the use of the processed data, such as for display or feedback and control purposes. For example, a near-real-time display depicts an event or situation as it existed at the current time minus the processing time, as nearly the time of the live event.


The Figures described above and the written description of specific structures and functions below are not presented to limit the scope of what Applicants have invented or the scope of the appended claims. Rather, the Figures and written description are provided to teach any person skilled in the art to make and use the inventions for which patent protection is sought. Those skilled in the art will appreciate that not all features of a commercial embodiment of the inventions are described or shown for the sake of clarity and understanding. Persons of skill in this art will also appreciate that the development of an actual commercial embodiment incorporating aspects of the present inventions will require numerous implementation-specific decisions to achieve the developer's ultimate goal for the commercial embodiment. Such implementation-specific decisions may include, and likely are not limited to, compliance with system-related, business-related, government-related and other constraints, which may vary by specific implementation, location and from time to time. While a developer's efforts might be complex and time-consuming in an absolute sense, such efforts would be, nevertheless, a routine undertaking for those of skill in this art having benefit of this disclosure. It must be understood that the inventions disclosed and taught herein are susceptible to numerous and various modifications and alternative forms. Lastly, the use of a singular term, such as, but not limited to, “a,” is not intended as limiting of the number of items. Also, the use of relational terms, such as, but not limited to, “top,” “bottom,” “left,” “right,” “upper,” “lower,” “down,” “up,” “side,” and the like are used in the written description for clarity in specific reference to the Figures and are not intended to limit the scope of the invention or the appended claims.


Particular embodiments of the invention may be described below with reference to block diagrams and operational illustrations of methods. It will be understood that each block of the block diagrams and operational illustrations, and combinations of blocks in the block diagrams and operational illustrations, can be implemented by analog and digital hardware, and computer program instructions. Such computer program instructions may be provided to a processor of a general-purpose computer, special purpose computer, ASIC, and other programmable data processing system. The executed instructions may create structures and functions for implementing the actions specified in the block diagrams and operational illustrations. In some alternate implementations, the functions/actions/structures noted in the figures may occur out of the order noted in the block diagrams and operational illustrations. For example, two operations shown as occurring in succession, in fact, may be executed substantially concurrently or the operations may be executed in the reverse order, depending upon the functionality/acts/structure involved.


Applicants have created real-time and near real-time pump diagnostic techniques and methods to generate a pump motion capable of lagging the polished rod motion, or being synchronous with the polished rod motion. Such methods may also detect the incomplete pump fillage and other pump conditions in a timely manner.


The following are examples of real-time and near real-time pump diagnostic techniques and methods to generate a pump motion capable of lagging the polished rod motion, or being synchronous with the polished rod motion using the finite deference equations. In this example, a generalized model for the deviated well is developed. The model is:













2


u




t
2



=



v
2






2


u




x
2




-

c




u



t



-



144


g
c



ρ





A




C


(

x
,
t

)








(
1
)








where C(x, t) is the Coulomb friction force on the rod segment of unit length and varies over time at every node in lbs/ft; t is the time in seconds; u(x,t) is the rod displacement (deformation) in ft at the axial distance x and the time t; A is the rod cross-sectional area in in2;






c
=


π





v





λ


2

L







is the viscous damping coefficient in 1/s; λ is the dimensionless damping factor; L is the total rod length in ft;






v
=



144


g
c


E

ρ







is the sound velocity in the rod material in ft/s; ρ is the density of the rod material in lbm/ft3; gc is the gravity conversion factor in (lbm·ft)/(lbf·sec2); E is Young's modulus of elasticity for the rod material in psi; ∂u/∂x is the rod strain, e.g., the change of the rod displacement over the axial rod length.


The finite difference equation for the system is











u


(


x
+

Δ





x


,
t

)


=



H
1



u


(

x
,

t
+

Δ





t



)



-


H
2



u


(

x
,
t

)



+


H
3



u


(

x
,

t
-

Δ





t



)



-

u


(


x
-

Δ





x


,
t

)


+


H
4



C


(

x
,
t

)














where












H
1

=



(


ρ





A

+

144


cg
c


Δ





t


)


Δ






x
2



144


EAg
c


Δ






t
2




,










H
2

=



2





ρ





Δ






x
2



144


Eg
c


Δ






t
2



+


c





ρ





Δ






x
2



144


Eg
c


Δ





t


-
2


,










H
3

=




ρ





Δ






x
2



144


Eg
c


Δ






t
2








and






H
4


=



Δ






x
2


AE

.








(
2
)







Equation (2) is solved for the current pump position and load in every sampling time interval. For the vertical well application, one makes H4 as 0 in Equation (2) and has

u(x+Δx,t)=H1u(x,t+Δt)−H2u(x,t)+H3u(x,t−Δt)−u(x−Δx,t)  (3)


Exemplary polished rod data cycles as referenced herein are discussed as follows. For example, a beam pump unit may have many input sensors to the Well Manager controller. Well Manager™ is a Lufkin product. The input sensors may be used in the display of a real-time pump card. The first input may be from a magnet that monitors the motor revolution. Polished rod position or load data point may correspond to a complete motor revolution which is sensed by this magnet. The second input may be from the other magnet that sends a signal to the controller at the end of a complete stroke cycle. The data acquired between the two input signals of the second magnet may represent the data that spans a stroke cycle of the polished rod. The surface and pump cards may be erased once the second magnet is triggered. The polished rod position and load with respect to time may be illustrated for a vertical well with a three-taper rod string. Examples of each of these embodiments follows:



FIG. 1 is an exemplary illustration of a polished rod position and load for a real vertical well with a three-taper rod string. This well is named as Well 1. In this exemplary example, the number of the data points of the polished rod position or load is 205. The well parameters are listed in Table 1. In this exemplary example, the polished rod position takes the substantially full, or complete, sinusoidal wave form. In this exemplary example, the pump Pillage is complete.











TABLE 1





Parameter
Value
Unit







RodDiameter
[0.875, 0.75, 0.875]
inches


RodModulus
[30.5, 30.5, 30.5]
mega-psi


WeightPerFoot
[2.224, 1.634, 2.224]
lbs/feet


LengthOfTaper
[3092, 4175, 450]
feet


TubingGradient
0.36
psi/foot


SPM
5.32
stroke per minute


PumpDepth
7717
feet


RodDamping
0.1
dimensionless


StrokeLength
70.1
inches


StuffingBoxFriction
100
lbs


TubingHeadPressure
100
lbs









The details of the technique for using the live surface data points to generate the live pump data points under the finite difference method in accordance with the present disclosure is presented herein. The M polished rod position or load points for a stroke cycle are assumed and the 2N−3 data points for both polished rod position and load that are required for obtaining a pump card data point (position and load) is assumed. Two parameters are:


M=the number of polished rod position or load samples in a stroke cycle;


N=the number of nodes along the rod string.


Once a surface or pump card is complete, it may be immediately erased. To have a complete cycle of data for the pump card, more than one cycle of data for the polished rod may be needed. The additional data of the polished rod may come from the next cycle. It may use the 2N−3 beginning data points of the next surface cycle to calculate the 2N−3 ending data points of the current pump cycle.



FIG. 2 illustrates the sequences of the polished rod position and the relevant pump position. A surface data point may be displayed as soon as it is available. Once M surface data points are displayed, the surface card may be erased and the surface card for the next stroke cycle may start to be displayed. Once the first 2N−3 data points of the polished rod position and load of the first stroke are available, the first data point of the pump card may be immediately calculated and displayed. Then, the moving triangular window as shown in FIG. 2 may be advanced in time by one data point step since the (2N−2)th surface data point is available. With this new array of 2N−3 surface data points, the second pump data point may be calculated and displayed. Data shifting, calculation and displaying may continue until M pump data points are displayed. Then, a pump cycle is completed, the pump card may be erased and the pump card for the next stroke cycle may start to be displayed.


An exemplary Well 1 may be simulated. In FIG. 3, the 2N−3 points of the surface card of the exemplary Well 1 are being displayed and the first pump card data point is calculated and displayed. In this example, the closing of the surface card is ahead of closing of the pump card. Either card may be erased once it is completed.


In FIG. 4, the beginning of the pump card is being displayed. Displaying of the surface card is ahead of displaying of the pump card.



FIG. 5 illustrates that at a time point which is the integer multiplication of M, the surface card of Well 1 is completed but the pump card is not completed.



FIG. 6 illustrates that the pump card of Well 1 for its stroke cycle is complete when the 2N−3 surface card data points for its next stroke cycle are acquired and displayed.


With the conventional finite difference method, one has to calculate the node displacement on every grid along the time axis. However, some of these nodes are useless to computation of the pump displacement. Therefore, a smart algorithm may be designed to avoid the computation of these useless grids. The smart algorithm can save at least 50% of the conventional computation time. With N as defined in the previous sections, we need 2N−3 surface data points to compute a point for the pump card. With the conventional method, we need to calculate (N−2)(2N−3) grid points in order to have a data point for the pump card. With the new algorithm, we only need to calculate (N−2)2 grid points. The time percentage which is saved is at least:










100

%







lim

N
->








(

N
-
2

)



(


2

N

-
3

)


-


(

N
-
2

)

2




(

N
-
2

)



(


2

N

-
3

)





=


100

%







lim

N
->







(

N
-
1

)



(

N
-
2

)




(

N
-
2

)



(


2

N

-
3

)





=


100

%







lim

N
->






N
-
1



2

N

-
3




=


100

%







lim

N
->





0.5


(

1
+

1


2

N

-
3



)




=


100

%
*
0.5

=

50

%









(
4
)








where N as a total number of the rod string nodes is greater than 2. Since






1


2

N

-
3






is a monotonous decreasing function, the time percentage which is saved is at least greater than 50%. Using a 7 node rod string as an example, the time which is saved can be represented by:










100

%
*
0.5


(

1
+

1


2
*
5

-
3



)


=

54.6


%
.






(
5
)







The grid table for a data point of the pump card is shown in Table 2. The horizontal grids are along the time axis. The vertical grids are along the rod string position axis. b represents the grids of the node 1 and 2 as the boundary conditions. X represents the useless grids which need no calculation. U represents the grids which have to be solved in order to get a data point of the pump node. In this case, the grid on the coordinates (6,7) will be solved. The conventional finite difference method has to solve 55 grid points. However, the new algorithm proposed in this report needs to solve only 25 grid points.




















TABLE 2







1
b
b
b
b
b
b
b
b
b
b
b


2
b
b
b
b
b
b
b
b
b
b
b


3
X
U
U
U
U
U
U
U
U
U
X


4
X
X
U
U
U
U
U
U
U
X
X


5
X
X
X
U
U
U
U
U
X
X
X


6
X
X
X
X
U
U
U
X
X
X
X


7
X
X
X
X
X
U
X
X
X
X
X









The discussion and details presented herein proposes two techniques for calculating the pump card in synchronization with its surface card under the finite difference method. The first technique synchronously displays and erases the surface and pump cards. The second technique displays the data point of a surface or pump card as soon as it is available and erases a card once it is completed. Either technique can be refined. The proposed techniques provide the closed pump cards based on which pump condition can be diagnosed or pump can be shut off or made slow. Moreover, calculation of the useless data grid points in the finite difference iteration may be avoided. The computational efficiency may be doubled. The real-time pump card can also be applied to the Fourier series platform, as is discussed below.


The details of the generation and application of an exemplary Fourier series technique in accordance with the present disclosure is presented herein. The Fourier series equations for real-time pump diagnostic are developed. The technique for displaying and erasing a pump card and its surface card simultaneously is developed.


The following is an example of real-time and near real-time pump diagnostic techniques and methods to generate a pump motion capable of being synchronous with the polished rod motion using wave equations and Fourier series transforms.


Let a=ν in Equation (1). For the vertical well application, one makes C(x,t) as 0 in Equation (1) and has













2


u




t
2



=



a
2






2


u




x
2




-

c





u



t


.







(
6
)







To develop the basic solution, u is replaced by a complex variable z(x,t). Equation (6) becomes













2



z


(

x
,
t

)






t
2



=



a
2






2



z


(

x
,
t

)






x
2




-

c






z


(

x
,
t

)





t


.







(
7
)







The Fourier series equation of the polished rod displacement is:










U


(
wt
)


=



v
0

2

+




n
=
1

m




[



v
n



cos


(
nwt
)



+


δ
n



sin


(
nwt
)




]

.







(
8
)







The Fourier series equation of the polished rod load is:










D


(
wt
)


=



σ
0

2

+




n
=
1

m




σ
n



cos


(
nwt
)




+


τ
n




sin


(
nwt
)


.







(
9
)







The overall solution of the system at arbitrary depth x and time t is










z


(

x
,
t

)


=


ξ


(


η





x

+
ζ

)


+




n
=
1

m



R


(

n
,
x
,
t

)



+

i





n
=
1

m




G


(

n
,
x
,
t

)


.








(
10
)








where


R(n,x,t)=O(n,x)cos(nwt)+P(n,x)sin(nwt),


O(n,x)=[κn cos h(βnx)+δn sin h(βnx)]sin(αnx)+[μn sin h(βnx)+νn cos h(βnx)]cos(αnx),


P(n,x)=[κn sin h(βnx)+δn cos h(βnx)]cos(αnx)−[μn cos h(βnx)+νn sin h(βnx)]sin(αnx)


G(n,x,t)=0.5{[cos(αnx)e−βnx][κn cos(αnx)eβnx][κn cos(nwt)−μn sin(nwt)]+[sin(αnx)e−βnx+sin(αnx)eβnx][κn sin(nwt)+μn cos(nwt)]+[cos(αnx)e−βnx+cos(αnx)eβnx][μn sin(nwt)−δn cos(nwt)]+[sin(αnx)eβnx−sin(αnx)e−βnx][μn cos(nwt)+δn sin(nwt)]},


Tc is the pumping cycle,






w
=


2

π


T
c







is the angular frequency of the polished rod,








α
n

=


nw

a


2






1
+


1
+


(

c
nw

)

2







,






β
n

=


nw

a


2







-
1

+


1
+


(

c
nw

)


2












,






ξ





η

=


σ
0


2

EA



,

ξζ
=


v
0

2


,


κ
n

=




σ
n



α
n


+


β
n



τ
n




EA


(


α
n
2

+

β
n
2


)




,


μ
n

=




σ
n



β
n


-


α
n



τ
n




EA


(


α
n
2

+

β
n
2


)




,






v
n

=


w
π





0

T
c





U


(
wt
)




cos


(
nwt
)





t





,






δ
n

=


w
π





0

T
c





U


(
wt
)




sin


(
nwt
)





t





,


σ
n

=


w
π





0

T
c





D


(
wt
)




cos


(
nwt
)





t





,
and







τ
n

=


w
π





0

T
c





D


(
wt
)




sin


(
nwt
)





t








Hence, u(x, t), the subsurface displacement at arbitrary depth x and time t equal to the real part of z(x, t) is










u


(

x
,
t

)


=




σ
0


2

EA



x

+



v
0

2






n
=
1

m




[



O


(

n
,
x

)




cos


(
nwt
)



+


P


(
n
)




sin


(
nwt
)




]

.








(
11
)







The dynamic load F(x, t) at arbitrary depth x and time t is obtained through Hooke's law of







F


(

x
,
t

)


=

EA






u


(

x
,
t

)





x


.







By inputting Equation (11), the following equation may be found:










F


(

x
,
t

)


=



σ
0

2

+




n
=
1

m




[


EA





O


(

n
,
x

)





x




cos


(
nwt
)



+

EA





P


(

n
,
x

)





x




sin


(
nwt
)




]

.








where







(
12
)







EA





O


(

n
,
x

)





x



=



[



τ
n



sinh


(


β
n


x

)



+


EA


(



δ
n



β
n


-


α
n



v
n



)




cosh


(


β
n


x

)




]



sin


(


α
n


x

)



+






[


σ






cosh


(


β
n


x

)



+






EA


(



α
n



δ
n


+


β
n



v
n



)




sinh


(


β
n


x

)




]




cos


(


α
n


x

)


.







(
13
)








EA





P


(

n
,
x

)





x



=

[



τ
n



cosh


(


β
n


x

)



+






EA


(



δ
n



β
n


-


α
n



v
n



)




sinh


(


β
n


x

)




]









cos


(


α
n


x

)


-

[


[



σ
n



sinh


(


β
n


x

)



+


EA


(



δ
n



α
n


+


β
n



v
n



)




cosh


(


β
n


x

)




]




sin


(


α
n


x

)


.








(
14
)







Rod strings may have different rod sizes. The real-time diagnostic equations should handle these tapered-rod strings. Hence, the notation of the Fourier coefficients is extended to include two subscripts iσn, iτn, iνn, and iδn in which the left subscript denotes the ith taper in the tapered rod string and the right subscript denotes the order of the coefficient as previously. The polished rod data are associated with the first rod interval. Therefore, iσn, iτn, iνn, and iδn are Fourier coefficients obtained from harmonic analysis of the polished rod load and position. Similarly, we extend notation of O(n,x) and P(n,x) to iOn(x) and iPn(x). The recursive formulae are used to solve real time diagnostic problems of the wells with multi-taper rod strings. They are:










v

0





i
+
1



=


v
0


i


+



σ
0


i




L
i




E
i



A
i








(
15
)







v
n



i
+
1



=


O
n


i




(

L
i

)






(
16
)







δ
n



i
+
1



=


P
n


i




(

L
i

)






(
17
)







σ
0



i
+
1



=

σ
0


i






(
18
)







σ
0



i
+
1



=


E
i



A
i






i




O
n



(

L
i

)





x







(
19
)







τ
n



i
+
1



=


E
i



A
i






i




P
n



(

L
i

)





x







(
20
)








where i=1, 2, . . . , N−1 with N being the number of tapers in the tapered string.


In this Fourier series scheme for real-time pump card calculation, the surface and pump cards are displayed and erased synchronously. The M polished rod displacement or load points for a stroke cycle are assumed. Every sampling time interval should be known. Relative to the current time point, the M−1 past sampling time intervals of the polished rod displacement or load are stored in the memory. The current data point and the past M−1 data points form a cycle of data points. At each time point, the summation of the past M−1 sampling time intervals acts as the dynamic stroke period Tc based on which the angular frequency w=2π/Tc required for Fourier series is obtained. There are a full cycle of the pump displacement data points for every Fourier series calculation. Only the last displacement data point that occurs at the time point t=Tc corresponds to the current polished rod displacement data point.



FIG. 7 is an exemplary illustration of the sequences of the polished rod position and the relevant pump position. With the Fourier series scheme, the data points of the first cycle of the polished rod position and load are displayed but the first pump card is neither calculated nor displayed. Calculations of the three pump positions of the second pump stroke are demonstrated. L is defined as the pump depth.

    • 1) The data points from 2 to M in the first surface stroke and the first data point in the second surface stroke form a surface cycle of data points. The accumulation time period of these sampling time intervals is Tc1. Based on these M data points and via Equation (11), the Fourier series algorithm is used to calculate the pump position u(L,Tc1) that corresponds to the 1st data point in the second cycle of the polished rod position. u(L,Tc1) is the first pump position point in the second pump cycle.
    • 2) The data points from 101 to M in the first surface stroke and the data points from 1 to 100 in the second surface stroke form a surface cycle of data points. The accumulation time period of these sampling time intervals is Tc100, Based on these M data points and via Equation (11), the Fourier series algorithm may be used to calculate the pump position u(L,Tc100) that corresponds to the 100th data point in the second cycle of the polished rod position. u(L,Tc100) is the 100th pump position point in the second pump cycle.
    • 3) The data points from 1 to M in the second surface stroke form a surface cycle of data points. The accumulation time period of these sampling time intervals is TcM. Based on these M data points and via Equation (11), the Fourier series algorithm is used to calculate the pump position u(L,TcM) that corresponds to the Mth data point in the second cycle of the polished rod position. u(L,TcM) is the Mth pump position point in the second pump cycle.


The corresponding data points of the pump load u(L,t) are calculated through Equation (10). Once completion of the second surface cycle is detected through the input signal of the magnet, the pump card may be completed. The pump-off control algorithm may be executed on part of a pump card and before a complete pump card is obtained, and both the surface and pump cards may be erased simultaneously. The calculation and display of the next pump cycle in synchronization with the next surface cycle may be continued.



FIGS. 8, 9 and 10 show the surface and pump cards after the first stroke at the 68th time point, the 136th time point and the last time point of a stroke cycle for Well 1. The surface and pump cards are displayed simultaneously. The pump card obtained is the same as the one obtained via the conventional Fourier series algorithm.


This disclosure proposes a technique for real-time pump diagnostic of the pump conditions of oil wells. The Fourier series algorithm acts as a platform where the new real-time Fourier series algorithm is developed. The current pump position and load corresponding to the current surface position and load are calculated from an amount of current and past surface data points that span a stroke cycle. This technique generates the same quality of the pump cards as the non real-time Fourier series algorithm generates. The proposed technique provides the closed pump cards based on which pump condition can be diagnosed, the pump can be shut off or the pump speed can be changed. By calculating only the pump position at the last time point of a dynamic stroke period, computational efficiency is substantially improved. This fast calculation is helpful to successful implementation of the real-time pump diagnostic technique since the execution time of the whole algorithm is desired to be shorter than any sampling time interval of the surface data.


This disclosure proposes techniques, including those based on the finite difference method or the Fourier series method that may generate the pump motion in real-time or near real-time corresponding to the polished rod motion. The force wave starting at the polished rod driver may not reach the pump instantly. Therefore, the pump motion may lag the polished rod motion by the force wave propagation delay time. This delay time may be so long for a deep well that the pump is still moving in one direction while the polished rod is moving in the opposite direction. For shallow wells, this kind of motion delay phenomenon may be negligible. This disclosure proposes additional methods that map the wave propagation delay time to some parameters in the solutions of the wave equations so that the pump motion properly lags the polished motion in the pump diagnostic. The real-time mode of the pump motion may be approximately obtained.


This disclosure proposes techniques for the implementation of propagation delay time with the finite difference method. The force wave may propagate from the polished rod to the pump by going through a few tapers. The propagation time r is









τ
=





i
=
1

m



τ
i


=




i
=
1

m




L


(
i
)


/

v


(
i
)









(
21
)







where


i: the taper index;


L(i): the length of the No. i taper;


v(i): the wave propagation velocity in the No. i taper;


m: the total number of tapers.


The finite difference equation for a rod string may be represented by Equation (2) where


u(x, t): rod position at position x and time t;


x: the position of a finite rod segment;


Δx: the interval length between two adjacent nodes along the rod string;


t: time;


Δt: the time interval length between two samples of any position of a rod segment at any position.


A stroke cycle has the M data points. T is defined as the stroke cycle. Δt is determined by:










Δ





t

=


T

M
-
1


.





(
22
)







The surface motion lags the pump motion by the following amount of data points:









N
=


τ

Δ





t


.





(
23
)







N may be rounded to its nearest integer towards infinity. The number of nodes is approximately 2N. A value for N that is not less than a certain integer value may be required for shallow wells since small 2N may cause the solution to be unstable.


This disclosure proposes techniques for the implementation of propagation delay time with the Fourier Series Method. For every current surface data point, by using a cycle of the current and past surface data points, a full cycle of pump data points may be obtained. For the end of the ith taper, instead of using the last data point of this pump cycle, a data point which has the delay time of ti may be used. The pump cycle period is defined as T. The propagation delay time to the end of the ith taper is










t
i

=




p
=
1

i




τ
p

.






(
24
)








The depth of the end of the ith taper is










D
i

=




p
=
1

i




L


(
p
)


.






(
25
)







The Fourier series equation of the rod displacement at the depth Di and time t is:










u


(


D
i

,

T
-

τ
i



)


=




σ
0


i



2

EA




D
i


+


v
0


i


2

+




n
=
1

m



[






i


O



(

n
,

D
i


)




cos


(

nw


(

T
-

t
i


)


)



+





i


P



(
n
)




sin


(

nw


(

T
-

t
i


)


)




]







(
26
)







The Fourier series equation of the rod load at the depth Di and time t is:










F


(


D
i

,

(

T
-

t
i


)


)


=



σ
0


i


2

+




n
=
1

m




[


EA





i



O


(

n
,
x

)





x





|

D
i





cos


(

nw


(

T
-

t
i


)


)


+

EA





i



P


(

n
,
x

)





x






|

D
i




sin


(

nw


(

T
-

t
i


)


)



]

.







(
27
)







As shown by the surface card in FIG. 11, the pump card can be divided into the four phases:


a) from time point t1 (traveling valve closes) to time point t2 (standing valve opens).


b) from time point t2 (standing valve opens) to time point t3 (standing valve closes).


c) from time point t3 (standing valve closes) to time point t4 (traveling valve opens).


d) from time point t4 (traveling valve opens) to time point t1 (traveling valve closes).


The pump fillage for this pump card is 20%. With the current pump-off control algorithm, the time point t4 on the surface card corresponds to the critical pump-off point. The surface card starts at the time point t1 that corresponds to the bottom of the down stroke. With the traditional method, after the time point t4 is detected, the controller has to wait for the time interval (t1-t4) between the time point t1 and the time point t4 that is required to complete the stroke cycle and the additional time interval (t5-t1) that is required for executing the algorithm to obtain the pump card. A pump card may be obtained at the time point t5. The time interval between the time point t5 at which the pump is turned off or slowed down and the time point t4 at which the pump-off condition is detected is

δt=t5−t1+t1−t4=t5−t4  (28)


With the traditional method, δt is the delay time for switching off or slowing down the pump after the pump-off condition at t4 is detected. If the real-time pump diagnostic method is used, a pump card can be obtained along with the surface card as shown FIG. 7. However, there is a motion delay for the pump relative to the polished rod. Mathematically, the sinusoidal pump motion has a phase delay compared to the sinusoidal polished rod motion. For example, the surface may reach the critical pump-off control point at the time point t4 but the pump may reach the critical pump-off control point at the time point tp4. Being the same as the wave propagation time τ, the delay time between the time point t4 and the time point tp4 is approximately

τ=tp4−t4  (29)


Therefore, compared to the traditional method, the real-time pump diagnostic method can turn off or slow down the pump earlier in an amount of time δt−τ.


Successful diagnosis of large variations of pump fillage may be the necessary function for the real-time pump diagnostic. In this disclosure, SROD was used to synthesize the polished rod position and load as shown in FIG. 12. The well parameters are listed in Table 1. The pump has 100% fillage in the first stroke, 80% fillage in the second stroke, 60% fillage in the third stroke, 40% fillage in the fourth stroke, 20% fillage in the fifth stroke, and 100% fillage in the last stroke. The Fourier series real-time diagnostic method is used. The propagation delay is considered. The surface card with 100% fillage in the first stroke is shown in FIG. 13 and the pump card is not available. The surface and pump cards with 80% fillage are shown in FIG. 14. The surface and pump cards with 60% fillage are shown in FIG. 15. The surface and pump cards with 40% fillage are shown in FIG. 16. The surface and pump cards with 20% fillage are shown in FIG. 17. The surface and pump cards with 100% fillage are shown in FIG. 18. The simulation results show that our real-time diagnostic techniques are capable of detecting the large fillage variations (e.g., 20% and 80% fillage variations). Furthermore, the number of the data points of these strokes are slightly different from each other. For example, these six strokes have the 200, 190, 200, 210, 200, and 210 data points, respectively. The simulation results show that our real-time pump diagnostic techniques can handle the varying number of data points of a stroke.


Full execution of the real-time pump diagnostic algorithm may need dozens of milliseconds for a modern microcontroller. The algorithm execution time must be shorter than the sampling time interval. For fast pumping with short sampling intervals, we may skip a few surface data points so that we have enough time to execute the real-time diagnostic algorithm. For example, if we skip every two surface data points with the Fourier series method, we may have a real-time pump card as shown in FIG. 19 for the parameters as shown in Table 1. The surface data is synthesized from SROD. FIG. 19 shows that our real-time pump diagnostic algorithm is still valid even if every few surface data points are skipped.


This disclosure addresses the issue o determining the “real” delay time of the real-time pump motion relative to the real-time polished rod motion. The disclosed method for determining the delay time may work for both the finite difference method and the Fourier series method. Both methods generate a similar motion delay time for the pump relative to the polished rod.


Other and further embodiments utilizing one or more aspects of the inventions described above can be devised without departing from the spirit of Applicant's invention. Further, the various methods and embodiments of the methods of manufacture and assembly of the system, as well as location specifications, can be included in combination with each other to produce variations of the disclosed methods and embodiments. Discussion of singular elements can include plural elements and vice-versa.


The order of steps can occur in a variety of sequences unless otherwise specifically limited. The various steps described herein can be combined with other steps, interlineated with the stated steps, and split into multiple steps. Similarly, elements have been described functionally and can be embodied as separate components or can be combined into components having multiple functions.


The inventions have been described in the context of preferred and other embodiments and not every embodiment of the invention has been described. Obvious modifications and alterations to the described embodiments are available to those of ordinary skill in the art. The disclosed and undisclosed embodiments are not intended to limit or restrict the scope or applicability of the invention conceived of by the Applicants, but rather, in conformity with the patent laws, Applicants intend to fully protect all such modifications and improvements that come within the scope or range of equivalent of the following claims.

Claims
  • 1. A method for determining a pump card for a well, the method comprising: obtaining a first set of data points, wherein the first set of data points comprise a first set of polished rod position data points of the well and a first set of polished rod load data points of the well;calculating a first data point of a pump position and a pump load using the first set of data points;displaying the first set of data points, the display comprising a first surface card; anddisplaying, in real-time or near real-time, the first data point of the pump position and pump load synchronized with the display of the first surface card,wherein the calculating occurs before the well moves through a first complete stroke cycle, andwherein displaying in real-time or near real-time is ten seconds or less.
  • 2. The method of claim 1, further comprising: obtaining a second set of data points comprising one or more of the polished rod position data points of the well and one or more of the polished rod load data points of the well during a second stroke cycle; calculating an additional data point of the pump position and pump load using the second set of data points; displaying the second set of data points, the display comprising a second surface card; and displaying in real-time or near real-time the additional data point of the pump position and pump load synchronized with the display of the second surface card.
  • 3. The method of claim 1, further comprising diagnosing the condition of the well.
  • 4. The method of claim 1, where calculating comprises applying a finite difference method.
  • 5. The method of claim 1, wherein the calculating a first data point of a pump position and pump load using the data points of the first set of data points comprises calculating a first data point of a pump position and pump load using the last 2N−3 data points of the first set of data points.
  • 6. The method of claim 1, further comprising applying a wave propagation delay time technique.
  • 7. The method of claim 1, further comprising stopping the pumping unit.
  • 8. The method of claim 1, further comprising changing the speed of the pumping unit.
  • 9. A method for generating a pump card for a well, the method comprising: obtaining a first set of data points, wherein the first set of data points comprise a first set of polished rod position data points of the well and a first set of polished rod load data points of the well;calculating a first data point of a pump load and a pump position using the first set of data points;displaying the first set of data points, the display comprising a first surface card;displaying in real-time or near real-time the first data point of the pump position and pump load synchronized with the display of the first surface card, wherein in real-time or near real-time is ten seconds or less;deleting the oldest data point of the first set of data points to create a revised first set of data points;obtaining an additional data point, wherein the additional data point comprises an additional polished rod position data point of the well and additional polished rod load data point of the well;creating a second set of data points, wherein the second set of data points comprise the revised first set of data points and the additional data point; andcalculating an additional data point of the pump position and pump load using the second set of data points.
  • 10. The method of claim 9, further comprising: displaying the additional data point; anddisplaying in real-time or near real-time the first data point of the pump position and pump load synchronized with the display of the additional data point.
  • 11. The method of claim 9, further comprising diagnosing the condition of the well.
  • 12. The method of claim 9, where calculating comprises applying a Fourier series algorithm.
  • 13. The method of claim 9, further comprising applying a wave propagation delay time technique.
  • 14. The method of claim 9, further comprising stopping the pumping unit or changing the speed of the pumping unit.
PCT Information
Filing Document Filing Date Country Kind
PCT/US2013/070780 11/19/2013 WO
Publishing Document Publishing Date Country Kind
WO2014/078851 5/22/2014 WO A
US Referenced Citations (11)
Number Name Date Kind
3998568 Hynd Dec 1976 A
5252031 Gibbs Oct 1993 A
5314016 Dunham May 1994 A
6041856 Thrasher et al. Mar 2000 A
20030065447 Bramlett Apr 2003 A1
20070211812 Del Angel Sep 2007 A1
20090311107 Chavez Zapata Dec 2009 A1
20110184567 Sonnier Jul 2011 A1
20120025997 Liu et al. Feb 2012 A1
20130030721 Palka Jan 2013 A1
20130154845 Brooks Jun 2013 A1
Foreign Referenced Citations (11)
Number Date Country
87205901 Apr 1988 CN
101305187 Nov 2008 CN
101960087 Jan 2011 CN
102337866 Feb 2012 CN
102402184 Apr 2012 CN
2010051270 May 2010 WO
WO 2010051270 May 2010 WO
WO-2010051270 May 2010 WO
WO 2011124978 Oct 2011 WO
WO-2011124978 Oct 2011 WO
2012082081 Jun 2012 WO
Non-Patent Literature Citations (15)
Entry
Gibbs, “Predicting the Behavior of Sucker-Rod Pumping Systems” pp. 769-778.
Office Action issued in connection with corresponding EP Application No. 13811650.4 dated May 10, 2017.
First Office Action and Search issued in connection with corresponding CN Application No. 201380060375.0 dated Jun. 26, 2017.
Gibbs et al., “Computer Diagnosis of Down-Hole Conditions in Sucker Rod Pumping Wells”, Journal of Petroleum Technology, vol. No. 18, Issue No. 1, pp. 91-98, Jan. 1966.
Lukasiewicz, “Computer Model Evaluates Oil Pumping Units in Inclined Wells”, The Journal of Canadian Petroleum Technology, vol. No. 29, Issue No. 6, pp. 76-79, Nov.-Dec. 1990.
Lukasiewicz, “Dynamic Behavior of the Sucker Rod String in the Inclined well”, Proceedings of Production Operations Symposium, SPE, pp. 313-321, Apr. 1991.
Everitt et al., “An Improved Finite-Difference Calculation of Downhole Dynamometer Cards for Sucker-Rod Pumps”, SPE Production Engineering, pp. 121-127, Feb. 1992.
Gibbs, “Design and Diagnosis of Deviated Rod-Pumped Wells”, Journal of Petroleum Technology, vol. No. 44, Issue No. 7, pp. 774-781, Jul. 1992.
Xu et al., “Diagnostic Analysis of Deviated Rod-Pumped Wells”, Proceedings of Southwestern Petroleum Short Course, pp. 133-140, 2001.
Vasserman et al., “Formulation and Solution of Dynamic Problems of Elastic Rod Systems Subjected to Boundary Conditions Described by Multivalued Relations”, Journal of Applied Mechanics and Technical Physics, vol. No. 44, Issue No. 3, pp. 406-414, 2003.
Shardakov et al., “Numerical Modelling of Longitudinal Vibrations of a sucker Rod String”, Journal of Sound and Vibration, vol. No. 329, pp. 317-327, 2010.
Pons-Ehimeakhe, “Modified Everitt-Jennings Algorithm With Dual Iteration on the Damping Factors”, Proceedings of Southwestern Petroleum Short Course, Apr. 2012.
PCT Search Report and Written Opinion issued in connection with corresponding Application No. PCT/US2013/070780 dated Jul. 8, 2014.
Guoan, Y., et al “The Two Methods of Solving One-Dimensional Diagnostic Model for Sucker-Rod Pumping Wells,” Journal of Xi'an Petroleum Institute, vol. 4, Issue No. 4, pp. 9-15, (Dec. 31, 1989).
Extended European Search Report and Opinion issued in connection with corresponding EP Application No. 17202438.2 dated Apr. 6, 2018.
Related Publications (1)
Number Date Country
20150275651 A1 Oct 2015 US
Provisional Applications (1)
Number Date Country
61727894 Nov 2012 US