1 che / met 433 4 apr 12. feedback controller tuning: (general approaches) 1)simple criteria; i.e...

23
1 ChE / MET 433 4 Apr 12

Upload: ebony-worthley

Post on 30-Mar-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

1

ChE / MET 433

4 Apr 12

Page 2: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

Feedback Controller Tuning: (General Approaches)

1) Simple criteria; i.e QAD via ZN I, tr, etc• easy, simple, do on existing process• multiple solutions

2) Time integral performance criteria• ISE integral square error• IAE integral absolute value error• ITAE integral time weighted average error

3) Semi-empirical rules• FOPDT (ZN II)• Cohen-Coon

4) ATV, or Autotuning

5) Trial and error

6) Rules of thumb

2

Page 3: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

• Select the tuning criterion for the control loop.• Apply filtering to the sensor reading• Determine if the control system is fast or slow

responding.– For fast responding, field tune (trail-and-error)– For slow responding, apply ATV-based tuning

Trial and Error (field tuning)*

* J.B. Riggs, & M.N. Karim Chemical and Bio-Process Control, 3rd ed. (2006)

3

• Turn off integral and derivative action.• Make initial estimate of Kc based on process knowledge.

• Using setpoint changes, increase Kc until tuning criterion is met

Time

y s

ab

c

Page 4: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

• Decrease Kc by 10%.

• Make initial estimate of tI (i.e., tI=5tp).

• Reduce tI until offset is eliminated

• Check that proper amount of Kc and tI are used.

Time

y s

a

b

c

4

Trial and Error (field tuning)*

* J.B. Riggs, & M.N. Karim Chemical and Bio-Process Control, 3rd ed. (2006)

Page 5: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

Kc

tI

5

Kc and I levels good?

Page 6: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

Feedback Controller Tuning: (General Approaches)

1) Simple criteria; i.e QAD via ZN I, tr, etc• easy, simple, do on existing process• multiple solutions

2) Time integral performance criteria• ISE integral square error• IAE integral absolute value error• ITAE integral time weighted average error

3) Semi-empirical rules• FOPDT (ZN II)• Cohen-Coon

4) ATV, or Autotuning

5) Trial and error

6) Rules of thumb

6

Page 7: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

7

Rules of Thumb

• Flow Loops: typically PI controllers; PB ~ 150;• Level Loops: PI for tight control; P for multiple tanks in series;• Pressure Loops: can be fast or slow (like P control by controlling

condenser)• Temperature Loops: typically moderately slow; typically might use PID

controller; PB fairly low (depends on gains); integral time on order of process time constant, with faster process derivative time ~ ¼ the process time constant.

* D.A.Coggan, ed., Fundamentals of Industrial Control, 2nd ed., ISA, NC (2005)

*

smallerbecanI

min1.0I

** W.L.Luyben, Process Modeling, Simulation and Control for Chemical Engineers, 2nd ed., McGraw-Hill (1990)

**

sec sec

Page 8: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

8

Higher Order Process

Page 9: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

Feedback Controller Tuning: (General Approaches)

1) Simple criteria; i.e QAD via ZN I, tr, etc• easy, simple, do on existing process• multiple solutions

2) Time integral performance criteria• ISE integral square error• IAE integral absolute value error• ITAE integral time weighted average error

3) Semi-empirical rules• FOPDT (ZN II)• Cohen-Coon

4) ATV, or Autotuning

5) Trial and error

6) Rules of thumb

9

Page 10: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

Feedback Control

• Design

Disturbances:• Load• Setpoint

Questions:• Type of controller to use?• How select best adjustable parameters?• Performance criteria?

Guidelines:• Define performance.• Obtain “best” parameters, for• Select controller with “best” performance.

10

DICK ,,

Page 11: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

Feed Back Control

• PID controllers

Proportional:• Accelerates response• Offset

Integral:• Eliminates offset• Sluggish responses• If increase Kc, more oscillations -> unstable?

Derivative:• “Anticipates” future error• Stabilizing effect• Noise problem

Controller with “best” performance.• P – only if can• PI – eliminate offset• PID – speed up response of sluggish

systems (T, comp, control; multi-capacity systems)

11

Page 12: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

Examples:

12

Page 13: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

13

Page 14: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

14

Page 15: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

15

Page 16: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

16

Page 17: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

17

Controllers:

P-Only:

sMcG

sE

)()( tctrKmtm c cKsE

sM

)(

P-I Controller:

sK

sE

sM

Ic

11

)(

dtteK

teKmtmI

cc )()(

P-I-D Controller:

ss

KsE

sMD

Ic

1

1)(

dt

teddtteteKmtm D

Ic

)()(

1)(

D Derivative (rate) time [=] time

Chapter 5 ~ p 183

Page 18: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

18

Derivative Action:

P-I-D Controller:

dt

teddtteteKmtm D

Ic

)()(

1)(

t

)(tR

)(tC

A

dt

tCdslope

)(

t

)(tR

)(

)(

tC

te

A

dt

tedslope

)(

)(te

)(tC

dt

tCddtteteKmtm D

Ic

)()(

1)(

Page 19: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

19

Derivative Action:

Another potential problem: noise

t

)(tR

)(

)(

tC

te

A

slope

)(te

)(tC1s

sfilter

D

D

2.005.0 small

Page 20: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

Derivative action:

PID

• Reduces overshoot

• Reduces oscillations

• Recommended for slow/sluggish processes (speed up

control)

Advantages:

• Susceptible to noise

• Filtering (or averaging PV) introduces delay

• 3rd tuning parameter

Disadvantages:

20

Page 21: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

PID Control

PID Tuning

• Tune for PI

• Derivative:• Add in D • Minimum response time• D initial = Tu/8• Adjust Kc and I by same factor (%)• Check response has correct level of integral action

21

PS: Try PID for HE process on Loop Pro Developer

Page 22: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

22

Rules of Thumb

• Flow Loops: typically PI controllers; PB ~ 150;• Level Loops: PI for tight control; P for multiple tanks in series;• Pressure Loops: can be fast or slow (like P control by controlling

condenser)• Temperature Loops: typically moderately slow; typically might use PID

controller; PB fairly low (depends on gains); integral time on order of process time constant, with faster process derivative time ~ ¼ the process time constant.

* D.A.Coggan, ed., Fundamentals of Industrial Control, 2nd ed., ISA, NC (2005)

*

smallerbecanI

min1.0I

** W.L.Luyben, Process Modeling, Simulation and Control for Chemical Engineers, 2nd ed., McGraw-Hill (1990)

**

Page 23: 1 ChE / MET 433 4 Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing

23

ChE / MET 433