Fluid pumping and mixing is an integral part of the well drilling process. Different types of fluids are mixed and pumped down the well hole while drilling in order to cool the drill bit and circulate cuttings back to the surface. The characteristics of the fluid, such as density, pressure, and temperature, need to be monitored closely and controlled precisely during operations.

Electrohydraulic controllers
Electrohydraulic controllers are used in various oilfield applications, including monitoring and controlling this diesel engine that powers a hydraulic pump.

Because they excel at fluid handling and are adaptable to changing environmental conditions, general-purpose electrohydraulic motion controllers that drive the pumps are some of the most useful and versatile pieces of equipment on the oilfield. So says Frank Braswell, principal at Systems of Merritt Inc., Upland, Ind., an expert in control system design.

Braswell has been working with Impact Technologies LLC, Tulsa, Okla., to design hydraulic motor and pump control systems for a wide range of fluid handling roles in the oil and gas industry. Recently, Impact called on Braswell to upgrade one of its hydraulic control systems and design several new controllers for pumps and hydraulic motors at Impact’s development facility.

“We wanted to be able to use the same basic control system and human interface with different applications,” said Braswell. “That drove us to select a motion controller with high performance and easy programmability to give us the flexibility. Moreover, we needed a motion controller that would interface easily with our LabView front end.”

One controller for many applications
Impact chose LabView software by National Instruments to implement easy-to-use visual human interfaces for the drilling process. The LabView program is used to acquire data from the drilling operation, such as current pressures and flow rates at the well head, which can be graphed continuously so the operator can review progress and to control elements of the drilling process, such as the flow of fluids down the well.

RMC75E (left) and RMC150E (right)
Figure 1. The RMC75E (left) and RMC150E (right) electrohydraulic motion controllers have multiple options for expansion, connecting directly to Ethernet, position and pressure transducers, servovalves, and other types of actuators.

The need for flexible, easy-to-use controls led Braswell to validate the earlier choice by Impact to use the RMC75E general-purpose closed-loop electrohydraulic motion controller, Figure 1, manufactured by Delta Computer Systems Inc., Battle Ground, Wash.

Braswell started his work by upgrading the control system that was provided by Impact. He retained the Delta controller, but replaced a lot of point-to-point wiring with an Ethernet network and standardized RJ45 connectors in order to make the updated control system easier to install and service. “Using Ethernet makes a huge difference in cutting installation and maintenance costs,” said Braswell. “The RMC75E interfaces directly to the network, making these tasks easy.”

