control algorithms, tuning, and adaptive gain tuning in

168
Louisiana State University LSU Digital Commons LSU Historical Dissertations and eses Graduate School 1981 Control Algorithms, Tuning, and Adaptive Gain Tuning in Process Control. Alberto Arner Rovira Louisiana State University and Agricultural & Mechanical College Follow this and additional works at: hps://digitalcommons.lsu.edu/gradschool_disstheses is Dissertation is brought to you for free and open access by the Graduate School at LSU Digital Commons. It has been accepted for inclusion in LSU Historical Dissertations and eses by an authorized administrator of LSU Digital Commons. For more information, please contact [email protected]. Recommended Citation Rovira, Alberto Arner, "Control Algorithms, Tuning, and Adaptive Gain Tuning in Process Control." (1981). LSU Historical Dissertations and eses. 3656. hps://digitalcommons.lsu.edu/gradschool_disstheses/3656

Upload: others

Post on 28-Feb-2022

13 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Control Algorithms, Tuning, and Adaptive Gain Tuning in

Louisiana State UniversityLSU Digital Commons

LSU Historical Dissertations and Theses Graduate School

1981

Control Algorithms, Tuning, and Adaptive GainTuning in Process Control.Alberto Arner RoviraLouisiana State University and Agricultural & Mechanical College

Follow this and additional works at: https://digitalcommons.lsu.edu/gradschool_disstheses

This Dissertation is brought to you for free and open access by the Graduate School at LSU Digital Commons. It has been accepted for inclusion inLSU Historical Dissertations and Theses by an authorized administrator of LSU Digital Commons. For more information, please [email protected].

Recommended CitationRovira, Alberto Arner, "Control Algorithms, Tuning, and Adaptive Gain Tuning in Process Control." (1981). LSU HistoricalDissertations and Theses. 3656.https://digitalcommons.lsu.edu/gradschool_disstheses/3656

Page 2: Control Algorithms, Tuning, and Adaptive Gain Tuning in

INFORMATION TO USERS

This was produced from a copy of a document sent to us for microfilming. While the most advanced technological means to photograph and reproduce this document have been used, the quality is heavily dependent upon the quality of the material submitted.

The following explanation of techniques is provided to help you understand markings or notations which may appear on this reproduction.

1. The sign or “target” for pages apparently lacking from the document photographed is “Missing Page(s)”. If it was possible to obtain the missing page(s) or section, they are spliced into the film along with adjacent pages. This may have necessitated cutting through an image and duplicating adjacent pages to assure you of complete continuity.

2. When an image on the film is obliterated with a round black mark it is an indication that the film inspector noticed either blurred copy because of movement during exposure, or duplicate copy. Unless we meant to delete copyrighted materials that should not have been filmed, you will find a good image of the page in the adjacent frame. If copyrighted materials were deleted you will find a target note listing the pages in the adjacent frame.

3. When a map, drawing or chart, etc., is part of the material being photo­graphed the photographer has followed a definite method in “sectioning” the material. It is customary to begin filming at the upper left hand corner of a large sheet and to continue from left to right in equal sections with small overlaps. If necessary, sectioning is continued again—beginning below the first row and continuing on until complete.

4. For any illustrations that cannot be reproduced satisfactorily by xerography, photographic prints can be purchased at additional cost and tipped into your xerographic copy. Requests can be made to our Dissertations Customer Services Department.

5. Some pages in any document may have indistinct print. In all cases we have filmed the best available copy.

University Microfilms

Intemationêii300 N. 2EEB RD„ ANN ARBOR. Ml 48106

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 3: Control Algorithms, Tuning, and Adaptive Gain Tuning in

8126978

R ovira, A lberto A rner

CONTROL ALGORITHMS, TUNING, AND ADAPTIVE GAIN TUNING IN PROCESS CONTROL

The Louisiana State University and Agricultural and Mechanical Col PhJO. 1981

UniversityMicrofilms

Internstionsi SOON.ZœbRoad,AnnAibor,MI48106

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 4: Control Algorithms, Tuning, and Adaptive Gain Tuning in

PLEASE NOTE:

In all cases this material has been filmed in the best possible way from the available copy. Problems encountered with this document have been identified here with a check mark V

1. Glossy photographs or pages.

2. Colored illustrations, paper or print_____

3. Photographs with dark background_____

4. Illustrations are poor copy______

5. Pages with black marks, not original copy.

6. Print shows through as there is text on both sides of page.

7. Indistinct, broken or small print on several pages_____

8. Print exceeds margin requirements_____

9. Tightly bound copy with print lost in spine______

10. Computer printout pages with indistinct print.

11. Page(s)___________ lacking when material received, and not available from school orauthor.

12. Page(s)___________ seem to be missing in numbering only as text follows.

13. Two pages numbered___________ . Text follows.

14. Curling and wrinkled pages______

15. Other___________________________________________________________________

UniversityMicrofilms

International

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 5: Control Algorithms, Tuning, and Adaptive Gain Tuning in

CONTROL ALGORITHMS, TUNING, AND ADAPTIVE GAIN TUNING IN PROCESS CONTROL

A Dissertation

Submitted to the Graduate Faculty of the Louisiana State University and

Agricultural and Mechnical College in partial fulfillment of the requirements for the degree of

Doctor of Philosophy

in

The Department of Chemical Engineering

byAlberto Amer Rovira

B.S., Louisiana State University, 1964 M.S., Louisiana State University, 1966

August 1981

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 6: Control Algorithms, Tuning, and Adaptive Gain Tuning in

ACKNOWLEDGEMENT

This work was conducted under the direction of Dr. Paul W.

Murrill, Chancellor and Professor of Chemical Engineering at

Louisiana State University. The author wishes to express his appreci­

ation to Chancellor Murrill for his guidance, encouragement and

patience.

Sincere thanks are also extended to the faculty and staff of The

Department of Chemical Engineering in particular to Dr. Cecil L.

Smith and Dr. Armando B. Corripio for their generous assistance.

The author is grateful for the use of the computer facilities

provided by Project THEMIS Contract No. F44620-68-C-0021 administered

for the U.S. Department of Defense by the U.S. Air Force Office of

Scientific Research.

The author also wishes to express his thanks to Miss Helen

Chisholm and Mrs. Jan Easley for the typing and correcting of this

manuscript.

XI

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 7: Control Algorithms, Tuning, and Adaptive Gain Tuning in

TABLE OF CONTENTS

111

Page

ACKNOWLEDGEMENTS ii

LIST OF FIGURES viLIST OF TABLES XABSTRACT xiCHAPTER

I INTRODUCTION 1II STUDY OF CONTROL ALGORITHMS: LINEAR AND NONLINEAR

Introduction 4

Control Loop 4

Algorithms Considered 6

Performance Criteria 8Sensitivity 8Parameter Optimization 9

Algorithms Which Show Steady State Error or Offset 9

Algorithms Which Show No Steady State Offset 12Summary 34

References 36

III TUNING CONTROLLERS FOR SET POINT CHANGES

Introduction 37

Control Loop 37

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 8: Control Algorithms, Tuning, and Adaptive Gain Tuning in

Performance Criteria 40

Tuning Relationships 40

Application To Direct Digital Control 42

Comparison Of Set Point vs Disturbance Tuning 49

References 59

IV EFFECT OF APPLYING THE PROPORTIONAL ACTION TO THEFEEDBACK VARIABLE IN A PI ALGORITHM

Introduction 60

Control Loop 60

Control Algorithms 60

Process 62

Performance Criterion 63

Results and Discussion 63

Summary 71

References 72

V AUTOMATIC TUNING TECHNIQUE

Introduction 73

Outline of the Method 73

Process 74

Performance Criteria 77

Characterization of the Process 77

Tuning Relationships 78

Results 78

Conclusions 90

References 100

I V

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 9: Control Algorithms, Tuning, and Adaptive Gain Tuning in

VI ADAPTIVE GAIN TUNING USING PARAMETERS SENSITIVITYCOEFFICIENTS

Introduction 101

Theory of Inverse Sensitivity 102

Identification of a Second Order System 106

Application to Adaptive Gain Tuning 106

Reactor Control System 110

Results 112

References 117

VII CONCLUSIONS AND RECOMMENDATIONS 118

APPENDIX

A COMPUTER PROGRAMS 120

VITA 152

V

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 10: Control Algorithms, Tuning, and Adaptive Gain Tuning in

LIST OF FIGURES

Figure Page

II-1 Direct Digital Control Loop 5

II-2 Optimum IAE-1 vs Sampling Time (T/t). 8^/% = .5 10

II-3 Optimum IAE-2 vs Sampling Time (T/t). 8q/X = .5 11

II-4 Manipulated Variable vs Error For The Algorithmm = K |e j e. 13

11-5 Optimum lAE vs Sampling Time (T/t) For A Unit StepChange In Set Point. 8g/t =0.1 15

11-6 Optimum lAE vs Sampling Time (T/t) For A Unit StepChange in Set Point. 8g/t =0.5 16

11-7 Optimum lAE Responses To A Step Change In Set PointFor A Sançling Time (T/t) of 0.1. Process G^/t =0.5 18

11-8 Optimum lAE Responses To A Step Change In Set PointFor A Sampling Time (T/t) of 0.5. Process G^/t = 0.5 19

11-9 Optimum lAE Responses To A Step Change In Set PointFor A Sampling Time (T/t) of 1.0. Process G^/t =0.5 20

11-10 Optimum lAE Response To A Step Change In Set PointFor A Sangling Time (T/t) of 2.0. Process Gg/t = 0.5 21

11-11 Optimum lAE vs Sampling Time (T/t) For A Unit StepDisturbance. 8g/t =0.1 23

11-12 Optimum lAE vs Sangling Time (T/t) For A Unit StepDisturbance. 8g/t =0.5 24

11-13 Optimum lAE Response To A Unit Step Disturbance ForA Sampling Time (T/t) of 0.1. Process 6g/t =0.5 26

11-14 Optimum lAE Responses To A Unit Step Disturbance ForA Sampling Time (T/t) of 0.5. Process 8g/t =0.5 27

11-15 Optimum lAE Responses To A Unit Step Disturbance ForA Sampling Time (T/t) of 1.0. Process 8g/t = 0.5. 28

V I

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 11: Control Algorithms, Tuning, and Adaptive Gain Tuning in

Figure Page

II-16 Optimum lAE Responses To A Unit Step Disturbance ForA Sampling Time (T/t) of 2.0. Process 8^/t = 0.5. 29

III-l Block Diagram Of Basic Control Loop 39

III-2 Process Reaction Curve 41

III-3 Optimum Settings For Proportional Plus Integral (PI)Controller. lAE Criterion. 43

III-4 Optimum Settings For Proportional Plus Integral (PI)Controller. ITAE Criterion. 44

III-5 Optimum Settings For Proportional Plus Integral PlusDerivative (PID) Controller. lAE Criterion. 45

III-6 Optimum Settings For Proportional Plus Integral PlusDerivative (PID) Controller. ITAE Criterion. 46

III-7a Block Diagram Of Typical Digital Control Loop With ASampler And A Zero Order Hold 48

III-7b Block Diagram Of Equivalent Continuous Control Loop 48

III-8 Difference Between Set Point And Disturbance TuningParameters For A PI Controller. lAE Criterion 50

III-9a Response To A Set Point Change. Disturbance vs SetPoint Tuning. PI Algorithm. lAE Criterion 51

III-9b Response To A Disturbance Change. Disturbance vsSet Point Tuning. PI Controller. lAE Criteron. 52

Ill-lOa Response To A Set Point Change. Disturbance vsSet Point Tuning. PID Controller. ITAE Criterion 53

Ill-lOb Response To A Disturbance Change. Disturbance vsSet Point Tuning. PID Controller. ITAE Criterion 54

Ill-lla Response To A Set Point Change. Disturbance vsSet Point Tuning. PI Controller. lAE Criterion 55

Ill-llb Response To A Disturbance Change. Disturbance vsSet Point Tuning. PI Controller. lAE Criterion 56

vxx

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 12: Control Algorithms, Tuning, and Adaptive Gain Tuning in

Figura Page

III-12a Response To A Set Point Change. Disturbance vsSet Point Tuning. PID Controller. ITAE Criterion 57

III-12b Response To A Disturbance Change. Disturbance vsSet Point Tuning. PID Controller. ITAE Criterion 58

IV-1 Direct Digital Control Loop 61

IV-2a Optimum Parameters For PI and PCI Algorithms.lAE Criterion. Sampling Time of 0.1 64

IV-2b Optimum Parameters For PI and PCI AlgorithmslAE Criterion. Sang)ling Time of 0.1 65

IV-3 Response To A Step Disturbance. PI AlgorithmTuned For Set Point And For Disturbances 67

IV-4 Response To A Step Disturbance. PCI AlgorithmTuned For Set Point And For Disturbances 68

IV-5 Response To A Setp Change In Set Point. PIAlgorithm Tuned For Set Point And For Disturbances 69

IV-6 Response To A Step Change In Set Point. PCIAlgorithm Tuned For Set Point And For Disturbances 70

V-1 Stirred Tank Chemical Reactor 75

V-2a Upward Series Of Steps In Level Of Production 81

V-2b Adjusted Response. First Order Lag Plus Dead TimeTuning 82

V-2c Unadjusted Response. First Order Lag Plus Dead TimeTuning 83

V-2d Adjusted Response. Second Order Lag Pius Dead TimeTuning 84

V-2e Unadjusted Response. Second Order Lag Plus DeadTime Tuning 85

V-2f Adjusted Response. Optimum Parameters For A 10%Step Change In Feed Flow Rate 86

vxii

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 13: Control Algorithms, Tuning, and Adaptive Gain Tuning in

Figure Page

V-2g Unadjusted Response. Optimum Parameters For A 10%Step Change In Feed Flow Rate 87

V-3a Downward Series Of Steps In Level Of Production 92

V-3b Adjusted Response. First Order Lag Plus Dead TimeTuning 93

V-3c Unadjusted Response. First Order Lag Plus DeadTime Tuning 94

V-3d Adjusted Response. Second Order Lag Plut DeadTime Tuning 95

V-3e Unadjusted Response. Second Order Lag Plus DeadTime Tuning 96

V-3f Adjusted Response. Optimum Parameters For A 10%Step Change In Feed Flow Rate 97

V-3q Unadjusted Response. Optimum Paraemters For A 10%Step Change In Feed Flow Rate 98

VI-1 Tomovic's Method For Calculating Ax In The Method OfInverse Sensitivity 103

VI-2 Adaptive Gain Tuning Technique 109

VI-3 Response To Step Changes In Temperature 113

VI-4 Manipulated Variable Response 115

VI-5 Response To Step Changes In Temperature 116

I x

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 14: Control Algorithms, Tuning, and Adaptive Gain Tuning in

LIST OF TABLES

Table Page

II-l Controller Parameter Sensitivity For Set Point Changes 17

11-2 Controller Parameter Sensitivity For Disturbances 25

ll-3a Optimum lAE Parameter Settings For PI Controller 30

ll-3b Optimum lAE Parameter Settings For P^l Controller 31

ll-3c Optimum lAE Parameter Settings For PID Controller 32

II-3d Optimum lAE Parameter Settings For Hosier's Controller 33

III-1 Tuning Equations For Set Point Changes 47

V-1 Model Parameters 79

V-2 Control Parameter Settings 80

V-3 ITAE For Upward Series Of Steps 88

V-4 ITAE For Downward Series Of Steps 99

VI-1 Parameter Identification Of A Second Order System 107

Vl-2 Model Parameters From Reactor Response To A StepChange In Flow Rate At Different Temperature Levels Using Meyer's Approximation 111

X

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 15: Control Algorithms, Tuning, and Adaptive Gain Tuning in

ABSTRACT

Controller timing relationships based on optimizing the response of

a first order lag plus dead time process are developed for proportional-

plus -integral (PI) and proportional-plus-integral-plus-derivative (PID)

control algorithms. Minimum error integrals were used as criteria of

performance for the feedback control loop. The relationships presented

are shown to provide excellent response characteristics in particular

for processes where little or no overshoot is desired.

The effect of applying the proportional action to the feedback

variable in a PI control algorithm is analyzed and found to provide a

more consistent response to set point changes and load changes than the

conventional PI algorithm, tuned for either set point or load changes.

