Research Article | Open Access

# Control and Optimization of Network in Networked Control System

**Academic Editor:**Ge Guo

#### Abstract

In order to avoid quality of performance (QoP) degradation resulting from quality of service (QoS), the solution to network congestion from the point of control theory, which marks departure of our results from the existing methods, is proposed in this paper. The congestion and bandwidth are regarded as state and control variables, respectively; then, the linear time-invariant (LTI) model between congestion state and bandwidth of network is established. Consequently, linear quadratic method is used to eliminate the network congestion by allocating bandwidth dynamically. At last, numerical simulation results are given to illustrate the effectiveness of this modeling approach.

#### 1. Introduction

In the past decade, the unprecedented interactions and penetrations between developments in computer, communication, and control have accelerated the progress of the networked control. Feedback control systems wherein the control loops are closed through a real-time network are called networked control system (NCS). Motivations for using the networked framework in control systems come from lower cost, ease of maintenance, great flexibility, and sharing of information resources, which make networked control systems (NCS) more and more popular. The nature characteristic of NCS is that information, such as reference input, plant output, and control signals, is exchanged among the control systems by communication network and multisubsystems sharing the information to accomplish their respective control tasks. These above features make NCS the preferred architecture in modern large-scale complex system. Examples comprise spatially distributed resource allocation networks, supervisory control of continuous plants, intelligent vehicle highway systems, power generation and distribution networks, mobile sensor networks, remote surgery, and many others. Consequently, some considerable attentions have been devoted to the study of NCS; see for example, the survey papers [1–4], the recent special issues [5, 6], and the references therein.

The NCS architecture involves control system and communication network. Generally speaking, when “control” meets “network” in NCS, there are two implications: one is* control over network *which refers to the closed-loop feedback control which is carried out by employing the communication network as the medium of data transmission; the other is* control of network *which is concerned with providing reliable communication channels and/or networks to make them suitable for real-time NCS. The former mainly focuses on the issues of control system analysis, synthesis, and design with a view to the influence of the inherent characteristics of the communication network. The objectives are to minimize the effects of communication constraints, such as network-induced delays, data rate limitations, quantization effects, and medium access constraints, and to guarantee the quality of performance (QoP) of the control system. The latter aims at the very fact of the limited network resources and the purposes are to achieve the effective management and rational allocation of these resources so that the quality of service (QoS) provided by the communication network can be ensured. The topics span wide horizons and contain almost all aspects of communication network, such as bandwidth allocation, data rate control, congestion control, and routing selection. Although are different from each other in themes and contents, there are overlaps between* control over network* and* control of network*. In fact, the performance of control system and communication network in NCS restricts and influences each other dramatically and they have reached a common view that the overall performance of NCS is associated with not only control algorithms but also with network resources allocation. Namely, a successful NCS design should consider QoP and QoS simultaneously. Hence, the thought of control and communication codesign is put forward in [7].

The basic idea of codesign is that the network characteristics should be taken into account in NCS design rather than focusing on the control system only. Related works in this field are mainly focused on the control algorithms design [8–14]. These thoughts of controller design are to improve QoP by combining network characteristics, that is, time delay and packets dropout. Bandwidth allocation strategies [15–19] and sampling period adjustment methods [20, 21] are proposed to realize the optimization for network resource. Related works about network resource management mainly only focus on single or several network characteristics while the whole running state of network is neglected [22–24]. In fact, the stability of network is the prerequisite to realize the expected control performance. To avoid the control performance degradation caused by network congestion, it is necessary to monitor the running state of the communication network and implement the real-time control.

In NCS, sampling period plays an important role between control system and communication network. In a word, a larger sampling period means lower data transmission rate and lesser bandwidth occupation, which can help to reduce the network-induced time delay and information conflict in a communication network. However, it will lead to the sacrifice of control performance and the reduction of the network utilization, which affects the overall performance of NCS. On the contrary, a smaller sampling period makes the best use of the network utilization and will improve the control performance consequently but aggravates the network congestion and may result in delays and packet dropouts, which will also affect NCS performance. Inspired by the above-mentioned facts, the problems of network congestion and bandwidth allocation associated with sampling period are considered in this paper. Firstly, the linear time-invariant (LTI) model of network is established by defining the congestion and then bandwidth occupation as the state and control variables. Further, the network congestion control is carried out by allocating bandwidth dynamically. The objective of this paper is to realize the control and scheduling codesign of NCS by guaranteeing that the running state of network and bandwidth occupation are employed to control and optimize network from the point of view of control theory.

