Sintonía de Controladores Pid:: Profesora: Silvia Ochoa Cáceres Universidad de Antioquia 01-2021
Sintonía de Controladores Pid:: Profesora: Silvia Ochoa Cáceres Universidad de Antioquia 01-2021
Control de Procesos 1
PIDs Tuning
• Procedure for adjusting the parameters of a
controller.
• In the case of PID controllers, the tuning
procedure allow us to find the de KC, τI and TD
values that provide acceptable performance
and for which the system is stable (in closed
loop).
2
PIDs Tuning
3
PIDs Tuning
We look for parameters that:
• Reduce the process variability
• Allows the process to remain stable,
even for the worst disturbance
scenario.
• Avoid excessive variation in the
manipulated variable
4
In summary tuning means:
Z-N Tyreus-
Process Reaction Closed loop Luyben
Curve
(1/4 decay ratio) Performance
Z-N
Cohen – Optimization Correlations
Open loop
Coon 8
Tuning by trial and error
Con el controlador en manual, eliminar el efecto de
las acciones integral y derivativa.
NO
Es el sistema
sub amortiguado
y oscilatorio?
SI
La ganancia es la 9ganancia última.
Disminuya la ganancia a la mitad de su valor último
10
Tuning by Ziegler and Nichols Open Loop
Method (Step response)
The objective of this
method is to provide y(t)
tuning parameters that
produce a decay ratio
(razón de asentamiento)
of 1/4 in the oscillation ysp
of the controlled
variable.
11
Tuning by Ziegler and Nichols Open Loop
Method (Step response)
• The tuning parameters are based on the
parameters of a FOPDT model (from a reaction
curve) of the process in open loop.
• The transfer function of a first order model plus
dead time is given by:
Kp −t d s
G p (s) = e
τs + 1
12
Tuning by Ziegler and Nichols Open Loop
Method (Step response)
• However, it is important to keep in mind two important points
1. For tuning purposes, the transfer function of the process to be
controlled is considered composed of Gp, Gm and Gf.
2. Despite what was mentioned in point 1, several of the tuning
methods (ZN-OL, Cohen-Coon, Ciancone-Marlin, Lopez-Rovira,
among others) require that the transfer function of the process to
be controlled be of order one.
• The transfer function of the process to be controlled is then
defined as:
' Debe ser
K p KmK f K Adimensional!
G′p ( s ) ≈ −t d s
≈ −t d s
p
e e
τs + 1 13
τs + 1
5
=
3 +1
10
= ′=
+1 3 +1
3
=
1.5 + 1
Tuning by Ziegler and Nichols Open Loop
Method (Step response)
• The tuning parameters are calculated based
on:
Controlador KC TI TD
P 1 τ
*
K 'P td
PI 0.9 τ
* 3.3 * t d
K 'P td
PID 1.2 τ
* 2 * td 0.5 * t d
K 'P td
15
Tuning by Ziegler and Nichols Open Loop
Method (Step response)
• It is necessary to take into account that these
formulas are empirical, and they should only
be applied when :
td
0.1 < <1
τ
16
Tuning by Cohen-Coon Method
Controlador KC TI TD
P 1 τ td
* * 1 +
K 'P td 3τ
3t
PI 1 τ
t d 30 + d
τ
* 0.9 + d
t
*
K 'P td 12τ t
9 + 20 d
τ
PID
+
td 6t
1 τ 16 3 t D 32 + d 4t d
* * τ τ t
K ' P t d 12 t 11 + 2 d
13 + 8 d 17 τ
τ
Ejemplo: Determine los parámetros de sintonía
para un controlador para el IC
mv
Vapor TC 2 ,
= = ,
4 +1
Corriente de TT
Proceso
2.45 , 0,4
Tin T =
= 0,5 + 1
4 +1
Kp=[°C/(kg/min)] Km=[mA/°C]
kd=[°C/°C] Kf=(kg/min)/%
[ ] °C
K =
' mA (kg / min)
* * *
%
(kg / min) °C
p
% mA
Por lo tanto:
1.225 −0.8 s
G′p ( s ) = e
4s + 1
Ejemplo: Determine los parámetros de sintonía para un
controlador para el IC
2. Aplicar las Correlaciones de Sintonía
Para ZN-OL
3t
t D 30 + d
τ
1 τ
* 0.9 + d = 3.74
t τI = = 1.88 min
Kc = * t
K 'P td 12τ 9 + 20 d
τ
Ejemplo: Determine los parámetros de sintonía para un
controlador para el IC
3. Observar el Comportamiento dinámico
T (°C)
%OP
Ejemplo: Determine los parámetros de sintonía para un
controlador para el IC
4. Cuantificar el Desempeño
ISE(°C )
2
Conclusión?
TUNING based on …
Trial and error Stability
Z-N Tyreus-
Process Reaction Closed loop Luyben
Curve
(1/4 decay ratio) Performance
Z-N
Cohen – Optimization Correlations
Open loop
Coon 23
TUNING BY DYNAMIC PERFORMANCE
By Optimization Correlations
24
PERFORMANCE
Error= ysp -y
25
PERFORMANCE
tf
IAE = ySP (t ) − y (t ) dt
0
Where tf is the simulation time.
27
DESEMPEÑO DE LA VARIABLE CONTROLADA
ISE = [ ySP (t ) − y (t )] dt
2
tf
ITAE = t ySP (t ) − y (t ) dt
0
28
DESEMPEÑO DE LA VARIABLE CONTROLADA
IE = [ ySP (t ) − y (t ) ]dt
0
29
TUNING BY DYNAMIC PERFORMANCE
30
TUNING BY DYNAMIC PERFORMANCE:
CORRELATIONS
• There are several types of correlations used to
tune PID controllers which accounts for the
dynamic performance; among which are:
– Ciancone correlations (regulation and tracking).
– Rovira correlations (tracking).
– López correlations (regulation).
31
TUNING BY DYNAMIC PERFORMANCE:
CORRELATIONS
• These types of correlations are applied based
on first order models with dead time (open
loop determined), including the sensor-
transmitter and the EFC.
'
K p KmK f K
G′p ( s ) ≈ −t d s
≈ −t d s
p
e e
τs + 1 τs + 1
32
TUNING BY DYNAMIC PERFORMANCE:
CIANCONE CORRELATIONS
• The Ciancone correlations are presented graphically
depending on the control algorithm to be used (PID,
PI, etc).
• The method is based on the dimensionless fraction
dead time :
td θ
Fraction Dead Time = =
td + τ θ + τ
33
CIANCONE – MARLIN
Correlations for PID:
For regulation and tracking control
34
CIANCONE –
MARLIN
Correlations for PI:
For regulation and
tracking control
35
LÓPEZ CORRELATIONS :
• The López correlations (for regulation) based
on the IAE are given by:
KC TI TD
−0.985
P 0.902 t d
*
K 'P τ
−0.986
0.984 t d τ td
0.707
PI
* *
K 'P τ 0.608 τ
τ
−0.921 0.749 1.137
PID 1.435 t d d
t d
t
*
* 0. 482 * τ *
K 'P τ 0.878 τ τ
36
CORRELACIONES DE Rovira:
• The Rovira correlations (for tracking control)
based on the IAE are given by:
KC TI TD
−0.861 τ
PI 0.758 t d
* t
1.02 − 0.323 d
K 'P τ τ
−0.869 τ
PID 1.086 * td 0.914
td td
K' τ 0.740 − 0.130 0.348 *τ *
P τ τ
37
Ejemplo: Determine los parámetros de sintonía
para un controlador para el IC
mv
Vapor TC 2 ,
= = ,
4 +1
Corriente de TT
Proceso
2.45 , 0,4
Tin T =
= 0,5 + 1
4 +1
Kp=[°C/(kg/min)] Km=[mA/°C]
kd=[°C/°C] Kf=(kg/min)/%
K c K p' = 1.7
1.7 1.7
Kc = ' = =1.39
K p 1.225
De la Figura:
τI
= 0.35
td + τ
τ I = 0.35 * 4.8 = 1.68 min
Ejemplo: Determine los parámetros de sintonía para un
controlador para el IC
%OP
Parámetros/Método Ciancone López ZN-OL Cohen-
Coon
Kc 1,39 3,93 3,67 3,74
45
TUNING BY DYNAMIC PERFORMANCE:
OPTIMIZATION
• It is required when the system to be
controlled has complex dynamics (several
coupled dynamics), and when the model
obtained by the reaction curve presents a
large error compared to the real system.
• It can be univariable (adjusting only one
parameter at a time) or multivariable
(adjusting KC, TI, and TD simultaneously).
46
TUNING BY DYNAMIC PERFORMANCE: OPTIMIZATION
Parámetros
IAEi+1 - IAEi <Tol
de Sintonía
47
COMENTARIOS
• All the Correlations addressed in this talk,
except those of CIANCONE, are applicable
when: tD
0.1 ≤ ≤1
τ
• Ciancone correlations are independent of the
value of the ratio td/τ, thanks to the fact that
they are based on the dimensionless
parameter t d
td + τ
48
COMENTARIOS
• The Ciancone correlations were developed based on
the IAE, and taking into account changes in the
process parameters up to ± 25% (error in the model).
49
PROCEDIMIENTO PARA LA SINTONÍA POR DESEMPEÑO
DINÁMICO: CORRELACIONES.
Identificar el modelo de
primer orden con retardo
G(s)=f (K, τ, tD)
Control por
Regulación o
Regulación Control por
Seguimiento
Seguimiento
Correlaciones Correlaciones Correlaciones
de López de Rovira de Ciancone
No %E< 25%?
tD
0.1 ≤ ≤1
τ
No
Si Si Sintonizar por
Obtener los parámetros:
KC, TI y TD. otro Método
50
FINALMENTE …
• Tuning methods based on performance
indices, either by optimization or by
correlations, ensure that the performance of
the control system will be satisfactory, but
they do not evaluate the stability.
51
FINALMENTE …
• Correlation tuning methods use approximate models
(first order with dead time) that in some cases can
deviate from the real system, thus affecting the
performance of the control system.
• The correlations seen here have been obtained by
empirical methods, and their validity is restricted to
certain intervals, so it is necessary to evaluate
whether or not they are applicable depending on the
specific case that is being worked on.
52
Fecha Examen 3
Jueves 17 de Junio.
Fechas para tener en cuenta…
Martes 01.06 PID Charla 15
Jueves 03.06 Sintonía 1 Charla 16
Martes 8.06 Asignación en clase Sintonía 1
Charla 17
Jueves 10.06 Estabilidad 1
Martes 15.06 Estabilidad 2 Charla 18
Control de Procesos 54