A technique of adaptive gain tuning for a PI controller is deveJ-

oped. The method is based on the use of sensitivity coefficient

analysis to the identification of model parameters. The model chosen is

a second order lag, and the technique is applied to a stirred tank

chemical reactor temperature control system. The response of the pro­

posed adaptive gain tuning technique proved to be superior to the

response of the unadapted algorithm. Digital computers were used to

simulate the control systems studied.

XI

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 16: Control Algorithms, Tuning, and Adaptive Gain Tuning in

CHAPTER I

INTRODUCTION

The chemical industry has always been one of the most competi­

tive and profitable sectors of our economy. In recent years the effect

of high energy costs and shortages, foreign con5>etition, and environ­

mental and safety regulations have contributed to a significant decrease

in profit potential. As a result of these pressures, improved design,

operation and regulation of processes has become of utmost importance

to chemical engineers.

The proliferation of process control computers and more

recently the introduction of microprocessors have enhanced the capability

of process and control engineers to study, develope and implement new and

more sophisticated control techniques to achieve improved performance in

the operation of process plants.

Recently, one of the most active research in the field of

process control has been in the area of feedback control systems tuning,

including related areas like adaptive, direct digital and nonlinear con­

trol. It is the purpose of this work to present and evaluate several

techniques in the area of control algorithm tuning and adaptive gain

tuning that may be applied to improve the performance of control loops

in process plants. Chapter II is a comparative study of selected control

algorithms with major emphasis in the sensitivity to parameter settings

and their response performance to both set point and load (disturbance)

changes. Most controller tuning relationships are based on optimizing

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 17: Control Algorithms, Tuning, and Adaptive Gain Tuning in

the responses to load changes. In Chapter II significant dif­

ferences were found to exist between optimal tuning parameters for

set point vs. load changes. The advantages and disadvantages of both

types of tuning approaches are discussed in Chapter III. Tuning

relationships for proportional plus integral (PI) and proportional plus

integral plus derivative (PID) algorithms based on optimal set point

change response are presented for a first order lag plus dead time model.

A technique used to avoid fast rising and overshooting res­

ponses to set point changes is to apply the proportional action of a PI

or PID controller to the controlled variable as opposed to the error

signal which is a more conventional approach. Chapter IV presents a

comparison of both methods and discusses the response characteristics to

be considered in selecting one of them. Tuning relationships to be used

are also discussed.

Most chemical processes are of a nonlinear nature. As levels

of operation and/or process parameters change, controller parameters

have to be adjusted or retuned to maintain acceptable behavior of the

process. Chapters V and VI present techniques to compensate for these

nonlinearities. The first is a simple automatic tuning technique in which

a nonlinear process is characterized by a linear model at different

operating conditions. Tuning relationships for the model are then used

to adjust controller settings as variations in process conditions occur.

Chapter VI demonstrates an adaptive gain tuning technique for

automatically adjusting the gain of a PI or PID controller. It is based

on using parametric sensitivity theory to the identification of model

parameters. The method was applied to a stirred tank reactor control

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 18: Control Algorithms, Tuning, and Adaptive Gain Tuning in

system and its performance compared to the unadapted behavior of the

system.

The results presented in this work were obtained by numerical

simulation in a digital computer. The main programs used are included

in the Appendix.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 19: Control Algorithms, Tuning, and Adaptive Gain Tuning in

CHAPTER II

STUDY OF CONTROL ALGORITHMS: LINEAR AND NONLINEAR

Introduction

Many different types of algorithms and tuning techniques

have been proposed in the literature (1-8) for conventional analog

control and for direct digital control of processes. The ones most

commonly used are the proportional, proportional plus integral

and proportional plus integral plus derivative. These algorithms

are very effective, linear, and easily implemented in analog hard­

ware; which accounts for their popularity. With the introduction

of the digital computer as a direct process controller a variety

of control functions may easily be implemented, which previously

had not been tried, in the hope of improving the control per­

formance of the system. It is the purpose of this chapter to

investigate and compare different algorithms which have been

selected on the basis of their attractiveness and potential.

Tiie responses were analyzed for disturbance and set point changes.

The effect of sampling time as well as the sensitivity to tuning

parameters were also considered.

Control Loop

The algorithms were tested as part of a direct digital

control loop as the one shown in Figure II-l. In this simplified

unity feedback loop the controlled or feedback variable is fed into

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 20: Control Algorithms, Tuning, and Adaptive Gain Tuning in

4J

•H

S >

9<1

CuoorH0 U

1rHes4J%•HQjjO0)4

IM

Q)>4DùO•Hk

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 21: Control Algorithms, Tuning, and Adaptive Gain Tuning in

the computer at regular sampling intervals. The computer compares

this feedback variable with the set point input producing an error

signal. A control algorithm will calculate the new value of the

manipulated variable. This position of the manipulated variable

is held constant between sampling periods by a zero order hold. The

transfer function of the zero order hold is written as:

1HCs) = (II-l)

where: H(s) = zero order hold transfer function

T = sampling time

s = Laplace transform variable

The process model used is the familiar first order lag

plus dead time vdiich may be written as:

where: G(s) = process transfer function

K = process gain

0 = dead timeoT = time constant

Algorithms Considered

The algorithms studied may be divided into two groups :

a) Algorithms which show steady state offset.

b) Algorithms lAich show no steady state offset.

The main difference between these two groups is that the

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 22: Control Algorithms, Tuning, and Adaptive Gain Tuning in

algorithms which do not exhibit an offset have an integral

element which eliminates the steady state error.

The algorithms which show steady state offset

considered are;

= K^e^ proportional (II-3)

= Kg I proportional squared (II-4)

m^ = K^e^ + K g I p r o p o r t i o n a l plusproportional squared (XI-5)

= ^l®n ^2™n-l two parameter (II-6)

where: e^ = error at sampling interval n

m^ = manipulated variable at sampling interval n

= controller constant

In the second group which does not show steady state

offset the following algorithms were considered:

"n " PI (II-7)

( + P^I (II-S)"n “ *=c

m = K n c

“n = Vn - 2Vl + - 3 Vl + %_2“n = ^c (=8° % 2 ®n (11-12)

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 23: Control Algorithms, Tuning, and Adaptive Gain Tuning in

where; T = sampling time

T^ = integral constant

Tjj = derivative constant

Performance Criteria

Several authors (9,10,11) have recommended the use of error

integrals as figures of merit or performance criteria in comparing

control system responses. In this work the integral of the absolute

value of the error (lAE) was used. Two different forms of this in­

tegral were used:

a) lAE - 1 = I c - c(“) I dt (11-14)0

b) lAE - 2 = f |c - c(«>) jdt (11-15)0

where c = controlled variable

0Q = dead time of system

t = time

The lAE - 2 was used only in the study of the algorithms that

show steady state offset.

Sensitivity

Controller parameters are very seldom tuned optimally. Lack

of accuracy and approximations used in modeling the process may affect

the values obtained from tuning relationships. Therefore, a quantity

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 24: Control Algorithms, Tuning, and Adaptive Gain Tuning in

xdiich will measure the sensitivity of the response to controller

tuning is desired. For purposes of this study we shall define

sensitivity to controller parameters as:

.5(IAE^0^05^+ IAZ^_o,o5^)- lAE^ (H-16)lAEa

This is the average deviation of the criterion function

(lAE) when the parameter is 5% above and below its optimum value (a) .

Parameter Optimization

The parameters of the different algorithms were optimized

for a range of sampling times using a numerical Pattern Search ver­

sion programmed by Moore (12). In order to simplify the character­

ization of the process, the model parameters were nondimensionalized.

Therefore the first order lag plus dead time model may be characterized

by the ratio of dead time to time constant (G^/t) and the sampling

time becomes the ratio of sampling time to time constant (T/x).

Algorithms Which Show Steady State Error Or Offset

In this class the following algorithms were tested.

m = K e P (II-3)n c n

m = K le le p2 (II-4)n c‘ n' n

" n = + Kgm^_i 2P (H-5)

”n PP^ (II-6)

For a process with 8^/x = .5, Figure II-2 shows the optimum

values of lAE - 1 for the response to a unit disturbance of the algor­

ithms listed above as a function of sampling time. Figure II-3 shows

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 25: Control Algorithms, Tuning, and Adaptive Gain Tuning in

10

m

oCM

CM

CM

OO a\ 00 vO m m CM

rH

HE-vCE

occ:•HtHai03

IIHOœ>

HH

S605tH1*COCQ>

I<

I4JAOCMI

Q)W300•H

T-avi

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 26: Control Algorithms, Tuning, and Adaptive Gain Tuning in

I 11

0"

CO

m

CD

<N

"rl

CM

W CM

M

CMCOMM

CO

3-avi

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 27: Control Algorithms, Tuning, and Adaptive Gain Tuning in

12

2an equivalent plot for lAE - 2. The proportional squared (P ) proved

to be the poorest and will not be discussed any further. The two

parameter algorithm (2P) performed better than any other, especially

at low sampling times; one drawback of this algorithm is that it is

very sensitive to tuning. It may be noticed that for sampling times

(T/t) greater than 1.6 the difference between the performance of the

algorithms became very small. The proportional plus proportional

squared algorithm performed better than the proportional algorithm;

this algorithm may be useful for nonlinear processes.

As part of the study on algorithms which show steady state

offset, the algorithm

m^ = K|e|*e (11-17)

was optimized for a unit step disturbance and a sampling time of

0.1 in order to have an indication of which would be the most desirable

type of gain in a controller. It was found that K = 1.1682 and

a = -.7405 and the algorithm showed a slight improvement over pro­

portional control. Figure II-4a shows a plot of the manipulated vari­

able as a function of the error. A proportional controller produces

a straight line function.

Algorithms Which Show No Steady State Offset

Analysis of the responses of the algorithms which show no

steady state offset described in equations II-7 to 11-13 showed that

for the first order lag plus dead time process studied, only four of

these algorithms show adequate behavior. These are:

m = K n c ( + ÎT ( " - 7 )

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 28: Control Algorithms, Tuning, and Adaptive Gain Tuning in

13

5mrH•H

'O04JCÜiH1 I

1.5

1.0

1.5.5 1Error (e)

Figure II-4. Manipulated Variable vs Error for the Algorithm

m = k | e I %.

Constants: K = 1.1682

a = -.7405

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 29: Control Algorithms, Tuning, and Adaptive Gain Tuning in

14

”n = ( I f E % ")

= K-e^ - K,e„ . + (1 - K_)m. , + K-m <, Hosier (11-11) n JL n z n—X o n—x j n—z

The last algorithm is equivalent to the one proposed by

Hosier, et al (8), which in z-transform notation may be written as:

K - K_z"lD(z) = ---------- ^ (11-18)

(1 - z~^)(1 + Kgz"^)

Following is a comparative discussion of these algorithms,

which will be referred to as: P^I, PID, and Hosier's. The PI

algorithm was the basis of comparison since this is the most widely

used algorithm. Responses to both distrubance and set point changes

were compared.

1. Set point changes - The minimum lAE of the responses to set point

changes are shown for the four algorithms under consideration in

Figures II-5 and II-6, for 9^/% of .1 and .5 respectively, as

function of the sampling time (T/t). Figures II-7, II-8, XI-9 and

11-10 show the optimum (lAE) responses of each algorithm for a process

with of .5, and values of sampling time of .1, .5, 1., and 2.

Table II-l shows the sensitivities to controller parameters of each algorithm. The following observations based on these results may be made:

a) For sampling times greater than 2., the four algorithms performed similarly, meaning that the third parameter in PID and Hosier's algorithm may be omitted; thus, be­coming a PI algorithm.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 30: Control Algorithms, Tuning, and Adaptive Gain Tuning in

15

en

o

M

H

H

00 CM O

HH

%

00c•HtHIco

&g6&4JCO•H

H

£hOS•H

00 O3 «CO Oco oco > •

s iE eu•H W XJ

mI

avi

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 31: Control Algorithms, Tuning, and Adaptive Gain Tuning in

16

en

%i' oCM

O

H,H

M

OcJ

H

H

I

ÙOC

•HtHîw

&§56 W

a}-ioHH

IH LA ûO O

a ■1 - 0W CDCO > 4Jd•HOçu

w(Vœ

<

I

\olM

O)UaûO

3[VI

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 32: Control Algorithms, Tuning, and Adaptive Gain Tuning in

TABLE II-l

Controller Parameter Sensitivity for

Set Point Changes

17

Sampling Time KjKl 1/1%iKg D ‘ 3

0.2 PI

P^I

PID

Mosler

00.69

16.40

01.95

44.52

00.963

19.82

02.84

34.54

0.25

1.74

0.5 PI

P^I

PID

Mosler

00.94

12.44

01.83

45.54

01.17

14.97

01.53

30.08

0.08

8.78

2.0 PI

p2l

PID

Mosler

01.51

10.26

02.0203.30

02.07

10.660.246

0.72

0.09

0.29

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 33: Control Algorithms, Tuning, and Adaptive Gain Tuning in

18

oatu

.PID Moslera

LUtno

aoB.oaG.00 10.00z .oo1.00 TIME

Figure II-7. Optimum lAE Responses to a Step Change in Set

Point for a Sampling Time (T/t) of 0.1.

Process 6 /t = 0.5. o

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 34: Control Algorithms, Tuning, and Adaptive Gain Tuning in

19

ni

MoslerPID PIo

üJ^-tn

o

o

0.00B.OOG.002.000-00 TIME

Figure XI-8. Optimum lAE Responses to a Step Change in Set

Point for a Sampling Time (T/x) of 0.5.

Process 6 /x = 0.5. o

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 35: Control Algorithms, Tuning, and Adaptive Gain Tuning in

20

ruMosler

PIDPI

Lüen

2.000.00 S. 00 B.OO 10.00TIMEFigure II-9. Optimum lAE Responses to a Step Change in Set

Point for a Sampling Time (T/x) of 1.0.

Process 0 /x = 0.5. o

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 36: Control Algorithms, Tuning, and Adaptive Gain Tuning in

21

aaru

PI, PID, Mosler

OÛ.CODll lOÛC«-

o

10.006.00 B.OO0.00 2.00 TIMEFigure 11-10. Optimum lAE Responses to a Step Change in Set

Point for a Sampling Time (T/t) of 2.0.

Process 6 /t = .5. o

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 37: Control Algorithms, Tuning, and Adaptive Gain Tuning in

22

2b) The optimum responses of P I showed little or no over­shoot, but being a nonlinear algorithm, it was found to be sensitive to parameter variations.

c) Hosier's algorithm was best at sampling times in the vicinity of the dead time, but this was also an area of very high sensitivity to tuning.

2d) For PI, PID and P I there is a plateau in the lAE plots (Figures II-5 and II-6) after a sanqjling time of 1.. This indicates that sampling less often will not cause deterioration of the response, and is due to the fact that in one sampling time, the response has almost reached steady state.2e) P I with only two parameters performs as well as PID

with three. The disadvantage of P^I being its non- linearity.

2. Disturbances - The optimum values of the lAE of the responses to

a unit step disturbance are shown in Figures 11-11 and 11-12 for

6^/t of .1 and .5 respectively. Table II-2 shows the sensitivity

to controller parameters and Figures 11-13, 11-14, 11-15, and 11-16

show optimal responses of each algorithm for sampling times of .1,

.5, 1., and 2.. The following observations, very similar to the set

point case, may be made;

a) For sampling times greater than 1.5 the lAE curves bunch together, indicating that nothing is gained by using a third parameter as in PID and Hosier's algorithms.

2b) The optimal responses of P I showed little or no undershoot.

c) Hosier's algorithm performed best at sampling times in the vicinity of the dead time, but was highly sensitive to tuning in this area.

A comparison of optimum lAE controller settings for dis­

turbances and set point changes is shown in Tables II-3a,b,c and d,2for PI, P I, PID, and Hosier's algorithms respectively. They are

for a dead time (0 /t) of .5. It should be remembered that the

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 38: Control Algorithms, Tuning, and Adaptive Gain Tuning in

23

0.0 1.0Sampling Time (T/x)

Figure 11-11. Optimum lAE vs Sampling Time (T/x) for A Unit Step Disturbance. G^/x = .1

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 39: Control Algorithms, Tuning, and Adaptive Gain Tuning in

24

oen

CM

wCM

M

OO

HH

%

oag

îCO

