Professional Documents
Culture Documents
Abstract— This work aims to describe the analysis of a design method called Adaptive Model-free control,
evaluating its results by comparing them to a well established self-tuning adaptive scheme. The Model-free
control design is a generalization of the Model Reference Adaptive System, but posed as a direct self-tuner,
i.e., the controller is directly identified and not the plant model itself, adapting the control law to guarantee a
prescribed closed-loop behavior settled by a reference model. On the other hand, a classical adaptive method
by indirect self-tuning is used as a frame of reference for this analysis. Both methods are explored within a
digital PID structure capable of guaranteeing asymptotic reference tracking governed by a prescribed first-order
reference model. The analysis is conducted by simulations and by practical experiments with a real under-damped
electronic circuit. Results are presented in graphics, measured errors and statistical deviation.
576
XIII Simpósio Brasileiro de Automação Inteligente
Porto Alegre – RS, 1o – 4 de Outubro de 2017
The RLS estimation error is observed by looking 2.4 Parameters startup
to the measurable ubm (k) computed by (21) and
Tests were performed with PID and I+PD struc-
comparing it to the estimated one shown in (18).
tures in order to compare performances and to
In this way, the algorithm would converge and
obtain best results in the sense of asymptotic refe-
adapt the digital PID control law with innovations
rence tracking, even knowing that the I+PD struc-
of the estimated Ŝ(z −1 ) polynomial.
ture has advantages over ideal digital PID because
it avoids the derivative kick, generally leading to a
2.3.2 I+PD Model-free control synthesis
more conservative tuning. Due to the differences,
The MF control problem for the I+PD case chan- a common ground between these control structu-
ges only due to the differences posed by the struc- res was defined within its parameters, based on
ture of the controller (Jesus and Barbosa, 2015). what they share in the continuous case: the Pro-
The I+PD, from the discrete case viewpoint, mer- portional, Integral and Derivative gains.
ges the benefits of the digital PID to the regula- To ensure the same initial conditions to both
tory problem with the benefit of the incremental design techniques, a common nominal controller
action to the servo problem. In this manner, this was used during initial iterations. The used no-
structure avoids the derivative kick. minal controller in the continuous case was ma-
A digital I+PD control law is given by: nually tuned by trial and error with: Kc = 0.1,
Ti = 0.1, Td = 0.05, where these parameters were
∆U (z −1 ) = t̂0 Yr (z −1 ) − Ŝ(z −1 )Y (z −1 ). (23) mapped to the discrete PID or I+PD controller
by the following (backward approximation) equa-
Note in (23) that the Ŝ(z −1 ) polynomial now af- tions (Åström and Wittenmark, 1995):
fects only the output of the system, whilst the
scalar parameter t̂0 affects the reference sequence
Ts Td
in order to compensate the setpoint offset. s 0 = Kc 1 + + , (34)
Ti Ts
The I+PD MF control synthesis is handled
2Td
in the same way as in the PID case. By substi- s1 = −Kc 1 + , (35)
Ts
tution of Yr (z −1 ) by (12) into the I+PD control
law shown in (23), the controller is posed again to Td
s 2 = Kc . (36)
simultaneously attend servo and model reference Ts
dynamics characteristics, leading to
The sampling period Ts = 0.1s was used in
∆U (z −1
)= (24) all simulations and practical experiments in this
−1
work.
Am (z )
t̂0 Y (z −1 ) − Ŝ(z −1 )Y (z −1 ),
Bm (z −1 )z −1
3 Simulation tests and results
Bm (z −1 )z −1 ∆U (z −1 ) = (25)
t̂0 Am (z −1 )Y (z −1 ) − Bm (z −1 )z −1 Ŝ(z −1 )Y (z −1 ), 3.1 Without load disturbance
Ubm (z −1 ) = t̂0 Yam (z −1 ) − Ŝ(z −1 )Ybm (z −1 ). To initialize all control methods closer to the same
(26) initial state, the PID described in Section 2.4 was
used during the first 19 seconds of every test. Also,
The RLS algorithm in the I+PD MF synthesis the step response of the desired RM in (4) was
then becomes used to generate a standard output response in
order to measure errors with respect to the RM.
ûbm (k) = t̂0 yam (k) + φT θ, (27)
Simulations of the algorithms were run to
φT = −yam (k) −yam (k − 1)
−yam (k − 2) , compare theoretical and practical results. In Fi-
(28) gure 1 it is shown the simulation of the indirect
θT =
ŝ0 ŝ1 ŝ2
, (29) self-tuning case, with a desired τcl = 0.8s, that
resulted in a discrete pole zd = 0.88.
t̂0 = Ŝ(1) = ŝ0 + ŝ1 + ŝ2 , (30)
4
and the generalized functions that give support to Reference
Output
0
ubm (k) = (1 − zd )∆u(k − 1), (31) 0 10 20 30 40 50
4
yam (k) = y(k) − zd y(k − 1), (32)
Control
2
ybm (k) = (1 − zd)y(k − 1). (33)
0
0 10 20 30 40 50
The RLS estimation error is observed by loo- Time (s)
king to the measurable ubm (k) computed by (31)
and comparing it to the estimated one in (27). Figura 1: Simulated indirect self-tuning.
577
XIII Simpósio Brasileiro de Automação Inteligente
Porto Alegre – RS, 1o – 4 de Outubro de 2017
The self-tuning PID method presented a first- 3.2 Under load disturbance
order behavior with nearly 0.78 seconds of τcl .
Disturbance influence was tested only by simula-
This slight deviation from the theoretical desired
tions, since the real physical plant do not have
0.8 seconds occurred because the pole cancella-
this test feature. The disturbance d(k) = 0.1V is
tion method used, considers an static approxima-
applied at the instant of 32 seconds. The plant
tion of the estimated plant B̂(z −1 ) polynomial, i.e.
simulation model was augmented with a load dis-
B̂(1) = b̂0 + b̂1 , as presented in (6). The measu-
turbance model of the form
red mean error between desired RM response and
the control-loop response was 0.65% and the stan- B(z −1 )z −1 1
Y (z −1 ) = U (z −1 ) + D(z −1 ),
dard deviation was 1.78%. It is also interesting to −1
A(z ) A(z −1 )
notice the small derivative kick in the control sig- (37)
nal of Figure 1, happening during every setpoint
change after the 19th second, when the indirect where D(z −1 ) is the load disturbance model input.
self-tuning was started. Note that the load disturbance model shares the
same undamped characteristic polynomial A(z −1 )
In Figure 2, obtained results with the PID MF
in order to verify if asymptotic disturbance reco-
method are presented, also depicting a first-order
very occurs.
behavior. However, τcl = 0.89s was observed. The
In Figure 4, the indirect self-tuning adapted
measured error to the reference model response
asymptotically to the disturbance, as desired, but
was of 2.22% and standard deviation was of 4.12%,
presented a high derivative kick during the set-
demonstrating by these statistical selected metrics
point change that followed the disturbance. It is
and by simulation, that the performance of the
also interesting to observe that adapting to the
PID MF method was around 2-times worse than
disturbance led the control-loop to a high deriva-
the indirect self-tuning method, but there is no
tive kick that vanished later on due to the conver-
derivative kick in the control signal, even with a
gence of the estimation algorithm. However, using
PID structure in use.
the same PID structure, but in the model-free ap-
proach, the simulation result do not present the
4 derivative kick (cf. Figure 5).
Reference
Output
2 Output
4
Reference
Output
0
0 10 20 30 40 50 2 Output
4
0
Control
0 10 20 30 40 50
2
5
Control
0
0 10 20 30 40 50 0
Time (s)
−5
0 10 20 30 40 50
Figura 2: Simulated PID MF method. Time (s)
2
4
Reference 0
Output
0 10 20 30 40 50
2 Output Time (s)
0
0 10 20 30 40 50
Figura 5: Simulated PID MF method under load.
4
Control
578
XIII Simpósio Brasileiro de Automação Inteligente
Porto Alegre – RS, 1o – 4 de Outubro de 2017
versions of u(k), y(k), yr (k), and these filters are the simulated controller with a simulated model.
given by design, based on the RM alone. However, it does not mean that the derivative kick
In Figure 6 the results of the simulated I+PD effect would never happen again in practice with
MF under load disturbance are shown. Since our tested plant. A power source change, an Ar-
the I+PD, by structure, is already insensitive to duino board change or a PC change may produce
abrupt setpoint changes regarding the derivative a slight difference to the identified model that may
kick, this algorithm simulation confirms this pre- lead to a different tuning of the Self-tuning PID.
mise and also keeps its place as the best perfor-
mance against the other two methods, when τcl is 4
Reference
Output
considered to be as close as possible to the desired 2 Output
value and the avoidance of the derivative kick is
0
guaranteed by the I+PD structure plus the MF 0 10 20 30 40 50
approach and its filters given by design. 4
Control
2
4
Reference 0
Output
0 10 20 30 40 50
2 Output Time (s)
0
0 10 20 30 40 50 Figura 7: Practical indirect self-tuning.
4
Control
0
0 10 20 30 40 50
4 Results of experimental tests 4
Control
579
XIII Simpósio Brasileiro de Automação Inteligente
Porto Alegre – RS, 1o – 4 de Outubro de 2017
S(z −1 ) polynomial.
Table 1: Errors and standard deviations.
Test Method Error Std. Dev. It is important to remark that the MF method
presented, despite structured to work as a PID or
Simulat. Indirect ST 0.65% 1.78%
I+PD controller, is more complicated than it se-
Simulat. PID MF 2.22% 4.12%
ems to be, due to its filters added by the substitu-
Simulat. I+PD MF 1.37% 3.82%
tion of the reference model within the control law.
Practical Indirect ST 1.50% 2.73%
However, this form of construction leads to an
Practical PID MF 2.67% 5.54%
overall control system similar to a dynamic com-
Practical I+PD MF 2.20% 4.79%
pensator, i.e., control based on estimated data fe-
edback, obeying the separation principle (Åström
and Wittenmark, 2011).
5 Conclusions The MF as a dynamic compensator may be
further investigated in a future work in order to
The MF method has presented equivalent perfor- prove, analytically or empirically, its robustness to
mance when compared to model-dependent self- sensor failures and noise, as well as the capability
tuning method, since the concept of MR is what to handle different classes of plants, such as open-
drives both methods. However, based on measu- loop unstable or type-1 (integral) systems.
red errors and standard deviations presented in We finish our conclusion depicting the major
Table 1, the Indirect Self-tuning (ST) PID pre- advantage of the three algorithms tested in this
sented better results. On the other hand, if the work, which is the fact that a single parameter is
load disturbance is considered, the derivative kick necessary in order to tune the asymptotic desired
will compromise this controller ability to guaran- response: the closed-loop time constant, τcl . We
tee the closed-loop objective (cf. Figure 4). also propose as a future work, the hybridization of
The advantage of the presented PID and this muscular MF technique with the intelligent
I+PD MF method is its application in different monitoring and adaptation of τcl in order to best
practical situations, as in unknown and time- match a desired performance criterion.
varying plant systems. Although the results with
MF were not better than the model-dependent Referências
case, within chosen comparison metrics of measu-
red error and standard deviation to the reference Åström, K. J. and Wittenmark, B. (1995). Adap-
model response, the MF results were acceptable tive Control, Addison-Wesley Publishing
from the viewpoint of the adaptation rather than Company.
an exact match to the prescribed time constant.
Åström, K. J. and Wittenmark, B. (2011).
Another drawback of the MF case when com- Computer-controlled systems: theory and de-
pared to the indirect Self-tuning method is that its sign, Dover Publications, Inc.
analytical and direct form of development is less
intuitive than the indirect adaptive case. Howe- Jesus, I. S. and Barbosa, R. S. (2015). Genetic
ver, when compared to the MRAS case, the pre- optimization of fuzzy fractional pd+i control-
sented MF synthesis for PID or I+PD, seems to lers, ISA Transactions .
be simpler to be changed in order to synthesize
new MF controllers based on any other control Kirecci, A., Eker, I. and Dulger, L. C. (2003). Self-
structure, since all the designer needs to do is to tuning control as conventional method, Elec-
substitute the model reference into the control law trical Engineering 85(2): 101–107.
to find the filtered versions of the input, output Lim, C. M. (1990). Experimental evaluation of a
and reference signals given, by design, by the MF self-tuning controller, IEEE Transactions of
direct self-tuning synthesis covered in this article. Industrial Electronics 37(3): 193–194.
With that thought on synthesizing more con-
trollers based on the MF method presented, in Seborg, D. E., Edgar, T. F. and Mellichamp, D. A.
terms of controller structural complexity versus (2004). Process Dynamics and Control, 2nd
plant model complexity, the MF is simpler, since edn, John Wiley & Sons.
it does not need to have the number of zeros equal
to the number of the open-loop poles of the plant. Silveira, A. S., Coelho, A. A. R. and Gomes, F. J.
However, it may lead to poor performance when (2012). Model-free adaptive PID controllers
the plant is of greater order and the selected con- applied to the Benchmark PID’12, Proc. of
troller topology is not capable to handle the pro- IFAC Conference on Advances in PID Con-
blem imposed by the plant, whilst the indirect trol, Vol. 2, pp. 370–375.
Self-tuning method by pole cancellation would de-
mand a controller structure of same complexity
and consequently ideal cancellation of the open-
loop poles, just by increasing the order of the
580