Instrumentation for Dummies

Tuesday, April 28, 2015

HOW TO READ A P&ID

1.1. WHAT IS A P&ID?
1.2. P&ID PIPING SYMBOLOGY LEGEND
1.3. INSTRUMENTS AND EQUIPMENTS IN P&ID
1.3.1. Local indicators in P&ID
1.3.2. Transmitters in P&ID
1.3.3. Switches in P&ID
1.3.4. Valves in P&ID
1.3.5. Other equipments in P&ID
1.4. P&ID TYPICAL INSTRUMENT DRAWINGS
1.5. P&ID TYPICAL VALVE DRAWINGS
1.6. P&ID CODES
1.6.1. P&ID instrument codes
1.6.2. P&ID pipe codes
1.7. P&ID CONTROL LOGICS
1.8. P&ID SCOPE INDICATIONS

1.9. P&ID TITLE BLOCK

1.1. WHAT IS A P&ID?

My first instrumentation lesson and the first lesson that I usually teach to new mates is "How to read a P&ID".

Furthermore, explain a P&ID is a very common test in a technical interviews related to industrial process control.

What is a P&ID?

"Pipe And Instrumentation Diagram"
read P&ID

As its name suggests "P&ID" is a diagram where It is represented pipes, instruments, valves, pumps and other devices;  It is indicated also nominal diameters, rating, identification names, materials, fluids, control logic...etc.

P&ID example:

P&ID

The P&IDs are drawn by the process department and supported by the other departments.

There is always an oficial copy, It is called "P&ID Master". The location of this copy is usually with process department.
process P&ID

Sometimes instrument department has its official copy where is indicated   the instrument department comments.

Periodically, each department will indicate theirs changes and relevant annotations to the "P&ID Master".

Coordinate this action with an standard way and report to every affected people on time, is one of the most important point that should be managed in an engineering.

1.2. P&ID PIPING SYMBOLOGY LEGEND

The first P&ID in a project is the symbology legend sheet.

P&ID SYMBOLOGY LEGEND

The symbology legend drawings are similar in each project and according to ISA (See ISA-5.1).

If It were your first day working as instrumentation engineer, I recommend you to study the project symbology legend sheet. It will help you to interpret the P&ID drawings and understand the scope of the project.

P&ID symbology legends examples:

P&ID SYMBOLOGY
P&ID SYMBOLOGY
P&ID SYMBOL

1.3. INSTRUMENTS AND EQUIPMENTS IN P&ID

As I said at the beginning, the instruments and equipments are implemented in the P&ID, the following pictures are some instrument representation examples:

1.3.1. Local indicators in P&ID

The local indicators show us the measured values in the equipments and process lines. The local indicators will be very useful for the maintenance and the production staff.

Examples:
P&ID LOCAL INDICATOR
P&ID LOCAL GAUGE

1.3.2. Transmitters in P&ID

The transmitters send the measured values to the control cabinets, allowing us to control and monitor the process. These devices can be specified with a local indicatios.

Examples:
P&ID TRANSMITTER
P&ID INSTRUMENTS

1.3.3. Switches in P&ID

The switches send a digital signals when the measured variable reaches a certain value.

The "switches" may trip for high or low value.

Examples:
P&ID SWITCHES
P&ID INSTRUMENTS

1.3.4. Valves in P&ID

The control valves and manual valves will be drawn in the P&ID diagrams. These equipments are used to control the flow in the process lines.

Examples:
P&ID VALVE
P&ID VALVES
P&ID CONTROL VALVES

1.3.5. Other equipments in P&ID

P&ID DEVICES
P&ID example:
P&ID EXAMPLE

1.4. P&ID TYPICAL INSTRUMENT DRAWINGS

The instruments usually have: the sensor (transducer) and the transmitter.

Temperature transmitter example:
P&ID temperature transmitter

The sensor (transducer) interprets the measured variable and converts it to other measurable energy.

For example a resistance temperature detector transducer (PT100) converts the temperature in a resistance value. This value is not usually sent directly to the control cabinet, instead it is converted in a head-mounting transmitter. The transmitter sends the final signal (4-2mA HART usually) to the control cabinet.

The head-mounting transmitter can be represented like the following drawings:
P&ID temperature transmitter

Also, It can be indicated with the transducer or the thermowell.
P&ID temperature

If the temperature transmitter isn’t head-mounting, the transmitter can be installed in the cabinet or in a junction box.
P&ID temperature symbol
The "flow transmitters" can be represented with different drawings.

It can be indicated the transmitter or the transmitter and the primary flow element.
P&ID flow  transmitter
Some examples:

