Applied Process Control - Michael Mulholland - E-Book

Applied Process Control E-Book

Michael Mulholland

0,0
120,99 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.
Mehr erfahren.
Beschreibung

The basic working knowledge for the practicing control engineer in industry, offered here as a handy deluxe edition comprising two volumes each devoted to methods and practical problems.

Focusing on the practical implementation, the methods volume provides readers with rapid access to process modelling and control, while including the theoretical background necessary. Throughout, the essential knowledge is built up from chapter to chapter, starting with laying the foundations in plant instrumentation and control. Modelling abilities are then developed by starting from simple time-loop algorithms and passing on to discrete methods, Laplace transforms, automata and fuzzy logic. In the end, readers have the means to design simple controllers on the basis of their own models, and to use more detailed models to test them. With its clarity and simplicity of presentation, and illustrated by more than 200 diagrams, the volume supports self-study and teaches readers how to apply the appropriate method for the application required, and how to handle problems in process control.

Bridging theory and practice, the second volume contains over 200 practical exercises and their solutions to develop the problem-solving abilities of process engineers. The problems were developed by the author during his many years of teaching at university and are kept brief, taken from the fields of instrumentation, modeling, plant control, control strategy design and stability of control. The algorithm flows and codes, which are mostly based on MATLAB®, are given in many cases and allow for easy translation into applications.

With a clarity and simplicity of presentation, the two volumes are similarly structured for easy orientation.

Sie lesen das E-Book in den Legimi-Apps auf:

Android
iOS
von Legimi
zertifizierten E-Readern

Seitenzahl: 619

Veröffentlichungsjahr: 2016

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



CONTENTS

Cover

Related Titles

Title Page

Copyright

Preface

Acknowledgements

Abbreviations

Frontispiece

Chapter 1: Introduction

1.1 The Idea of Control

1.2 Importance of Control in Chemical Processing

1.3 Organisation of This Book

1.4 Semantics

References

Chapter 2: Instrumentation

2.1 Piping and Instrumentation Diagram Notation

2.2 Plant Signal Ranges and Conversions

2.3 A Special Note on Differential Pressure Cells

2.4 Measurement Instrumentation

2.5 Current-to-Pneumatic Transducer

2.6 Final Control Elements (Actuators)

2.7 Controllers

2.8 Relays, Trips and Interlocks

2.9 Instrument Reliability

References

Chapter 3: Modelling

3.1 General Modelling Strategy

3.2 Modelling of Distributed Systems

3.3 Modelling Example for a Lumped System: Chlorination Reservoirs

3.4 Modelling Example for a Distributed System: Reactor Cooler

3.5 Ordinary Differential Equations and System Order

3.6 Linearity

3.7 Linearisation of the Equations Describing a System

3.8 Simple Linearisation ‘Δ’ Concept

3.9 Solutions for a System Response Using Simpler Equations

3.10 Use of Random Variables in Modelling

3.11 Modelling of Closed Loops

References

Chapter 4: Basic Elements Used in Plant Control Schemes

4.1 Signal Filtering/Conditioning

4.2 Basic SISO Controllers

4.3 Cascade Arrangement of Controllers

4.4 Ratio Control

4.5 Split Range Control

4.6 Control of a Calculated Variable

4.7 Use of High Selector or Low Selector on Measurement Signals

4.8 Overrides: Use of High Selector or Low Selector on Control Action Signals

4.9 Clipping, Interlocks, Trips and Latching

4.10 Valve Position Control

4.11 Advanced Level Control

4.12 Calculation of Closed-Loop Responses: Process Model with Control Element

References

Chapter 5: Control Strategy Design for Processing Plants

5.1 General Guidelines to the Specification of an Overall Plant Control Scheme

5.2 Systematic Approaches to the Specification of an Overall Plant Control Scheme

5.3 Control Schemes Involving More Complex Interconnections of Basic Elements

References

Chapter 6: Estimation of Variables and Model Parameters from Plant Data

6.1 Estimation of Signal Properties

6.2 Real-Time Estimation of Variables for Which a Delayed Measurement Is Available for Correction

6.3 Plant Data Reconciliation

6.4 Recursive State Estimation

6.5 Identification of the Parameters of a Process Model

6.6 Combined State and Parameter Observation Based on a System of Differential and Algebraic Equations

6.7 Nonparametric Identification

References

Chapter 7: Advanced Control Algorithms

7.1 Discrete z-Domain Minimal Prototype Controllers

7.2 Continuous s-Domain MIMO Controller Decoupling Design by Inverse Nyquist Array

7.3 Continuous s-Domain MIMO Controller Design Based on Characteristic Loci

7.4 Continuous s-Domain MIMO Controller Design Based on Largest Modulus

7.5 MIMO Controller Design Based on Pole Placement

7.6 State-Space MIMO Controller Design

7.7 Concept of Internal Model Control

7.8 Predictive Control

7.9 Control of Time-Delay Systems

7.10 A Note on Adaptive Control and Gain Scheduling

7.11 Control Using Artificial Neural Networks

7.12 Control Based on Fuzzy Logic

7.13 Predictive Control Using Evolutionary Strategies

7.14 Control of Hybrid Systems

7.15 Decentralised Control

References

Chapter 8: Stability and Quality of Control

8.1 Introduction

8.2 View of a Continuous SISO System in the s-Domain

8.3 View of a Continuous MIMO System in the s-Domain

8.4 View of Continuous SISO and MIMO Systems in Linear State Space

8.5 View of Discrete Linear SISO and MIMO Systems

8.6 Frequency Response

8.7 Control Quality Criteria

8.8 Robust Control

References

Chapter 9: Optimisation

9.1 Introduction

9.2 Aspects of Optimisation Problems

9.3 Linear Programming

9.4 Integer Programming and Mixed Integer Programming (MIP)

9.5 Gradient Searches

9.6 Nonlinear Programming and Global Optimisation

9.7 Combinatorial Optimisation by Simulated Annealing

9.8 Optimisation by Evolutionary Strategies

9.9 Mixed Integer Nonlinear Programming

9.10 The GAMS® Modelling Environment

9.11 Real-Time Optimisation of Whole Plants

References

Index

End User License Agreement

List of Tables

Table 2.1

Table 2.2

Table 2.3

Table 2.4

Table 2.5

Table 3.1

Table 3.2

Table 3.3

Table 3.4

Table 3.5

Table 3.6

Table 3.7

Table 4.1

Table 4.2

Table 6.1

Table 7.1

Table 7.2

Table 7.3

Table 9.1

List of Illustrations

Figure 1.1

Figure 1.2

Figure 1.3