The rest of this paper is organized as follows. In Section 2, the basic problems are formulated and LTI model between network congestion and bandwidth is established. On this basis, the control strategy of network congestion is presented with linear quadratic regulator (LQR) method in Section 3. In the following, the numerical simulation results are shown and conclusions are obtained in Sections 4 and 5, respectively.

#### 2. System Description and Problem Statement

##### 2.1. System Setup

The NCS considered here consists of a MIMO plant, a remote controller, and an integrated scheduler, as shown in Figure 1. The inputs of the plant are sampled with sensors and then transmitted to the controller through communication network. The outputs of the controller are transmitted to the plant through network and then the closed-loop control is carried out by actuators. Meanwhile, the controller outputs are also sent to the scheduler as a basis for bandwidth allocation of communication network and sampling period decision of control system. The network congestion state which defined as () is collected by scheduler. Then, the scheduler allocates the bandwidth () for each channel based on congestion state of network. In a word, the scheduler mechanism takes QoS and QoP into account at the same time which can realize control and scheduling codesign of NCS. In this sense, the NCS can be divided into control subsystem and network subsystem.

For control subsystem, the main problem is how to design an appropriate controller to achieve the desired performances under communication constraints. In our NCS setup, the scheduler provides the basis for bandwidth allocation and sampling period selection. This leads to the control problems of NCS with variable sampling period, which have been discussed in depth in the existing works [20, 21].

For network subsystem, bandwidth is used to measure information transmitting capability and the running state of network can be represented by the level of network congestion. The bigger bandwidth means more data can be transmitted in unit time and little network congestion occurred. The smaller bandwidth means a little data can be transmitted in unit time and serious network congestion occurred. Moreover, the data transmitting in network can be divided into real-time and non-real-time data, as shown in Figure 2. Generally, the data satisfying control requirement can be deemed as real-time data while others are non-real-time data. They all occupy a certain bandwidth. The deadline demand needs to be satisfied because the control system becomes unsteady when oversized time delay emerges. So the bandwidth of real-time data can be defined as guaranteed cost bandwidth and of non-real-time data can be defined as available bandwidth. The bandwidth of non-real-time data can be released to guarantee cost bandwidth when control system becomes instable and real-time data are needed. The above-mentioned bandwidth mechanism in NCS provides the possibility for bandwidth adjustment, which is expected to achieve the congestion control.

Denote as the global bandwidth of communication network which contains guaranteed cost bandwidth and available bandwidth as shown in Figure 2 and the similar method of bandwidth division can be found in [25]. The main purpose of this paper is to control and optimize network congestion by adjusting the bandwidth dynamically.

##### 2.2. Preliminaries

To present the main results of this paper, the following definition and assumptions are needed.

*Definition 1. *The maximum amount of data transmitted through network for a given bandwidth of each channel when there is no congestion occurring is defined as* primary data. *The data lead to network congestion is defined as* extra data*. The corresponding bandwidth for primary data and extra data is defined as* primary bandwidth* and* available bandwidth*.

*Remark 2. *A certain quantity of data can be transmitted through network for a given bandwidth. But there is more data that should be transmitted compared to the original data when control system is perturbed which needs to be stabilized. In this case, the bandwidth capacity is inadequate to transmit more data and network data becomes congested. The very more data is defined as extra data in this paper. In short, the quantity of data is limited to a certain range if there is no network congestion occurring based on the* primary bandwidth*. However, different closed loops need different primary bandwidth. When more extra data needs to be transmitted, the network congestion occurrs.

*Assumption 3. *If there is no network congestion, the designed controller is effective and the state of network can be regarded as zero (steady) state. In addition, the controller has no influence on network behavior.

*Assumption 4. *The linear relationship between bandwidth and state of network is supposed and the LTI model of communication network can be represented by
where represents the network congestion state and represents control signal which denotes bandwidth occupation of each loop. Matrixes , are of compatible dimensions.

