ChE 441 - Process Control Student Notes
ChE 441 - Process Control Student Notes
Process Control
Fall 2014
Download Socrative
Clicker Replacement
Not
Syllabus General 1
Instructor
Dr.
Steven R. Saunders
Office: Wegner 213
Phone: 5-6578
Email: steven.r.saunders@wsu.edu
Office Hours:
TBD
First
Socrative question!
Syllabus General 2
Lectures
MWF
9:10am 10:00am
G1 Wegner
Prerequisites (C or better)
ChE
Course Description
Measuring
Syllabus - Textbooks
Process Dynamics and Control (Required)
Seborg, Edgar, Mellichamp, and Doyle
3rd Edition
Wiley & Sons, 2014.
Custom Version: 978-1-11894-672-5
Full Version: 978-0-470-12867-1
Process Control
Bequette
Syllabus - Webpage
Webpage maintained on Angel
Relevant
forum
Syllabus - Homework
Due at beginning of class
Late homework not accepted w/o official excuse
Of your own work
Homework must meet the official course
HOMEWORK FORMAT
You must obtain a minimum of 50% on
homework assignments in order to make a C
or better in this class regardless of your
grades on the quizzes, hour exams, and the
final exam. (i.e., this requirement stands
alone).
SRSaunders - WSU - ChE 441
Syllabus - Quizzes
Announced and unannounced
No make-ups w/o an official excuse
Given at the beginning of class
NO
Syllabus - Exams
TWO mid-term exams
No extra time for late arrivals
No make-ups w/o official excuse
Final Exam
2
Syllabus - Grading
Grading
Exam
1
25%
Exam 2
25%
Homework
12.5%
Quizzes
12.5%
Final Exam
25%
Total
100%
Scor
e
9
0
<90
86
Gra
de
A-
<86
84
Aor
B+
<84
82
<82
78
<78
76
B+
B-
<76
74
Bor
C+
<74
72
<72
68
<68
C+
10
Syllabus - Grading
Numerical grades will not be rounded.
If a numerical grade falls into one of the gray areas ( Aor B+, B- or C+), the letter grade will be determined by
overall performance trends, by consistency in
homework, and by final exam performance. There is no
gray area between any other letter grades (including
between a C and an F).
An unofficial grade book will be maintained on the
course webpage.
Re-grading of any graded material must be done within
2 weeks of the material being returned.
I reserve the right to re-administer any test or quiz. No
grades will be deleted. The grade for the readministered test of quiz will be used to supplement the
original grade. Specifics will be announced if necessary.
SRSaunders - WSU - ChE 441
11
Syllabus - Grading
A/A The student clearly demonstrates an in-depth technical
understanding of the concepts
B+/B/B The student demonstrates a technical understanding sufficient
for solving the majority of problems
C+/C
The student demonstrates a minimal technical understanding
sufficient for solving straightforward problems but may have
trouble with more complex variations or situations
C-/D+/D
These will not be given
F
The student's ability to apply the concepts to problems is
seriously in question.
12
13
Syllabus
Special Accommodations
Reasonable
Campus Safety
All
14
Syllabus
Tentative Course Schedule (subject to
change)
15
Exercise:
What
Accumulation
= In Out + Generation
16
Necessary for
Safe
operation
Reliable (consistent) operation
Efficiency of operation
Product quality
Mobility
High Visibility
Technically Challenging
SRSaunders - WSU - ChE 441
17
A refinery
18
Another Example
See Loop-Pro Control
19
20
Nomenclature
Variable something that changes with time
Input (variable) independently changes the
process operating state (Fi, cAo, R, Q)
Manipulated
(u)
Disturbance (d)
Unmeasured
Setpoint
SRSaunders - WSU - ChE 441
21
22
23
24
Types of Control
Regulatory
Control
Servo
Responsible
25
26
27
Control Objective:
Stea
m
Controlled Variable
Feed
Manipulated Variable T
i
Sensor
Disturbances?
SRSaunders - WSU - ChE 441
Condens
ate
Outle
t
To
Disturbance
Input
Output
Process
SRSaunders - WSU - ChE 441
29
Disturbance
Input
Output
Process
Transmitter
Final
Control
Element
Controller
SRSaunders - WSU - ChE 441
30
Feed
Ti
Outl
et
To
Condensa
SRSaunders - WSU - ChE 441
te
31
Disturbance
Input
Output
Process
Final
Control
Element
Transmitter
Sensor
Controller
32
TC
Feed
Ti
Outlet
To
TS
Condensate
SRSaunders - WSU - ChE 441
33
Disturbance
Controller
Sensor
Transmitter
Input
Output
Process
Final
Control
Element
34
TC
Feed
Ti
Outlet
To
TS
Condensate
SRSaunders - WSU - ChE 441
35
Controller Comparison
Feedback
(+) Simple
(+)
(+) Use output
measurement to
determine control
(+)
Feedforward
(+)
(+) Manipulated
variable changes before
disturbance manifests
in output
(-)
(-)
36
Nomenclature
Variable something that changes with time
Input (variable) independently changes the
process operating state (Fi, cAo, R, Q)
Manipulated
Unmeasured
37
Block Diagrams
General method for approaching systems
Visualization of process behavior
One block for each element of process
Contains both physical and information flow
Open Loop Manual manipulated variable
change induces change in output
38
39
Feed
Ti
Steam Feed
Pressure
Condensate
Feed
Ti
Valve
Position
Outlet
To
40
TC
Feed
Ti
TS
Outlet
To
Steam Feed
Pressure
Feed
Ti
Condensate
Desired Temp
(Setpoint)
Outlet
To
41
Feed
Ti
TC
Outlet
To
TS
Feed
Ti
Condensate
Outlet
To
42
43
process understanding
Surrogate for physical system
Rapid and inexpensive to test process dynamics
Implies that the model is predictive (extrapolative)
Facilitates
controller synthesis
Assumptions
All
WARNING
Models
44
Control Objective
Control
45
Fout
46
Engineer
Feedback Control
Fin
LC
LS
Fout
47
48
49
win
Ti
wout
Q
Ti
Q
Gd
50
51
Fout
Thermocouple
SRSaunders - WSU - ChE 441
52
53
cA
V
Fout
cA
54
Fin
cAf
c A, c B
Fout
c A, c B
55
General Solution
Particular Solution
Use
initial conditions
56
Example
Solve
Q
57
Only
Special case,
Solvable
by separation of variables
58
Fout
59
60
61
=0
General Solution
62
63
Two
Two
64
, solve for y
65
Fin
LC
LS
66
Fout
Nonlinear Systems
What is an example of a nonlinear system?
Examples
of nonlinearity
a linear approximation
Method
Taylor
Series Expansion
67
Linearize f(x) = x2
68
Local Linearization
30
25
20
15
10
5
-5
-4
-3
-2
0
-1
0
-5
-10
69
Fin
LS
70
Fout
71
72
Deviation Variables
Normal process operating condition is
nominal
s in xs denotes steady state
We will be considering changes to steady
state
Convenient to examine deviation of
process from its nominal condition
Deviation variables:
Controlled
Output
Manipulated Input
SRSaunders - WSU - ChE 441
73
Rewrite
74
When u(t) is
Constant
Ramp
random
Etc.
Integrating the ODE isnt too hard but very tedious for
different u(t)
Use Laplace transform!
75
Laplace Transforms
Tool for solving linear ordinary
differential eqns.
Has
76
Two examples
Find the Laplace transform of
77
is a linear operator
Inverse Laplace is unique
SRSaunders - WSU - ChE 441
78
79
80
LC
LS
81
Fout
Laplace Definition
82
of a Derivative?
Definition
83
More of a Derivative
Higher Order Derivatives
Example: Calculate
84
85
What is y(0)?
Find Y(s) as a function of U(s)
86
87
88
89
90
Value Theorems
Final Value Theorem
Requires
f() <
Suppose u(t) = 1
Find y(0), and y() for
91
92
93
94
When
95
96
97
98
99
100
101
Time Delay
Time delay exists and must be addressed
Example How do you think concentration
is typically measured?
GC
102
Traditional
Definitions
not the most
applicable
SRSaunders - WSU - ChE 441
103
104
BDye
?
v
A
So
Use
105
and stability
Understanding
Mathematically (e-s can show up in the
denominator and cause problems)
Controller design
Pad
Approximation
106
Forcing Function
Controlled variable changes result from
changes in process inputs
Manipulated
variables (u(t))
Disturbance variables (d(t))
Impulse
Ramp
Sinusoid
107
108
u(t)
u(t)
0
0
0
t
b
109
u(t)
-2 -1
time
110
Rectangular Pulse
Pulse of Magnitude A, and duration b
4
3
A=?
2
u(t) 1
b=?
0
-1
-2
-1
time
111
-2
-3
-4
-2
-1
time
SRSaunders - WSU - ChE 441
112
Building a Pulse
113
u(t)
Infinite
0
0
SRSaunders - WSU - ChE 441
114
Impulse
115
11
6
1
-4
-2
-1
time
116
Is this correct?
NO!
SRSaunders - WSU - ChE 441
117
u(t)
4
2
0
-2
-4
-6
0
10
10
time
14
It should be
12
10
8
6
u(t)
4
2
0
-2
-4
-6
0
time
118
So a delayed ramp is
119
120
A Delayed response
First order system delayed step input
Inverse Laplace neglecting the Heaviside
Inverse Laplace with the Heaviside
4
3
2
1
y(t)
0
-1
-2
-3
-4
-5
time
121
10
The Sinusoid
Sine (or cosine)
Amplitude
Period
2
1
u(t)
0
-1
-2
-3
-2
-1
time
122
Practice
Sketch the time domain input (label values
on the axes), and compute u(t)
3
1
u(t)
-1
-3
-1
7
time
11
13
15
123
Practice (results)
4
3
2
1
u(t)
0
-1
-2
-3
-1
11
13
time
124
3
1
-1
-3
-1 0 1 2 3 4 5 6 7 8 9 10
time
125
Fin
Fd
Fd
Tank
Fin
Fout
Tank
Disturbance
Manipulated
126
127
system stability
Identifies
128
Can
cancel poles
129
proper
Proper
Improper
Standard form
so
130
131
Half Planes
Remember s is a complex number
Can plot in complex space
Real component defines half-planes
Im
LHP
RHP
Re
132
Stability
Stability is defined by pole location
Right
Exponent is positive
What happens as t->?
Left
133
4
3
Pole
s
HW Show ALL
1
steps:What is G(s) if
0
-4 -3 -2 -1 0
the gain (K) is 3?
-1
-2
-3
-4
SRSaunders - WSU - ChE 441
134
Extra credit
Draw the Pole-Zero Complex plane for the
follow transfer function and is it stable?
135
Scaling
Doubling
y=20
136
Symmetry
6
u1
u(t)
4
2
0
y(t)
-A
u2
0
0
-2
-4
-6
-2
-1
time
137
Scaling
11
9
u2
2A
u(t)
7
u1
y(t)
0
5
3
1
-1
-2
time
SRSaunders - WSU - ChE 441
138
u(t)
u1
A
0
0
y(t)
9
8
7
6
5
4
3
2
1
0
-1
-2
time
SRSaunders - WSU - ChE 441
139
Any
140
FOS - Properties
Gain
the
Time constant
the
141
FOS - Physics
Lets consider the tank
C
142
u(t)
u1
A
0
0
7
5
y(t)
3
1
-1
-1
7
143
Value
Gain
scales input
Initial
slope
Monotonic
output response
Each accomplishes
TIME
1
2
response
% of Final
Output
63.2%
86.5%
of remaining
3
95%
98.2%
99.3%
144
FOS Practice
Using Matlab/Simulink, find the steady
state value and time to steady state for the
following FOS parameters in response to
Need
10
10
40
40
Time
Constant
10
20
10
20
SS Value
Time to SS
SRSaunders - WSU - ChE 441
145
146
147
148
u(t)
u1
A
0
y(t)
0
0SRSaunders - WSU - ChE 441
149
Fin
h
SRSaunders - WSU - ChE 441
Fout
What happens if the
inlet valve is stepped
open just a little bit?
150
tanks
cA1
F
cA2
F
G1
cA1
G2
cA2
Tank 2
Tank 1
152
U1(s)
G1
Y1(s)
U2(s)
G2
Y2(s)
153
Standard
form
154
SOS Parameters
Three key parameters
Gain
K
Natural period
Damping coefficient
(Zeta)
155
Lets look
response
K
2
2
15
10
y (t)
Which is :
Underdamped?
Overdamped?
Critically Damped?
10
20
30
40
50
time
60
70
80
90
156
100
K=10,t2=40, 2tz=3
10
y(t)
Poles
20
40
time
60
80
157
100
Case 2: = 1
are real or
imaginary?
Fastest approach to
final value w/o
overshoot
10
8
6
y(t)
Poles
Case 3: > 1
Poles
are real or
imaginary?
Slower response
than case 2
2
0
Overdamped
Critically Damped
0
20
40
time
60
80
158
100
SOS Dynamics
Damping Coefficient
Case 4: = 0
are real or
imaginary?
Oscillatory
response with no
damping
30
Oscillatory No Damping
Unstable
25
20
15
y(t)
Pole
10
10
20
30
40
50
time
60
70
80
Case 5: < 0
159
90
100
FOS
SOS
Final Value
AK
AK
Initial Value
Initial
SLOPE
Finite, nonzero
SOS
Underdamped SOS
Rise time
Time
tr=12
A=1, K=10, 2=40, 2=3
161
Underdamped SOS
Period
Time
162
Underdamped SOS
Decay Ratio
A
Overshoot
A=1, K=10, 2=40, 2=3
163
Underdamped SOS
Settling Time time at which the output enters
(and remains within) a percentage of the final
value
164
Gain
Zero
Pole
Lead-to-lag
ratio
165
General Form
166
Observations
For
For
Behavior
167
y(t)
Discontinuous
168
y(t)
Pole-zero
0
0
SRSaunders
t - WSU - ChE 441
169
y(t)
Lead
0
0
SRSaunders
t - WSU - ChE 441
170
response
Initial move away from the SS Value
y(t)
0
0
171
FOS In Parallel
G1
U(s)
G2
Y(s)
SOS with
Zeroes!
SRSaunders - WSU - ChE 441
172
173
>
174
otherwise noted
Case 1: a > 2
>
Case 2: a = 1 or a = 2
Yields
a FOS
175
Case 4: a < 0
Always
displays
176
Key Observations
0 < a <
a =
a >
Overshoot
a < 0 <
Inverse response
177
otherwise noted
Values
Key Observations
0 < a < 2
Similar to FOS
a = 1 or 2
a > 2
FOS
(pole-zero cancellation)
Overshoot
a < 0
Inverse response
178
Key Observations
<0
Unstable
=0
0<<1
Underdamped
oscillates forever
Overshoot and
underdamped
=1
Critically damped
>1
Overdamped
sluggish
179
Inverse Respone
When a process output initially moves in a
direction opposite to its steady state value
followed by a return to steady state
Effect
180
U(s)
G2
Y(s)
181
FOS in Parallel
Two FOS in Parallel
Let:
|K1|>
|K2|
K1 and K2 be opposite signs
1 > 2 (G2 is faster than G1)
Consequences
Fast
182
Cold Water
Heat
Source
183
Altered
-1
to inverse response
184
185
Process Modeling
Models are rarely exactly known
Process model may not be available at all
Theoretical models may be very
complicated
Fundamental
to develop
186
Process Identification
Technique for constructing process models by
relating input-output data
Black box modeling technique
Known
Manipulated
Input (u)
Process
Controlled
Output (y)
measured
Black Box
Given:
process data
Assume (or select): model structure
Calculate: model parameters
Evaluate: Performance (and remodel if
necessary)
SRSaunders - WSU - ChE 441
187
Process Identification
Things you should know
Properties
Explains
Assume that:
Linear process behavior covering the operation
range
Dynamics are (near) first order
188
Process ID
Few measurements
Lots of measurements
Only gain info about the
portion that the input affects
Treats the model like a black
box
Requires you to know
nothing about the actual
process
Sometimes the only option
Cannot easily make
nonlinear models
189
Process ID Approach
Objective: given u(t) and y(t) data, find
Gp(s)
190
a model form
FOTD
Lead/Lag (1 pole, 1 zero)
SOTD
2-pole, 1 zero w/ delay
SRSaunders - WSU - ChE 441
191
192
Process Identification
The calculation of Gp(s) from u(t) and y(t)
data
Recall: the step of process ID
Define
the problem
Formulate the model
Estimate model parameters
Validate
193
u(t)
0
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
y(t)
0
0
4.700124
8.847969
12.50843
15.73877
18.58954
21.10534
23.32552
25.28482
27.0139
28.53981
29.88642
31.07479
32.12353
33.04904
33.8658
34.58659
35.22268
35.78403
36.27942
36.7166
37.10241
37.44289
37.74335
38.00852
38.24252
38.44903
SRSaunders
38.63128
45
40
35
30
Input
25
Output
20
15
10
5
0
-5
15
Type of Model?
35
55
75
95
Time (minutes)
194
140
120
100
80
Output
60
40
20
0
-5
45
95
145
195
245
295
Time (minutes)
Type of Model?
195
Example 2 - Graphical
Model Structure (time domain, step
response)
196
Find
140
120
100
80
Output
Plot and
evaluate for
and 12
60
40
20
0
-5
45
95
145
195
245
Time (minutes)
10
8
((( ))/ )
6
4
2
-5
0
95
f(x) =
195
Time
295
197
295
Output
140
130
120
110
100
90
80
70
60
50
40
30
20
10
0
-10
-20
-30
-5
15
25
35
45
55
65
75
85
Time (minutes)
SRSaunders - WSU - ChE 441
198
95
Step of Magnitude 2
30
25
20
15
Output
10
5
0
-5
-10
0
10
20
30
40
50
60
70
80
90
Time (minutes)
SRSaunders - WSU - ChE 441
199
100
of Oscillation
Etc.
200
201
Impulse Response ID
(Im)pulse input
Realistically: as short of a pulse as
possible yielding a sufficient output
Advantages
Operator/Manager
Friendly
System returns to original steady state
Should always yield a near linear response
Disadvantages
Small
202
Impulse Responses
a statistical analysis
Tedious (but really good) for HOS
Easy for FOS
203
204
from data
Simpsons Rule?
Trapezoid Rule
205
0.35
output
0
0
0.3
0.32967
0.327864
0.326067
0.25
0.324281
0.322504
0.2
0.320737
0.318979
Output
0.317231
0.15
0.315493
0.313764
0.312045
0.1
0.310335
0.308635
0.306944
0.05
0.305262
0.303589
0
0.301926
0.300271
-1
0.298626
0.29699
0.295362
0.293744
0.292134
0.290534
0.288942
0.287358
0.285784
0.284218
0.282661
SRSaunders - WSU - ChE
0.281112
19
29
39
49
59
69
Time (minutes)
441
206
207