Cross-Layer Adaptive Feedback Scheduling of Wireless Control Systems
There is a trend towards using wireless technologies in networked control systems. However, the adverse properties of the radio channels make it difficult to design and implement control systems in wireless environments. To attack the uncertainty in …
Authors: ** - Feng Xia (Zhejiang University, China; Queensl, University of Technology
Published : Sensors, 2008, 8(7), 4265-4281, DOI: 10.3390/s8074265. Open Access at http://www.mdpi.org/sensors/papers/s8074265.pdf Article Cross-Layer Adaptive Feedback Scheduling of Wireless Control Systems Feng Xia 1,4 , Longhua Ma 2,* , Chen Peng 3 , Youxian Sun 2 and Jinxiang Dong 1 1 College of Computer Science and Technology, Zhejiang University, Hangzhou 310027, China 2 State Key Lab of Industrial Control Technology, Zhejiang University, Hangzhou 310027, China 3 School of Electrical and Automation Engineering, Nanjing Normal University, Nanjing 210042, China 4 Faculty of Information Technology, Queensland University of Technology, Brisbane QLD 4001, Australia * Author to whom correspondence should be addressed; E-Mails: f.xia@ieee.org (F.X.); lhma@iipc.zju.edu.cn (L.M.) Abstract: There is a trend towards using wirele ss technologies in networked control systems. However, the adverse properties of the radio channels make it difficult to design and implement control system s in wireless e nvironments. To attack the uncertainty in available communication resources in wire less control system s closed over WLAN, a cross-layer adaptive feedback scheduling (CLAFS) scheme is developed, which takes advantage of the co-design of control and wireless comm unications. By exploiting cross- layer design, CLAFS adjusts the sampling periods of control systems at the application layer based on information about deadline miss ratio and transm ission rate from the physical layer. Within the framework of fee dback scheduling, the control perform ance is maximized through controlling the deadline m i ss ratio. Key design parameters of the feedback scheduler are adapted to dynamic changes in the channel condition. An event- driven invocation mechanism for the feedback scheduler is also developed. Simulation results show that the proposed approach is efficient in dealing with channel capacity variations and noise interference, thus pr oviding an enabling technology for control over WLAN. Keywords: wireless control systems, feedback scheduling, cross-layer, event-triggered 1. Introduction With recent advances in wireless technologies, wireless control systems (W CSs) are attracting increasing attention from both academia and industry [1-4]. In a W CS, spatially distributed nodes of sensors, controllers and/or actuators are interc onnected with wireless links. The use of wireless technologies in control applications has many advantages compared to wired networked control systems that are dominant at the m oment. For instan ce, wireless networks allow flexible installation and maintenance, mobile operation, and m onitori ng and control of equipments in hazardous and difficult-to-access environments. Another important f actor that instigates the deployment of wireless sensor/actuator networks is their relatively cheaper costs. However, wireless communications raise new cha llenges for control system analysis and design. Wireless channels have adverse properties, such as path loss, multi-path fading, adjacent channel interference, Doppler shifts, and half-duplex operati ons [1]. While traditional wired networks usually have fixed communication capacity, the link capacity of wireless channels m ay vary significantly over time [5-7]. Because the operations of wireless transceivers are half-duplex, wireless systems cannot support non-destructive medium access control (MAC) protocols. From the control point of view, communication networks introduce problem s related to delay, packet losses, and jitters. Compared with wirelines, wireless links make these problems m ore pronounced [8,9]. For instance, the bit error rate of a wireless channel is typically several times higher than that of a wi red connection [10]. These phenomena degrade the quality of control (QoC), or even cause system instability in extreme circumstances [5,11]. The area of WCSs is still in its infancy. The suitability of diverse wireless technologies for control applications has been studied through both simu lations [12-14] and experiments [7,10,15]. A num ber of proposals on modifying established comm unication mechanisms for wireless networks to achieve real-time guarantees have been presented, e.g. [ 16,17]. Som e other researchers, mostly from the control community, attem pt to design controllers r obust to the temporal non-determ inism of wireless networks, for example, [6,18]. In contrast to all these papers, the focus of th is work is on co-design of real-time control and wireless communications. Because of its interdisciplinary nature, this co-design is com plicated, with limited results reported in the literature. Liu and Goldsmith [19] introduced the m ethodology of cross- layer design into WCS design, and presented a fou r-layer framework. But adaptation of the sam pling periods of control loops is not considered. Th rough studying the impact of varying fading wireless channels on control performance, Mostofi and Murra y [5] suggested that the controller parameters should be dynamically adapted with respect to channe l conditions. An offline approach to optimize the stationary performance of a linear control system by jointly allocating communication resources and tuning parameters of the controller is presented in [20]. Different m ethods for adapting sampling periods at runtime have been developed in e .g. [10,11,21]. All these methods are based on algorithm s with fixed parameters. Consequently, the effects of varying channel conditions such as changes in network transmission rates are not attacked. In our recent work [3,4,9], we presented several design methods for control systems over wireless networks . An integrated fram ework that adjusts the maximum number of allowable data retransmission attem pts and tunes the controller parameters is given in [22]. Different approaches to dynamic bandwidth allocation through dynamically adjusting sampling periods are presented in [23,24] for wirelin e networked control systems. Additionally, almost all existing solutions for online sampling period adjustment are tim e triggered. Considering WCSs closed over IEEE 802.11b WL AN, th is paper develops a cross-layer adaptive feedback scheduling (CLAFS) scheme [25] that dyna mically adjusts the sam pling periods with respect to variable channel conditions. The primary objective is to provide QoC guarantees for WC Ss via flexible resource management in dynam ic environments that feature noise interference and variability of the network transmission rate. Based on cross-laye r design, this scheme takes advantage of sharing and exchanging of information across the physical layer and the application layer within the communication protocol stack of W LAN. The sampling periods of control loops are adapted online to control the deadline miss ratio (DMR). To cope with dynam ic variations of the link capacity, the feedback scheduler uses a simple proportional c ontrol algorithm with adaptive parameters. Since interference and node movement in wireless syst em s are stochastic and unpredictable in most situations, it is usually hard to select an appropriate invocation interval for a time-triggered feedback scheduler. To address this problem, an event-driven invocation m echanism for the feedback scheduler is suggested. This mechanism contributes not only to reduction of overheads (on average), but also to quick responses to changes in communication res ource availability, resulting in further im provement of practical performance of the feedback scheduler. This paper is organized as follows. Section 2 de scribes the architecture of the control system considered. The case used as an illustrative example throughout the paper is also given. In Section 3, the employed cross-layer design methodology is descri bed, followed by an analysis of the tem poral properties of the studied WCS in terms of DMR. Then the CLAFS scheme is presented along with relevant algorithms. Section 4 presents the even t-driven invocation m echanism for the feedback scheduler. In Section 5 the effectiveness of th e proposed approach is validated by simulations highlighting its advantages. Finally, Section 6 conc ludes with discussions on possible extensions over the proposed approach. 2. System Model Consider a WCS shown in Fig. 1, where, beside s an interfering loop, there are altogether N independent control loops. Each control loop consists of a smart sensor (S), a sm art actuator (A), a controller (C) and a physical process (P) to be c ontrolled. To facilitate time synchronization, assum e that the sensor and the actuator run on top of the same clock platform. The nodes com municate using the IEEE 802.11b protocol. The computa tion times of all control tasks on the controllers are assum ed to be negligible relative to communication dela ys. The total delay within a control loop is consequently equal to the sum of the comm unication delay of sampled data from the sensor to the controller and the communication delay of contro l command from the controller to the actuator, including both waiting delays and transmission delays. In the context of wireless control, there are basica lly two classes of deadline misses. The first class is that the sample data or the control comm and is tr uly lost during the course of transmission due to bit errors, noise interference, low received signal strengths , etc. In contrast, in the second class of deadline misses, the control comm and is actually received by the actuator, but the communication delay exceeds the deadline, which equals the sampling period. Figure 1. Architecture of a wireless control system. P S A C P S A P S A C C Interf. Interf. WLAN 2.1. Communication over WLAN IEEE 802.11b protocol [26] specifies two medium access coordination functions, the m andatory distributed coordination function (D CF) that is based on Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) and the optional point c oordination function (PCF). Unlike wired nodes, wireless nodes cannot detect collisions because they are half-duplex, i.e. they cannot send and receive signals at the same time. CSMA/CA delivers a best effort service, thereby providing no bandwidth and delay guarantees. In IEEE 802.11, each node senses the medium before st arting a transm ission. If the medium is idle for at least a DCF interframe space (DIFS), the pack et is transm itted immediately. If the m edium is sensed busy, the node waits for the end of the current transmission and then starts the contention, also called backoff process. The node selects a random backoff tim e. During the backoff process, the backoff timer is decremented in term s of slot time as long as the m edium is idle. When the m edium is busy, the timer is frozen. W hen its backoff timer expire s, if the network is still idle, the data packet is sent out. The node having the shortest contention de lay wins and transmits its packet. The other nodes just wait for the next contention. If another collis ion occurs, a new backoff time is chosen and the backoff procedure starts over again until some time lim it is exceeded. 2.2. Case Study There are three identical control loops in the WCS, i.e. N = 3. Each of the processes under control is an independent DC motor [27] modelled in continuous-tim e form: 2029.826 () ( 26.29) ( 2.296) = ++ Gs ss (1) The controllers use the PID (Proportional-Integral -Derivative) control law with a continuous-time form () I PID P D K Gs K K s s =++ . The controller parameters are: K P = 0.1701, K I = 0.378, and K D = 0. Digital controllers are designed by discretizing c ontinuous-time controllers. As sampling periods are changed, the controller parameters of digital controllers are updated accordingly. Due to node movement, the com munication distance between the controller and the process (where the sensor and the actuator are attached) may change during runtim e. According to the properties of wireless signal transmission, the received signal strengths drop with increasing com munication distances. When the signal-to-noise ratio of the received signals is below a certain level, IEEE 802.11b will make the trade-off between speed and com muni cation reliability by reducing the transmission rate, for example, from the usual m aximum value of 11 to 5.5, 2, or even 1 Mb/s [10]. This inherent feature of 802.11b gives rise to variability of channel capac ity, a crucial issue that should be taken into account when designing control systems closed over WLAN. Apart from the changes in channel capacity, another pr oblem that needs to be addressed is the effect of noise interference on QoC. In the subsequent s ections, a general solution for these problem s will be proposed and validated, while using this case as an illustrative example. 3. Cross-Layer Adaptive Feedback Scheduling To enable wireless control in dynamic envir onments, the feedback scheduling technology is adopted. It has been shown that feedback scheduling is quite promising in managing uncertainties in resource availability [28,29]. This motivates the use of this technology in dynamic m anagement of the variable communication resources in W LAN. To cope with the adverse properties of wireless communications, the cross-layer design m ethodol ogy, a technique that is gaining increasing importance in networking applications, is incorporated with feedback scheduling. 3.1. Cross-Layer Design Methodology The design of wireless networks is often based on a layered network protocol stack, and the design and operation of different network layers are separated. As shown in Fig. 2, IEEE 802.11b specifies two layers, i.e., the physical layer and the MAC sub- layer, among the seven-layer OSI reference model. At the physical layer 802.11b specifies four different levels of transmission rates, i.e., 1, 2, 5.5, and 11Mb/s. At the MAC layer 802.11b exploits CSMA/C A to solve resource contention among multiple nodes. In the context of wireless control, it is in tuitive that the control applications are at the application layer. Figure 2. Cross-layer design framework for wireless control systems. Application MAC Physical Sampling Perods CSMA/CA Transmission Rat e Deadline Miss Ratio Cross-Layer Design When the system operates under dynam ic environments, the timing properties of W LAN may vary with different physical layer parameters, which in fluence in turn the perf orm ance of the control systems at the application layer. To maxim ize Qo C, it is necessary to take advantage of dynamic interactions between the physical layer and the application layer. Cross-layer design should be exploited to achieve application adaptation [19,30]. In this paper, the sampling periods of control loops are chosen as the parameters of the application layer. The main reason behind this choice is that the sampling periods influence not only the QoC but also the workload on the network, which affects th e comm unication delay and the DMR. In a sense, the DMR can be regarded as an indicator for link qua lity associated with the physical layer. Since the transmission rate may change at runtim e, it naturally becomes another parameter at the physical layer. Consequently, the basic role of feedback scheduling that exploits cross-layer design is to adjust the sampling periods of control systems at the app lication layer based on information about DMR and transmission rate from the physical layer. In wireless networked systems, a straightforwar d design objective of feedback scheduling is to control the DMR at a desired level. Since WLAN does not support non-destructive comm unication protocols, it is impossible to analyse the system schedulability for WCSs. Therefore, the network utilization is not a suitable choice for the controlled variable for feedback scheduling. Without loss of generality, the DMR of all control loops is used as the controlled variable of the feedback scheduling system. Actually, because WLAN em ploys a MAC pr otocol featuring random medium access, the DMR of control loops also reflects the level of DMR of interfering signals. 3.2. Analysis of Deadline Misses over WLAN Before designing the feedback scheduling algorithm, the temporal behaviour of W LAN in terms of DMR needs to be studied. In the followi ng, the effects of the transmission rate r and the sampling period h on the DMR ρ are analysed through simulation experiments. Figure 3. Deadline miss ratio of the wireless control system . 6 8 10 12 14 16 18 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Sampling Period (ms) Deadline Miss Ratio r=11Mbps r=5.5Mbps Assume that there is no interferi ng signal in the system shown in Fig. 1, and the sizes of all data packets to be transmitted over the network are 1 KB. Fig. 3 depicts the DMR of the system with different transmission rates and different sampling periods. For each pair of transm ission rate and sampling period, the simulation is run 10 tim es, each fo r 3 seconds. Each value given in Fig. 3 is the arithmetical mean of the DMRs recorded separately in these 10 runs. Since the three control loops in the system are com pletely identical, every change in sampling period shown in Fig. 3 implies that the sampling periods of all three control loops are adjusted at the same time. W ith a given transmission rate, the DM R decreases as the sampling period increases, and the rate of the change also decrease gradually. When the sampling period is relatively sm all, the network traffic is heavy, resulting in frequent collisions among comm unication nodes. As a result, the communication delay of a data packet m ay become large, even go beyond the deadline, or the data packet may be dropped due to too m any retransmission attempts. In such situations, the DM R will be large. Enlarging the sam pling period can reduce the DMR. The reasons behind can be explained as follows. y Firstly, the increase of sampling period reduces the amount of network traffic and hence the probability of node collisions. Consequently, the comm unication delay of data packets decreases on average, and the possibility of data packets being dropped also decreases thanks to the reduction in the number of retransmission attem pts. y Secondly, as the sampling period increases, the d eadlines of data packets to be transmitted increase accordingly. Consequently, longer communi cation delays are allowed. Both of these effects result in reduced DMRs. Comparing the results for r = 5.5 Mbps and r = 11 Mbps, it can be seen that larger transm ission rate benefits the reduction of DMR, especially when th e comm unication resources are scarce. For instance, when h = 12 ms, the DMRs for r = 5.5 and 11 Mbps are ρ = 77.6% and 2.7%. 3.3. Adaptive Feedback Scheduling Algorithm From the above analysis, the basic idea of feedback scheduling of W CSs can be stated as follows: with the goal of maximizing QoC, dynam ically adju st the sampling periods of control loops to maintain the DMR at a desired level. From the c ontrol perspective, lower DMRs are always better. Therefore, large sampling periods should be used to avoid deadline misses. However, it is not easy to completely avoid dead line misses in a typical wireless environm ent. As also shown in Fig. 3, in order to reduce the DMR to a near-zero level, quite a large sampling period has to be assigned to each control loop. Unfortunatel y, according to sampled-data control theory, such a large increase in sampling period could degrade the QoC remarkably. In this context, the resulting QoC of the system may be adversely deteriorated, re gardless of the decrease in the DMR. Therefore, in WCSs it is favourable to maintain the DMR at an appropriate non-zero level [10,21]. Within the framework of feedback scheduling, we use a sim ple proportional control algorithm to adjust the sampling period: () () Δ =⋅ hj K ej (2) where K is the proportional coefficient, e ( j )= ρ ( j )- ρ r is the difference between actual DMR and its desired value, and j is the index of the invocation instant of the feedback scheduler. Taking into account the constraint on the maximum allowable sampling period h max of the control loops, the sampling period at j -th instant is then calculated by: max () m i n { ( 1 ) () , } =− + ⋅ hj hj Kej h (3) In the above algorithm, the proportional coefficient K and the DMR setpoint ρ r are two key design parameters. Related design considerations are described below. 3.3.1. Proportional Coefficient As shown in Fig. 3, when the DMR is at a high level (relative to the desired level), changes in the sampling period will affect the DMR significantly. The DMR could then be brought back to the desired level by only a small change in the sampling period. Accordingly, the value of K should be set relatively small. Otherwise, when the DMR is at a low level, the effect of the change in sam pling period on the DMR is less significant. To achieve the desired level of DMR more quickly, the value of K should be set larger. In this work, a simple yet illustrative algorithm given by (4) is used to adapt K . + 0r _+ 0r r _ 0r / 2 (k)> + - (k) + 2 (k)< - ρ ρρ ρ ρρ ρ ρ ρ ρρ ⎧ Δ ⎪ =Δ ≤ ≤ Δ ⎨ ⎪ Δ ⎩ K KK K (4) where K 0 can be obtained from simulation experim ents, + Δ ρ and _ Δ ρ are user-specified parameters. Generally K 0 inversely relates to the slope of the curve of DMR at the operation point, and consequently changes with the transmission rate r and the DMR setpoint ρ r . Besides the above equation, there are other advanced algorithms that could potentially be more efficient in adjusting K , for example, the gain scheduling method from adaptive control theory. However, these complex algorithms also add burdens to online com putations associated with the feedback scheduler, thus causing larger overheads. 3.3.2. Deadline Miss Ratio Setpoint For a given control system, the effects of sa m pling period and DMR on QoC are deterministic, while the DMR is related to the sampling period. Therefore, for a given system setup, there exists an optimal operating point, say ( h r , ρ r ), at which the system will in prin ciple achieve the best QoC. Ideally, the best feedback scheduling performance could be achieved by setting the desired level of DMR to this optimal point. In practice, the relationships between the QoC, the DMR, and the sam pling period are complicated, and therefore cannot be explicitly de scribed. Most often a DM R setpoint close to the optimal one could be chosen through simu lation and/or experim ental studies. Suppose the point A( h r1 , ρ r1 ) in the schematic diagram Fig. 4 is the setpoint for r = 5.5 Mbps, which is (very close to) the optimal operating point. Wh en th e transmission rate changes, e.g., from 5.5 to 11 Mbps, the operating point of the system will becom e B( h r2 , ρ r1 ) if a fixed DMR setpoint is used. Clearly, the sampling period at point B decreases re lative to A. Since trade-offs should be made between DMR and sampling period so as to achieve the best QoC, it is still possible to improve the QoC relative to the operating point B by properly in creasing the sampling period, which reduces the DMR. Therefore, if A is the optimal operating point for r = 5.5 Mbps, then the optimal sam pling period for r = 11 Mbps will be some value, say h r3 , that falls in the interval ( h r2 , h r1 ). This suggests that when the transmission rate increases, the QoC c ould be improved through decreasing the value of ρ r , for example, using ρ r2 as the new setpoint. Figure 4. Schematic diagram for adapting deadline m iss ratio setpoint. Deadline Miss Ratio Samplin g Perio d r=5.5Mbps r=11Mbps A B C hr1 hr2 hr3 ρ r1 ρ r2 0 Based on this observation, we propose to adapt the DMR setpoint to different transmission rates. The setpoints used in this paper are simply set to: 10% if r=5.5 5% if r=11 ρ ⎧ = ⎨ ⎩ r (5) Since only two cases, i.e. r = 5.5 and 11 Mbps, are considered in our simulation experiments, Equation (5) gives only the corresponding two values for ρ r . Since practical control systems are always designed capable of tolerating some level of DMRs , there is often a considerably large room for choosing the value of ρ r . Alternatively, compensation methods, e.g. [4], for packet losses can be adopted in control loops to alleviate the negative effect of deadline misses on QoC. Figure 5. Pseudo code for cross-layer adaptive feedback scheduling. Cross-Layer Adaptive Feedback Scheduling { //Determ ine h max , K 0 at pre-runtime Measure deadline mi ss ratio ρ ; Measure transmission r ate r; //Adapt parameters if ne cessary IF r chang es Update K 0 Update ρ r using (5) END Determine K us ing (4); //Compute new samp ling periods Calculate e ←ρ - ρ r ; Calculate Δ h using (2); Reassign sampling periods acc ording to (3); } Fig. 5 gives the pseudo code for the above-described feedback scheduling algorithm. It can be seen that this algorithm exhibits online adaptability in two aspects: 1) the adap tation of the proportional coefficient K to deal with the nonlinear relationship betw een the DMR and the sampling period; 2) the adaptation of the DMR setpoint to deal with the changes in the transmission rate. 4. Event-Triggered Invocation Feedback schedulers are usually time triggered. An obvious advantage of this mode is that it m akes it convenient to design and analyse the feedback schedulers using feedback control theory and techniques. In wireless environments where the environmental changes including noise interference and node movement are irregular and bursty, how ever, it could be very difficult to choose an appropriate invocation interval for time-triggered feedback schedulers. On one hand, the invocation interval cannot be set too small because accurate DMRs would be impossible to obtain. Therefore, the feedback sche duler with a large invocation interval will not be capable of coping with, in a timely fashion, inte rference and node movem ent that occur between two consecutive invocation instants. On the other hand, when a relatively small invocation interval is used, it is possible that the system stays in steady state for quite a long time, when there is actually no need for sampling period adjustm ent. In this situation, time-triggered feedback schedulers could potentially waste resources in periodic execution of feedback scheduling algorithms and unnecessary update of system parameters. To address this problem, an event-triggered invocation mechanism is proposed to improve the efficiency of feedback schedulers. Discussed below is how to implement this m echanism. 4.1. Design Methodology The schematic diagram of the event-triggered invoca tion mechanism is depicted in Fig. 6. W ith a structure similar to event-based controllers [31], there are basically two parts in this invocation mechanism [28], the event detector and the feedback scheduling algorithm. The event detector is time- triggered with a period of T ED , while the feedback scheduling algorithm is triggered by the execution- request event issued by the event detector. Figure 6. Schematic diagram of event-triggered invocation. Event Detector Time-Triggered Feedback Scheduling Algorithm Event-Tr iggered Execution Request The design of the event detector is a key issu e for implementing the event-triggered invocation mechanism. The m ajor role of the event detector is to decide under what conditions the system needs to execute the feedback scheduling algorithm. Intuitiv ely, when the DMR is in or close to a steady state, there is no need to execute the feedback scheduling algorithm. If the DMR deviates significantly from the desired level, it becom es mandatory to run the feedback scheduler to adjust system parameters. In this paper the following condition is used for issuing the execution-request event: |( ) | ρ ρδ − ≥ r k (6) According to (6), the feedback scheduling algorith m will be executed if and only if the absolute difference between the actual DMR and its desire d level is no less than a specific threshold δ . In this way, the disadvantages of the time-triggered invoca tion m echanism with respect to response speed and overhead are avoided. Furthermore, the negative effect of m easurement noise on the DMR may be alleviated naturally. There are two important parameters, T ED and δ . Generally speaking, choosing these parameters demands careful trade-offs between quick response and low overhead. Thanks to the small am ount of computations of (6), it is possible to assign quite a small period T ED to the event detector to achieve quick response while keeping the feedback sche duling overhead small. The magnitude of the measurement noise should be taken into account when deciding the value of δ . A δ value that is slightly bigger than the magnitude of measurem en t noise could be used to reduce the times of execution of the feedback scheduler, which results in smaller overheads. 5. Performance Evaluation To evaluate the performance of the proposed even t-triggered CLAFS scheme, this section conducts simulation studies for the case given in Section 2 using Matlab along with the TrueTime toolbox [12]. Consider the following two scenarios: y Scenario I: The controller and the process are close to each other, WLAN operates at 11 Mbps, there is no interfering signals, δ = 0.03, K 0 = 0.018; y Scenario II: Due to increased distance be tween the controller and the process, the transmission rate drops to 5.5 Mbps, the interfer ing transmitter sends a data packet of 1 KB to the corresponding receiver every 10 ms, δ = 0.06, K 0 = 0.008. It can be seen that different δ values have been used in these two scenarios. This is because: 1) the DMR setpoints for different transmi ssion rates are different, 2) this makes it convenient to com pare the event-triggered feedback scheduling and time-triggered feedback scheduling, see Subsection 5.2. Some parameters used in the sim ulations are as follows: the nominal sam pling period h 0 = 15 ms, h max = 50 ms, T ED = 500 ms, Δ ρ + = 0.1, and Δ ρ - = 0.08. It is worth mentioning that completely identical results cannot be guaranteed for each run of the simula tion even with the sam e system setup. This is a natural consequence of the inherent stochastic feature of comm unications over WLAN. All results given below are the only representative ones among ma ny obtained from a variety of simulation runs. 5.1. Feedback Scheduling vs. Traditional Design Method In the first set of simulations, the proposed CLAFS method and the traditional design m ethod without any feedback schedulers (denoted Non-FS) are compared. Since the three control loops are identical and WLAN adopts a random m edium acce ss control mechanism without distinguishing between them, all loops are equivalent in principle. Therefore, only the responses of one control loop are given below. Figure 7. Control performance without feedback scheduling. Figure 8. Control performance with CLAFS. 0 1 2 3 4 5 6 7 8 0 1 2 3 System Output Scenario I 0 1 2 3 4 5 6 7 8 0 1 2 3 System Output Scenario II Time (s) 0 1 2 3 4 5 6 7 8 0 1 2 3 System Output Scenario II Time (s) 0 1 2 3 4 5 6 7 8 0 1 2 3 System Output Scenario I Fig. 7 depicts the step responses of loop 1 under different scenarios when the traditional method is used. It can be seen that the sy stem perform s quite well when the transmission rate of WLAN is 11 Mbps. However, under the second scenario, i.e., when the transmission rate drops to 5.5 Mbps with interfering signals, the system finally becom es unstable. Fig. 8 shows the system performance when CLA FS is adopted. The system not only performs well under Scenario I, but also achieves good QoC under Scenario II. The sampling periods and the DMRs under differe nt schem es are shown in Figs. 9 and 10, respectively. With the traditional method, the sam pling periods of all control loops are fixed at runtime, i.e., h ≡ 15 ms. When W LAN runs at 11Mbps (i.e., under Scen ario I), the DMR is small with a m ean of 0.9%. Consequently, the QoC is good. Under Scenar io II, the DMR remains nearly 100% when time t > 2s, implying that almost all data packets tr ansmitted on the WLAN m iss their deadlines. This inevitably gives rise to system instability. Figure 9. Sampling periods. Figure 10. Deadline miss ratio. 0 1 2 3 4 5 6 7 8 0.008 0.012 0.016 Sampling Period (s) Scenario I 0 1 2 3 4 5 6 7 8 0.014 0.015 0.016 0.017 0.018 Sampling Period (s) Scenario II Time (s) Non−FS CLAFS 0 1 2 3 4 5 6 7 8 0 0.05 0.1 DMR Scenario I 0 1 2 3 4 5 6 7 8 0 0.5 1 DMR Scenario II Time (s) Non−FS CLAFS As can be seen from Figs. 9 and 10, the CLA FS scheme effectively controls the DMR through dynamically adjusting the sampling periods. Under S cenario I, the sam pling periods of the control loops decrease from time t = 0, and rem ain at a st eady level i.e. around 8 ms after time t = 5 s. The DMR also keeps at a low level, with a mean of 1.7% . Finally, it approaches its setpoint 5%. The levels of the DMR under both schemes are close, but the sampling periods are sm aller when CLAFS is used. Under Scenario II, CLAFS successfully avoids high DMRs by increasing the sampling periods gradually. After a transient process, the DMR keeps around the setpoint 10%. It can be seen that both the sampling periods and the DMR increase on average under Scenario II relative to Scenario I, which may have some negative effects on the QoC. Conseque ntly, the QoC is slightly worse in Scenario II than in Scenario I, as shown in Fig. 8. The above simulation results show that the proposed CLAFS scheme is able to effectively attack the problem of transm ission rate changes and ambient noise interference, thus improving the quality of control of the whole system. 5.2. Event-Triggered vs. Time-Triggered In the second set of simulations, the performan ce of event-triggered and time-triggered CLAFS methods is compared. To facilitate com parisons with the event-triggered scheme simu lated in the first set of experiments, the invocation interval for the time-triggered feedback scheduler is set as T FS = T ED = 500 ms. Fig. 11 depicts the step responses of loop 1 unde r both scenarios when the time-triggered CLAFS scheme is applied. The QoC is pretty good. Comparing Fig. 11 with Fig. 8, it can be seen that the tim e- triggered and event-triggered CLAFS achieve comparable QoC. Figure 11. Control performance with time- triggered feedback scheduling. Figure 12. Sampling periods and deadline miss ratio for tim e-triggered feedback scheduling. 0 1 2 3 4 5 6 7 8 0 1 2 3 System Output Scenario I 0 1 2 3 4 5 6 7 8 0 1 2 3 System Output Scenario II Time (s) 0 1 2 3 4 5 6 7 8 0.005 0.01 0.015 0.02 Sampling period (s) 0 1 2 3 4 5 6 7 8 0 0.1 0.2 0.3 0.4 DMR Time (s) Scenario I Scenario II The sampling periods and the DMRs for the system using tim e-triggered CLAFS are presented in Fig. 12. They vary in the same manner as under ev ent-triggered CLAFS. The main difference between them is that with event-triggered feedback sche duling the sam pling periods remain unchanged at some consecutive sampling instants (see Fig. 9), which imp lies that the feedback scheduler does not actually execute, whereas the sampling periods are updated at every sam pling instant when time-triggered feedback scheduling is used (see the upper part of Fig. 12). To this point only the QoC is examined, which is ideal in that the effect of feedback scheduling execution is not taken into account. That is, in the above simulation experiments the overhead of feedback scheduling is neglected. For the purpose of comparison, the times of execution of the feedback scheduler is used as a simple criterion for measuring the feedback scheduling overhead. Table 1. Comparison of event-triggered and time-triggered invocations. Scenario I Scenario II Time-Triggered Event-Triggered Time-Triggered Event-Triggered Σ IAE 1.131 1.127 1.295 1.293 Times of Execut ion 16 10 16 4 Table 1 compares the total control costs of the sy stem (calculated by the su m of the integral of absolute error of each control loop) and the times of execution of the feedback scheduler with different invocation mechanisms. For different invocation m ech anisms the overall QoC rem ains almost identical in both scenarios. In Scenario I, the tim es of execution of the feedb ack scheduler decreases 37.5% with event-triggered CLAFS as compared to the time-triggered case. In Scenario II it reduces from 16 to 4, with a relative reduction of 75.0%. The above results show that the proposed event- triggered invocation mechanism yields significant reduction in feedback scheduling overheads while providing comparable feedback scheduling performance, thus improving the efficiency of the CLAFS schem e. Furthermore, by simply selecting a smaller T ED value, the event-triggered invocation mechan ism can be used to achieve quicker response associated with the feedback scheduler, without introducing too large overheads. 6. Concluding Remarks This paper deals with dynamic managem ent of the communication resources in W CSs. A cross- layer adaptive feedback scheduling scheme, which feat ures co-design of real-time control and wireless communications, has been developed. W ith this sche me, the effects of noise interference and changes in link capacity on QoC can be addressed effectivel y, thus enabling wireless control in dynamic and uncertain environments. To avoid the difficulty of tim e-triggered invocation in making trade-offs between response speed and overhead in wireless environments, an event-triggered invocation mechanism has also been proposed, which im proves the practical performance of feedback scheduling. The proposed scheme could be extended in several aspects. One possibility is generalizing the cross-layer design framework. For example, in order to take into account the effect of different MAC protocols, the MAC sub-layer may be included in the framework. In cases where the energy consumption of the nodes is a concern, physical-layer parameters such as the transm it power may be made available for other upper layers. Another possibility is im proving the adaptive feedback scheduling algorithm. Given that th e behaviour of the wireless network with respect to deadline miss ratio could be modelled with sufficient accuracy, for instance, it is possible to obtain analytically an optimized adaptive feedback scheduling algorithm using relevant control theory and techniques. Our future work in this direction includes deve lopment of an experim ent system for WCSs over WLAN, which will be used to assess the performan ce of the proposed scheme with more extensive results. Another topic is to conduct theoretical st ability analysis of WCSs that em ploy the proposed feedback scheduling scheme. Acknowledgements The first author would like to thank Prof Yu-Chu Ti an at QUT, Australia, for valuable suggestions. This work is supported in part by China Postdoctoral Science Foundation under Grant No. 20070420232, Natural Science Foundation of China under Grant No. 60474064 and 60704024, Zhejiang Provincial Natural Science Foundation of China under Grant No. Y107476, Natural Science Foundation of Jiangsu under Grant No. BK2006573, and Australian Research Council (ARC) under Discovery Projects Grant No. DP0559111. References and Notes 1. W illig, A.; Matheus, K.; W olisz, A. W i reless technology in industrial networks. Pr oceedings of the IEEE 2005 , 93 (6), 1 130-1 151. 2. Mathiesen, M.; Thonet, G.; Aakwaag, N. Wireless ad-hoc networks for industrial autom ation: current trends and future prospects. In Proc. of the IFAC World Congress, Prague, Czech Republic, 2005. 3. Xia, F.; Zhao, W.H. Flexible Tim e-Triggered Sa mpling in Smart Sensor-Based W ireless Control Systems. Sensors 2007 , 7 (11), 2548-2564. 4. Xia, F.; Tian, Y.-C.; Li, Y.J.; Sun, Y.X. Wi reless Sensor/Actuator Network Design for Mobile Control Applications. Sensors 2007 , 7 (10), 2157-2173. 5. Mostofi, Y .; Murray , R. Ef fect of T ime-V arying Fading Channels on the Control Performance of a Mobile Sensor Node. In Proc. of IEEE 1st Int. Conf. on Sensor and Ad Hoc Communications and Networks (Secon), Santa Clara, CA, 2004. 6. Nikolakopoulos, G .; Panousopoulou, A.; Tzes, A.; L ygeros, J. Multi-Hopping Induced Gain Scheduling for W ireless Networked Controlled Systems. Asian Journal of Contr ol 2007 , 9 (4), 450-457. 7. Sandoval-Rodriguez, R.; Abdallah, C.T .; Jerez, H.N.; Byrne, R.H. Experim ental Results on the Ef fects of 802.1 1b WLAN on Networked Control System . In Proc. of the 13th Mediterranean Conf. on Control and Automation, Limassol, Cyprus, 2005; pp.1 1 13-11 18. 8. Xia, F. QoS Challenges and Opportunities in Wireless Sensor/Actuator Networks. Sensors 2008 , 8 (2), 1099-1110. 9. Xia, F.; Zhao, W.H.; Sun, Y.X.; Tian, Y.-C. Fuzzy Logic Control Based QoS Management in Wireless Sensor/Actuator Networks. Sensors 2007 , 7 (12), 3179-3191. 10. Ploplys, N.; Kawka, P .; Alleyne, A. Closed-Loop Control over W ireless Networks. IEEE Contr ol Systems Magazine 2004 , 24 (3), 58-71. 11. Colandairaj, J.; Irwin, G .W .; Scanlon, W .G . Wire less networked control system s with QoS-based sampling. IET Control Theory & Applications 2007 , 1 (1), 430-438. 12. Andersson, M.; Henriksson, D.; Cervin, A.; Arzen, K.-E. Simulation of W ireless Networked Control Systems. In Proc. 44th IEEE CDC and ECC, Seville, Spain, 2005; pp. 476-481. 13. Colandairaj, J.; Irwin, G.W.; Scanlon, W. G. Analysis of an IEEE 802.11b Wireless Networked Control System. In Proc. of the 16th IFAC World Congress, Prague, Czech Republic, 2005. 14. Hasan, M.S.; Yu, H.; Griffiths, A.; Yang, T.C. Simulation of Distributed W ireless Networked Control Systems over MANET using OPNET. In Proc. IEEE Int. Conf. on Networking, Sensing and Control, London, UK, 2007; pp. 699-704. 15. Tzes, A.; Nikolakopoulos, G .; Koutroulis, I. Deve lopment and Experimental V erification of a Mobile Client-Centric Ne tworked Controlled System. Eur opean Journal of Contr ol 2005 , 11 (3), 229-241. 16. Chan, T.M.; Man, K.F.; Tang, K.S.; Kwong, S. A Jumping-Genes Paradigm for Optimizing Factory WLAN Network. IEEE Trans. on Industrial Informatics 2007 , 3 (1), 33-43. 17. Y e, H.; W alsh, G .C.; Bushnell, L. Real-Tim e Mixed T raf fic W ireless Networks. IEEE T ransactions on Industrial Electr onics 2001 , 48 (5), 883-890. 18. Lozoya, C.; Martí, P.; Velasco, M.; Fuertes, J. M. Effective Real-Time Wireless Control of an Autonomous Guided Vehicle. In Proc. IEEE Int. Symposium on Industrial Electronics (ISIE07), Vigo, Spain, 2007. 19. Liu, X.; Goldsmith, A.J. Wireless Network Design for Distributed Control. In Proc. IEEE Conf. on Decision and Control, Atlantis, Paradise Island, Bahamas, 2004; pp.2823-2829. 20. Xiao, L.; Johansson, M.; Hindi, H.; Boyd, S.; Go ldsmith, A. Joint Optim ization of Communication Rates and Linear Systems. IEEE T rans. Automatic Contr ol 2003 , 48 (1), 148-153. 21. Kawka, P .A.; Alleyne, A.G . Stability and Feedback Control of W ireless Network Systems. In Proc. of the American Control Conference (ACC), Portland, OR, 2005. 22. Panousopoulou, A.; Nikolakopoulos, G .; Tzes, A. Experimental Controller T uning and QoS Optimization of a W ireless T ransmission Scheme fo r Real-T ime Remote Control Applications. In Proc. of the IEEE Int. Conf. on Industrial T echnology , 2004. 23. Li, Z.; Chow, M.-Y. Adaptive Multiple Sampling Rate Scheduling of Real-tim e Networked Supervisory Control System - Part II. In Proc. IEEE IECON’06, Paris, 2006; pp. 4610-4615. 24. Xia, F.; Sun, Y.X.; Tian, Y.-C. Feedback Sc heduling of Priority-Driven Control Networks. Computer Standards and Interfaces 2008 , in press, DOI:10.1016/j.csi.2008.03.020. 25. Xia, F. Feedback scheduling of real-time contro l system s with resource constraints, PhD Thesis, Zhejiang University, 2006. 26. The IEEE, International Standard ISO/IEC 8802-11, ANSI/IEEE Std 802.11, Part 11: Wireless LAN Medium Access Control (MAC) and Physi cal Layer (PHY) specifications, August 1999. 27. T ipsuwan, Y .; Chow , M.-Y . Control methodol ogies in networked control systems. Contr ol Engineering Practice 2003 , 11 (10), 1099- 1111 . 28. Xia, F.; Tian, G.S.; Sun, Y.X. Feedback Scheduling: An Event-Driven Paradigm. ACM SIGPLAN Notices 2007 , 42 (12), 7-14. 29. Arzen, K.-E.; Robertsson, A.; Henriksson, D.; Joha nsson, M.; Hjalmarsson, H.; Johansson, K.H. Conclusions of the ARTIST2 Roadmap on Control of Computing System s. ACM SIGBED Review 2006 , 3 (3), 11-20. 30. Lin, X.; Shrof f, N.B.; Srikant, R. A T utorial on Cross-Layer Optimization in W ireless Networks. IEEE Journal on Selected Ar eas in Communications 2006 , 24 (8), 1452-1463. 31. Arzen, K.-E. A simple event based PID controller . In Proc. 14th IF AC W orld Congress, Beijing, China, V ol. Q, 1999; pp. 423-428.
Original Paper
Loading high-quality paper...
Comments & Academic Discussion
Loading comments...
Leave a Comment