The proposed method in this paper tries to maximize control performance and minimize bandwidth consumption. The scheduler adjusts the sampling period of each control loop according to the state-variables feedback from network. Therefore, the relation between bandwidth and sampling period for each control loop is given by where is assignable partial bandwidth, is the sampling period to the th channel, and denotes the time spent on messaging required to perform each closed-loop operation [13]. Any change on will directly imply a change on (and vice versa). So, either and will be used to denote bandwidth (or sampling period).

Furthermore, network congestion level can be measured by extra data which will transmit in a certain time. Generally the certain time is known as sampling period which implies data rate and multirate sampling in NCS. The more extra data is transmitted through the primary bandwidth, the more serious network congestion emerges. So the network congestion can be measured by the following equation: where represents the extra data which is transmitted through network.

#### 3. Solution to Control and Optimization of Network

Under the aforementioned assumptions, it is obvious that the control of network congestion is a classical linear quadratic problem. For the sake of engineering application, infinite horizon optimal control is more suitable for real-time control.

##### 3.1. Optimization Problem Description

The real-time data is the prerequisite of realizing the control function. Therefore, the data flow needs great attention. For a MIMO network, how to allocate the bandwidth for each channel to adapt the change of data flow is a pivotal issue so as to avoid network congestion. Considering (2) and (3) in view of data flow, it can be further illustrated by where the definitions of , , and are the same as the above description.

At first, the different* primary bandwidth *is needed according to the characteristics of each closed loop. In order to take into account the bandwidth according to data flow of different closed loops in the course of controller design, the* primary bandwidth *matrix is given as follows:

Consequently, the feedback control law which contains the bandwidth adjustment is designed:
where is* bandwidth gain* according to diagonal matrix .

*Remark 5. *For the control law (6), is very important as a link between bandwidth allocation and network congestion; indicates the actual change of bandwidth. Contemporarily, the bigger in the context of given primary sampling period implies more serious network congestion. So the can represent the network congestion state.

In addition, the following condition also needs to be satisfied: where is the total bandwidth of network.

At last, the main purpose of this network optimization strategy is to eliminate network congestion through bandwidth allocation based on the designed controller (6), such that the following quadratic cost function is minimized: where , are quadratic weighted matrices of state and input vectors, respectively.

*Remark 6. *Because the integration upper bound , it is possible for performance function to be unbounded. In order to ensure that is bounded, the controllability demands on system (2) are put forward. In other word, pair is controllable.

##### 3.2. Optimal Solution and Stability Analysis

Lemma 7. *If the given pair is controllable and pair is observable, there is a unique optimal control which can be written as
**The optimal performance index is
**
where is the initial amount of extra data of network.*

In what follows, the gain is obtained through linear quadratic method and it can be used to adjust bandwidth according to the diagonal matrix which represents the primary bandwidth of each communication channel. However, positive definite symmetric matrix is the solution of the following Riccati equation:

In order to realize control and scheduling codesign of NCS, the running state of network should be stable as the same as a common controlled object.

Proposition 8. *Suppose that the pair is controllable and the pair is observable, where . Then, for the infinite horizon case the optimal control policy is a steady-sate policy and is given by control law (6). Namely, if for network subsystem, the optimum closed-loop system (12) is stable:
*

*Proof. *The change of data flow can reflect the change of network congestion state. Construct a Lyapunov function based on congestion state:

For simplicity, the control of data flow is still represented by network congestion based on constant matrix . Taking a derivate of time for (13):

Because of , if , the optimum closed-loop network system is stable. According to (12) and (13), (14) can be written as

Because of , is satisfied. Obviously, if and only if (the equilibrium state of network), .

In the meantime, suppose that network congest state and combine the fact that , ; then

Substituting (6) in (17),

Because of , we obtain . System (4) has only zero input response and it can be represented as

Substituting (19) in (16),
where .

From (19), it is clear that

However, (18) conflicts with the observability of pair .

So, the stability of network subsystem (5) with optimal bandwidth allocation is proved.

#### 4. Numerical and Simulation Results

In order to verify the effectiveness of this network congestion control strategy in NCS, the numerical example and simulation results are illustrated under MATLAB environment.

