Professional Documents
Culture Documents
Jun Xu1, Hailong Yu1, Feijian Zhang1, BoYou1 and Ruijie Li2
1
College of Automation, Harbin University of Science and Technology, Harbin, China
2
No.2 Oil Production Company Daqing Oil Field Company Ltd. Daqing, China
xujun@hrbust.edu.cn
Authorized licensed use limited to: IEEE Publications Staff. Downloaded on July 27,2010 at 19:11:37 UTC from IEEE Xplore. Restrictions apply.
The crude oil dehydration is an important part in the
crude oil process. At present various oil fields all use
electricity-chemistry dehydration method, namely the
conventional electric dehydration method. Among the
many different methods of demulsification, the
electrostatic method in a high voltage field is one of
the most effective and simplest demulsification
methods. The electrostatic forces caused the
coalescence of fine water drops and their growth to
larger drops which then readily fell by electric forces
or gravity [3-5].
The production facility shown in Figure 1 has four
or six oil dehydration vessels operating in parallel. Figure 2. Electrostatic dehydrator
Each horizontal dehydrator is 3 m diameter 35 m
long with AC/DC electrostatic technology, open 2. Principle
bottom spreaders, either steel or composite high
voltage electrodes and pipe collectors. The electrostatic 2.1. Configuration dehydrator
transformers are 380 or 220 volt, single phase rated for
50 kVA [6, 7]. The electrostatic dehydrator apparatus used in this
The factors impacting on crude oil dehydration are study is schematically shown in Figure 2. Double steel
many, such as the nature of crude oil, electric field electrodes are arranged in parallel in the apparatus.
strength, electrode shape, the voltage waveform, Alternating electrodes are energized with a positive
temperature and pressure etc. On the basis of full voltage and adjacent electrodes are energized with a
consideration of these factors, a new type of inverter negative voltage. The positive and negative voltages
crude oil electric dehydration instrument is developed. are supplied from a 20 kV transformer [8].
It is depended on the technique of a variable amplitude When the wet crude oil is fed into the Dehydrator,
and variable frequency voltage supply for the primary the wet crude oil flows evenly up through the grid
of the transformer based on IGBT and ARM. It is assembly and is subjected to an intense AC/DC
proved through experiment that the dehydrator can electrostatic field created by the high voltage charge
realize continuous dehydration of water-in-crude oil imposed on the grid electrodes. The electrostatic field
emulsions by application of a high voltage AC/DC aids the small water droplets to coalesce to form larger
field. The dehydration rates are investigated under droplets and thus be able to fall under gravity from the
various operating conditions. It has the properties of crude oil. The water droplets fall to the oil water
adjusting the voltage and frequency automatically, interface, below the inlet distribution headers, and are
over current protection, over voltage protection, removed under level control. The clean, dry oil rises to
displaying the dehydrator parameters and the curve of the top of the vessel where it is collected and removed.
dewater current versus dewater voltage based on LCD.
2.2. Electrostatic fields
164
Authorized licensed use limited to: IEEE Publications Staff. Downloaded on July 27,2010 at 19:11:37 UTC from IEEE Xplore. Restrictions apply.
Figure 3. Electrostatic field
165
Authorized licensed use limited to: IEEE Publications Staff. Downloaded on July 27,2010 at 19:11:37 UTC from IEEE Xplore. Restrictions apply.
The electrical demulsification effect is primarily
related to the first step, that is, an increased rate of
motion of the droplets in an electric field, but the
breakdown of the film can be influenced by electrical
forces at higher frequencies. The electrostatic method
is based on the coalescence and precipitation of water
droplets as shown in the figure 5. When the electric
field is applied, the water droplets are polarized by the
induced dipole. And as the distance between the
droplets becomes closer, they combine and become
larger droplets. The combined droplets are liable to
precipitate while the precipitation rate of the droplets is
proportional to the square of droplet diameter. 1 Three phase power supply 2 Rectification 3 Charge 4
IBGT 5 Transformer 6 Load 7 Sensor 8 PWM drive 9
Computer 10 ARM-based controller 11 Man machine
3. Design of ARM-based inverter interface 12 alarm
The inverted power supply is used the inverted Figure 7. The diagram of electrostatic dehydrator controller
technology as its core and IGBT as switch to realize
PWM to produce a pulse output. The block diagram of The microcontroller adopts Atmel 16/32-bit
system is shown in Figure 6. microcontroller AT91M55800A as core processor
which combine the ARM7TDMI processor core with
3.1 Hardware design and implementation an on-chip SRAM and a wide range of peripheral
functions, analog interfaces and low-power oscillators
The electrostatic technology to be applied utilizes on a monolithic chip. Electrical parameters (voltage,
a proprietary process controller and transformer current, etc.) are sampled and transformed to
package to produce an electrostatic field that can easily appropriate signals to ADC (Analog-to-Digital
be optimized for any crude oil. This technology has Converter) or DI (Digital Input) module.
been in development for over 10 years and has Microcontroller accepts all data after these modules.
demonstrated remarkable performance improvements Related information will be displayed on the LCD and
in pilot facilities. The transformer consists of three corresponding alarm relay will act if one parameter
primary components that are packaged in a single goes beyond the limited range. Some parameters (such
oilfilled enclosure. Designed to operate on three phase, as voltage, current,) are displayed on user friendly and
480 volts (50 / 60 Hz) the technology overcomes the informative active LCD real-timely. Except for USB
load balance problem normally encountered with interface, the data in the microcontroller can also be
single phase electrostatic processes. An ARM-based transferred to a PC via RS232C interface [10,11].
process controller defines the voltage control The voltage and current of the power supply
environment to match the specific needs of the feedback signals are detected by hall sensor, sent into
production as shown in Figure 7. ARM controller, converted by integrated AD module
in the chip and then sent into perform logic operation
and data processing. In the program, the algorithm
implementation process is a control process for one
adjustment in one sampling period, where AD
conversion value are read out and stored by response
interruption, and control algorithm subroutine is called
to determine corresponding algorithm and then to
calculate a new control signal according to the nature
and size of the derivation signal between conversion
values and given value. The new control signal is
enlarged by the drive circuit to control inverter and
then to produce corresponding output adjustment. The
Figure 6. The block diagram of system
output value approximates the given value
progressively in the circular process. The dynamic
response speed and cutting quality are determined by
the control algorithm for high-speed controller with
166
Authorized licensed use limited to: IEEE Publications Staff. Downloaded on July 27,2010 at 19:11:37 UTC from IEEE Xplore. Restrictions apply.
nanosecond operation speed in the whole control voltage level necessary to promote effective
process. According to it, this paper proposes a new- coalescence. Third, the secondary voltage is rectified
type controller based on ARM technology to realize into positive and negative half-wave outputs. These
fast adjustment and intelligent control of power supply polarized, half-wave voltages are then applied to the
output characteristics. electrodes in a dehydrator.
An ARM-based process controller defines the
3.2 Software design and implementation voltage control environment to match the specific
needs of the production. Utilizing a medium frequency
The software of the electrostatic dehydrator has transformer overcomes the voltage decay associated
been developed with real time operating system with conventional 50/60 Hz transformers. In wet crude
C/OS-II which is a highly portable, ROMable, very oils the effective impedance may be very low, resulting
scalable, preemptive realtime, multitasking kernel for in a rapid, voltage decay from the process electrodes.
microprocessors and microcontrollers. C/OS-II can This decay reduces the effectiveness of the
manage up to 255 tasks and provides many kinds of dehydration process by pulling the voltage below the
services such as semaphores, mutual exclusion threshold level required for effective dehydration.
semaphores (to reduce priority inversions), event flags, Operating with an increased frequency reduces this
message mailboxes, message queues, task management, voltage decay and effectively sustains the applied
etc.. The C/OS-II is ported to microcontroller voltage above the required threshold. Also, where the
AT91M55800A. And all functions are divided into interfacial tension between the oil and water is low the
eleven user tasks and five interrupt service routines waveform can be reduced to minimize destruction of
based on C/OSII. These eleven user tasks include the water droplets normally caused by the application
task AI, DI, PI, DO, PWM, Anti-sway Control, of 50Hz power.
History Data Store, Human Machine Interface,
Sequence of Events Record, Communication and USB
Flash Disk Store.
All C/OS-II provides services to create a task,
delete a task, check the size of a tasks stack, change a
tasks priority, suspend and resume a task, and get
information about a task. Each task can have the
following five states: dormant, ready, running,
suspending, interrupted. Because the software didnt
use task deleting function OSTaskDel(), each task
software system only have four states except task
dormant state. Tasks and ISRs (Interrupt Service
Routines) in the communicate with one another and
share resources with semaphores, message mailboxes
and message queues implemented. All tasks except idle
task are driven by message to ready state. For an
instance, I/O ISR sends message to task DI and task
PWM, and Timer ISR sends message to task AI and
task HMI. If there is no task ready for running, the
C/OS-II-based embedded system will run idle task to
wait for user task ready. A flowchart of operation
performed by the microcontroller-based electrostatic
dehydrator is shown in Figure 8.
167
Authorized licensed use limited to: IEEE Publications Staff. Downloaded on July 27,2010 at 19:11:37 UTC from IEEE Xplore. Restrictions apply.
Reducing the frequency of the waveform can 5. Conclusion
prevent the destruction of the large water droplet
required for effective dehydration. Furthermore, the This paper has proposed a new crude oil
shape of the voltage waveform can be selected to electrostatic dehydration controller based on ARM and
achieve the best dehydration results. Finally, the IBGT technology. The dehydrated tube electrode
minimum and maximum voltage levels can be set to produces the high-pressure variable AC/DC field. The
increase the percentage of the entrained water that is water drop accumulation and precipitation are caused
swept by the electrostatic voltage. Maximum voltages mainly by the effort of electric field in the process of
reach the smallest water droplets with sufficient energy dehydration, and then it realizes highly-efficient crude
to develop a surface charge and promote coalescence. oil dehydration. This electrostatic dehydrator system is
Reducing the voltage to a minimum level will now ready for a field trial in No.2 oil production
maximize the droplet growth to promote a rapid company factory of Daqing oil field company Ltd.,
sedimentation rate. The PC-based controller developed China. This variable voltage / frequency power supply
to control the output of the variable voltage / frequency has been developed during the past 2 years, with the
transformer is capable of producing a nearly infinite ability to fashion a waveform that is optimized for any
variety of waveform configurations. Selectable crude oil.
variables include the frequency of the voltage, the
maximum and minimum voltages applied to the 6. References
transformer and the cyclic pattern and rate used to
drive the transformer. The exponential PWM [1] Burris, D., Dual Polarity Oil Dehydration, Petroleum
waveform of driver (a, b) and the output waveform of Engineer, Critical Mass Systems, Grapevine, Texas, August
IGBT (c, d) is shown in Figure 9. The exponential 1977.
waveform of secondary voltage is shown in Figure 10. [2] Aske, N., Kallevik, H. and Sjoblom, J.: Water-in-crude
oil emulsion stability studied by Critical Electric Field
Measurements. Correlation to Physico-Chemical Parameters
and Near-Infrared Spectroscopy, Journal of Petroleum
Science and Engineering, Trondheim, Norway, April 2002.
[3] Burris, Donald R., Dual Polarity oil dehydration,
Petroleum Engineer, pp 30 41,1998.
[4] Byers, Charles H. and Amarnath, Ammi, Understand the
potential of electro-separations, Chemical Engineering
Progress, pp 63-69, 1995.
[5] Draxler, J. and Marr, R., Design Criteria for
Electrostatic Deemulsifiers, International Chemical
Engineering, Austria, 1993.
[6] Eow, John S. and Ghadiri, Mojtaba. Motion,
deformation and break-up of aqueous drops in oils under
high electric field strengths, Chemical Engineering and
Processing, 42, pp 259 272, 2001.
[7] Ivanitskii, K., Modeling of deformation and breakup of
drops moving in liquid, Heat Transfer Research, 29 (4 & 5),
pp 225 234, 1998.
[8] Sams, Gary W. and Wallace, Harry G., Field Trials
Scheduled for New Dehydration Technology, Offshore
Figure 9. The output wave of driver and IGBT Technology Conference, 15353. 2003.
[9] Sams, Gary W. and Wallace, Harry G., Improving
Process Efficiencies by Optimizing Fluid Hydraulics in
Electrostatic Oil Dehydrators, Offshore Technology
Conference, 13216, 2001.
[10] Elarde, J.V., Brewster, G.B., Performance analysis of
application response measurement (ARM) version 2.0
measurement agent software implementations, IPCCC00,
pp 190-198, 2000.
[11] Chunsheng, WangThe nuclear data collecting system
designed with ARM and C/OS-, Nuclear Electronics &
Figure 10. The secondary waveform Detection Technology, Vol. 28, No.1, pp 72-75.2008.
168
Authorized licensed use limited to: IEEE Publications Staff. Downloaded on July 27,2010 at 19:11:37 UTC from IEEE Xplore. Restrictions apply.