Three systems in one
Braswell actually implemented three different control systems into one oilfield installation, each one using a dedicated Delta RMC controller, Figure 2. The first RMC (Delta #1 in the diagram) was used to control a diesel engine that powers the drilling fluid pump.

Three Delta Computer Systems
Figure 2. Three Delta Computer Systems’ RMC controllers are used to control this oilfield fluid delivery and recovery system.

Because high power electric lines are not always present at the well head, diesel engines often provide the power to drive hydraulic systems. In the oilfield control system that he designed for Impact, Braswell attached a linear actuator to the diesel engine to control the throttle, Figure 3.

At start-up, the diesel engine is disengaged from the pump, and the throttle is operated under open-loop control. The Delta controller is commanded to set the throttle position, via the linear actuator, to a predetermined idle position for startup.

diesel engine
Figure 3. The speed and power provided by the diesel engine to drive a hydraulic pump are controlled by the Delta RMC controller, which monitors the speed of the pump and operates the linear actuator (blue structure in the photo) that moves the engine’s throttle to keep the pump running optimally as environmental and drilling fluid conditions change.

After the diesel engine is running smoothly, the Delta RMC is put into closed-loop control of the pump speed (speed is monitored by a rotary encoder that is attached to the pump). The controller’s software also checks to ensure that the diesel engine is running. Being able to program and watch the different transducers is critical, especially for determining emergency situations. If the pump’s pressure should drop off rapidly toward zero (for example, if a hose ruptures), the system is switched back into open-loop control so that the engine doesn’t exceed its operating parameters in trying to maintain pressure. During pumping operation, controlling the diesel throttle with a closed-loop motion controller is critical to achieving desired results because the engine’s response to control inputs is non-linear, and its operation is heavily influenced by temperature and other environmental conditions. The controller’s ability to respond quickly to feedback compensates for these factors. When the driller wants to shut the pump down, he or she can switch back to open-loop control before disengaging the pump and shutting down the engine.

The second Delta RMC (Delta #2 in Figure 2) helps control the mixing of drilling fluids. The proprietary mixtures of high-tech fluids that this system handles shouldn’t be confused with what the industry has traditionally called drilling “mud.” The Delta controller receives pressure, temperature, and pump shaft velocity and position information from the fluid mixing unit and sends controlling outputs to an electro-mechanical valve that governs how fluid is mixed in the unit. Because the valve is capable of proportional control, it can vary the fluid flow smoothly from full open to full closed. Therefore, the fluid mixture can be controlled more precisely than with systems using two-position on/off valves and schemes that measure pressure and flow rate by counting strokes of a mud pump. Besides the hydraulic valve, the Delta RMC also controls an electric motor in another part of the mixer (see Figure 2).

The third controller (Delta #3 in Figure 2), a larger RMC150E, is used in the fluid recovery unit. This multi-axis controller can control up to eight electromechanical valves. In this application, the controller’s function is to both monitor and control. It monitors fluid temperature and pressure as fluid returns from the well hole and controls the recovery of the fluid by operating multiple proportional valves in the fluid recovery unit to regulate fluid and gas flow.

In the case of the Delta #2 and Delta #3 controller systems, the valve positions are updated by the controller 1000 times per second in order to ensure that the pumps respond very quickly to changing conditions at the well head.

Figure 4 shows the actual control hardware as it was developed and tested at Impact’s facility. Each control box (in the background of the photo) contains the RMC and a local operator display.

Standard and custom designs
Each Delta RMC controller is programmed and its operations monitored by interacting with dedicated locations in the controller’s memory. Although the RMC controllers are provided with a full repertoire of pre-programmed motion functions, Delta Computer Systems also allows system designers to implement their own functions using what Delta calls user programs. In the Impact system, Braswell applied user programs extensively for a variety of tasks including safety limit checks for speed, human-machine interface (HMI) communication, synchronizing valves, and to illuminate LEDs for visual problem indication and diagnostic purposes.

three Delta controllers
Figure 4. The three Delta controllers are shown communicating with LabView, running on the Apple MacBook Pro laptop at Impact’s facility. The three controllers represent the major components that deal with the mixing, injection and recovery of drilling fluids from the wellbore.

The central computer uses LabView to implement an HMI for the drilling operator. The system runs LabView under Windows Vista through the use of VMWare Fusion virtual machine software. The Delta controllers connect to the master computer via Ethernet using National Instruments’ OPC server to allow LabView to access the memory maps of the Delta motion controllers. OPC is a standardized communication specification that defines how software applications share data under Microsoft operating systems.

For example, the LabView program lets the machine operator change the hydraulic pump’s speed variable, and the Delta #1 controller will respond by moving the throttle to adjust the speed of the engine that drives the pump. Likewise, the operator can change the pressure variable in the memory of the Delta #2 controller and monitor the mixture flow results on the screen. The program uses tabs to display individual controller information and overall system data for the drilling operator.

In addition to the visual display making it easy to tell at a glance what’s going on, it also makes it easier to train new operators on how to use the system. In this regard, the PC and the Delta motion controller make an ideal pair: the PC for human interface and data logging tasks and the controller for performing precise high-speed control.

As this development shows, a general-purpose electrohydraulic controller works well with oilfield equipment. The key, says Braswell, is for that controller to be very versatile. “In all the systems that I built for Impact, I designed the controllers to be as similar as possible,” said Braswell. “Even though the controllers are doing different things, they could be substituted for one another. This was possible because of the flexible Delta controller software architecture and hardware design options.”

For more information, contact the author at peter@deltamotion.com or visit www.deltamotion.com.

pumping system simulator
The pumping system simulator (left) developed by Frank Braswell, of Systems of Merritt, for Impact Technologies, was used to prove out and optimize the closed-loop control programs running on the Delta Computer Systems RMC controller in the box at right.

Mechanical simulation proves controls work safely
Systems of Merritt engineer Frank Braswell developed a system simulator to aid him in programming and tuning the hydraulic controls. The system, at left, includes the same sensors that are used in the real hydraulic control system in the field. “You want to prove out the controls in a friendlier environment than on the oilfield,” says Braswell. “And it would be very expensive and dangerous to run the real fluid handling machinery while you’re debugging.”

The mechanical simulator was invaluable in not only troubleshooting proportional, integral and differential (PID) control loop issues, but also allowed debugging of the human-machine interface (HMI). While PID gain values are obviously different between the target system and simulator, testing open-loop to closed-loop control transitions, failure mode responses and startup/shutdown sequences were possible without the risk of damaging the real target system. Safety was a key consideration in the design and use of the mechanical simulator.

To help tune the motion of the hydraulics, Braswell used Delta’s RMCTools software. RMCTools contains a plot manager which allows the control system designer to view plots of actual vs. target motion. The goal is to get the actual plot lines to overlap the target plots. When that happens, the system is optimized perfectly. After making tweaks to control loop gains, the system is re-run and the plots re-examined to see how the behavior of the system is improved.

“The Delta controller allows the control engineer to bring together both hardware and software engineering principles yielding a flexible design and efficient operation,” says Braswell.

Free book details motion control applications

Delta Computer Systems, Inc., Battle Ground, Wash., has released the second edition of its popular practical design guide authored by Delta president and chief motion control engineer Peter Nachtwey.

This 64-page guide covers 16 technical topics in fluid power motion control systems by combining theoretical and practical insights. Designers, mechanical and control systems engineers, fluid power technicians and others will benefit from this guide. The guide’s purpose is to be a resource when applying fluid closed-loop motion control systems in a wide variety of industrial and testing applications.

Topics covered include applications in different industries along with valuable tips related to open and closed loop motion control as they apply to component selection of accumulators, valves, and cylinders. Sensor resolution hints and tuning secrets round out the added information in the guide.

Click here to request a free copy, then enter your contact information and state “Design Guide” in the comments section. You may also call Delta at (360) 254-8688 or e-mail sales@deltamotion.com to request a copy.