Figure 1.4

Figure 1.5

Figure 2.1

Figure 2.2

Figure 2.3

Figure 2.4

Figure 2.5

Figure 2.6

Figure 2.7

Figure 2.8

Figure 2.9

Figure 2.10

Figure 2.11

Figure 2.12

Figure 2.13

Figure 2.14

Figure 2.15

Figure 2.16

Figure 2.17

Figure 2.18

Figure 2.19

Figure 2.20

Figure 2.21

Figure 2.22

Figure 2.23

Figure 2.24

Figure 2.25

Figure 2.26

Figure 2.27

Figure 2.28

Figure 2.29

Figure 2.30

Figure 2.31

Figure 2.32

Figure 2.33

Figure 2.34

Figure 2.35

Figure 2.36

Figure 2.37

Figure 2.38

Figure 2.39

Figure 2.40

Figure 2.41

Figure 2.42

Figure 2.43

Figure 3.1

Figure 3.2

Figure 3.3

Figure 3.4

Figure 3.5

Figure 3.6

Figure 3.7

Figure 3.8

Figure 3.9

Figure 3.10

Figure 3.11

Figure 3.12

Figure 3.13

Figure 3.14

Figure 3.15

Figure 3.16

Figure 3.17

Figure 3.18

Figure 3.19

Figure 3.20

Figure 3.21

Figure 3.22

Figure 3.23

Figure 3.24

Figure 3.25

Figure 3.26

Figure 3.27

Figure 3.28

Figure 3.29

Figure 3.30

Figure 3.31

Figure 3.32

Figure 3.33

Figure 3.34

Figure 3.35

Figure 3.36

Figure 3.37

Figure 3.38

Figure 3.39

Figure 3.40

Figure 3.41

Figure 3.42

Figure 3.43

Figure 3.44

Figure 3.45

Figure 3.46

Figure 3.47

Figure 3.48

Figure 3.50

Figure 3.51

Figure 3.49

Figure 3.52

Figure 3.53

Figure 3.54

Figure 3.55

Figure 3.56

Figure 3.57

Figure 4.1

Figure 4.2

Figure 4.3

Figure 4.4

Figure 4.5

Figure 4.6

Figure 4.7

Figure 4.8

Figure 4.9

Figure 4.10

Figure 4.11

Figure 4.12

Figure 4.13

Figure 4.14

Figure 4.15

Figure 4.16

Figure 4.17

Figure 4.18

Figure 4.19

Figure 4.20

Figure 4.21

Figure 4.22

Figure 4.23

Figure 4.24

Figure 4.25

Figure 4.26

Figure 4.27

Figure 4.28

Figure 4.29

Figure 4.30

Figure 4.31

Figure 4.32

Figure 4.33

Figure 4.34

Figure 5.1

Figure 5.2

Figure 5.3

Figure 5.4

Figure 5.5

Figure 5.6

Figure 5.7

Figure 5.8

Figure 5.9

Figure 5.10

Figure 5.11

Figure 6.1

Figure 6.2

Figure 6.3

Figure 6.4

Figure 6.5

Figure 6.6

Figure 6.7

Figure 6.8

Figure 6.9

Figure 6.10

Figure 6.11

Figure 6.12

Figure 6.13

Figure 6.14

Figure 6.15

Figure 6.16

Figure 6.17

Figure 6.18

Figure 6.19

Figure 6.20

Figure 6.21

Figure 6.22

Figure 7.1

Figure 7.2

Figure 7.3

Figure 7.4

Figure 7.5

Figure 7.6

Figure 7.7

Figure 7.8

Figure 7.9

Figure 7.10

Figure 7.11

Figure 7.12

Figure 7.13

Figure 7.14

Figure 7.15

Figure 7.16

Figure 7.17

Figure 7.18

Figure 7.19

Figure 7.20

Figure 7.21

Figure 7.22

Figure 7.23

Figure 7.24

Figure 7.25

Figure 7.26

Figure 7.27

Figure 7.28

Figure 7.29

Figure 7.30

Figure 7.31

Figure 7.32

Figure 7.33

Figure 7.34

Figure 7.35

Figure 7.36

Figure 7.37

Figure 7.38

Figure 7.39

Figure 7.40

Figure 7.41

Figure 7.42

Figure 7.43

Figure 7.44

Figure 7.45

Figure 7.46

Figure 7.47

Figure 7.48

Figure 7.49

Figure 7.50

Figure 7.51

Figure 7.52

Figure 7.53

Figure 7.54

Figure 8.1

Figure 8.2

Figure 8.3

Figure 8.4

Figure 8.5

Figure 8.6

Figure 8.7

Figure 8.8

Figure 8.9

Figure 8.10

Figure 8.11

Figure 8.12

Figure 8.13

Figure 8.14

Figure 8.15

Figure 8.16

Figure 8.17

Figure 8.18

Figure 8.19

Figure 8.20

Figure 9.1

Figure 9.2

Figure 9.3

Figure 9.4

Figure 9.5

Figure 9.6

Figure 9.7

Figure 9.8

Figure 9.9

Figure 9.10

Figure 9.11

Figure 9.12

Figure 9.13

Figure 9.14

Figure 9.15

Figure 9.16

Figure 9.17

Figure 9.18

Figure 9.19

Figure 9.20

Figure 9.21

Figure 9.22

Guide

Cover

Table of Contents

Begin Reading

Chapter 1

Pages

i

ii

iii

iv

xi

xii

xiii

xiv

xv

xvi

xvii

xviii

xix

xx

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

201

202

203

204

205

206

207

208

209

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

234

235

236

237

238

239

240

241

242

243

244

245

246

247

248

249

250

251

252

253

254

255

256

257

258

259

260

261

262

263

264

265

266

267

268

269

270

271

272

273

274

275

276

277

278

279

280

281

282

283

284

285

286

287

288

289

290

291

292

293

294

295

296

297

298

299

300

301

302

303

304

305

306

307

308

309

310

311

312

313

314

315

316

317

318

319

320

321

322

323

324

325

326

327

328

329

330

331

332

333

334

335

336

337

338

339

340

341

342

343

344

345

346

347

348

349

350

351

352

353

354

355

356

357

358

359

360

361

362

363

364

365

366

367

368

369

370

371

372

373

374

375

376

377

378

379

380

381

382

383

384

385

386

387

388

389

390

391

392

393

394

395

396

397

398

399

400

401

402

403

404

405

406

407

408

409

410

411

412

413

414

415

416

417

418

419

420

421

422

423

424

425

426

427

428

429

430

431

432

433

434

435

436

437

438

439

440

441

442

443

444

445

446

447