P&ID flow  transmitter

1.5. P&ID TYPICAL VALVE DRAWINGS

We are going to divide the valve types in five groups:
P&ID valve types

Valves and actuators can be represented with different drawings like the instruments, for example:

With or without Positioned & Actuator:
P&ID positioner
With or without handwheel:
P&ID handwheel
With the fail position:
P&ID fail position
With the status during normal operation:
P&ID normally
1.6. P&ID CODES

Every projects usually follow more or less, the same coding guidelines thaht are supported by the ISA or other standard as the KKS.

If we define a correct coding criteria, we could save a lot of time.

The codes apply to equipment, signals, alarms, valves, trays, control and electrical cabinets, junction boxes, instruments, pipes, cables ...etc.

1.6.1. P&ID instrument codes

P&ID TAG


In the example, the “TAG” (name) is "20-FT-1982-A". This code will not be repeated for other plant devices.

-First part: “the Unit”. It indicates two digits "20". The instrument is installed in the unit “20”. To split the project in different units is very common in Oil & Gas big projects, however, it is less common in power plants.

Note: (An instrument department manager told me one day) " The secret to solve a complex problem is to know how to split the problem in smaller parts"

-Second part: "the instrument type”.  It indicates two letters "FT". It is a flow transmitter.
 Other examples:
AT - Analyzer / FT - Flow transmitter / TT - Temperature transmitter / LT - Level Transmitter

-Third part: “the Loop Number”. It indicates "1982". Each control loop is named with a sequential number. A “Loop” is a set of devices with a control logic link.
Control Loop example:
P&ID loop
-Fourth part: “Suffix”. “A” indicates that there is a redundant device at least, as the "A" and "B" in the previous drawing.

Redundant equipments are defined in critical loops. If a device is not working, the loop control will use the redundant one.

1.6.2. P&ID pipe codes

P&ID line code

-First part: “Size”. It indicates "2" (nominal diameter two inches).

-Second part: “Fluid Type” It indicates  "GI" (nitrogen).

-Third part: “Sequential Number”. It indicates "45455".

-Fourth part: “Pipe specification” It indicates "1S5". We can find the code meanings in the Project document: "pipe specification".

In these case: "1" -> Rating 150#  / "S5" -> Pipe material stainless steel.

1.7. P&ID CONTROL LOGICS

In the following drawings is indicated a part of P&ID control logics.

All control logics can not be detailed in a P&ID. There are other specific documents, as functional descriptions or control strategy.

In general, the control logics are easier to draw in Oil&Gas P&ID (where the control loops are more simples) than  electrical power plant (where every control loops are interconnected)

In the picture below: "There is a flow transmitter that sends a hardwired signal to the control system and the control system monitors the measured value"
P&ID example instrument

In the picture below: "There is a flow transmitter that sends a hardwired signal to the control system and the control system monitors the value and it will generate two alarms, if there are low flow value or high flow value "(The alarms could be represented by a hexagon too)
P&ID alarm

In the picture below: "There is a flow transmitter and a control valve whose signals are wired to the control system. The control system  monitors the flow rate and use the process value in a internal PID that controls the valve position.
P&ID control valve

 In the picture below: "There is an off valve. It is wired to the control system. The valve can be opened or closed by a plant operator through a "HS" (Hand Switch).
A "HS" is a configurated button in the SCADA screen.
P&ID on-off valve

In the picture below: "There is a pressure gauge, a motor-pump and an on-off valve. If the measured pressure is below a fixed value, an alarm is generated by the control system and it will active an "Interlock signal". The interlock will stop the pump, and it will close the valve.

P&ID motor pump control


1.8. P&ID SCOPE INDICATIONS

The scope of “black-box suppliers” should be represented in the P&ID.

Black-Box”  is a devices group installed and supplied by the same vendor.

If you are designing a plant you should coordinate that “black-boxes” limits fit with the rest of the devices.
P&ID scope

1.9. P&ID TITLE BLOCK

P&IDs must have a standard title-box as other project oficial drawings.


P&ID title block

P&ID title block

 Note: It has been tried to collect into this report some basic concepts to help anyone who begins to walk on the instrumentation way. It is always an honor to teach someone who want to learn.

In this article, I would like to thank those professionals who have repeatedly explained us and will continue to explain you all over again what the instrumentation and control is. As conclusión, I would like to give you two messages:

1º- For those who have carried on working as engineers for several years, I honestly belive that part of your duty is to maintain the excitement to learn in the young people (even prioritizing this vs. a project).

