Académique Documents
Professionnel Documents
Culture Documents
SPE 14288
This paper was prepared for presentation at the 60th Annual Technical Conference and Exhibition of the Society of Petroleum Engineers held in Las
Vegas, NV September 22-25, 1985.
This paper was selected for presentation by an SPE Program Committee following review of information contained in an abstract submitted by the
author(s). Contents of the paper, as presented, have not been reviewed by the Society 01 Petroleum Engineers and are subject to correction by the
author(s). The material, as presented, does not necessarily rellect any position of the Society of Petroleum Engineers, its officers, or members. Papers
presented at SPE meetings are subject to publication review by Editorial Committees of the Society of Petroleum Engineers. Permission to copy is
restricted to an abstract of not more than 300 words. Illustrations may not be copied. The abstract should contain conspicuous acknowledgment of where
and by whom the paper is presented. Write Publications Manager, SPE, P.O. Box 833836, Richardson, TX 75083·3836. Telex, 730989 SPEDAL.
The meter fitting is equipped with static pr e ssure, In order to minimize the number of wires required
differential pressure and temperature transmitters in the cable leading downhole, the microcomputer
to provide the data necessary for the microproces- makes use of input/output subassemblies that commu-
sor to calculate flow rates. A static pressure nicate with it in a serial format. These subassem-
transmitter is also provided downstream of the con- blies are referred to as Micro RTUs because they
trol valve to allow measurement of injection pres- provide much the same capabilities as conventional
sure. All of the transmitters are "low power" RTUs but are small. As would be expected their
devices in that they operate on nominal 12 volts DC functions are somewhat limited. In the carbon
and provide a voltage output (0.8 - 4 . 0 v) propor- dioxide injection measurement and control system
tional to the measured parameter . Voltage output the Micro RTUs are located in a control box on the
devices can be utilized in this application because injection skid itself . This portion of the system
the telemetry equipment that reads the signals is provides the status and analog inputs and control
located within five to ten feet of the transmit- outputs to and from the microcomputer that are
ters . In this application, voltage output end necessary to monitor and control the end devices on
devices have two advantages over the more common the injection skid . The micro RTU package requires
current output devices. The first of these is a 35 milliamperes at 12 volts DC.
lower current consumption (1 - 2 milliamperes ver-
sus 4 - 20 milliamperes). The second advantage is Power for the carbon dioxide measurement and con-
that the voltage output devices will operate from a trol system is provided by a solar panel which is
simple 12 volt supply, which for typical solar pow- capable of delivering 20 watts of power in bright
ered installations eliminates the need for 12 volt sunlight. In order to provide power at night and
to 24 volt conversion equipment. The net effect of on very cloudy days, a 12 volt 25 ampere-hour bat-
using "low power" transmitters for the carbon diox- tery is provided along with a voltage regulator to
ide measurement and control systems is that power control charging of the battery. The battery is
consumption is reduced by as much as 3.7 watts . also located underground to provide a constant
temperature and a long battery life. Ground rods
A slotted-port ball valve with an electric actuator are provided at both the injection measurement and
was selected for the control element of the carbon control skid and at the base of the microcomputer
dioxide injection measurement and control system. housing in order to provide adequate protection for
The slotted-ball provides a more linear flow con- the wellsite electronics equipment. These grounds
trol characteristic. Figure 2 provides a compari- provide a current path for the transient suppres-
son of the flow characteristics of the slotted-port sion devices that are used at all the field wiring
ball valve and the more common reduced-port ball connections to protect the electronic assemblies.
valve. The ball valve, when equipped with appro- Experience indicates that total isolation from com-
priate seals, requires relatively low operating mercial power and adequate grounding will almost
torques . A simple 12 volt DC actuator is used to totally eliminate failures of the microprocessor
position the valve. Adjustments to valve position RTU due to lightning and static electricity.
are accomplished by applying short duration pulses
of the appropriate polarity. Using a simple actua-
tor in this manner further reduces power require- SOFTWARE
ments since power is consumed only when the valve
is actually being moved. The software that drives the microprocessor based
RTU is divided into logical parts: 1) the operating
The wellsite electronics package utilized inte- system and 2) the application programs. The oper-
grates both the control and data transmission ating system software is stored in Erasable Pro-
facilities in one system. This is accomplished grammable Read Only Memories (EPROMS) that are
using a microcomputer which has data gathering and located inside the tightly sealed microcomputer
control capabilities along with a built-in radio canister along with a sufficient amount of read/
for communications with a host automation computer . write memory (RAM) to hold the application pro-
Because the microcomputer uses only CMOS compo- grams. The application programs are stored in
nents, current requirements are only 100 milliam- EPROMS that are located in sockets on the personal-
peres at 12 volts DC. The physical configuration ity module·. When the microcomputer is powered-up
of the microprocessor RTU is depicted in Figure 3. or reset the contents of the personality module
The microcomputer and radio is packaged in such a EPROMS is copied to the microcomputer's read/write
way as to allow it to be installed four to six feet memory where it normally executes.
SPE 14288 J.T. WHITE & R.L. BENOIT 3
The operating system used in the carbon dioxide orifice, control pressure, and maintenance switch
control system is a scaled down version of the status. Scaling of the analog values read from the
operating system used on the larger automation host transmitters into engineering units (using calibra-
computers. The operating system (RTUaS) provides tion data for the appropriate end device) is also
the facilities commonly required by application provided by the data gathering applications.
programs (input, output, host communication, Nicro
RTU communication, and math utilities). RTuas also Gas Calculation
provides for multiple applications programs to be
active at one time (multi-tasking) and the capabil- The gas calculation application uses the engineer-
ity of scheduling programs to begin execution at ing scaled values of static pressure, differential
either predetermined intervals or at predetermined pressure and temperature to calculate an instanta-
times of day. The multi-tasking attribute of RTUaS neous carbon dioxide flow rate and runs immediately
allows application programmers to . obtain very high after the data gathering application. The flow
levels of performance from the microcomputer. The calculations utilize a mass form of the gas flow
use of an operating system greatly simplifies the . equation rather than the more common gas factor
task of developing application programs and conse- method used for hydrocarbon gases. 1 This method
quently speeds up development. of calculating mass flow rates requires gas den-
sity, viscosity, and the ratio of specific heats.
The application programs for the carbon dioxide The application programs calculate density using
injection control system can be divided into seven polynomial equations to predict density at the mea-
major functions: (1) Data Base Utilities, (2) Data sured pressure along adjacent isotherms (5 degree F
Gathering, (3) Gas Calculation, (4) Data Statis- spacing) and linear interpolation to predict the
tics, (5) Control, (6) Data Transmission, and (7) density at the measured temperature. 2 A similar
Man/Nachine Interface. Each of these functions method is used to predict the gas viscosity and
will be discussed in greater detail. ratio of specific heats. Coefficients for the
polynomial equations were determined by fitting
Data Base Utilities polynomial curves to available physical data for
carbon dioxide. Once the mass flow rate is deter-
The data base utilities provide a means of access- mined it is divided by the density of carbon diox-
ing information in a logical rather than a physical ide at the desired standard conditions to determine
manner and are used by all the application pro- volumetric flow rate. The volumetric flow rate is
grams. For example they allow application programs saved for use by other applications, multiplied by
to access pressure control limits for the first the elapsed time since the last calculation, and
control point rather than a specific memory loca- added to the accumulated volume of carbon dioxide
tion. The data base utilities provide a structure, injected.
known as a file, containing one or more records
which hold all the pertinent information (or refer- Data Statistics
ences to the pertinent information in other files)
about a particular logical entity. As an example, The data statistics application runs immediately
all of the information necessary for the system to after gas calculation and was provided as a means
convert an analog value from a raw binary reading of evaluating system performance and providing
into a engineering scaled value is stored in the averaged values for the control application. It
Transducer Calibration File. Other files define maintains the maximum value, minimum value and
lists of Micro RTUs that are to be interrogated, average value for specified parameters for a speci-
where each particular piece of information is in fied period of time. For the carbon dioxide injec-
the return message, a pointer to the entry in the tion control systems statistical data is maintained
Transducer Calibration File that is to be used for for the orifice static pressure, orifice differen-
data conversion, and a pointer into the Value File tial pressure, orifice temperature, carbon dioxide
where the converted value is to be stored. flow rate, and injection pressure on a daily basis.
Flow rate and injection pressure data are also
The real benefits of using a data base in an appli- maintained on a thirty second basis for the control
cation such as the carbon dioxide measurement and routines.
control system are the ease with which programmers
can access data and increased system flexibility. Control
When programmers can access data in logical terms,
their job is made easier and application programs The control program runs upon completion of the
can be written more quickly. In addition, it is data statistics application. High and low pressure
relatively easy to write programs in such a way as limits and high and low flow rate limits either
to perform the same operation for all the records entered by operators in the field or transmitted
in a file. This results in systems that can easily from the host automation computer define a control
be adapted to handle additional input or control window for the injection well. This is graphically
points. Systems written in this way tend to be depicted in Figure 4. As an example of the opera-
very flexible and therefore adaptable to new situa- tion of this scheme suppose the high pressure limit
tions. is set to 1300 psi, the low pressure limit to 1280
psi, the high flow rate limit to 1.5 MMCFD and the
Data Gathering low flow rate limit to 0 MMCFD. In this case the
microcomputer will attempt to close the valve if
The data gathering applications exp.cute every six the pressure is above 1300 psi or the flow rate is
seconds. These applications obtain the necessary above 1.5 MMCFD. The microcomputer will attempt to
status and analog data from the Micro RTU(s) for open the valve if the pressure is below 1280 psi as
the other applications. This includes static pres- long as the flow rate is below 1.5 MMCFD. When the
sure, differential pressure and temperature at the control application determines that the well is
4 A CARBON DIOXIDE INJECTION MEASUREMENT AND CONTROL SYSTEM SPE 14288
operating outside the control window a single open injection rate and pressure.
or close pulse is sent to the v-alve actuator by way
of a control Micro RTU in the electronics package Data Transmission
on the metering and control skid.
The data transmission application runs immediately
Several unique control situations are handled by after the data statistics application and copies
the control application. The first of these inhib- data from the operational data base to buffers for
its control pulses if the control disabled flag is transmission to the automation host computer. This
set. This flag is set (or reset) based upon the preloading of the buffers allows the microcomputer
position of the maintenance switch on the control to respond immediately to a data enquiry from the
skid or special commands sent to the microcomputer host computer.
by the host automation computer. The maintenance
switch (in combination with a manual open/close Man/~lachine Interface
switch) allows field personnel to disable control
and manually position the control valve without The man/machine interface applications run as a
affecting flow calculations. A second special result of an operator command. These applications
situation arises when over or under range condi- allow field personnel to query and update control
tions are detected on the orifice differential parameters, query current flow rate and pressure,
pressure or the injection pressure transmitters. query and update orifice data (plate size and line
If either the orifice differential pressure or the size), query and update transmitter calibration
injection pressure is found to be over range a data and display the data statistics report. These
close pulse is issued. If the injection pressure applications utilize a keyboard/terminal device
is found to be under range control is disabled and that is portable and can be plugged into the termi-
the valve closed. nation board in the microcomputer's top housing.
CONCLUSIONS
REFERENCES
I
I
I
I
I
Battery""\ I
V )
Micro- 1------.....
I
computer r-------/
H2 0
Control
at Station
100
80
> 60 Slotted -
(J
)( Port Ball
lIS
:IE
?P. 40
Standard
Ball
20
O-+-.....:~--r----r-----r---,.---....,
o 20 40 60 80 100
% Valve Travel
Personality
Module
Termination Board
_Top Housing
Coax Cable
Ribbon Cable
Ground Rod.---"
Microcomputer
Power Cables
Flow
Rate
High
Rate
Limit
Low
Rate
Limit
~ Open Pulse
c=J No Pulse
Fig. 4-C0 2 injection control scheme.