0)og•s34JCO•HQCLm4JCO

kgHHOJB

W)c

ICOg§

ICLoCM I—II

Ou360•H&L

LAoIIH

en CM

3VI

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 40: Control Algorithms, Tuning, and Adaptive Gain Tuning in

25

TABLE II-2

Controller Parameter Sensitivity for Disturbances

Sampling Time kJ k l/ïjKj V K 3

0.2 PI 00.75 00.63

P^I 07.38 11.24

PID 01.67 00.98 0.35

Mosler 23.53 17.44 1.38

0.5 PI 00.78 00.61

P^I 05.28 07.24

PID 01.13 00.82 0.14

Mosler 06.31 03.26 7.24

2.0 PI 00.48 00.74

P^I 00.17 00.52

. PID 00.55 00.87 0.09

Mosler 00.92 00.38 0.29

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 41: Control Algorithms, Tuning, and Adaptive Gain Tuning in

26

ru

PIMosler

UJ^-cn PID

Oû_COo!i lO

a

D-OD 2.00 G.00 B.OO 10.00TIMEFigure 11-13. Optimum lAE Response to a Unit Step Disturbance

for a Sampling Time (T/t) of 0.1.Process 6 /t = 0.5.O

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 42: Control Algorithms, Tuning, and Adaptive Gain Tuning in

27

ru

PIPIDMosler

2.00‘o.oo 5.00 6.00 10.00TIMEFigure 11-14. Optimum lAE Responses to a Unit Step Disturbance

for a Sampling Time (T/x) of 0.5.

Process 0 /x = 0.5. o

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 43: Control Algorithms, Tuning, and Adaptive Gain Tuning in

28

ooeu

PI

PID■Mosler

0.00 2.00 y.00 6.00 .00 10.00TIMEFigure 11-15. Optimum lAE Response to a Unit Step Disturbance for

a Sampling Time (T/t) of 1.0.

Process 6 /x = 0.5. o

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 44: Control Algorithms, Tuning, and Adaptive Gain Tuning in

29

eu

ÜJ^-cnoCOolljO

PI, PID, Mosler

‘d .oo 2.00 B.OO 10.00TIMEFigure 11-16. Optimum lAE Responses to a Unit Step Disturbance

for a Sampling Time (T/t) of 2.0.

Process 0 /t = 0.5.O

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 45: Control Algorithms, Tuning, and Adaptive Gain Tuning in

30

TABLE II-3a

Optimum lAE Parameter Settings for PI Controller.

Sampling Time Set Point Changes Disturbances

T K 1/T^ K 1/T^

.1 1.169 .873 1.652 .932

.5 .771 .976 1.005 .988

1.0 .709 .934 .908 .921

2.0 .297 1.587 .324 1.661

3.0 .095 3.564 .097 3.673

4.0 .073 3.435 .071 3.596

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 46: Control Algorithms, Tuning, and Adaptive Gain Tuning in

31

TABLE II-3b

2Optimum lAE Parameter Settings for P I Controller

Sampling Time Set Point Changes Disturbances

T K 1/T\ K 1/T^

.1 1.308 .800 2.810 .527

.5 .777 .961 1.401 .682

1.0 .745 .906 1.663 .567

2.0 .252 1.801 .328 1.591

3.0 .095 3.516 .100 3.497

4.0 .071 3.558 .034 7.587

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 47: Control Algorithms, Tuning, and Adaptive Gain Tuning in

32

TABLE II-Sc

Optimum lAE Parameter Settings for PID Controller

1 ( % - e - 1)" n = + T [ 2: e .T + ?D î------- >

Sampling Time Set Point Changes Disturbances

T K 1/T^ K 1/T^ ?D

.1 1.584 .719 .188 2.015 1.453 .251

.5 .8582 .929 .204 .885 1.553 .345

1.0 .800 .908 .425 .631 1.772 .726

2.0 .267 1.802 .252 .254 2.190 .283

3.0 .092 3.698 .109 .099 3.746 .125

4.0 .034 7.633 .042 .083 3.076 .103

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 48: Control Algorithms, Tuning, and Adaptive Gain Tuning in

33

TABLE II-3d

Optimum lAE Parameter Settings for Mosler’s Controller

“n = h .% - ^2%-l + ^ - ^3^“n-l + % _ 2

Sampling Time Set Point Changes Disturbances

T %1 %2 %3 %1 %2 %3

.1 2.621 -2.403 1.014 4.291 -3.909 1.143

.5 2.62 -1.589 1.031 5.162 -2.530 1.642

1.0 1.682 - .619 .401 2.421 - .738 .479

2.0 1.233 - .167 .108 1.403 - .171 .110

3.0 1.110 - .041 .050 1.165 - .046 .042

4.0 1.060 - .021 .050 1.078 - .015 .015

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 49: Control Algorithms, Tuning, and Adaptive Gain Tuning in

34

sampling time and controller parameters have been nondimensionalized

(i.e., process gain and time constant equal to 1.)

The differences between set point and disturbance tuning

are considerable for every algorithm, PI showing the smallest dif­

ferences. The differences in tuning parameters are larger at fast

sampling rates, decreasing as sampling becomes less frequent. The

case of the PI and PID algorithms will be discussed in greater detail

in Chapter III.

Simimary

Of the algorithms which show steady state offset only the 2ones with two parameters (PP and 2P) performed better than a propor­

tional algorithm. It is questionable if the improvement in perform­

ance is large enough to justify going to a two parameter algorithm.

Of the algorithms which show no offset it was found that2PI, PID, and Hosier’s performed as well or better than a PI algo-

2rithm. P I has the main disadvantage of being nonlinear and there­

fore its tuning depends on the size of the disturbances. PID may be

used at fast sampling rates with success. Hosier's algorithm should

perform very well at sampling times somewhat larger than the dead

time of the system in order to avoid the highly sensitive region in

the vicinity of the dead time.

In the cases studied it was found that except for Hosier’s

algorithm at a sampling time equal to the dead time, the performance

of the algorithms did not improve greatly over PI. This is due to

the fact that in a linear first order lag plus dead time model the

response is unaffected by disturbances a length of time equal to the

dead time, therefore the disturbance will go undetected for that time

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 50: Control Algorithms, Tuning, and Adaptive Gain Tuning in

35

plus a fraction of the sampling time (depending on when the distur­

bance entered the system). It is then very difficult to make the

process return to steady state in a more efficient manner than PI

does, using a conventional type of feedback controller. It may also

be concluded that a given nonlinear algorithm may be used to improve

the response of a given nonlinear process, but it is doubtful that

much can be done with linear models.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 51: Control Algorithms, Tuning, and Adaptive Gain Tuning in

36

REFERENCES

1. Ziegler, J.G. and Nichols, N.B., "Optimum Settings for Automatic Controllers", Trans. ASME, 64, 1942.

2. Smith, C.L. and Murrill, P.W., "A More Precise Method for Tuning Controllers", Instrument Society of America Journal, May 1966.

3. Bates, H.T. and J.C. Webb, "Nonlinear Controller for Underdamped Systems", Chemical Engineering Progress, Vol. 57, p. 49 - 53, September, 1961.

4. Jones C.A. , et al., "Design of Optimum Dynamic Control Systems for Nonlinear Processes", Industrial and Engineering Chemistry Fundamentals, Vol. 2, No. 2, pp. 81-89, May 1963.

5. Lopez, A.M., J.A. Miller, P.W. Murrill and C.L. Smith, "Controller Tuning Relationships Based on Integral Criteria", Instrumentation Technology, Vol. 14, No. 11 (1967) p. 57.

6. Lopez, A.M., P.W. Murrill, and C.L. Smith, "Optimal Tuning of Proportional Digital Controllers”, Instruments and Control Systems, October, 1968.

7. Lopez, A.M., P.W. Murrill, and C.L. Smith, "Tuning PI and PID Digital Controllers", Instruments and Control Systems, Feb. 1969.

8. Mosler, H.A., et al., "Process Control by Digital Compensation",AIChE Journal, Vol. 13, No. 4., pp. 768 - 778, July, 1967.

9. Graham, D. and R.C. Lathrop, "The Synthesis of Optimum Transient Response: Criteria and Standard Forms", Transactions AIEE, Vol. 72,pt. II, pp. 273 - 288, Nov., 1953.

10. Schultz, W.C. and V.C. Rideout, "Central Systems Performance Measures: Past, Present, and Future", IRE Transactions on Automatic Control,pp. 22 - 35, February, 1961.

11. Lopez, A.M., Ph.D. Dissertation, Louisiana State University, 1967.

12. Moore, C.F., Ph.D. Dissertation, Louisiana State University, 1967.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 52: Control Algorithms, Tuning, and Adaptive Gain Tuning in

CHAPTER III

TUNING CONTROLLERS FOR SET POINT CHANGES

Introduction

Techniques for tuning controllers based on the open loop

response of a system or process reaction curve were developed by

Ziegler and Nichols (1) and later refined by Cohen and Coon (2) and

Smith and Murrill (3). These methods were based on the use of the

one quarter decay ratio of the response as the performance criterion.

Lopez, et al (4) developed open loop tuning relationships based on

the minimization of error integral criteria. Miller, et al (5) com­

pared the above mentioned tuning techniques and concluded that

techniques based on the use of error integrals as performance criteria

are superior to others.

In his work Lopez developed tuning relationshiops which

minimized the error integrals of the response to disturbance changes.

Optimum settings for disturbance changes are not optimum for changes

in set point; and in certain applications set point changes are

rather common. It is the purpose of this chapter to develop con­

troller tuning relationships based on the minimization of error

integrals for set point changes. It will also be shown how these

relationships may be used to tune both conventional and direct

digital control loops.

Control Loop

This work will be concerned with single input-single output

37

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 53: Control Algorithms, Tuning, and Adaptive Gain Tuning in

38

control loops such as the one shown in the block diagram in Figure III-l.

The process block includes the dynamics of sensing elements, valves,

etc., in addition to the actual process. The controller block repre­

sents the control algorithm.

The control algorithms which will be tuned are the propor­

tional plus integral (PI) and the proportional plus integral plus

derivative (PID). In both cases the controllers are assumed to be

"ideal", i.e. no interaction between modes and no lags associated with

them. An ideal PID controller may be represented in transfer function

form by the following equation:

where: M(s) = manipulated variable

E(s) = error

K« = controller gain

T^ = reset time

Tp = derivative time

s = Laplace transform variable

Open loop tuning methods are based on the characterization of the pro­

cess reaction curve, the response of the process to a step change in

the controller output or manipulated variable. The process may be

represented by a first order lag plus dead time:

Output _ Ke80SInput TS + 1

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 54: Control Algorithms, Tuning, and Adaptive Gain Tuning in

39

CLoo

0 uAJ1COCOCQ

BCOu60CO*i4QUOfQ

auD60f-lb

0) o03 Pk

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 55: Control Algorithms, Tuning, and Adaptive Gain Tuning in

40

where: K = process gain

T = time constant

0Q = dead time