448

449

450

451

452

453

454

455

456

457

458

459

460

Related Titles

Michael Mulholland

Applied Process Control

Efficient Problem Solving

2016

Print ISBN: 978-3-527-34118-4

Michael Mulholland

Applied Process Control Set

2016

Print ISBN: 978-3-527-34116-0

Svrcek, W.Y., Mahoney, D.P., Young, B.R.

A Real-Time Approach to Process Control

3rd Edition2014

Print ISBN: 978-1-119-99388-9

Rangaiah, G.P., Bonilla-Petriciolet, A. (eds.)

Multi-Objective Optimization in Chemical Engineering - Developments and Applications

2013

Print ISBN: 978-1-118-34166-7

Kruger, U.U.

Statistical Monitoring of Complex Multivatiate Processes - With Applications in Industrial Process Control

2012

Print ISBN: 978-0-470-02819-3

Rangaiah, G.P.

Plantwide Control - Recent Developments and Applications

2011

Print ISBN: 978-0-470-98014-9

Buzzi-Ferraris, G., Manenti, F.

Fundamentals and Linear Algebra for the Chemical Engineer

Solving Numerical Problems

2010

Print ISBN: 978-3-527-32552-8

Buzzi-Ferraris, G., Manenti, F.

Interpolation and Regression Models for the Chemical Engineer

Solving Numerical Problems

2010

Print ISBN: 978-3-527-32652-5

Buzzi-Ferraris, G., Manenti, F.

Nonlinear Systems and Optimization for the Chemical Engineer

Solving Numerical Problems

2014

Print ISBN: 978-3-527-33274-8

Buzzi-Ferraris, G., Manenti, F.

Differential and Differential-Algebraic Systems for the Chemical Engineer

Solving Numerical Problems

2015

Print ISBN: 978-3-527-33275-5

Michael Mulholland

Applied Process Control

Essential Methods

All books published by Wiley-VCH are carefully produced. Nevertheless, authors, editors, and publisher do not warrant the information contained in these books, incl;uding this book, to be free of errors. Readers are advised to keep in mind that statements, data, illustrations, procedural details or other items may inadvertently be inaccurate.

Library of Congress Card No.: applied for

British Library Cataloguing-in-Publication DataA catalogue record for this book is available from the British Library.

Bibliographic information published by the Deutsche NationalbibliothekThe Deutsche Nationalbibliothek lists this publication in the Deutsche Nationalbibliografie; detailed bibliographic data are available on the Internet at <http://dnb.d-nb.de>.

© 2016 Wiley-VCH Verlag GmbH & Co. KGaA, Boschstr. 12, 69469 Weinheim, Germany

All rights reserved (including those of translation into other languages). No part of this book may be reproduced in any form – by photoprinting, microfilm, or any other means – nor transmitted or translated into a machine language without written permission from the publishers. Registered names, trademarks, etc. used in this book, even when not specifically marked as such, are not to be considered unprotected by law.

Print ISBN: 978-3-527-34119-1ePDF ISBN: 978-3-527-80161-9ePub ISBN: 978-3-527-80167-1Mobi ISBN: 978-3-527-80166-4oBook ISBN: 978-3-527-80162-6

Preface

Material in this book is sequenced for the process engineer who needs ‘some’ background in process control (Chapters 1–5) through to the process engineer who wishes to specialise in advanced process control (Chapters 1–9). The theory needed to properly understand and implement the methods is presented as succinctly as possible, with extensive recourse to linear algebra, allowing multi-input, multi-output problems to be interpreted as simply as single-input, single-output problems.

Before moving on to the more advanced algorithms, an essential practical background is laid out on plant instrumentation and control schemes (Chapters 2, 4 and 5). Chapter 3 builds modelling abilities from the simplest time-loop algorithm through to discrete methods, transfer functions, automata and fuzzy logic. By the end of Chapter 5, the engineer has the means to design simple controllers on the basis of his or her models, and to use more detailed models to test these controllers. Moreover, ability has been developed in the use of the multi-element control schemes of ‘advanced process control’.

Chapter 6 focuses on observation. Whereas Chapter 3 reveals the tenuous chain of preparation of plant signals, Chapter 6 aims to make sense of them. Important issues on the plant are signal conditioning, data reconciliation, identification of model parameters and estimation of unmeasured variables.

Chapter 7 addresses more advanced control algorithms, drawing on a wide range of successful modern methods. To a large extent, continuous and discrete versions of an algorithm are presented in parallel, usually in multi-input, multi-output formats – which simply devolve to the single-input, single-output case if required. State–space, input–output, fuzzy, evolutionary, artificial neural network and hybrid methods are presented. There is a strong emphasis on model predictive control methods which have had major industrial benefits.

A review of the classical methods of stability analysis is delayed until Chapter 8. This has been kept brief, in line with reduced application in the processing industries. One recognises that stability criteria, such as pole locations, do underlie some of the design techniques of Chapter 7. Certainly, frequency domain concepts are part of the language of control theory, and essential for advanced investigation. But with the slower responses and inaccurate models of processing plants, controllers are not predesigned to ‘push the limits’ and tend to be tuned up experimentally online.

A review of a range of optimisation techniques and concepts is given in Chapter 9. Although not a deep analysis, this imparts a basic working knowledge, enabling the development of simple applications, which can then later be built upon. Topics covered include linear, integer, mixed, and non-linear programming, search techniques, global optimisation, simulated annealing, genetic algorithms and multi-objective optimisation. These methods, and dynamic programming, underlie the predictive control and optimal scheduling topics in Chapter 7, and are also important as static optimisers in such applications as supply chain, product blending/distribution and plant economic optimisers.

This book tries to make the methods practically useful to the reader as quickly as possible. However, there is no shortcut to reliable results, without a basic knowledge of the theory. For example, one cannot make proper use of a Kalman filter, without understanding its mechanism. Complex multi-input, multi-output applications will require a good theoretical understanding in order to trace a performance problem back to a poorly calibrated input measurement. Hence, an adequate theoretical background is provided.

A few distinctions need to be clarified:

Modelling is a particular strength of the process engineer, and is a basis of all of the algorithms – especially model predictive control. The reader needs to distinguish

state-based

models versus

input–output

models. The state-based models can predict forward in time knowing only the initial state and future inputs. Some algorithms rely on this. In contrast,

input–output

models will need additional information about past inputs and outputs, in order to predict future outputs. To use state-based algorithms on these, a state observer algorithm (e.g. Kalman filter) will be required to estimate the states.

The forward shift operator

z

 = 

e

Ts

is used to relate discrete versions of systems to their transfer function forms

G

