Stochastic Systems: Modeling, Optimization, and ApplicationsView this Special Issue
Research Article | Open Access
Hui-ying Chen, Zu-xin Li, Pei-liang Wang, "Dynamic Intelligent Feedback Scheduling in Networked Control Systems", Mathematical Problems in Engineering, vol. 2013, Article ID 584393, 9 pages, 2013. https://doi.org/10.1155/2013/584393
Dynamic Intelligent Feedback Scheduling in Networked Control Systems
For the networked control system with limited bandwidth and flexible workload, a dynamic intelligent feedback scheduling strategy is proposed. Firstly, a monitor is used to acquire the current available network bandwidth. Then, the new available bandwidth in the next interval is predicted by using LS_SVM approach. At the same time, the dynamic performance indices of all control loops are obtained with a two-dimensional fuzzy logic modulator. Finally, the predicted network bandwidth is dynamically allocated by the bandwidth manager and the priority allocator in terms of the loops' dynamic performance indices. Simulation results show that the sampling periods and priorities of control loops are adjusted timely according to the network workload condition and the dynamic performance of control loops, which make the system running in the optimal state all the time.
Although networked control systems (NCSs) have been widely used in numerous fields, the available network bandwidth resources of many control network applications are often limited due to economic or technical and other reasons . For instance, CAN-bus can only provide at most 1 Mb/s transmission rate ; even if there exist network technologies with higher rate at present, their costs are relatively high. In addition, when several subsystems share the same communication network in the NCS, the number of network nodes is often variable along with the change of network user demands; at the same time, the disturbances of network environment or transmission of some aperiodic signals and other factors will lead to the variations of network workload. Therefore, for one or several specific control loops in the NCS, the available network resources of the system are not constant but are time-varying and nondeterministic. These above two factors will make the system incur some issues such as network-induced latency, data dropouts, and jitter, which will affect the system’s performance and even lead to the instability of systems [3–8]. Thus, when the NCS with limited bandwidth is running in a workload flexible network environment, the overall control performance of the system not only depends on the design of control algorithm, but also depends on the scheduling and allocation of the available network bandwidth resources.
Until now, there are various scheduling methodologies for NCS with limited bandwidth resources [9–20]. The static scheduling strategies are traditionally employed as bandwidth scheduling techniques, as reported in [9–12] and the references therein. These bandwidth scheduling strategies allocated a fixed bandwidth to each control loop, allowing them to satisfy specified control performance requirements, and often work well in a given network environment. However, these static strategies may not be optimal allocation techniques for NCS with bandwidth constraints and cannot provide a desired control performance in an unpredictable open environment.
In recent years, researches on dynamic scheduling of NCS have received a great deal of attention and many results have been reported; see examples in [13–19]. In these dynamic scheduling strategies, the bandwidth resources are dynamically allocated by adjusting the sampling periods of control loops in runtime, so that the system can sufficiently utilize the sharing resources and effectively improve the overall control performance. In , Velasco adopted an augmenting state-space model and used an exponential function to dynamically allocate available bandwidth. In , considering single optimal objective of control performance subject to available bandwidth constraints, an optimal bandwidth allocation strategy based on linear programming technique was proposed. In , two intelligent and optimal scheduling strategies, based on fuzzy logic and neural network techniques, respectively, were employed for optimal bandwidth scheduling in multiloop NCS. Moreover, in , a network monitor was introduced to obtain the current network bandwidth and network-induced transfer error; subsequently, the sampling period of each control loop was dynamically regulated in terms of the estimated available network resources and network-induced error. However, these dynamic scheduling strategies work well only in a known workload.
However, real-world control applications sharing a communication network are usually suffering from the uncertainty of flexible network workload as mentioned above. To handle this issue, some feedback scheduling methodologies, such as neural network based feedback scheduling technique  and least squares support vector machines (LS_SVM) based feedback scheduling technique , have been presented to automate the management of flexible workload in NCS. In these methodologies, the network condition is predicted online by the feedback scheduler and then the control period is dynamically adjusted in response to estimated available network utilization. However, the above feedback scheduling strategies only discuss the dynamic bandwidth allocation of single control loop. To the best of our knowledge, few related results have been established for multiloop NCS with respect to bandwidth constraints and workload variations, which motivates the work of this paper.
In this paper, we present a novel dynamic feedback scheduling strategy for multiloop NCS with limited bandwidth and flexible workload existing in many control applications. In this work, the LS_SVM technique and fuzzy logic control technique are employed to construct a feedback scheduler that is able to handle the bandwidth constraints and workload variations intelligently.
This paper is organized as follows. The dynamic feedback scheduling architecture is given in Section 2. Section 3 states the involved algorithms in the feedback scheduler, including LS_SVM based available bandwidth prediction algorithm, fuzzy logic based system performance evaluation mechanism, bandwidth allocation algorithm, and priority assignment algorithm. Numerical simulations are given in Section 4 to evaluate the performance of the proposed method. Section 5 concludes this paper.
2. Dynamic Feedback Scheduling Architecture
2.1. System Architecture
The system considered in this work is shown in Figure 1. In this framework, there are N independent control loops that share a common communication network together with a dynamic feedback scheduler and other inference nodes. The workload within the network may vary in runtime, and hence the available network resources for this control application are time-varying and nondeterministic. In each control loop, the sensor node is time-driven and sends messages with a single packet according to the sampling period and the priority prespecified by the dynamic feedback scheduler, while the controller node and actuator node are event-driven. The dynamic feedback scheduler dynamically adjusts the sampling periods and priorities of control loops in accordance with the network condition and loops' dynamic control performance and works periodically in a time-triggered mode (Ts is the incentive interval). The interference nodes in the system can also represent additional network workloads.
2.2. The Structure of Dynamic Feedback Scheduler
The structure of dynamic feedback scheduler is shown in Figure 2, which mainly consists of five components: a network monitor, an available bandwidth predictor, a fuzzy logic controller, a bandwidth manager, and a priority allocator. The main function of each component is as follows.
Based on this feedback scheduling mechanism, the system can achieve a desired control performance by adjusting the sampling period and priority of each control loop under the circumstances of network workload variations. In the following sections, we will present the involved algorithms of main components in the feedback scheduler.
3. Algorithms Involved in the Feedback Scheduler
3.1. Available Bandwidth Prediction Principle Based on LS_SVM
At present, SVM prediction algorithm has been widely used in pattern recognition, time series forecasting, and nonlinear modeling and identification ; moreover, it has been applied to time-delay prediction in NCS . For the workload flexible network environment, the available network bandwidth can be seen as a time series with nonlinear characteristics, and we can use SVM technique for its online prediction.
3.1.1. SVM Prediction Model
In order to use SVM technique to conduct online prediction of the available bandwidth, first of all, the available bandwidth should be seen as a nonlinear time series and then should be reconstructed to establish a SVM-based prediction model.
Letting be the available network utilization monitored by the network monitor at the incentive moment , we combined it with the available network utilization of the past incentive moments to constitute a time series of the available network utilization , and is the length of the time series. According to Takens' reconstruction theory of state space , at the incentive moment , we can achieve the input and output training sample set of the SVM prediction model based on time series, respectively: where is the number of observational sample, is an embedding dimension, , , , and .
Within the incentive interval , the prediction model based on SVM can be expressed as where is a required reconstructive nonlinear function, which needs to regress based on history data before the incentive moment . According to the statistics theory, the fitting function of the available network utilization time series based on SVM can be defined as where () is the weighting coefficient of supporting vector, is the bias, and is the kernel function, and there are several available kernel functions. Here, we employ the commonly used radial basis function (RBF) as the kernel function: where is a hyperparameter of the kernel function and is a prespecified constant.
Thus, the available bandwidth prediction model based on SVM has been established. Next, we will use SVM to train the above constructed input and output training sample set and obtain the parameters and in the prediction model. Then, we can predict the available network utilization of the next incentive interval according to (3).
3.1.2. Online LS_SVM Prediction
Since the normal SVM requires solving the convex quadratic programming problem, it is not conducive to the online prediction due to large amounts of calculation. While the least square support vector machine (LS_SVM) converts the inequality constraints of the normal SVM into equality constraints and the empirical risk from the first power of the deviation to the second power, thus, the rate of convergence is greatly improved by solving linear functions instead of quadratic programming in SVM.
At the incentive moment , for a given training set , , , and , and according to structural risk minimization principle, the sample’s least squares support vector machine regression problem can be defined as an optimization problem: where is a weighting vector, is a regularization parameter, and is a nonlinear function which maps the input space to a higher dimensional feature space. In order to solve the optimization problem, define the Lagrange function as where is the multiplier of Lagrange. According to the Karush-Kuhn-Tucker (KKT) optimization condition, the following linear equation holds: where is a kernel function, which satisfies Mercer condition, and the radial basis function (RBF) shown in (4) is employed.
By solving the above linear equation, we can obtain the regression coefficients () and bias at the incentive moment . At the same time, letting , the prediction value of the available bandwidth in the incentive interval can be obtained:
3.2. System Performance Evaluation Based on Fuzzy Logic
Among the dynamic scheduling research results in NCS, the network bandwidth or the priority of the system is often dynamically allocated and regulated according to the control performance of control loops, and the poorer the loop’s performance is, the more bandwidth or the higher priority is allocated. To evaluate Quality of control (QoC) level of a control loop, we usually choose a performance index to measure, such as the instantaneous error and the integral absolute error (IAE) of control loop [18, 20].
Considering the case that the difference of error is big when the instantaneous error is through zero, for this case, if we directly select the instantaneous error as the control loop's performance index, it cannot reflect the real dynamic performance of system. Therefore, in order to better reflect the control loop’s dynamic performance, we design a novel performance evaluation mechanism based on the fuzzy logic control technique. The main role of the fuzzy logic modulator is to produce an output value for each control loop as the dynamic performance index to characterize its QoC level. In this paper, a two-dimensional fuzzy logic modulator is designed, which has two input variables, the error and the difference of error . These two inputs can reflect the degree of deviation from system’s equilibrium and the trend of system’s trajectory, respectively. The modulator is composed of four main components: a fuzzifier, a rule base, an inference mechanism, and a defuzzifier. Once activated at the incentive moment , for the control loop, the fuzzifier translates numeric input variables and into fuzzy sets characterizing linguistic variables and . The inference mechanism then applies a predetermined set of linguistic rules in the rule base with respect to these linguistic variables and produces the fuzzy sets of the output linguistic variable . In this work, the linguistic values for input variables of and are NB (negative big), NS (negative small), ZE (zero), PS (positive small), and PB (positive big). The linguistic values of output variable SP are VS (very small), S (small), SM (small medium), BM (big medium), B (big), and VB (very big). Figure 3 depicts the membership functions of input variables , and output variable . Finally, the defuzzifier converts the fuzzy conclusions reached by the inference mechanism to a numeric value .
Through analysis of the running conditions of system under different states and combining with the knowledge of relevant control theory, 25 fuzzy rules are built as shown in Table 1. The main idea of establishing the fuzzy logic rule is; when the error and the difference of error in the control loop are paralleling (both positive or both negative) and their absolute values are big, it means that the system's trajectory will keep away from equilibrium and also means that the loop’s performance is poor, so the dynamic performance index should be made big. When the error and the difference of error in the control loop are small, it means that the system's trajectory is close to equilibrium and also means that the loop’s performance is good, so the dynamic performance index should be made small. When the error and the difference of error in the control loop are reverse, it means the system's trajectory is nearing to equilibrium and also means that the loop’s performance develops in the right direction, so the loop's performance index can be made relatively small.
In the fuzzy inference mechanism, Max-Min (maximum-minimum) reasoning method is employed. The weighting average method is used in the defuzzification to calculate the numeric value , and is chosen to be . The closer its value is to 0.01, the better the loop’s performance is. Conversely, the closer its value is to 1, the worse the loop’s performance is. In addition, in this paper, the lower limit set to 0.01, but not zero, is mainly to avoid the denominator being zero in the following bandwidth allocation algorithm.
The loop's dynamic performance index obtained by the above algorithm, fully considering the error and the difference of error in the control loop, can better reflect the dynamic performance of control loop. In addition, in the design of fuzzy logic modulator, we can make a query table beforehand according to the above algorithm and adopt the lookup table method to reduce computational complexity in the fuzzy reasoning.
3.3. Bandwidth Allocation Algorithm
The bandwidth manager dynamically allocates the available bandwidth of each control loop based on the estimated value of the available network utilization and the dynamic performance indices of control loops to optimize the overall control performance of the system. The basic principle of allocation is, the poorer the dynamic performance of control loop is, the more available bandwidth is assigned. In other words, the better the dynamic performance of control loop is, the less available bandwidth is assigned.
Take the output value of the fuzzy logic modulator as an index to characterize the QoC level of control loop; that is, where is the fuzzy logic output value of control loop .
According to (9) and considering the different conditions of the evaluated value of available network utilization, the bandwidth allocation algorithm is designed as follows.
(1) When , where is the minimum available utilization of control loop and is the weighting coefficient.
(2) When ,
From (10), it can be seen that the allocation of bandwidth is on basis of guaranteeing the minimum available bandwidth for each control loop firstly and then distributes the rest of the bandwidth resources in proportion according to the value of . In this way, the control loop with poorer performance will get more available network bandwidth, while the control loop with better performance will be allocated less bandwidth resources. Such bandwidth allocation strategy can optimize the utilization of network resources and improve the overall control performance of the system.
From the definition of the network bandwidth, we can obtain the sampling period of each control loop within the incentive interval :
Furthermore, in order to reduce the sampling period jitter of each control loop, we can set a sampling period threshold , and the control period will be refreshed only when the sampling period meets .
3.4. Priority Assignment Algorithm
When the network resources are limited, especially when the network workload is overloaded, the data of control loop with lower priority cannot be updated for a long time, so that the control loop will be seriously affected by packet loss and long latency, which result in the control performance deterioration and even instability. Therefore, in order to optimize the overall control performance of the system, it is crucial to dynamically assign the priority of control loop. Reference [25, 26] employed the MEF method with the main idea of dynamically distributing the priority of control loop based on its error value; and that the larger the error is, the higher the loop's priority is. Similar to the bandwidth allocation algorithm, in this paper, the control loop performance index is selected for priority assignment, and the definition of and is the same as the above. Based on the dynamic performance index, the assignment principle of loop’s priority is, within each incentive interval, the priority of control loop i is set according to the value of , and the larger the is, the higher the loop's priority is. For the control loops with the same , they will maintain the priority level of the previous incentive interval.
4. Performance Evaluation
4.1. Simulation Setup
In this section, considering two servo control systems through a CAN-bus, the plant model is given as follows: The feedback controller is designed by pole placement approach without network, and we obtain . Assume that the initial sampling periods of the two control loops are ms and ms, respectively; the first control loop has a higher priority, and all the weighting coefficients of control loops are . The data rate of CAN-bus is 25 kbps, and the size of the sampled data is 10 bytes. In addition, the parameters of dynamic feedback scheduler are shown in Table 2.
In order to illustrate the superiority of the proposed method (dynamic feedback scheduling allocation, DFSA) under the network environment with limited bandwidth and flexible workload, we compare it with another scheduling strategy (error-based dynamic feedback allocation , EDFA, in which the network bandwidth and priority are dynamically allocated according to the errors of control loops), and the simulation is implemented based on Matlab/TrueTime.
When the feedback scheduler is activated periodically, the available network utilization can be measured by the network monitor. The measured value and its prediction value are shown in Figure 4(a), and the prediction error is shown in Figure 4(b). Due to workload variations, in the three intervals, the network bandwidth fluctuates around 0.57, 0.7, and 0.4, respectively. It can be easily seen from Figure 4(a) that the prediction algorithm based on LS_SVM always accurately forecasts the new network utilization of the next incentive interval. From Figure 4(b), we know that the prediction error is roughly within the range of ±0.05, but it increases at the volatile moment of network utilization.
(a) The measure and prediction of network utilization
(b) The prediction error
In this paper, IAE (integral absolute error) is chosen as the overall control performance index of control loop; the IAE curves and the response curves of the system are shown in Figures 5 and 6, respectively. It can be easily seen that under the network environment with limited bandwidth and flexible workload, the system has always remained stable through dynamically adjusting the sampling period and priority of each control loop, and the overall control performance of the system obtained by the proposed scheduling algorithm in this work is superior to EDFA.
(a) IAE performance of control loop 1
(b) IAE performance of control loop 2
(a) The response curve of control loop 1
(b) The response curve of control loop 2
Control applications are usually running in a communication network with bandwidth constraints and unpredictable open environment. In this paper, an intelligent dynamic feedback scheduling strategy is proposed for multiloop NCS with limited bandwidth and flexible workload. In order to handle uncertain and flexible workload in the control networks, we introduce an online LS_SVM approach to predict the available network bandwidth, which is then dynamically allocated by the bandwidth manager and the priority allocator in terms of the dynamic performance indices of control loops. Different from the existing bandwidth allocation and priority assignment strategies, we introduce a novel control performance evaluation mechanism based on fuzzy logic control technique. The simulation results demonstrate that the proposed strategy can improve the overall control performance to the maximum and allow control applications to have more flexibility in the uncertain running conditions.
The authors thank the reviewers for their very helpful comments and suggestions, which have improved the presentation of this paper. This study is supported by the National Natural Science Foundation of China under Grant no. 61174029, the Key Project of Chinese Ministry of Education under Grant no. 211067, and the Zhejiang Provincial Natural Science Foundation of China under Grant no. LY12F03008.
- P. Antsaklis and J. Baillieul, “Special issue on networked control systems,” IEEE Transactions on Automatic Control, vol. 49, no. 9, pp. 1421–1423, 2004.
- Bosch, “CAN specification (version 2.0),” 1991.
- R. A. Gupta and M.-Y. Chow, “Networked control system: overview and research trends,” IEEE Transactions on Industrial Electronics, vol. 57, no. 7, pp. 2527–2535, 2010.
- Z. W. Wang and H. T. Sun, “Control and scheduling co-design of networked control system: overview and directions,” in Proceedings of the International Conference on Machine Learning and Cybernetics, pp. 816–824, Xian, China, 2012.
- L. X. Zhang, H. J. Gao, and O. Kaynak, “Network-induced constraints in networked control systems—a survey,” IEEE Transactions on Industrial Informatics, vol. 9, no. 1, pp. 403–416, 2013.
- Z. G. Wu, P. Shi, H. Su, and J. Chu, “Exponential synchronization of neural networks with discrete and distributed delays under time-varying sampling,” IEEE Transactions on Neural Networks and Learning Systems, vol. 23, no. 9, pp. 1368–1376, 2012.
- Z. G. Wu, P. Shi, H. Su, and J. Chu, “Stochastic synchronization of Markovian jump neural networks with time-varying delay using sampled-data,” IEEE Transactions on Cybernetics, pp. 1–11, 2013.
- F. Xia, S. B. Li, and Y. X. Sun, “A Neural network based feedback scheduler for networked control system with flexible workload,” Lecture Notes in Computer Science, vol. 3611, pp. 242–251, 2005.
- S. H. Hong, “Bandwidth allocation scheme for cyclic-service fieldbus networks,” IEEE/ASME Transactions on Mechatronics, vol. 6, no. 2, pp. 197–204, 2001.
- H. S. Park, Y. H. Kim, D.-S. Kim, and W. H. Kwon, “A scheduling method for network-based control systems,” IEEE Transactions on Control Systems Technology, vol. 10, no. 3, pp. 318–330, 2002.
- M. S. Branicky, S. M. Phillips, and W. Zhang, “Scheduling and feedback co-design for networked control systems,” in Proceedings of the 41st IEEE Conference on Decision and Control, pp. 1211–1217, Las Vegas, Nev, USA, December 2002.
- J. Q. He and H. C. Zhang, “The study on scheduling optimization in a network control system based on genetic algorithms,” Industrial Instrumentation & Automation, vol. 36, no. 4, pp. 37–39, 2004.
- M. Velasco, J. M. Fuertes, C. Lin, P. Martí, and S. Brandt, “A control approach to bandwidth management in networked control systems,” in Proceedings of the 30th Annual Conference of the IEEE Industrial Electronics Society, pp. 2343–2348, Busan, Korea, November 2004.
- M. Velasco, P. Martí, and M. Frigola, “Bandwidth management for distributed control of highly articulated robots,” in Proceedings of the IEEE International Conference on Robotics and Automation, pp. 265–270, Barcelona, Spain, April 2005.
- Z. Li, W. Wang, and Y. Jiang, “Intelligent scheduling and optimisation for resource-constrained networks,” IET Control Theory and Applications, vol. 5, no. 12, pp. 2982–2992, 2010.
- Y. Wang, H. Cai, Q.-W. Chen, and W.-L. Hu, “Feedback scheduler design of networked control systems,” Acta Electronica Sinica, vol. 35, no. 2, pp. 379–384, 2007.
- F. Xia, Y. X. Sun, and Y. C. Tian, “Fuzzy feedback scheduling of resource-constrained embedded control systems,” International Journal of Innovative Computing, Information and Control, vol. 5, no. 2, pp. 311–321, 2009.
- C. Peng, D. Yue, Z. Gu, and F. Xia, “Sampling period scheduling of networked control systems with multiple-control loops,” Mathematics and Computers in Simulation, vol. 79, no. 5, pp. 1502–1511, 2009.
- Z. D. Tian, X. W. Gao, M. H. Shi, and K. Li, “Fuzzy feedback scheduler of resource constrained networked control system,” Electronic Machine and Control, vol. 17, no. 1, pp. 94–101, 2013.
- F. Xia, Feedback Scheduling of Real-Time Control Systems with Resource Constraints, Zhejiang University, Hangzhou, China, 2006.
- Z.-X. Li, W.-L. Wang, and W.-J. Hu, “Least squares support vector machines based predictive feedback scheduling for resource-constrained networks,” Control and Decision, vol. 25, no. 3, pp. 361–366, 2010.
- Z.-J. Lu, J.-G. Yang, Q. Xiang, and X.-L. Wang, “Research on support vector machines based predictive model for yarn quality,” Control and Decision, vol. 22, no. 6, pp. 693–696, 2007.
- C.-M. Li, J. Xiao, and Y. Zhang, “Approach of adaptive prediction control on networked control systems based on least-squares support vector machines,” Journal of System Simulation, vol. 19, no. 15, pp. 3494–3502, 2007.
- F. Takens, “Detecting strange attractors in fluid turbulence,” in Dynamical Systems and Turbulence, pp. 366–381, Springer, Belin, Germany, 1981.
- J. Yépez, P. Martí, and J. M. Fuertes, “Control loop scheduling paradigm in distributed control systems,” in Proceedings of the 29th Annual Conference of the IEEE Industrial Electronics Society, pp. 1441–1446, Roanoke, Va, USA, November 2003.
- F. Xia, Z. Wang, and Y. Sun, “Simulation based performance analysis of networked control systems with resource constraints,” in Proceedings of the 30th Annual Conference of the IEEE Industry Electronics Society, pp. 2946–2951, Busan, Korea, November 2004.
Copyright © 2013 Hui-ying Chen 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.