We may calculate the model parameters (K, T, from the

process reaction curve by the method shown in Figure III-2.

Performance Criteria

Error integral criteria have been recommended (5,6,8) for

the analysis and comparison of controller performance. In this work

two error integrals will be used:

1. The integral of the absolute value of the error, lAE.

r " lAE = J |e(t)|di

2. The integral of the time and the absolute value of the

error, ITAE.

ITAE = t|e(t)|dt

Tuning Relationships

As stated earlier in this work the tuning relationships will

be based on optimizing the response to a step change in set point as

opposed to a step change in disturbance. This problem is one of find­

ing the minimum value of the integral criteria with respect to the

controller parameters. In other words the integral criteria 0 is a

function of K^, T , Tq for a given process and the optimal controller

parameters are those that minimize 0. This optimization of the

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 56: Control Algorithms, Tuning, and Adaptive Gain Tuning in

41

o

a.

CSJmvo o o

CMvO

n

<u>5§ •H JJ . Ücd(ScoCQQ)aou04

CMIMMM<DWD00•HPK4

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 57: Control Algorithms, Tuning, and Adaptive Gain Tuning in

42

controller parameters was accomplished by using a numerical Pattern

Search version programmed by Moore (7). The calculations were per­

formed in a digital computer.

To generalize the results the parameters have been non-

dimensionalized and the controller settings will be expressed as

functions of the ratio of dead time to time constant (Sq/t ). Figures

III-3 and III-4 show the tuning relationships for PI controllers and

Figures III-5 and III-6 for PID controllers. Empirical equations have

been fitted to these curves and the resulting equations are shown in

Table III-l.

Application to Direct Digital Control

Consider the block diagram of a typical direct digital con­

trol loop shown in Figure III-7a. Notice that the sampler and the

zero order hold are the main difference from the conventional analog

loop considered up to now. Moore (7) showed that the sampler and

hold could be approximated by a dead time equal to one half the

sampling time of the sampler. The effect of this approximation is

shown in the equivalent diagram of Figure III-7b.

Based on this approximation the tuning technique developed

for continuous controllers in this article may be extended to the

more complex sampled data case. This is accomplished by considering

an ’’effective dead time” for direct digital control loops. This

"effective dead time" is the sum of the process model dead time plus

one half the sampling time of the loop, i.e.

6' = Go + i Ts

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 58: Control Algorithms, Tuning, and Adaptive Gain Tuning in

43

10KK

orKK

■=v

0. .2 .4 .6 .8 1

Figure III-3. Optimum Settings for Proportional Plus Integral (PI) Controller. lAE Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 59: Control Algorithms, Tuning, and Adaptive Gain Tuning in

44

10

KK irec

or

0. .2 .4 .6 .8 1.8o/T

Figure III-4. Optimum Settings for Proportional plus Integral (PI) Controller. ITAE Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 60: Control Algorithms, Tuning, and Adaptive Gain Tuning in

45

10

4

KKc, 3

TT,-

or

IOTt1

KK

lOT.

.5

.69^/t

Figure III-5. Optimum Settings for Proportional Plus Integral Plus Derivative (PID) Controller. lAE Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 61: Control Algorithms, Tuning, and Adaptive Gain Tuning in

46

10

KK

lOT,

or

lOT-

0 .2 4 6 8 1

Figure III-6. Optimum Settings for Proportional Plus Integral Plus Derivative (PID) Controller. ITAE Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 62: Control Algorithms, Tuning, and Adaptive Gain Tuning in

TABLE III-l

Tuning Equations for Set Point Changes

Controller Algorithm: M(S) = Kc ( 1 + + Tg^ E(s)

47

Tuning Equations: = a(0o/T)‘

= c + d(6o/T)

T = e(8o/T)f

Controller Criterion a b c d e f

PI lAE .758 -.861 1.02 -.323

PI ITAE .586 -.916 1.03 -.165

PID lAE 1.086 -.869 .74 -.13 .348 .914

PID ITAE .965 -.85 .796 -.1465 .308 .929

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 63: Control Algorithms, Tuning, and Adaptive Gain Tuning in

48

SamplerSetPoint

Zero Order Hold

1-e-Ts

ProcessController

Figure III-7a. Block Diagram of Typical Digital Control Loop with a Sampler and a Zero Order Hold.

- — sProcessController

Figure III-7b. Block Diagram of Equivalent Continuous Control Loop. The Dead Time Approximates the Sampler and the Zero Order Hold.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 64: Control Algorithms, Tuning, and Adaptive Gain Tuning in

49

Using this effective dead time we may find the control param­

eters in the same figures and equations used for the continuous case

(Figures III-3 to III-6, Table III-l).

Comparison of Set Point vs. Disturbance Tuning

The difference between set point and disturbance tuning

parameters for a PI controller based on the lAE criterion is shown in

Figure III-8. Values of controller gain (K ) are larger for disturbance

tuning, and values of reset time (T ) are smaller (larger 1/Ti). The

difference is the largest for small 6q/t , decreasing as 6q/t increases.The responses to a set point change for a first order lag

plus dead time with Sq/t = .5 are shown in Figure III-9a for a PI

controller. Figure III-9b shows the responses for a disturbance change.

As expected, set point tuning is best for set point changes, and dis­

turbance tuning is best for disturbance changes. Neither method may be

judged better than the other since they are based on different criteria.

Processes where seldom set point changes occur should be tuned for dis­

turbances. Processes where frequent set point changes occur, as is

often the case in batch processes or where supervisory control is used,

should be tuned accordingly. In other words a compromise should be

reached on what is best for each particular case in question. Figures

Ill-lOa and Ill-lOb show the same conclusions for a PID controller.

Figures III-ll and III-12 are equivalent to III-9 and III-IO,

but for Sq/t = .2. In this case the difference in tuning methods is

appreciably larger since Ôq/t is smaller.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 65: Control Algorithms, Tuning, and Adaptive Gain Tuning in

50

or

Ti

10.k k d i s t

5. KK SET POINT4.

3. DIST

2.

1.

SET POINT.5

ns

0. 2 4 6 8 1

Figure III-8. Difference Between Set Point and Disturbance Tuning Parameters for a PI Controller. lAE Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 66: Control Algorithms, Tuning, and Adaptive Gain Tuning in

51

ru

Dist. Tunedoo

Set Point TunedO

20.008.00S.000.00 2.00 4.00TIME

Figure III-9a. Response to a Set Point Change. Disturbance vs. Set Point Tuning. PI Controller. TAB Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 67: Control Algorithms, Tuning, and Adaptive Gain Tuning in

52

eu

T =O

tn

Set Point Tuned

Dist. Tuned

O

10.002.00 6.00 6.00TIME

Figure III-9b. Response to a Disturbance Change. Disturbancevs. Set Point Tuning. PI Controller. lAE Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 68: Control Algorithms, Tuning, and Adaptive Gain Tuning in

53

eu

Dist. Tunedoo

enzo Set Point Tuned

o

2.00 S . 00 8.00 10.000.00 H . 00TIME

Figure IlI-lOa. Response to a Set Point Change. Disturbance vs. Set Point Tuning. PID Controller.• ITAE Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 69: Control Algorithms, Tuning, and Adaptive Gain Tuning in

54

ru

T =Oa

cn z ■ o

Set Point TunedCOoÜJO

Dist. Tuned

2.00 8.00 10.004 . 0 0 6.000.00 TIME

Figure IlI-lOb. Response to a Disturbance Change. Disturbance vs.Set Point Tuning. PID Controller. ITAE Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 70: Control Algorithms, Tuning, and Adaptive Gain Tuning in

55

m

Disturbance Tuned

lUrw"enzoû-COou lO

Set Point Tuned

o

2.00 6.00 8.000.00 3 0 . 0 0TIME

Figure Ill-lla. Response to a Set Point Change. Disturbance vs.Set Point Tuning. PI Controller. lAE Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 71: Control Algorithms, Tuning, and Adaptive Gain Tuning in

56

oaeu“

oaÎTÏzoÛ.COotu aOC

ao

0.00

e^T = .2

Set Point Tuned

Disturbance Tuned

2‘.0Q H . 00 6 . 0 0TIME 8.00 10.00

Figure Ill-llb. Response to a Disturbance Change. Disturbance vs.Set Point Tuning. PI Controller. lAE Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 72: Control Algorithms, Tuning, and Adaptive Gain Tuning in

57

<u

Disturbance Tunedoo

V)zo

Set Point Tuned

COoli l O

o

2.00 B.OC0.00 8.00 10.00TIME

Figure III-12a. Response to a Set Point Change. Disturbance vs.Set Point Tuning. PID Controller. ITAE Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 73: Control Algorithms, Tuning, and Adaptive Gain Tuning in

58

Oeseu'

oo

«nzon_cnotxjo

oo

6 /t - .2

Set Point Tuned

Disturbance Tuned

,00 2.00 «i-.OO 6.00TIME 8.00 10.00

Figure III-12b. Response to a Disturbance Change. . Disturbance vs.Set Point Tuning. PID Controller. ITAE Criterion.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 74: Control Algorithms, Tuning, and Adaptive Gain Tuning in

59

REFERENCES

1. Ziegler, J. G., and N. B. Nichols, "Optimum Settings for Automatic Controllers," Trans. ASME. 64. pp. 759-765 (1942).

2. Cohen, G. H., and G. A. Coon, "Theoretical Considerations of Re­tarded Control," Taylor Technical Data Sheet No. TDS-IOAIOO,Taylor Instrument Companies, Rochester, Nev York.

3. Smith, C. L., and P. W. Murrill, "A More Precise Method for Tuning Controllers," ISA Journal. May 1966.

4. Lopez, A. M., et al, "Tuning Controllers with Error-Integral Criteria," Instrumentation Technology. Vol. 14, pp. 57-62, Dec. 1967.

5. Miller, J. A., et al, "A Comparison of Controller Tuning Techniques," Control Engineering. Vol. 14. pp. 72-75, Dec. 1967.

6. Graham, D., and R. C. Lathrop, "The Synthesis of Optimum Transient Response: Criteria and Standard Forms," Transactions IEEE. Vol. 72.pt. II, pp. 273-288, Nov. 1953.

7. Moore, C. F., Ph.D. Dissertation, Louisiana State University, 1969.

8. Lopez, A. M., Ph.D. Dissertation, Louisiana State University, 1967.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 75: Control Algorithms, Tuning, and Adaptive Gain Tuning in

CHAPTER IV

EFFECT OF APPLYING THE PROPORTIONAL ACTION TO THE FEEDBACK VARIABLE IN A PI ALGORITHM

Introduction

The difference existing between the controller tuning par­

ameters obtained by optimizing the response to disturbances and the

parameters obtained by optimizing the response to set point changes

has been shown in Chapter III. In a proportional plus integral (PI)

algorithm, the proportional action may be applied to the error signal

or to the feedback variable (1,2). Both variations respond in the same

manner to disturbances, but they respond differently to changes in

set point. In this chapter the responses of both algorithms to the

different types of inputs will be studied.

Control Loop

A typical single input-single output direct digital control

feedback loop is shown in Figure IV-1. The loop differs from a con­

tinuous control system by the introduction of the samplers and zero

order hold. The computer, represented by the dotted block, comprises

the comparator and the control algorithm.

Control Algorithms

An ideal continuous proportional plus integral control al­

gorithm may be written as

60

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 76: Control Algorithms, Tuning, and Adaptive Gain Tuning in

61

COü

COXJ

4J4JCOCO

§ ë Sw oNOS:

COCO

ouAJc8

tapÜouP

O300•H

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 77: Control Algorithms, Tuning, and Adaptive Gain Tuning in

62

where: m = manipulated variable

e = error signal

t = time

Kg = controller gain

Ti = reset or integral time

■When used in direct digital control, the discrete form of

this algorithm is:

“n = Kc [ en + ^lAt]i=0

where: At = sampling time

n = sampling interval

A variation of the common PI algorithm described above is to

apply the proportional action to the feedback or controlled variable (c)

instead of to the error signal (e). This algorithm which will be

called proportional on the controlled variable plus integral (PCI) may

be expressed as:

CO

“n = ^c [-Cn + 2 ®nn=l

where: c = controlled or feedback variable

It may be noted that both algorithms are equivalent when

no set point changes occur. It is when set point changes take place

that these two algorithms behave differently.

Process

A first order lag plus dead time model will be used to test

the algorithms; i.e..

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 78: Control Algorithms, Tuning, and Adaptive Gain Tuning in

63

G(s) = K =•©oS

TS + 1

where: G(s) = process transfer function

K = process gain

T = time constant

0Q = dead time

s = Laplace transform variable

For convenience the process gain and time constant will be

considered equal to one. This is equivalent to non-dimensionalization

of the equation. The process may then be characterized by the ratio

of dead time to time constant (©q/t ).

Performance Criterion

The integral of the absolute value of the error (lAE) will be

used as the criterion of performance. It may be expressed as:

lAE = J lejdto

Results and Discussion

The parameters which minimize the integral of the absolute

error (lAE) of the responses to disturbance and set point changes were

found for both PI and PCI algorithms. These optimal parameters are

plotted in Figure IV-2a and IV 2b for a range of ©q/t from 0.1 to 1.0,

and a sampling time of 0.1. Since disturbance tuning is the same for

both algorithms only one curve is shown on each graph corresponding to

disturbances, while two curves are needed for set point tuning: one

for each algorithm. It may be noticed that the set point tuning curves

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 79: Control Algorithms, Tuning, and Adaptive Gain Tuning in

64

KK

5.

4.Disturbance Tuned |~

3. Set Point Tuned PCI

Set Point Tuned PI2.

1.

0.2 .4 . 6 1.0

Figure IV-2a - Optimum Parameters for PI and PCI Algorithms, based on

the Response to Disturbance and Set Point Changes. lAE Criterion.

Sampling Time of 0.1.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 80: Control Algorithms, Tuning, and Adaptive Gain Tuning in

65

-U.4-

1.4 ,i_L.

a1.2

1.0■TT

Set Point Tuned PCI

Disturbance Tuned

Set Point Tuned PI

u.

0.2 .4 .8 1.0

Figure IV-2b - Optimum Parameters for PI and PCI Algorithms, based

on the Response to Disturbance and Set Point Changes. lAE Criterion.

Sampling Time of 0.1.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 81: Control Algorithms, Tuning, and Adaptive Gain Tuning in

66

for the PCI algorithms are much closer to the disturbance tuning curve

than those for the PI algorithm. Therefore, if both a PI and a PCI al­

gorithms are tuned for disturbances, the PCI will be closer to optimal

set point tuning than the PI algorithm. It may also be pointed out

that as 6o/t increases, the parameters are less dependent on the type

of tuning for both algorithms, and the differences between disturbance

and set point tuning become smaller.

Responses to a step change in set point and disturbance for a

process with a Qq/t of 0.2 are shown in Figures IV-3 to IV-6. Figures

IV-3 and IV-5 show the responses of a PI algorithm to disturbance and

set point changes respectively for both types of tuning. Figures IV-4

and IV-6 show equivalent responses for a PCI algorithm.

Figure IV-4 shows that there is almost no difference between

disturbance and set point tuning for a PCI algorithm when the system is

subject to disturbances, while Figure IV-3 shows that PI responds much

slower to disturbances when set point tuned than when tuned for dis­

turbances. Figure IV-5 shows the large overshoot inherent in PI

algorithms tuned for disturbances when a set point change occurs. This

overshoot is not present in the response of a PCI algorithm as shown in

Figure IV-6, but a slower rising response is noticed.

Tuning relationships have been developed for PI controllers

based on minimizing error integrals by Lopez, et al (3,4) for dis­

turbances and in Chapter III of this work for set point changes.

Lopez's tuning relationships also apply for a PCI controller since they

are based on the response to disturbances. From the closeness of the

parameters discussed above, it seems that the development of set point

tuning relationships for PCI algorithms is not justified, and the

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 82: Control Algorithms, Tuning, and Adaptive Gain Tuning in

67

oooj'

oabJ^-en

aO

ÜJC3

Set Point Tuning - lAE = .425

Dist. Tuning - lAE = .201

'O.QO 2 .0Q *i‘.OD b '.OOTIME 8.00 10.00

Figure IV-3 - Response to a step disturbance.PI Algorithm tuned for set point and for disturbances.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 83: Control Algorithms, Tuning, and Adaptive Gain Tuning in

68

aoeu

cnzoa .COoÜ J OCCn-

Dist. Tuning - lAE = .201

Set Point Tuning - lAE = .212oo

G.00 8.002.00 10.00TIME

Figure IV-4 - Response to a step disturbance.PCI Algorithm tuned for set point and for disturbances.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 84: Control Algorithms, Tuning, and Adaptive Gain Tuning in

69

eu

Disturbance Tuning - lAE = .48

OÙ_COoUjo

Set Point Tuning - lAE = .265

G.DO 8.00 10.00TIME

Figure IV-5 - Response to a step change in set point. PI Algorithm tuned for set point and for disturbances.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 85: Control Algorithms, Tuning, and Adaptive Gain Tuning in

70

CM

Set Point Tuning - lAE = .457oa

W.J-z

COor , l ODisturbance Tuning - lAE = .595

G.OO0.00 2.00 8.00 20.00TIME

Figure IV-6 - Response to a step change in set point. PCI Algorithm tuned for set point and for disturbances.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 86: Control Algorithms, Tuning, and Adaptive Gain Tuning in

71

tuning relationships developed by Lopez for disturbances are good

enough for any types of input when a PCI controller is used.

Summary

The following points should be made before concluding this

discussion:

a) PCI seems to be a more consistent algorithm, tuning being less dependent on the type of input considered than a PI controller.

b) The PCI algorithm may be implemented in continuous control systems.

c) The principle of applying the proportional action to the feedback or controlled variable may also be applied to proportional-plus-integral-plus-derivative (PID) algorithms with similar results.

d) The PCI algorithm is not recommended for use in the slave controller of a cascade system, because in this case it is desired that the proportional action respond immediately to the set point change.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 87: Control Algorithms, Tuning, and Adaptive Gain Tuning in

72

REFERENCES

1. Bernard, J.W. and Cashen, J.F., "Direct Digital Control", Instruments and Control Systems, Sept. 1965.

2. Woodley, G.V., "Building Block Approach to DDC Algorithm Implementation", 22nd Annual International ISE Instrumentation - Automation Conference, Chicago, Illinois, Sept. 11-14, 1967.

3. Lopez, A.M. , et al, "Tuning Controllers with Error-Integral Criteria", Instrumentation Technology, Vol. 14, pp. 57-62, Nov. 1967.

4. Lopez, A.M., et al, "Tunign PI and PID Digital Controllers", Instruments and Control Systems, Feb. 1969.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 88: Control Algorithms, Tuning, and Adaptive Gain Tuning in

CHAPTER V

AUTOMATIC TUNING TECHNIQUE

Introduction

The tuning of process controllers in the chemical industries

is usually done manually in the field or in the control room by instru­

ment engineers and technicians. In many processes where levels of

production are changed fairly often, the controller parameters have to

be readjusted or retuned after each one of these changes due to the

nonlinear nature of most processes. A method is proposed herein, where

control parameters are tuned automatically when changes in level of

production occur. The method is easily implemented when direct digital

control is being used. A small variation may also be implemented in

continuous conventional analog control.

The method proposed is simulated as part of a chemical reactor

temperature control system, different alternatives are also evaluated.

Outline of the Method

In the proposed automatic parameter adjusting technique out­

lined here, a nonlinear process is characterized by a linear model at

different levels of production. With sufficient points, the parameters

of the linear model may be expressed as functions of the level of pro­

duction. This may be accomplished by fitting the data points with an

empirical equation, or by using tables and linear interpolation between

points. The model used may be one obtained from experimental plant

73

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 89: Control Algorithms, Tuning, and Adaptive Gain Tuning in

74

tests, as the ones used in this work. Tuning relationships for the

model being used must be available.

With the information described above stored in the control

computer, and sampling the variable which defines the level of pro­

duction; i.e., feed flow rate, as soon as a change in level of pro­

duction is noticed, the model parameters may be calculated for this

new level and from the tuning relationships the new control param­

eters obtained and adjusted. It will be noted that the controller

parameters may be stored directly as functions of the level of pro­

duction, therefore saving storage and one step in the calculation

procedure; on the other hand, tuning relationships stored may be used

for several loops.

An explanation of the chemical reactor model in which the

proposed method is simulated, the control strategy, and analysis of

the performance of the method follows.

Process

The process for evaluating the proposed control parameter

adjustment scheme is the continuous stirred tank chemical reactor

system shown in Figure V-1. Feed at a flow rate W, temperature Tj,

and concentration enters the reactor of volume V . Two moles of

component A react to produce one mole of B according to the equation:

A — Y

The reaction is second order, irreversible, and exothermic.

The rate of reaction being given by

rA = kC^

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 90: Control Algorithms, Tuning, and Adaptive Gain Tuning in

75

Wo 0000000 T,C,