Considering a third-order NCS, for simplicity, let , , the congestion state can be obtained through measurement data . The network congestion control model can be represented by where is the bandwidth vector.

The main purpose of the proposed bandwidth allocation strategy is to reflect the adjustment of , so the selective of matrix , is reasonable. Let initial network congestion state .

Subsequently, the state feedback controller gain is obtained as and the solution of positive definite symmetric matrix for Riccati equation is obtained as

The network congestion trajectories are shown in Figure 3.

Obviously, the network congestion is eliminated after 2.7 seconds. At the same time, the time varying bandwidth curve is given in Figure 4 and optimal performance index .

The response curve can reflect the change of available bandwidth consumption but it does not mean that bandwidth of each closed loop is zero when the network state is steady. If the network congestion is eliminated, the bandwidth maintains the* primary bandwidth*. Besides, this bandwidth allocation strategy can realize the monitoring the running state of network. In addition, the* primary bandwidth* can be limited to necessary scope according to differential service [26] or control performance.

#### 5. Conclusions

In this paper, network as controlled object is analyzed with LQR method and bandwidth is considered as “energy” to eliminate network congestion. The central purpose of this study is to realize the control and optimization of network in NCS codesign. Firstly, control of network focused on QoP and QoS simultaneously and QoP can be easily achieved when QoS is improved. Further, bandwidth is a crucial factor for control of network. On the one hand, optimal bandwidth consumption guarantees the stability of network. On the other hand, the requirement bandwidth based on control system can improve control performance. At last, control theory can also be employed to realize network scheduling.

In essence, the open loop of bandwidth management which is realized by closed-loop scheduling in this paper implies that control and scheduling are inseparable in codesign of NCS. In addition, this bandwidth adjustment strategy based on control of network also indicates that control theory can be adopted to solve the problem of network resource management and scheduling.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work is supported by the Natural Science Foundation (61263003), Fundamental Research Funds for the Central Universities (2009JC11 and 2009QN120) of China, and Fundamental Research Funds for Universities of Gansu Province. Also, it is partially supported by Doctor Foundation (BS03200901) and Excellent Young Teachers Foundation (Q201012) of Lanzhou University of Technology.

#### References

