28
PID Controller Tuning for Desired Closed- Loop Response for SI/SO System 指指指指 : 指指指 指指 : 指指指

PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

Embed Size (px)

Citation preview

Page 1: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

PID Controller Tuning for Desired Closed-Loop

Response for SI/SO System

指導老師 :曾慶耀學生 :詹佳翔

Page 2: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

CONTENTS Introduction Advantage Single degree of freedom controllers Two degree of freedom controllers Simulation Conclusions

Page 3: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

Introduction Since the proportional, integral, and derivative (PID) controll

er finds widespread use in the process industries,

a great deal of effort has been directed at finding the best choices for the controller gain, integral, and derivative time constants for various process models.

Among the performance criteria used for PID controller parameter tuning,the criterion to keep the controlled variable response close to the desired closed-loop response

Page 4: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

Advantage An important advantage of such methods is that the clos

ed-loop time constant, which is the same as the IMC filter time constant, provides a convenient tuning parameter to adjust the speed and robustness of the closed-loop system.

Page 5: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

Single degree of freedom controllers

Development of General Tuning Algorithm for PID Controllers (qr, and G1 = 1 )

Consider stable (that is, no right half plane poles) process models of the form

p m(s) is the portion of the model inverted by the controller (it must be minimum phase)

pA(s) is the portion of the model not inverted by the controller (it is usually nonminimum phase, that is, it contains dead times and/or right half plane zeros) and pA(0) = 1.

Page 6: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

Often, the portion of the model not inverted by the controller is chosen to be all pass that is, of the form

Page 7: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

Our aim is to choose the controller G, to give the desired closed-loop response, C/R of

Page 8: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

The term functions as a filter with adjustable time constant A, and an order chosen so that the controller Gc is realizable.

Page 9: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

The ideal controller G, that yields the desired loop response given by perfectly is given by

where q is thc IMC controller

Page 10: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

The controller G, can be approximated by a PID controller by first noting that it can be expressed as

Expanding G,(s) in a Maclaurin series in s gives

Page 11: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

The controller given can be approximated to the PID controller by using only the first three terms (l/s, 1, s) and truncating all other high-order terms (s2, s3...). The first three terms of the above expansion can be interpreted as the standard PID controller given by

Where

Page 12: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

In order to evaluate the PID controller parameters we let

Then, by Maclaurin series expansion we get

the function f ( s ) and its first and second derivatives, all evaluated at the origin, are given by

where

Page 13: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

BUT! The derivative and/or integral time constants

computed from can be negative for some process models independent of the choice of the closed-loop time constant

It is because a simple PID controller cannot

achieve the desired critically damped closed-loop behavior.

Page 14: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

SO In this case the designer has at least two a

lternatives One alternative is to modify the desired closed-loop behavi

or from critically damped to underdamped by choosing an underdamped filter.

we recommend replacing the simple PID controller with a PID controller cascaded with a first-or second-order lag of the form

To obtain a PID controller cascaded by a first-order lag

Page 15: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

we rewrite Gc(s) as

Where

Page 16: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

we expand the quantity f(s)h(s) in a Maclaurin seriesabout the origin and choose the parameter a so that the third-order term in the expansion becomes zero.

Selecting the lag parameter a to drop the third-order term gives

and the PID parameters are

Again, the PID - lag controller is

Page 17: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

To obtain a PID controller cascaded with a second-order lag,we write Gc(s) from

Pade approximations for the exponential terms in pm(s) and pA(s). This gives

Page 18: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

Dropping terms higher than second-order in the numerator and higher than third order in the denominator gives

Page 19: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

Two degree of freedom controllers

Two degree of freedom controllers are useful when the lag in GD, of Figure 1 is on the order of, or larger than, the process lag in G.

Such controllers also provide significantly improved dynamic performance over single degree of freedom controllers when the process is unstable and disturbances enter through the process

This is most easily accomplished by selecting the feedback controller GC, as

Page 20: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

With the above choice for the controller GC, the closed-loop set point and disturbance responses become

IMC controller q has been replaced by two controllers q and qd

Page 21: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

A convenient form for qd, is

The order, m, of qd is equal to the number of poles of G, to be canceled by the zeros of (1 - Gqqd).

Usually, m is on the order of one or two. The constants are chosen to cancel the desired poles in GD.

Page 22: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

It is often desirable to select a filter time constant , for the set point filter qr, which is different from the controller filter time constant . The form of the set point filter then becomes

Page 23: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

Table 1. Various Tuning Rules to Give the Desired Closed-Loop Response

Page 24: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

Simulation

Page 25: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔
Page 26: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔
Page 27: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔
Page 28: PID Controller Tuning for Desired Closed-Loop Response for SI/SO System 指導老師 : 曾慶耀 學生 : 詹佳翔

Conclusions The PID controller is obtained by taking the first three ter

ms of the Maclaurin series expansion of the single-loop form of the IMC controller.

A new design method of two degree of freedom controllers was also proposed in this article. Such controllers also provided significantly improved dynamic performance over single degree of freedom controllers when the disturbances entered through the process.