1 s2.0 S1474667016310667 Main
1 s2.0 S1474667016310667 Main
1 s2.0 S1474667016310667 Main
Abstract: In this paper the design of an event-based proportional-integral (PI) control scheme for
stable first-order processes is considered. A novel triggering mechanism which decides the transmission
instants based on an estimate of the PI control signal is proposed. This mechanism addresses some side-
effects that have been discovered in previous event-triggered PI proposals, which trigger on the process
output. In the proposed scheme, the classic PI controller is further replaced with PIDPLUS, a promising
version of PI controller for networked control systems. Although PIDPLUS has been introduced to deal
with packet losses and time delays, and, to the best of our knowledge, a stability analysis of the closed-
loop system where such a controller is used has never been performed, here the performance of such
a controller in an event-based fashion are analyzed, and a stability analysis is further provided. The
proposed event-based scheme ensures set-point tracking and disturbance rejection as in classic time-
periodic implementations of PI controller, while greatly reducing the number of sensor transmissions.
The theoretical results are validated by simulations, where the benefits in using PIDPLUS in combination
with the proposed PI event-based triggering rule are shown.
Keywords: PI controller, Event-Based Control, Networked Control Systems (NCS), Adaptive Control.
0.5
signal Otanez et al. [2002], our intuition is to consider the
deadband triggering rule on an appropriate filtered version of
the output signal. For instance, by considering the control input
0
0 20 40 60 80 100 120 140 160 180 200
Time [s]
1.5
as a filtered version of the output, our idea is to consider a
Event−based deadband sampling on a input-like signal. By denoting
Periodic PI (h=0.3 s)
1
1 t
Z
u(t)
0.5
ũ(t) = K̃p (r − y(t)) + (r − y(s)) ds + x̃c (tk ) ,
T̃i tk
0
0 20 40 60 80 100 120 140 160 180 200
(4)
Time [s] where K̃p , T̃i ∈ R are two sampling parameters, and x̃c ∈ R is
100 the state of the integrator implemented on the sensor, the event-
based rule we propose is implicitly defined by the condition
tk+1 −tk [s]
50
τ (t) = ũ(tk ) − K̃p (r − y(t))
0
0 20 40 60 80 100 120 140 160 180 200 Z t (5)
Time [s] 1
− (r − y(s)) ds − x̃c (tk ) ≤ δ ,
(a) Sticking effect T̃i tk
2 We denote (5) as PI-based triggering rule. Whenever the sys-
1.5
Event−based
Periodic PI (T=0.3 s)
tem gets stuck, the integral term in (5) grows unbounded, en-
Samples forcing the sensor to send a new measurement to the controller,
y(t)
1
and the sticking is avoided. Moreover, the controller is no
0.5
longer updated if and only if yk∗ = r, that yields ũ(tk+1 ) =
0
0 20 40 60 80 100 120 140 160 180 200 ũ(tk ) for all k greater than k ∗ . That way, when the system gets
Time [s]
stuck, the sampling rule imposes a time-out that depends on the
1.5
Event−based
distance of yk from the desired set-point r.
Periodic PI (T=0.3 s)
1
Notice that by using such a triggering rule, the sensor can
u(t)
0.5 potentially compute the new control input ũ(tk+1 ) and send
this information straight to the actuator. However, whenever the
0
0 20 40 60 80 100 120 140 160 180 200 utilization of (5) cancels the sticking problem, the controller
Time [s]
would be updated with ũ(tk+1 ) = ũ(tk ) ± δ. This control
100
update rule leads to limit cycles that may generate unacceptable
oscillations of the output. To avoid such oscillations, we let the
tk+1 −tk [s]
rate β(tk ), and the other concerns the choice of a suitable event- β(tk ) = −Ti (1 − e Ti ) . (6)
based rule τ (t) ≤ δ. In the sequel we consider the formulation of the PIDPLUS
as (2), with β(tk ) defined as in (6), and we will show that
to guarantee asymptotic stability of the closed-loop system a
condition on the controller’s proportional gain Kp must be
4. PROPOSED EVENT-BASED PI CONTROL SCHEME fulfilled.
To solve the sticking problem, we need to enforce the sensor 5. STABILITY ANALYSIS
to send a new measurement to the controller whenever the
system gets stuck, and we have to adapt the controller to avoid In this section we study the stability property of the controlled
oscillations around the set-point. These are the arguments of the process when β(tk ) is chosen according to (6), and τ (t) ≤ δ
following two sections. is chosen according to (5). Before addressing the general case
of aperiodic controller updates, we first show how the adapta-
tion (6) ensures asymptotic stability of the controlled-process !x(t)!
for any fixed controller update rate of period h > 0.
Lemma 5.1. Consider the system (1) controller by (2), where α(!xk−1 !)
β(tk ) is given by (6). Then, the controlled system is asymptot-
ically stable for any constant sampling interval h > 0 if, and α(!xk !)
only if 0 < −bKp /a < 1. ⊳ α(!xk+1 !)
Proof: We start the proof by assuming r = 0. To capture α(!xk+2 !)
all the model details of the closed loop system, let us denote α(!xk+3 !)
x = [xp xc ]T , and consider the hybrid model, Goebel et al. t
[2009] tk tk+1 tk+2 tk+3 tk+4
ẋ(t) = Ac x(t) + w , if x ∈ C ,
(7)
x(tk+1 ) = Ad (β(tk ))x(tk ) , if x ∈ D , Fig. 3. Stability analysis of the closed-loop system. The value
where of kx(t)k is bounded by a decreasing bound α(kxk k) in
any time interval [tk , tk+1 ).
a b −bKp xp (tk )
Ac = 0 0 , w = 0 (8)
Condition 2 is always verified, while conditions 1–3 are verified
1 0 for all h > 0 if, and only if 0 < −bKp /a < 1. Then, by
!
Ad (β(tk )) = Kp , (9) assumption, we have that Φ is Schur for any constant time
− β(tk ) 1 h > 0. The Schur property of Φ implies the convergence to
Ti
zero of the sequence x(tk ), and since kx(t)k ≤ α(kx(tk )k) for
and where the flow and the jump sets are defined respectively t ∈ (tk , tk+1 ), then asymptotic stability of the origin follows.
as C = {x ∈ R2 : τ (t) ≤ δ} and D = {x ∈ R2 : τ (t) > δ},
where τ (t) and δ are defined in (5). Given the system (7), we In the case r 6= 0, we have that the equilibrium point of the
want to study the stability property of the origin. Under the controlled system is in xeq = [r −aTi /(Kp b)·r]T . Hence, the
assumption a < 0, and because the input w is constant and set-point tracking can be studied by considering a coordinate
it acts only on the asymptotically stable part of (7), i.e. it acts change that translates xeq into the origin, and then by studying
only on the dynamics of xp , then kx(t)k ≤ α(kx(tk )k) for the stability of the origin in the new coordinates as done in the
all t ∈ (tk , tk+1 ), and for a certain K-class function α(·) 2 , case r = 0. When there are external disturbances, it is possible
see Fig. 3. To achieve asymptotic stability of the origin, it is to proceed in the same way by considering xeq = [r −
then enough to show the convergence to zero of the sequence aTi /(Kp b) · r − d]T as equilibrium point. ⋄
x(tk ). Because it holds xp (t+ k+1 ) = xp (tk ) and ẋc (t) = 0, It is well known that while a common method to test instability
we can study the behavior of x(tk ) only correspondently to is to verify the position of the eigenvalues of the discretized
the transmissions times t = tk . By observing the particular controlled process outside the unit circle, to prove stability
structure of (7), it is enough to study the stability properties of the continuous-time process, this method should be used
of the following system with caution because no information is given on what occurs
x(tk+1 ) = Φx(tk ) , (10) between consecutive discretization instants. It can happen for
where the matrix example that at every discretization instant it holds xp (tk ) = 0
b ah b ah
but the output is oscillating between the discretization points.
ah However, by resorting to hybrid models, we proved that be-
e − Kp a (e − 1) a (e − 1) tween two consecutive sampling instants, the continuous-time
Φ= Kp , (11)
− β(tk ) 1 dynamics are also upper bounded with a class K function α(·),
Ti and such a bound converges to zero, see Fig. 3.
is obtained by considering the exact discretization of the con- Remark 5.1. The reader may argue that since PIDPLUS en-
tinuous time process (1) controlled by (2) and by considering sures asymptotic stability for any constant sampling period, a
constant time intervals of the form [tk , tk+1 ). Note that under natural method to reduce the amount of communication be-
constant sampling, the matrix Φ is time invariant. The polyno- tween the sensor and the controller would be to use a large
mial characteristic of Φ is given by constant sampling period. However, if a disturbance suddenly
p(λ) = λ2 − tr(Φ)λ + det(Φ) , enters the system, the performance may drastically deteriorate
since it will be detected only at the next sampling instant that
where tr(Φ) and det(Φ) denote the trace and the determinant of may be far, while an event-based control scheme would react
the matrix Φ respectively. By applying the Jury criterion we get immediately. ⊳
the following necessary and sufficient conditions for asymptotic
stability In the case of event-based control, the stability analysis is more
1. | det(Φ)| < 1 , involved, since the inter-event times are varying, namely the
2. 1 − tr(Φ) + det(Φ) > 0 , sampling intervals hk are not constant. This implies that the
3. 1 + tr(Φ) + det(Φ) > 0 . matrices Φ are time-varying, and the controlled system can be
rewritten as
By using PIDPLUS, the above conditions become
x(tk+1 ) = Φ(hk , hk−1 )x(tk ) , (12)
h
1. |eah − ab Kp e Ti (eah − 1)| < 1 , where
2. b ah
h
b ahk b ahk
a Kp (e − 1)(1 − e Ti ) > 0 , ahk
e − K p (e − 1) (e − 1)
h
Φ(hk , hk−1 ) = a hk−1 a .
3. 2(1 + e ) − ab Kp (eah − 1)(1 − e Ti ) > 0 ,
ah
−Kp 1 − e Ti 1
2 A continuous function α : [0, a) → R
≥0 , a > 0 , is said to be of class K if
it is strictly increasing and α(0) = 0, Khalil [2002]. (13)
However, by using PIDPLUS, it is still possible to verify the The results are depicted in Figure 4. By comparing Figure 4
stability condition under any event-based rule, as stated in the with Figure 2, we can appreciate how there are no oscillations
next result. of the output, and how the system does not stick. Within this
simulation we obtained N = 28 number of transmissions
Theorem 5.1. Consider the system (12), and assume 0 < and IAE=13.45 for the event-based implementation, while the
−bKp /a < 1. Let 0 < hmin < hmax two arbitrary positive periodically sampled PI controller generated N = 1500 trans-
constants. If there exists a matrix P = P T > 0 that sastisfies missions and IAE=8.97. In order to generate the same number
of transmissions as the event-based, the periodically sampled PI
Φ(hmin , hmin )P ΦT (hmin , hmin ) − P < 0, (14) controller requires a transmission period h = 16 s which would
T
Φ(hmin , hmax )P Φ (hmin , hmax ) − P < 0, (15) render the closed-loop system unstable. However, if using the
T PIDPLUS with period h = 16 s, the system is stable according
Φ(hmax , hmin )P Φ (hmax , hmin ) − P < 0, (16) to Lemma 5.1, but its transient response is slower than the
T
Φ(hmax , hmax )P Φ (hmax , hmax ) − P < 0, (17) proposed scheme, with an IAE=22.31 s.
then, the origin is asymptotically stable for any hmin ≤ hk ≤ We also test the disturbance rejection of the proposed scheme.
hmax . ⊳ The simulation result is illustrated in Figure 5, where a dis-
Proof: The system (12) can be viewed as a discrete-time turbance of amplitude 0.2 is added to the input of the plant at
system with time-varying uncertainty. Let the set A := t = 200 s. As it can be seen, the proposed scheme efficiently
{Φ(hk , hk−1 )|hmin ≤ hk ≤ hmax }k∈N . It is easy to verify rejects the disturbance with a small number of samples. With
that every matrix that belongs to A can be expressed as convex our method we experienced N = 47 transmissions with an
combination of the four matrices Φ(hk , hk−1 ) obtained when IAE=23.08, while the periodically sampled PI with h = 0.3
hk , hk−1 are equal either to hmin or hmax , and then the un- achieves an IAE=15.4 with N = 1500 number of transmis-
certainty is polytopic. Hence, asymptotic stability of (12) is sions. The PIDPLUS with period h = 16 s is able to reject
achieved if there exists a matrix P that satisfies (14)–(17), see the disturbance, but its response is slow, where the disturbance
for example Amato [2006]. ⋄ being only detected at approximately t = 205 s, 5 s after it
occurred. Moreover, it generated N = 28 transmissions with
The previous theorem states that the PIDPLUS controller en- an IAE=36.40.
sures asymptotic stability of the closed-loop system, no matter
when the controller is updated, provided that hmin ≤ hk ≤
hmax . Then, the set-point is asymptotically tracked and eventual 6.2 Example 2: First-order process with delay
undesirable oscillations around it are canceled if the controller
receives an infinity number of measurements. Hence, accord- We now evaluate our event-based scheme for the control of
ing to Theorem 5.1, we have to slightly modify the sampling a first-order process with delay. We remark that the stability
rule (5) by using hk = hmin or hk = hmax if the inter-sampling analysis provided in Section 5 are no longer valid for a plant
times given by (5) are too short or too long respectively. with delay. This example serves the purpose of demonstrating
the robustness of the proposed control scheme to delays.
The fact that an infinite number of measurements are required
to achieve asymptotic tracking of the set-point should not We consider the same example as above, with the addition of
mislead about the efficiency of the proposed control scheme. an actuation delay of 5 s. The results are depicted in Figure
The efficiency of the proposed method relies on the fact that 6. As it can be seen, the response becomes oscillatory with
the transmissions can be performed at any time, provided that the introduction of the actuation delay, whereas the proposed
hmin ≤ hk ≤ hmax , where hmax can be very large. control scheme successfully tracks the set-point and rejects the
disturbance. Moreover, the performance is very close to the
6. SIMULATION RESULTS periodically sampled PI controller with h = 0.3, where our
scheme provided IAE=26.41, while the periodic PI provided
We illustrate the performance of the proposed scheme when IAE=26.83. As an added benefit, the number of required trans-
controlling a first-order plant of the form (1). Then, just for the missions is significantly reduced to 62.
sake of investigation, we simulate the case in which there is a
time delay between the controller and the actuator. For steady- 7. CONCLUSIONS
state condition analysis we look at the number of transmitted
packets N from the sensor to the controller. Moreover, we use When event-based techniques are used in PI control scheme,
the Integral of the Absolute Error (IAE) parameter as a general drawbacks as sticking or output oscillation may arise. To cope
indicator for both transient and steady-state performance. The with these problems we proposed a novel event-based scheme
IAE value is calculated as Z that provides a PI-based triggering used in combination with
∞
IAE = |r − y(s)|ds. (18) PIDPLUS. Despite PIDPLUS was introduced to deal with
0
network imperfections like packet losses and time delays, here
The simulations were performed using Simulink in combina- we used such a controller in an event-based scheme, further
tion with Truetime, Cervin et al. [2003]. analyzing the stability property of the closed-loop system.
Simulations results show how the utilization of PIDPLUS in
6.1 Example 1: First-order process combination with the PI-based triggering rule is capable to
achieve asymptotic set-point tracking and disturbance rejection
as classic PI controller, while drastically reducing the number
We consider the same setup as in Section 3 and we compare the of transmissions from the sensor to the controller.
performance of the proposed scheme with a periodic implemen-
tation of period h = 0.3 s. The PI-based sampling scheme is set Future work include the extension to processes with delay
with Kp and Ti as for the controller. Note that the assumptions and the extension to multi dimensional systems. Moreover, the
of Lemma 5.1 are satisfied. effect of the derivative part of the PIDPLUS when used in
an event-based scheme is worth of investigation. Finally, the
0.0956 −0.090 optimal choice of δ in the PI-based triggering rule to achieve
For this system we find the matrix P = −0.090 0.1944
a trade-off between performance of the closed-loop system and
to fulfill Theorem 5.1 for hmin = 0.3 s and hmax = 1010 s. number of transmission is another future research topic.
2 2
Event−based Event−based
1.5 Periodic PI (h=0.3 s) 1.5 Periodic PI (h=0.3 s)
Periodic PIDPLUS (h=8.5 s) Samples
y(t)
y(t)
1 Samples 1
0.5 0.5
0 0
0 50 100 150 200 250 300 350 400 450 0 50 100 150 200 250 300 350 400 450
Time [s] Time [s]
1.5 1.5
Event−based Event−based
Periodic PI (h=0.3 s) Periodic PI (h=0.3 s)
1 1
Periodic PIDPLUS (h=8.5 s)
u(t)
u(t)
0.5 0.5
0 0
0 50 100 150 200 250 300 350 400 450 0 50 100 150 200 250 300 350 400 450
Time [s] Time [s]
100
100
−t [s]
50
k+1
50
t
0 0
0 50 100 150 200 250 300 350 400 450 0 50 100 150 200 250 300 350 400 450
Time [s] Time [s]
Fig. 4. Simulation result of a PIDPLUS controller with PI Fig. 6. Simulation result of a PIDPLUS controller with PI sam-
sampling in Example 1. The performance of the event- pling for disturbance rejection under an actuation delay
based controller is compared to a periodic implementation L = 8 s.
of a classic PI controller with period h = 0.3s and a
PIDPLUS controller with period h = 16s. S. Durand and N. Marchand. Further Results on Event-Based
PID Controller. In Proceedings of ECC 2009, pages 1979–
1984, Budapest, Hongrie, August 2009.
2
Event−based
L. Eriksson. PID Controller Design and Tuning in Networked
1.5 Periodic PI (h=0.3 s) Control Systems. PhD thesis, Helsinki University of Tech-
Periodic PIDPLUS (h=16 s)
nology, 2008.
y(t)
1 Samples
0.5 R. Goebel, R. Sanfelice, and A. Teel. Hybrid dynamical
0
systems. IEEE Control Systems Magazine, 29(2):28–93,
0 50 100 150 200
Time [s]
250 300 350 400 450
2009.
1.5 O. Kaltiokallio, L. M. Eriksson, and M. Bocca. On the perfor-
Event−based mance of the pidplus controller in wireless control systems.
In 18th MED, pages 707 –714, Jun. 2010.
Periodic PI (h=0.3 s)
1
Periodic PIDPLUS (h=16 s)
u(t)
50 3020, 2002.
M. Rabi and K. H. Johansson. Event-triggered strategies for
0 industrial control over wireless networks. In International
0 50 100 150 200
Time [s]
250 300 350 400 450
Conference on Wireless Internet, pages 1–7, 2008.
J. Sánchez, A. Visioli, and S. Dormido. A two-degree-of-
Fig. 5. Simulation result of a PIDPLUS controller with PI sam- freedom pi controller based on events. Journal of Process
pling for disturbance rejection. Performance comparisons Control, 21(4):639 – 651, 2011. ISSN 0959-1524.
as in Figure 4. J. Song, A. K. Mok, D. Chen, M. Nixon, T. Blevins, and W. Wo-
jsznis. Improving pid control with unreliable communica-
REFERENCES tions. In ISA EXPO Technical Conference, 2006.
P. Tabuada. Event-triggered real-time scheduling of stabilizing
F. Amato. Robust Control of Linear Systems subject to Uncer- control tasks. IEEE Transactions on Automatic Control, 52,
tain Time-varying Parameters. Springer, 2006. 2007.
K. E. Årzen. A simple event-based PID controller. In IFAC V. Ungan. Networked PID controllers for wireless sys-
World Congress, pages 423–428, Beijing, China, 1999. tems. Master’s thesis, Royal Institute of Technology (KTH),
K. J. Åström and B. Bernhardsson. Comparison of periodic November 2010.
and event-based sampling for first-order stochastic systems. V. Vasyutynskyy and K. Kabitzsch. Simple pid control algo-
In IFAC World Congress, 1999. rithm adapted to deadband sampling. In IEEE ETFA, pages
K.J. Åström and T. Hägglund. Advanced PID Control. ISA, 932 –940, Sep. 2007.
NC, 2006. X. Wang and M.D. Lemmon. Event-triggering in distributed
networked control systems. Automatic Control, IEEE Trans-
A. Cervin and K.J. Åström. On limit cycles in event-based actions on, 56(3):586 –601, march 2011. ISSN 0018-9286.
control systems. In 46th IEEE CDC, pages 3190 –3195, Dec. A. Willig. Recent and emerging topics in wireless industrial
2007. communication. IEEE Transactions on Industrial Informat-
A. Cervin, D. Henriksson, B. Lincoln, J. Eker, and K.-E. Arzen. ics, 4(2):102–124, 2008.
How does control timing affect performance? analysis and
simulation of timing using jitterbug and truetime. Control
Systems, IEEE, 23(3):16 – 30, june 2003. ISSN 1066-033X.