Principles and Practice of Automatic Process Control: Carlos A. Smith, PH.D., P.E

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

Principles and Practice of

Automatic Process Control


Second Edition

Carlos A. Smith, Ph.D., P.E.


University of South Florida

Armando B. Corripio, Ph.D., P.E.


Louisiana State University

John Wiley & Sons, Inc.


New York l Chichester l Weinheim l Brisbane l Singapore l Toronto
This work is dedicated with all our love to The Lord our God,
for all his daily blessings made this book possible

The Smiths:
Cristina, Carlos A. Jr., Tim, Cristina M., and Sophia C. Livingston,
and Mrs. Rene M. Smith,

my four grandsons:
Nicholas, Robert, Garrett and David

and to our dearest homeland, Cuba


Preface

This edition is a major revision and expansion to the first edition. Several new subjects
have been added, notably the z-transform analysis and discrete controllers, and several
other subjects have been reorganized and expanded. The objective of the book, however,
remains the same as in the first edition, “to present the practice of automatic process
control along with the fundamental principles of control theory.” A significant number
of applications resulting from our practice as part-time consultants have also been added
to this edition.
Twelve years have passed since the first edition was published, and even though the
principles are still very much the same, the “tools” to implement the controls strategies
have certainly advanced. The use of computer-based instrumentation and control sys-
tems is the norm.
Chapters 1 and 2 present the definitions of terms and mathematical tools used in
process control. In this edition Chapter 2 stresses the determination of the quantitative
characteristics of the dynamic response, settling time, frequency of oscillation, and
damping ratio, and de-emphasizes the exact determination of the analytical response.
In this way the students can analyze the response of a dynamic system without having
to carry out the time-consuming evaluation of the coefficients in the partial fraction
expansion. Typical responses of first-, second-, and higher-order systems are now pre-
sented in Chapter 2.
The derivation of process dynamic models from basic principles is the subject of
Chapters 3 and 4. As compared to the first edition, the discussion of process modelling
has been expanded. The discussion, meaning, and significance of process nonlinearities
has been expanded as well. Several numerical examples are presented to aid in the
understanding of this important process characteristic. Chapter 4 concludes with a pre-
sentation of integrating, inverse-response, and open-loop unstable processes.
Chapter 5 presents the design and characteristics of the basic components of a control
system: sensors and transmitters, control valves, and feedback controllers. The presen-
tation of control valves and feedback controllers has been expanded. Chapter 5 should
be studied together with Appendix C where practical operating principles of some
common sensors, transmitters, and control valves are presented.
The design and tuning of feedback controllers are the subjects of Chapters 6 and 7.
Chapter 6 presents the analysis of the stability of feedback control loops. In this edition
we stress the direct substitution method for determining both the ultimate gain and
period of the loop. Routh’s test is deemphasized, but still presented in a separate section.
In keeping with the spirit of Chapter 2, the examples and problems deal with the de-
termination of the characteristics of the response of the closed loop, not with the exact
analytical response of the loop. Chapter 7 keeps the same tried-and-true tuning methods
from the first edition. A new section on tuning controllers for integrating processes,
and a discussion of the Internal Model Control (IMC) tuning rules, have been added.
Chapter 8 presents the root locus technique, and Chapter 9 presents the frequency
response techniques. These techniques are principally used to study the stability of
control systems.
V
vi Preface

