Manual Low Range Phase Dynamics
Manual Low Range Phase Dynamics
AND
INSTRUCTION
MANUAL
IMPORTANT NOTE
WARRANTY
This Phase Dynamics product is warranted against defects in material and workmanship
for a period of one year from date of shipment. During the warranty period, Phase
Dynamics will, at it's option, either repair or replace products which are defective.
For warranty service or repair, this product must be returned to Phase Dynamics. Buyer
shall prepay shipping charges to Phase Dynamics and Phase Dynamics shall pay
shipping charges to return the product to the Buyer. However, Buyer shall pay ALL
shipping charges, duties, and taxes for products returned to (or from) Phase Dynamics
from (or to) a country other than the United States of America.
Phase Dynamics warrants that its software and firmware designated by Phase Dynamics
for use with an instrument will execute its programming instructions when properly
installed on that instrument. Phase Dynamics does not warrant that the operation of the
instrument, or software, or firmware will be uninterrupted or error free.
LIMITATION OF WARRANTY
The foregoing warranty shall not apply to defects resulting from improper or inadequate
maintenance by Buyer, Buyer-supplied software or interfacing, unauthorized modification
or misuse, operation outside of the environmental specifications for the product, or
improper site preparation or maintenance.
EXCLUSIVE REMEDIES
The remedies provided herein are Buyer's sole and exclusive remedies. Phase
Dynamics shall not be liable for any direct, indirect, special, incidental, or consequential
damages, whether based on contract, tort, or any other legal theory.
This document is Revision I per Phase Dynamics Engineering Change Order Number
163.
ii
Water in Hydrocarbon Analyzer
PREFACE
SAFETY INFORMATION
SAFETY LABELS
WARNING
Denotes a hazard. It calls attention to a procedure, practice, or the like,
which, if not correctly performed or adhered to, could result in personal
injury. Do not proceed beyond a WARNING sign until the indicated
conditions are fully understood and met.
CAUTION
Denotes a hazard. It calls attention to an operating procedure, practice, or
the like, which, if not correctly performed or adhered to, could result in
damage to or destruction of part or all of the product. Do not proceed
beyond a CAUTION sign until the indicated conditions are fully understood
and met.
This product is provided with a protective earth terminal, located on the power input
board which is located under the front panel on the left side of the chassis.
Verify that the line voltage is appropriate for the analyzer and the correct fuse is installed.
Refer to Installation section.
ELECTROSTATIC DISCHARGE
All of the printed circuit board assemblies of this system are susceptible to damage or
failure from electrostatic discharge (ESD).
iii
PHASE DYNAMICS, INC.
CAUTION
Protect circuit boards from ESD at all times.
WARNING
An uninterruptible safety earth ground must be provided from the main
power source to the product input wiring terminals. Using Neutral as Earth
Ground may cause a potential shock hazard that could result in personal
injury.
Any interruption of the protective grounding conductor (inside or outside the instrument)
or disconnecting the protective earth terminal will cause a potential shock hazard that
could result in personal injury.
Whenever it is likely that the protection has been impaired, the instrument must be made
inoperative and be secured against any unintended operation.
Instructions for adjustments while covers are removed and for servicing are for use by
service-trained personnel only. To avoid dangerous electrical shock, do not perform
such adjustments or servicing unless qualified to do so.
For continued protection against fire, replace the line fuse only with a fuse of the same
current rating and type (for example, normal blow or time delay). Do not use repaired
fuses or short-circuited fuse holder.
iv
Water in Hydrocarbon Analyzer
CONTENTS
1. SPECIFICATIONS .................................................................................................2
v
PHASE DYNAMICS, INC.
6. CALIBRATION PROCEDURE............................................................................. 38
6.1 FACTORY CALIBRATION .................................................................................. 38
6.2 FIELD CALIBRATION ....................................................................................... 38
7. COMPREHENSIVE LIST OF ERROR MESSAGES............................................ 41
vi
Water in Hydrocarbon Analyzer
vii
PHASE DYNAMICS, INC.
LIST OF FIGURES
Figure B.1(a) 120 VAC Heater Assembly Terminal Block Showing User
Supplied Wiring........................................................................... 61
Figure B.2(a) 240 VAC Heater Assembly Terminal Block Showing User
Supplied Wiring........................................................................... 62
viii
Water in Hydrocarbon Analyzer
LIST OF TABLES
ix
PHASE DYNAMICS, INC.
x
Water in Hydrocarbon Analyzer
INSTALLATION AND
INSTRUCTION
MANUAL
1
PHASE DYNAMICS, INC.
1. SPECIFICATIONS
SYSTEM
Accuracy + / - 1% of scale
Flowing Fluid Temperature 40° to 160°F; optional 220°F - high temperature unit.
ELECTRONICS UNIT
MEASUREMENT SECTION
2
Water in Hydrocarbon Analyzer
FEATURES
• Two relay outputs; one for system errors, one for alarm contact set point
• Analog output (0-20 or 4-20 mA field selectable); 12-bit accuracy (4092 steps)
OPTIONS
• Process connections include: Threaded; ANSI 150, 300, or 600 flanges; others
upon request
3
PHASE DYNAMICS, INC.
2. SYSTEM OVERVIEW
2.1 Description
4
Water in Hydrocarbon Analyzer
The system cable provides the "link" over which the electronics unit provides the
necessary voltages to the oscillator module. The oscillator also sends the appropriate
signals of frequency, temperature, and reflected power to the computer for calculation
of water content.
5
PHASE DYNAMICS, INC.
Under normal conditions, the analyzer's operating sequence may be described by the
following chain of events.
The fluids flowing through the pipe section act on the un-buffered microwave oscillator
to force a change in its natural frequency of oscillation.
The temperature sensor is inserted directly into the liquid stream through the pipe wall
of the saddle nearer the microwave oscillator. The sensor's wires, enclosed in
stainless steel tubing, transmit this signal to the oscillator module and then on to the
electronics unit.
The frequency, temperature, and reflected power signals are transmitted via the
system cable from the oscillator module to the electronics unit. These signals are
routed to the microprocessor where a temperature-compensated water content is
calculated from the factory-derived coefficients.
While the continuous measurement of water content is going on, the electronics unit
periodically executes self-diagnostic checks to determine if any functional aspect of
the system is in error. Occasionally, the LCD will show the various tests being
checked and passed (Checking EPROM, Checking SRAM, Checking INTRAM, etc.).,
These self-diagnostics tests are completed "in the background" and in no way affect
the fundamental measurement or calculation of water content.
6
Water in Hydrocarbon Analyzer
The four switches labeled "MENU", "SELECT", "VALUE", and "ENTER" allow the
operator to access a variety of parameters and coefficients. The value for these
parameters may be changed and entered into the operating memory of the system to
provide proper outputs and accurate water content measurements.
The measurement section is a small solid rod mounted inside a larger diameter pipe,
as shown in Figure 2.3(a). One end of the rod is connected to an un-buffered
oscillator and the other end connects to the center of a welded "shorting" plug.
Electrically this pipe and rod combination is a coaxial transmission line, terminating
into a short circuit. The fluids flow through the measurement section via the
connections that mount perpendicular to the run section, one at each end. The
microwave signal travels the length of the pipe twice; down the pipe from the
oscillator, then totally reflects at the shorting plug and traverses back to the oscillator
module.
7
PHASE DYNAMICS, INC.
Primarily the dielectric constant of the emulsion in the pipe section determines the un-
buffered oscillator's frequency. There is a large difference in the relative dielectric
constant of oil (2.2) and water (68). This large dielectric difference results in the
design of an instrument of manageable size and a reasonable oscillator frequency.
The dielectric constant of the fluid is proportional to the water-to-oil ratio in the
measurement section. As the complex load impedance changes, due to a change in
the percentage of water in the oil, the frequency of the oscillator changes. The
frequency and the fluid temperature are continuously measured. These values are
used to calculate the water content.
8
Water in Hydrocarbon Analyzer
In summary, the permitivity of the oil-water emulsion in the pipe section provides a
complex impedance, or load. The load acts directly upon the un-buffered oscillator to
force a predictable, repeatable, and precise change in frequency. This frequency is
proportional to the water content of the emulsion. The microprocessor uses the
measured frequency to calculate and update the water content each second.
9
PHASE DYNAMICS, INC.
3. INSTALLATION
The ambient operating temperature of the electronics unit is specified as 32° to 130°F.
For proper operation, the electronics should not be cooled below 32°F. The
electronics enclosure should be mounted to avoid exposure to prevailing winds in
freezing climates. An optional heater circuit is available for continuous cold weather
operation. Conversely, the enclosure should be mounted in a shaded area to avoid
direct sunlight for geographic regions where ambient temperatures are above 100°F.
Both the explosion-proof and fiberglass enclosures are rated as watertight.
The measurement section is rated for AMBIENT temperatures from -10° to 130°F
(maximum FLUID temperature 160°F). The oscillator module contains a miniature
heater circuit to maintain the critical circuit at 160°F. The junction box protecting the
oscillator module is provided with an O-ring for the screw-on cap and forms a
watertight seal.
The preferred orientation of the measurement section is horizontal with the fluid
connections in a plane parallel to the ground. Fluid flow comes into the connection
closest to the oscillator and exits the other port. For best results, liquid flow in the
measurement section should be turbulent to keep the oil/water mixed and to "flush"
any gas or water accumulation in the pipe section. (A static mixer may be necessary
for very low flow rates; it is not necessary for high flow rates.)
If free gas is present in the liquid stream, the output should be mounted higher than
the input to allow the gas to escape the pipe section. Gas tends to decrease the
calculated water content.
10
Water in Hydrocarbon Analyzer
For slip-stream applications, verify that the fluids flowing through the measurement
section precisely represent the fluids of the main stream. For best results in
slip-stream plumbing, the input line-pipe should be the same diameter, or smaller, as
that of the measurement section.
While the above guidelines are the preferred orientation, field experience has verified
the accurate measurement of water content for a variety of mounting schemes,
including vertical, either end up, horizontal, flanges up or down, and the
measurement section "on its side". The most important points to keep in mind are:
CAUTION
The electronics unit is mounted relatively close to the measurement pipe
section. A system cable of 20 feet is supplied to connect the two. Longer
system cables (up to 100 feet) are available from Phase Dynamics, if
required. Phase Dynamics recommends the use of one single cable; DO
NOT splice cables together!
The viewing angle of the LCD, located on the front control panel, is adjustable from
perpendicular to 30 degrees above perpendicular. As such, the enclosure should be
mounted about five feet above the ground. Ease of viewing, convenience of wiring,
and simplicity of operation are the only restrictions in orientation of the electronics
enclosure.
Detailed installation drawings are included with each system to assist in preparation of
mounting and installation. Refer to the appropriate drawings for installation of your
particular system.
Mount the electronics unit and the measurement pipe section according to the
appropriate installation drawing.
11
PHASE DYNAMICS, INC.
WARNING
The Phase Dynamics system does not include an internal on/off switch for
the input power. During the routine installation and field calibration it may
be convenient to turn off power to the unit occasionally. It is
recommended that a user-supplied on/off switch be installed prior to entry
into the electronics enclosure.
Wire the main power to the connector on the Power input board on the left side of the
chassis under the front control panel, as shown in Figure 3.4(a). The wire size may
be from 18 GA to 14 GA. For 120 VAC systems, typical power consumption is 25
watts (fused at 3/4 Ampere); maximum 60 watts at turn-on.
WARNING
An uninterruptible safety earth ground MUST BE provided from the main
power source to the Power input board terminal marked EARTH GROUND.
Failure to provide EARTH GROUND may cause a shock hazard that could
result in personal injury. Also, the instrument may be damaged and will
not operate properly - the warranty is voided.
12
Water in Hydrocarbon Analyzer
Connect the electronics unit to the oscillator module with the system cable, as shown
in Figure 3.4(b). A factory-installed circular connector is soldered to one end of the
cable while the other end requires stripping the individual wires. This circular
connector fits through the threaded hole of the enclosure protecting the oscillator
module and then is connected to the mating circular connector at the rear of the
oscillator module.
13
PHASE DYNAMICS, INC.
14
Water in Hydrocarbon Analyzer
Install conduit between the measurement section and the electronics unit. The use of
a conduit union near the measurement section is recommended to allow future
measurement section removal without cutting the system cable. Pull the system cable
through the conduit from the measurement section end to the electronics unit end.
Cut the excess cable length and strip the individual wires. Connect the wires to the
terminal block of the electronics unit according to Table 3.4(2). The terminal block is
located under the front panel at the lower edge of the motherboard, as shown in
Figure 3.4(c).
15
PHASE DYNAMICS, INC.
16
Water in Hydrocarbon Analyzer
White/Blue
White/Violet
White/Grey
Drain from White/Violet & White/Grey twisted pair
The wiring connections for feature and options are summarized in Table 3.5(1).
17
PHASE DYNAMICS, INC.
The analog output is a current proportional to water content. The output is SELF-
POWERED and ISOLATED from any system ground. The current range and the
end-point water content values are user-definable.
The terminal connections are located on the motherboard and are marked ANALOG
OUTPUT, + and -.
Connect the remote loop receiver's (supplied by user) positive terminal to the
transmitter's positive and negative to negative. When using a shielded cable, connect
the shield to the negative terminal at the transmitter end and leave it open at the
receiver end.
The maximum allowable loop resistance for the current loop output, 4-20 or 0-20 mA,
is 600 Ohms.
This relay provides contact closure (rated 1 Ampere, 120 VAC) when the system's
water content exceeds a user-defined limit for a user-defined period of time (Time
Delay).
The terminal connections are located on the motherboard and are marked TRIP
OUTPUT, 120V/1A AC.
18
Water in Hydrocarbon Analyzer
This relay provides contact closure (rated 1 Ampere, 120 VAC) when any system error
is detected by the electronics unit. An audio or visual alarm may be connected to this
relay to warn the user of a system error. The specific ERROR message will be
displayed on the LCD of the front control panel. Specific errors detected include Error
Messages 3, 4, 7, 8, 9, 10, 14, 15, 16, and 17, as defined by the Comprehensive List
of Error Messages.
The terminal connections are located on the motherboard and are marked ERROR
OUTPUT, 120V/1A AC.
The terminal connections are located on the motherboard and are marked Comm 1
RS-422/RS-485.
The current input may be used as a flowmeter input to provide a current proportional
to the flow rate. The input is NOT SELF-POWERED and it is NOT ISOLATED from
system ground.
When used as a flowmeter input, the net oil feature combines the measured water
content and the output of a user-supplied flowmeter to provide total fluid, net oil, or
produced water values. The input is a current proportional to rate with field-selectable
ranges of 0-20 or 4-20 mA and field-selectable maximum flow rate values. Zero or 4
mA always represents zero flow rate.
The terminal connections for current input are located on the motherboard and are
marked CURRENT INPUT, + and -.
19
PHASE DYNAMICS, INC.
The pulse input is used as a flowmeter input to provide a pulse per unit of volume
fluid. The net oil feature combines the measured water content and the output of a
user-supplied flowmeter to provide total fluid, net oil, or produced water values. The
input is a frequency proportional to rate with field-selectable values.
The terminal connections for pulse input are located on the motherboard and are
marked PULSE INPUT, + and -.
20
Water in Hydrocarbon Analyzer
Four modes of operation are available with this Phase Dynamics analyzer; Normal,
Supervisor, Technician, and User-defined Mode. Each mode provides certain
features and parameters to the user for change or modification. The two position DIP
switch located at the edge of the microprocessor board determines the particular
mode in which the system is currently operating. The location of the DIP switch is as
shown in Figure 4(a). The two white switches are clearly marked on the body of the
switch, "1" and "2".
21
PHASE DYNAMICS, INC.
Table 4(1) below defines the position of the two switches for the four available modes
of operation:
The Phase Dynamics load-pull system may be operated safely and properly for any
length of time in any of the four modes. The particular mode of operation is chosen by
the user and is typically determined by the specific conditions for a given installation.
The four user interface switches are labeled "MENU", "SELECT", "VALUE", and
"ENTER". These control keys allow the user to interact with the electronics unit to
complete a variety of tasks including scaling of outputs, adjusting calibration factors,
and modifying factory coefficients.
The MENU key scrolls through the list of MENU items. Each time MENU is pressed a
new item is displayed until all items have been shown and the normal display returns.
To return to the top of the MENU list, simply press and hold MENU for approximately
two seconds.
The SELECT and VALUE keys change the value of the selected menu item. Pressing
SELECT moves a blinking cursor to the digit of the parameter to be changed. The
VALUE key increments the digit's value by one each time VALUE is pushed. Once
the digit's value is nine, the next time VALUE is pushed, the digit's value becomes
zero and increments to nine again.
The ENTER key stores a changed value for the selected menu item. Once ENTER
has been pushed, the new value is stored and THE OLD VALUE IS LOST.
NOTE: The ENTER button must be pushed to store a new parameter's value,
otherwise the desired new value is ignored and the last valid value is retained.
Each time the ENTER button is pushed, the new value is stored and the next menu
item is displayed.
22
Water in Hydrocarbon Analyzer
Pressing two or more of the switches simultaneously or pressing any key out of
sequence, will result in a "Switch Error" message on the LCD. All switches must be
released to allow the system to recover to normal operation; no changes were
entered.
After installation, verify that switch 1 and 2 are to the right to access the Normal Mode.
Apply power and observe the LCD. The following series of tests is executed at power
on and any errors will be reported;
1) POWER,
2) EPROM,
3) EEPROM,
4) INTRAM,
5) SRAM, and
6) Analog Input Calibration.
Note any ERROR message and refer to the comprehensive list of ERROR messages
found in Section 7.
Once the self tests are completed, the display will show the calculated water content
and measured temperature, as shown in Figure 4.2(a). Throughout the Normal Mode
of operation, the self-diagnostic testing will continue and messages sent to the LCD.
This testing is completed "in the background" and in no way interferes with or
interrupts the basic measurement of water content. If a system error is detected the
appropriate ERROR message will be displayed; hardware related system errors cause
the error relay's contacts to close.
Figure 4.2(a) shows the Normal Mode display for the as-delivered factory default
condition with Flow Input Disabled (no fluid volumes shown). The Normal Mode
display for Flow Input Enabled will look slightly different, as shown in Figure 4.2(b).
23
PHASE DYNAMICS, INC.
For this condition, the selected fluid totals are displayed, in addition to the water
content and measured temperature.
Both the background lighting and viewing angle of the LCD are adjustable. Two
potentiometers, located on the back of the LCD circuit board [see Figure 4.3(a)] are
used for adjustment.
R1 adjusts for background lighting. It should be set as low as possible while allowing
easy reading in reduced light.
24
Water in Hydrocarbon Analyzer
25
PHASE DYNAMICS, INC.
5. MODES OF OPERATION
The Normal Mode contains a list of the most common and useful MENU items for
proper operation of the system. This is the mode the instrument is in when delivered
from the factory.
The Supervisor Mode provides one function; the MENU items to appear in the
User-defined Mode are selected by the user.
The User-defined Mode is a mode containing a subset of Normal Mode MENU items
which have been identified by the system supervisor. This may be helpful if the user
would like the ability to change or modify a specific set of coefficients or values without
having to step through the entire list of MENU items of the Normal Mode. For
example, the User-defined Mode may contain only the Cal Factor value and the Alarm
Contact Set Point. The user-defined MENU items for this mode are defined while in
the Supervisor Mode.
The Technician Mode is a universal mode; the values of all parameters and
coefficients may be displayed, one item at a time. The values for all field-selectable
parameters may be changed while in the Technician Mode. The Technician Mode
also includes the capability to reset all coefficients to their factory default values.
The Normal Mode is accessed when both switches 1 and 2 of the dual DIP switch,
located at the edge of the microprocessor board, are moved to the right.
26
Water in Hydrocarbon Analyzer
CAUTION
Steps should be taken to eliminate any static charges on your hands or
tools so as not to damage any surrounding electrical components when
changing the switch positions. Also, since both switches are fairly close to
each other, care should be taken to open or close only the necessary
switch.
For each MENU item that is field selectable, the LCD will display the UPPER and
LOWER limits which are allowed for that item. If a user-selected value which is out of
range is "ENTER"-ed, the display will prompt "Value Out of Range" and will return the
item's value to the last valid value.
To advance to the next MENU item without changing its value simply press MENU.
To return to the Normal Mode Display (and the top of the list of MENU items), simply
press and hold MENU for approximately two seconds.
Following are the MENU items in the order which they are accessed in the Normal
Mode. Included is a brief description of the item and the factory-supplied default value
(shown in [ ]).
27
PHASE DYNAMICS, INC.
Alarm Point [4.00%]; Alarm set point; Water content values greater than (or less
than) this value cause the alarm relay contacts to close.
However, the water content value must have been greater
than (or less than) the set point for a period of time
determined by Time Delay.
Once the Set Point has been entered, the system will ask
"Greater than" or "Less than" the Set Point value. SELECT
toggles between the two conditions, ENTER stores the
chosen direction. Thus, the alarm condition will occur for a
measured water content value above or below a given
value, as determined by the user.
Time Delay [0 sec]; The amount of time that the water content value must be
above (or below) the Alarm Set Point before closing (or
opening) the alarm relay contacts (sometimes referred to
as "dead band").
Zero Counters; Requires flowmeter input. Press ENTER to reset all fluid
volumes to zero. If Flow Input is Disabled, this MENU item
will not be displayed.
Alternate Display
[Normal Mode Display]; Press SELECT to toggle between Normal Mode display,
Figure(s) 4.2(a) or 4.2(b), and the Alternate Display, which
is similar to the Technician Mode display, Figure 5.4.2(a).
ENTER selects the desired display.
Flow Input [Disabled]; Flowmeter input option. The SELECT switch toggles
between Flow Input Disabled, Pulse Flow Input, 0-20 mA
Flow Input, and 4-20 mA Flow Input. Press ENTER to
execute the desired Flow Input.
If any of the three flow inputs are ENTER-ed, the user will
be asked to define four items; units of volume, minimum
flow rate, maximum flow rate, and displayed volumes.
28
Water in Hydrocarbon Analyzer
Analog Output [4-20 mA]; SELECT toggles the analog output loop between the
ranges of 4-20 mA or 0-20 mA. ENTER stores the desired
range.
4 mA (or 0 mA) [0.00%]; The minimum analog loop current represents zero water
content.
29
PHASE DYNAMICS, INC.
20 mA [1.00%]; The factory default value for maximum analog loop current
represents 1.00% water content.
SELECT and VALUE change the value. ENTER stores the
desired value.
The Supervisor Mode is accessed when switch 1 of the dual DIP switch, located at the
edge of the microprocessor board, is moved to the right and switch 2 is moved to the
left.
CAUTION
Steps should be taken to eliminate any static charges on your hands or
tools so as not to damage any surrounding electrical components when
changing the switch positions. Also, since both switches are fairly close to
each other, care should be taken to open or close only the necessary
switch.
30
Water in Hydrocarbon Analyzer
The initial display for the Supervisor Mode is the same as that of the Normal Mode.
Two displays are available, one for Flow Input Disabled and one for Flow Input
Enabled. To proceed from the initial display to the definition of MENU items for the
User-defined Mode, press MENU.
The Supervisor Mode is used to define the MENU items which are available in the
User-defined Mode. The display includes four lines of text;
Defining the MENU items for the User-defined Mode is straightforward. The display
will show each MENU item of the Normal Mode, one at a time. For each item, the
system will ask the user which items are to be included in the User-defined Mode.
Once "ENABLED", only those chosen MENU items are available for access and
change when in the User-defined Mode.
The User-defined Mode may be redefined at any convenient time by accessing the
Supervisor Mode and selecting from the complete list of MENU items. At all times the
Supervisor Mode shows the current status of each MENU item of the User-defined
Mode.
SELECT toggles between the choice of ENABLED or DISABLED for the specific item
being displayed; ENTER will direct the system to execute the desired choice and
move to the next MENU item.
31
PHASE DYNAMICS, INC.
If the current status shown is acceptable, press MENU to move to the next MENU
item. The total list of MENU items from which to choose include the items of the
Normal Mode. The complete list is repeated here;
1) Cal Factor,
2) Alarm Point,
3) Time Delay,
4) Zero Counters,
5) Flow Input,
6) Temp Adjust,
7) Analog Output,
8) 4 mA (or 0 mA) Value, and
9) 20 mA Value.
Note: The MENU item, Alternate Display, does not appear in the above list; it is the
only permanent MENU item of the User-defined Mode and may not be removed.
The User-defined Mode is accessed when switch 1 of the dual DIP switch, located at
the edge of the microprocessor board, is moved to the left and switch 2 is moved to
the right.
CAUTION
Steps should be taken to eliminate any static charges on your hands or
tools so as not to damage any surrounding electrical components when
changing the switch positions. Also, since both switches are fairly close to
each other, care should be taken to open or close only the necessary
switch.
While in User-defined Mode the display will be the same as Normal Mode. The
MENU will contain only those items that are enabled through the Supervisor Mode.
32
Water in Hydrocarbon Analyzer
CAUTION
Steps should be taken to eliminate any static charges on your hands or
tools so as not to damage any surrounding electrical components when
changing the switch positions. Also, since both switches are fairly close to
each other, care should be taken to open or close only the necessary
switch.
The Technician Mode is accessed when both switches 1 and 2 of the dual DIP switch,
located at the edge of the microprocessor board, are moved to the left.
While in the Technician Mode, the LCD will display different parameters than those
shown during normal operation. The Technician Mode display is as shown in
Figure 5.4.2(a).
33
PHASE DYNAMICS, INC.
The Technician Mode MENU includes the capability to view ALL of the coefficients
and parameters which are necessary for proper operation of the system. In this
universal mode, the user can view the current values for all coefficients and
parameters and can change them.
The list of MENU items is given below in the order in which they appear along with a
brief description of each. Some items are also found in the Normal Mode, some are
found in the Technician Mode only. The order in which the items appear in this mode
are not necessarily the same as that of the Normal Mode. Normal Mode MENU items
are not described again.
The MENU items of the Technician Mode and factory default values (shown in [ ]) are;
Reference Current [4mA]; The user may select a current value between 0 and 20
mA, or 4 and 20 mA, in order to establish the zero and
span of output devices such as chart recorders. See
Reference current section.
Modify K-constants; Allows the user to change the values of the K-constants
relating measured oscillator frequency to process value.
34
Water in Hydrocarbon Analyzer
P1, P0; The slope and intercept values relating frequency to the
reflected power threshold used to determine an overrange
condition.
Index [0.000 MHz]; A frequency index used for adjustments during field
calibration. See Theory of Operation.
Reset factory values; This downloads the factory default values for all
coefficients. See Resetting factory coefficients section.
35
PHASE DYNAMICS, INC.
For the 0 to 20 mA range for the analog output, 0 to 20 mA reference current levels
may be generated. For the 4 to 20 mA range for the analog output, 4 to 20 mA
reference current levels may be generated.
Press ENTER to select this feature. Current values from 0 to 20 mA (or 4 to 20 mA) in
1 mA increments are selected by pressing the SELECT switch. Press ENTER to
generate the current at the analog output loop terminals marked "ANALOG OUTPUT"
on the motherboard of the electronics unit.
To exit the reference current feature and proceed to the next MENU item, press
MENU.
To exit the reference current feature and return to the Technician Mode display press
MENU and hold for approximately two seconds.
36
Water in Hydrocarbon Analyzer
This MENU item allows the user to download the factory-default values for the various
coefficients. The coefficients to be reset and their factory default values are;
37
PHASE DYNAMICS, INC.
6. CALIBRATION PROCEDURE
Each Phase Dynamics analyzer is carefully calibrated at the factory prior to delivery. A
precisely controlled flow loop is used to determine the unit's frequency response as a
function of water content. This response determines the coefficients used to compute
water content from the measured frequency. Also, the calibration flow loop is used to
measure the effects of temperature on the system so that temperature compensation
of the measured water content is included. An appendix includes a comparison of
various laboratory methods for the determination of water in crude oil.
Field conditions may differ from those simulated in the factory. The analyzer may
require field adjustment to compensate for these differences. A worksheet [Table
6.2(1)] is included to assist in field calibration of the analyzer. The recommended
procedure for field calibration of the analyzer is as follows:
1) Collect an appropriate sample of crude oil and water for analysis. The
sample must represent the crude oil and water flowing through the
measurement section. While collecting the sample, note and record the
analyzer's displayed value. Record the fluid temperature displayed by the
analyzer. Also record the Cal Factor and Index values.
2) Measure the water content of the sample via some laboratory method
(distillation or titration recommended).
4) Repeat the above steps of collection and analysis for a few samples and a
range of water contents.
5) Calculate the difference for each pair of displayed and measured water
contents. Typically, the difference will be constant for all the samples.
6) Enter the Cal Factor value needed so that the displayed water content is
equal to the laboratory-measured water content via the user-interface
switches.
38
Water in Hydrocarbon Analyzer
that the difference is not constant. Call Phase Dynamics, Inc. for support and
assistance if necessary.
39
PHASE DYNAMICS, INC.
Date:_______________ Location:___________________
40
Water in Hydrocarbon Analyzer
Table 7(1), below, is a complete list of all error messages which may be encountered
including a brief explanation and the initial action needed to solve the error.
Error Cause Action Needed
Frequency Error #1 Frequency is out of range. Record frequency and
consult factory.
Frequency Error #2 Frequency is out of range. Record frequency and
consult factory.
Frequency Error #3 Oscillator frequency is not Check for loose or fault
being received by electronics system cable.
unit; or oscillator has lost
power.
Temp Comp Error #4 Temperature is out of range Check for defective
for the given compensation temperature probe.
values. Check Temp Offset
value in MENU.
Scaling Error #5 Unable to scale water content Check end-point values
value for current output loop. for current loop in
MENU.
Cal Factor Error #6 Addition of the Cal Factor has Check Cal Factor value
caused an overrange in MENU.
condition.
EPROM Error #7 Incorrect EPROM checksum EPROM chip failure.
was calculated during built-in Replace processor
tests. board.
EPROM Error #8 Incorrect EEPROM checksum Use Technician Mode
was calculated during built-in to return to factory
tests. defaults and try again.
Replace processor
board.
INTRAM Error #9 Internal RAM failure. Replace processor
board.
SRAM Error #10 Static RAM failure. Replace processor
board.
Table 7(1) Comprehensive List of ERROR Messages
41
PHASE DYNAMICS, INC.
42
Water in Hydrocarbon Analyzer
43
PHASE DYNAMICS, INC.
8. THEORY OF OPERATION
The following sections describe, in detail, the specific operation of the Phase
Dynamics load-pull system and how it is used to measure water content. The
sections are separated into two main parts - one describing the fundamental behavior
of the instrument to changing water content and one describing temperature effects.
The load-pull system relates a measured oscillator frequency to water content. During
factory calibration, coefficients are derived to relate the measured frequency to water
content for a given temperature. The water content is calculated as follows;
The factory default values for Index and Cal Factor are zero (0). In this case the
above equation simplifies to;
The Figure 8.1(a) shows a typical factory calibration curve for constant temperature.
To compensate for differences between the factory calibration and actual process
conditions, a linear offset factor, Cal Factor, may be added to or subtracted from the
computed water content. The effect of Cal Factor is as shown in Figure 8.1(b).
44
Water in Hydrocarbon Analyzer
45
PHASE DYNAMICS, INC.
46
Water in Hydrocarbon Analyzer
The reflected power threshold level (RP Threshold) may be frequency dependent and
is given by;
Figure 8.1(d) shows a typical reflected power threshold curve for the Phase Dynamics
Analyzer.
47
PHASE DYNAMICS, INC.
Compensation for temperature effects must be included for best performance of the
analyzer. Temperature changes the permittivity of most materials; this change in
permittivity presents a changing load to the oscillator which would change its
frequency. Thus, without temperature compensation, a changing process
temperature would cause changes in frequency which would lead to errors in the
calculated water content.
Temperature is measured by a probe inserted into one of the pipe saddles and directly
into the process stream. This temperature signal is carried through stainless tubing
back to the oscillator module. The system cable then delivers this signal to the
electronics unit where the temperature compensation is calculated.
Figure 8.2(a) shows the effect of temperature for a typical application. Temperature
compensation is included by factory calibrating the analyzer over a range of
temperatures. Coefficients relating frequency to water content are derived for each
calibration temperature. For example, a unit calibrated at 60, 100, and 140 degrees
Fahrenheit will have three sets of K-constants, one set at each temperature.
48
Water in Hydrocarbon Analyzer
The displayed water content (and the RS-422 value of water content) includes
compensation for fluid temperature; no manual compensation by the user is
necessary. The measured process temperature is also displayed on the LCD. The
Temp Adjust feature is used to adjust the temperature probe's measured value to
match the actual liquid temperature, if necessary.
49
PHASE DYNAMICS, INC.
Upon powering up, the system executes a series of self tests. The EPROM and
EEPROM checksums are verified for device integrity. The SRAM is tested for bit
failure. The time base interval is checked for accuracy. The oscillator frequency is
checked to be in range. The D/A and A/D are compared for accuracy. The fluid
temperature is measured and checked to be in range. If any failures are detected, the
appropriate error message will be displayed on the LCD and the error relay will close.
After passing self test the microprocessor initializes the data and peripherals. The
software is interrupt driven and the main loop updates the LCD with the latest values
and checks for any switches which have been pressed.
With application of AC power to the system, a series of self tests are performed that
take approximately five seconds to complete. The front panel display shows which
test is executing and reports any error messages.
About once every 15 minutes, the system performs a series of tests that take about
five seconds to execute. These tests execute in the background and do not interrupt
normal operation of the instrument. The liquid crystal display shows the test that is
executing and reports any error messages.
50
Water in Hydrocarbon Analyzer
The main interrupt event is the end of the one second time interval that measures the
microwave oscillator frequency. At this time the microprocessor reads the counters
and computes a raw frequency. The fluid temperature is measured. The
temperature-compensated water content value is then calculated using the
coefficients which were determined during calibration and stored in EEPROM. The
Cal Factor may be adjusted from the user menu. If the water content remains above
(or below) the alarm set point for the delay time then the trip relay activates until the
water content remains below (or above) the alarm set point for the same amount of
time. The water content value is continuously available at the current loop output.
For the net oil feature, a dedicated counter within the electronics unit measures the
pulse output of the flowmeter. As the total fluid value accumulates, the measured
water content value is used to compute and update the net oil value. All values are
updated and displayed on the front panel LCD approximately once per second.
Power is applied to the AC board. Nine MOVs on this board suppress transients
(voltage spikes) to protect the system. Three are paralleled across the AC common
and power, three across power and safety ground, and three across common and
safety ground. These MOVs are included to help prevent system damage due to
lightning. In the event of a failure of any other circuit board in the system due to
lightning, it is strongly recommended that the AC input board be replaced at the same
time. A 3/4 Ampere, 250 Volt fuse is used in the AC power line before the MOV
shunts. The output of this board connects to the power transformer that has a
secondary winding for the +5 and a secondary for the +15 and +30 Volt supplies.
51
PHASE DYNAMICS, INC.
Power is applied to the DC board. Six MOVs on this board suppress transients
(voltage spikes) to protect the system. Three are paralleled across the DC power and
safety ground and three across DC return and safety ground. These MOVs are
included to help prevent system damage due to lightning. In the event of a failure of
any other circuit board in the system due to lightning, it is strongly recommended that
the DC input board be replaced at the same time. A 3 Ampere, 250 Volt fuse is used
in the DC power line before the MOV shunts. The input voltage is then filtered and an
MOV is used to prevent overvoltage. The output of this board connects to the
motherboard.
9.7 Motherboard
The AC power supply board contains the regulators for the +5 and +15 Volts. Both
supplies contain circuitry (crowbars) to help protect the system from overvoltage. It
provides a "Power Good" signal to allow the microprocessor to begin to function and a
"Power Down" signal to inform the microprocessor that it is about to lose power and
should do any necessary "housekeeping" functions.
The DC power supply board contains the DC to DC convertors to provide +5 and +15
Volts. Additionally, this board provides -5 and isolated +15 Volts which are available
from separate transformer windings in AC powered systems. The +5 and +15 Volt
supplies contain circuitry (crowbars) to help protect the system from overvoltage. It
provides a "Power Good" signal to allow the microprocessor to begin to function and a
"Power Down" signal to inform the microprocessor that it is about to lose power and
should do any necessary "housekeeping" functions.
52
Water in Hydrocarbon Analyzer
The heart of the microprocessor board is the NEC V25. The V25 is a powerful 16-bit,
single-chip CMOS microprocessor with the following built-in features:
software compatible with the 8086/88,
24 parallel I/O lines and two serial interfaces,
programmable interrupt controller,
clock generator,
two timers,
time base counter,
programmable wait state generator.
The board contains 64K EPROM for program storage and 32K SRAM for data
storage. There is 2K EEPROM for calibration, configuration, and permanent data
storage.
The system has two serial RS-422 communication channels. The first channel is for a
built-in software monitor that allows trained technicians to test and debug the system.
The second channel communicates with a variety of personal computers. These
RS-422 communication drivers and receivers along with switch selectable line
termination resistors are also on the frequency board.
The analog input board has a 16-bit A/D, 4-channel 8-bit A/D, LT1019-2.5 precision
voltage reference, -5 volt supply, and the current loop receiver. The 16-bit A/D is used
to measure the fluid temperature that is provided by an RTD (thermocouple). The 4-
channel 8-bit A/D measures the oscillator incident and reflected power levels along
with the output from the current loop receiver. An LED indicates a valid output for the
-5 volt supply.
The current loop input signal feeds a 250 Ohm resistor. An 8-bit (256 step) A/D reads
the voltage across the resistor. The input is NOT SELF-POWERED and it is NOT
ISOLATED from system ground. The input device should be powered from the same
AC circuit to keep ground common. The receiver's negative terminal connects to
53
PHASE DYNAMICS, INC.
system ground through a 1 Ampere fuse and system ground connects to the
measurement section, which is normally in contact with earth or AC ground. The fuse
on the negative terminal will open should the ground loop current exceed 1 Ampere.
The positive terminal is over-voltage and reverse-protected to be undamaged by
application of 120 Volts AC. It is also fused at 1 Ampere and uses a MOV shunt to
open that fuse if higher voltages are applied.
The analog output board has a 12-bit D/A, 4-channel 8-bit D/A, LT1019-5 precision
voltage reference, isolated +12 and +24 volt supplies, and the current loop transmitter.
The 4-channel 8-bit D/A is used to control the microwave oscillator. An LED indicates
a valid output for the +12 volt supply.
The current loop transmitter (driver) will output 4-20 or 0-20 mA. A 12-bit (4096 step)
D/A drives the transmitter. The output is SELF-POWERED and ISOLATED from any
system ground, thus an external supply is not required. The maximum output is 20
volts so the total loop resistance must be 600 Ohms or less. The transmitter's positive
and negative terminals are fused at one Ampere. An MOV shunt is used to protect
against over-voltage.
The Liquid Crystal Display (LCD) module includes a standard 8-bit parallel interface.
A small printed circuit board is piggy-backed to the LCD module. This board contains
the contrast control circuitry to adjust the viewing angle of the LCD, the control to
adjust the back lighting, and the connectors for the control keys and ribbon cable.
Also, several spare fuses are attached to this display board, two rated 1.0A/250V, one
rated 2.0A/250V, and one rated 0.75A/250V.
54
Water in Hydrocarbon Analyzer
All of the printed wiring board assemblies contain electronic components which are
sensitive to electrostatic discharge. Components damaged by ESD greatly increase
the likelihood of a system error or failure.
CAUTION
Protect circuit boards from ESD at all times.
The circuit boards are more susceptible to damage from electrostatic discharge when
they are not plugged into the motherboard. At all times care should be taken to
prevent damage from electrostatic discharge when working with the system. The
person should be wearing a ground strap. Boards removed from the system should
be kept in anti-static metalized shielding bags.
Both the 5 and 15 volt supply have an LED (on the motherboard) that lights when
voltage is present.
55
PHASE DYNAMICS, INC.
The power input board has a 3/4 Ampere, 250 Volt fuse before the metal oxide
varistor (MOV) shunts. The motherboard has five fuses: one is a 2 Ampere fuse for
the measurement section oscillator heater power and the other four are 1 Ampere
fuses (and two MOVs) to protect the input and output current loops.
Please telephone Phase Dynamics prior to returning any equipment for service or
repair. A return authorization number may be required prior to shipment. Please
include the following information with returned items:
Please drain and clean the measurement section of any and all dangerous or
hazardous materials before returning to the factory.
Repack the measurement section in the original shipping carton. If the original carton
is missing contact Phase Dynamics.
Place a packing slip on the outside of the carton containing both the return
authorization and the serial number.
Repack the electronics unit in the original shipping carton. If the original carton is
missing contact Phase Dynamics, Inc.
Place a packing slip on the outside of the carton containing both the return
authorization and the serial number.
56
Water in Hydrocarbon Analyzer
The Phase Dynamics analyzer has the capability to transmit and receive ASCII
command strings from a "host" computer. These command strings allow the "host" to
perform certain system functions. This appendix describes the protocol that is used
for communication.
The Phase Dynamics analyzer has a full-duplex RS-422 serial interface. The
interface parameters are as follows :
The RS-422 interface uses two twisted pairs of wire to communicate. The wire may
be up to 4000 feet in length. The motherboard connectors are labeled "COMM 1
RS-422/RS-485" and individually :
1) R+ Receive +
2) R- Receive -
3) T+ Transmit +
4) T- Transmit -
Please note that the Receive and Transmit markings are with respect to the analyzer's
serial interface. A 100 ohm termination resistor is supplied across each pair of wires
(Receive and Transmit).
The protocol is very simple. It has little error checking and no error messages or
retries. It is up to the "host" computer to provide checks and retries. There are only
two types of commands and one response.
The serial interface is enabled on the analyzer by accessing the Technician Mode.
After enabling COMM 1, you can set whether the analyzer "echoes" the command
string. This is helpful when using an ASCII terminal or emulator. You can also set the
Command Termination to either a Carriage Return or a Carriage Return and Line
Feed. See the Technician Mode section.
57
PHASE DYNAMICS, INC.
Read Parameter
R X CT
R
Read command
Space (blank)
X
Parameter number
CT
Command termination (carriage return or carriage return/line feed)
This command string will read an analyzer parameter. The parameter number is
defined in a later section. The analyzer will respond with a string similar to the
following.
- Y Y . Z Z CT
-
Negative sign (if value is negative)
Y
Integer portion of parameter
.
Decimal point
Z
Fraction portion of parameter
CT
Command termination (carriage return or carriage return/line feed)
Note: Leading zeros or blanks are NOT sent by the analyzer to the "host" computer.
58
Water in Hydrocarbon Analyzer
Write Parameter
W X - Y . Z Z CT
W
Write command
Space (blank)
X
Parameter number
Space (blank)
-
Negative sign (if value is negative)
Y
Integer portion of parameter
.
Decimal point
Z
Fraction portion of parameter
CT
Command termination (carriage return or carriage return/line feed)
This command string will write an analyzer parameter. The parameter number and
the number of ASCII digits sent is defined in a later section. The analyzer will not
return anything. The "host" computer should read the parameter and compare the
reading to what it sent.
Note: Leading and trailing zeros or blanks MAY be sent by the "host" computer. This
should help with any ASCII conversions that may be required.
59
PHASE DYNAMICS, INC.
Parameter List
Not all parameters are used for every application. Use only those that apply to your
specific application. Consult the Installation and Instruction Manual for further
descriptions and information.
60
Water in Hydrocarbon Analyzer
Description
Wiring Instructions
Attach AC line and neutral wires size 18 AWG or larger to the heater assembly
terminal block as shown in the drawing below.
Fuse
The heater assembly is internally fused at 2 amperes. Other values should not be
substituted.
Figure B.1(a) 120 VAC Heater Assembly Terminal Blaock Showing User Supplied
Wiring
61
PHASE DYNAMICS, INC.
Description
Wiring Instructions
Attach AC line and neutral wires size 18 AWG or larger to the heater assembly
terminal block as shown in the drawing below.
Fuse
The heater assembly is internally fused at 1 amperes. Other values should not be
substituted.
Figure B.2(a) 240 VAC Heater Assembly Terminal Block Showing User Supplied
Wiring
62
Water in Hydrocarbon Analyzer
Description
This kit contains a 16 AWG ground wire which is to be installed between the
electronics enclosure and measurement section enclosure of the Phase Dynamics
analyzer system. The wire provides a secondary ground connection between the two
enclosures, and must be installed as described below in order to meet CSA
requirements for operation in hazardous locations.
Parts Contained
• 16 AWG green ground wire, with lug for #10 screw installed on one end
• #10-24 screw
• #10 lock washer
• crimp lug for ¼" screw
• ¼" lock washer
Installation Instructions
1. Attach the ground wire to the collar inside the measurement section enclosure,
as shown in the drawing below, using the #10-24 screw and lock washer.
2. Pull the other end of the ground wire through the (user supplied) conduit
connecting the two enclosures. It may be most convenient to perform this
operation when the main system cable is installed, pulling the ground wire and
system cable through the conduit at the same time.
3. Cut the ground wire to length, and strip the insulation from the end.
4. Crimp the lug for ¼" screw onto the ground wire and install this lug under the
¼" ground screw which is located inside the electronics enclosure, using the ¼"
lock washer.
63
PHASE DYNAMICS, INC.
64
Water in Hydrocarbon Analyzer
Three methods for determination of water content are distillation, titration and
centrifugal separation (shake-out). The ASTM designations for these are D4006,
D4377, and D4007, respectively.
Repeatability is the difference between successive test results, obtained by the same
operator with the same apparatus under constant operating conditions on identical
test material. Reproducibility is the difference between the two single and
independent test results obtained by different operators working in different
laboratories on identical test material. Both distillation and titration are excellent tests
to verify the water content of an oil/water emulsion. Centrifuge is not recommended
for precise water contents less than 1.0%.
65
PHASE DYNAMICS, INC.
Attached are various installation drawings needed for proper mounting and installation
of the Phase Dynamics Water in Hydrocarbon Analyzer. Please consult the factory for
other drawings not included.
66
Water in Hydrocarbon Analyzer
67
PHASE DYNAMICS, INC.
68
Water in Hydrocarbon Analyzer
69
PHASE DYNAMICS, INC.
70
Water in Hydrocarbon Analyzer
71
PHASE DYNAMICS, INC.
72
Water in Hydrocarbon Analyzer
73
PHASE DYNAMICS, INC.
74
Water in Hydrocarbon Analyzer
75
PHASE DYNAMICS, INC.
76
Water in Hydrocarbon Analyzer
77
PHASE DYNAMICS, INC.
78
Water in Hydrocarbon Analyzer
79
PHASE DYNAMICS, INC.
80
Water in Hydrocarbon Analyzer
81
PHASE DYNAMICS, INC.
82
Water in Hydrocarbon Analyzer
83
PHASE DYNAMICS, INC.
84
Water in Hydrocarbon Analyzer
85
PHASE DYNAMICS, INC.
86
Water in Hydrocarbon Analyzer
87
PHASE DYNAMICS, INC.
88
Water in Hydrocarbon Analyzer
89
PHASE DYNAMICS, INC.
90
Water in Hydrocarbon Analyzer
91
PHASE DYNAMICS, INC.
92
Water in Hydrocarbon Analyzer
93
PHASE DYNAMICS, INC.
94
Water in Hydrocarbon Analyzer
95
PHASE DYNAMICS, INC.
96
Water in Hydrocarbon Analyzer
97
PHASE DYNAMICS, INC.
98
Water in Hydrocarbon Analyzer
99
PHASE DYNAMICS, INC.
100
Water in Hydrocarbon Analyzer
101
PHASE DYNAMICS, INC.
102