Beruflich Dokumente
Kultur Dokumente
, (1)
where t
se
is the time instant that the actuator encapsulates the
measurement to a frame or a packet to be sent, t
cs
is the time
instant that the controller starts processing the measurement in
the delivered frame or packet, t
ce
is the time instant that the
main controller encapsulates the control signal to a packet to
be sent, and t
rs
is the time instant that the system starts
processing the control signal. Fig. 2 shows the corresponding
timing diagram of network delay propagations.
Fig. 2 Timing diagram of network delay propagations
In fact, both network delays can be longer or shorter than
the sampling time T: The controller processing delay
c
and
both network delays can be lumped together as the control
delay for ease of analysis. This approach has been used in
some networked control methodologies. Although the
controller processing delay
c
always exists, this delay is
usually small compared to the network delays, and could be
neglected. In addition, the sampling periods of the main
controller and of the actuator may be different in some cases.
The delays
sc
and
ca
are composed of at least the following
parts [16]:
Waiting time delay
W
. The waiting time delay is the delay,
of which a source (the controller) has to wait for queuing
and network availability before actually sending a frame or a
packet out.
Frame time delay
F
. The frame time delay is the delay
during the moment that the source is placing a frame or a
packet on the network.
Propagation delay
P
. The propagation delay is the delay for
a frame or a packet traveling through a physical media. The
propagation delay depends on the speed of signal
transmission and the distance between the source and
destination.
These three delay parts are fundamental delays that occur
World Academy of Science, Engineering and Technology
Vol:2 2008-11-22
173
I
n
t
e
r
n
a
t
i
o
n
a
l
S
c
i
e
n
c
e
I
n
d
e
x
V
o
l
:
2
,
N
o
:
1
1
,
2
0
0
8
w
a
s
e
t
.
o
r
g
/
P
u
b
l
i
c
a
t
i
o
n
/
1
4
0
0
1
on a local area network. When the control or sensory data
travel across networks, there can be additional delays such as
the queuing delay at a switch or a router, and the propagation
delay between network hops. The delays
sc
and
ca
also
depend on other factors such as maximal bandwidths from
protocol specifications, and frame or packet sizes.
It is assumed that communication delays from the sensor to
controller and from controller to actuator are variables
(random), have the same values and they are uniform
distributed. The Simulink model for generation of these delays
is depicted in Fig. 3.
Out1
1
Zero-Order
Hold
Uniform random
number
Step1
Product
Fig. 3 System for generating a uniform distributed random signal
Communication delays which are larger then a sample time
(discretization delay) are considered in the paper. The sample
time is chosen to be 0.03 s. The communication time delay
generated with simulation scheme in Fig. 3, changed from 0 to
3*T (T is sample time), is shown in Fig. 4.
0 10 20 30 40 50
0
0.02
0.04
0.06
0.08
0.1
Time [s]
C
o
m
m
u
n
i
c
a
t
i
o
n
d
e
l
a
y
[
s
]
Fig. 4 Time distribution of communication delay under interval
[0,3T
d
]
B. Process Model and PI Controller
The PI controller is designed using technical optimum
technique. We used discrete model of PI controller described
by following equation:
i i
r
r
T z T
Tz K
z G
= ) ( , (2)
where K
r
is proportional gain and T
i
is integral time constant.
The process is represented by DC motor in the Laplace form:
1 7 . 0 1 . 0
1
) (
2
+ +
=
s s
s G . (3)
The process model, which predicts the future behavior of
process, is given in discrete form as follows:
2 1
2 1
43175 . 2 4072 . 5 3
011742 . 0 012593 . 0
) (
+
+
=
z z
z z
z G
m
. (4)
In the following section, the design of predictive controller
will be described.
III. DESIGN OF NETWORKED PREDICTIVE CONTROLLER
The proposed networked predictive controller contains the
ordinary controller, the process model, the adaptation of delay
loop and an appropriate filter. Process model and ordinary
controller have described in the previous section.
The adaptation algorithm is derived with assumption that
average communication delays from the sensor to the
controller and from the controller to the actuator are equal.
Both delays are variables and uniform distributed.
In adaptation loop, the communication delay in the
predictive controller is calculated based on N previous delays
in the network from the sensor to the controller:
N
d
N
i
sc
i
=
=
1
2
, (5)
where
sc
i
is communication delay from the sensor to the
controller in i-th step. Therefore, the average value of N
previous delays is calculated in this way.
For improving of robustness of the control system a first-
order filter is included in the feedback loop. The transfer
function of the filter is given by:
1
1
1
) (
=
z T
z G
f
f
, (6)
where T
f
is a time constant of the filter.
It is recommended to set T
f
as follows:
c
f
T
T = , (7)
where T
c
is a whole communication delay. The parameter
influences on the robustness of the control system. Smaller
values of provides better system robustness, while greater
value of it ensures faster compensation of disturbance
influence.
IV. SIMULATION RESULTS
Validations of proposed adaptive predictive controller in
comparison with direct and predictive controllers are
investigated on DC motor using Matlab/Simulink program. In
World Academy of Science, Engineering and Technology
Vol:2 2008-11-22
174
I
n
t
e
r
n
a
t
i
o
n
a
l
S
c
i
e
n
c
e
I
n
d
e
x
V
o
l
:
2
,
N
o
:
1
1
,
2
0
0
8
w
a
s
e
t
.
o
r
g
/
P
u
b
l
i
c
a
t
i
o
n
/
1
4
0
0
1
this section the influence of communication delays, sensor to
controller and controller and actuator, on control system
performance will be considered. In these simulations, we
assume that these delays are variables and take the same
values. The control performance of the closed-loop system for
three different communication delays is considered. Their
average values are equal to 3*T, 6*T and 9*T, respectively.
Two different input signals are applied to the system: step and
sequence of pulses. The parameters of adaptive predictive
controller are: K
r
=1.25, T
i
=0.5 s, T=0.03 s and T
f
=0.2 s.
Simulation results achieved by the step reference input are
shown in Figs. 5-8. In Fig. 5 the time responses of the direct
control system outputs (no prediction included) with and
without communication delays are presented. The average
delay is equal to 3*T. The time responses of the system with
predictive control, together with previous two are depicted in
Fig. 6. Simulation results with larger values of average
network communication delays: 6*T and 9*T are illustrated on
Figs. 7 and 8, respectively. The networked DC motor control
system with communication delay adaptation has superior
performance than without delay adaptation as indicated by the
lower overshoot.
0 1 2 3 4 5
0
0.2
0.4
0.6
0.8
1
1.2
Time [s]
V
o
l
t
a
g
e
[
V
]
without delay
with delay
Fig. 5 Step time responses of motor voltage with transportation delay
(average value is 3*T) and without delay under PI control
Fig. 6 Step time responses of motor voltage with PI control (with and
without time delay) and predictive control with time delay. Average
value of time delay is set to 3*T
0 1 2 3 4 5
0
0.2
0.4
0.6
0.8
1
1.2
1.4
Time [s]
V
o
l
t
a
g
e
[
V
]
without delay
with delay
with predictor
with adaptive predictor
Fig. 7 Step time responses of motor voltage with PI control,
predictive control and predictive control with adaptation time delay.
Average value of time delay is 6*T
0 1 2 3 4 5
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
Time [s]
V
o
l
t
a
g
e
[
s
]
Fig. 8 Step time responses of motor voltage with PI control,
predictive control and predictive control with adaptation time delay.
Average value of time delay is 9*T
The simulation results of direct, predictive and adaptive
predictive controls, with the pulse sequence as an input signal,
are shown in Figs. 9-11. From these figures it can be
concluded that control performance by direct and predictive
controls with growth of delay are violated. In these cases, the
adaptive predictive controller demonstrates a good robustness
behavior. Consequently, the networked predictive control
scheme with adaptation loop can actively compensate for the
certain value of a communication (network) delay.
0 10 20 30 40 50
-0.2
0
0.2
0.4
0.6
0.8
1
1.2
Time [s]
V
o
l
t
a
g
e
[
V
]
Fig. 9 Time responses of motor voltage on the pulse sequence: PI
control without delay (---) and with delay (), predictive control (
) and predictive control with adaptation delay (). Average value of
time delay is 3*T
0 1 2 3 4 5
0
0.
0.
0.
0.
1
1.
Time [s]
Voltage [V]
without delay
with delay
with delay and predictor
World Academy of Science, Engineering and Technology
Vol:2 2008-11-22
175
I
n
t
e
r
n
a
t
i
o
n
a
l
S
c
i
e
n
c
e
I
n
d
e
x
V
o
l
:
2
,
N
o
:
1
1
,
2
0
0
8
w
a
s
e
t
.
o
r
g
/
P
u
b
l
i
c
a
t
i
o
n
/
1
4
0
0
1
0 10 20 30 40 50
-0.5
0
0.5
1
1.5
Time [s]
V
o
l
t
a
g
e
[
V
]
Fig. 10 Time responses of motor voltage on the pulse sequence: PI
control without delay (---) and with delay (), predictive control (
) and predictive control with adaptation delay (). Average value of
time delay is 6*T
0 10 20 30 40 50
-0.5
0
0.5
1
1.5
Time [s]
V
o
l
t
a
g
e
[
V
]
Fig. 11 Time responses of motor voltage on the pulse sequence: PI
control without delay (---) and with delay (), predictive control (
) and predictive control with adaptation delay (). Average value of
time delay is 9*T
V. CONCLUSION
In this paper, the adaptive predictive controller is designed
to overcome the shortcomings of the influence of
communication delays among the nodes, such as controller,
sensor and actuator, in the network. The main component of
the proposed adaptive predictive controller is an adaptation
delay loop. This loop provides the satisfactory control
performance when the communication delay is greater then
sample time (even nine times). The simulation results obtained
show good performance of the proposed predictive controller
with an adaptation time delay loop.
REFERENCES
[1] V.J. VanDoren, The Smith Predictor: a Process Engineers Crystal
Ball, Control Engineering, May 1996.
[2] N.P. Mahalik, Fieldbus Technologies: Industrial Network Standards for
Real-Time Distributed Control. Berlin: Springer Verlag, 2005.
[3] R. Bannatyne, Microcontrollers for the automobile, Micro Control
Journal, 2003, http://www.mcjournal.com/articles/arc105/arc105.htm.
[4] S. Graham and P. R. Kumar, Time in general-purpose control systems:
The control time protocol and an experimental evaluation, in Proc. of
the 43rd IEEE Conference on Decision and Control, Dec 2004, pp.
40044009.
[5] Y. Tipsuwan, and M.Y. Chow, Control methodologies in networked
control systems, Control Engineering Practice, vol. 11, pp. 1099-1111,
2003.
[6] K. Shu, and J. Yan, "Robust Stability of Uncertain Time Delay Systems
and its Stabilization by Variable Structure Control," International
Journal of Control, vol. 57, no. 1, p237-246, 1993.
[7] G.P. Lui, and H. Wang, "Adaptive Controller for Continuous-Time
Systems with Unknown Varying Time Delay," 1991 Int. Conf. of Cont.
IEE Conf. Pub. v2, n332, p1084-1088.
[8] O.J.M. Smith, "A Controller to Overcome Dead Time" ISA Journal, No.
2,28, February 1959.
[9] Q. Brone, and S. Harris, "Varying Time Delay Estimation and Self-
Tuning Control," Proceedings form the 1991 American Controls
Conference, v2, p1740-1741.
[10] K. Passino and S. Yurkovich, Fuzzy Control, Addison- Wesley, 1998.
[11] Chan, H., & Ozguner, . U. (1995). Closed-loopcontrol of systems over a
communications network with queues. International Journal of Control,
62(3), 493510.
[12] Nilsson, J., 1998. Real-time control systems with delays. Ph.D.
dissertation, Lund Institute of Technology.
[13] G. C. Walsh, O. Beldiman, and L. Bushnell, Asymptotic behavior of
networked control systems, in Proc. of the 1999 IEEE international
conference on control applications, Kohala Coast, HI, vol. 2, 1999, pp.
14481453.
[14] S. H. Hong, and W. H. Kim, Bandwidth allocation scheme in CAN
protocol, IEE ProceedingsControl Theory and Applications, vol. 147,
no.1. pp. 3744, 2000.
[15] N. B. Almutairi, M.Y. Chow, and Y. Tipsuwan, Network-based
controlled DC motor with fuzzy compensation, in Proc. 27th annual
conference of the IEEE industrial electronics society (IECON 01),
Denver, CO, vol. 3, 2001, pp. 18441849.
[16] F. L. Lian, J. R. Moyne, and D. M. Tilbury, Performance evaluation of
control networks: Ethernet, Controlnet, and Device-Net, IEEE Control
Systems Magazine, vol. 21, no. 1, pp. 66-83, Feb. 2001.
World Academy of Science, Engineering and Technology
Vol:2 2008-11-22
176
I
n
t
e
r
n
a
t
i
o
n
a
l
S
c
i
e
n
c
e
I
n
d
e
x
V
o
l
:
2
,
N
o
:
1
1
,
2
0
0
8
w
a
s
e
t
.
o
r
g
/
P
u
b
l
i
c
a
t
i
o
n
/
1
4
0
0
1