(

s

) in the

s

(Laplace/frequency) domain. In a lot of what follows, this theoretical connection is not significant, and the data sampling shift parameter

q

could be used, but sometimes it is not in this text.

The text consistently uses bold characters to signify matrices [

A

], vectors [

x

] and matrix transfer functions [

G

(

s

),

G

(

z

)]. Non-bold characters are used for scalars.

A number of examples are presented in this book in order to clarify the methods. In addition, the separate accompanying book Applied Process Control: Efficient Problem Solving presents 226 solved problems, using the methods of this text. These often make use of MATLAB® code which is arranged in obvious time loops, allowing easy translation to the real-time environment. There will, however, be the challenge to provide additional routines such as matrix inversion.

A simple interactive simulator program has been made available at https://sourceforge.net/projects/rtc-simulator/. It includes 20 different applications for such aspects as PID and DMC controller tuning, advanced level control, Smith prediction, Kalman filtering and control strategies for a furnace, a boiler and a hybrid system. No support is available for the simulator.

Although I have personally used a variety of methods on industrial and research applications, in writing this book I have been fascinated to discover the brilliant ideas of many other workers in the field. To all of those people who get excited about process control, I wish you an optimal trajectory.

University of KwaZulu-Natal

Michael Mulholland

March, 2016

Acknowledgements

Many of the problems in this book are dealt with using the MATLAB® program, which is distributed by the MathWorks, Inc. They may be contacted at

The MathWorks, Inc.

3 Apple Hill Drive

Natick, MA 01760–2098, USA

Tel: 508-647-7000

Fax: 508-647-7001

E-mail:

[email protected]

Web:

mathworks.com

How to buy:

http://www.mathworks.com/store

A few problems are dealt with in the GAMS® optimisation environment, distributed by

GAMS Development Corporation

1217 Potomac Street, NW

Washington, DC 20007, USA

General Information and Sales: (+1) 202 342-0180

Fax: (+1) 202 342-0181

Contact:

[email protected]

Some problems make use of the LPSOLVE mixed integer linear programming software which is hosted on the SourceForge Web site at

http://sourceforge.net/projects/lpsolve/

Abbreviations

A/D

analogue to digital

AC/FO

air to close/fail open

ANN

artificial neural network

AO/FC

air to open/fail closed

APC

advanced process control

ARIMAX

autoregressive integrated moving average exogenous

ARMAX

autoregressive moving average exogenous

ARX

autoregressive exogenous

BB

branch and bound

BFW

boiler feedwater

BIDP

backward iterative dynamic programming

CEM

cause and effect matrix

CRT

cathode ray tube

CV

controlled variable

CVP

control variable parameterisation

CW

cooling water

D/A

digital to analogue

DAE

differential and algebraic equations

DCS

distributed control system

DMC

dynamic matrix control

DP

differential pressure

DV

disturbance variable

E{…}

expectation of…

EKF

extended Kalman filter

ES

evolutionary strategy

FFT

fast Fourier transform

FIDP

forward iterative dynamic programming

FIMC

fuzzy internal model controller

FIR

finite impulse response

FRM

fuzzy relational model

FRMBC

fuzzy relational model-based control

FSQP

feasible sequential quadratic programming

Fuzzy

fuzzy logic

GA

genetic algorithm

GAMS

General Algebraic Modelling System®

GM

gain margin

GPC

generalised predictive control

HP

high pressure (port)

HS

high select

I

identity matrix

I/O

input–output

I/P

current to pressure (pneumatic) converter

IAE

integral of absolute error

IDP

iterative dynamic programming

IMC

internal model control

INA

inverse Nyquist array

IO

input–output

IP

integer programming

ISE

integral of squared error

KO

knockout (separation drum)

LAN

local area network

LBT

lower block triangular

LCD

liquid crystal display

LDMC

linear dynamic matrix control

LP

linear programming

LP

low pressure (port)

LPG

liquefied petroleum gas

LPSOLVE

MILP program (

http://sourceforge.net/projects/lpsolve/

)

LQR

linear quadratic regulator

LS

low select

LS

least squares

MATLAB

MATLAB® program, distributed by the MathWorks, Inc.

MEK

methyl ethyl ketone

MIDO

mixed integer dynamic optimisation

MILP

mixed integer linear programming

MIMO

multi-input, multi-output

MINLP

mixed integer nonlinear programming

MIP

mixed integer programming

MIQP

mixed integer quadratic programming

MLD

mixed logical dynamical

MM

molecular mass

MPC

model predictive control

MRI

Morari resiliency index

MTBF

mean time between failures

MV

manipulated variable

NC

normally closed

NLP

nonlinear programming

NO

normally open

NSGA-II

fast non-dominated sorting genetic algorithm II

OA

outer approximation

ODE

ordinary differential equation

OHTC

overall heat transfer coefficient

P

proportional

P/I

pressure (pneumatic) to current converter

PCA

principal components analysis

PDE

partial differential equation

PI

proportional integral

PID

proportional integral derivative

PLC

programmable logic controller

PM

phase margin

PV

process variable

QDMC

quadratic dynamic matrix control

RAID

redundant array of independent discs

RGA

relative gain array (Bristol array)

RLS

recursive least squares

RTD

resistance temperature detector

RTO

real-time optimisation

SCADA

supervisory control and data acquisition

SG

specific gravity

SISO

single-input single-output

SP

setpoint

SQP

sequential quadratic programming

VPC

valve position control

WABT

weighted average bed temperature

WAN

wide area network (e.g. using telecommunication, radio)

WG

water-gauge

ZOH

zero-order hold

1Introduction

1.1 The Idea of Control

Plant and animal life relies on numerous control mechanisms. Here one thinks of an ‘open-loop’ causal system in which cause (input) generates effect (output). Then the ‘control’ part operates around this in order to modify the effect (Figure 1.1).

Figure 1.1 Feedback control mechanism.

All autonomous entities need ‘feedback’ paths like this. One might shut a door to reduce the noise level, eat to reduce hunger or turn the car steering wheel to keep in a lane. The control decision can be discrete, such as when the geyser thermostat switches on or the reserve bank adjusts the prime lending rate in order to control inflation, or it can be continuous, such as the variation of one's iris with available light. The ‘system’ part can have various behaviours which make the decision difficult. Thus, when the shower it too hot, one cautiously increases the cold water, knowing that there is a (‘dead-time’) delay in the pipe. The doctor will adjust blood pressure medication in small steps as he/she waits to observe the body response. One also recognises that there are possibly multiple ‘causes’ at play. It may only be possible to observe a limited range of the effects, and usually one is only manipulating a small selection of the causes. Humans are not adept at coordinating multiple inputs.