2º- For the beginners, don’t let anyone to take your hunger to learn and improve.

Julio.C.F.L 28/04/2015

Friday, December 12, 2014

CONTROL VALVES BASIC CONCEPTS


1.1 A PUMP IN AN HYDRAULIC SYSTEM

1.2 A CONTROL VALVE IN AN HYDRAULIC SYSTEM


1.3 A CONTROL VALVE AS BANK OF PRESSURE

1.4 THE FLOW COEFFICIENT (CV) IN A CONTROL VALVE

1.5 CONTROL PHILOSOPHIES
_____________________________________________________________



1.1 A PUMP IN AN HYDRAULIC SYSTEM

What is a hydro pump? An hydro pump is a devide which pushes a certain volume of water at a certain pressure.

Motor&Pump
Note: If the pump motor is connected directly to the electrical net then it is going to run in a fixed speed. But if there is a frequency variator connected to the motor then the pump could work at different speeds.

 A hydro pump which is running at a certain speed is defined by a curve which sets the volume of fluid that the pump can move at certain pressure which usually measured in terms of Total dynamic height.

Please see below charts wich shows a typical curve for a fixed speed hydro pump (Total dynamic height is shown in the Vertical Axis in meters and the Volume per hour or Flow is shown in the Horizontal Axis in cubic meters per hour) 
Pump curve
The different curves for a variable speed curve.
Pump curve
The performance of a pump is set by the "load request curve". This curve shows the pressure in terms of "total dynamic height" which will be required by the pump.

The "total dynamic height" is related to the meters that the pump is able to raise the fluid. The intersection between the "load request curve" and "the pump curve" will define the flow that the pump will be able to move. 

HYDRAULIC SYSTEM

For instance (see chart), if we aim to raise the fluid at 3m (and we exlude any dynamic resistance), we will draw an horizontal curve of "load request" at 3m of dynamic height and the working point of the pump will be set by the intersection of this curve and the pump curve (according to below figure, the pump will be able to push up 3m a volume of 5.5 cubic meters per hour (flow of 5.5m3/h):

Hydraulic system without dynamic resistance

It is worth mentioning that the "load request" curve is never an horizontal line but an upwards curve (see below figure) due to the dynamic resistance. The dynamic resistance is the force which opposes the flow and increases exponentially with the flow.

Hydraulic system with dynamic resistance

1.2 A CONTROL VALVE IN AN HYDRAULIC SYSTEM


A control valve is a device which "controls" the flow in a pariticular hydro system.

Pump curve points

The "point A" in the curve of the pump is defined by the highest pressure and no flow and represetns the typical case of a pump running against a closed valve.


Pump and closed control valve


The "point B" in the curve of the pump is defined by the maximum flow and minimum pressure and represents the typical case of a pump running agains a fully open valve (minimum resistance). 

Pump and opened control valve


Therefore, the curve of the valve becomes more vertical as the valve is closing and becomes more horizontal as the valve opens, meaning that the higher the pressure the lower the flow.

Pump&ControlValve

A Pump and a Control Valve

Let's analyze a hydraulic system in which we have placed several measure points.

Pump and Control Valve-Operations Points
1.- Point 1: The pressure is low in the pump suction (0.5 barg)

2.- Point 2: The pump increases the pressure (10 barg ) "in the pump outside"

3.- Point 3: Before the control valve the pressure will have dropeed due to the dynamic resistance, which will depend on the pipe diameter and the pipe length (8 barg)

4.- Point 4: The control valve decreases the pressure as it closes. In this case the pressure after the control valve is 2 barg

5.- Point 5: The pressure decreaes from Point 4 due to the dynamic resistance. (1 barg)

6.- Point 6: Atmosphere tank (0 barg)


1.3 A CONTROL VALVE AS BANK OF PRESSURE


Something we believe is worth understanding is that the control valves are like a bank of pressure: they reduce/increase the pressure when required.

The pressure drop is lost energy which is retained in the valve.


Reserving sufficient pressure drop in the design phase is key if the control valve will be used to control the flow of the system. Otherwise, we might see an scenario in which the flow does not increase as the valve opens due to a very low pressure drop in the control valve (compared with the total pressure drop in the system).

Control valve like a bank of pressure
Note: Please, read the article "Realistic pressure drops in control valves" by JR Connel (For Alberta Technology Insitute) to see more information about the optimal pressure drop that should be reserved in a control valve. The articule could be easiy found in internet. 

In general terms and following several recommendations, we would propose to reserve a minimum of 10% of the pressure dropo r 20% in long lines.

Operations points in an hydraulic system

For example, in this case we can reserve 1 or 2 bar of pressure drop.


1.4 THE FLOW COEFFICIENT (CV) IN A CONTROL VALVE


The CV (also named Kv or flow coefficient) is defined as the volume of water (in gallons) at 60F which flows per minute through a valve which has a pressure drop of 1psi. 

The suppliers of control valves indicate "the maximun CV" and the "CV curve".

"CV curve": is the CV values along the valve travel

"The maximum CV": refers to a valve which is completely opened.

According to the CV curve there are 3 different control valve types:

i) Quick opening: These valves are usually used for "Safety valves".

