Kategori
Tak Berkategori

PLC+HMI and DCS

It was my first project as integrator. Working to revamp obsolete PLC to a latest and different product of PLC it includes converting PLC program from ladder to function block diagram. The PLC is located remotely on offshore at gathering/ manifold platforms with swamp vicinity. It monitors surface facilities and able to generate production shutdown. PLC use modicon quantum 651 series

All data will be sent to control room (onshore) via telemetry system. DCS system deploys 2 systems i.e., TDC3000 and Experion PKS Honeywell. The obsolete PLC was connected to TDC3000. Although PLC has been replace with latest product but the connection to TDC3000 is still maintain except for 1 RTU to be reassign to Experion PKS based. Hereafter the this specific RTU called RTU No. 1 .For reference below is the simplified architecture (Schematic 1)

DCS reassignments for RTU No.1 is due to existing LAN interconnection were available near the manifold platforms.

 RTU No.1 will be connected to another existing RTU via ethernet switch. Existing RTU is using controller C200 Honeywell and connected to DCS Experion PKS via radio TDMA.

We didn’t found major issue during this RTU revamping. The only thing is to ensure the modbus address arrangement is same with the existing.

Additional work occur for RTU no.1 to create display since relocation DCS assignments

In order to maintain the project pace, it was decided to copy it from similar display, existing RTU, on experion PKS.

After changing the entire tag name and compare modbus address on the PLC. Next step was generating runtime on the Experion. I discovered many message errors during the runtime. In the beginning I was confused either the client.

After looking all the message error, I realize the source problem was caused by incompatible between HMI web display scripting and function block diagram on modicon quantum PLC. The existing display is design by control builder integrated in Experion PKS engineering tools.

So it required to modify all HMI Web Display script related to animation, such as faceplate, all dynamic shape, etc, in order to be compatible with functionality of function block diagram modicon quantum PLC. Although this was not easy, in the end it was finished without attendance Honeywell vendor.

Due to this problem, I understand between the difference between PLC+HMI and DCS.  

Beside the term of system architecture referring to DCS where more than one PLC connected to control station. DCS could also refer to software capability. DCS provide integrated software PLC+HMI up to SCADA.

Example software with these types is Experion PKS, Delta V, and Centum VP.

The advantages of DCS software are as following:

  1. Reduced the effort required to design and implement HMI.
  2. It eliminate complexity configuration between of PLC and HMI.

However it consumes more memory and processor capacity.

DCS is suitable for application with many advanced control, high diagnostics, etc. Therefore it suites for complex and fix process plants such refinery, petrochemical, and power plant.

However, based on my experiences I found that DCS is not suit well for continues expansion facilities such as offshore platforms.

An offshore platform continues to explore new wells which continuously to add I/O and display.

I have experience DCS with saturated memory and capacity processor on offshore platforms, although it is far from maximum capacity of I/O or remote I/O.

Unless it is separate system between fix surface facilities and group of continue facilities such as flow lines and wellhead platforms.

In example, DeltaV/Experion as the DCS while continues expansion surface facilities use PLC.

The more you have experience the more you could decide when to use application based on DCS or PLC + HMI.

Kategori
Tak Berkategori

Estimation of Volume Vessel to Predict Liquid in Well Tubing

I. INTRODUCTION

Offshore platforms especially wellhead platforms have test facilities and xoffloading facilities. These facilities to obtain composition and performance of well. This data will forecast the lifecycle stages of well. According to ISO 16530 delineates the stages of the lifecycle into six lifecycle phases, Basis of design, design, construction, operational, intervention, and abandonment.

The average life span of an oil or natural gas well is up to 20 or 30 years. However, new technologies are being developed to find new ways to extend the life span. The life span of a well is based on the active years the well is in production. ‘Active’ is one of the six main life cycle classifications of a well.

Offloading and test separator has several typical designs. One of the different designs of test separators is using MPFM. If the wellhead platform The offloading activities involve KO drum to collect the liquid during offloading process.

This article will try to estimate the liquid of estimated tubing volume well by using available instrument measurement on the KO Drum Vessel. This article will be focused on KO drum as offloading vessel. This article will limit only 2 phase vessels.

II. OFFLOADING

Offloading a Well is a technique in which borehole pressure is reduced from a borehole in order to cause the suction of hydrocarbon fluids into the wellbore from perforations made in the casing. This is made possible by the creation of a partial vacuum by the removal of air so as to force the hydrocarbons into the vacant space, thereby initiating a flow of liquids from a well.

Offloading could be perform via Test Separator Vessel or Knock Out (KO) Drum.

Individual performance of well reservoir in wellhead platform is tested either using Multiphase Flow Meter (MPFM) or Test Separator. Therefore, test separator is part of offloading process besides as well individual test.

The test system on the platform will consist of a test manifold and an MPFM/Test Separator. Flow from each well can be diverted from the production manifold to the test manifold by changing the position of the On-Off valves located upstream of the production and test manifolds.

Incase MPFM is utilize to simultaneously measure the flow rate of each phase of fluid coming from a well., KO drum is used as part of Offloading process where it capture liquid if the wellhead platform utilize MPFM.

The test manifold will be utilized during both test and offloading; during test, the fluid will be sent to the MPFM and then to the Export Trunkline, while during offloading the fluid will be sent to the Vent/Flare.

III. VOLUME VESSEL BASIC THEORY

III.1. ELLIPSOIDAL HEAD
For pressure over 10bar, ellipsoidal heads are often used. This is also called a 2:1 elliptical head. The shape of this head is more economical because the height of the head is just a quarter of the diameter. Its radius varies between the major and minor axis.

III.2. HEMISPHERICAL HEAD
A hemispherical head is the strongest shape; capable of resisting about twice the pressure of a tori spherical head of the same thickness. A sphere is an ideal shape for a head, because the pressure in the vessel is divided equally across the surface of the head. The radius (R) of the head equals the radius of the cylindrical part of the vessel.

III.3 TORISPHERICAL HEAD
A tori spherical shape, which is extensively used as the end closure for a large variety of cylindrical pressure vessels. These heads have a dish with a fixed radius (CR), the size of which depends on the type of torispherical head. The transition between the cylinder and the dish is called the knuckle. The knuckle has a toroidal shape.

Source: http://www.wermac.org/equipment/pressurevessel.html

The complexity of volume cylinder calculation depends on the plane layout cylinder. The horizontal plane position will be more complicated than the vertical plane.

The volume of a vertical cylinder is an area of the circle multiply by the height cylinder.

Cylinder Volume = pi() x ID2/4 x h, where pi()=3.14 ………………………(1)

In the example, there is no shape of the head. If the head appears whether elliptical or hemispherical. Then the volume is added to the cylinder volume.

The horizontal will be different from the vertical. The horizontal cylinder will depend on the segment circular

It will give a totally different equation if the cylinder arrangement is horizontal. When the position is horizontal the volume of liquid will depend on the segmented circle. So the volume of the horizontal cylinder = segment circle x length of the cylinder.

Total heads volume (Hemispherical) = 2 x pi() x ID3/12 ……………………..(2)

or

Total Heads Volume (Elliptical) = 2xpi()xID3/22.8 ………………………………(3)

Zc/Ze = h/ID ………………………………………………………………………………………(4)