What is common in these cases of feedback control is that one does not know where the inputs should be set exactly. The control problem amounts to ‘given desired levels of the outputs, at what levels should the inputs be set in order to best achieve this?’. So the ‘decision’ is a task of inversion, in just the same way as one might want to find an x such that a function f(x) = 0. A simple control law for this mathematical task was provided by Newton (Equation 1.1).

(1.1)

This is closely related to the ‘dead-beat’ controller (Section 7.1.1), in which one attempts to hit the target on every time step.

It is intuitive that one can expect difficulty with automatic feedback adjustments. The decision to adjust the inputs will affect the outputs which in turn will affect the next decision. If one is overreacting on each step, the output would be driven past its desired level by successively larger amounts. So adjusting the shower water in too big steps would successively cause scalding and freezing by greater amounts. The possibility of such endless growth makes considerations of closed-loop stability important in the study of process control.

A situation often arises where one tries to diminish the impact of disturbed inputs to a system by manipulating other inputs (Figure 1.2). This is ‘feedforward’ control. It is important to note that the outputs are not involved in this decision at all. Of course, one needs to be able to observe the relevant inputs first. Thus, the fuel to a boiler may be increasing in order to maintain pressure. Though the flue gas oxygen content may be unmeasured, a feedforward controller can increase the combustion air flow in proportion to the fuel flow in order to maintain a margin of oxygen excess. One realises that feedforward control will always require some kind of model, for example the air/fuel stoichiometric ratio. Models are never perfect, so it is likely that the relevant output may not be quite where it was planned. Often this error can be tolerated. In other cases, a feedback loop may be superimposed to provide the correction (Figure 1.3). There is nevertheless a benefit in using feedforward to eliminate most of the upset.

Figure 1.2 Feedforward control mechanism.

Figure 1.3 Combined feedforward and feedback.

The control engineer must learn to recognise ‘information flows’ in a system, that is from ‘cause’ to ‘effect’. Sometimes these are not intuitive and have little to do with the physical arrangement. For example, the flow into a tank and the flow out of a tank could equally be used to affect the level in a tank.

1.2 Importance of Control in Chemical Processing

This book will focus on modelling, estimation, control and optimisation in the processing industries. There are unique challenges here to do with the inaccuracy of models and undefined disturbances. In addition, the widespread use of computers to handle process instrumentation in recent decades has spurred the concept of ‘advanced process control’ (APC), which has become a specialised process engineering domain. The objective is to take advantage of the plant-wide view of outputs, and access to inputs, of these computers, in order to enhance regulation and optimisation. In this way, industries have been able to work safely with narrower specifications and less loss (Figure 1.4). With the increasing globalisation of markets, industries which do not seek such efficiency improvements will soon find themselves uncompetitive and out of business.

Figure 1.4 Reduction of an expensive ingredient through better control.

In the processing industries, the automatic control aspects are viewed to constitute a pyramid of three main layers in which each layer achieves its objectives by supervising the layer below. Generally, this means that the control loop setpoints (SPs) are passed downwards (Figure 1.5).

Figure 1.5 Main conceptual layers in a processing plant control scheme.

Usually the base layer becomes the responsibility of instrumentation technicians, but more advanced inputs are required from control engineers in the upper layers. Of course, the overall control scheme, including the base layer, must be specified by engineers in the design phase. At that stage, additional specifications may be made, such as increased vessel hold-ups to facilitate ‘advanced level control’ (Section 4.11). Indeed, there is a growing trend to integrate the equipment design and control design at an early stage (Sakizlis, Perkins and Pistikopoulos, 2004). Increasing integration of processes through ‘pinch’ analysis often renders the internal regulation highly interactive, requiring special control approaches. Another lesson that has been learned is that the advanced control algorithms cannot simply be installed and left to operate without ongoing knowledgeable oversight.

The advanced algorithms focus on criteria such as throughput, product specifications and economics, not necessarily smooth process operation, and thus they can be unpopular with operating personnel. All too often such unwelcome behaviour can cause operators to switch off these algorithms. Thus, education is important, as well as investigation of downtime incidences and constant reviewing of performance. On one level, one aims to make a control scheme as simple and transparent as possible, to facilitate understanding. However, some algorithms are unavoidably complex, referring to a number of measurements as the basis of their output decisions. A specially trained control engineer is required to diagnose poor performance that might arise from a poorly calibrated measurement. Industries which recognise the need for ongoing care, and provide the necessary resources, have successfully increased the fractional online time of their optimisers and advanced controllers (Karodia, Naidoo and Appanah, 1999).

1.3 Organisation of This Book

With the increasing use of computers and digital communications in the processing industries, the employers' requirements of a process engineer are rapidly evolving. An engineer working day to day on troubleshooting and debottlenecking on a plant must already have a high proficiency in the use of computers for data extraction and analysis. He/she must comprehend a complex plant control scheme in order to identify the relationships between variables arising from such a scheme. Where a process engineer is specifically employed in the area of ‘advanced process control’, there will be even more of an expectation that good computer skills will be brought to bear on processing issues. The general brief given to such an engineer by the employer is likely to be: ‘Do whatever you can with this computer know-how to safely maximise the profitability of this process!’. Well, that is a very open-ended request, extending far beyond the traditional ‘process control’ skills of drawing Nyquist plots to assure closed-loop stability.

At the outset, the strength of the process engineer in this environment is his/her understanding of the physics and chemistry at play, leading on to his/her ability to mathematically model the process. The model can be used effectively as the mathematical basis of the control scheme design, or simply to test proposed strategies developed in other ways. Regardless, it is the model that gives this engineer a clear insight into the process behaviour, and it provides an interpolative bridge between what is usually too few plant measurements.

Beyond the model, and now thinking of an alternative ‘black box’ approach, what will be important is to get an appreciation of a range of ad hoc methods of identification, control and optimisation which have proved useful industrially. Some of these defy mathematical treatment, and will not easily lead on to proofs of stability, which has been a major preoccupation of the field. Rather, the main purpose of mathematical treatments will be to promote understanding, and to allow one to move on quickly to useful algorithms for online implementation.

In order to establish the context of the considered algorithms, a view will initially be developed of the instrumentation and computer hardware required for their implementation. In connection with this, it will be important to understand conventions for representation of instrumentation and control on plant piping and instrumentation diagrams.