(p

A — D-------~(tRC)------- ^

Parameters :

w = 50 Ib/min Pt = 55 Ib/ft^

^i = 198°F Pw = 62.4 Ib/ft^

^Ao " .5975 Ib-mole/ft^ = .9 BTU/lb “F

Ttt- = 80°F C — 1 BTU/lb °FWi pw

\ = 13.38 ft^ m = -6000 BTU/lb-mole2 -a/TA = 100 ft k — V

= 8.64 ft^ = 8.33 X 10® ft®/lb-

U = 25 BTU/hr °F ft^ a = 14000°R

Figure V-1. Stirred Tank Chemical Reactor

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 91: Control Algorithms, Tuning, and Adaptive Gain Tuning in

76

The product stream leaves at a temperature T and concentra­

tion C . To remove the heat evolved by the reaction, cooling water is

circulated through a tube bundle, water entering at temperature T j

and leaving at T^q.

The basic assumptions made in the development of the mathe­

matical model are:

1. The contents of the tank are perfectly mixed, so that the concen­tration and temperature of the reacting mass and exit stream maybe considered equal.

2. The contents of the tube bundle are recirculated fast enough sothat the temperature of the cooling water may be considered uniformand equal to the exit water temperature.

3. The physical properties of the different streams, and the tank level are considered to be constant.

4. Heat losses to the surroundings and heat generated by the impeller are negligible.

5. There is no change in volume due to the reaction.

6. The valve and temperature sensor dynamics may be represented by first order lags with time constants of and Tg minutes respectively.

The equations which describe the system are:

Material Balance on A:

Heat Balance on reactor:

Heat Balance on tube bundle:

_ M , UA'"Pwdt“ VsPw VbP^C- ■ ^wo)

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 92: Control Algorithms, Tuning, and Adaptive Gain Tuning in

77

Valve dynamics:

Temperature sensor dynamics:

TR(s) = T r r V i T(s)

The controller acting on the cooling water flow rate is an "ideal" pro­

portional plus integral controller which may be represented as:

MV(s) = Kc (1 + =1-) E(s)i-iS

Performance Criteria

The performance criterion used to evaluate and compare the

control parameter adjustment scheme is the integral of the time weighted

absolute error, namely:

ITAE =o

t e dt

The ITAE criterion was selected since it produces less oscil­

lations in the response and in general lower values of gain and l/T^,

when compared to the integral of the absolute value of the error.

Characterization of the Process

Two different models were used to characterize the reactor

system considered. Both of these methods are based on the response to

a step change in the manipulated variable, or process reaction curve.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 93: Control Algorithms, Tuning, and Adaptive Gain Tuning in

78

A process reaction curve was obtained at each of the three levels of

production considered, namely 50%, 75% and 100%. The two models obtained

were the popular first order lag plus dead time model, and the second

order lag plus dead time model approximation proposed by Meyer (2). The

values of the model parameters are shown in Table V-1. The variation of

these parameters from level to level points out the nonlinearity of the

reactor system. These parameters may be fitted with an equation or used

in table form, interpolating for intermediate points.

Tuning Relationships

Another reason which supports the choice of the models discus­

sed above is that tuning relationships are readily available for both of

them. Lopez, et al (1) and Lopez (3) developed tuning relationships

based on the optimization of error integrals.

For the first order plus dead time model, empirical equations

for the gain and the reset time based on minimizing the integral of

time weighted absolute error (ITAE) are (1):

il T

For the second order plus dead time model equations are not

available and graphs (3) have to be used.

Results

Table V-2 shows the values of the control parameters for a

PI controller at three different levels of production (50%, 75% and

100%) as obtained by:

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 94: Control Algorithms, Tuning, and Adaptive Gain Tuning in

79

TABLE V-1

MODEL PARAMETERS

First order lag plus dead time model

G(s) K e"®°® s + 1

Feed Flow Rate (lb/hr)50

K

.782@o

3.43

T

15.41

75 .3185 2.7 12.55

100 .1305 2.25 9.25

Second order lag plus dead time model

e-®o®G(s) - -rj-

s + 2gwn= +

Feed Flow Rate (lb/hr) K ®o C Wn

50 .782 1.1 1.18 .118

75 .3185 1.0 1.1 .154

100 .1305 0.85 0.97 .197

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 95: Control Algorithms, Tuning, and Adaptive Gain Tuning in

80

c.

TABLE V-2

CONTROL PARAMETER SETTINGS

Based on First Order Lag Plus Dead Time Model and Tuning Relationships

Feed Flow Rate (lb/hr) %c

1Ti

50 4.73 .0875

75 11.3 .1065

100 25.3 .1375

Based on Second Order Lag Plus Dead Time Model and Tuning Relationships

Feed Flow Rate (lb/hr)

Kc 1

50 10.25 .063

75 17.3 .082

100 39.8 .089

Based on Minimizing ITAE for a 10% Upward Step Change in ] Flow Rate at Each different Level

Feed Flow Rate (lb/hr) Kc 1

?i50 10.9 .047

75 18.24 .07

100 40.8 .089

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 96: Control Algorithms, Tuning, and Adaptive Gain Tuning in

81

g•HUOo'Oouçu<44Or4Q)

5CQS-4JMM4003Q)•HU0)co•ou

1

cd<s>

â

(%q/q%) 332% AO%% P33%

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 97: Control Algorithms, Tuning, and Adaptive Gain Tuning in

82

oo.3*CJ

Q

O

O

I— I

OL_00)

_o(O

o_o

oo

OQ’SOe 00*102 00*661 00*661ib'Ü3a'W3i 0 0 * 5 6 1

00c1-1cs0)aJJT3cd0)T3to31-4a60CO

S3T3UO4Jcou

Q)COCoCLm<u

0)4JCQD•r->

<

XICMI>OU360•Hb

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 98: Control Algorithms, Tuning, and Adaptive Gain Tuning in

83

oo

o

oeu

oo,co

oo

.mri

I— «

OOO< D

(O

O

Oo,o00'603 00'103 00"661 0

i y y 3 d W 3 i

fiCD4JOB

•oc30)T3mD

W)(0

u0)•owo4JGOu•Hb

QJCOCoCL00Q>•O0)JJCO3*3COê

0 CM1>Q)W3bO

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 99: Control Algorithms, Tuning, and Adaptive Gain Tuning in

84

oo

eu

( U

.03

_oO)

_o(O

00c•Hc3aI

•OCOo'OCQD

60COUQ)TDo'OcoooCO

0)CQCoCLCO(U

n3Q)JJCQD•tn<

'UCM:LQ)ë60•HPC4

l W W 3 j W 3 i

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 100: Control Algorithms, Tuning, and Adaptive Gain Tuning in

85

oo•rr

cvi

o

GO

O

.tn

CD

(O

o

cr>

o

SGIOG'lOB 00*661 0i H Ü 3 d W 3 i

00c1-1c34JI

•DCO0)-OCOD

toCOWQ)•UMO•oGOoQ)CO

Q)COGOCLmo>wTDO4JmGt-)•oG5

euCM>Ow§>i4k

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 101: Control Algorithms, Tuning, and Adaptive Gain Tuning in

86

oo

eu

oo

lU

o

-CD

o

oo_o03

O_ o

00'GO6 00*102 00*061

kg

'Uo0)tw

<DbûcCOOaQ)JJm

OeucaW04J1COQ.I4JO.oCJtacoaCO0)u*aojjCO3T-)

euCM>CJU300•Hk

l B y 3 d W 3 1

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 102: Control Algorithms, Tuning, and Adaptive Gain Tuning in

CD■DOQ.CgQ.

■DCDC/)C/)

CD8

i3.3"CDCDT3OQ.Cao3T3O

CDQ.

T3CD

ooCOfU

o

o_

s:LÜh-oO

oinO).

00 30.00 60 ,00 90.00 120.00 150.00 180.00 210.00T I M EC/)(/)

Figure V-2g - Unadjusted response. Optimum parameters for a 10% step change in feed flow rate.

00

Page 103: Control Algorithms, Tuning, and Adaptive Gain Tuning in

88

TABLE V-3

ITAE FOR UPWARD SERIES OF STEPS

a. Using first order lag plus dead time tuning

50-75% 75-100%

Adjusted 2110 1109

Unadjusted 1124 894

b. Using second order lag plus dead time tuning

50-75 % 75-100 %

Adjusted 706 338

Unadjusted 594 1162

c. Using settings from optimization of the ITAE of the response to a 10% step in feed flow rate

50-75 % 75-100 %

Adjusted 606 352

Unadjusted 933 1869

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 104: Control Algorithms, Tuning, and Adaptive Gain Tuning in

89

a) Using the first order lag plus dead time model and corres­ponding ITAE tuning relationships.

b) Using the second order lag plus dead time model and corres­ponding ITAE tuning relationships.

c) By minimizing the ITAE of the response of the system to a10% upward step change in feed flow rate.

From this table it can be seen that the second order lag plus

dead time model yields parameter values much closer to the parameters

obtained by optimizing the response of the system to a 10% step change

in feed flow rate, than those obtained by using the first order lag plus

dead time model.

A sequence of two step changes in feed flow rate were applied

to the reactor system to compare the use of the parameter adjustment

technique with the unadjusted case for each one of the three sets of

parameters under consideration.

The sequences of steps taken are shown in Figures V-2a and

V-3a. The first sequence is from 50% to 75% and then from 75% to 100%

level of production. A time of 120 minutes elapses between steps so

that steady state may be reached. The second sequence is in the re­

verse direction; i.e., from 100% to 75% and then from 75% to 50% level

of production.

Figures V-2b, V-2d and V-2f show the responses of the auto­

matically adjusted control loop for the upward series of steps, while

Figures V-2c, V-2e and V-2g show the unadjusted case. Table V-3 shows

the values of the integral of time weighted absolute error (ITAE) for

each one of the steps. The use of the adjustment technique proved to

be very good when the second order model or the optimization parameters

were used. When used with the first order model there is a deteriora­

tion of control for the first step but an improvement in the second

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 105: Control Algorithms, Tuning, and Adaptive Gain Tuning in

90

step. This poor performance is attributed to the fact that the first

order lag plus dead time model does not approximate the dynamics of the

reactor system with sufficient accuracy.

For the downward series of steps, the responses for the ad­

justed and unadjusted cases are shown in Figures V-3b to V-3g, and

values of the ITAE criterion are shown in Table V-4 for each step.

The responses of the unadjusted system turned out to be unstable, show­

ing that some form of tuning adjustment is necessary, either manually

by operators or automatically as proposed in this article. The re­

sponses of the automatically adjusted system turned out to be very good,

and again the second order lag plus dead time tuning proved to be better

than the first order lag plus dead time tuning.

Conclusions

From the results of this study, two basic conclusions may be

drawn. The first is the superiority in this case of the second order

lag plus dead time model over the first order lag plus dead time model,

and the closeness of the predicted parameters from the second order

model to those obtained by the optimization of the response. The first

order model has been very popular in use by the control engineers, and

the second order model has been generally rejected since it introduces

one extra parameter. From this work it appears that it should perhaps

be considered since increase in accuracy of results may pay for the

little extra work in its use.

The second conclusion is that it is necessary in many cases

to retune control parameters when production changes occur, and a

simple adjusting technique, like the one discussed, may be developed.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 106: Control Algorithms, Tuning, and Adaptive Gain Tuning in

91

This technique may be easily implemented in direct digital control com­

puters and also in continuous analog control installations.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 107: Control Algorithms, Tuning, and Adaptive Gain Tuning in

92

S

g•HUOOouPUU-ioos»-3

COCL(UCOM-lOCO0•HSCO

1oo

CüCO>ou&•HPu

(jq/qi) AO%a psea

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 108: Control Algorithms, Tuning, and Adaptive Gain Tuning in

93

o.o.3*(U

CD

(U

O

O

OO-O

D

OD

O

SSl £61

60C•Hc2§

'O(00)T3COD

60CO$-10)•Oë4JCOw•Hb

<uCOcoCLCO<vu•ooiJCODf-)<

:L0>U3,

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 109: Control Algorithms, Tuning, and Adaptive Gain Tuning in

94

oo

(U

o

tu

o

oo

CO

o-O

(O

-D

a,o00*661 set OO'EGf

00c,c3

0)ET3ca0)"Om3

S’

s*0woJJ00•H

Q)03COeu030)w03JJa3f-)TJCOP

aen

03360

i H y 3 d W 3 i

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 110: Control Algorithms, Tuning, and Adaptive Gain Tuning in

95

oo.3*(U

oo

oo.CO

oo.U)

o

I— I

oo,Da>

oooto

o

oo

00'102 OO’SSÎ SOI EBl

00c•Hc3JJ0)£

•oCO(U•o■a3tH• O.00COt—îS-OuoCoo<uCO

Q>COCoeuCO0)9-4'OQ)JJCODT-î<

TDm>0)uo00

i H ü 3 d W 3 1

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 111: Control Algorithms, Tuning, and Adaptive Gain Tuning in

96

oo

eu

CDOaoo

COOoo,U9

CDO Ü J -tu Z

o

o

D

OCD

,CD

60C•HC3jJ0)B

'3CQ0)'OCO3

S’

<y'OëTD§O(L)CO

(UCOcOaCOow'O0)JJCO3-3CO

ê

oen>ou3to•Hb

i B U 3 d W 3 i

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 112: Control Algorithms, Tuning, and Adaptive Gain Tuning in

oo

97

o

o

U7

00'103 00*601

Q)JJ2soî—I•O(U(U(44

0)cdÆVO.Q)JJCO

440(44

CO44<U4J

E2CdCL

1CLO

d)COcoCLCOQ)W<u4JCO3•T-)

(44en>Q)443ùO•H

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 113: Control Algorithms, Tuning, and Adaptive Gain Tuning in

::üCD■DII%C/)(go"3

CD8 5C5-

3CD

C3.3"CDcB■DICgO3"O3

&

ocT3(D

Oo

o .(M

entn .

oomo?.

180.DO 210.00150,0090,0060.0090.0000

Figure V-3g - Unadjusted response. Optimum parameters for a 10% step change in feed flow rate.

00

Page 114: Control Algorithms, Tuning, and Adaptive Gain Tuning in

99

TABLE V-4

ITAE FOR DOWNWARD SERIES OF STEPS

a. Using first order lag plus dead time tuning

100-75 % 75-50 %Adjusted 2394 3505

Unadjusted unstable unstable

b. Using second order lag plus dead time tuning

100-75 % 75-50 %Adjusted 803 1488

Unadjusted unstable unstable

c. Using settings from optimization of the ITAE of the response to a 10% step in feed flow rate

100-75 % 75-50 %Adjusted 701 1212

Unadjusted unstable unstable

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 115: Control Algorithms, Tuning, and Adaptive Gain Tuning in

100

REFERENCES

1. Lopez, A.M., et al, "Controller Tuning Relationships Based onIntegral Criteria", Instrumentation Technology, Vol. 14, No. 11 (1967) p. 57.

2. Meyer, J.R., at al, "Simplifying Process Response Approximation",Instruments and Control Systems, Vol. 40, December 1967.

3. Lopez, A.M., Ph.D. Dissertation, Louisiana State University, 1967.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 116: Control Algorithms, Tuning, and Adaptive Gain Tuning in

CHAPTER VI

ADAPTIVE GAIN TUNING USING PARAMETER SENSITIVITY COEFFICIENTS

Introduction

The nature of most chemical processes is that their response

characteristics vary both with time and operating conditions. The

inherent linearities of most conventional controllers require that

controller parameter changes or retuning be performed to compensate

for the process nonlinearities. In Chapter V a simple automatic

tuning technique was presented in which the model parameters and con­

troller settings were identified a priori from the responses of the

process to step changes at different levels of operation. In this

chapter a real time adaptive gain tuning technique is presented.

The method is based on Tomovic’s (1) application of sensi­

tivity coefficients to the identification of model parameters, also

referred to as the problem of inverse sensitivity.

The adaptive technique will be applied to a chemical reactor temperature control system, and the model reference will be a second order system.

The purpose of this work is to investigate the use of the identification technique and its applicability to adaptive control.

101

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 117: Control Algorithms, Tuning, and Adaptive Gain Tuning in

102

Theory of Inverse Sensitivity

Given a dynamic systemF(x, X, X, t, q^) = 0 (VI-1)

where; x = independent variable

t = time

= parameters ; i = 1, ... m the sensitivity or influence coefficients are defined as:

u = (VI-2)Sq.

where; u = sensitivity coefficient of ^i parameter q^X = system output q^ = model parameter

If we designate the variations of the system caused by parameter changes as:

Ax = x(t, q^^ + Aq ) - x(t, q ^) (VI-3)

then we can say that:

Ax = f(Aq^) i = 1, 2, 3, ... m (VI-4)

or formally:

Aq^ = f"^(Ax) (VI-5)

This is a statement of the problem of inverse sensitivity which

relates the system parameter variations to the deviations of the system

output from the ideal system or model. In his work, Tomovic (1) pro­

poses a method to solve this problem of inverse sensitivity. It is

shown pictorially in Figure VI-1, and is based in comparing the output

of the dynamic system with the output fo the model to produce the

function Ax in equation VI-5.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 118: Control Algorithms, Tuning, and Adaptive Gain Tuning in

CD■DOQ.CgQ.

■DCDC/)o"3O

8■D

3.3"CDCD■DOQ.CaO3■DO

CDQ.

Mathematics]Model

ParameterCalculations

DynamicSystem

■DCDC/)C/)