Angle in radians = 2 x Atan(h/sqrt(2x(h x ID/2) – h2) …………………………(5)

f(Ze)=(angle-sin(angle) x cos(angle))/pi( ) ……………………………………………..(6)

f(Zc)= (Zc/Ze)2 x (3-2 x(Zc/Ze)) …………………………………………………………(7)

Area, m2 = f(Zc) x pi() x ID2/4 ………………………………………………………….. (8)

Partial Volume Cylinder, m3 = f(Zc) x tangent to tangent (L) ……………….(9)
Partial Volume Heads, m3 = f(Ze) x Total Heads Volume/2 ……………….(10)

Total Volume (horizontal) Cylinder=

Partial Volume Cylinder + Partial Volume Heads………………………………….(11)

In programming Unity PRO XL it looks like:

IV. CALCULATION LIQUID of WELL

During the offloading, the amount of liquid of a specific well could be determined by the following equation general mass balance.

Based on the general mass balance

(Vin – Vout)/dt = dV/dt

Vin/dt = dV/dt + Vout/dt

Vout/dt is measured by a Coriolis flowmeter using a totalizer.

dV/dt is displacement volume.

dt is period of start offloading and stop offloading

As the configuration above, there are several cases to calculate the volume of liquid in the vessel. It depends on the instrument sensor available on the vessel KO drum.

There are two ways to calculate

  1. Manual Calculation

The manual calculation is performed by observation and data record. Data gathered will be further input into a spreadsheet.

The volumetric flow rate of inlet liquid could be calculated manually on a spreadsheet or automatically by the operation team.

  1. Automated using PLC

The automated calculation is using program PLC, by pressing start and stop push button on HMI.

IV. 1 Volumetric Flow Rate Outlet

The interval time could be determined from level LAL as start pump and LAH as stop pump.

Using totalizer from Coriolis flowmeter. This method usually accesses by an operator on the display of the Coriolis menu. It requires operator intervention.

Before starting the totalizer it should be reset. The additional feature start-stop totalizer from the control room or local HMI (platform) is not giving major advance since activity offloading requires a standby operator. Start and stop automatically will give a better estimation of period offloading.

Instead of using analogue 4-2-mA to retrieve volumetric flow rate, the Coriolis should use serial (RS-485) connection as slave and master to the PLC. PLC could send command start and stop.

Schematic of Vessel with Coriolis flow meter to measure volumetric flow rate

If creating a connection requires a cost, the totalizer could be created on the PLC program.

The other schematic could be as bellow

Schematic of Vessel with differential pressure (dP) flow meter to measure volumetric flow rate

If the flowrate as seen above. Totalizer is created on the PLC program. Most of PLC have function totalizer on the libraries.

The method is same, start and stop totalizer is control by liquid level.

IV. 2 Displacement Volume of Vessel KO Drum

Displacemnt Volume is calculated using level measurement – Average height liquid in certain interval time.

  • Pump is start automatically in low level
  • Pump is stop automatically in high level.

By conversion of volume, volume displacement as stated in equation …(11)

The equation could be put on the PLC in order to synchronize the start totalizer on outlet vessel KO drum.

IV.3 Volumetric Flowrate Inlet as Volume Tubing

Since volumetric flowrate and displacement volumetric flowrate have been determined, they can both be programmed in PLC.

Volumetric flowrate inlet represents the amount of liquid (volume tubing)in a certain well during offloading.

Vin/dt = dV/dt + Vout/dt

Vin = ( Total Volume (horizontal) Cylinder + Totalizer recorded) x period offloading (period of start and stop offloading)

V. Reference

https://wumbo.net/formula/volume-of-cylinder/

https://petrowiki.spe.org/Well_integrity_lifecycle

https://www.mathsisfun.com/geometry/cylinder-horizontal-volume.html

https://www.petropedia.com/definition/9704/

Kategori
Tak Berkategori

How Changing Logical Topology Reduce Project Cost (Control System Discipline)

I. INTRODUCTION

Business upstream facilities are focusing on exploration. In offshore exploration, there are platforms to evaluate the well performance and guard the safety shutdown of a wellhead.

Offshore platforms have been fabricated to accommodate specific well effluent at the first stage – preliminary treatment before sent to onshore or processing facilities to meet the gas parameters and properties based on the initial contract agreement.

Nowadays, offshore platforms could be monitored remotely. Each un-manned offshore platform is connected to form networking as wide area networks. It is similar to Headquarter inter-networking to the branch office. The network type between offshore platforms is a wide area network (WAN). The offshore platform is geographically dispersed. It requires high-speed circuits leased from a telecommunication provider to facilitate connectivity data transactions between platforms.

The physical network between offshore and onshore platforms is using radio use a broadband wireless network. Thus technology radio, networking and Internet Protocol (IP) routing eliminate barrier data monitoring.

The Integrated Control Safety System depends on the required safety and process. Typically Integrated Control Safety System (ICSS) in offshore platform comprises

  • Human Machine Interface (HMI)
  • Process Control System
  • Safety Shutdown System
  • Fire and Gas System
  • The 3rd party devices such as MPFM, sand monitoring, etc.

In the Company network, the network will be divided into two data networks i.e., Enterprise network (Office Data System) and Industrial Information System. Each company has different policies and rule to define segregation between industrial network and business network. The Enterprise network will interface to the office company. The segregation adheres to Open System Interconnect (OSI) Model. Based on the OSI model, to support the offshore remote platform application such as Industrial protocol, Office, and Audio/Visual it would use at least 2 routers. To segregate between router, local PCS router, and Firewall before it passes to the Office router.

The enterprise network is logically segregated from the industrial network.

The complexity of telecom facilities depends on the requirement of the User. It means business network and industrial network is exists. Department to handle business and industrial is slightly different. Certain offshore platforms Voice over (VOIP) phone including could send an email and use office application. Often unmanned offshore platform is equipped with CCTV.

II. BACKGROUND

Modification on an existing platform which is often called brownfield projects requires a holistic understanding of the existing control philosophy. The understanding is expressed and translated to document feasibility or adequacy studies. In, early-stage identifying options and methods are responsible for every discipline engineer. Each option will have a different impact and intertwined with other disciplines. That is why the pre-FEED (Front End Engineering Detail) is conducted in the early stage. In the pre-FEED study, the engineers must closely work with the other discipline to identify options or methods that could optimize the modification.

The project follows the existing system. In an example of modification because of additional process facilities, skid comprises a unit control panel for instrumentation package. Integration require adapting to the existing system such as topology system network, power actuation (hydraulic or pneumatic), and safety shutdown system.

This technical article of the case study shows the idea of regular basis task for IT team, would bring high advantage to reduce cost in the development project.

If we are using the existing system philosophy network topology, the IT team mostly will not involve in the project. As in a typical company organization, all related to networking is usually it is under the IT department. Thus any idea related to inter-networking should initiate from instrument & control discipline engineer.

Therefore, it will evoke IT team involvement. Instrument and control systems should have basic knowledge of networking. If we did not request it the IT team wouldn’t aware of the project requirement. Often simple task in other discipline will bring lot advantage to other discipline.

Classification of instrumentation package units usually unique among the Company.

The identification boundary of the instrumentation package could start from dependencies of

  • Junction box,
  • Power source
  • Skid
  • Cable trays
  • Power source
  • Unit Control Panel Specification

III. UNIT CONTROL PANEL (UCP) INSTRUMENTATION OF PACKAGE UNITS

III. A. IDENTIFICATION PROPOSAL NEW SUBNET.

The Integrated Control and Safety System (ICSS) which monitors and guards the offshore platform is considered the ICSS supervisory. Any system supply with a unit control panel mostly will be under ICSS supervisory. The classification of the instrumentation package should be further identified by Company specification. However, full access to all package parameters shall only be possible from the Unit Control Panel (UCP).

Process control system (PCS) often as a repository for a package control system. Displays of monitoring and control presented in HMI get all the parameter information from PCS. It will then process further for alarm, trending, engineering unit scale, sequence of events.

The control room Supervisory Control and Data Acquisition (SCADA) obtain parameter data monitoring and control from the physical direct network connection to the onshore such as in star topology. However, the logical network connection between platforms for the information industrial system (SII) is ring network.

In this technical, I would like to go through one of the compressor projects in the offshore platform.

The compressor could be categorized as per independent system with a monitoring and safety system. It is connected to the existing industrial information network to perform monitoring and safety systems in form of a Unit Control Panel.

Identification option based on logical network and subnet, with the addition of a new instrumentation package complete with Unit Control Panel, therefore, there are two options:

  • Option 1, UCP connected to a local network with the same subnet. The option 1 could be breakdown into
    • Connected to PCS, where PCS as client and new UCP as server
    • Independent from PCS, it is logically connected to SCADA onshore.
  • Option 2, UCP separate from a local network with different subnet. This option is valid when there is no spare host IP available.

III.A.1 Typical architecture before additional UCP in offshore platforms.

Typical Control System Architecture

In the same subnet, the maximum host is determined by the selected class subnet.

This architecture uses a local network address. Each device has a unique IP. IP comprises:

  • Classful Addressing
  • Classless Addressing

The Local network addresses has the same subnet for all devices. Below are classful address. It is not used anywhere on the public internet, reserved for private LANs.

ClassPRIVATE IP RANGE
Start Address

End Address
Default Subnet Mask
IP Class A10.0.0.010.255.255.255255.0.0.0
IP Class B172.16.0.0172.31.255.255255.255.0.0
IP Class C192.168.0.0192.168.255.255255.255.255.0

Example of Class B Network Mask

Netwwork BitsSubnet MaskNumber of SubnetNumber of Hosts
/16255.255.0.0065534
/17255.255.128.0232766
/18255.255.192.0416832
/19255.255.224.088190
/20255.255.240.0164094
/21255.255.248.0322046
/22255.255.252.0641022
/23255.255.254.0128510
/24255.255.255.0256254
/25255.255.255.128512126
/26255.255.255.192102462
/27255.255.255.224204830
/28255.255.255.240409614
/29255.255.255.24881926
/30255.255.255.252163842

How many devices could in one local network?

The answer is based on the host portion defined by the subnet mask.

Combination of IP address and subnet mask will determine

  • Network Address.

Identifies local network

  • Host Address

Identifies unique devices on a network.

  • Broadcast Address

Only able to broadcast on the network.

A maximum number of the host IP address will be substracted by broadcast and network addresses.

Below are illustrations Network portion and Host Portion using IP Class B. The different network portion will result in the 2 devices could not communicate

After changing the subnet mask, the 2 device will turn into one network

The two devices should be in the same local network if the network portion is different it will not connect. Either changing the IP or subnet mask to obtain the same network portion.

Changing the subnet will enable the IP group in one host portion. The most practical work will use different IP in the same class with the same subnet mask. This is the most selected.

III.A.2 IP and subnet mask

Most on one platform deploy using IP Class B and IP Class C. IP Class B have more addresses per network than IP Class C. Between routers could use IP Class A.

Before we go further, why do all platforms are not connected to the same network? In practice, each platforms has dedicated PCS routers. Each platform has its network.

The SCADA system in this example Experion R210B has a maximum of 100 controllers (RTU’s). Why does it need to create a subnet if the SCADA could accommodate all controllers in each platform?

So, what happens to a large network with no subnets? Every computer would see broadcast packets from all the computers and servers on the network, resulting in the switches having to move all that traffic to the appropriate ports. This leads to increased congestion, reduced network performance, and slower response times.

  1. Improve network performance and speed
  2. Reduce network congestion
  3. Boost network security
  4. Control network growth
  5. Ease administration

source: https://www.networkcomputing.com/data-centers/5-subnetting-benefits

The SCADA system on onshore and offshore PLCs is deploy using IP Private address.

The private IP address of a system is the IP address that is used to communicate within the offshore platform. Using private IP data or information can be sent or received within the same network.

The public IP address of a system is the IP address that is used to communicate outside the network. The public IP address is assigned by the ISP (Internet Service Provider).

III.A.2.a. Physical Connection schematic of new UCP.

The logical connection will comprise of :

Additional Unit Control Panel
  • PCS as a client while unit control panels as server
  • Independent from PCS and direct connection to DCS/SCADA on onshore. If the host number still could accommodate new UCP it will use the local network (same subnet) unless the spare host number is not available, it should create a new subnet for a unit.

Both have advantages and disadvantages. It is engineer judgment to choose the best requirement although certain Company has dictated preference on the Company Specification.

III. A.2.b.1. INDEPENDENCY.

Independencies UCP network by means the logical network of UCP is connected directly to SCADA instead of PCS

Besides the advantage and disadvantage, since it will separate the network. It should perform other assessments of the new system is independencies between two systems. The safety shutdown between two systems could be performed by using hardware.

This is not an exhaustive comparison, only based on the writer knowledge and experience.

  • Do exchange data occurred between the two systems. For example, if some equations or calculations that require data from one system to another.
  • Do PCS controlled data UCP?
Item Same Subnet MaskDifferent Subnet
Advantage– It doesn’t require additional configuration on the existing network.

– It will not involve any IT department. Doing this hidden cost. It implied high-cost engineering.
– Enable to form typicality address. Data exchange table between LLP compressor and DCS onshore.

– Don’t interfere with PCS, so it will not add consume any memories to the PCS

– Reduce man-hours
Reduce repetitive document such as data exchange table
Disadvantage-Difficult to create typicality.
Each platform will be a unique address for the data exchange table
– Possibility to add a new router as a consequence HMI will connect to the new subnet mask.

IV. NETWORK

IV.1. ROUTER

The purpose of a router is to route a device/station to a different network, which is forwarding traffic to its destination based on its Layer 3 network address.

A router uses information contained in the internet protocol header to make various decisions; these decisions include

  • Path determination
  • Routing decision
  • Load balancing

Source: https://www.section.io/engineering-education/understanding-static-dynamic-routing/

IV. 2. ROUTER INTERFACE

There are several selections of router interface. The interface connection is connected between two different networks

  • Serial, The router has 2 WAN slots that can host a single-port serial module or multimode 3G module and support the following combination
  • Ethernet, RJ-45 Port
  • Fast Ethernet,RJ-45 Port
  • Giga Ethernet, SFP Port

Cisco 2621XM wired router allows you to join wireless devices through its WIC slots, which expands its functionality. This wired router comes with two Ethernet ports, one network module slot, and two WIC slots. Its built-in Ethernet card, on of the Example NM-2FE2W Module provides two Fast-Ethernet interfaces for use with copper media, in addition to two Wan Interface Card expansion slots. Ideal for a wide range of LAN applications, the Fast Ethernet network modules support many internetworking features and standards.

Cisco Packet Router is one of simulation tools contain information various module interface.

IV. 3. DIFFERENTIATING ROUTER APPLICATION

An industrial information system network is deployed using a protocol such as modbus TCP, EthernetIP, or Profinet. ModbusTCP, EthernetIP, and Profinet will have different OSI Layer Models. However, the industrial information system network is using the same router.

OSI Layer Model consists of:

  • Physical – Layer 1
  • Link Layer, consist of Header and Body – Layer 2
  • Network layer – Layer 3
  • Transport layer – Layer 4
  • Session – Layer 5
  • Presentation – Layer 6
  • Application – Layer 7

In offshore platforms, a minimum router is 2 router.

Router PCS

Router assign for Telecom, such as CCTV and VOIP. It has a different OSI layer model

  • Application Layer Protocols
  • Data Transfer Protocols for email
  • Audio/Visual Protocols for CCTV

a specific network protocol is being used to manage and transfer the data.

The destination port number is in the segment header. Transport Layer 4

Application PortPort Number
HTTP80
HTTPs443
FTP20, 21
SSH22
Telnet23
Modbus TCP502

IV. 4. Network Topology

Network Topology is using a token ring network. The ring network is selected to increase the availability. Different companies have different regulations. Certain companies decide to shut down (no-man)platform within 24 hours. If this period the maintenance could not Lose network could mean shutdown in 24 hours.

IV. 5. IP Routing

A router opens the IP packet to read the destination address, calculate the best route, and then send the packet to the final destination, and if the destination is in a local network, it sends the packet directly to the receiving computer.

IP routing is expressed in router. There 2 router consists of:

  • PCS Router
  • Office Router

Most likely by design among offshore platforms will form ring network topology form in synchronous digital hierarchy backbone network to increase the availability. However, network topology between onshore and offshore having a physical star topology network through point-to-point wireless and ethernet radio. A point-to-point network is a common method for connecting a remote site to another site.

Below are the PCS router network before the modification

Each offshore platform is the host network. So if you have 8 platforms then you have 8 host networks.
With, a new subnet mask in the same platform it means the new device will be a new host. Data exchange between two systems to demonstrate a level of independencies between two systems.

IV.6. Interconnection logic network

This modification will perform in each routing table on the router both on the onshore and offshore platforms. Below is an illustration that adding a new subnet will reduce the cost of the man-hour project.

Routes are used to determine where the IP packet is sent to a router on the network. The interfaces on the router write the network addresses that are connected to them in their routing table. Therefore, the router decides where the IP packet will go according to the records in the routing table. A static router is manually configured to define the path, therefore whether new subnet or new IP in the same subnet, each router should be configured to define the path.

There are 3 types of routing:

  1. Static routing, Static routes are user-defined routes that cause packets moving between a source and destination to take a specified path. Static routes provide fixed routing paths through the network. They are manually configured on the router. If the network topology changes, the static route must be updated with a new route. Static routes are private routes unless they are redistributed by a routing protocol.
  2. Default routing, also known as gateways of last resort, are used to route packets that are addressed to networks not explicitly listed in the routing table
  3. Dynamic routing, In dynamic routing, the network protocol adjusts the path automatically, based on network traffic or topology. Changes in dynamic routes are shared with other routers in the network

The router could be configured default, static or dynamic. Mostly offshore platforms will utilized combination of static and dynamic. The selection is based on several judgments and conditions. The ring network between offshore platforms is using static routing., static routing is commonly deployed. In terms number of offshore platforms, it is not a large network. Static routing is a process in which we have to manually add routes in the routing table, therefore no bandwidth usage between routers. It adds security because the only administrator can allow routing to particular networks only.
Dynamic routing tables created using routing protocols. These protocols are used to communicate between routers proving the information about the most efficient way to route data.
Below is an illustration of an existing ICSS network. The logical network is configured manually in each router to define the path

IV.7. STATIC ROUTES

This study case uses a static router. The background reason for using the static routes is suitable for static compare to dynamic.

When to use static routes

Static route can be used to:

  • Reduce the number of routes advertised by a router.
  • Create a backup route if the primary route fails.
  • To connect a device to a specific network
  • To connect a stub router or a stub network.

Advantages of static routing

  • It provides easy routing table maintenance in networks.
  • Static routing consumes less bandwidth when compared to dynamic routing as no CPU cycles are used in route calculation and communication.
  • Because static routes do not advertise their route over the network, it results in better network security.

Limitations of static routing

  • In large networks, configuring and adding a static route to the routing table is very difficult.
  • Configuring static routes requires background knowledge of the network topology by the network administrator.
  • A static route is error-prone.

Below are the illustration of routing to ensure the idea is working

Below is the example of using dynamic routing

As seen the red highlight routing, to create connection from Server DCS A onshore to PCS Platform C, the router .

Routing Information Protocol (RIP) is a commonly used routing protocol in small to medium TCP/IP networks. It is stable protocol that uses a distance-vector algorithm to calculate routes.

RIP declare on the router Platform A

the network related to the path

192.168.1.0

10.0.0.0

11.0.0.0

RIP declare on the router Platform B

the network related to the path

10.0.0.0

11.0.0.0

RIP declare on the router Platform C

the network address related to the path

11.0.0.0

172.17.0.0

Below are the illustration if using new subnet mask for the UCP. One more interface port is utilize.

IV.8. HMI to new UCP

Often a UCP has a dedicated HMI, it represents the detail of the package system. This includes start-up sequence and start-up and maintenance inhibit.

Part of the display will be copied to the HMI process platform. It is necessary since, during the start-up process, the operator has to ensure other parameter processes before running the package system. In normal operation mode, it will be used to monitor the other process and package system in stable condition.

In HMI, new IP will be added to retrieve data from UCP.

The UCP is using a new subnet mask. The connection HMI to UCP could deploy using VLAN Routing. VLAN Routing is creating a segregation connection from HMI to UCP. The additional UCP will add the server to the HMI

  • Connection HMI (client) and PCS (server)
  • Connection HMI (client) and UCP (server)

Inter-VLAN for HMI could be created if UCP is using new subnet mask.

V. THE COST REDUCTION

Cost reduction is due to typicality. The 3rd party system package could be typical on all platforms.

  • Each platform will have a uniform P&ID including the tag
  • Each 3rd system package could have the same Modbus address in all platforms cause it doesn’t depend on an available address on the PCS existing.
  • In the onshore control room, DCS address could be only distinguished by the Modbus slave based on the area while the numbering order will be same.

IV. 1 Engineering document

If there are 5 offshore platforms, there are repetitive engineering work that could reduce such as

  • P&ID for instrumentation package could be typical instead of each platform.
  • Modbus exchange data table could be typical instead of each platform.

IV.2 Human-Machine Interface (HMI) Modification

Because of additional UCP, the local HMI shall be modified as well, the modification will include an additional page, Modbus address, and new controller.

  • Display UCP could be similar on all platforms. Therefore, if HMI is identical in each platform, it will give more advantage to the man-hour.
  • Modbus address order could be the same/similar for UCP in all platforms.

IV.3 Process Control System

Since SCADA onshore has a direct network connection to the unit control panel, therefore, no major interference with PCS. It will not consume memory.

IV.4 SCADA

As they do not connect it to the PCS router, the address for retrieve information could be in the same order on each platform. The addressing could be the same, the difference only the IP for each platform.
By doing this, the only difference is the area numbering usually found on the front of the tag name.

in example 11-PT-001, 12-PT-001, and 13-PT-001

  • 11 = Area A
  • 12 = Area B
  • 13 = Area C

VI. CONCLUSIONS

The magnitude cost of reduction is not presented in this article. This is a study case to reduce the cost that this modification could reduce labor force, repetition document during basic engineering but the writer could not exactly quantify the magnitude cost reduction.

Different Companies may use a unique approach. Discussion with technical authority Company. It required a project management team to achieve the goals.

REFERENCE

The Best Damn Cisco Internetworking

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_pi/configuration/xe-17/iri-xe-17-book/m_iri-iprouting.html#GUID-53B02A9E-AFB1-4985-A292-81BAA4A22F14

https://www.cisco.com/c/en/us/td/docs/routers/access/800M/software/800MSCG/routconf.html#24575

Kategori
Tak Berkategori

SOLVING OPEN CHANNEL FLOW METER PROBLEMS

I. Introduction

The scope of this project was to obtain tangible efficiency turbines through mass balance water input and output by the deployment of flow rate sensor from various point measurement inlet and outlet at Water Treatment Plant for Power plant (Coal). The application was for monitoring only. No control sequence or safety shutdown system involves.

Among these flowmeters, a specific case that drains our attention.  It was solving the open channel flowmeter on the outfall unit from the condenser. The water cycle operation is never expected to shutdown, either 2 x 50% or 2 x 100% operation of power generation. This situation contributes to the complexity of hydraulic structure/weir installation.

An open channel flow meter is not frequently part of the scope project not many as flow meter carried in closed conduits that flow completely the piping system. In this article, I would walk you through to capture the problem encounter during the installation hydraulic structure of open channel flow meter. In the end, it will influence the selection sensor for open channel flowmeter to enable the installation and to eliminate the possibility of failure.

Weir, as seen in the construction design, is essentially a dam built across an open channel over which the liquid flows. It simple based on the design especially when selecting rectangular weir without end constructions. I overlooked the weir thickness requirement and installation method. The installation method is so crucial in order to place the weir as a hydraulic structure.

The requirement thickness should be calculated by a structural engineer in regard to force exerted on the weir. Moreover, the installation method should review by construction engineer since the water flow could not be stopped, only in certain circumstances, the water flow will undergo low flow rate.

The other difficulties factor is we don’t have structure or installation engineer, so we fully trust the responsible for structural and installation scope to the contractor. It was not all the contractor’s mistake since we didn’t request any calculation and installation procedure document.

All the explanation below is related to the projects.

II. PLC and HMI

I was in-charge for programming, designing, and configuring both Programmable Logic Controller (PLC) and Human Machine Interface (HMI). Although there is A comprehensive guide selection of PLC is available in relevant details such as IEC 61131-1 and IEC 61131-2.

In common practice especially for PLC package in an existing plant, PLC is selected based on, as follows:

  1. Hazard and operability study (HAZOP) to identify the requirement of safety integrity level for the PLC
  2. The capability to cope the application.
  3. Project budget.
  4. Certain population PLC on the User/Company premises.
  5. Service availability PLC product on the country.

In this project, the PLC selection was toward to no.4 besides the project budget. It was agreed to use PLC Simatic S7-1200 CPU 1214C. S7-1200 is sufficient for the specified application. The main application was to monitor flowrates on different locations at demineralize water systems. There is no control and safety requirement for the shutdown process.

Nowadays, PLC developer is competing to create integrated automation software with one engineering environment and one software project for all automation tasks. Siemens has built an integrated software portal named as TIA portal. This is a Control Engineering 2012 Engineers’ Choice award winner. As a user I admit, it was really convenient and easy using Step 7 professional and RT advance. However if you are a new learner, it is recommended to read the guideline to familiar the program blocks. Selection engineering software depends on the controller model. Actually, STEP 7 Basic is sufficient. However, since the plant has various Siemens controllers into it is decided to use STEP 7 Professional.

Whether it’s the inexperienced or experienced writing the PLC program, simple ladder logic, and a step sequence is often the best solution. It was developed using ladder logic and function block diagram, Step 7 utilize grouping the ladder logic name as a network.

After deciding the PLC brand, there are several factors to be considered such as.

  • Power supply quality
  • PLC Program
  • Signal transmission
  • Conformance to Hazardous Area

II.1 Power Supply Quality

AC voltage is the main source power, vendors provide module AC to DC with various power wattage. Each power module will supply PLC rack. It will power the I/O module either through the back plane or cables. Most cases, field instrument is using dedicated AC to DC power supply. Power supply quality is important for a steady condition for the I/O module either analogue or digital module.

It should carefully evaluate when PLC power supply is the same source with an inductive load such as a motor. Power quality should be one of the considerations when utilizing 4-20mA analogue input. Power quality refers to the ability of electrical equipment to consume the energy being supplied to it. A number of power quality issues including electrical harmonics, poor power factor, voltage instability and imbalance impact on the efficiency of electrical equipment. Equipment instability and failure.

Below is a simplified interconnection diagram, one of example when power quality could interfere 4-20 mA signal and flickering digital signal. The symptoms analogue fluctuation and flickering always occur whenever the density sensor connected to the AI Module.

At first sight, we suspect it comes from inductance coupling between cable AC and analogue, digital wiring (24VDC). Although the arrangement cable inside the cabinet has been separated between AC and 24VDC. The distance is adequate to minimize inductance coupling using a cabinet with a width of 800 mm.

We also suspect from grounding issues. We have to provide proper grounding for the power supply PLC and power supply converter 220VAC to 24VDC. Since not all companies segregate between instrument grounding and power grounding only equipment with source 220VAC is connected to dispatch grounding.

In the end, we figure out that the problems are caused by power quality due to harmonics. So we decided to use AC to AC converter. It solves the problem.

II.3 PLC Program

PLC program of this project consists of:

  • Scaling complete with simulation input
  • Alarm (High only, High-high provides but not use since no emergency action applied for flowrate)
  • Totalizer

This program is a standard basis for a flowmeter. The scaling and alarm function block could be combined (as seen in figure 1). The function block is created by user from the basic function block.

Not all user function block requires developing from scratch. Siemens has provided additional add-on libraries available on their website. One of the examples is Totalizer.

Gambar ini memiliki atribut alt kosong; nama filenya adalah ft-007.png

II.3.1 Memory Capacity

The size of memory capacity depends on several factors even the style of programming could affect memory capacity. Deciding memory capacity is vital when the plant is continuously extended or expanded.

The other factor of memory capacity as following:

  • The number of input-output, number of variables, constant, and contribute to consume memory IO.
  • System architecture with other devices.
  • The individual style programming and programming language.
  • The Complexity of the application. Scaling, mapping, and alarm are typical or standard program. One of the examples complexity programs could be is represented in the control loop method. Feedforward, Close loop, 2 degrees of freedom control etc.

II.3.2 Scaling 4-20mA to Engineering Unit

Raw value as a representation of 4-20mA could have a different minimum or maximum value among the modules. The value to be determined based on the function purpose. Below are different full-scale ranges among the module.

The engineering unit scale between PLC and transmitters should be the same. Thus, a linearity relation between 4-20 mA and the engineering unit is created. 4 mA as lower range value and 20 mA as upper range value.

However, you need to decide the unit and scale to be sent from the transmitter.

In the example of a Magnetic flow transmitter, the information conveyed in 4-20mA could be presented in either velocity or flowrate. If you choose a velocity, in consequence, the flowrate equation should be created in PLC program.,

If the engineering unit scale between PLC and flow transmitter is different the linearity between the devices will be different. In addition, errors contribute to non-linearity. There is four error that contributes

  • Zero Error
  • Span Error
  • Linearity Error
  • And the combination above

In case this happens, the display in the transmitter and HMI will be different.

II.3.3 Totalizer

Totalizer is used to determine the accumulative flowrate during a certain period. For example, “in the last 60 seconds, there have been 30 gallons of water flowing by the sensor.”

To obtain consistency accumulation during certain periodes, Totalizer should be considered as an interrupt. Thus regardless of the complexity of the program. It would give high priority to maintain a consistency time period.

One you should aware of when implementing Totalizer in the PLC program. The raw value should be limited for instance 0 to 27648. Over and under this value, it should be identified as an error. The error should not consider as a value in totalizer. It should hold totalizer or give input value 0 on the totalizer function block. Over and under range, the value could be used to identify short or loose cable wiring.

II.4 Signal Transmission

Selecting signal transmission to convey the information Besides conventional 4-20mA, the other option is to use HART. HART protocol offers a number of advantage however there are drawback should be considered.

Much technical literature is available to explain HART protocol in detail. The compatibility between HART and 4-20 mA wiring. Field transmitter complete feature HART enables to ease of calibration system.

Several advantage when using HART Protocol as following :

  • Not necessary to provide scaling analogue function block
  • Totalizer is not requiring defining the PLC program. Totalizer is available on certain field instruments. PLC will send a command to start and stop the Totalizer.
  • Besides the primary variable, the other parameter could be obtained. Other parameter known as a secondary  variable, tertiary variable This variable could retrieve by three classes of HART commands:
    1. Universal commands
    2. Common Practice commands
    3. Device-Specific commands
  • If there were concerns about hazardous areas, HART protocol is claimed to be more intrinsically safe.

Therefore,   it is depicted that HART has an advantage over conventional 4-20mA. There are several things to be considered in order to use HART

  • Do they possess Asset Management
  • SystemCPU (processing unit) and AI cards should be compatible. For Siemens PLC, HART is using ET200. This series is far compared to the S7-1200 series
  • Version to be check
  • Selection of cabling system – Peer to peer or multi-drop.
  • Installing or enabling resistor 250 ohm. Scaling is not required even you could retrieve 3 data parameter simultaneously named as
  1. PV; Primary Variable
  2. SV; Secondary Variable
  3. TV; Tertier Variable

II.5 Hazardous Area

Mostly, PLC is located in a safe area i.e. technical room, meanwhile, the field transmitter is located in a hazardous area. Hazardous area certification for field transmitters should be inline with the wiring. When using conventional 4-20mA, the wiring in the hazardous area needs to be check. Mostly, when the PLC and the field transmitter have different hazardous areas.

III. HMI

Human Machine Interface is a user interface or dashboard that connects a person to a machine, system, or device. It is stand-alone and independent from the existing DCS system.

The selection of HMI is based on the architecture of the application. The architecture of HMI/SCADA will determine the license to be purchased. There is more detail, for selection HMIa . Below are several overviews

  • Independent/Stand Alone. The license either development or runtime license.
  • SCADA Based, If SCADA is selected next it to decide the sharing data., DDE Server, OPC or combination
  • SCADA based definitely require development license
  • Web client

This project is using Wincc RT Advance

There is an option based on feature and scale-able of

  • Basic
  • Comfort
  • Advanced
  • Professional

The reason to deploy Wincc RT Advance it has minimum features to covers the flowmeter application. In general, the HMI consist of

  • Representation displays such as P&ID. Symbol and coloring mostly based on the industries. The company could also produce specification and regulation for symbol and coloring
  • Alarm management, it will be guided through ISA. Alarm animation is important for operator to identify situation.
  • Inhibit
  • Logging, (logging of process values and alarms). Please be aware logging Options for WinCC runtime Advance
  • Trending, Individual trending each flow transmitter

III.1. General Alarm

General Alarm has different tone for specifics events. Indeed, it is different between Company. To notify all attendant in the plant. Each area is equipped with annunciation.

This project didn’t integrate with existing General Alarm

III.2 Alarm

In industries where process hazard analysis results in minimum SIL 2. It requires 2 systems separated. Process Control System and Safety shutdown system.

When these systems exist. Grouping occurrence of alarm based on the system. PCS covers high and low alarm while SSS generate alarm High-high and Low-low. High-high and low-low alarm have consequence action to the process closing the valve or stopping the pump.

As stated, this application only for monitoring there is an alarm rule that could be waived. No intervention by maintenance personnel is required. High-high and a low-low alarm is not mandatory thus reset alarm through acknowledge is not mandatory either. The alarm logging is available.

The other feature does not require are

  • Maintenance inhibit
  • Start-up Inhibit

III.2.2 Alarm Animation WinCC

Alarm animation is important for an operator to know the condition of the plant. Usually, each company has different specifications for color and shape to animate the process plant.

It could be similar to the same type of business or industries.

I found that the way to represent alarm animation assign to a variable on WinCC advance is kindly different from other software HMI. Usually, the shape contains 2 tags or 1 structure tag.

Usually, I use structure to group alarm for one tag i.e.

  • PT001.HH with set point 90% of the maximum range
  • PT00.HH with set point 70% of the maximum range
  • PT001.L with set point 30% of the maximum range
  • PT001.LL with set point 10% of the maximum range

The other way is to generate dedicated variable i.e

  • PAH001
  • PAL001

The alarm is discrete 1 or 0; True or False. Meanwhile RT Advance uses integer value to generate different level alarms. The way to generate an alarm on RT advance is kindly different from what I use on other HMI. RT Advance use integer value to generate different level alarms

Faceplate

A faceplate is a configured group of displays and operator objects. The “data exchange” with the display and operator objects contained in the faceplate is performed via an interface at the created faceplate.
The properties of the used display and operator objects are assigned to the individual objects in the “faceplate editor”. Faceplates can be managed and modified in a central library.

This project use faceplate as seen below. No control applied on the faceplate. No universal standard for a faceplate. It is custom depends on the application. In this project, the faceplate consists of

  • Individual trend flowmeters
  • Individual log measurement
  • Individual totalizer

IV. FLOW TRANSMITTER

All flowmeter is connected to the new dedicated PLC and HMI. It is stand-alone and independent from the existing DCS system.

In a standard basis, selecting flowmeters usually based on the

  • Accuracy requirement (for fiscal service or not)
  • Type of fluid and other fluid parameters
  • Installation constraint. Equipment that can be reached for inspection, repair, or monitoring from permanent platforms is more likely to be inspected, calibrated, and replaced than equipment that requires climbing with a safety harness or scaffold.

There were 3 types of flowmeters used in this project

  • Vortex flowmeters, operate under the vortex shedding principle, where an oscillating vortexes occur when a fluid such as water flow past a bluff (as opposed to streamlined) body.  Vortex mostly uses in application of steam.
  • Magnetic flowmeters, this type of flowmeter is very common for water service due to the dominant conductivity parameter.
  • The ultrasonic flowmeter as a secondary device. The ultrasonic level meter is not only used for the level meter but it could use as a parameter to determine flowrate of open channel water. The equation will be embedded in the PLC program. For this application, it implements for the open channel consist of culverts and open channel.

Each flowmeter has a different method to obtain the flowmeter value. Each will have a different equation.

In the case of open channel flowmeter, there are several methods. The primary device for ultrasonic flowmeters are:

  • Weirs
  • Flumes such as Parshall flumes, Cutthroat Flume

IV.1 Rectangular Weir

In the first design, we use rectangular weir for the simplicity design

Flow rate equation based weir method, Q = 6620(L-02.H)H1.5,

Where :

Q = flowrate

H = head on the weir

L = crest length of weir

K = constant dependent upon units

IV.2 Cutthroat flume

There is a similar method as Parshall flume named as a cutthroat flume. In this project, the cutthroat flume is applied to measure flowrate at sewerage as a primary device.

W=KW1.025Han = CHan

Q=free flow rate(cfs / m3/s)

K=flume discharge constant (varies by flume length/units)

C=flume discharge constant (varies by flume length/throat width / units)

W=throat width

Ha = depth at the point of measurement (feet / meters)

n = discharge exponent (depends upon throat width)

The constant flowrate equation Parshall flume is determined by the selection range of flowrate and the dimension of open channel. More detail is available in the link below

https://www.openchannelflow.com/flumes/cutthroat-flumes

There are two ways to obtain flowrate using ultrasonic. In reality ultrasonic only measures the height. The flowrate equation could be configured either in the ultrasonic transmitter or PLC.

Ultrasonic level to produce flowmeter value

IV.1.1 Selection of 4 wire or 2 wire transmitter

The selection 4 wire or 2 wire transmitter is the intention of the user and evaluation actual condition. These transmitters are called “4-wire” or self-powered. The current signal from the transmitter connects to the process variable input terminals of the controller to complete the loop.

Mostly the reason to use 4 wire as follows:

  • PLC is not available as acquisition data. The transmitter should have displayed on the transmitter so measurement is readable
  • Three and four-wire devices incorporate an external power supply in order to effectively eliminate the voltage drop placed on the processed signal current loop
  • Some device is not available as 2-wire. Some sensor requires external power to drive the chemical/mechanical event in the transducer.

V. INSTALLATION

The initial design was proposed using Parshall flume, the idea was to avoid high force when the maximum flow rate through the primary device. However, the member team decided to use weir for the simplicity of the design. It was understandably the main concern of the project team, Parshall flume is not easy to construct. In addition, there were no local vendors able to precast the Parshall flume.

We decide to use Weir to measure the water meter outflow unit. As a reference, I use Flow Measurement Practical Guides for Measurement and Control Handbook published by ISA.

Weir are the simplest, least expensive, and probably most common type of the primary measuring device used to measure flow in open channels.

After sizing the weir, I don’t pay attention to the installation procedure. There are two rectangular channels. The water flow never stops flowing.  The only possible scheme is to place it down during the low water flow. Since it is using concrete, I thought with this weight it will easily dip into the water. Moreover, construction and installation are responsible to the contractor. If the contractor confirms they could install it then it became their responsibility. As a team, we really don’t concern about this until the installation start.

The installation method for the primary device for open water is really critical. It is even more important than sizing. If the installation seems impossible then quickly turn to use other methods.

High water flow is a detriment to the weir or Parshall flume structure.

Since we don’t have a data flowrate outlet, the sensing range flowrate only through observation. I was not sure the water flows were in low or normal flowrate, but it is convincing that it would not disrupt the process when laying down the weir structure using a crane.

It is not as expected, when the weir structure dipped into the water as it water tip the bottom weir structure, the hoist cable start swing. The degree hoist cable swing becomes bigger when the weir dipped deeper to water until the crane start to lift from the ground. The installations stops and not continue.

Basically there are two option solution from my knowledge

  1. To find a way for a better method of installation. However, there still a risk if the installation fails again.  Moreover, the remaining project budget reveals that there is no room for failing.
  2. Change the flowrate measurement method with an admissible installation scheme.

After gathering information, the most reasonable is option 2. It automatically changes the equation to

Q = A x v

A = surface area

V = velocities

A = length x width where length is similar to height (H). Height(H) will be determined using the ultrasonic sensor. The width of channel is 2 mtr.

Now to determine the method velocity.

The first option is using the non-contact method

Non-Contact Sensor

The velocity could be measured using ultrasonic or laser. Laser velocimeter has a laser diode to determine the stream’s level by emitting an ultrasonic pulse and measuring the time it takes for the an echo to return for the stream’s surface. The transducer is both a pulse transmitter and an echo receiver. Certain manufacturers already provide integrated between velocity sensor and level sensor. Since the ultrasonic is measuring the level. The remaining sensor is the velocity

It could be installed on the surface. Since the flow much turbulence it is and a lot of ripple on the surface. We consult to the vendor, their recommendation is to

Contact Sensor

The Second method contact by immersing the sensor

The other could be installed inside the water. The sensor is installed at the bottom of the channel.

Not many vendors provide this sensor. I search on the internet, that moment I only find Mainstream Measurement. It sells variety product of sensor in immersed water.

The velocity sensor is designed to operate immersed in the liquid and is installed at the bottom of the channel where the measurements are to be taken. Below are photos during the installation of velocity sensor immersed in water.

We finally complete the project. Thank you for all the team who participate in this project especially my colleague construction engineer (Mr.Chris) who design the structure to hold the immersed velocity sensor. It was critical to complete this project.

VI. REFERENCE

[1]. Spitzer, D.W., ed. 1991. Flow Measurement.

[2]. https://www.openchannelflow.com/flumes/cutthroat-flumes

[3]. https://mainstream-measurements.com/

Kategori
Tak Berkategori

Optimization Instrumentation on Existing Facilities Wellhead Flowlines

I. BACKGROUND

For companies that business lies in upstream industries where continuous to explore new reservoirs to deliver the amount of gas according to a contract agreement. Exploring new potential reservoir, installing wellhead and tie-in the flow line to existing manifold called well connection. Well-connection is the heart that pumps the company (upstream industries) to operate and run. The various engineering work of well-connection is repetition and could be group based on the typicality. Since well-connection is repetition work and tight schedule, often it is overlooked. Improvement is always open if we have comprehensive knowledge about technology.

Improvement along with cost reduction will have outcome optimization. For a mature exploration field, the term “optimization” plays a major role in cost savings. Optimization is targeted to reduce significant cost either Capex (Capital Expenditure) or Opex (Operating Expenses).

Cost reduction is responsible for all entities in the organization.

As a Senior Instrument and Control Design Engineer, you often encourage yourself to bring a new idea for improvement and delve into the details. In several occasion, improvement is proposed and requested by production and process department. Other disciplines such as electrical, instrument and control systems will support this request. For this particular improvement, it is initiated by self-insight. The objective was to gain self-accomplishment to give added value to the company.

II. OBJECTIVES

For this case improvement and cost optimization is address on wellhead and wellhead flow line measurement which is part of well-connection work.

III. EXISTING DESIGN

III.1. WELLHEAD

Below are the typical schematic connection to measure pressure and temperature on the wellhead x-mass tree. Wellhead platform is located remote where no electrical power available. The measurement uses a paper chart recorder. The paper chart recorder movement is either power by internal batteries or mechanical key wounding.
Paper chart recorder (well-known brand Barton) are measuring and recording wellhead parameters as follows:

  1. Annulus Pressure (Casing Pressure)
  2. Tubing Pressure (Production Pressure)
  3. Tubing Temperature (Production Pressure)

III.2 FLOWLINES

Whilst the typical measurement flow rate (compensated) on flow line as seen below. Measure parameters are as following:

  1. Differential Pressure (inH2O)
  2. Pressure upstream Flow Element(static, barg)
  3. Temperature flowline (degC)

Within this configuration, NUFLO Scanner 2000 is using internal battery 7.2V 17Ah. The internal battery is not rechargeable. The internal battery should be continuously expedited. The other problem is a decision when to purchase the internal batteries in order not too long place in storage. Guidelines for storing batteries should be followed to avoid excessive self-discharge.

IV. THE IMPROVEMENT and OPTIMIZATION

Based on the two device measurement on wellhead and flow line, it could be integrated only using NUFLO Scanner 2000 as schematic connection below

This improvement is to optimize the capability of NUFLO Scanner 2000. NUFLO Scanner 2000 able to receive additional 2 analogue input if it utilizes additional cards (expand I/O).

2 Analogue input will be assigned for:

  • 1 ea analogue input to be assigned for Pressure Tubing (production)
  • 1 ea analogue input to be assigned for Pressure Annulus (casing)

The remaining tubing temperature will utilize the RTD sensor from currently being used for temperature flow line. Meanwhile, RTD on temperature flow line will be replaced with temperature gauge.
You will instantly notice, the temperature is different between the wellhead and the flowline. The temperature on flowline is lower than the temperature on the wellhead. If we use input temperature from wellhead it will affect the flow rate calculation. But this difference is not significant and it is acceptable.

Since this application is not for metering purpose rather than to control manual choke valve opening. In addition, throughout the well life cycle, fluid density is held constant, thus temperature will not main factor for flow rate compensated.

The other option is to use temperature on wellhead only for recording, not as input for flow rate compensated equation. The temperature for flow rate compensated is considered as constant, set by the metering team.

Both pressure sensor for pressure casing and tubing signal is conveyed with an output of 4-20mA. As stated previously, existing configuration is using internal power. In order NUFLO Scanner 2000 could be as loop power two wire, it will requires external power supply 24VDC.

The external power supply 24VDC is provided by the lithium-ion battery power pack. It is rechargeable meanwhile internal battery is not rechargeable.

The lithium-ion battery power pack should be equipped with a protection feature such as a protection circuit that limits the peak voltage of each cell during charge and prevents the cell voltage from dropping too low on discharge. In addition, the cell temperature is monitored to prevent temperature extremes. The maximum charge and discharge current on most packs are is limited to between 1C and 2C. With these precautions in place, the possibility of metallic lithium plating occurring due to overcharge is virtually eliminated.

V. ADVANTAGE & DISADVANTAGE

Despite improvements with its advantages, any modification has its drawback to be considered. Often disadvantage comes from other aspects which not related to improvement.

Following are advantage of this improvement

  • Paperless
  • Higher accuracy reading due to digitize reading
  • All data parameter are recorded up to 30 days

Meanwhile the disadvantage as following

  • High initial cost for battery power pack (including charger)
  • Additional work for carrying battery power pack for recharge
  • To be define who will be responsible to maintain the lithium-ion battery pack, electrical team or instrumentation team.
  • Not yet found a product that conforms to hazardous area certification for this battery type. Hence, it should be located outside zone 2 (non classified area

VI. POWER CONSUMPTION

The remote wellhead platform does not have an electrical source. External power will be provided by power pack batteries. Batteries power packs are very custom, in order to able to select the battery power pack. Power consumption should be calculated.

Based on the average lifetime of an internal battery, the average current consumption NUFLO Scanner 2000.

Note :The average lifetime of the internal battery could result different if you control the update rate. So this calculation result might be different depends on the update rate requirement.

1 ea lithium-ion battery pack with 24VDC and 46.99 Ah may have different weights among the manufacturer. Battery lithium-ion with capacity 40 – 50Ah 24VDC would weight around 11 – 13 kg. It is considered as heavy. In this design, I decided to select the batteries with weight 5 up to 7 kg. However, within this selection weight, the capacity will rated 20 – 25 Ah. The selection of battery weight is related to the charging method. The expected duration of lifetime will reduce up to 45 days.

VII. CHARGING METHOD

A lithium-ion battery is critical during charging. This is why I decide no automatic charging onsite. Moreover, power by solar panel is not considered since this material is highly attractive for thievery. If the batteries have reached minimum level voltage, then the batteries will be carried out to onshore (accommodation) for recharging. Since the charging is onshore, attention should be address to consider the weight of batteries to be hand carry.

1 ea lithium-ion battery pack will cover 1 NUFLO Scanner 2000 with associated sensors. Yes, you could increase capacity Ah by configuring parallel but since this installation is in a hazardous area it would be safer not configuring batteries in parallel or series. Parallel/series battery configuration has the possibility to generate a spark when fixing or dismantling the connection bar. So I recommend only to use an individual battery pack. As possible the location battery should be categorized as non-classified area (outside zone 2).

Onsite, batteries will continue to discharge. Therefore, the lithium-ion battery pack should be facilitated with a battery management system in order to maintain the voltage does not go below minimum voltage. When the battery has reached the minimum it should able to give an indication to the operator and it will automatically cut power to the device (load) in this case NUFLO Scanner 2000 and accessories sensors.

VIII. BILL OF MATERIAL

Next are selection material to perform the modification

IX.CAPITAL COST

I could not provide comprehensive capital cost. This capital cost intended for comparison. I didn’t consider the cost of man-hour to perform this modification.

The gain of improvement is estimated USD 1788.45 (USD 5500 – USD 3711.55). Usually, this value is small compared to overall well-connection work. However, if in 1 year at least there are 50 well connections, this saving is worthy.

This price quote was in 2018

Conventional Barton Chart approximately $ 5500 USD

X. IMPLEMENTATION

I have not yet implemented this improvement and optimization due to the procurement company policies of batteries. Company has restricted import product directly without any local agent. We are trying to solve this issue. Hopefully in the future, I could update the result.

XI. REFERENCES

  1. https://batteryuniversity.com
  2. https://www.lithiumion-batteries.com/products/product/12v-40ah-lithium-ion-battery.php

Kategori
Tak Berkategori

Wi-Fi+Ethernet Remote IO and Wireless System(HART / ISA100)

I would like is to share experience and knowledge through this article. This was based on my experience. In this article, I wouldn’t explain the basic concept of wireless. There are a lot of good sources if you want to learn wireless transmitters. 

The authors will not be responsible for any loss or damage arising out of or resulting from a defect, error or omission in this document or from any users use or reliance on this document.

This article does not attempt to detail minor differences between WirelessHART and ISA100Wireless devices; nor features specific to the vendor; nor provides exhaustive studies of integration with various host systems.

Anyway, the manufacturer’s instructions on the use of any commercial product must be followed at all times, even if in conflict with the information in this publication.

The objective is to offer another system which has similar to wirelessHART/ISA100wireless. It can be considered as another option for a wireless system. It is a combination between wire and wireless but eliminating the high-price part .e.g multipair cable, variation cable tray size.

The reason I say it similar is based on several factors :

  • Same standard technology in antenna.
  • It is possible to use Mesh topology although different standards as wirelessHART / ISA100Wireless.
  • It doesn’t require a Programmable Logic Controller (PLC) to manage and retrieve the data. It could directly retrieve by Human Machine Interface(HMI).

Wireless networks offer highly flexibility installation for existing building and offshore platform structures. Henceforth, wireless significantly reduces installation costs. In certain occasion, installation of sensor/transmitter will encounter difficult to hook-up which require a lot of scaffolding, no possibility to lay cable tray and cable due to road crossing or separate location by road/sea, etc.

During my early career as Instrument and Control System Design engineer, I always design with the most sophisticated and latest product. Thus, sometimes I overlooked at potential problem on maintenance and spare part.

Now, as I have more experience and more involve with different departments, I’m able to look broader views and long term problems.

In example, one of the long-term problems of wireless is providing spare batteries for wireless transmitters. In country which import batteries from the origin manufacture country, mostly there are 2 main problems

  1. Price, some country will not allow to purchase directly from the manufacturer. It has to purchase from the official distributor on that country. The problem emerges if there is only one sole agent. Price often determines by the sole agent not the market.
  2. Delivery time, usually it takes at least 10-12 weeks.

In addition to resolve the delivery time, battery is purchase in advance, but issue of self-discharge and aging should be considered.

Let’s start with the limitation scope of design

  • Area coverage hundreds meter, WLAN (wireless local area network)
  • Quantity IO around 10-15 Analogue Input
  • Remote location meaning there are no or minimum habitat
  • Only monitoring without supervisory control thus update rate is not essential.

The system architecture is as following

Figure 1. (Without PLC)

The equipment list as following:

  1. Conventional Transmitter, 4-20mA, e.g. Endress Hauser, Yokogawa, Rosemount
  2. IO logik E1200 Series , Moxa
  3. Transmitter, Power Beam antenna, Ubiquiti
  4. Receiver, Omni antenna, Ubiquiti
  5. Industrial Ethernet Switch, unmanageable
  6. Desktop PC with Reliance as HMI application

Actually, we have try with 2 ea power beam antenna and 1 ea omni antenna. Even the PLC as client as well, we don’t find any latency issue.

Another additional feature is to use Programmable Logic Controller (PLC). The system architecture could be as following.

Figure 2. (With PLC)

Basically, PLC is not mandatory if the application is for monitoring only, unless there is something to control.

If PLC will be utilized, there are two option of logical network

Figure 3. Option 1

At the first option, PLC as repository data then HMI (Operator Station) will retrieve all data from PLC.

Figure 4. Option 2

At the second option, there two client simultaneously, PLC and HMI are requesting to Ethernet remote IO.

I use the second option since the remote IO logic E1200 is able to send data in real (floating type). Both HMI and PLC retrieve data in floating type 32-bit. PLC is installed for future development.

All IP is configured based on Private IP Addresses Class C

The first option (figure 1) mostly will be benefit if

  1. The protocol between PLC and HMI and PLC to field device is different, e.g., PLC and HMI is Ethernet I/P while PLC and remote IO Logik is modbus TCP
  2. Redundant HMI
  3. More than 1 client control station

I. IO Logik E1200 Series

The IoLogik E1200 series is Industrial Ethernet remote I/O. It has two embedded Ethernet switch ports that allow information to flow to another local Ethernet device or connect to the next IOLogik in a daisy-chain.  More detail could be find in the link

https://www.moxa.com/en/products/industrial-edge-connectivity/controllers-and-ios/universal-controllers-and-i-os/iologik-e1200-series

It has 8 AI channel. AI input range has 2 mode. Voltage mode (V) and Current Mode (mA).

Scaling from 4-20mA to engineering unit could be enabled on the device.

If the auto scaling is enabled you don’t need to obtain the raw data. Result of scaling in real type data (Floating point) available from the modbus address. Data format is

II. Antenna, Transmitter and Receiver

The Wi-Fi antenna has capability to support modbus TCP protocol. As this application is using modusTCP,  You will need to change the web server mode, server port from 70 to 502 to open the modbus TCP port. The other setting is left to default. Both Transmitter and Receiver have the same configuration.

Radio Transmitter
Radio Receiver

For information, there are server port list could be configured based on well-known and registered port numbers for particular practice as shown table below.


I haven’t yet trial for Ethernet/IP protocol.

III. HMI

Since it using ModbusTCP protocol, arrangement order of double word should be aware when requesting a known floating-point value from the slave. Modbus itself does not define a floating point data type but it is widely accepted that it implements 32-bit floating point data using the IEEE-754 standard. However, the IEEE standard has no clear cut definition of byte order of the data payload. Therefore the most important consideration when dealing with 32-bit data is that data is addressed in the proper order. I’m using reliance product HMI to display the correct value on HMI, it need to swap byte and swap word. You could find more detail on regulation of IEEE modbus floating 32bit data.

IV. Comparison

IV. 1 Cost

The scale of project is one of the key factors for cost justification of wireless into a project. Design Engineers should assess and incorporate the following factors in their project cost estimating calculation model:

  • Reduced engineering costs

Wi-Fi + Ethernet remote I/O could not fully eliminated engineering cost for :

    • Tray and cable routing
    • Detail support cable tray
    • Cable schedule
    • Remote IOLink wiring diagram

Meanwhile wireless system could be eliminated pertaining cable drawings and documents. In the other hand, other engineering document should be submitted such as

  1. Identify the necessary update rate of each WirelessHART/ISA100Wireless device to meet the specifications of the application as well as battery life.
  2. Determine the capacity of the gateway determined by the maximum update rate to be used in the network
  3. Use the following calculation to determine the number of gateways.
  • Reduced labor

Both Wi-Fi+Ethernet remote IO and wireless system is significant to reduce labor cost.

  • Reduced materials and material cost

It is possible that the main materials of Wi-Fi + Ethernet remote IO could be selected with a much lower cost than a wireless system.  Although Wi-Fi + Ethernet remote IO still needs to utilize cable trays and cable but it has reduced significant material such as

      • Multi-pair instrument cable is not necessary.
      • More uniform of cable tray size
      • Cable gland with uniform size

One of advantage using Wi-Fi+Etherent remote IO is the flexibility to select the product. Wide range product of conventional 4-20mA transmitter as well as wide range product of Industrial Ethernet remote I/O / Gateways. If you have tight budget you could consider this option. Henceforth, with carefully design it is able to obtain overall cost lower than Wireless system.

Below are typical of material list for Wi-Fi +Ethernet Remote IO + Transmitters (This is only example for comparison)

Below are typical of material WirelessHART (This is only example for comparison )

Below are typical of material ISA100Wireless (This is only example for comparison )

IV. 2 Antenna

Wi-Fi antenna and Wireless transmitter antenna basically have the same method as following

  • Frequency band 2.4-2.5 GHz Instrument Scientific Medical (ISM) band
  • Standard modulation 802.11g

Note: Wi-Fi antenna is covering all transmitters while wireless transmitter antenna is dedicated. Therefore you should assess the location of transmitter in order to obtain the acceptable gain and able to select the antenna.

  • WirelessHART/WirelessISA100 use omni directional antenna to support Mesh topological.

The selected Power beam and Omni antenna use standard modulation 802.11g

IV. 3 Topology

The main difference is the ISO protocol stack at Level 1 and 2 which address by standards IEEE 802.15.4 for ZigBee, ISA100Wireless, WirelessHART, WIA-PA, and several others. Each of these standards has added its own upper-layer protocols to suit applications in many different markets. 

WirelessHART/Wireless ISA use the newest technology and most revolutionary form of network is called a mesh. In a mesh network each station is both an end device and a network forwarding element. Mesh networks are naturally self-healing and redundant—exactly the properties
needed for industrial automation networks.

IV. 4 Security

ISA100 Wireless and WirelessHART posses built-in security. This will be differ with Wi-Fi where You need to specify how level safety of the system. At minimum, firewall need to be installed on the Host (operator work station). 

However, based on my assessment for this system. In this installation, the location was remote, by means the location is far from the resident. It will be obvious and suspicious when unrecognized person around that area.

The process plant are surrounded by fence with radius define using method of restricted area.

The system is still localized, not connected to any other company network (business network). Hence this system is sufficient.

V. References and Bibliography

Dick Caro, “Wireless Networks for Industrial Automation”, 2014

Emerson Process Management, “IEC 62591 WirelessHART System Engineering Guide, Revision 3.0”,2012

Kategori
Tak Berkategori

Chemical Injection System

I remember my experience as trainer for chemical injection (CI) system on 2016. The attendees were operator, maintenance, and inspection/corrosion team. The course was focused on technical issue.

The course details related to various elemental aspects of the chemical injection system from design of the system including valves, pumping, monitoring, and delivery . It cover in depth of

  • The various design aspects of the equipment involved.
  • How to operate and monitor the performance of chemical injection packages.

We create pretest and post test to ensure the participant obtains benefit from the course.

Besides to transfer knowledge, the objective of this workshop and training is to increase level competence and reduce number of problems during normal operation.

Mostly on our site, chemical injection system is use to protect flow line pipes from corrosion. The chemical injection will maintain corrosion rate below allowable rate. It is injected on the X-mass tree upstream choke valve.

Chemical injection system will be tailor to meet the specific requirement. The schematic shown are typical schematic use to protect flow lines. So it might be different schematic CI for different application.T

The schematic is taken for SkoFlo catalog

Understanding the equipment involved play important role. If one equipment failure it will affect the entire performance. Even wrong setting on back pressure regulator (BPR) would disrupt the performance.

In our facilities, chemical injection system could be categorized of two types, as following.

  • Multi injection system
  • Single injection

The basic different of this system is how to set the flow rate.

In multi injection system flow rate are set individually on the flow control valve. This flow control valve is a pressure independent flow control valve. Once the valve is set at a desired flow rate, that flow rate is maintained even though the pressure conditions upstream and/or downstream of the valve may change considerably.

For single injection, flow rate is control using adjustment pump stroke length and stroke rate, without necessity to install flow control valve and back-pressure regulator. Pump should size properly in order to achieve target flow rate.

In addition, back pressure regulator and flow control valve is utilized for single injection with over capacity pump (based stock on hand) where injection flow rate is difficult to achieve using adjustment of pump stroke length and stroke rate.

Equipment of chemical injection system based on the schematic consist of

  1. Chemical injection pump
  2. Back pressure Regulator
  3. Pressure Safety Valves (PSV)
  4. Gauge drum
  5. Dampener
  6. Pressure Gauge
  7. Flow control Valve

Note: Back pressure Regulator and Flow Control Valve is using a well-known brand SkoFlo

A.PUMP

Pump is reciprocating positive displacement pumps.  The pump could be pneumatic driven or electrical driven. In multi injection system, pump will be operated based on highest well flowing pressure. Meanwhile stroke length and stroke rate is set at the total flow rate require for each well. Pump discharge pressure is recommended to set at: highest well pressure + 200 up to 400 psi + 13.8 barg

Note: +14 barg is really specific for flow control valve manufactured by SkoFlo valve

B. BACK PRESSURE REGULATOR (BPR)

It is specially design for multi injection; however it could be used for single injection if the pump is overcapacity.

Since on multi injection system, pump will deliver flow rate at total flow rate from each well, so overflow to the system network injection will occur.  Back pressure regulator will dispense the overflow chemical injection back to the tank. I suggest the back pressure regulator is set at 80% of pressure safety valve.

Set point BPR is not regularly to be adjusted. Set point of BPR is also to maintain differential pressure between injection line and wellhead pressure at minimum 13.8 barg.

This is one of requirement of flow control valve which require minimum differential 14 barg between upstream and downstream to obtain stable injection flow rate.

C. FLOW CONTROL VALVE

It is design to regulate injection flow rate for each flow line. Unlike other control valve where flow will alter as system pressure changes, this specific flow control valve maintains a constant differential pressure across a fixed calibrated orifice, thus resulting in a constant flow through that orifice. As differential pressure is independent of system pressure changes, the flow rate is stable in all field conditions. However minimum 200 psi (13.8 bar) dP across the valve is required for the flow rate ranges.

D.PRESSURE SAFETY VALVE (PSV)

Pressure safety valve is not based on API 520. This safety valve has similar function as back pressure regulator, but it has different intention. BPR is intended for normal operation it will open and close regularly.

Meanwhile PSV will open for particular case, e.g.

  • Blocked outlet by any isolation valve
  • Clogged CI Injection line lead to over pressure

Therefore, PSV set pressure is at maximum allowable pressure / Wellhead shut in pressure.

During the training session, we heard many problems regarding chemical injection system from our operation e.g.

  • Pumps not working,
  • Plugging on the flow control valve,
  • Seat inside flow control valve disintegrate
  • Corrosion rate exceeded, etc.

My recommendations for these kinds of problems were

a. If pumps not working

Many causes could result pump not working. However, before examining the pump. I recommended checking pressure gas regulator + filtering regularly, since the supply is from hydrocarbon gas where water content might high. This would reduce the pump pressure discharge, after prolonged use without regularly drain the filter, this condition could lead the pump stop working.

b. Seat inside flow control valve damage / disintegrate.

This could occur if the flow control valve is located near the pump. Water hammering effect could occur during calibration where closing the valve handle adjustment rapidly. I recommended placing the flow control valve near the injection point. In addition it will optimize function of dampener.

I also find action by personnel which degrade the performance of multi injection system.

First, changing pump flow rate by lowering backpressure regulator set point. This action will affect the minimum differential pressure require by flow control valve if not properly calculated.

Second, bypassing one of the flow control valve due to plugging. This action will affect the entire injection flow rate to each flow line. By bypassing one flow control valve will disrupt the network pressure. The injection fluid will tend to route to the lowest pressure, in this case the line with bypass flow control valve. In consequence, the other injection line will not meet the required injection flow rate.

Third, Increasing orifice flow control valve intentionally. By increasing the orifice (Cv), it will change the original design of the flow control valve. The manufacturer has engineered and carefully selected the spring, chamber upstream and downstream, and the stem flow control valve. Increasing orifice will change the inherent Cv .  In the end this action will disrupt the network pressure. Same consequence found on second cause.

Besides the problems, I receive valuable feedback from the trainee about the chemical injection system. Most of the concerns are not written on technical datasheet, catalog, even manual.

We summarize and make conclusion in order to maintain the performance and lifetime of the pump, as following

  1. If pump stroke is at the maximum 45 spm, the pump spring will often break below 1 month.

We decide to limit the stroke rate at maximum 40 spm.

  • If stroke length shorten below half size of stroke length. It will often break the spring.

So we decide to maintain the stroke length at minimum 0.5

  • Low speed of stroke/minute is more preferable than high stroke/minute in delivering the same flow rate

Kategori
Tak Berkategori

Pos blog pertama

Ini adalah pos pertama Anda. Klik tautan Sunting untuk mengubah atau menghapusnya, atau mulai pos baru. Jika ingin, Anda dapat menggunakan pos ini untuk menjelaskan kepada pembaca mengenai alasan Anda memulai blog ini dan rencana Anda dengan blog ini. Jika Anda membutuhkan bantuan, bertanyalah kepada orang-orang yang ramah di forum dukungan.