The additional control techniques that supplement and enhance feedback control have
been distributed among Chapters 10 through 13 to facilitate the selection of their cov-
erage in university courses. Cascade control is presented first, in Chapter 10, because
it is so commonly a part of the other schemes. Several examples are presented to help
understanding of this important and common control technique.
Chapter 11 presents different computing algorithms sometimes used to implement
control schemes. A method to scale these algorithms, when necessary, is presented. The
chapter also presents the techniques of override, or constraint, control, and selective
control. Examples are used to explain the meaning and justification of them.
Chapter 12 presents and discusses in detail the techniques of ratio and feedforward
control. Industrial examples are also presented. A significant number of new problems
have been added.
Multivariable control and loop interaction are the subjects of Chapter 13. The cal-
culation and interpretation of the relative gain matrix (RGM) and the design of de-
couplers, are kept from the first edition. Several examples have been added, and the
material has been reorganized to keep all the dynamic topics in one section.
Finally Chapters 14 and 15 present the tools for the design and analysis of sampled-
data (computer) control systems. Chapter 14 presents the z-transform and its use to
analyze sampled-data control systems, while Chapter 15 presents the design of basic
algorithms for computer control and the tuning of sampled-data feedback controllers.
The chapter includes sections on the design and tuning of dead-time compensation
algorithms and model-reference control algorithms. Two examples of Dynamic Matrix
Control (DMC) are also included.
As in the first edition, Appendix A presents some symbols, labels, and other notations
commonly used in instrumentation and control diagrams. We have adopted throughout
the book the ISA symbols for conceptual diagrams which eliminate the need to differ-
entiate between pneumatic, electronic, or computer implementation of the various con-
trol schemes. In keeping with this spirit, we express all instrument signals in percent
of range rather than in mA or psig. Appendix B presents several processes to provide
the student/reader an opportunity to design control systems from scratch.
During this edition we have been very fortunate to have received the help and en-
couragement of several wonderful individuals. The encouragement of our students,
especially Daniel Palomares, Denise Farmer, Carl Thomas, Gene Daniel, Samuel Pee-
bles, Dan Logue, and Steve Hunter, will never be forgotten. Thanks are also due to Dr.
Russell Rhinehart of Texas Tech University who read several chapters when they were
in the initial stages. His comments were very helpful and resulted in a better book.
Professors Ray Wagonner, of Missouri Rolla, and G. David Shilling, of Rhode Island,
gave us invaluable suggestions on how to improve the first edition. To both of them
we are grateful. We are also grateful to Michael R. Benning of Exxon Chemical Amer-
icas who volunteered to review the manuscript and offered many useful suggestions
from his industrial background.
In the preface to the first edition we said that “To serve as agents in the training and
development of young minds is certainly a most rewarding profession.” This is still our
conviction and we feel blessed to be able to do so. It is with this desire that we have
written this edition.
CARLOSA.SMITH
Tampa, Florida, 1997
ARMANDOB.CORRIPIO
Baton Rouge, Louisiana, 1997
Contents

Chapter 1 Introduction 1
l-l A Process Control System 1
1-2 Important Terms and the Objective of Automatic Process Control 3
1-3 Regulatory and Servo Control 4
1-4 Transmission Signals, Control Systems, and Other Terms 5
1-5 Control Strategies 6
1-5.1 Feedback Control 6
1-5.2 Feedforward Control 7
1-6 Background Needed for Process Control 9
1-7 Summary 9
Problems 9

Chapter 2 Mathematical Tools for Control Systems Analysis 11


2-1 The Laplace Transform 11
2- 1.1 Definition of the Laplace Transform 12
2-1.2 Properties of the Laplace Transform 14
2-2 Solution of Differential Equations Using the Laplace Transform 21
2-2.1 Laplace Transform Solution Procedure 21
2-2.2 Inversion by Partial Fractions Expansion 23
2-2.3 Handling Time Delays 27
2-3 Characterization of Process Response 30
2-3.1 Deviation Variables 3 1
2-3.2 Output Response 32
2-3.3 Stability 39
2-4 Response of First-Order Systems 39
2-4.1 Step Response 41
2-4.2 Ramp Response 43
2-4.3 Sinusoidal Response 43
2-4.4 Response with Time Delay 45
2-4.5 Response of a Lead-Lag Unit 46
2-5 Response of Second-Order Systems 48
2-5.1 Overdamped Responses 50
2-5.2 Underdamped Responses 53
2-5.3 Higher-Order Responses 57
2-6 Linearization 59
2-6.1 Linearization of Functions of One Variable 60
2-6.2 Linearization of Functions of Two or More Variables 62
2-6.3 Linearization of Differential Equations 65
2-7 Review of Complex-Number Algebra 68
2-7.1 Complex Numbers 68
2-7.2 Operations with Complex Numbers 70
vii
viii Contents

2-8 Summary 74
Problems 74

Chapter 3 First-Order Dynamic Systems 80


3-1 Processes and the Importance of Process Characteristics 81
3-2 Thermal Process Example 82
3-3 Dead Time 92
3-4 Transfer Functions and Block Diagrams 95
3-4.1 Transfer Functions 95
3-4.2 Block Diagrams 96
3-5 Gas Process Example 104
3-6 Chemical Reactors 109
3-6.1 Introductory Remarks 109
3-6.2 Chemical Reactor Example 111
3-7 Effects of Process Nonlinearities 114
3-8 Additional Comments 117
3-9 Summary 119
Problems 120

Chapter 4 Higher-Order Dynamic Systems 135


4-1 Noninteracting Systems 135
4- 1.1 Noninteracting Level Process 135
4- 1.2 Thermal Tanks in Series 142
4-2 Interacting Systems 145
4-2.1 Interacting Level Process 145
4-2.2 Thermal Tanks with Recycle 151
4-2.3 Nonisothermal Chemical Reactor 154
4-3 Response of Higher-Order Systems 164
4-4 Other Types of Process Responses 167
4-4.1 Integrating Processes: Level Process 168
4-4.2 Open-Loop Unstable Process: Chemical Reactor 172
4-4.3 Inverse Response Processes: Chemical Reactor 179
4-5 Summary 181
4-6 Overview of Chapters 3 and 4 182
Problems 183