Figure VI-1, Tomovic*s Method for Calculating Ax in

The Method of Inverse Sensitivity.

ow

Page 119: Control Algorithms, Tuning, and Adaptive Gain Tuning in

104

Since there is no one-to-one solution to equation VI-5,

the solution will be accomplished by reducing the problem to one of

optimization. Tomovic proposes optimizing the expression:

I = Opt (Ax + AXq) (VI-6)

where Ax is the difference between system and model as shown in Figure

VI-1^ and AXq will be the linear approximation of the system:m m

\ = Z 9 ^ • = Z io*1=1 ^lo i=l

where u^^ are by definition the sensitivity coefficients of the system

parameters. By substituting VI-7 into VI-6 and using the minimum of

the integral of the square of the error over an interval of time T

as the optimization criteria, we get:

T 2I . = f {Ax(t) + (u.Aq. + ... u Aq^)} dt (VI-8)min 1 1 m nn

Differentiating with respect to each parameter, for a three parameter

system. Equation VI-8 reduces to a system of algebraic equations

Oil Aq^ + 0^2 ^ 2 + ^13 ^ 3 = ^i ^ = 1,2,3 (VI-9)

Twhere: b^ = - Ax(t)u^(t)dt (VI-10)

and IC.. = C.. = I u.(t) • u.(t)dt for i = 1,2,3 CVI-11)ij 1 3

The system of algebraic equations in VI-9 can be solved for the

parameter variations Aq^ which may then be used to update the model

parameters. The linear approximation used in equation VI-7 will

place restrictions in the region of convergence. In cases in which

the starting points of the model parameters are outside this region

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 120: Control Algorithms, Tuning, and Adaptive Gain Tuning in

105

of convergence, a steepest descent method proposed by Marquardt (2)

will be used. In this method a constant factor X is added to the

diagonal elements of the matrix described by Equations VI-9. We

may express this in matrix notation as:

(Ç + XI) = B (VI-12)

As the value of X increases a gradient method is obtained.

For X equal to zero, the system of equations reduces to the original

set of equations (VI-9).

Finally, in order to calculate the coefficients of Equation

VI-9 we must know the sensitivity coefficients of the model parameters.

In this work a second order system will be used as the mathematical

model:

ÿ + Ay + By = K • f(t) (VI-13)

Taking partial derivatives with respect to each parameter and inverting

the order of differentiation we arrive at the set of differential

equations:

Ü, + AÙ, + Bu. = 0 A A Aüg + AUg + BUg = -y

u^ + Au^ + Bu^ = f(t) (VI-14)

with initial conditions, u_ = uu = 0. A numerical solution of these

equations simultaneously with Equation VI—13 will provide the para­

meter sensitivity coefficients required to calculate the coefficients

of Equation VI-9.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 121: Control Algorithms, Tuning, and Adaptive Gain Tuning in

106

Identification of a Second Order System

In order to verify the applicability of the identification technique, similar second order systems were used for both process and model. The process equation used was:

X + Ax + Bx = Ky (VI-15)with parameters A = .16

B = .01 K = .01

To test convergence, different starting points were chosen for

the model parameters and a step change in the input (y) was used for

excitation. Iterative computations of new model parameters were per­

formed at time intervals of 4 minutes. The results are shown in Table

VI-1.

For most cases convergence occurred before the response reached

steady state usually within 5 iterations. In one case, where the start­

ing points were quite far from the actual process parameters, convergence

was not achieved except when using Marquardt's gradient method. Trial

and error produced a value of X equal to 0.5 as being adequate for con­

vergence. These results validate the applicability of the use of sensi­

tivity coefficients to continuous identification of process parameters.

Application to Adaptive Gain Tuning

Having proven the effectiveness of the method of inverse sensi­tivity to the identification of model parameters, a technique for applying this concept to adaptive gain tuning of a control system was developed.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 122: Control Algorithms, Tuning, and Adaptive Gain Tuning in

107

TABLE VI-1

Parameter Identification of a Second Order System

Process: x + Ax + Bx = Ky

where K = .01

A = cl5

B = .01

Starting Values ÿ of Intervals

K A B For Convergence

.1 .16 .01 1

.009 .13 .013 3

.001 .13 .013 10 (1)

.01 .16 .002 2

.01 .16 .1 3

.01 .03 .01 4

.01 .25 .01 3

.006 .13 .018 4

(1) Marquardt's Method Required for Convergence. X - .5

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 123: Control Algorithms, Tuning, and Adaptive Gain Tuning in

108

This technique is also based in using a second order system as

the model reference in the identification algorithm but allowing only the

gain of the model (K) to vary. In this fashion the identification is

reduced to one parameter. The value of this parameter is then used to

adjust the gain or proportional action of a proportional plus integral

(PI) control algorithm that controls the manipulated variable of the

process. The reasons or assumptions for developing this technique

follow:

- reducing the identification of model parameters to the

process gain simplifies the computations to be performed

in real time by a computer.

- the greatest return or benefit in the dynamic response of a

system is obtained by maintaining a constant loop gain.

- in tuning a PI controller for a second order system, the

proportional action is influenced more by the system gain

than by other system parameters.

- the system gain varies more than the other parameters for

most systems. As will be shown later, this is the case for

the reactor control system to which the technique will be

applied.

The proposed adaptive gain tuning method is illustrated in Figure VI-2.

Inverse sensitivity is used to identify the model gain (K) in real time

from the difference between process and model outputs (Ax). The model

is updated with the new value and a new controller gain (K ) is calcu­

lated from it.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 124: Control Algorithms, Tuning, and Adaptive Gain Tuning in

CD■DOQ.CgQ.

■DCDC/)C/)

8■D

CD

3.3"CDCD■DOQ.CaO3"OO

CDQ.

YCalculateControllerGain

ControllerSet Point +. m

IdentifyModelGain

Model

T3(DFigure VI-2. Adaptive Gain Tuning Technique

C/)C/)

oVO

Page 125: Control Algorithms, Tuning, and Adaptive Gain Tuning in

110

Reactor Control System

The process selected for testing the proposed adaptive gain

tuning technique was the simulated stirred tank chemical reactor temper­

ature control system described in Chapter V. The reader is referred

to Chapter V for a detailed discussion of the process and the equations

that describe it.

In order to select initial parameters for the identification of

the model, the method developed by Meyer (3) for approximating process

response with second order systems was used. Step changes in cooling

water flow rate were applied to the reactor and from the open loop res­

ponse, Meyer's graphical method was used to calculate the second order

model parameters. Table VI-2 shows the parameters calculated at three

temperature levels. In this table it can be noticed that the process

gain (K) exhibits variations (non-linearities) much larger than the

other two parameters (Ç and W^), lending support to the assumption made

previously.

Averages of these parameters were used as starting points in

the identification of the process. As a result of several test runs

it was found that values of = 0.08 and Ç = 1.0 could be used satis­

factorily over the temperature range of operation.

The temperature controller algorithm used in the reactor

system is the velocity form of the standard PI algorithm:

m — m - = K (e - e . + * e * AT) (VI-16)n n-1 c n n-1 T^ n

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 126: Control Algorithms, Tuning, and Adaptive Gain Tuning in

Ill

TABLE VI-2

Model Parameters From Reactor Response to a

Step Change in Flow Rate at Different Temperature

Levels Using Meyer's Approximation

C(s) KModel Equation: -- ~ 9----------- 9s + 2ÇW + W n n

Temperature K Ç(°F)

178 .23 .90 .10

198 .97 1.01 .09

218 1.65 1.25 .08

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 127: Control Algorithms, Tuning, and Adaptive Gain Tuning in

112

where = manipulated variable

e^ = error signal

= controller gain

= integral time

The controller gain was adjusted from the model parameters using an

equation of the form

^1K = -# (VI-17)c K

where = constant

K = model gain

The integral parameter (1/T^) was kept constant since the contributing

parameters to the process time constants (| and were not allowed to

vary. Values of and 1/T^ were estimated from the controller settings

used for the reactor system in Chapter V and from optimization of the

response to a 5®F step change in set point.

Results

The adaptive gain tuning technique was tested by applying a

series of step changes in the temperature set point of the reactor

system. Figure VI-3 shows the responses to step changes from 175°F

to 188“F and from 188°F to 198°F. For comparison purposes, both the

adapted and the unadapted cases were plotted. The adaptive technique

showed improvement over the unadapted case as shown by the integral of

the absolute value of the error (lAE) values: 142 vs 201 for the first

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 128: Control Algorithms, Tuning, and Adaptive Gain Tuning in

113

COvO inm

CL

mCMCO

ooCO

moCMin

CO•H

M Oin

4J

inr4

COCO

COHPZz

g34JCOuQ)IHCO&§

§■uCOo4J0)CO§CLCO(§

COIM>OWD60•H

do) aHnxvaajKai

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 129: Control Algorithms, Tuning, and Adaptive Gain Tuning in

114

step, and 114 vs 163 for the second step. Figure VI-4 shows a plot of

the manipulated variable (cooling water rate) for the steps. It" can be

seen that the adapted case controlled the water flow rate in a smoother

fashion. Note that after the initial effect of the set point change, the

adaptive case did not overcool the reactor; this was due to the lower

controller gain calculated because of the increased process gain at

higher temperatures.

Figure VI-5 shows the responses for larger step changes: from

175°F to 198°F and from 198°F to 218°F. The results are similar to

the ones discussed for the first series of steps.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 130: Control Algorithms, Tuning, and Adaptive Gain Tuning in

115

CO

mCO

ooCO

m

mesmO(uxm/qx) 932% JAOXK %932fl SuXJOOQ

coggë

MH

0)co§w(S

•Hu«d>*00)AJcotHDCL"HI-CIH>0)300•Hk

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 131: Control Algorithms, Tuning, and Adaptive Gain Tuning in

116

vOinCO M

Min

4J

00CO

HM

in

CL

inrsr4CSJ

WHZ

iwH

(U:La4JCOw0IHCOQ)OO§XuCL0)

o<DCOg§■(§

mIM>(Uu3oo•HPL

(do) 3dniVd3&M3%

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 132: Control Algorithms, Tuning, and Adaptive Gain Tuning in

117

REFERENCES

1. Tomovic, Raj ko. Sensitivity Analysis of Dynamic Systess, McGraw-Hill, New York, 1963.

2. Marquardt, D.W. , "An Algorithm for Least-Squares Estimation of Nonlinear Parameters", J.S.I.A.M., Vol. 2, June 1963, pp. 431-441.

3. Meyer, J.R. et al, "Simplifying Process Response Approximation", Instruments and Control Systems, Vol. 40, December 1967.

4. Mollenkamp, R.E., et al, "Using Models to Tune Industrial Controllers", Instruments and Control Systems, Vol. 46, September 1973.

5. Meissinger, H.F., "The Use of Parameter Influence Coefficients in the Computer Analysis of Dynamic Systems", Proceedings of the Western Joint Computer Conference, May 1960.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 133: Control Algorithms, Tuning, and Adaptive Gain Tuning in

CHAPTER VII

CONCLUSIONS AND RECOMMENDATIONS

This work was intended to present and evaluate control

algorithms, tuning techniques, and their use in industrial control

applications. Chapters II, III and BT covered the performance

of control algorithms and tuning techniques. Chapters V and VI

discussed how to automatically retune controllers when used in

nonlinear processes. Chapter VI addressing a new adaptive gain tuning

technique using inverse sensitivity theory. As a result of this

work the following general conclusions are presented:

- Sensitivity of control algorithm response to tuning para­

meters is a very important consideration in algorithm selection.2Although some algorithms like P I and Hosier showed an improvement

over conventional PI and PID algorithms when optimally tuned, they

also showed a sensitivity to parameter settings that may not be

desirable in practical applications.

- Tuning parameters developed from optimizing responses to

step changes in set point can differ significantly from those de­

veloped by optimizing response to disturbance changes. The set

point tuning relationships presented in Chapter III are more con­

servative than disturbance tuning relationships, and are recommended

for use in processes where frequent set point changes occur, or

when overshoot in the response is not desirable.

118

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 134: Control Algorithms, Tuning, and Adaptive Gain Tuning in

119

- The Proportional on the Control Variable plus Integral

(PCI) algorithm was found to be less dependent on the type of

tuning than the PI algorithm, and produced more consistent res­

ponses for both types of excitation, showing little or no over­

shoot to set point changes.

- The adaptive gain tuning method proposed in this work

using inverse sensitivity theory proved to be an effective techr-

nique for automatically adjusting the controller gain in non­

linear processes.

Based on this work, it is recommended that additional

research be conducted to expand the use of inverse sensitivity

to identify and adapt all three parameters of the second order

model, and also include adjustments to the reset and rate para­

meters of the controller.

Finally, recognizing that computer simulation is one step

removed from actual process plant operation, it is felt that the

true test of the techniques proposed in this work will come when

they are implemented in a live process control enviroment.

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 135: Control Algorithms, Tuning, and Adaptive Gain Tuning in

APPENDIX A

Computer Programs

120

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 136: Control Algorithms, Tuning, and Adaptive Gain Tuning in

121

azu>;

c U 1-u U zDC •.Jc2: HV- V> co2 J Z13 _l ••J t ’•Ju3 z OG ZD1- 1- t-G toO Z GZft- 3< Ü — <.r V-D I w •U s. a lüw Z< 1- Hu 1 co (01o 1 # 'Jjr- 1 z1 G 1-z UJ G o< Hir.».n < Z h-G O 2. 3 C ri nO Z # il IIc to Z 1- t-G 1- CO Z o TH _] u s G GZ UJ _1 z < <tf! < 3 G G< u û U Z Z

• O t l !O O * S '-* ♦ r- «-• t— c M1- • O V XII * N UJ Z

l i i u ! IT MÜ I- » iL

IT • » < « * IT I - I - i - O H -o o • • ^ • r> o o ti c j tl

n <* o I! n o n II n o n n uj ii uj— o n !i • ' j uj n X X i l ÎI z z11 n o n 11 5 2 D < -* ••') t - —G O z z h - t - i - < r ' — — n i - i o L L Z -* — zzco'-'>i-ioac.2Szzi-<

u v u u u u u u

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 137: Control Algorithms, Tuning, and Adaptive Gain Tuning in

122

'X<0z

ÎDe

u. w OCL CJ

n •— ÜJ» tc

<u . *n

Z »■ —u> U L.

CL z ne 111 r-+ f- O •c-u tn

» u ou. £w u.

UJ V z '/? My z ll*- Ol C. Xz u_ K U!< u. < c- 3II II Q. w k. Zlu u Zl <

_! t - r t - Ç.Z C l

z t- zz z U ? IL u 'J) LI

C oo

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 138: Control Algorithms, Tuning, and Adaptive Gain Tuning in

123

ooo

oco

o o ^ oK fp--Mu n

o ~ •-* c • o

o oz W0 r

LL az t-cr. v j

<*•DJ<

«flGUOz

t;LU

» >— O Il LU -> K -< • "î

'J — Z~3avG *

C -î

u • >

ol— •—<3 O O t-

oc

_lu

LO O O O O O*U O LU LU

c r — LJ-H k-C k-'9 — Oo o- I »_J VJ« wc LjM K

w V)CL• r-? u^ <c tu o tr

» tr<J Lhi—' k-U I-t- <r

CLLU • O 2 C3 LL. 2 i r u. 2 2 3

A. 1 - <_ # L3 M S 3 •-* 1-1 ? 3 Ü 2«< VU 2. •9- w LL <u W z.CL L* O m » O

a u M 3 U) U_ o aLU c C. l_I n tu z II z XZ z a z c. 33 z _l V C

o 2 o lU » o z 2( - z c CL Ci k- _ l CJ r - z Z II3 If! II II II II G '/) < c D Z a if )O z O k- w 2 II II 3 2 o II2 lU r II LU k- _l 2 _j iU 3 (M3 <• Lk: k - IT. _ l 1 - CO

cj k - II u t - 3 w Z < Lu lU < 1 OW G u ■J] — 3 3 k- *-• L> »— 2T u 1 3 3 •J)