The present-day field of process control is built conceptually on remnants and artefacts of the past. For example, a computer representation of a loop controller has the equivalent switches and adjustments of the preceding panel-mounted analogue device. An engineer might claim that a control loop that oscillates a lot and won't settle down ‘has a poorly damped closed-loop pole location’. One would be extremely hard put to find an application of such frequency response methods in the processing industries, yet this is the language that is naturally used. Why is this so? Well, the reason is that one's mind picture of the phenomena is built mostly on classical control theory. Though most of what is presently done in industry is based on the time domain, one ignores classical theory such as ‘frequency response’ at one's peril, because it is part of the language, and in many instances it is the route forward to deeper analysis and research. In some cases, for example the use of Laplace domain transfer functions, classical approaches give a much clearer view of relationships. The classical methods will thus also be used in parallel where appropriate.

Working on from simple controllers, more advanced algorithms for estimation and control will be considered, finally viewing the application of optimisation algorithms. Along the way, skills will be developed in the overall instrumentation and control of a process, effectively what is necessary to specify the key plant document, namely the piping and instrumentation diagram. Methods of quantifying and describing control performance and stability will be presented, largely connecting to the classical theory.

1.4 Semantics

Some concepts and related vocabulary in process control need to be clarified initially to avoid confusion:

System

: all or part of a process which can be viewed in isolation (provides output values in response to input values).

Dynamic

: the mathematical description involves a derivative with respect to time, or a time delay.

Static

or

algebraic

: input values immediately determine output values.

Lumped

: no spatial derivatives are involved in the mathematical description.

Distributed

: variations also occur in space (e.g. position within a reactor bed), requiring spatial derivatives in the mathematical description.

Order

: number of time derivatives of different variables involved in the mathematical description (each higher derivative also contributes 1 to the count).

States

: a selection of variables describing a system such that if their initial values are known, and all future inputs are known, all future values of the states can be predicted. Effectively these are the variables in the set of first-order derivatives describing the system, so the

order

is equal to the number of

states

.

Open loop

: information generated in the output does not influence the input.

Closed loop

: information generated in the output is used to influence the input.

Stable

: a system is stable if its outputs are bounded (non-infinite) for all bounded inputs.

Unstable

: at least one bounded input excitation can cause an unbounded output – usually manifested as exponentially increasing oscillation or magnitude. Usually this type of behaviour is restricted to a

limit cycle

or final magnitude because of the physical limits of the equipment – unless failure occurs before this point.

Step response

: output variation resulting from a step in one of the inputs.

Frequency response

: output characteristics when the input is a steady oscillation (varies with frequency).

Tuning

: choice of free parameters for controllers, estimators or optimisers, to obtain desired performance.

Controlled variable (CV)

: one of the outputs for which tracking of a

setpoint

is required.

Manipulated variable (MV)

: one of the inputs which is available to be varied by a controller.

Disturbance variable (DV)

: one of the inputs which is not available for manipulation.

Dead time

: this is a time delay (usually caused by a plug flow transport lag).

Inverse response

: the initial direction of the response (up/down) differs from the final position.

References

Karodia, M.E., Naidoo, S.G. and Appanah, R. (1999) Closed-loop optimization increases refinery margins in South Africa.

World Refining

,

9

(5), 62–64.

Sakizlis, V., Perkins, J.D. and Pistikopoulos, N. (2004) Recent advances in optimization-based simultaneous process and control design.

Computers & Chemical Engineering

,

28

(10), 2069–2086.

2Instrumentation

Plant instrumentation constitutes 6–30% of the cost of all purchased equipment for the plant, and thus up to 5% of total project costs for new plants (Peters and Timmerhaus, 1980). A perusal of the instrumentation trade magazines shows what a fiercely competitive market this is. Suppliers are developing a never-ending range of measurement and actuation devices based on new technologies and materials. In order to understand the context of the control schemes and algorithms addressed in this book, one needs a basic appreciation of the devices available.

2.1 Piping and Instrumentation Diagram Notation

The piping and instrumentation diagram is the most important reference document in both the construction and functioning of a processing plant (Davey and Neels, 1991). Not only is it the means of understanding the operation, but its indexing system also allows location of documents pertaining to individual plant items (such as reactors and pumps), the pipework and the measurement and control equipment and philosophy (Figure 2.1).

Figure 2.1 Example of a piping and instrumentation diagram.

Conventions for showing instrumentation vary with company and national standards (e.g. BS 1646 and DIN 28004). Some examples are presented in Figure 2.2. Up until the 1980s, analogue instrumentation data handling was still common, requiring some specific conventions such as in Figure 2.3.

Figure 2.2 Examples of instrumentation symbols.

Figure 2.3 Instrumentation tag bubble notation.

The development of instrumentation that could perform the required operations (such as PID control or square-root extraction) in a purely analogue context became a very sophisticated art, leading to ingenious fluidic (pneumatic) or electronic circuitry. Apart from the high purchase costs, there was a heavy burden of maintenance, so the advent of data-handling systems based on digital computers was warmly welcomed. On economic grounds, most analogue systems were quickly dumped in favour of modern DCS (distributed computer systems), SCADA (supervisory control and data acquisition) and PLCs (programmable logic controllers) (Figure 2.4). Such systems are highly configurable. No longer would the recording of a signal require a dedicated panel-mounted strip or circular chart (frontispiece). All data could be continuously recorded in a historical database, and accessed at will. Alarm limits could be defined for every signal. The control panel along which sociable operators used to stroll, tapping recorders to ensure free pen movement, disappeared, and was replaced by one or more CRT or LCD displays. The art of being an operator changed, and quite a few of the ‘old school’ moved on. In the digital systems, the functional distinctions ‘I’ and ‘R’ in Figure 2.3 have been lost and are omitted from tags.

Figure 2.4 Distributed control system structure illustrating a range of features.

The growth of the digital systems out of the old analogue systems constrained manufacturers (probably needlessly) into a sort of item-per-item replacement. Clearly, this would reduce the shock for existing personnel. The square-root extraction, ratio, control, alarm and trip calculations stayed in functional blocks which could be interconnected just like the old analogue signals. The computer ‘faceplates’ of PID controllers had the recognisable adjustments from the old control room panel. However, beyond the direct replacement of the old functionality, industries realised that they were now in a completely new situation where every measurement and every control actuator could be accessed simultaneously, and there was almost no constraint on the complexity of any calculation. This opened up a whole new world for control engineers to take the concept of ‘advanced process control’ a lot further.

2.2 Plant Signal Ranges and Conversions

One legacy of the analogue era is the handling of measurement and actuator signals in conventional ranges such as

4–20 mA;

3–15 psig;

20–100 kPag.

