Hindawi Publishing Corporation International Journal of Distributed Sensor Networks Volume 2013, Article ID 475730, 16 pages http://dx.doi.org/10.1155/2013/475730
Research Article Generalized Predictive Control in a Wireless Networked Control System Min-Fan Ricky Lee, Fu-Hsin Steven Chiu, Hsuan-Chiao Huang, and Christian Ivancsits Graduate Institute of Automation and Control, National Taiwan University of Science and Technology, Taipei 106, Taiwan Correspondence should be addressed to Min-Fan Ricky Lee;
[email protected] Received 28 June 2013; Accepted 11 September 2013 Academic Editor: Qin Xin Copyright Β© 2013 Min-Fan Ricky Lee et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The NCS (networked control system) is different from the conventional control systems which is the integration of the automation and control over communication network. When an NCS operates over the communication network, one of the major challenges is the network-induced delay in data transfer among the controllers, actuators, and sensors. This delay degrades system performance and causes system unstablility. This paper proposes a GPC (generalized predictive control) with the Kalman state estimator to compensate for the network-induced delay and packet loss. The GPC is implemented in WiNCS (Wireless NCS) based on IEEE 802.11 standard. An analytical NCS model and NS2 (network simulator version 2) are developed to simulate and evaluate the performance under the effect of various delays and packet loss rates. The result shows that the proposed GPC is adaptive and robust to the uncertainties in a time-delay system. The WiNCS is evaluated with latency and throughput measurements in various environments. The experiment setup conforming to the IEEE 802.11 standard achieves an average latency of 1.3 ms and a data throughput of 3.000 kB/s up to a distance of 70 m. The results demonstrate the feasibility of real-time closed-loop control with the proposed concept.
1. Introduction In recent years, there has been an increasing interest in implementing networked transmission protocols (e.g., wire/ wireless local area networks) in automation and control system. Cost effectiveness and flexibility are achieved using communication protocol in the feedback control. The NCS closes the feedback control loops through a real-time network. The control signals to the actuators and the feedback signals from sensors are in the form of information packages [1, 2]. Interconnecting the sensors, actuators, and controllers via networks can eliminate wiring, reduce installation costs, and enable remote monitoring and tuning. Additional components and modules can be added without additional circuitry to the existing layout. The controllers effectively share the data via the information technology allowing easy data fusion and integration to the controller for an intelligent decision or optimal operation in a large and complex process [3, 4]. The potential applications
of NCS include industrial automation, military, hazardous environment exploration, or robots application. Three methods on scheduling packets were proposed to improve NCS performance and stability as static scheduler, try-once-discard (TOD) scheduler with continuous priority level, and TOD with discrete priority level [5, 6]. A networked DC motor control system was proposed using controller gain adaptation to compensate the changes in QoS (quality-of-service) requirements over time-varying network [7]. Stabilization of NCS was investigated in the discrete-time domain with random delays [8]. Two Markov chains were applied to model the delay on controller-to-actuator delay and sensor-to-controller. Model-based NCS was proposed using an explicit model of the plant to produce an estimate of the plant state during transmission delay. The stability was evaluated for the controller/actuator which was updated with sensor information at nonconstant time intervals [9].
2
International Journal of Distributed Sensor Networks
An NCS model including network-induced delay and packet loss in transmission network was proposed. The feedback gain of a memory-less controller and the maximum allowable value of the network-induced delay were derived by solving a set of linear matrix inequalities [10]. Two predictors estimating the plant outputs in open-loop and closed-loop were proposed [11]. An error predictive model was built using a back propagation neural network to reduce the error on estimation of output. Three control methods were compared as PID, GPC, and GPC with error correction. GPC with error correction was validated to have the best performance [12]. A novel GPC strategy was proposed controlling NCS with respect to the NSC structure characteristics. The timestamp mechanism of data communication network was applied. Accurate measurement to the system output and timely modification to the predictive value were required under the random network-induced delay [13]. A client-server control architecture was implemented on the dual-axis hydraulic position system of an industrial fishprocessing machine. The GPC algorithm was adopted to compensate for data-transmission delays. It incorporates a minimum-effort estimator to estimate missing or delayed sensor data and a variable-horizon adaptive GPC controller to predict the required future control efforts to drive the plant to track a desired reference trajectory [14]. Time-varying delays for the transmission of sensor and control signal over the wireless network were evaluated using a randomized multihop routing protocol. The proposed predictive control scheme with a delay estimator was based on a Kalman filter [15]. This paper presents a model of the NCS with networkinduced delay and packets loss for a general SISO NCS model. The stochastic time delays reduce the system performance (e.g., stability, controllability, and observability). This paper applies GPC to predict the network-induced delay and simulate it through the wireless network environment setup by NS2 in Linux. The PiccSIM is used as the platform in the client/server architecture for the WiNCS. The MPC concept was adopted and the GPC control algorithm with the Kalman state estimator is implemented in WiNCS to reduce the effect on network-induced delay and packets loss. The contributions in the paper are summarized as follows. (i) The main factors affecting the performance of NCS in communication networks have been identified. (ii) The NCS with network-induced delay and packet loss is modeled. (iii) The GPC algorithm is implemented in WiNCS to cope with the time-varying delay issue. (iv) The simulated platform is constructed which connects NS2 and Matlab\Simulink for implementation of GPC in WiNCS.
2. Method The GPC is proposed to compensate the network-induced delay in WiNCS. The algorithm, closed-loop structure, and
CARIMA model structure are developed. The GPC in state space with state estimator is derived for WiNCS simulation. The state space is adopted to reduce the algebraic complexity in the GPC control law. 2.1. Formulation of GPC. The SISO (single-input singleoutput) system is given which considers the operation around a specific set point after linearization. A predictive model known as CARIMA (controlled autoregressive integrated moving average) for GPC is π΄ (π§β1 ) π¦ (π) = π΅ (π§β1 ) π’ (π β 1) +
πΆ (π§β1 ) Ξ
π (π) ,
(1)
with Ξ = 1 β π§β1 ,
(2)
where π¦(π) is output signal, π’(π) is input signal, π(π) is zero mean white noise, and π΄, π΅, and πΆ are π΄ (π§β1 ) = 1 + π1 π§β1 + π2 π§β2 + β
β
β
+ πππ π§βππ π΅ (π§β1 ) = π0 + π1 π§β1 + π2 π§β2 + β
β
β
+ πππ π§βππ
(3)
πΆ (π§β1 ) = 1 + π1 π§β1 + π2 π§β2 + β
β
β
+ πππ π§βππ , where πΆ(π§β1 ) is selected to be 1 for the simplicity. The cost function including the influence of π’(π) on future system is to enhance the system robustness. GPC algorithm applies a control sequence to minimize a multistage cost function as π2
2
J = β πΏ (π) [π¦Μ (π + π) β π€ (π + π)] π=π1 π»π
(4) 2
+ β π (π) [Ξπ’ (π + π β 1)] , π=1
Μ + π) is optimum π-step ahead prediction of system where π¦(π output, π1 and π2 are the minimum and maximum of the prediction horizons π»π and the order of π2 must be larger than π΅(π§β1 ), π»π is control horizon (π»π β€ π»π ), πΏ(π) and π(π) are weighting sequences, πΏ(π) is selected to be 1, and π(π) is a constant. π€(π + π) is the future reference trajectory as π€ (π + π) = πΌπ π¦ (π + π) + (1 β πΌπ ) π¦π
(π = 1, 2, 3 β
β
β
, π) , (5)
where π¦(π) and π¦π are the set point and the future output of the system, respectively. πΌ is a parameter between 0 and 1 that affects the response of the system (closer to 1, smoother response curve). The optimal prediction of the output π¦(π + π) is driven close to π€(π + π) to optimize the cost function. Diophantine equation for predicting the precede π-step output is given by Μ (π§β1 ) + π§βπ πΉπ (π§β1 ) , 1 = πΈπ (π§β1 ) π΄
(6)
International Journal of Distributed Sensor Networks
3
with
where Μ (π§β1 ) = Ξπ΄ (π§β1 ) = 1 + πΜ1 π§β1 + πΜ2 π§β2 π΄ + β
β
β
+ πΜππ+1 π§β(ππ+1) ,
(7)
where πΈπ (π§β1 ) = ππ,0 + ππ,1 π§β1 + ππ,2 π§β2 + β
β
β
+ ππ,πβ1 π§β(πβ1) πΉπ (π§β1 ) = ππ,0 + ππ,1 π§β1 + ππ,2 π§β2 + β
β
β
+ ππ,ππ π§βππ .
(8)
π¦Μ (π + 1) [ π¦Μ (π + 2) ] [ ] ] Μ [ Y= [ π¦Μ (π + 3) ] ; [ ] .. [ ] . [π¦Μ (π + π)] [ [ ΞU = [ [
(9)
(15)
f = πΉ (π§β1 ) π¦ (π) + π» (π§β1 ) Ξπ’ (π β 1) .
(16)
where
(11)
The set of the control signals π’(π), π’(π+1), . . . , π’(π+π) is obtained to optimize (4). The values π1 , π2 , and π»π are defined by π1 = 1 and π2 = π and the predictive horizon π»π = π and the control horizon π»π = π. π ahead optimal prediction is considered as π¦Μ (π + 1) = πΊ1 Ξπ’ (π) + πΉ1 (π§β1 ) π¦ (π)
Equation (4) is written in consideration (15) as J = (GΞU + f β W)π (GΞU + f β W) + πΞUπ ΞU, π€ (π + 1) [ π€ (π + 2) ] [ ] W=[ ]. .. [ ] . π€ + π) (π [ ]
(12)
(19)
In (19), the actually control signal that is sent to the system is the first element of ΞU as π’ (π) = π’ (π β 1) + πΎ (W β f) ,
.. .
(18)
The minimum of J, assuming there are no constraints on the control signal, is found by taking gradient of J. Let πJ/πΞU = 0 which leads to β1
π¦Μ (π + 2) = πΊ2 Ξπ’ (π + 1) + πΉ2 (π§ ) π¦ (π)
(17)
where
ΞU = (Gπ G + πI) Gπ (W β f) .
β1
(20)
where πΎ = [π1 π2 β
β
β
ππ] is the first row of the matrix
π¦Μ (π + π) = πΊπΞπ’ (π + π β 1) + πΉπ (π§β1 ) π¦ (π) .
β1
The above equations are marshaled as Μ Y=GΞU + πΉ (π§β1 ) π¦ (π) + π» (π§β1 ) Ξπ’ (π β 1) ,
] ] ]; ]
πΉ1 (π§β1 ) [ πΉ (π§β1 ) ] ] [ 2 ] πΉ (π§β1 ) = [ .. ] [ ] [ . β1 πΉ (π§ ) ] [ π
Μ = GΞU + f, Y
(10)
Noise term in the future on the system is neglected in (10). Letting πΊπ (π§β1 ) = πΈπ (π§β1 )π΅(π§β1 ), the best prediction of future output is
π¦Μ (π + 3) = πΊ3 Ξπ’ (π + 2) + πΉ3 (π§β1 ) π¦ (π)
0 0] ] .. ] ; .]
In (13), it includes known and unknown sequences at time π. The known sequence which is the last two terms is grouped into f as
Equation (9) is rewritten in consideration of (6) as
π¦Μ (π + π) = πΊπ (π§β1 ) Ξπ’ (π + π β 1) + πΉπ (π§β1 ) π¦ (π) .
β
β
β
β
β
β
.. .
(πΊ1 (π§β1 ) β π0 ) π§ [ ] (πΊ2 (π§β1 ) β π0 β π1 π§β1 ) π§2 [ ] ]. =[ .. [ ] [ ] . β1 β1 β(πβ1) π )π§ ] [(πΊπ (π§ ) β π0 β π1 π§ β β
β
β
ππβ1 π§ (14)
+ πΈπ (π§β1 ) π (π + π) .
Γ Ξπ’ (π + π β 1) + πΈπ (π§ ) π (π + π) .
0 π0 .. .
π» (π§β1 )
Μ (π§β1 ) πΈπ (π§β1 ) π¦ (π + π) = πΈπ (π§β1 ) π΅ (π§β1 ) Ξπ’ (π + π β 1) π΄
β1
π0 π1 .. .
[ππβ1 ππβ2 β
β
β
π0 ]
[π’ (π + π β 1)]
Equation (1) is multiplied by ΞπΈπ (π§β1 )π§π to obtain the predictive equation of π-step after time π as
π¦ (π + π) = πΉπ (π§β1 ) π¦ (π) + πΈπ (π§β1 ) π΅ (π§β1 )
π’ (π) π’ (π + 1) .. .
[ [ G= [ [
(13)
(Gπ G + πI) Gπ . The optimization in GPC is different from the general optimal algorithm; the optimized target is moving by time (i.e., local optimization in every sampling time). The first element of ΞU is applied and the optimal procedure is repeated at the next sampling time [16, 17].
4
International Journal of Distributed Sensor Networks
2.2. GPC Control Strategy. The following equations are rewritten to illustrate the GPC control block diagram.
where
(a) The reference trajectory in (5) is W = ππ¦ (π) + ππ¦π , where π
=
[πΌ πΌ2 β
β
β
πΌπ ]
(21) π
and π
π π
2
=
[1 β πΌ 1 β πΌ β
β
β
1 β πΌ ] . β1
β1
From (7) and (22), the CARIMA model is driven as π§β1 π΅ πΆ π’ (π) + π (π) , π΄ π΄β
Ξ
(23)
where the polynomial πΆ is selected to be 1. (c) The predictive output in (16) is f = πΉ (π§β1 ) π¦ (π) + π» (π§β1 ) Ξπ’ (π) ,
(24)
0 .. .
β
β
β
β
β
β
.. .
0 0] ] .. ] .] ]; 0] ] .. ] .] 0]
β
β
β
.. .
0 0 β
β
β
] [ ] [ ] [ ] [ ], Ξ =[ [ ππ βΜ ππ ] ] [ [ .. ] [ . ] πππ ] [πππ βΜ
β1
Ξπ΄ (π§ ) π¦ (π) = π§ π΅ (π§ ) Ξπ’ (π) + πΆ (π§ ) π (π) . (22)
π¦ (π) =
0 .. .
0 1 .. .
π1 π1 βΜ π2 βΜ π2 .. .
(b) The predictive model (CARIMA) in (1) is β1
1 0 .. .
βΜ π1 [ βΜ [ π2 [ .. [ . π΄=[ [ βΜ [ ππ [ .. [ . πππ+1 [βΜ
[ [ [ [ π΅=[ [ [ [ [
0 0 .. .
π0 .. .
] ] ] ] ]; ] ] ] ]
[πππβ1 ]
πΆ = [1 0 β
β
β
0 β
β
β
0 β
β
β
] ,
Μ The random where πΜπ are the coefficient of polynomial π΄. variables π and ] represent disturbance input and measurement (sensor) noise, and they are assumed to be white Gaussian zero mean with normal probability distributions. The noise and disturbance in (22) are neglected; the predictive model is rewritten as π₯ (π + 1) = π΄π₯ (π) + π΅π’ (π)
where H (π§β1 )
π¦ (π) = πΆπ₯ (π) .
(πΊ1 (π§β1 ) β π0 ) ] (πΊ2 (π§β1 ) β π0 β π1 π§β1 ) π§ ] ]. .. ] ] . β1 β1 β(πβ1) πβ1 )π§ ] [(πΊπ (π§ ) β π0 β π1 π§ β β
β
β
ππβ1 π§ (25)
[ [ =[ [ [
(d) The control-increment vector is Ξπ’ (π) = πΎ (W β f) .
(28)
(29)
From (27), the π§-domain transfer function π
(π§) is derived as π
(π§) = πΆ(π§I β π΄)β1 π΅ =
πΆ(I β (π΄/π§))β1 π΅ πΆ π΄ π΄2 π΄3 = (I + + 2 + 3 + β
β
β
) π΅ π§ π§ π§ π§ π§
=
πΆπ΅ πΆπ΄π΅ πΆπ΄2 π΅ πΆπ΄3 π΅ + + β
β
β
. + 2 + π§ π§ π§3 π§4
(26)
(30)
From (30), the current output is obtained as Figure 1 shows that the GPC control-loop structure consists of smoothing, tuning, and prediction processes. The thick line indicates the vector signal and the thin line indicates the scalar signal. At each moment, the desired output vector π is obtained after smoothing the set point π¦π . Compared with the predictive output and desired output, the declination vector is obtained. The control signal Ξπ’ at this moment is the product of declination vector and vector πΎ. The control signal Ξπ’ also generates the new predictive output f with the vector H and the system output. 2.3. GPC in State-Space Formulation. Consider a state-space description [18, 19] of the system plant which was given as follows. The dimension of the state vector is π = max (ππ + 1, ππ + 1, ππ ) : π₯ (π + 1) = π΄π₯ (π) + π΅π’ (π) + Ξ π (π) π¦ (π) = πΆπ₯ (π) + ] (π) ,
π¦ (π) = πΆπ΅Ξπ’ (π β 1) + πΆπ΄π΅Ξπ’ (π β 2) + πΆπ΄2 π΅Ξπ’ (π β 3) + β
β
β
.
Since the predictive horizon π»π = π, the future output is obtained as π¦ (π + 1) = πΆπ΅Ξπ’ (π) + πΆπ΄π΅Ξπ’ (π β 1) + πΆπ΄2 π΅Ξπ’ (π β 2) + β
β
β
π¦ (π + 2) = πΆπ΅Ξπ’ (π + 1) + πΆπ΄π΅Ξπ’ (π) + πΆπ΄2 π΅Ξπ’ (π β 1) + β
β
β
.. . π¦ (π + π) = πΆπ΅Ξπ’ (π + π β 1) + πΆπ΄π΅Ξπ’ (π + π β 2)
(27)
(31)
+ πΆπ΄2 π΅Ξπ’ (π + π β 3) + β
β
β
.
(32)
International Journal of Distributed Sensor Networks
5 e(k)
Tuning
Smoothing
Prediction
CARIMA C AΒ·Ξ
P 1βπΌ yr
1 β πΌ2 .. . 1 β πΌn
W + +
+
K [k1 k2 Β· Β· Β· kn ]
β
Ξu(k)
1 1 β zβ1
u(k)
zβ1 B A
+
+
y(k)
H(zβ1 )
G1 (zβ1 ) β g0 πΌ Q
f
(G2 (zβ1 ) β g0 β g1 zβ1 )z .. .
2
πΌ .. .
(GN (zβ1 ) β g0 β g1 zβ1 Β· Β· Β· gNβ1 zβ(Nβ1) )zNβ1
πΌn
+
F(zβ1 ) F1 (zβ1 )
F2 (zβ1 ) .. .
+
FN (zβ1 )
Figure 1: GPC control-loop structure. β
From the previous equations, the prediction state of the system is also obtained as
+ β πΆπ΄π+π [π₯ (π β π) β π΄π₯ (π β π β 1)] π=0
π
π₯ (π + 1) = π΄π₯ (π) + π΅Ξπ’ (π)
= βπΆπ΄πβ1 π΅Ξπ’ (π + π β π)
π₯ (π + 2) = π΄π₯ (π + 1) + π΅Ξπ’ (π + 1)
π=1 β
2
= π΄ π₯ (π) + π΄π΅Ξπ’ (π) + π΅Ξπ’ (π + 1)
+ β πΆπ΄π [π΄π π₯ (π β π) β π΄π+1 π₯ (π β π β 1)]
π₯ (π + 3) = π΄3 π₯ (π) + π΄2 π΅Ξπ’ (π) + π΄π΅Ξπ’ (π + 1) + π΅Ξπ’ (π + 2)
π=0 π
(33)
= βπΆπ΄πβ1 π΅Ξπ’ (π + π β π) + πΆπ΄π π₯ (π) .
.. .
π=1
(34)
πβ1
π₯ (π + π) = π΄π π₯ (π) + β π΄πβπβ1 π΅Ξπ’ (π + π) . π=1
A general term of π¦(π + π) with (π = 1, 2, 3, . . . , π) is obtained as β
π¦ (π + π) = βπΆπ΄
πβ1
π΅Ξπ’ (π + π β π)
π=1 π
= βπΆπ΄πβ1 π΅Ξπ’ (π + π β π) π=1 β
+ β πΆπ΄πβ1 π΅Ξπ’ (π + π β π) π=π+1 π
= βπΆπ΄πβ1 π΅Ξπ’ (π + π β π) π=1 β
+ β πΆπ΄π+π π΅Ξπ’ (π β π β 1) π=0 π
= βπΆπ΄πβ1 π΅Ξπ’ (π + π β π) π=1
Therefore, the predictive output is denoted as Μ = GΞU + f, Y
(35)
where π¦Μ (π + 1) [ π¦Μ (π + 2) ] [ ] ] Μ [ Y= [ π¦Μ (π + 3) ] ; [ ] .. [ ] . Μ π¦ + π) (π [ ] π’ (π) [ π’ (π + 1) ] [ ] ΞU = [ ]; .. [ ] . [π’ (π + π β 1)]
πΆπ΄ [ πΆπ΄2 ] ] [ f = [ .. ] π₯ (π) [ . ] π [πΆπ΄ ]
πΆπ΅ 0 0 [ πΆπ΄π΅ πΆπ΅ 0 [ G= [ .. .. .. [ . . . πβ1 πβ2 πβ3 [πΆπ΄ π΅ πΆπ΄ π΅ πΆπ΄ π΅
β
β
β
β
β
β
.. .
0 0 .. .
] ] ]. ] πβππ’ β
β
β
πΆπ΄ π΅]
(36)
6
International Journal of Distributed Sensor Networks
The cost function is fundamental for the determination of control action [20] and it is rewritten as
where π
is an upper triangular matrix and π is an orthogonal matrix as π
= π»ππ»πβ1 β
β
β
π»1 π΄,
π σ΅© σ΅©2 Jadp = βσ΅©σ΅©σ΅©σ΅©[π¦Μ (π + π) β π€ (π + π)] ππ¦ σ΅©σ΅©σ΅©σ΅©
π = π»1 π»2 β
β
β
π»πβ1
π=1
(37)
π»π
σ΅© σ΅©2 + βσ΅©σ΅©σ΅©[Ξπ’ (π + π β 1)] ππ’ σ΅©σ΅©σ΅© , π=1
where ππ¦ and ππ’ are the penalization matrixes. The cost function in (37) is further rewritten as
(46)
ππ π = [π»1 π»2 β
β
β
π»πβ1 ] [π»1 π»2 β
β
β
π»πβ1 ] = I, T
where π»π (i = 1, 2, . . . , π) is a Householder matrix. Considering (45), the solution of least squares in (43) is π
π΄ (π β π΄ΞU) = 0 σ³¨β π
π ππ (π β π΄ΞU) = 0
(47)
π
Μ βw π 0 π 0 Y Μ β w)π ΞUπ ] [ π¦ Jadp = [(Y ] [ π¦ ][ ]. 0 ππ’ 0 ππ’ ΞU (38)
as ππ π΄ = ππ ππ
= π
. The preceding Equation (47) is rewritten as π
π ππ (π β π΄ΞU) = 0
The cost function Jadp based on square-root minimization is separated into two square roots as Jadp = Jm β
Jm ,
σ³¨β π
π (ππ π β ππ π΄ΞU) = 0
(39)
(48)
σ³¨β π
π (ππ π β π
ΞU) = 0.
where Μ βw π 0 Y Jm = [ π¦ ][ ]. 0 ππ’ ΞU
Thus, the control signal is obtained as (40)
π
ππ π = π
ΞU σ³¨β ΞU=π
β1 π π
Μ the cost function After obtaining the predictive outputs Y, Jm in (40) is derived as
(41)
π G π (wβf) ]. = [ π¦ ] ΞU β [ π¦ 0 ππ’
(49)
2.4. State Estimator. Consider the system in state space which is presented in (27) as follows: π₯ (π + 1) = π΄π₯ (π) + π΅π’ (π) + Ξ π (π) π¦ (π) = πΆπ₯ (π) + ] (π) ,
To minimize the cost function in (41), the solution of the algebraic equation (the control action) is derived as π G π (wβf) [ π¦ ] ΞU β [ π¦ ] = 0. 0 ππ’
ππ¦ (wβf) ]. 0
Obtained vector ΞU represents the control signal for the whole predictive horizon N, and the actual control signal sent to plant is the first element in (49).
π 0 GΞU + f β w ][ Jm = [ π¦ ] ΞU 0 ππ’ (GΞU + f β w) ππ¦ ] =[ ΞUππ’
π
σ³¨β ΞU = π
β1 π [
(42)
(50)
where π and ] are sequences of white Gaussian noise with zero mean with known covariance as πΈ {π (π)} = πΈ {] (π)} = 0.
(51)
Equation (42) is further presented as follows: The joint covariance matrix is π΄ΞU = π,
(43) πΈ {[
where π G π΄ = [ π¦ ], ππ’
π=[
ππ¦ (wβf) ]. 0
(44)
For solving (42), the QR decomposition [21] method based on the Householder algorithm [22, 23] is used to decompose matrix π΄ as π΄ = ππ
,
(45)
π 0 π (π) ]. ] [πT (π) ]T (π)]} = [ 0 0 π
0 ] (π)
(52)
The initial state π₯0 of a Gaussian random vector with mean presents π as πΈ {π₯0 } = π₯Μ0 .
(53)
The covariance matrix is given by T
πΈ {(π₯0 βπ₯Μ0 ) (π₯0 βπ₯Μ0 ) } = Ξ£0 .
(54)
International Journal of Distributed Sensor Networks
7
The conditional probability density functions (pdf) represent the Gaussian pdf as
Μ + 1) = π¦(π + 1) β The measurement prediction error π¦(π Μ + 1) is rewritten by replacing the π¦ and π¦Μ as π¦(π
P (π₯ (π)) βΌ N (π₯Μ (π) , π (π)) ,
π¦Μ (π + 1) = πΆπ₯Μ (π + 1) + ] (π) .
(55)
(66)
Μ and the covariance matrix π(π) where the state estimate π₯(π) are presented as
Considering (66), the covariance matrix is obtained as
π₯Μ (π) = πΈ {π₯ (π)}
Multiply π₯(π + 1) on both sides of transpose in (66) as
π (π) = πΈ {(π₯ (π) β π₯Μ (π)) (π₯ (π) β π₯Μ (π))π } .
(56)
Considering (55), the filtering cycle states at the instant π + 1 are presented as P (π₯ (π + 1)) βΌ N (π₯Μ (π + 1) , π (π + 1)) ,
(57)
where
ππ¦Μ (π + 1) = πΆπ (π + 1) πΆπ + π
0 . π₯ (π + 1) π¦Μπ (π + 1) = π₯ (π + 1) πΆπ π₯Μπ (π + 1) + π₯ (π + 1) ]π (π) .
+ πΈ {π₯ (π + 1) , π¦Μπ (π + 1) ππ¦Μβ1 (π + 1) π¦Μ (π + 1)} . (69) (58)
Γ (π₯ (π + 1) β π₯Μ (π + 1))π } . The Gaussian pdf is characterized by the mean and covariance matrix. Considering (27) by applying the mean value operator which is presented as πΈ {π₯ (π + 1)} = π΄ β
πΈ {π₯ (π)} + π΅ β
πΈ {π’ (π)} + Ξ β
πΈ {π (π)} . (59) From (55) and (57), the π with zero mean is obtained as π₯Μ (π + 1) = π΄π₯Μ (π) + π΅π’ (π) .
β π΄π₯Μ (π) β π΅π’ (π) = π΄π₯Μ (π) + Ξ π (π) ,
In (69), the estimation of the state vector π₯Μ is obtained by the Kalman filter as π₯Μ (π) = π΄π₯Μ (π β 1) + π΅Ξπ’ (π β 1) + πΎπ (π) (71) Γ {π¦ (π) β πΆ [π΄π₯Μ (π β 1) + π΅Ξπ’ (π β 1)]} ,
πΎπ (π) = π (π β 1) πΆπ [πΆπ (π β 1) πΆπ + π
] ,
(62)
πΈ {(π₯Μ (π + 1)) (π₯Μ (π + 1))π } = π΄πΈ {π₯Μ (π)} π΄π + Ξ π0 Ξ π . (63) From (63), the notations in (56) and (58) result in (64)
The predictive estimated states of the system and the associated covariance matrix in (60) and (64) correspond to the optimal system state at the time instant π+1 before making observation at time instant π. The predicted measurement with a Gaussian pdf is given by π¦Μ (π + 1) = πΈ {π¦ (π + 1)} = πΆπ₯Μ (π + 1) .
(70)
π=1
(61)
Μ = π₯(π) β π₯(π). Μ where the filtering error is π₯(π) Equation (59) is rewritten as follows:
π (π + 1) = π΄π (π) π΄π + Ξ π0 Ξ π .
π
π¦ (π + π) = πΆπ΄π π₯Μ (π) + βπΆπ΄πβ1 π΅Ξπ’ (π + π β π) .
where πΎπ is Kalman filter gain matrix represented in (72) to adapt the estimation of model states to measure the outputs from controlled system. Consider
Μ + 1). which is replaced in expression of π₯(π + 1) and π₯(π Equation (61) is rewritten as π₯Μ (π + 1) = π΄π₯ (π) + π΅π’ (π) + Ξ π (π)
The optimal estimator to compute the state is based on a Kalman filter. The π-step ahead system output presented in (34) is
(60)
The prediction error is defined as π₯Μ (π + 1) = π₯ (π + 1) β π₯Μ (π + 1) ,
(68)
Consider πΈ{π₯(π + 1)π¦Μπ (π + 1)} = π(π + 1)πΆπ and evaluate the estimate state π₯Μ at time instant π + 1 as π₯Μ (π + 1) = πΈ {π₯ (π + 1)}
π₯Μ (π + 1) = πΈ {π₯ (π + 1)} π (π + 1) = πΈ { (π₯ (π + 1) β π₯Μ (π + 1))
(67)
(65)
β1
(72)
where the updated error covariance is π(π) = [πΌ β πΎπ (π)πΆ]π(π β 1). Figure 2 shows the block diagram of the state estimator using Kalman filter to provide the estimate state for GPC. The Kalman filter is linear, discrete time, and finite dimension. The filter gain is independent of the system outputs. The error covariance and the filter gain are calculated before the filter is executed.
3. Result 3.1. GPC Implementation in WiNCS. Figure 3 shows the setup for the proposed GPC controller with Kalman state estimator implemented; control and sensor signals are encapsulated into packets to transmit in a wireless network environment emulated by NS2 (see the Appendix) under the WiNCS client/server architecture (IEEE 802.11b protocol) provided by PiccSIM (see the Appendix). The simulation architecture is illustrated in Figure 4. The control system is in the server. The sensor, actuator, and plant are in the client under an emulated IEEE 802.11b wireless network.
8
International Journal of Distributed Sensor Networks
Control signal u
State x
B A
+
1 z + Unit delay +
C +
+ + System output y
Kg
Kalman filter gain
The throughput of the connection with the CoaX helicopter (IEEE 802.11 g), shown in Figure 12, is practically independent of the distance in this environment. In the measurements with the IEEE 802.11n connection (Figure 13), the throughput decreases with longer distance for bigger data packets.
Figure 2: State estimator with Kalman filter.
3.1.1. Controller Node. The controller node in server module includes GPC controller, Kalman state estimator, sender, and receiver as shown in Figure 5. The square wave (period: 15 seconds, peaks: 1, and duration: from 0 to 100 seconds) is applied as the controller input. 3.1.2. Actuator/Sensor Node. The actuator/sensor node in the client module includes actuator, plant, sensor, sender, and receiver as shown in Figure 6. A white noise is applied as the disturbance to sensor measurement. The discrete state-space plant model is given by π₯ (π + 1) = [
β0.0304 β0.0998 0.2116 ] π₯ (π) + [ ] π’ (π) 0.1058 0.3476 1.3834 π¦ (π) = [0 15.858] π₯ (π) . (73)
3.2. Latency and Throughput on Actual Wireless Network Environment. The performance of the networked data acquisition system for an actual small UAV (CoaX helicopter) is evaluated with the topology in Figure 7. The UAV sends images to a ground-based computer where the data is processed, and control packages are sent back to the UAV. Latency and throughput of the system are determined with the hrPing utility and the Interprocess Communication (IPC) library (see the Appendix). Experiments were performed in two different indoor environments. The first is a room with a square ground plane and the second is a long corridor as shown in Figures 8 and 9. The line of sight connection of the transmission is uninterrupted by massive structures like concrete walls at all times. The latency and throughput are tested for several distances between the CoaX helicopter and the stationary wireless router under two standards (IEEE 802.11 g and IEEE 802.11n). IEEE 802.11n provides longer range and higher throughput. The throughput of the wireless connection is determined for data packet sizes between 1 kB and 256 kB. The transfer rate for smaller packets is lower because the overhead of the transmission is dominant. 3.2.1. Laboratory Environment. The average latency of the IEEE 802.11 g connection (Figure 10) is constantly very low, and also the maximum values are stable over the whole distance range. Figure 11 shows the measurements for the connection conforming IEEE 802.11n. The mean latency is slightly higher, but the maximum latency does not significantly exceed the results of the previous measurements.
3.2.2. Corridor Environment. The measurements are taken in the long corridor at distances from 10 to 70 meters. The latency of the connection with the CoaX helicopter (IEEE 802.11 g) is illustrated in Figure 14. The results show that the average latency is very low at around 1.2 ms, which is close to the minimum value. The worst case of the latency in the measurements is 20 ms. The measurements of a connection with the recently introduced standard IEEE 802.11n are shown in Figure 15. The average latency for distances from 30 meters and higher is low at around 1.2 ms. In close distance, however, the mean latency rises to 6.5 ms and the maximum value of 100 ms is comparatively high. The results for the throughput of the connection with IEEE 802.11 g are depicted in Figure 16. The throughput decreases with rising distance up to 60 meters; however, the measurement for 70 meters gave a higher value. As expected, the connection with IEEE 802.11n achieved significantly higher transfer rates. The data in Figure 17 shows that the throughput decreases as the distance is increased. 3.3. System Response with Random Delay and Packets Loss. This experiment is to evaluate the capability of the proposed GPC with Kalman state estimator approach for compensating the random time delay in NCS. The random delay model is adopted to validate the GPC capability of compensating the delays. The system response is shown in Figure 18 with the random delay between 160 ms and 200 ms. The GPC parameters are listed in Table 1. The system response is stable but with the higher overshoot and the longer settling time. When the delay time closes to the sample time, the system response occurs with highly jitter. The packet loss phenomenon is emulated by a switch with various packet loss rates. Figure 19 shows the system response with random delay between 120 ms and 160 ms and packets loss rate 5%. The higher packet loss rate causes the higher jitter of the system response (unstable). 3.4. System Response with Network-Induced Delay in NS2. The network-induced delay is generated by NS2 to evaluate if the system can follow the reference trajectory. Figure 20 shows the system response. Figures 21, 22, and 23 show the controller-to-actuator delay, sensor-to-controller delay, and sensor disturbance measurement, respectively. The simulation information is listed in Table 2. All of the packets were successfully transmitted without dropped packets. The system response successfully follows the reference trajectory as shown in Figure 20. Figure 24 shows the system response with sample time 0.3 sec. Figures 25, 26, and 27 show the controller-to-actuator delay, sensor-to-controller delay, and sensor disturbance measurement, respectively. The simulation information is
International Journal of Distributed Sensor Networks
9 Client workstation
Router
Server workstation
Matlab (Windows) Server module
NS2 (Linux)
Controller Ethernet
Ethernet
Server module Controller LAN Controller Controller NCS
Controller node Wireless node Actuator sensor node
Server workstation (Linux)
Client workstation (Windows XP)
Wireless simulator
(a)
(b)
Figure 3: Experiment setup: (a) hardware and (b) software.
Actuator/sensor node (client module)
Controller node (server module) Control signal u
Reference trajectory
Receiver a
Sender c
GPC
Sensor measurement disturbance
IEEE 802.11b
State x
State estimator
Plant
Receiver c System output y
Sender a
Sensor
Figure 4: Structure of WiNCS. X y C Discrete state observer B u A Kalman filter A B GPC controller C State (X) W Signal generator
Timestamps Node Terminator Send to N 1 T 1 ID = 0 Data N 1 T 1
u
S-function GPC
[A]
Controller node
Control signal in
Figure 5: Simulation architecture of controller node. Timestamps Node Terminator Send to N 0 T 1 ID = 1 Input Data N 0 T 1 Actuator node
Signal generator 1 y(k)
y(t) Measurement [A] Sensor State-space plant model Scope 1 Control signal out Scope Output
Figure 6: Simulation architecture of actuator/sensor node.
10
International Journal of Distributed Sensor Networks Wireless LAN IEEE 802.11
CoaX helicopter Embedded system Server program
Wireless router
Desktop computer Client program
Distance
Figure 7: Topology of the wireless network for performance testing.
Figure 9: Long corridor for wireless network parameter measurements. Wireless latency results-IEEE 802.11g
102
Figure 8: Square-shaped room for wireless network parameter measurements.
Latency (ms)
101
100
Table 1: Controller parameters in GPC. Controller parameter Predictive horizon Control horizon Sample time Penalization matrixes
Value 6 sampling steps 3 sampling steps 0.2 second ππ¦ : 0.8, ππ’ : 0.01
Table 2: Simulation information of nodes with sample time 0.4 sec. Simulation specification Number of generated packets Number of sent packets Average packet size Number of sent bytes
Value 500 500 43.4973 32960
listed in Table 3. The system is stable but with higher overshoot and the longer settling time. Different sample times affect the system performance. When the system is with the short sample time, the sender must generate more data packets. It might raise the packets loss rate and shorten the predictive horizon which might cause system unstablility. Figure 28 shows the system response with sample time 0.2 sec. Figures 29, 30, and 31 show the controller-to-actuator delay, sensor-to-controller delay, and sensor disturbance measurement, respectively. The system response is highly jitter and with longer settling time. The simulation information is listed in Table 4. The system response already cannot follow the reference trajectory.
10β1
1
5
10
15
Distance (m)
Minimum Average Maximum
Figure 10: Latency measurements in roomβIEEE 802.11 g. Table 3: Simulation information of nodes with sample time 0.3 sec. Simulation information Number of generated packets Number of sent packets Average packet size Number of sent bytes
Value 668 668 43.7701 44048
Figure 32 shows the system response with sample time 0.1 sec. The shorter sample time cause system unstable in WiNCS due to it shorten the predictive horizon.
4. Discussion The WiNCS is implemented and evaluated with random delay, network-induced delay, and packets loss implementation by an analytical model and NS2. Result shows that the
International Journal of Distributed Sensor Networks
11
Wireless latency results-IEEE 802.11n
102
Wireless throughput results-IEEE 802.11n
5000
4500 4000 3500
Throughput (kB/s)
Latency (ms)
101
100
3000 2500 2000 1500 1000 500
10β1
1
5
10 Distance (m)
0
15
1
10
5
15
Distance (m)
Minimum Average Maximum
64 kB 256 kB
1 kB 4 kB 16 kB
Figure 11: Latency measurements in roomβIEEE 802.11n.
Figure 13: Throughput measurements in roomβIEEE 802.11n.
Wireless throughput results-IEEE 802.11g
2000
Wireless latency results-IEEE 802.11g
102
1800
1400 101
1200 Latency (ms)
Throughput (kB/s)
1600
1000 800 600
100
400 200 0
1
10
5
15
Distance (m) 1 kB 4 kB 16 kB
64 kB 256 kB
Figure 12: Throughput measurements in roomβIEEE 802.11 g.
10β1
0
10
20
30 40 Distance (m)
50
60
70
Minimum Average Maximum
Figure 14: Latency measurements in corridorβIEEE 802.11 g. Table 4: Simulation information of nodes with sample time 0.2 sec. Simulation information Number of generated packets Number of sent packets Number of dropped packets Average packet size Number of sent bytes Number of dropped bytes
Value 1002 1000 2 44.1737 65920 132
system response could follow the reference trajectory with the condition of the time delay under 160 ms and sample
time 0.2 s. The system response jittered when packet loss rate exceeded 10%. The WiNCS is also simulated by NS2 with AOVD protocol. Result shows the system response with sample time = 0.4 sec. and number of transmission data packets = 500 and sample time = 0.3 sec. number of transmission data packets = 668 can follow the reference trajectory. The system response with sample time = 0.2 sec, number of transmission data packets = 1002, and number of packets loss = 2 has high jitter. The different sample times have various
12
International Journal of Distributed Sensor Networks Wireless latency results-IEEE 802.11n
102
Wireless throughput results-IEEE 802.11n
5000
4500 4000 Throughput (kB/s)
Latency (ms)
101
100
3500 3000 2500 2000 1500 1000 500
10β1
0
10
20
30 40 Distance (m)
50
60
0
70
10
20
Minimum Average Maximum
30
60
70
64 kB 256 kB
1 kB 4 kB 16 kB
Figure 15: Latency measurements in corridorβIEEE 802.11n.
40 50 Distance (m)
Figure 17: Throughput measurements in corridorβIEEE 802.11n.
Wireless throughput results-IEEE 802.11g 2 1.5 1 0.5 0 β0.5 β1
1800
1600
Throughput (kB/s)
1400 1200 1000
0
10
20
30
40
50
60
70
80
90
100
Figure 18: System response with random delay between 160 ms and 200 ms.
800 600 400 10
20
1 kB 4 kB 16 kB
30
40 50 Distance (m)
60
70
64 kB 256 kB
Figure 16: Throughput measurements in corridorβIEEE 802.11 g.
numbers of transmission data packets. The larger the number of transmission data packets is, the easier the packets loss occurs. It is easier to evaluate the performance of GPC in WiNCS when it is simulated via a model because the condition of random delay and packets loss rate can be controlled. WiNCS implemented in NS2 is closer to actual wireless network; therefore, the distance between control node and actuator/sensor node affects the network-induced delay and packets loss. This causes GPC performance to be difficult to
2 1.5 1 0.5 0 β0.5 β1
0
10
20
30
40
50
60
70
80
90
100
Figure 19: System response with random delay between 120 ms and 160 ms and packets loss rate 5%. π₯-axis: time (sec.) and π¦-axis: magnitude.
2 1.5 1 0.5 0 β0.5
0
10
20
30
40
50
60
70
80
90
100
Figure 20: WiNCS response with sample time 0.4 sec. π₯-axis: time (sec.) and π¦-axis: magnitude.
International Journal of Distributed Sensor Networks
13 Γ10β3
Delay between node 0 and node 1 (s)
Delay between node 0 and node 1 (s)
Γ10β3 4.5
4 3.5 3 2.5 2 10
20
30
40
50
60
70
4
3.5 3 2.5 2
90
80
10
20
Packet send time at node 0 (s)
Figure 21: Controller-to-actuator delay with sample time 0.4 sec. π₯axis: time (sec.) and π¦-axis: magnitude.
40
50
60
70
80
90
Γ10β3 5 4.5 4 3.5 3 2.5 2
Figure 25: Controller-to-actuator delay with sample time 0.3 sec. π₯axis: time (sec.) and π¦-axis: magnitude.
Γ10β3
Delay between node 0 and node 1 (s)
Delay between node 0 and node 1 (s)
30
Packet send time at node 0 (s)
10
20
30
40
50
60
70
80
3.2 3 2.8 2.6 2.4 2.2 2 1.8 1.6
90
10
20
Packet send time at node 1 (s)
30
40
50
60
70
90
80
Packet send time at node 1 (s)
Figure 22: Sensor-to-controller delay with sample time 0.4 sec. π₯axis: time (sec.) and π¦-axis: magnitude.
Figure 26: Sensor-to-controller delay with sample time 0.3 sec. π₯axis: time (sec.) and π¦-axis: magnitude.
0.03
0.03
0.02
0.02
0.01
0.01
0 0
β0.01
β0.01
β0.02
β0.02
β0.03 β0.04
0
10
20
30
40
50
60
70
80
90
100
Figure 23: Sensor noise measurement with sample time 0.4 sec. π₯axis: time (sec.) and π¦-axis: magnitude.
2 1.5 1 0.5 0 β0.5 β1
0
10
20
30
40
50
60
70
80
90
100
Figure 24: WiNCS response with sample time 0.3 sec. π₯-axis: time (sec.) and π¦-axis: magnitude.
β0.03
0
10
20
30
40
50
60
70
80
90
100
Figure 27: Sensor noise measurement with sample time 0.3 sec. π₯axis: time (sec.) and π¦-axis: magnitude.
2 1.5 1 0.5 0 β0.5 β1
0
10
20
30
40
50
60
70
80
90
100
Figure 28: WiNCS response with sample time 0.2 sec. π₯-axis: time (sec.) and π¦-axis: magnitude.
Delay between node 0 and node 1 (s)
14
International Journal of Distributed Sensor Networks Γ10β3 4.5 4 3.5 3 2.5 2
0.03
0.02 0.01 0 10
20
30
40
50
60
70
80
90
Packet send time at node 0 (s)
Delay between node 0 and node 1 (s)
Figure 29: Controller-to-actuator delay with sample time 0.2 sec. π₯axis: time (sec.) and π¦-axis: magnitude.
β0.01 β0.02 β0.03
0
10
20
30
40
50
60
70
80
90
100
Figure 31: Sensor noise measurement with sample time 0.2 sec. π₯axis: time (sec.) and π¦-axis: magnitude.
Γ10β3 5 4.5 4 3.5 3 2.5 2
10
20
30
40
50
60
70
80
90
Packet send time at node 1 (s)
Figure 30: Sensor-to-controller delay with sample time 0.2 sec. π₯axis: time (sec.) and π¦-axis: magnitude.
analyse. The parameter in NS2 needs to be reestimated when being in the various wireless coverage environments. This also affects the simulation results when GPC is implemented in WiNCS. The wireless networked control system results suggest that the latency is not directly related to the distance between sender and receiver. The mean values of the measurements are adequate for a closed-loop control system; however, the maximum values might have to be considered depending on the application. One reason for latency is the property that different wireless networks share the same frequency channel. Therefore, the density of wireless networks and the rate of traffic in close vicinity to the measurement setup determine the latency of the connection. The throughput of the wireless connection according to standard IEEE 802.11 g is sufficient to transmit compressed images of size 320 Γ 240 at a rate of 30 frames per second up to a distance of 70 meters. The connection with the faster IEEE 802.11n standard allows transmitting the same images with smaller time delay or images with higher resolution at the same rate. The measurements suggest that the concept of the wireless networked control system is applicable to autonomous navigation of small UAVs. The latency in a controlled environment is very low and does not inhibit real-time closedloop control applications. The throughput of either standard IEEE 802.11 g or IEEE 802.11n is sufficient for transmitting compressed images of adequate resolution at a rate of 30 frames per second; however, the standard IEEE 802.11n is preferable for better performance.
Γ1014 10 8 6 4 2 0 β2 β4 β6 β8 10 0
20
30
40
50
60
70
80
90
100
Figure 32: WiNCS response with sample time 0.1 sec. π₯-axis: time (sec.) and π¦-axis: magnitude.
The ideal environment for the wireless networked control system approach would be a closed room with strong walls to shield against interference from other networks. The limitations of the proposed system are the high sensitivity to interference from other wireless sources and the necessity of a line of sight connection without massive obstacles like concrete walls.
5. Conclusion This paper proposed the GPC controller with Kalman state estimator in WiNCS based on PiccSIM platform. The packets are exchanged between the controller node and actuator/sensor node via wireless network IEEE 802.11b which is emulated by NS2. Although network-induced delay characteristics in the wireless communication network are difficult to model, this paper describes the main problems which might induce the time delay. This paper simplifies complex architectures in the wireless communication network for analysis proposed with WiNCS which is simulated in NS2 using the two-ray ground model. First, this study implements WiNCS with the random delay to verify GPC controller capability with the Kalman state estimator to cope with time delay. Then, WiNCS is implemented with NS2 to present the effect of different sample times in the predictive horizon; that is, system performance decreases when sample time decreases. When WiNCS is implemented
International Journal of Distributed Sensor Networks with the sample time of 0.2 seconds, the packets start to drop, affecting the system performance. We also propose the basic WiNCS simulation on a lowlevel control system. Realizing WiNCS requires not only improving the control algorithm to compensate for time delay, but also improving wireless communication performance. The time delay occurred when the packets are exchanged in the network. The algorithm for optimizing network performance communication is also important. This paper proposes the GPC algorithm for compensating time delay which focuses on improving control algorithm. In future, it is required to have further integration of the automation and control and network communication for realizing WiNCS. The concept for a wireless networked control system was evaluated with latency and throughput measurements in different environments. The experiment setup conforming to the IEEE 802.11n standard achieves an average latency of 1.3 ms and a data throughput of 3.000 kB/s up to a distance of 70 m. The results demonstrate the feasibility of real-time closed-loop navigation control with the proposed concept. The only significant limitations of the wireless networked control concept are the relatively short range of the wireless connections and the sensitivity to congest with other wireless devices. However, neither of them inhibits the effectiveness of the concept in the designated application to research in a controlled environment. Modeling the network-induced delay and packets loss is extremely difficult. Although the NS2 provides the simulated communication network environment, it still simplifies the network condition comparing with real network devices. In this paper, the GPC implemented in WiNCS was verifying that it is a feasibility study. In future work, a network estimator must be implemented and measure the network-induced delay and round trip time delay for tuning the controller parameters for increasing the performance of WiNCS. In addition, the soft computing technique (e.g., artificial neural network) can be applied to the predictive control algorithm to minimize the predictive error or tune the parameters of network estimator.
Appendix Software Packages (i) PiccSIM (Platform for Integrated Communications and Control Design, Simulation, Implementation, and Modeling). Helsinki University of Technologyβs PiccSIM is a simulation platform for WiNCS using Matlab/Simulink and NS2. It is a Matlab xPC-based target toolbox that is to transmit user datagram protocol (UDP) packet between Matlab/Simlink and NS2 (http://autsys.tkk.fi/en/Control/PiccSIM). (ii) NS2 (Network Simulator Version 2). NS2 is a discrete event driven network simulator developed by UC Berkeley. NS2 has rich library of networks and protocols such as TCP and UDP, traffic behavior such as file transfer protocol (FTP), Telnet, CBR (constant bit rate), and VBR (variable
15 bit rate), router queue management mechanism, and more (http://www.isi.edu/nsnam/ns/). (iii) CMU IPC (Interprocess Communication). The Carnegie Mellon Universityβs Interprocess Communication library provides flexible, efficient message passing between processes based on the TCP/IP protocol. It can transparently send and receive complex data structures, including lists and variable length arrays, using both anonymous βpublish/subscribeβ and βclient/serverβ message-passing paradigms. A wide variety of languages and operating systems are supported (http://www.cs.cmu.edu/βΌipc/). (iv) HrPing Utility. The hrPing utility provides throughput and round trip delay measurements for computer networks. In contrast to other tools, it achieves higher resolution by timing the round trip delay in microseconds (http://www.cfos.de/ping/ping e.htm).
References [1] W. Zhang, M. S. Branicky, and S. M. Phillips, βStability of networked control systems,β IEEE Control Systems Magazine, vol. 21, no. 1, pp. 84β99, 2001. [2] Y. Tipsuwan and M.-Y. Chow, βControl methodologies in networked control systems,β Control Engineering Practice, vol. 11, no. 10, pp. 1099β1111, 2003. [3] F.-Y. Wang and D. Liu, Networked Control Systems:Theory and Applications, Springer, London, UK, 2008. [4] W.-L. D. Leung, R. Vanijjirattikhan, Z. Li et al., βIntelligent space with time sensitive applications,β in Proceedings of the IEEE/ASME International Conference on Advanced Intelligent Mechatronics (AIM β05), pp. 1413β1418, July 2005. [5] G. C. Walsh, H. Ye, and L. G. Bushnell, βStability analysis of networked control systems,β IEEE Transactions on Control Systems Technology, vol. 10, no. 3, pp. 438β446, 2002. [6] G. C. Walsh, O. Beldiman, and L. Bushnell, βAsymptotic behavior of networked control systems,β in Proceedings of the IEEE International Conference on Control Applications (CCA β99), pp. 1448β1453, August 1999. [7] M.-Y. Chow and Y. Tipsuwan, βGain adaptation of networked DC motor controllers based on QOS variations,β IEEE Transactions on Industrial Electronics, vol. 50, no. 5, pp. 936β943, 2003. [8] L. Zhang, Y. Shi, T. Chen, and B. Huang, βA new method for stabilization of networked control systems with random delays,β IEEE Transactions on Automatic Control, vol. 50, no. 8, pp. 1177β 1181, 2005. [9] L. A. Montestruque and P. Antsaklis, βStability of model-based networked control systems with time-varying transmission times,β IEEE Transactions on Automatic Control, vol. 49, no. 9, pp. 1562β1572, 2004. [10] D. Yue, Q.-L. Han, and C. Peng, βState feedback controller design of networked control systems,β IEEE Transactions on Circuits and Systems II, vol. 51, no. 11, pp. 640β644, 2004. [11] O. Beldiman, G. C. Walsh, and L. Bushnell, βPredictors for networked control systems,β in Proceedings of the American Control Conference, vol. 4, pp. 2347β2351, June 2000. [12] W. Aiguo, W. Dongqing, and L. Jin, βApplication of generalized predictive control with neural network error correction in networked control system,β in Proceedings of the 5th World
16
[13]
[14]
[15]
[16]
[17] [18]
[19] [20]
[21]
[22] [23]
International Journal of Distributed Sensor Networks Congress on Intelligent Control and Automation (WCICA β04), vol. 2, pp. 1386β1390, 2004. M. Dejun, F. Lei, and D. Guanzhong, βResearch on generalized predictive control algorithm of networked control system,β in Proceedings of the 25th Chinese Control Conference (CCC β06), pp. 119β122, August 2006. P. L. Tang and C. W. de Silva, βCompensation for transmission delays in an ethernet-based control network using variablehorizon predictive control,β IEEE Transactions on Control Systems Technology, vol. 14, no. 4, pp. 707β718, 2006. E. Witrant, P. G. Park, M. Johansson, C. Fischione, and K. H. Johansson, βPredictive control over wireless multi-hop networks,β in Proceedings of the 16th IEEE International Conference on Control Applications (CCA β07), pp. 1037β1042, Singapore, October 2007. D. W. Clarke, C. Mohtadi, and P. S. Tuffs, βGeneralized predictive control. Part I. The basic algorithm,β Automatica, vol. 23, no. 2, pp. 137β148, 1987. C. B. E. F. Camacho, Model Predictive Control, Springer, Berlin, Germany, 2004. D. W. Clarke, C. Mohtadi, and P. S. Tuffs, βGeneralized predictive control. Part II. Extensions and interpretations,β Automatica, vol. 23, no. 2, pp. 149β160, 1987. D. Soloway, J. Shi, and A. Kelkar, GPC-Based Stable Reconfigurable Control, NASA Ames Research Center, 2004. K. Belda and J. Bohm, βRange-space predictive control for optimal robot motion,β International Journal of Circuits, Systems and Signal Processing, vol. 1, no. 1, 2007. W. H. Press, S. A. Teukolsky, W. T. Vetterling, and B. P. Flannery, Numerical Recipes: The Art of Scientific Computing, Cambridge University Press, Cambridge, UK, 3rd edition, 2007. G. H. Golub and C. F. V. Loan, Matrix Computations, Johns Hopkins University, Baltimore, Md, USA, 3rd edition, 1996. W. Y. Yang, W. Cao, T. S. Chung, and J. Morris, Applied Numerical Methods Using MATLAB, John Wiley & Sons, Hoboken, NJ, USA, 2005.
International Journal of
Rotating Machinery
Engineering Journal of
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
The Scientific World Journal Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
International Journal of
Distributed Sensor Networks
Journal of
Sensors Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Journal of
Control Science and Engineering
Advances in
Civil Engineering Hindawi Publishing Corporation http://www.hindawi.com
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Volume 2014
Submit your manuscripts at http://www.hindawi.com Journal of
Journal of
Electrical and Computer Engineering
Robotics Hindawi Publishing Corporation http://www.hindawi.com
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Volume 2014
VLSI Design Advances in OptoElectronics
International Journal of
Navigation and Observation Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Hindawi Publishing Corporation http://www.hindawi.com
Chemical Engineering Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Volume 2014
Active and Passive Electronic Components
Antennas and Propagation Hindawi Publishing Corporation http://www.hindawi.com
Aerospace Engineering
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Volume 2014
International Journal of
International Journal of
International Journal of
Modelling & Simulation in Engineering
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Shock and Vibration Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Advances in
Acoustics and Vibration Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014