Chapter 5 Basic Components of Control Systems 197


5-1 Sensors and Transmitters 197
5-2 Control Valves 200
5-2.1 The Control Valve Actuator 200
5-2.2 Control Valve Capacity and Sizing 202
5-2.3 Control Valve Characteristics 210
5-2.4 Control Valve Gain and Transfer Function 216
5-2.5 Control Valve Summary 222
5-3 Feedback Controllers 222
5-3.1 Actions of Controllers 223
Contents ix

5-3.2 Types of Feedback Controllers 225


5-3.3 Modifications to the PID Controller and Additional Comments 238
5-3.4 Reset Windup and Its Prevention 241
5-3.5 Feedback Controller Summary 244
5-4 Summary 244
Problems 245

Chapter 6 Design of Single-Loop Feedback Control Systems 252


6-1 The Feedback Control Loop 252
6- 1.1 Closed-Loop Transfer Function 255
6-1.2 Characteristic Equation of the Loop 263
6-1.3 Steady-State Closed-Loop Gains 270
6-2 Stability of the Control Loop 274
6-2.1 Criterion of Stability 274
6-2.2 Direct Substitution Method 275
6-2.3 Effect of Loop Parameters on the Ultimate Gain and Period 283
6-2.4 Effect of Dead Time 285
6-2.5 Routh’s Test 287
6-3 Summary 290
Problems 290

Chapter 7 Tuning of Feedback Controllers 303


7-1 Quarter Decay Ratio Response by Ultimate Gain 304
7-2 Open-Loop Process Characterization 308
7-2.1 Process Step Testing 310
7-2.2 Tuning for Quarter Decay Ratio Response 319
7-2.3 Tuning for Minimum Error Integral Criteria 321
7-2.4 Tuning Sampled-Data Controllers 329
7-2.5 Summary of Controller Tuning 330
7-3 Tuning Controllers for Integrating Processes 331
7-3.1 Model of Liquid Level Control System 331
7-3.2 Proportional Level Controller 334
7-3.3 Averaging Level Control 336
7-3.4 Summary 337
7-4 Synthesis of Feedback Controllers 337
7-4.1 Development of the Controller Synthesis Formula 337
7-4.2 Specification of the Closed-Loop Response 338
7-4.3 Controller Modes and Tuning Parameters 339
7-4.4 Summary of Controller Synthesis Results 344
7-4.5 Tuning Rules by Internal Model Control (IMC) 350
7-5 Tips for Feedback Controller Tuning 351
7-5.1 Estimating the Integral and Derivative Times 352
7-5.2 Adjusting the Proportional Gain 354
7-6 Summary 354
Problems 355
x Contents

Chapter 8 Root Locus 368


8-1 Some Definitions 368
8-2 Analysis of Feedback Control Systems by Root Locus 370
8-3 Rules for Plotting Root Locus Diagrams 375
8-4 Summary 385
Problems 386

Chapter 9 Frequency Response Techniques 389


9-1 Frequency Response 389
9- 1.1 Experimental Determination of Frequency Response 389
9-1.2 Bode Plots 398
9-2 Frequency Response Stability Criterion 407
9-3 Polar Plots 419
9-4 Nichols Plots 427
9-5 Pulse Testing 427
9-5.1 Performing the Pulse Test 428
9-5.2 Derivation of the Working Equation 429
9-5.3 Numerical Evaluation of the Fourier Transform Integral 431
9-6 Summary 434
Problems 434

Chapter 10 Cascade Control 439


10-1 A Process Example 439
10-2 Stability Considerations 442
10-3 Implementation and Tuning of Controllers 445
10-3.1 Two-Level Cascade Systems 446
10-3.2 Three-Level Cascade Systems 449
10-4 Other Process Examples 450
10-5 Further Comments 452
10-6 Summary 453
Problems 454

Chapter 11 Override and Selective Control 460


11-1 Computing Algorithms 460
1 1 - 1.1 Scaling Computing Algorithms 464
1 l-l.2 Physical Significance of Signals 469
11-2 Override, or Constraint, Control 470
11-3 Selective Control 475
11-4 Summary 479
Problems 479

Chapter 12 Ratio and Feedforward Control 487


12-1 Ratio Control 487
12-2 Feedforward Control 494
Contents xi

12-2.1 The Feedforward Concept 494


12-2.2 Block Diagram Design of Linear Feedforward Controllers 496
12-2.3 Lead/Lag Term 505
12-2.4 Back to the Previous Example 507
12-2.5 Design of Nonlinear Feedforward Controllers from Basic Process
Principles 511
12-2.6 Some Closing Comments and Outline of Feedforward Controller
Design 515
12-2.7 Three Other Examples 518
12-3 Summary 526
Problems 527