- R. M. Murray, K. J. Astrom, S. P. Boyd, R. W. Brockett, and G. Stein, “Future directions in control in an information-rich world,”
*IEEE Control Systems*, vol. 23, no. 2, pp. 20–33, 2003. View at: Publisher Site | Google Scholar - R. A. Gupta and M. Y. Chow,
*Overview of Networked Control Systems*, Networked Control Systems, Springer, London, UK, 2008. - T. C. Yang, “Networked control system: a brief survey,”
*IEE Proceedings: Control Theory and Applications*, vol. 153, no. 4, pp. 403–412, 2006. View at: Publisher Site | Google Scholar - J. P. Hespanha, P. Naghshtabrizi, and Y. Xu, “A survey of recent results in networked control systems,”
*Proceedings of the IEEE*, vol. 95, no. 1, pp. 138–172, 2007. View at: Publisher Site | Google Scholar - P. Antsaklis and J. Baillieul, “Special issue on technology of networked control systems,”
*Proceedings of the IEEE*, vol. 95, no. 1, pp. 5–8, 2007. View at: Publisher Site | Google Scholar - S. Liu, B. Xing, and B. Li, “Development actuality and key technology of networked control system,” in
*Proceedings of the 32nd Chinese Conference on Control Conference (CCC '13)*, pp. 6692–6697, IEEE, 2013. View at: Google Scholar - D. Steo, J. Lehoczky, P. L. Sha, and K. G. Shin, “On task schedulability in real-time control systems,” in
*Proceeding of the IEEE Conference on Decision and Control*, vol. 4, pp. 865–4870, Piscataway, NJ, USA, 2000. View at: Google Scholar - L. Ding, Q.-L. Han, and G. Guo, “Network-based leader-following consensus for distributed multi-agent systems,”
*Automatica*, vol. 49, no. 7, pp. 2281–2286, 2013. View at: Publisher Site | Google Scholar | MathSciNet - Z. Lu and G. Guo, “Communications and control co-design: a combined dynamic-static scheduling approach,”
*Science China. Information Sciences*, vol. 55, no. 11, pp. 2495–2507, 2012. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - G. Guo, “A switching system approach to sensor and actuator assignment for stabilisation via limited multi-packet transmitting channels,”
*International Journal of Control*, vol. 84, no. 1, pp. 78–93, 2011. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - H. Zhang, Y. Shen, and H. Wei, “Networked control system period-varyed sample research and application,” in
*Proceedings of the 3rd International Conference on Advanced Computer Theory and Engineering (ICACTE '10)*, vol. 1, pp. 1558–1562, August 2010. View at: Publisher Site | Google Scholar - X. Guo, “Controller design based on variable-period sampling approach for networked control systems with random delays,” in
*Proceedings of the IEEE International Conference on Networking, Sensing and Control (ICNSC '09)*, pp. 147–151, March 2009. View at: Publisher Site | Google Scholar - H.-L. Zhang, Y.-W. Jing, and S.-Y. Zhang, “Controller design for networked control systems with active varying sampling period,”
*Journal of System Simulation*, vol. 21, no. 22, pp. 7275–7280, 2009. View at: Google Scholar - G. Guo, Z. Lu, and Q.-L. Han, “Control with Markov sensors/actuators assignment,”
*IEEE Transactions on Automatic Control*, vol. 57, no. 7, pp. 1799–1804, 2012. View at: Publisher Site | Google Scholar | MathSciNet - 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 IEEE Industrial Electronics Society (IECON '04)*, pp. 2343–2348, November 2004. View at: Publisher Site | Google Scholar - 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, April 2005. View at: Publisher Site | Google Scholar - K. Ji and W.-J. Kim, “Optimal bandwidth allocation and QOS-adaptive control co-design for networked control systems,” in
*ASME International Mechanical Engineering Congress and Exposition (IMECE '07)*, pp. 831–839, November 2007. View at: Google Scholar - G. Guo, “Linear systems with medium-access constraint and Markov actuator assignment,”
*IEEE Transactions on Circuits and Systems. I. Regular Papers*, vol. 57, no. 11, pp. 2999–3010, 2010. View at: Publisher Site | Google Scholar | MathSciNet - G. Guo and H. Jin, “A switching system approach to actuator assignment with limited channels,”
*International Journal of Robust and Nonlinear Control*, vol. 20, no. 12, pp. 1407–1426, 2010. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - Z. Li and M.-Y. Chow, “Adaptive multiple sampling rate scheduling of real-time networked supervisory control system—part II,” in
*Proceedings of the 32nd Annual Conference on IEEE Industrial Electronics (IECON '06)*, pp. 4610–4615, November 2006. View at: Publisher Site | Google Scholar - Z. Li and M.-Y. Chow, “Adaptive multiple sampling rate scheduling of real-time networked supervisory control system—part II,” in
*Proceedings of the 32nd Annual Conference on IEEE Industrial Electronics (IECON '06)*, pp. 4610–4615, November 2006. View at: Publisher Site | Google Scholar - L. G. Bushnell, “Networks and control,”
*IEEE Control Systems Magazine*, vol. 21, no. 1, pp. 22–23, 2001. View at: Google Scholar - X. Hui and Y. Wang, “Application of automatic control theory in the congest control and some new ideas,”
*Journal of Wuhan University of Technology (Natural Science Edition)*, vol. 1, pp. 68–72, 2002. View at: Google Scholar - M. Ren and W. Wang, “Congestion control method for computer networks based on optimal control theory,”
*Mechanical and Electrical Engineering Magazine*, vol. 20, no. 5, pp. 123–126, 2003. View at: Google Scholar - Z. Wang and H. Sun, “A bandwidth allocation strategy based on the proportion of measurement error in networked control system,” in
*Proceedings of the 3rd IEEE International Conference on Digital Manufacturing and Automation (ICDMA '12)*, pp. 9–12, 2012. View at: Google Scholar - M. Yuan, J. Hu, R. He, and J. Ma, “QoS management model based on policy for grid application service,”
*Journal of Beijing University of Aeronautics and Astronautics*, vol. 31, no. 6, pp. 700–704, 2005. View at: Google Scholar

#### Copyright

Copyright © 2014 Wang Zhiwen and Sun Hongtao. 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.