With new fieldbus devices, instruments can communicate with the computer control system digitally, avoiding the need to convert current or pneumatic signals into the accepted ranges. Nevertheless, much instrumentation is still being designed around the analogue signal range concept, and one has to be aware that any device will anyway have lower and upper saturation limits. On large plants, these analogue signals are handled as close to the associated plant equipment as possible in signal substations. Signal conditioning (such as smoothing) and A/D or D/A (analogue-to-digital or digital-to-analogue) conversion are handled there, so that communication with distributed and centralised computer facilities thereafter occurs on digital buses (e.g. coaxial, fibre-optic or ‘wireless’ transmissions).

A typical signal conversion sequence is given in Figure 2.5. Note that the information flow, starting from the temperature sensor (a), passes through a sequence of calibrations, in this case each involving an intercept and a slope. Each of these is subject to drift and error, so it is only a foolhardy engineer who simply accepts the engineering values presented in the computer display. A nonlinearity arises from the saturation conditions determined by the conventional signal ranges and the A/D and D/A conversion windows. For example, a 20 mA signal (b) might represent an original temperature measurement (a) anywhere above 120 °C. Regarding the 20% offset of the minimum transmission signal values from zero (e.g. 4 mA, 3 psig), this was originally to aid signal loop continuity checking, since the most likely fault would be an open circuit.

Figure 2.5 Typical signal conversion sequence.

For a pneumatically actuated control valve (air-to-open) as suggested here, the intercept and slope (zero and span) are determined by two nuts on the valve stem which position and tension the return spring. It is conceivable that wear or incorrect set-up might result in a 3 psig signal not quite closing the valve, say leaving it 4% open. There is no feedback of this position, so the operator would be unaware that live steam is still in the system, for example. Often the nuts might be set to close the valve at, say, 4 psig, to ensure a really tight shut-off when a 0% (3 psig) open position is requested. These are but some of the pitfalls to be expected, so the engineer would do well to maintain a healthy scepticism regarding the validity of data on the system and should cross-check wherever possible.

2.3 A Special Note on Differential Pressure Cells

The differential pressure (DP) cell is the ubiquitous workhorse of industrial instrumentation, playing a part in the measurement of flow, pressure and level (Figure 2.6). It is a transmitter in the sense that it receives a pressure signal, converts it linearly into the desired signal range (e.g. 4–20 mA, 20–100 kPag) and retransmits it. In cases where it transmits a current signal, it is sometimes referred to as a P/I transducer (pressure/pneumatic-to-current). Flow measurement techniques relying on the creation of a pressure difference (e.g. orifice plates) usually attempt to work with as small a Δp as possible to minimise pumping power. So in this case the DP cell might receive a signal of, say, 0–20 ″WG, and retransmit in the 3–15 psig range. Here one can think of the device as a high-gain amplifier. Conversely, the pressure inside an ammonia synthesis loop (e.g. 150 barg) might be compared with atmospheric pressure, and the Δp retransmitted in the 3–15 psig range.

Figure 2.6 Installed DP cells: (a) electronic and (b) pneumatic (measuring pressure).

DP cells will be installed close to the point of measurement, so there could still be a need to use a completely pneumatic device (as above) for intrinsic safety in the presence of flammable gases. Commercial electrical DP cells are usually provided in explosion-proof housing, so these are likely to be acceptable in hazardous areas as well.

A DP cell might have a very sensitive diaphragm to measure flow or furnace draught (e.g. 20 ″WG), yet all DP cells are supplied in extremely robust steel housing, to allow for the measurement to occur at a high pressure (e.g. flow in an ammonia synthesis loop). In this case, special precautions need to be taken to ensure that the diaphragm is not inadvertently exposed to a high Δp, for example if one of the impulse lines is disconnected from the plant piping.

Figure 2.7 highlights some important considerations of DP cell installation. When it is being attempted to measure small Δp values, as in the use of an orifice plate for flow measurement, a situation where the impulse lines themselves can exert significant and unknown pressure through vapour locks (in the case of liquids) or liquid slugs (in the case of gases and vapours) must be avoided. After all, the cell is seeking to measure the equivalent of only a few inches of water. Even a horizontal connection, if it undulates, becomes subject to the sum of all slugs trapped in the troughs. Thus, for gases and vapours the lines must be arranged to allow clear drainage of any condensate back into the duct, whilst for liquids one seeks a continuity of liquid all the way back into the liquid flow duct. Assuming the liquid duct is above atmospheric pressure, at start-up one loosens the drain screws on the two cell chambers, to allow the liquid to run freely through each chamber and displace any air present. Such an operation of course must take due regard of any excessive Δp that might arise across the diaphragm.

Figure 2.7 DP cell installation for flow measurement.

An equalising valve is normally installed between the HP and LP ports of the cell. This is the means of setting a zero Δp for the purpose of zeroing the cell. With the equalising valve open, the zeroing adjustment is turned until the cell transmits at the threshold of its signal range, namely 4 mA, 3 psig or 20 kPag. Similarly, the span adjustment can be used to effectively set the top end of the scale, for example by matching correctly to a known applied Δp.

Electronic DP cells may use potentiometric, capacitance, piezoelectric, strain gauge, silicon resonance or differential transformer techniques for interpretation of the diaphragm deflection. In the common 4–20 mA type, the device acts as a variable resistance in the current loop, and actually draws its own power from the same loop.

The principle of a pneumatic DP cell is illustrated in Figure 2.8. The diaphragm deflection varies the distance of a flapper from a nozzle, causing a variable back-pressure. This signal cannot be used directly, as additional movement of air out of the nozzle cavity will vary the calibration. Instead, a relay is used to create a balancing pressure by supplying air to an expansion bellows acting on the same flapper. The latter source is able to supply a greater flow of air at a pressure proportional to the nozzle pressure.

Figure 2.8 Principle of a pneumatic DP cell.

2.4 Measurement Instrumentation

An initial division of measurement instruments is into the categories ‘local’ and ‘remote’. A local device needs to be read at its point of installation, and has no means of signal transmission. Typical candidates are thermodials and Bourdon-type pressure gauges. Occasionally, manometers might be used to indicate differential pressures. Up until the 1980s, local measurements were prolific, and important, with operators patrolling the whole plant at hourly intervals, jotting down the readings on a clipboard. Increasingly now the operational picture is built up entirely from electronic information, whether it is updated on graphical mimic diagrams of the plant, or archived for future analysis. It seems that the additional investment in signal transduction, marshalling, conversion and capture is worthwhile in comparison with manual reading, transcription and data entry.

In the processing industries, there are few measurements requiring the high speeds of response often needed in electrical or mechanical systems. Nevertheless, it is important to bear in mind the impact of the response time constant of an instrument considered for each application. For example, a flue gas O2 measurement might output a smoothed version of the actual composition. A brief O2 deficiency might not be seen, but could be enough to start combustion when the uncombusted vapours meet O2 elsewhere in the ducting.

