Chapter Two
Chapter Two
• Feedback controller(AC)
valve.
Historical perspective
And
Conti…
• setpoint can be time varying,
On/Off Control
The On/Off controller is the simplest imaginable controller. Its control
signal u is given by:
Where: e is the control error
In stationarity the control error becomes zero if and only if at least one of
the following criteria are fulfilled:
Example:
Each type of controller has advantages and disadvantages and will meet
the needs of different applications
Controller Design and Tuning
Performance Criteria For Closed-Loop Systems
• The function of a feedback control system is to insure that the closed loop system has
desirable dynamics and steady state response characteristics.
• Ideally, we like the closed loop system satisfies the following performance criteria.
Rapid, smooth responses to set point changes are obtained, that is good setpoint
tracking.
• Methods 1-5 are based on process models, they can be used to specify
controller settings before the control system is installed.
• Consequently, the objective for methods 1-5 are to provide good initial
controller settings that can subsequently be fine tuned online, if necessary.
• A wide variety of model based design strategies are available for designing PID
controllers.
• But, in this section, we consider two important MBD methods that are specially
useful in process control.
• From block diagram, the closed loop transfer function for set point changes
derived as:
Conti…
• The above figure can also indicates the following input output relations
for the individual blocks.
Conti…
(1)
• This last equation can not be used for controller design because the
closed loop transfer function is not known a priori
Conti…
Provides an approximation of process behavior. A practical design
equation can be derived by replacing the unknown
(2)
(4)
(5)
(6)
(7)
(8)
Time delay approximations are less accurate when the time delay is
relatively large compared to the dominant time constant of the process.
Approximate the time delay term in the numerator is not necessary because
it is canceled by the identical term in
First order plus time delay(FOPTD) model:
DISCRIPTION:
P and process model used to calculate model response the model response is
subtracted from the actual response Y and the difference Y is used as the input signal to
the IMC controller In general Y due to modeling errors (G ) and unknown disturbances
(D 0) that are not accounted for in the model.
• The two block diagrams are identical if controllers and satisfay the
relation:
(13)
(14)
(15)
• There are two steps to design IMC controller.
Step1: the process model is factored as:
(16)
DISCRIPTION:
Where: contains any time delays and right-half plane zeros. In addition, is
required to have a steady state gain equal to one in order to insure that the
two factors above are unique.
Step2: the controller is specified as:
(17)
(18)
(20)
guidelines to chose that are applicable to both DS and IMC methods
The choice of design parameter τ c is a key decision in both the DS and
IMC design methods.
In general, increasing τ c produces a more conservative controller because
Kc decreases while τ I increases.
•Several IMC guidelines for τ c have been published for the model :
Controller Tuning Relations
• In the previous section, we have seen that model-based design
methods such as DS and IMC produce PI or PID controllers for certain
classes of process models.
• System with those designed PI or PID controller may not have good
performance.
IMC Tuning Relations
The IMC method can be used to derive PID controller settings for a
variety of transfer function models.
The table below shows the IMC-based PID controller settings for Gc(s)
(Chien and Fruehauf, 1990).
See the text for the rest of this table.
• Equivalent PID controller settings for the parallel and series forms
are shown by table below:
(21)
Where: the error signal e(t) is the difference between the set point and the
measurement.
Fig: Graphical interpretation of IAE. The shaded area is the IAE value.
(23)
• Although the design and tuning relations of the previous sections are
based on different performance criteria, several general conclusions can
be drawn:
1. The controller gain Kc should be inversely proportional to the product of the
other gains in the feedback loop (i.e., Kc 1/K where K = KvKpKm).
2. Kc should decrease as θ / τ , the ratio of the time delay to the dominant time
constant, increases. In general, the quality of control decreases as
increases owing to longer settling times and larger maximum deviations from
the set point.
3. Both τ I and τ D should increase as θ / τ increases. For many controller tuning
relations, the ratio,τ D / τ I, is between 0.1 and 0.3. As a rule of thumb,
use τ D / τ I = 0.25 as a first guess.
4. When integral control action is added to a proportional-only controller, Kc
should be reduced. The further addition of derivative action allows Kc to be
increased to a value greater than that for proportional-only control.
Controllers With Two Degrees of Freedom
• For example, the set point can be ramped as shown in Fig. below or
“filtered” by passing it through a first-order transfer function,
(24)
*
where Ysp : denotes the filtered set point that is used in the control
calculations.
• The filter time constant, τ f determines how quickly the filtered set point
will attain the new value, as shown in Fig. below.
(25)
• The control law modification consists of multiplying the set point in the
proportional term by a set-point weighting factor, β :
(27)
• The set-point weighting factor is bounded, 0 < ß < 1,and serves as a
convenient tuning factor.
• During control system design, primary controller settings are specified based on:
Process knowledge
Control objectives and
Prior experience
• Online controller tuning involves plant testing, often on a trial and error
basis.
Few general observations related to controller tuning:
1. Controller tuning inevitably involves a tradeoff between performance
and robustness.
Over 60 years ago, Ziegler and Nichols (1942) published a classic paper
that introduced the continuous cycling method for controller tuning.
Compute the PID controllers and Compare the system response with the
following settings.
a) Ziegler Nichols(Z-N) settings (use table 12.6)
b) Tyreus Luyben (T-L) settings (use table 12.6)
c) Direct synthesis method with τc =3 (use following equation)
Fig: comparison of PID controller for different method
2. Relay auto tuning
• The operation of relay auto tuner includes a dead band as shown in the
figure below.
• This dead band is used to avoid frequent switching caused by
measurement noise.
Fig: autotuning using a relay controller
• Approximate expression for the ultimate gain is:
• Ultimate period is equal to the period of oscillation for the process output.
After obtaining the ultimate parameter, PID controller settings can the be
calculated from Z-N settings given in the table.
Advantage of relay auto-tuning method compared to the continuous
cycling method:
1. Only a single experiment test is required instead of a trial-and-error
procedure.