OPJ

O ^t" n oO c!•• »_l vu• wO LUM HL. Z

IIIir> I Io

o o — rvj

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 139: Control Algorithms, Tuning, and Adaptive Gain Tuning in

124

to r: ro 3.fy. u

3 3 • 3i- -J3

O 3 r.i Oo o co ro o o

t-VJ ! - -1 t, >u

r)UJ h- K CM — 3 w 111t - 3 3 3 + 1- 1-

u 1- _)z a j O — H LL ir LL

< ^ • O PJ _) 5 i

in r uK o m ^

f o n 4-13 0 0 .J3 ^ II- w . . .- a u o w _Ju, V tv <J ^ VÜ 'J w

Z — ^ o ' » 0 4.U Q. V) u) • tl r) _j »- o; »- (-—I z * o k- f c o r v j ^ " *O t - « ^ Z O t J «". * —I «■<— <— •C'C'x'

• < — I- 3 * 0 rj u: w u. «- I- UJ _j t:' I’.' oc O' II V o I/' « « W WII Z — I- + 3 3 ' ' "_) 3 II U 3< u: 3 II — II J wU . Z 3 U ^ U < L . .— O Q — Q —I Io I ^ CM ro <»• IT/ orj I c\j N N N N nu

c VI

3 to » 3c. • 1 y-H II i - o a <

V 11 M _) n 11 ro ij._l u o h-

_l 1- < II 7 .

li. 11 •3 tl O ty­ -* U.u. u. u. <

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 140: Control Algorithms, Tuning, and Adaptive Gain Tuning in

125

Il - Il“5m W »

-% U-) rn • ->w ^ ^ w^ CJ (- o U t-D U • Z- c (- «D • -î < CI--)f -_Jw f |_ 1 1 ^^ c ^i? c; c o 4- ij -* c "i*»oc' • ~'-<oo —'ÇJ o o • LJ Cl o c —# #W ^ # "4 ZJI— • •_____________________ _1 1_j»uvg • M_j\yc• w k > »* o II * V *"

OIUUJ O' z u u LJ '-'M H M * - ' C U ' - * * - f - Q CJw m m F ) w t - l - * — •-■►-UJ 3u.n;tr* c j u t - u - C t i i - —tt s s <■ c (Ç «-••-• z: 3 M f••# I •"►• a z - (/)

IV o .^ Q - < C .4 .r? • ►- » z— # •-• * I— W » WCJ -• c; w -V -- w c; U UJ < 11 -< W —V ji m CJ w 11 t- w 3 • c: w II cj s, *I — Il ïî 'D o — Il '.0 Z — '_! o >-• •-> 3 H 1-« -- — Il II CJ CJ o — 3 — 3 o J • Il II "5

I l rc O y II C> •-• < I - I l UJ — LC CJ ~ tOw^ f c , w - - M t _ | | , < ! - 1 w w 2 * * j » J Vl l -^-^*-* — IIU . U D — > - w a - i 3 3 C J l j . O Ü . U 0 ”533'->-«"5— - • 0 3 C . I - 0 U * - < r j ' C — UJ*-*»- <t/530KC.t.'5

III— <V ■ 0 < t 3 O' I 3 CJn n n n n m iu

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 141: Control Algorithms, Tuning, and Adaptive Gain Tuning in

126

s

en

X t-o <nj 3JvO <• >in LJUJ _j» <

Z tnIl = tn DI- - ce zIfl H- LJ JO K O I- Oo LJ Z r?z I - 3 %» G i:i u. a It.z z Ü

II X a3 ■3 •0 z c-l Z 1-

V < 3•1 X .J 3

3 CJ a toz a Ü rK u II < k- U

3 I- L.' 1-f- _J 3 G c lilUJ Z 3 Z rG a O U til in a

Z zO c o V u in aX U a X

II 1- ►I_l (U o < vn CJ _i

r; z UJ z a1- ■a- c u lU ÛJ a til c3 o *- I- UJ t— a. 3 r-C *- II 1- tn til tn in

o X u. a: tl. iz 1- z z# I? V 5 •-* X Uj 3 en < IJa t- a. J. X.V a LO UJ X CCJ n II tnen • c. a X X y m <M j- CJQ »- z X X X cnZ IT V tL o I o X3 C! u pj lU II N C S. uo *- u 3 c CJ c3 3 z II o z *- u Z t- 1- 1- 1- 1- 3 V-

3 Cl II o II II a < 3 < a < X a_I 1- N. 1- o 1- 3 tn

z •a- •«1 1- < j' w z M en !- z ■z z z< !L u. 3 G 3 3 ■3 3 Ill 3 •3 3 3 3U 1— “ u G 3 o O 1- u o c V Z U. L_ U. U. u. U.

•* —o Cl 3 a !.n

J) ■O N. o o- o o C o O o o■a- a a O' o O' o o o o o o o

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 142: Control Algorithms, Tuning, and Adaptive Gain Tuning in

127

ow ne r-X (J

otnOZ o3 —% cU.'E o

X #LUZ Z

#k-3 V) z z3 z 'V z

LJ X 3 3o 1- r-3 II IL u II ILiCO o z

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 143: Control Algorithms, Tuning, and Adaptive Gain Tuning in

128

u>f i K

z

t~ UJ11 O t -* < uo

U ' zo

z I '. 'to %

'J J 3J

< zc .

K ! -to

> C 0 .r - z

3 »Q 3U .' 1 - «T_ ! V) h -_ 1 .— '0

w u . J».E c .c : H# c 5 to

u tL U J oo ( / ) w o >Î22 U .I z C o <a c r

— ' u . c . U JUJ u 3

' j j to u u lUlu c r z z *-J— u c« t r J-

3 _ i to 3 LO 3a 3 'J 3 z a% U U U .!c _ l o a3 =U5 u a ’S) 3 u

UJ«■rjaacuILU UJ Q

■s 1- uH 1- uC to f *z. z ut# rw* *

• • • • o It O It 3 w- 3 0.o C3 o II II X II 1II II II o It UJ « O OJ U U! t j IIto to II c T o II II II z 1 z% to to tr II II UJ II X 3 II <c. u u < u 1- < U! UJ 3 o 3 u 3 0 r» 3

u o u u u u u u

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 144: Control Algorithms, Tuning, and Adaptive Gain Tuning in

129

XI- u -o I n«■ (,')t- I/}UJ »<. V m

C. U >— 2.Z I (/) K*• r m cE" • — E < Z< — !| < + »O X « I-

2 * r 4. u r o zî j s < w x i i - * a " %Il < Il — a ~ + H -> DE II ~ Il K Qc i; ^ o X — II r u. UJ zU < < C U U ~ ) C . > - Z U J

fj

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 145: Control Algorithms, Tuning, and Adaptive Gain Tuning in

130

<n.tut-ztut—tn

t- ut/5 *

w ^ I’! V —X O i *-• Ia o •— f- «-» tr H- <n. — tn c u

u • _i Iu • >- tu DD < * <t& -J tu tu tu w0. tu Z z z tu tu Va o O _] z & tu XL'l y- )- 1 tu fVi <Z 7 h- tn tn tn u; a « 1- f- # * if if +w 3 3 1 N 1 1 z O tn H < < t\Jy- > > II 1 CO 3 if 1 X3 If) Z a. < < o + * + < <3 r o o X _i tn X II II II u 3 if t'J 1 u IIX u r II II II o tu lU II u o + + II -) 1 II < + II IIX s tn tn II II o c _i II II If o N U <• 5f II -) nj3 w d tn U5 X u II It UJ II 3 II 3 II !l II «? if ll if Vtn 3 u u u a <r < 3 3 <r u V 3 u < IC O U < 3 < I— < < V

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 146: Control Algorithms, Tuning, and Adaptive Gain Tuning in

131

u<Ir-.!

<'/)C«T

— * — »T) lil VJW- S TU — ""C k- t-

C.0^ *• (V ?JCi;• < <t- J- 4"_l• L) N'-» -*' 1V3 I — I W • t\J *U — a ^ —1 — < >-«111 z * \ * TTM —« «4 -H MU ^ i; V #-w ^ «. tu < M

< ♦ w I a w I«• 10 ^ tn w •-• tn UJ— tn U) o '.r> h- mD < M < "< ï U 4. _5 » + V- u+ CJ I M < ^ ti O’: D

M N Z « T H C. = ^ Z ZU if<ua.N l<JxC .*» -'!Z Il «!■ II Il O Z iti II 0.' I- OZ l i r j w — i -~ | l M V z I- m— - i y i : . X 3 i - N i r < 3 U j Z

<\J l>-

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 147: Control Algorithms, Tuning, and Adaptive Gain Tuning in

132

3txL.I

a*<

V)

_i

C. I- «-r.% # ... T"Li LJ CJ CJ Zto <I— X c.Uj 3 » L- zX Z —I— II— ►> —. tu IItli VJ li UJ 2. a

1 *- a1 < Q. z LJ o t- k- *1 _1 C. z C + Ul in vO z

3 u z t— o til z I a# U X z + r~ vC c. O K < XCJ U vu «. * h- VJ a fj & a + aVI < o to o. t i r- Q to » a IS Z — *

V tl C. z •S’ Q V V a < X aO! a "S. tilz O o r 3V z c n a; UJ X X LJ rj X z I! L>

t- o vO tr IT z t- o C a cto o o V— 3 1- •£• z X vC' 3 a z

c _J '.0 z LO h- o n •cJ- iT. t- If- II II 1- a a 1- II II II a<r UJ J r- <r :i II < II J UÎ < II 'J < nz !/) <r Ü LJ 3 k. h- z _i 1- t- c o r . _iC5 3 V z z <r z n < z to i- z _i z <?• 3 J2 1 1 — 3 UJ o i- w- li. til 3 'v 3 to X < X Z 3 3 a 3 <'V' 3 U z u. O C 1- L. z Z z IL •J a a 3 3 2. vJa.

•s — o o o— CO — n

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 148: Control Algorithms, Tuning, and Adaptive Gain Tuning in

133

oo

XLN

p.!

a _J» I0.H »»5T #cc r

z z — in» ~ » >- •— ,cIl *- M r -*" 0. — a u ,• a • I •

* <— - * tn II -H— « r z tn r'•— -< M —' "n UJ z oa • X c. w tr, u I -w I a :j u) u

^ ^ X z o•~ * -> c u .'^ “ U Ja '^ u ‘ '~ o z * n ~ ' O X ”>~'-« # ^ ma«-wnQw^(.c>,^ •» i i n . u • t i a i n • — o — uj

C' a et a •c -w u .'-— z ^ c i i a - ' D i i w — i - « z UJ ^ u — Il UJ < y c I-* i - ^ x _ i i - ' - ' X ! ' n i - E — i - i - a— 3-ï_J — _I“>Z — c — z o oz x w < - - j : X ' - u j z o ü . o c ) f - z 2 a c u X a a V? % u. « '.n u tn u

o -> —o w m

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 149: Control Algorithms, Tuning, and Adaptive Gain Tuning in

134

UJ(-in>in0.D C

5 i<r

!- *tri

u. sOin <

'JJ z *• u; • ^U.' Z UJ —tr o =z c. I-UJ tn o c.'.n in z I•

X t- J> u. a U tnZ) o

aaz

+UJ

Q u U U.'UJ < u tu •fi­_l 3 2t

c m; r- >. eutn a to Uj tu X

V Ult- UJ

ah-

2►-

UJ 21-

h- a+

Y-tn

U.I < z z O n p m U' * □*>4 o z tn z 3 fi­ c -4 z

M 1- * V O 4-r- U tn z # 4H n o -> _1 < •£ X3 3 z 3 O II II o 3 II II < II <r < 11

< U! 1! . - o II II z u 3 II IIa o 3 C -4 0 -4 II o c II r j 1 ll 3 3 II t'Jr 1 3 3 = 1 ,3 II X II U.‘ 1- II t'.t 33 U3 Q U i !j: Q u -) u < < < Ul in c ■JJ < < < tu < Otn

u V u u u u

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 150: Control Algorithms, Tuning, and Adaptive Gain Tuning in

135

3Q • fr I I* - 7

Xw U iU1 K

% Q J O% <r z< 4 -

X H+ u OX I I n yu II +I I n (ZX I I I u . lUu u z« z LU

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 151: Control Algorithms, Tuning, and Adaptive Gain Tuning in

136

ny-u< < rl" . Cl: IL%X ȟ iZL. X

<UCL

U! t - O1 ' I '%-r k.

-) C.u. z »T Lu H-

I LJ J CLJX Xir c (-

L.

»- U C z:<r < U Hr »i I—I #• o: 3i X H

L3 a. »V a X » <to o -< CL UU. K ^ «

C3 CL W 3:LU lU O O_ l «t J « Q■«■ Z\J V, >-u XIL k-z < o— _ I I - X 33 U 2 3 _l ÜJ Z < Wr o 3 3 I Im

u u u u u u

ir vz X'a Z aa cc a <■ •TO olU <t w U.’ r». ro Nz z a •-I • C 'W N s • ro 4- u ; • rou z O ' W' k. ro r - in ro V* ro N <+

1- r- a c ro3 tn 2" , X « II o n n ro a rj -« II 'W a n • — II n3 z O o N. o II n a O ' « II c o C II oX II II 3 u •-« II II < ro ro II II 3 <f ro? T ? II <r 2 LJ II II II < uJ II II X < 3 X II3 3 T 1- LJ k- ü X X t- ü u 1- X t- X u 1- X'.n U a CL CL 1- 2 H s. z. 3. X k- CL 0 C. i - 1-

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 152: Control Algorithms, Tuning, and Adaptive Gain Tuning in

137

ru

< <I—\ X (U1-3 1-3•_J ■Q. CJ «5.I K t »-(U w X w Xr- • C. K G. ►*• in UJ O •<* X Ü X O

cr IT, • o • r>- —> o • in lU 1 u 1E IL CJ e 1.0 o r U' r; c- «■ r.; o K 13 « o ■7< CO • LO o o ■3 • « ■■c ■c o O • ClII It II II o • O' 'O II rj o II 3 O • II X X< or ro ir- II r II II II II r It 3 UJ 'U OZ Ü. 3 3 fj II y II II z II II 3 3 < II T II II rr II II II II II o cu. 3 < < II 1 1- < « m •r tu r- k. L. 1- ■r oi 'àJ II II

1- 3 < u > C l 5 5 c V > c 1— 3 3 1/5< < T 3 lU U.' <

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 153: Control Algorithms, Tuning, and Adaptive Gain Tuning in

138

t- a o I

k- -) V

t- 3» a ' 11 1< 1- <u a uC a* 44 *< 3 <u ff' u(- 3. m c.r" «■ «•r. ? < <u u O c- .. o cr o44 « N • CJ 1 ? #I—z z CJ Q II II s. a rlU UJ JS «■ 12. tz k- V 1 u;o o u 0. < U. lu c. a 4-* 4f 4- r + Z 3 <r !L- o O K UJ u. N C 4- Ka > > 44 u Ü. 3 z < <; Cu 44 * 1 u. 1 lU u 4f !If LJ UJ 3 O u. o u «.

V! tr o LJ O L- UJ w < # IL o CJ * 1 -* X HC Ü O o V3 UJ « U »— 3 IL' OJ <liJ 44 + Q tr. ♦ 1 _J < 1- > CJ a s 44K o N K L*î < < 3" • _l H- li* X f + CTÎ> > c UJ L. IL c + <3 V <* u n XN «f < 3 M P' 3 u. cr c c + « + <s s 44 Z W M < 3 u. IL IL o < K <-> 3: 3 M •4 II 1 m # II < 3 3 E 3 c u 4 UII M 11 II 11 k- UJ IL l« + ÜL II 3 II II <1 1! H IIr; 3 u X D z n i; K < U. 3 1- II II w tlX II u 11 II < 3 u. c U. IL C a <r < % ÏÏ &- u< "2 u < T V n 4- u ir r. < n < 3 —I< < cr u 4- 2 c

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 154: Control Algorithms, Tuning, and Adaptive Gain Tuning in

139

CVl3<rVM-o*

G«UJV.H c1 O t-H- 1- o

u Vl>* oa c< o VOUJ in D

c C • •r- t- t-

f- II _j _) zII O zo < -) + 3? UJ o ■jCt- IL II II u. UJa i - -> z

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 155: Control Algorithms, Tuning, and Adaptive Gain Tuning in

140

• r:^ rj — <<» n— w

z -atn < •i? w#iC ^ CJfo n <UJ r •c M fnt» rj » rîa >->• fj <T — «rïLJ rj • "1u w •cr 3 mc • c — W^ • rjo rr ~ «rz w rj • »LJ in ^ ^u Nt LJ cr — OJl!.’ z I c w • I-J(T LJ 3 • • rj <c u I n •« <1W I w tuu. U. o <• a # # • (no LU oJ. c n u:

trlUz o s* œ n cr 1-a u Li * CJ < Li UJJE _i pj X.h- > <7 Li <T> ÜJ u. CJ n Zu. K u rj < <> z z < o cr a O KL IX »- c u.t < c VO o O D1- w u <r o a r. o V) c Q •fr 1-> O 1/5cn < #w II O ###o o </>vC o o o o X Û O t- oz V) w Z z > » • a • • _i • • • u r- e • • o • X « O o 3 IILI z o _l Li z ■S’o Li o o o u # O c L5 o i: • o II II liJO LI K a S D cy < It II O i« II 1! o II II II II o II X o II N 11 W sW z c < _j <r.1- o y z a a a a a II X X II N N H 1- j*.Û OJ < 2 1- H < a d a < c o X X X X NJ M N a O t/iw (V