2.4.1 Flow Measurement

2.4.1.1 Flow Measurement Devices Employing Differential Pressure

Bernoulli's equation for incompressible fluids gives

(2.1)

which expresses the conservation of energy in the flow direction (ρ: density; ν: velocity; h: height; g: gravity; p: pressure). For small pressure changes, this is also an adequate representation of gas flows. So between two points in a flow system the changes must balance as follows:

(2.2)

For systems in which some of the energy is used up in overcoming frictional resistance,

(2.3)

Measurements under turbulent conditions show that Δpf is almost proportional to the square of the total flow rate, whether it be flow through ducts, restrictions, plant equipment, particulate beds or free objects moving through fluids. For example, the Darcy equation for pressure loss along a duct is

(2.4)

where L is the duct length and D is the equivalent diameter. There is a minor secondary dependence on the velocity v since the friction factor f′ is generally correlated using the Reynolds number NRe = ρvD/µ. However, as an approximation, frictional pressure losses are usually thought of in terms of a number of kinetic ‘velocity heads’ (one head = v2/2g). For example, the disorderly expansion of a flow with sudden enlargement of a duct incurs a loss of approximately one velocity head, that is Δpf = ρg(v2/2g).

Venturi Meter

As noted above, the flow rate in a duct, or stream velocity passing an object, can be estimated from the pressure drop occurring along a duct section or across the object. Usually these features will cause a net loss of pressure due to friction. However, the venturi flow meter is an attempt to obtain a measurable pressure difference, yet minimise the overall frictional loss. This becomes important in low-pressure systems such as vacuum distillation pipework, furnace draught or flue gas ducting, where the friction loss might compete with the available delivery pressure, alter the density or affect the vapour–liquid equilibrium significantly. It is common to see tapered venturi duct sections in place on the suctions of forced-draught furnace fans, for the purpose of combustion air flow measurement.

Assuming that the velocity profiles at positions 1 and 2 in Figure 2.9 are uniform, and that the flow is frictionless, a general equation for the total mass flow of incompressible and compressible fluids through a venturi tube is

(2.5)

For an ideal gas under adiabatic conditions, this gives

(2.6)

where γ = cp/cv and the pressures are absolute. For p2/p1 close to 1, this reduces to

(2.7)

which is also valid for an incompressible fluid. For well-designed venturi meters, the discharge coefficient Cd is found to be around 0.98 for both compressible and incompressible fluids.

Figure 2.9 Venturi flow meter.

Orifice Plate

The orifice plate is the most common flow measurement device employed in the processing industries. There are variations in the installation (e.g. flange tappings versus corner tappings versus upstream/downstream tappings, bevelled edge versus square edge, upstream/downstream free run, etc.), some complying with strict standards.

The principle is the same as for the venturi meter, except that here the precise area of the liquid jet represented by the flow streamlines at the vena contracta in Figure 2.10 is not known. Using instead the area of the orifice itself, one obtains for an incompressible fluid

(2.8)

but now the discharge coefficient is around 0.61 (for high Reynolds numbers), the difference from its value in Equation 2.7 largely compensating for the deviation between A2 and AO.

Figure 2.10 Orifice plate flow meter.

Equation 2.6 suggests that adjustment of Equation 2.8 for compressible flow will depend primarily on γ and the ratios AO/A1 and p2/p1. Indeed, data are available correlating a compressibility factor Y in terms of γ, dO/d1 and Δp/p1 (= 1 − p2/p1).

For a particular fixed installation, users generally rely on the square-root behaviour

(2.9)

where it is seen that

(2.10)

where the compressibility factor Y → 1 for an incompressible fluid.

Calibration of Orifice Plate, Venturi and Similar Flow Meters

In practice, k in Equation 2.9 might be estimated using measured plant displacements. Note that the total volumetric flow rate is obtained as

(2.11)

with the assumption that ρ1 ≈ ρ2, and it is sensible to calibrate in situ to determine the approximately constant k. Indeed, most installations have no compensation for variations in density ρ, with a fixed multiplying constant representing determined at plant design conditions applied to for the form in Equation 2.9.

(2.12)

Prior to the widespread use of digital computers, the signal for Δp would often arrive at a display panel to be shown on the dial of a simple pressure gauge as in Figure 2.11. The graduations on the dial were simply arranged to extract the square root of the signal, and apply the multiplier K.

Figure 2.11 Square-root extracting flow gauge.

Engineers need to be very wary of this type of mass flow or volumetric flow indication based on a fixed K value. The density of streams on a plant will of course vary with composition, as well as operating pressure and temperature in the case of gases and vapours. The indicated flows must be corrected relative to the calibration condition as in Equations 2.13–2.14 for mass w and volumetric F flows respectively.

(2.13)
(2.14)

It follows for ideal gases that

(2.15)
(2.16)

where M is molecular mass, P is absolute pressure and T is absolute temperature.

A properly calibrated and installed orifice flow meter working at its design conditions can be expected to be accurate to within 2–4% of full span, whilst the accuracy of a venturi meter is around 1% of full span.

Other Flow Measurement Devices Employing Differential Pressure

Figure 2.12 shows three additional flow measurement devices relying on differential pressure. The flow nozzle (a) can be expected to comply with the general equations for venturi or orifice plate meters, and has an accuracy of 2% of span. The Pitot tube (b) has a dynamic port on the tip at which the local pressure will rise by according to Bernoulli's equation (Equation 2.3), as a result of the velocity being reduced to zero. The static ports just behind the tip provide the offset which allows the local v to be resolved. The device can be simplified using a separate tapping on the pipe wall for the static measurement. The elbow meter (c) is based on the same principle as the Pitot tube, and achieves an accuracy of 5–10% of full span.

Figure 2.12 Some other flow measurement devices based on differential pressure.

Flow Control Loop Signals

It is useful at this stage to review a detailed piping and instrumentation diagram of a flow control loop, in order to identify the various elements and interconnections arising in the configuration. In Figure 2.13, where only analogue signals are shown, a measurement device requiring square-root extraction is considered, as above. Depending on the audience for an instrument and control scheme representation of this nature, one includes more or less detail. For example, Figure 2.13 might be shown with just a single ‘3FC32’ bubble, and it would generally be understood that the various conversions and the square-root extraction are occurring in this simplified loop. In modern control systems, there are many optional settings for such instrumentation (such as ranges and controller parameters), and this information is usually held in a database, amounting to a number of pages for one loop.

Figure 2.13