Chapter 13 Multivariable Process Control 545


13-1 Loop Interaction 545
13-2 Pairing Controlled and Manipulated Variables 550
13-2.1 Calculating the Relative Gains for a 2 X 2 System 554
13-2.2 Calculating the Relative Gains for an n X n System 561
13-3 Decoupling of Interacting Loops 564
13-3.1 Decoupler Design from Block Diagrams 565
13-3.2 Decoupler Design for n X IZ Systems 573
13-3.3 Decoupler Design from Basic Principles 577
13-4 Multivariable Control vs. Optimization 579
13-5 Dynamic Analysis of Multivariable Systems 580
13-5.1 Signal Flow Graphs (SFG) 580
13-5.2 Dynamic Analysis of a 2 X 2 System 585
13-5.3 Controller Tuning for Interacting Systems 590
13-6 Summary 592
Problems 592

Chapter 14 Mathematical Tools for Computer Control Systems 599


14-1 Computer Process Control 600
14-2 The z-Transform 601
14-2.1 Definition of the z-Transform 601
14-2.2 Relationship to the Laplace Transform 605
14-2.3 Properties of the z-Transform 609
14-2.4 Calculation of the Inverse z-Transform 613
14-3 Pulse Transfer Functions 616
14-3.1 Development of the Pulse Transfer Function 616
14-3.2 Steady-State Gain of a Pulse Transfer Function 620
14-3.3 Pulse Transfer Functions of Continuous Systems 621
14-3.4 Transfer Functions of Discrete Blocks 625
14-3.5 Simulation of Continuous Systems with Discrete Blocks 627
14-4 Sampled-Data Feedback Control Systems 629
14-4.1 Closed-Loop Transfer Function 630
14-4.2 Stability of Sampled-Data Control Systems 632
14-5 Modified z-Transform 638
14-5.1 Definition and Properties of the Modified z-Transform 639
xii Contents

14-5.2 Inverse of the Modified z-Transform 642


14-5.3 Transfer Functions for Systems with Transportation Lag 643
14-6 Summary 645
Problems 645

Chapter 15 Design of Computer Control Systems 650


15-1 Development of Control Algorithms 650
15- 1.1 Exponential Filter 651
15- 1.2 Lead-Lag Algorithm 653
15- 1.3 Feedback (PID) Control Algorithms 655
15-2 Tuning of Feedback Control Algorithms 662
15-2.1 Development of the Tuning Formulas 662
15-2.2 Selection of the Sample Time 672
15-3 Feedback Algorithms with Dead-Time Compensation 674
15-3.1 The Dahlin Algorithm 674
15-3.2 The Smith Predictor 677
15-3.3 Algorithm Design by Internal Model Control 680
15-3.4 Selection of the Adjustable Parameter 685
15-4 Automatic Controller Tuning 687
15-5 Model-Reference Control 688
15-6 Summary 695
Problems 696

Appendix A Instrumentation Symbols and Labels 699

Appendix B Case Studies 707


Case 1: Ammonium Nitrate Prilling Plant Control System 707
Case 2: Natural Gas Dehydration Control System 709
Case 3: Sodium Hypochlorite Bleach Preparation Control System 710
Case 4: Control Systems in the Sugar Refining Process 711
Case 5: CO, Removal from Synthesis Gas 712
Case 6: Sulfuric Acid Process 716
Case 7: Fatty Acid Process 717

Appendix C Sensors, Transmitters, and Control Valves 721


C-l Pressure Sensors 721
c-2 Flow Sensors 723
c-3 Level Sensors 733
c-4 Temperature Sensors 734
c-5 Composition Sensors 742
C-6 Transmitters 743
C-6.1 Pneumatic Transmitter 743
C-6.2 Electronic Transmitter 745
C-7 Types of Control Valves 745
C-7.1 Reciprocating Stem 745
C-7.2 Rotating Stem 750
Contents xiii

c-8 Control Valve Actuators 750


C-g.1 Pneumatically Operated Diaphragm Actuators 750
C-8.2 Piston Actuators 750
C-8.3 Electrohydraulic and Electromechanical Actuators 751
C-8.4 Manual-Handwheel Actuators 751
c-9 Control Valve Accessories 752
C-9.1 Positioners 752
C-9.2 Boosters 753
C-9.3 Limit Switches 753
C-l0 Control Valves-Additional Considerations 753
C- 10.1 Viscosity Corrections 753
C-lo.2 Flashing and Cavitation 756
C-l1 Summary 760

Index 763

You might also like