U U U U U

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 156: Control Algorithms, Tuning, and Adaptive Gain Tuning in

141

CJr-O*c.CJ+r-O*

rj a CV!I- 1- < 1Q o 4- tn o* «■a a. • o o in< '3 II o II It II1: II z o II LJ o

3 L i 11 o S o 11 r-*CM_i _! a liJ II 3 II —>X X X lU u tn t- X a a

Iw

• o • o • oO O II O If o IIII II II « II TW 3 (V 3 m 3h: 3 3 3 3 3 33 3 3 3 3 3

rjrj rj n O

+ oM- 11 o o

lU O U ) + II c II II II3 V X X 3Z m X X o 3 • O •

1- ■ * X X X II CM o II 31- II cc II X II CJ CJ CM II IIZ z X II N CM 3 CM3 < o X N M o 3 C 3 3 3LJ — 3 X N N c = 3 3 < 3 3

CMCM CM

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 157: Control Algorithms, Tuning, and Adaptive Gain Tuning in

142

UJaXVXXXI

ÜJ X

I- r *p j tr, ^t- ^ » _lQ U X* U cu +r % + w .Q. u; ii: u (V

M * ^ W ^ W» t- O •» UJ +— N C + U’ ^IIK1--B- LU * M< Û Q 2 % 4 . - > X

o » o ?: ? + + t- xTJ'-^ixII O II O < ',3 -J II I tn 2. _J XW II T S II II II — U lU' C II II X I!3 n 3 — n z i i s i i x s Z ' - x3 3 3 C _ J _ J l i l * 3 * - ' L J I I 3 » - I I X3 3 3 3 < < 3 ' - ' l - U J I i j V ) X X X

z zlU Z I I I3 •u ON 3 N

Xn

UJ 3 CJ 3c 3N 3 3 3

t !Î n

N 3 CJ 3r : 3 3 39 3 *ÎN1r4

h -- J <1 u< + 4Î-

J • + •< CJ f j

CJ# • f •w 4-

w CJ V -P-9- h - C\J M C

+ LJ O M O n QZ N . O » "4"

a •» zX N N CJ IV D 11

N 1 I X 3 3 CJ 3 nn 1 M X 3 cu NJ N Î 1 11 11 11 II 3 II 3 11 3 II< 11 N I N 1! N 1! r> 11 rr11 N 11 jl CÜ n 3 3 w 3 n11 3. N N j 3 3 3 3N N N NJ O 3 3 3 3 3 3 3 3 3 o 3

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 158: Control Algorithms, Tuning, and Adaptive Gain Tuning in

143

< I î If r.j rj rjCv n n ?rm < *< * * u•n- w n r)• - P ! Ï <■- . < it *< * —W S < <W i l l t r ro w w# w % w-• < * <n # —< n roa <. r:n * * <^ ^<r r} D ^I < < ?:W I I I< W 5 CJ

P7 * w -m-W p. ' P7 Wf 1 ^* < * *"p ^r: D r; n< 3Ï <r <+ + + +n ^ ^-* n r, 5<r < <r *# * * wrv P-' P' "?P) p> Z < TO-) < < Ü- ■» •o» n3 t t CV CJ CM p-* lU JS <c c. u< + + + C3+ ro ro TOro ro TO 33 ro < < * o+ < -* Jr W H 1- 1- Haj 111 UJ cu CM CM —Jo _) -1

- ) z X z CM CM 3 < UJ • UJ UJ UJPJ • < < < W W < «• « U CÎ u c 3n J _l < * UJ N s sz ■fr <T CJ Z CM COII < lU + 4- + *■ < < * < < r- CM n < c OII II 3 w n II «■ II II » < _i O 3 3n Z M r w ro w ro < CV w w CM ro 3 u _l _l _J + + +-) W ro < < < c æ C II < 3 w < TO PJ CO to CO II 3 UJ •jj UJ z Z■p t- < < < II II II 1 1 1 1- * * «■ < II II II 3 3 3 < 3 oIf) z II It II fj !0 11 II II _l to _j to -I ro _l ■Ti­ CM TO u II II II II II IIo c 3 W m w n w ro L! •0 U ro lU ro liT ro CM to 3 L. < E C5 s Z3 3 < U 10 to < < < z s Z 3 < 3 < 3 < 3 Z < < < < 3 3 3 < 3 C5-Î O !f) N

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 159: Control Algorithms, Tuning, and Adaptive Gain Tuning in

144

^ <rfn »u nL’J •-*O Z>

CVJ

UJr4-

C' •nw • o o N-J N ►- k- ULU o O HQ X o D (.5 of— oK • LU LO • o » —*U tn Z o o o •Ui o w KJQ o H- Ü- O' o in

to V» •# H- »- M

a* X. O' X. V (- o OUJ _l LU3 vC u UJ Ü 3Z V w S' z z # # Z

III < LJ <r h/ o in o!- H z: K Z t- II w K o 3 o H Û-Z z z iC 11 w n K Z oC cr «3 cr o u. u. ll U. c O z O Cu U. iL — ii o X O X O U inn n Z) c- in on w CD N s

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 160: Control Algorithms, Tuning, and Adaptive Gain Tuning in

145

nP

z K|— I< O'» *Ic I> <n.<ru<r

'J□

U U U U U

oo 3 o o

<r o o O o O 3 oW a o o 3 o 3 o 3 O o 3z o o Q o o o O c 3 3 O o

;r o c CJ o O o o O c in * 3 O 3>- u 3 o o 3 o e 3 3 3 rr 3 C C' 3 r> (T

O o in 3 tn 3 cc. N r- O oV in o c o II II r> 3 O O o r> II o O II 3 O

Z o II II o II z X II 11 II II II II NliJ u rj II < II O CO o 3 z L. 3 O 11r H- 3 11 < II II II CL C_ X X Z 10 X

Z Z X I z ►- z <r tn (0 to !:!H r It IL3 3 G_ *5 o 3 3 h- cn 3 o »- c- a 3 3

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 161: Control Algorithms, Tuning, and Adaptive Gain Tuning in

146

o Oo o Oo a o c oo J- o •a- O O o o o o o aQ w o o o < c o o o c o Q n

o 1 O U.1 1! u o o C i o o n a I'-- C<? ■0 N Z r C c o z Q a 3 o N rorj 11 c o c CO t- c OJ <?■ O o rô IT- c. nro II 2 T , o a N N 2 1 N II X CO Q o 3 'I a 10-3 II N. II N II o •3 II II I— N o o II II II O' c P) II <0

II < o II II 2 , 1! 111 i: PJ n II Z II< *r II JJ II o II N IJ II 'J z a a II PJ II CC II z II•J t— 1- ll 11 _! 11 '0 M 11 cr 2 ■>I X < < II a 1- u T < XZ. Z . c. P 1- <r N,' N -J ?■ 1- < •J t- X X I- •r- a < ■■J > a a u

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 162: Control Algorithms, Tuning, and Adaptive Gain Tuning in

147

o o^ rsrx ^z z .LU UJ —o o «— «• * z

CL I - 3 M~ C. J» > <c: u * c: * '.?z «• u z t i w

o o UJCCXl i JX s oQ o ÛZ- -SLJJS O O• O C C O o C O o

c c c <- o o t- O O l - Q V i - N O O C i i r i O O O Oo o c * o o c o o c > ' ^ 3 > c : o c = o o c u o oC û ' C r j » — * f - c O O » < 0 0 » » 0 * 0 0 0

• ■ O o o o t - Û Q O O O X Z - K - X » O O - f O * O Z O O— — . II rc -o o II • o • Il 2: Q -5 3: w • • II II o o II •Il II O ' î 1! • Il U O • O UJ O II II II II II O O ^ II II — I- O O«f 3 II Z « l| (V Z II O II Z O II O o L) O 3 II II -* fvl JiC — 3 Z II IIZ a O U 3 l - r - | - x l l | 0 « | | - > X Z Z ^ O J O w w i ^ ^ 3 n O O < U > O I- O O .y; UJ Ijj X I- « < X U < C3 O < a 2. Z 3 Z O < T

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 163: Control Algorithms, Tuning, and Adaptive Gain Tuning in

148

I - .-c K•i a.^ I-r t- u c.c. wO -M- <-O < Zc 'J r.

£5 • 3 # 4-Mr ^ «T <T ÜJ !! Î- cr. ac: V I ?»♦

CM Q H a< a V 1

H CVÎ 2L < aÛ J + 1- s 1 3

< U O Û IL 3 < 0o z ♦ Uj C£ o s Z «Î.

1 o 3= r» 1 IL 3 1 LJ o u >CJ o CJ * ■fr M i JS LL 6 LL U D 1 •P

o S' z <' < tr IL *■ n fr 04" Q < VÎ o Q •fr O IL X 3 CJ LL c <

+ O » * < o Q 1 *—3 X < > o XK —« II c z o Ü.1 < U -J 1 1 •c U < frc. ro O J. C < c o IL c z z z + N a 23V V + II M Û COo CL c. K cr C + fr fr 3:ir V) :n N It u w II < IL X X X U- IL Ü < 1-H k" h- II 3 o rj "ü <f 11 1 1! <r ! II 3 c V 0.II II II II o U s II 11 II II Ü1 iL c CC< 11 1! z 11 II II < 0. IIA ? s. J 2. CJ z II ? II H 3 IL z z Z D K II II 0<r < <r o 3 NÎ o -J -J u lIJ u II < J? IL X X L. 3 < < %

n SJ o 3 <r <r < 3 -4 UJ u; < •—X X X X < < u h»

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 164: Control Algorithms, Tuning, and Adaptive Gain Tuning in

149

u«•

t-c.Ih-a. zw u* .oV V•J1 3< 3 3u s 3c. 1fr CJ M< 3 N 3o < M 3c. t- I frfr V N■f •VCl c fr _l■fr fr < ■tf- •“Jr— fr ■fX Q -1 O C 3 fr-to •A M c c 1- fr- Qfr Id D fr o c 3 frz N. o o 3t- t- o c: Us.1

1t-

QU

u UJfr o O '0

tr CJ fr- z «J U)I- fr 1- H 1 3 <

u fr- c fr U u X » 3* < 1 < z N < cz _i -fr t- *- fr2 u u 111 Ui CJ UI o 3 C

a- < a X M fr. a u< ? K UJ 1- fr N t~ a fr­ <r 3 Id Id I

< I- II II ! N II II i­ o ?=• Pfr U II r> 1^ c N1 N _l 3 ll II Tl 3 3 III—i­ II ■f < II N LJ 'J II K- 3 3

ll < ? W II II N II Û r- X 3 I-IT fr- u 1- z fr. II a N M a I- u 3 3 u. a -fr­ G. c. fr- il- fr- M N N 'J 1- a (1 3 “ O a

■frVIdW _J V un u — 33 O U fr< r 3 ou t- fr —

fr IL' LJ I C U 111« 3 3 C O 3 3T Z Z _l fr fr Z0. — — 3 3 'Jl —I i I - I - M C < I -

<■ CJ in oC-J N-

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 165: Control Algorithms, Tuning, and Adaptive Gain Tuning in

150

_i c« û< 1 — X'C> II 44 <Z rr» M z zn T <r '•>O |i IIz z fj 44

r-j U < < •3 DIt o -J o o ►- 4-H 'O _l Ü 3c < z X 3 3o < o < '— 44r- o if) o Q z r z • •# r iL <r n —4 z z O oo u; a 4*.VJ UI u L>CJ 4r c o o # # ro<r o z c? # o J o M- 1- •N. K o k- o # _l c — 1-C c w u tf' z z C or u: c Z z IL1 u Û C o c <r < < 3 u ILw ? It < (1 in 3 < < — T rT 2: o < 3 O II 3 3 44 44 44H II Z 1- t- L-< < o < zO IL o IL IL < IL u. 3 Ü.c < N- o W c 44 U —

f.li.■c u . CL ro•4 U. n ”4c PI- wf- 00 I I-U t- liJ 3O I c: 3— L J f-4 ~ + -*• K- ü •I- N + Z t-03 N O I- IL n* • " c û. IL 'Jj •W C3 . 1 - û . a u . 3 - 4"i w CL! • o c. H ' T e 7. o

•0 z II II o II II o I- O') o — o :z3 ^ ''J J: Il — z II I- Il i- 3 —I- — 0 3 — 3ZI - Ü II )^Zl -3L.ZIL33I-P 3!_iCC;3 3'3 — — 3 3 3 2. I- I- O -4rj —n

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 166: Control Algorithms, Tuning, and Adaptive Gain Tuning in

151

M O■t *J■ î 3Z Xs f

V •D -. V)z -u. c?î _) n« z N tP •

V'u. • < _l o C COa !U

U. tn * Q O o X <3L Z 15 a c

1 e> N f r< < u

1 c o » n u PJ O X t-UJ c ■e. CJ LL* N r o w u. u>

> - a o IT) !-< s + a : o OU) O h - 3 a r X O' X •J) X

O CC C. 'L U.' lj Z cr- !"r~. o K CL u. C 3 3 f- c c Li 3 vf.PJ ■s- o 3. II 3 C! Z a ïf h - 1- 1-II II o Ii II t/' 1- o 1- II IL < LJ < •LJ <

c: II Q t- II II k— 1- CL 11 1— r r 1— 1- 1- L- CT aa 3 i- II L’J a z z II M *w z 1- Z % 3 c7 . u. 3 3 1- Z X 3 i-J 'vl r 3 IL C 3 z ■n K- Z

3 3 a a 1- — 0 u N fj a ■?: L . ■s IL w U 3 iL 'X L!

3 T <*■ o> 3 oi\J T 0'

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 167: Control Algorithms, Tuning, and Adaptive Gain Tuning in

VITA

Alberto Amer Rovira was b o m in Santiago de Cuba, Cuba on

January 30, 1943. He obtained his elementary and secondary education

at the Colegio de Dolores in Santiago de Cuba graduating in 1959.

He attended the Universidad de Oriente in Cuba for one year and

subsequently transfered to Louisiana State University where he re­

ceived his Bachelor of Science Degree in Chemical Engineering in May

1964. He was awarded a Master of Science Degree in Chemical

Engineering in May 1966.

In October 1979, he married the former Jo Eva Peak of Walker,

Louisiana.

From 1969 to the present he has been employed by the

International Business Machines Corporation and is currently a

Systems Engineering Manager in Houston, Texas.

152

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.

Page 168: Control Algorithms, Tuning, and Adaptive Gain Tuning in

EXAMINATION AND THESIS REPORT

Candidate: Alberto Amer Rovira

Major Field: Chemical Engineering

Title of Thesis: Control Algorithms, Timing, and Adaptive Gain Tuningin Process Control

Approved:

Major Professor and Chairman

^ Dean of the Graduate^chool

EXAMINING COMMITTEE:

Date of Examination:

December 12, 1980

Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.