The field of the disclosure relates generally to rod pumping units and, more particularly, to a rod pumping unit controller and method of operation for controlling a counter-balance during operation of the rod pumping unit.
Most known rod pumping units (also known as surface pumping units) are used in wells to induce fluid flow, for example oil and water. Examples of rod pumping units include, for example, and without limitation, linear pumping units and beam pumping units. Rod pumping units convert rotating motion from a prime mover, e.g., an engine or an electric motor, into reciprocating motion above the well head. This motion is in turn used to drive a reciprocating downhole pump via connection through a sucker rod string. The sucker rod string, which can extend miles in length, transmits the reciprocating motion from the well head at the surface to a subterranean piston, or plunger, and valves in a fluid bearing zone of the well. The reciprocating motion of the piston valves induces the fluid to flow up the length of the sucker rod string to the well head.
Typically, known rod pumping units impart continually varying motion on the sucker rod string. The sucker rod string responds to the varying load conditions from the surface unit, down-hole pump, and surrounding environment by altering its own motion statically and dynamically. The sucker rod string stretches and retracts as it builds the force necessary to move the down-hole pump and fluid. The rod pumping unit, breaking away from the effects of friction and overcoming fluidic resistance and inertia, tends to generate counter-reactive interaction force to the sucker rod string exciting the dynamic modes of the sucker rod string, which causes an oscillatory response. Traveling stress waves from multiple sources interfere with each other along the sucker rod string (some constructively, others destructively) as they traverse its length and reflect load variations back to the rod pumping unit. The resulting variable load on the rod pumping unit introduces inefficiencies in operating the rod pumping unit. For example, and without limitation, a variable load may introduce a torque imbalance on the prime mover, where a difference in peak torque values during an upstroke and a downstroke is non-zero. Such a torque imbalance, also referred to as a motor torque imbalance, is conventionally mitigated by a counter-balance.
In one aspect, a controller for operating a prime mover of a rod pumping unit is provided. The controller includes a processor configured to operate the prime mover over a first stroke and a second stroke. The controller is further configured to compute a first motor torque imbalance value for the first stroke and engage adjustment of a counter-balance. The controller is further configured to estimate a second motor torque imbalance value for the second stroke. The controller is further configured to disengage adjustment of the counter-balance during the second stroke upon the second motor torque imbalance value reaching a first imbalance range.
In another aspect, a method of operating a rod pumping unit is provided. The method includes operating a prime mover of the rod pumping unit over a first stroke and a second stroke. The method further includes computing a first motor torque imbalance value for the first stroke and engaging adjustment of a counter-balance. The method further includes estimating a second motor torque imbalance value for the second stroke. The method further includes disengaging adjustment of the counter-balance during the second stroke upon the second motor torque imbalance value reaching a first imbalance range.
In yet another aspect, a rod pumping unit is provided. The rod pumping unit includes a prime mover coupled to a ram within a pressure vessel. The rod pumping unit further includes a compressor, a bleed valve, and a rod pumping unit controller. The compressor and bleed valve are coupled to the pressure vessel. The compressor is configured to increase a pressure in the pressure vessel when the compressor is engaged. The bleed valve is configured to decrease the pressure in the pressure vessel when the bleed valve is engaged. The rod pumping unit controller is coupled to the compressor and the bleed valve, and is configured to operate the prime mover over a first stroke and a second stroke. The rod pumping unit controller is further configured to compute a first motor torque imbalance value for the first stroke and engage one of the compressor and the bleed valve to adjust a counter-balance. The rod pumping unit controller is further configured to estimate a second motor torque imbalance value for the second stroke. The rod pumping unit controller is further configured to disengage the compressor and the bleed valve during the second stroke upon the second motor torque imbalance value reaching a first imbalance range.
These and other features, aspects, and advantages of the present disclosure will become better understood when the following detailed description is read with reference to the accompanying drawings in which like characters represent like parts throughout the drawings, wherein:
Unless otherwise indicated, the drawings provided herein are meant to illustrate features of embodiments of this disclosure. These features are believed to be applicable in a wide variety of systems comprising one or more embodiments of this disclosure. As such, the drawings are not meant to include all conventional features known by those of ordinary skill in the art to be required for the practice of the embodiments disclosed herein.
In the following specification and the claims, a number of terms are referenced that have the following meanings.
The singular forms “a”, “an”, and “the” include plural references unless the context clearly dictates otherwise.
“Optional” or “optionally” means that the subsequently described event or circumstance may or may not occur, and that the description includes instances where the event occurs and instances where it does not.
Approximating language, as used herein throughout the specification and claims, may be applied to modify any quantitative representation that could permissibly vary without resulting in a change in the basic function to which it is related. Accordingly, a value modified by a term or terms, such as “about”, “approximately”, and “substantially”, are not to be limited to the precise value specified. In at least some instances, the approximating language may correspond to the precision of an instrument for measuring the value. Here and throughout the specification and claims, range limitations may be combined and/or interchanged, such ranges are identified and include all the sub-ranges contained therein unless context or language indicates otherwise.
As used herein, the terms “processor” and “computer” and related terms, e.g., “processing device”, “computing device”, and “controller” are not limited to just those integrated circuits referred to in the art as a computer, but broadly refers to a microcontroller, a microcomputer, a programmable logic controller (PLC), an application specific integrated circuit, and other programmable circuits, and these terms are used interchangeably herein. In the embodiments described herein, memory may include, but is not limited to, a computer-readable medium, such as a random access memory (RAM), and a computer-readable non-volatile medium, such as flash memory. Alternatively, a floppy disk, a compact disc—read only memory (CD-ROM), a magneto-optical disk (MOD), and/or a digital versatile disc (DVD) may also be used. Also, in the embodiments described herein, additional input channels may be, but are not limited to, computer peripherals associated with an operator interface such as a mouse and a keyboard. Alternatively, other computer peripherals may also be used that may include, for example, but not be limited to, a scanner. Furthermore, in the exemplary embodiment, additional output channels may include, but not be limited to, an operator interface monitor.
Further, as used herein, the terms “software” and “firmware” are interchangeable, and include any computer program stored in memory for execution by personal computers, workstations, clients and servers.
As used herein, the term “non-transitory computer-readable media” is intended to be representative of any tangible computer-based device implemented in any method or technology for short-term and long-term storage of information, such as, computer-readable instructions, data structures, program modules and sub-modules, or other data in any device. Therefore, the methods described herein may be encoded as executable instructions embodied in a tangible, non-transitory, computer readable medium, including, without limitation, a storage device and a memory device. Such instructions, when executed by a processor, cause the processor to perform at least a portion of the methods described herein. Moreover, as used herein, the term “non-transitory computer-readable media” includes all tangible, computer-readable media, including, without limitation, non-transitory computer storage devices, including, without limitation, volatile and nonvolatile media, and removable and non-removable media such as a firmware, physical and virtual storage, CD-ROMs, DVDs, and any other digital source such as a network or the Internet, as well as yet to be developed digital means, with the sole exception being a transitory, propagating signal.
Furthermore, as used herein, the term “real-time” refers to at least one of the time of occurrence of the associated events, the time of measurement and collection of predetermined data, the time to process the data, and the time of a system response to the events and the environment. In the embodiments described herein, these activities and events occur substantially instantaneously.
Embodiments of the present disclosure relate to a controller for a rod pumping unit. The controllers described herein, within a rod pumping unit stroke, estimate torque imbalance on the prime mover for that stroke based on measured torque imbalance for a previous stroke. The controllers use the estimated torque imbalance to engage or disengage an adjustment to a counter-balance in real-time within the stroke. Real-time engagement and disengagement of adjustments to the counter-balance facilitate the controllers operating the rod pumping unit such that torque imbalance on the prime mover efficiently converges to a desired range.
Penetrating upper and lower pressure vessel heads 112 and 114, respectively, is a linear actuator assembly 116 that includes a vertically oriented threaded screw 118 (also known as a roller screw), a planetary roller nut 120 (also known as a roller screw nut assembly), a forcer ram 122 in a forcer ram tube 124, and a guide tube 126. Pressure vessel 104 is coupled to a compressor 148 that compresses a fluid within pressure vessel 104 to build or increase a pressure that acts on forcer ram 122 as a counter-balance force. Pressure vessel 104 is further coupled to a bleed valve 150 that releases the fluid from pressure vessel 104 to relieve or decrease the pressure acting on forcer ram 122, thereby reducing the counter-balance force. The fluid in pressure vessel 104 may include, for example, and without limitation, air.
Roller screw 118 is mounted to an interior surface 128 of lower pressure vessel head 114 and extends up to upper pressure vessel head 112. The shaft extension of roller screw 118 continues below lower pressure vessel head 114 to connect with a compression coupling (not shown) of a motor 130, i.e., the prime mover. Motor 130 is coupled to a variable speed drive (VSD) 131 configured such that the motor's 130 rotating speed may be adjusted continuously. VSD 131 also reverses the motor's 130 direction of rotation so that its range of torque and speed may be effectively doubled. Roller screw 118 is operated in the clockwise direction for the upstroke and the counterclockwise direction for the downstroke. Motor 130 is in communication with a rod pumping unit controller 132. In the exemplary embodiment, pumping unit controller 132 transmits commands to motor 130 and VSD 131 to control the speed, direction, and torque of roller screw 118.
Within pressure vessel 104, the threaded portion of roller screw 118 is interfaced with planetary roller screw nut assembly 120. Nut assembly 120 is fixedly attached to the lower segment of forcer ram 122 such that as roller screw 118 rotates in the clockwise direction, forcer ram 122 moves upward. Upon counterclockwise rotation of roller screw 118, forcer ram 122 moves downward. This is shown generally in
An upper ram 134 and a wireline drum assembly 136 and fixedly coupled and sealed to the upper end of forcer ram 122. Wireline drum assembly 136 includes an axle 138 that passes laterally through the top section of the upper ram 134. A wireline 140 passes over wireline drum assembly 136 resting in grooves machined into the outside diameter of wireline drum assembly 136. Wireline 140 is coupled to anchors 142 on the mounting base structure 106 at the side of pressure vessel 104 opposite of well head 102. At the well head side of pressure vessel 104, wireline 140 is coupled to a carrier bar 144 which is in turn coupled to a polished rod 146 extending from well head 102.
Rod pumping unit 100 transmits linear force and motion through planetary roller screw nut assembly 120. Motor 130 is coupled to the rotating element of planetary roller screw nut assembly 120. By rotation in either the clockwise or counterclockwise direction, motor 130 may affect translatory movement of planetary roller nut 120 (and by connection, of forcer ram 122) along the length of roller screw 118.
F
screw(x)=2·Fwell(x)+massy·g+massy·{umlaut over (x)}−Fcbal(x), Eq. (1)
where,
The well load, Fwell, varies over the course of a pump stroke due to various factors, including for example, and without limitation, well conditions and pump speed. The load variation contributes to the occurrence of force imbalance on roller screw 118 and the prime mover, which is motor 130 in rod pumping unit 100. Force imbalance on roller screw 118 manifests as torque imbalance. The relationship between motor torque, Tmotor, and Fscrew is represented by the following equation:
where,
Motor torque imbalance is defined as a difference in absolute values of peak torque values during an upstroke and a downstroke as a percentage of the maximum of the two, i.e., a greater value of the two. Rod pumping unit 100 operates most efficiently when the motor torque imbalance value is zero. In certain embodiments, a desired range of motor torque imbalance is defined around zero and, further, an acceptable range of motor torque imbalance may be defined around the desired range of motor torque imbalance. Motor torque imbalance is desirably maintained within the desired imbalance range, however, if motor torque imbalance increases in magnitude beyond the desired imbalance range, but still within the acceptable imbalance range, corrections are not necessary. If motor torque imbalance increases in magnitude beyond the acceptable imbalance range, corrections are made to bring the motor torque imbalance back within the desired imbalance range. In one embodiment, for example, and without limitation, the desired range of motor torque imbalance values is defined inclusively as −5% to 5%, and the acceptable range of motor torque imbalance values is defined inclusively as −10% to 10%. If motor torque imbalance is measured to be 7%, no corrections are made. If the motor torque imbalance is measured to be 12%, corrections are made to bring the motor torque imbalance within the −5% to 5% range. Motor torque imbalance for a single pump stroke is generally determined after the pump stroke is complete and peak torque values are measured and known. Motor torque imbalance is defined by the following equation.
where, Tpeak,up and Tpeak,down are peak motor torques for the upstroke and the downstroke.
Given a variable well load, Fwell, the motor torque imbalance also varies over time and over one or more pump strokes. For example, the fluid in the system, such as air, may leak over time, contributing to an imbalanced system. Accordingly, the counter-balance effect of the counter-balance force, Fcbal, varies and is adjustable to control motor torque imbalance. The counter-balance in a linear pumping unit, such as rod pumping unit 100, is adjustable by engaging compressor 148 or bleed valve 150 to increase or decrease the quantity of the fluid in pressure vessel 104, affecting the pressure accordingly. Conventionally, when a motor torque imbalance outside an acceptable range is identified after a pump stroke is complete, an adjustment to the counter-balance is engaged and the motor torque imbalance is determined again after the next pump stroke. If the new motor torque imbalance is still outside a desired range, the adjustment remains engaged for another pump stroke. Otherwise, the adjustment is disengaged until another motor torque imbalance outside the acceptable range is identified after a subsequent pump stroke. Controlling adjustment of the counter-balance after motor torque imbalance is computed at the end of a stroke results in sub-optimal convergence on the desired imbalance range due to over-adjusting the counter-balance.
In rod pumping unit 100, two imbalance conditions are possible: an under-balance and an over-balance. In an under-balance condition, where the motor torque imbalance is positive, the counter-balance force, Fcbal, is low and should be increased to converge the motor torque imbalance on zero. In an over-balance condition, where the motor torque imbalance is negative, the counter-balance force, Fcbal, is high and should be decreased to converge the motor torque imbalance on zero.
In alternative embodiments, such as a beam pumping unit, for example, a counter-balance mass may be shifted. In another alternative embodiment, such as an air-balanced beam pumping unit, for example, a similar configuration of pressure vessel 104, compressor 148, and bleed valve 150 is used as a counter-balance. Referring again to rod pumping unit 100, the counter-balance force, Fcbal(x), is defined by the following equation:
F
cbal(x)=P(x)·A, Eq. (4)
where,
Control system 400 further includes a bleed valve 460 coupled to pressure vessel 104. Bleed valve 460 is controlled by controller 410 using a valve control signal 462 transmitted to a valve controller 470 for bleed valve 460. When bleed valve 460 is engaged by controller 410, bleed valve 460 opens and decreases the fluid within pressure vessel 104. Control system 400 further includes a compressor 480 coupled to pressure vessel 104. Compressor 480 is controlled by controller 410 using a compressor control signal 482 transmitted to a compressor controller 490 for compressor 480. When compressor 480 is engaged by controller 410, compressor 480 increases the fluid within pressure vessel 104. When compressor 480 and bleed valve 460 are disengaged, the amount of fluid in pressure vessel 104 is maintained. In certain embodiments, the fluid within pressure vessel 104 changes over time even when compressor 480 and bleed valve 460 are disengaged. Typically, the fluid changes slowly. In such embodiments, controller 410 is configured to assume the amount of fluid remains constant from one stroke to the next when compressor 480 and bleed valve 460 are disengaged. If the fluid changes substantially within a stroke or other short period of time, such a change could induce errors in computations.
The pressure, P, within pressure vessel 104 changes as a function of stroke position, because the volume of pressure vessel 104 changes as forcer ram 122 translates on each upstroke and each downstroke. Controller 410 is configured to treat the compression of the fluid in pressure vessel 104 as a polytropic process, which is described by the following equation:
P(x)·V(x)n=C, Eq. (5)
where,
Controller 410 is configured to model volume, V(x), based on known physical dimensions of pressure vessel 104 and stroke position, x. The polytropic index, n, is generally constant. Controller 410, in certain embodiments, is configured to estimate polytropic index, n, when neither of compressor 480 and bleed valve 460 are engaged, i.e., when the amount of fluid in pressure vessel 104 is constant. When compressor 480 or bleed valve 460 are engaged, controller 410 is configured to use a last-estimated value for polytropic index, n. Polytropic index, n, is estimated using a recursive least square estimator, or any other suitable estimator, including, for example, and without limitation, a Kalman filter, with a forgetting factor based on the equation below:
log(P(x))=−n·log(V(x))+log(C), Eq. (6)
In alternative embodiments, controller 410 uses other relationships of pressure, P, and position, x. For example, and without limitation, a polynomial approximation (shown below) may be used.
P(x)=a0+a1x+a2x2 . . . Eq. (7)
where,
a0, a1, a2, etc. are estimated using the recursive least square estimator or other suitable estimator,
a0 varies with the amount of fluid, and
a1 and a2 are constant.
During operation of rod pumping unit 100, controller 410 is configured to receive position signal 432, load signal 442, and pressure signal 452. During a first stroke, controller 410 computes a first motor torque imbalance using load signal 442 and Eq. 3. The first motor torque imbalance is a function of a peak motor torque for the upstroke, TU1, and a peak motor torque for the downstroke, TD1, which are computed using Eq. 1 and Eq. 2. When the first motor torque imbalance is outside an acceptable imbalance range, adjustment of a counter-balance is engaged. In an under-balance condition, controller 410 engages compressor 480 by transmitting compressor control signal 482 to compressor controller 490. Compressor 480 increases the fluid in pressure vessel 104 and increases pressure, P. In an over-balance condition, controller 410 engages bleed valve 460 by transmitting valve control signal 462 to valve controller 470. Bleed valve 460 decreases the fluid in pressure vessel 104 and decreases pressure, P.
Controller 410 is configured to determine stroke positions at which peak motor torques, TU1 and TD1, occur during the first stroke. Peak motor torque TU1 occurs at peak motor torque stroke position XU1. Peak motor torque TD1 occurs at peak motor torque stroke position XD1. Controller 410 is further configured to determine peak pressures at positions XU1 and XD1, referred to as P(XU1) and P(XD1). Controller 410 is configured to use peak motor torque stroke positions for the first stroke as estimated peak motor torque stroke positions during the following stroke. Actual peak motor torque values and actual peak motor torque stroke positions are determinable for a given stroke once the stroke is complete.
During a second stroke, which may immediately follow the first stroke, or may be one or more strokes later, controller 410 is configured to estimate a second motor torque imbalance for the second stroke. To estimate the second motor torque imbalance, controller 410 is configured to measure a counter-balance component at a current stroke position based on pressure signal 452. In rod pumping unit 100, the measured counter-balance component is pressure, P. Controller 410 is configured to then use the counter-balance component at the current stroke position to estimate a counter-balance force at peak motor torque stroke positions in the second stroke. Based on the polytropic compression described in Eq. 5 and peak motor torque stroke positions XU1 and XD1, pressures in pressure vessel 104 are estimated at peak motor torque stroke positions XU1 and XD1 for the second stroke. The estimated pressures, P(XU1)and P(XD1), which are used as surrogate estimates for P(XU2) and P(XD2), are determined using the following equivalencies based on Eq. 5:
P(x)·V(x)n=P(XU1)·V(XU1)n Eq. (8)
P(x)·V(x)n=P(XD1)·V(XD1)n Eq. (9)
In certain embodiments, such as those using the polynomial relationship described in Eq. 7, pressures are estimated according to the following equation:
P(XD1)=(P(x)−a1x−a2x2)+a1XD1+a2XD1
The estimated pressures, P(XU1) and P(XD1), are then used to estimate peak motor torques, TU2 and TD2, for the second stroke using Eq. 1, Eq. 2, and Eq. 4, as shown below, collectively referred to as Eq. 11, where Fcbal varies between strokes and other terms are assumed to remain constant. For TU2:
Likewise, the computations, collectively referred to as Eq. 11, are repeated for TD2.
The estimated peak motor torques, TU2 and TD2, are then used to estimate a second motor torque imbalance for the second stroke using Eq. 3, in real-time during the second stroke.
When the estimated second motor torque imbalance, during the second stroke, is in a desired imbalance range, adjustment of the counter-balance is disengaged by disengaging both bleed valve 460 and compressor 480. If motor torque imbalance goes outside the acceptable imbalance range again, adjustment of the counter-balance is engaged until motor torque imbalance is back inside the desired imbalance range.
When the first motor torque imbalance indicates an imbalance outside an acceptable imbalance range, controller 410 engages adjustment of a counter-balance at an engaging adjustment step 540. Engaging adjustment includes engaging compressor 480 or bleed valve 460 to increase or decrease the fluid in pressure vessel 104, thus increasing or decreasing the pressure that contributes to the counter-balance force. Compressor 480 is engaged by transmitting compressor control signal 482 to compressor controller 490. Bleed valve 460 is engaged by transmitting valve control signal 462 to valve controller 470.
During the second stroke, stroke position and pressure are measured using position sensor 430 and pressure sensor 450. At an estimating imbalance step 550, controller 410 estimates a second motor torque imbalance for the second stroke. Controller 410 uses a current pressure and a current stroke position, during the second stroke, to estimate pressures, P(XU1) and P(XD1), based on Eq. 5. The estimated pressures, P(XU1) and P(XD1), are then used to estimate peak motor torques, TU2 and TD2, for the second stroke using Eq. 1, Eq. 2, and Eq. 4. The estimated peak motor torques, TU2 and TD2, are then used to estimate the second motor torque imbalance for the second stroke using Eq. 3, in real-time during the second stroke.
When the second motor torque imbalance, during the second stroke, is in a desired imbalance range, adjustment of the counter-balance is disengaged at a disengaging adjustment step 560 by disengaging both bleed valve 460 and compressor 480. If motor torque imbalance goes outside the acceptable imbalance range again, adjustment of the counter-balance is engaged until motor torque imbalance is back inside the desired imbalance range. Method 500 ends at an end step 570.
The above described controllers for rod pumping units, within a rod pumping unit stroke, estimate torque imbalance on the prime mover for that stroke based on measured torque imbalance for a previous stroke. The controllers use the estimated torque imbalance to engage or disengage an adjustment to a counter-balance in real-time within the stroke. Real-time engagement and disengagement of adjustments to the counter-balance facilitate the controllers operating the rod pumping unit such that torque imbalance on the prime mover efficiently converges to a desired range.
An exemplary technical effect of the methods, systems, and apparatus described herein includes at least one of: (a) estimating torque imbalance on the prime mover for a stroke within that stroke, (b) engaging and disengaging of counter-balance adjustments in real-time based on estimated torque imbalance, (c) reducing under-shoot and over-shoot of counter-balance force, (d) improving torque imbalance convergence, and (e) improving operating efficiency of rod pumping units due to improved torque imbalance convergence.
Exemplary embodiments of methods, systems, and apparatus for rod pumping unit controllers are not limited to the specific embodiments described herein, but rather, components of systems and/or steps of the methods may be utilized independently and separately from other components and/or steps described herein. For example, the methods may also be used in combination with other non-conventional rod pumping unit controllers, and are not limited to practice with only the systems and methods as described herein. Rather, the exemplary embodiment can be implemented and utilized in connection with many other applications, equipment, and systems that may benefit from reduced cost, reduced complexity, commercial availability, improved reliability at high temperatures, and increased memory capacity.
Although specific features of various embodiments of the disclosure may be shown in some drawings and not in others, this is for convenience only. In accordance with the principles of the disclosure, any feature of a drawing may be referenced and/or claimed in combination with any feature of any other drawing.
Some embodiments involve the use of one or more electronic or computing devices. Such devices typically include a processor, processing device, or controller, such as a general purpose central processing unit (CPU), a graphics processing unit (GPU), a microcontroller, a reduced instruction set computer (RISC) processor, an application specific integrated circuit (ASIC), a programmable logic circuit (PLC), a field programmable gate array (FPGA), a digital signal processing (DSP) device, and/or any other circuit or processing device capable of executing the functions described herein. The methods described herein may be encoded as executable instructions embodied in a computer readable medium, including, without limitation, a storage device and/or a memory device. Such instructions, when executed by a processing device, cause the processing device to perform at least a portion of the methods described herein. The above examples are exemplary only, and thus are not intended to limit in any way the definition and/or meaning of the term processor and processing device.
This written description uses examples to disclose the embodiments, including the best mode, and also to enable any person skilled in the art to practice the embodiments, including making and using any devices or systems and performing any incorporated methods. The patentable scope of the disclosure is defined by the claims, and may include other examples that occur to those skilled in the art. Such other examples are intended to be within the scope of the claims if they have structural elements that do not differ from the literal language of the claims, or if they include equivalent structural elements with insubstantial differences from the literal language of the claims.