(1) Field of the Invention
This invention relates to apparatus which determines the performance characteristics of a pumping well. More particularly, the invention is directed to apparatus for determining downhole conditions of a sucker rod pump in a vertical borehole or deviated borehole from data which are received, measured and manipulated at the surface of the well. The invention also concerns the analysis of pumping problems in the operation of sucker rod pump systems in such boreholes. A vertical borehole is one that is substantially vertical into the earth, but a deviated borehole is one that is non-vertical into the earth from the surface. A deviated borehole may be a horizontal borehole which extends from a vertical portion thereof.
Still more particularly, the invention concerns improved a controller for analysis of downhole pump performance of a deviated borehole over the methods described in prior methods developed for nominally vertical borehole as described in Gibbs' U.S. Pat. No. 3,343,405 of Sep. 26, 1967.
(2) Description of Prior Art
For pumping deep wells, such as oil wells, a common practice is to employ a series of interconnected rods for coupling an actuating device at the surface with a pump at the bottom of the well. This series of rods, generally referred to as the rod string or sucker rod, has the uppermost rod extending up through the well casinghead for connection with an actuating device, such as a pump jack of the walking beam type, through a coupling device generally referred to as the rod hanger. The well casinghead includes means for permitting sliding action of the uppermost rod which is generally referred to as the “polished rod.”
The strain-gauge load cell 33 is a conventional device and operates in a manner well known to those in the art. When the platform 28 is loaded, it becomes shorter and fatter due to a combination of axial and transverse strain. Since the wire of a strain-gauge 28 is bonded to the platform 28, it is also strained in a similar fashion. As a result, a current passed through the strain-gauge wire now has a larger cross section of wire in which to flow, and the wire is said to have less resistance. As the hanger bar 23 moves up and down, an electrical signal which relates strain-gauge resistance to polished rod load is transmitted from the load cell 33 to the well manager 50 via the electrical cable 34.
The displacement transducer 37 is a conventional device and operates in a manner well known to those of skill in the art of instrumentation. The displacement transducer unit 37 is a cable-and-reel driven, infinite resolution potentiometer that is equipped with a constant tension (“negator” spring driven) rewind assembly. As the hanger bar 23 moves up and down, the taut wire line 36 actuates the reel driven potentiometer and a varying voltage signal is produced. This signal, relates voltage to polished rod displacement, is also transmitted to the well manager 50. Other means for obtaining a displacement signal are well known in the art of determining performance characteristics of a pumping well.
Well manager 50 records the displacement signal as a function of time along with the rod load signal as a function of time.
In deep wells the long sucker rod has considerable stretch, distributed mass, etc., and motion at the pump end may be radically different from that imparted at the upper end. In the early years of rod pumping production, the polished rod dynamometer provided the principal means for analyzing the performance of rod pumped wells. A dynamometer is an instrument which records a curve, usually called a “card,” of polished rod load versus displacement. The shape of the curve or “card” reflects the conditions which prevail downhole in the well. Hopefully the downhole conditions can be deduced by visual inspection of the polished rod card or “surface card.” Owing to the diversity of card shapes, however, it was frequently impossible to make a diagnosis of downhole pump conditions solely on the basis of visual interpretation. In addition to being highly dependent on the skill of the dynamometer analyst, the method of visual interpretation only provides downhole data which are qualitative in nature. As a result it was frequently necessary to use complicated apparatus and procedures to directly take downhole measurements in order to accurately determine the performance characteristics at various depth levels within the well.
In 1936 W. E. Gilbert and S. B. Sargent disclosed an instrument which literally directly measured a subsurface dynamometer card. It was a mechanical device which was first run above the pump in the rod string. It allowed a small number of dynamometer cards to be collected before being recovered by pulling the rods to the surface. It scribed the pump card on a rotating tube, the angular position of which was made proportional to plunger position with respect to the tubing. Pump load was measured as proportional to the stretch of a calibrated rod within the instrument. Because the sucker rod had to be pulled to record the pump cards, the instrument was costly and cumbersome to use. But it provided valuable information relating the shape of the pump cards to various operating conditions known to exist in pumping wells such as full fillage, gas interference, fluid pound, pump malfunction, etc. The quantitative data that it provided allowed improvement of the methods for predicting pump stroke and the volumetric capability of the pump. The pump dynamometer device was a development that paved the way in the history of rod pumping technology.
With the dawn of the digital computer, S. G. Gibbs, a co-inventor of this invention, patented in 1967 (U.S. Pat. No. 3,343,409) a method for determining the downhole performance of a rod pumped well by measuring surface data, (the surface card) and computing a load versus displacement curve (a “pump card” for the sucker rod string at any selected depth in the well). As a result, the system provided a rational, economical, quantitative method for determining downhole conditions which is independent of the skill and experience of the analyst. It was no longer necessary to guess at downhole operating conditions on the basis of recordings taken several thousands of feet above the downhole pump at the polished rod at the surface, or to undertake the expensive and time consuming operation of running an instrument to the bottom of the well in order to measure such conditions. By use of the method, it became possible to directly determine the subsurface conditions from data received at the top of the well.
The 1967 U.S. Pat. No. 3,343,409 of Gibbs showed that an analysis of rod pumping performance begins with an accurate calculation of the downhole pump card. Gibbs showed that the calculation is based on a boundary—value problem comprising a partial differential equation and a set of boundary conditions.
The sucker rod is analogous mathematically to an electrical transmission or communication line, the behavior of which is described by the viscously damped wave equation:
where:
In reality, damping in a sucker rod system is a complicated mixture of many effects. The viscous damping law postulated in Equation 1 lumps all of these damping effects into an equivalent viscous damping term. The criterion of equivalence is that the equivalent force removes from the system as much energy per cycle as that removed by the real damping forces.
The wave equation, a second order partial differential equation in two independent variables (distance x and time t), models the elastic behavior of a long, slender rod such as used in rod pumping. As discussed in SPE paper 108762 titled, “Modeling a Finite Length Sucker Rod Using the Semi-Infinite Wave Equation and as Proof to Gibbs' Conjecture,” SPE 2007 Annual Technical Conference, Anaheim, Calif., 11-14, Nov. 2007, J. J. DaCunha and S. G. Gibbs. Normally the problem to be solved with the wave equation involves boundary conditions specifying position at the top, and strain at the top and bottom of the rod string,
together with two conditions specifying initial position and velocity,
along the rods. For the sucker rod problem the damping law in the wave equation was chosen primarily for mathematical tractability even though it did not rigorously mimic the real dissipation effects along the sucker rod.
The boundary value problem that led to computation of downhole pump cards is incompletely stated. The initial conditions in Equation (3) above are ignored. It is presumed that friction damps out the initial transients, and the steady state behavior of the rod string is the same regardless of how the pumping system is started. No assumptions are made about conditions at the downhole pump. After all, determination of these conditions is the object of the solution. Thus, no boundary conditions analogous to Equation (2) above are specified at the pump. Instead, two boundary conditions are enforced at the surface,
where E and A are the Young's modulus and the cross-sectional area of the rod string, respectively. Using digital methods, the time histories P(t) and L(t) are sampled at equal time increments and expressed as truncated Fourier series
P(t)=φ0+Σn=1mφn cos(nωt)+δn sin(nωt), (5)
L(t)=σ0+Σn=1mσn cos(nωt)+τn sin(n ωt). (6)
Using separation of variables, solutions to the wave equation are sought which satisfy the measured time histories of surface position and load. The resulting solutions for rod position and rod load, i.e.
respectively, are evaluated at a specific depth and at a succession of times to produce the downhole pump card. See for example the computed card in a 5175 ft well shown in
Using empirical evidence, the wave equation solution outlined above was conjectured to be valid in spite of theoretical questions surrounding the incompletely stated problem from whence it came. It could be used to determine conditions at the pump if the friction law incorporated into the wave equation was correct. The conjecture is formally stated as the Gibbs' Conjecture.
The paper (SPE 108762) mentioned above shows a non-constructive mathematical proof that downhole conditions in a finite rod string can be inferred from measurements at the top of a semi-infinite rod. The proof is developed by realizing that the laws of physics demand that information about down-hole pump conditions propagate to the surface in the form of stress waves. A key element in the proof, (and now the Gibbs' Theorem) is that the exact law of rod friction must be known. Even though the non-constructive proof does not reveal the exact law, the proof does show how the process can be used to refine the friction law to attain more accuracy in computing downhole conditions.
The term
is the fluid friction term representing the opposing force of the fluid against axial motion of the pump. In its simplest form, it prescribes a frictional force that is proportional to speed. No other rod frictional forces are presumed to exist. The g term represents rod weight. In other words the mathematical modeling of a rod pump as described by equation (1) presumes a nominally vertical well where tubing drag forces are assumed not to exist.
The qualifying word nominally is used because it is impossible to drill a perfectly vertical well. As weight is applied on the bit to achieve penetration, the drill string buckles somewhat and the borehole departs somewhat from the vertical. When a well is intended to be vertical, the oil producer includes a deviation clause in the agreement with the drilling contractor stipulating that the borehole be vertical within narrow limits. Vertical wells are easier to produce with rod pumping equipment because rod friction is less. The rod string transmits energy from the surface unit to the down hole pump which lifts fluid to the surface. Friction causes a loss in pump stroke and as a result decreases lifting capacity. Also it causes wear and tear on rods and tubing.
The practice of including deviation clauses in drilling contracts and the technology of measuring borehole path came about because of scandals in the oil industry. Unscrupulous oil producers were intentionally draining oil reserves owned by neighboring leaseholders using slanted wells.
Deviated wells are becoming more common. In these wells, the point where (in plan view) fluid from the reservoir enters the borehole can be considerably displaced laterally from the surface location. The deviation can be unintended or intentional as described above.
The reasons for intentionally deviated wells are many and varied. Most reasons follow from environmental or social considerations. Along a shoreline, wells with onshore surface locations can be deviated to drain reservoirs beneath bodies of water. Similarly oil beneath residential or metropolitan areas can be produced with deviated wells having their surface locations outside the sensitive areas. Oil and gas production requires vehicular traffic to service the wells. Deviated wells can diminish unwanted traffic in residential areas because only the surface locations need be serviced. The reach of deviated wells can be thousands of feet (in plan view) from the surface location. Multiple vertical wells require multiple surface roads to each location. A case in point could be ANWAR (Artic National Wildlife Refuge). Using deviated wells, access roads to each well would not be necessary. Twenty or more deviated wells can be clumped together in a small area so as to produce a minimal environmental impact. A single access road to the small surface location would then suffice. Twenty different access rods to each well (if drilled vertically) would not be needed. Owing to these many reasons, the number of deviated wells has (and will continue to) increase rapidly.
Measuring and controlling the borehole path has become very sophisticated. Various telemetry methods are used to transmit triplets of data (depth, azimuth and inclination) to the surface. These are the items required to produce a deviation survey.
(3) Identification of Obiects of the Invention
A primary object of this invention is to provide an improved controller which determines a down-hole pump card for a deviated well from surface measurements.
Another object of the invention is to provide a well-controller that uses a down-hole pump card for a deviated well for control of a rod pump.
Another object of the invention is to provide an improved controller which can be used for determining a down-hole pump card for a deviated well and for a vertical well from surface measurements.
The objects of the invention along with other features and advantages are incorporated in a system for monitoring a reciprocating pump system which produces hydrocarbons from a non-vertical wellbore or a vertical wellbore which extends from the surface into the earth. A data gathering system is part of the system which provides signals representative of surface operating characteristics of the pumping system and characteristics of a non-vertical wellbore, such characteristics including depth, azimuth and inclination. A processor is provided which receives the operating characteristics with the characteristics of the non-vertical wellbore and generates a surface card representative of polished rod load as a function of surface polished rod position. The processor generates a friction law function based on the characteristics of the non-vertical wellbore. The processor generates a downhole pump card as a function of the surface card and the friction law function for a wave equation which describes the linear vibrations in a long slender rod.
The processor further includes pump card analysis software which produces a control signal for control of the pump system.
The wave equation for a non-vertical well is of the form
where C(x) represents rod or tubing drag force.
The controller can also be used for a nominally vertical wellbore using equations (8)-(10) where C(x) is modified to correspond to such a vertical wellbore.
The invention is described below with reference to the accompanying drawings of which:
A deviated well like that of
where
The term C(x) represents the rod 17 on tubing 11 drag force. The rod weight term g(x) is generalized to the non-vertical case where only the component of rod weight contributes to axial force in the rods. The direction of axial forces in the rod is determined from depth, azimuth and inclination signals from the deviation survey, obtained where the borehole is drilled. In deviated wells, rod guides are used in a sacrificial fashion to absorb the wear that would otherwise be inflicted on rods and tubing. The function μ(x) allows variation of friction along the rods 17 depending upon whether rod guides or bare rods are in contact with the tubing 11. The δ operator insures that frictional forces always act opposite to rod motion. Side forces in curved portions of the rod string are modeled by the function Q(x). A strain dependent function acts also in a direction opposite the direction of motion and is represented by
Fluid friction is modeled by the term
in the same manner as in a vertical well.
The friction coefficient μ is defined as
The friction coefficient varies with lubricity and contacting materials (e.g., rod guides, base steel, etc.). It can be estimated, measured or determined by performance matching.
In equations (8), (9), (10), the friction coefficient μ is allowed to vary along the rod string according to the contacting surfaces.
The function μ(x), and the functions Q(x) and T(x) are first determined in mathematical models of a computer simulation. In straight portions of the borehole, Q(x) ≠0, and T(x)=0. In curved portions, Q(x)=0 and T(x)≠0. The simulation follows eight steps, as outlined in computational logic boxes 308, 310 of
Step 1. Start with a commercial deviation survey (e.g., from logic box 308) comprised of measured depth (ft along the borehole path), inclination from vertical (deg) and azimuth from north (deg). This survey contains a number of measurement stations. Compute 3D spatial coordinates (x,y,z) of each station using any method. A (vector) radius of curvature method is preferred. See
Step 2. Add measurement stations at taper points in the rod string and at the pump. The new stations should fall on the arc defined by the center of curvature of the station above and below the new station. Compute the same quantities described in Step 1.
Step 3. Add still more measurement stations at mid-points between pairs of measurement stations described in Steps 2. The mid-point stations should fall on the arc defined by the center of curvature of the stations above and below. Compute (unit) vectors which define the direction of the side force S, the rod weight force W and the drag force C as illustrated in
Step 4. Apply a downward acting force at the pump node (say 5000 lb) whose direction is defined by the unit tangent vector at the pump. On
U+W+D+S+C=0 (10.2)
|C|=μS (10.3)
The symbol || denotes the absolute magnitude of the vector within. The weight vector W always acts downward and has a magnitude w Δx, where w is the unit weight of rods (lb/ft) and Δx is the length of rods between the measurement stations.
Step 5. Continue the process by moving upward to the next mid-point station. The negative of the upward axial force vector U in Step 4 becomes the downward axial force vector D. Return to Step 4 until the top of the rod string is reached. Record the results determined at each mid-point station. Then proceed to Step 6.
Step 6. Return to Step 4 and repeat the process (Steps 4 and 5) except start with a larger load at the pump, say 10000 lbf. This second experiment helps determine the sensitivity of side load (hence drag) with axial load in the rods.
Step 7. Using the recorded information, construct the functions Q(x) and T(x) shown in Eq. 10.
Step 8. Using the recorded information, construct the rod weight function g(x) of Eq. 8.
The wave equation (Eg. 8, with Eg. 9 and Eg. 10) is used to design or diagnose deviated wells. When used to design, assumptions about down hole conditions are made to allow prediction of the performance of a rod pumping installation. In the diagnostic sense, the wave equation is used to infer down hole conditions using dynamometer data gathered at the surface. Large predictive or diagnostic errors result if rod friction is not modeled properly. This is illustrated by reference to
One way to determine an accurate pump card for the deviated well of
Using hypothetical data, it is possible to show how to reverse engineer a more complicated friction law for the deviated well. The example presented below applies to shallow wells in which local velocity is essentially the same at all depths along the rod string. The last sentence in the Gibbs Theorem, “Any error in the friction law will cause error in the computed pump card’, describes the procedure. The largest possible error is deliberately made in the computed pump card by setting friction to zero in a hypothetical well with a 2.50 inch pump set at 3375 ft. A C640-305-144 pump jack unit is operating the installation at 8.81 strokes per minute. Linear friction along the rod string is prescribed to be 0.158 lb per ft of rod length per ft/sec of rod velocity. Thus if the well is shallow such that rod velocity is about the same all along the rod, total velocity dependent friction at 5 ft/sec will be 2666 lb [0.158 (3375)(5)=2666]. Velocity dependent friction acts opposite to the direction of motion. In addition a Coulomb component (independent of speed but always opposite to the direction of motion) of 0.3 lb/ft of rod length is prescribed. Thus the total Coulomb drag along the entire rod string will be 1013 lbs [0.3 (3375)=1013]. When the rods are moving upward at 5 ft/sec a downward force of 3679 lb will be acting. When the rods are moving downward at 5 ft/sec an upward frictional force of 3679 lb will be applied. The friction law used to create the hypothetical data can be written
Δi=La(ti)−L0(ti), (12)
wherein the La(ti) are actual (true) pump loads created by the completely stated predictive program and the Lo(ti) are pump loads calculated with the Diagnostic Technique with zero friction. The Δi measure the error caused by using an incorrect friction law (zero friction) according to the Gibbs Theorem. Since rod friction was set to zero and velocity along the rods is essentially the same at a given time (shallow well), Δi represents the total friction along the length of the rod string.
b shows a time history of pump velocity which is taken to be representative of local velocity everywhere along the rod string.
Finally
Logic box 302 illustrates that data input from various devices are transferred to logic box 308 where data about the pump and well are stored. The deviation survey includes depth, azimuth and inclination data at each point along the well. The rod taper design information and deviation survey are used to calculate the friction coefficient as described above by reference to
The H factors are non-dimensional coefficients for nodal rod positions used in the numerical solution of the wave equation. They do not vary with time and can thus be pre-computed before the real time solution begins. This saves computer time and helps make feasible the implementation of the process on microcomputers at the well site. Begin with the wave equation for deviated wells
The H factors are obtained by replacing the partial derivatives in eq. (8) by partial difference approximations as follows:
The forward difference form of equation 10.5 is of the form,
Rod strings can be made up of various sections called tapers. A taper is defined by a rod diameter, length and material. Thus the H quantities must be pre-computed for each taper. When more complete definitions of quantities used in the H values are substituted,
Propagation velocity:
Rod-fluid friction coefficient:
the H quantities are obtained for each taper.
The H values do not involve the C(x) and g(x) terms of equation (8). These are handled separately as discussed below.
The predictive and diagnostic problems are solved with different partial difference formulas. For the predictive problem (deviated SROD) it is necessary to step forward in time. Thus eq. (8) is solved for u(x,t+Δt). This yields a different set of H values than discussed above. Conditions at the down hole pump are known from a boundary condition in the predictive problem. For the diagnostic problem (deviated DIAG), it is necessary to compute pump conditions which are unknown. As shown above, equation (8) is solved for u(x+Δ,t). From a first boundary condition, the surface rod node position (at x=0) is known for all time t. From a second boundary condition and Hooke's Law, the rod positions at the second node (x=Δx) can also be calculated for all time t. This starts the solution and node positions all of the way to be pump can be calculated. This establishes pump load and position which comprise the down hole pump card.
Another H function, H4, is not involved in the format of the wave equation solution. It too is a pre-computed value which is only involved in applying the rod-tubing drag load.
Data concerning the Surface Card from box 306, the well friction coefficient from box 310, the H-factor from box 312 and well parameter data are applied to pump card generator 314. Computer modeling is used to construct the functions Q(x) and T(x). These functions describe the Coulomb drag friction between rods and tubing. The derivative in Eq. (8) is replaced with a finite difference,
and the effect of Coulomb friction is incorporated into the partial difference solution with
u(x+Δx,t)=H1u(x,t+Δ)−H2u(x,t)+H3u(x,t−Δt)−u(x−Δs,t)+H4C(x)
The finite difference approximation to the partial derivative in (8) is computed at the previous time step. This compromise avoids a mathematical difficulty but little loss in accuracy results. Computer processing time is decreased.
Pump cards for deviated and horizontal wells are generated according to equations 8, 9, 10 with the friction coefficient determined as described above. Pump cards for vertical wells are generated also according to equations 8, 9, 10, but with a friction coefficient suitable for a vertical well used rather than the procedure described above for a deviated well.
After the pump card is determined, it is analyzed to determine many pump parameters as indicated in box 318. Pattern recognition of the pump shape indicate possible pump problems as indicated in box 320. U.S. Pat. No. 6,857,474 to Bramlett et al. (incorporated herein) illustrates various down hole card shapes representative of various pump conditions.
The well manager generates a report as to well condition as indicated by report generator box 312 and transfers the report out and, via e-mail, sms, mms, etc, or makes it available for data query transmission scheme through wired or wireless transmission. See box 319. It also generates a control signal/command 65 to be applied or sent (wired or wireless) to the Electrical Panel 322 to switch ON/OFF the power that is applied to the pump 200 for its control depending on the analysis of the pump card.
The control can be a pump off signal/command 65 applied or sent (wired or wireless) to the electrical panel 322 of the pump 200 or a variable speed signal/command applied or send (wired or wireless) to a variable frequency drive 324 for example.