ii) Linear: These valves are usually used if they work in the entire range (temperature loop or in a level loop)

iii) Equal-percentage: These valves are usually used if the valve works around the same point in a limited range. (pressure loop or in a flow loop).

Typical CV curve in control valves

1.5 CONTROL PHILOSOPHIES

Whenever a control valve is requires it is very important to select the right philosophy.

We differentiate 5 different valves depending on the control philosophies:

i) On-off ii) Control valve iii) "Cascade control" iv) Intermediate position and e) "Split range"

i) On-off valves have only 2 positons: Open (it allows the fluid to flow) and Closed (it stops the flow). This valves are typically used in control loops which  do not require a very adjusted control.

Exapmle: Control valve in a water tank in which keeping the level constant is not a requirement (see below chart).


ON OFF PHILOSOPHIES IN CONTROL VALVES

In the above example, if the level of water is below a value (Level A), it allows the water to flow until the water reaches a certain level (Level B).


Once the tank has reached the Level B, the valve does not open until the level of water reaches again the Level A. These will allow us to keep the pump stopped while the valve remains closed. The difference between the 2 levels (Level A and Level B) is called hysterisis.


Hysterisis control valves


Note: A manual valve is usually installed after the pump to allow us to regulate the flow in the operating point.

ii) Control valve: A control valve is used if an adjusted control is required. For instance, if the measures variable has to be closed to a certain point which is called "set point" (in this case the control tries to get to the set point continually). This philosophy always requires the system to measure the variable which is required to be kept at a certain level.

There are diferent types of regulation control valves, self regulated, controlled by electric positioner and controlled by pneumatic positioner.

Example: Control valve in a water tank in which keeping the level at 5m is a requirement.

REGULATION PHILOSOPHIES CONTROL VALVES

As it can be seen in the above example, the control valve will start opening when the level is below the set point of 5m. As the level is getting closer to 5m the valve will start closing.


The set point could be measured by a level transmitter provides the information about the level of water to the to the controller. Depending on the information received by the controller the valve will start opening/closing to reach the set point of 5m.

Note: The control valve and the transmissor are the control loop

iii) The cascade control: The cascade control could be under stock as a faster version of a control valve as it also measures the change in the variable. This control will require a larger amount of infromation. 

Example: Cascade control in a water tank in which keeping the level at 5m is a requirement.

CASCADE PHILOSOPHIES WITH CONTROL VALVES


In the above example we also have 2 devices to measure the volume of water which goes in/leaves the tank.

If we were to have a control valve in a simple loop, the valve would close as the variable measured is in the set point of 5m.

However, if we were to have a cascade control, the control would also see that the volume of water which is leaving the tank is greater than the one is getting in and therefore the level of water would start decreasing. Therefore, the valve would open (instead of closing as a simple loop would do) avioding that the level of water falls as it would try to make the volume of water which gets into the tank equal to the volume of water which leaves the tank.

Note: The by-pass control in a turbine is an example of cascade control

iv) Intermediate positions: This valve is used when it is required to set several points of operation.

Example: Let's assume that it is required to set 3 operation points to control the temperature of house through a valve depending on the period of the day: morning (50%), afternoon (10%) and evening (80%). This valve would allow us to keep the house warmer in the evening than in the morning and keeping a bit the temperature in the afternoon.

The regulatino system of an intermediate position system is very simple and does not require modulate regulation.

v) Split control: This valve is used when the required set point has a very wide range.

Split control with control valve

Example: We would used a split control valve if it is required to regulate the flow of a pipe between a very high and a very low level. As most of the valves do not properly regulate at levels above 90% of opening and below 10% of closing, no valve which is used to regulate large "caudales" would able to properly regulate low "caudales". Therefore we would use a split control which implies setting to valves in a parallel system.
Split control with control valve
As it can be seen in above charts, the small valve is used to regulate (caudales) below a certain level. When the caudal is above a certain level, the small valve will start closing and the process will be controled by the large valve.
Split control with control valve