Abstract

Based on the T-S model, a predictive compensation scheme including timer and counter for wireless networked system with long time delay and data packet dropout is proposed in this paper. By the separation principle, the state observation predictor and the state feedback controller are designed separately. For the case of fixed delay, the stability of the closed-loop networked control systems is discussed. Simulation by inverted pendulum system illustrates the effectiveness of the proposed method in wireless networked system based on T-S model.

1. Introduction

It has always been hot research on how to reduce the network-induced delays, packet dropouts, and other factors that affect the stability of the networked control systems and wireless sensor networks [13]. From the perspective of communication, [4] proposes an enhanced routing protocol on ad hoc on-demand distance vector with load balance and delay restriction, which can shorten the end-to-end delay and reduce the packet dropout. A new dynamic routing control strategy for wireless networks is proposed to monitor the inclination of multiple cranes in [5], which can reduce the measurement packet dropout. The issue of analysis and grey modeling for the time delay of star topology wireless networked control systems is researched in [6]. From the perspective of control theory, the state feedback controller, the state observer, and the observer-based output feedback controller are, respectively, derived for linear time-varying system in [7] to guarantee the asymptotic stability of the closed-loop system. In [8], the sufficient condition of the asymptotic stability for the singular pulse system is derived according to Lyapunov function theory, and the design method of the quantized feedback controller is presented. Networked control with reset quantized state has been, respectively, studied in [9, 10], where the former is observer-based, while the latter is based on Bernoulli processing. Moreover, in [11], output feedback stabilization has been analyzed for Markov-based nonuniformly sampled-data networked control systems. And in [12], mixed time delays in stochastic Markovian jump neural networks have been explored in depth. Similarly, in [13] the problem of sampled-data synchronization for Markovian jump neural networks with time-varying delay and variable samplings is considered. In [14], a simplified model predictive control algorithm is designed for discrete-time Markov jump systems with mixed uncertainties. Although there are a lot of literatures for the networked linear systems, nonlinear systems, continuous systems, discrete systems, time-varying systems, time-invariant systems, or any combination of the several systems described above [1517], which have made some achievements, time delay and packet dropout rate are rarely real-time computed while designing the controller and compensator. Therefore, referring to the model of [18] and design scheme in [19], this paper proposes a method with timers and counters which can not only calculate time delay and packet dropout rate in real time but also give the effective predictive compensation.

2. Problem Formulation

The framework of the system over a network medium researched in this paper is shown in Figure 1. The sensor, the controller, and the actuator reside in physically different nodes communicating over shared communication networks. Due to the limited network bandwidth, unavoidable network congestion as well as network interruption, network transmission delay, and packet dropout during information exchange between different components appear.

For convenience, some general assumptions are given as follows.(1)The node of sensor is time-driven, and the sampling period denoted by is fixed; the controller and the actuator are event-driven and execute the appropriate action, respectively, when data packets arrive [20].(2)There is no time delay or packet dropout during a sampling period. And assume that the data are lost if the transmission time exceeds the maximum transmission delay, which is set as .(3)The time delay and packet dropout between the sensor and the controller are marked as , while between the sensor and the controller they are marked as , including computation delay in each module.(4)The output data from the sensor and the controller have a time stamp and are transmitted with a single packet without wrong order.

Consider a plant described in the following state-space form: where , , and are the state vector, control input, and output vector, respectively. , , , and are matrices with appropriate dimensions.

According to [18, 21], system (1) mentioned above can be described by the IF-THEN fuzzy rule as follows.

Rule . Consider where , is the number of IF-THEN rules, are the premise variables, are fuzzy sets, and are matrices with appropriate dimensions.

By using the fuzzy inference method with a singleton fuzzifier, product inference, and center average defuzzifier, we can get the global fuzzy equation of the th rule: where , , , , and is the membership function of fuzzy sets .

3. Design for Wireless Networked Control System Based on T-S Model

In real networked control system, limited by environmental or economic conditions, not all state variables are measurable. Based on hierarchical control structure, the design of networked control system with local state observer is presented in [22]. It introduces local state observer in the plant terminal and proceeds feedback control with state estimation at the end of the remote controller. As a consequence, this paper uses the state observer between the sensor and the controller. At the same time, in order to avoid data confusion and compute packet dropout rate over a period of time in real time, the data buffer and timing counter are added. It will adjust automatically when the packet dropout rate is bigger than the rate which is set to ensure the stability of the network. The networked control system designed in this paper is shown in Figure 2.

3.1. Buffer/Storage and Counter

The buffer and memory are used for temporary storage of data, which can filter data and avoid the wrong order. And the main purpose of the counters is to calculate the packet dropout.

Between the sensor and the controller, define two variables, and . Consider as the timing unit. Within a sampling period, when time is up, will be increased by one. Meanwhile, if the data in the buffer are not changed at the moment, it will be ; otherwise, it will be .

Similarly, between the controller and the actuator, define two variables, and . Consider as the timing unit. Within a sampling period, when time is up, will be increased by one. Meanwhile, if the data in the buffer are not changed at the moment, it will be ; otherwise, .

Networked control system can bear a certain degree of packet dropout. Hence, computing packet dropout rate currently will help ensure the stability of the system. The packet dropout rate can be estimated by formula (5) in the improved networked control system mentioned above. For example, suppose that the data in the buffer have not been changed while the data in the memory have been changed within the time , so , , , and . Then, within the time , suppose that the data in the buffer and memory both have not been changed, so , , , and . Then, within the time , suppose that the data in the buffer and memory both have been changed, so , , , and . Then, within the time , suppose that the data in the buffer and memory both have been changed, so , , , and . Consequently, on the basis of (5), it follows that, at time , is 0.5, at time is 0.75, at time , is 0.5, and, at time , is 0.375. Consider

3.2. The State Observer

For arbitrary initial value of system (1) and the state observer, will be equal to after step at most. That is to say, estimated values and state values are equal. However, the continuous system has no such properties [23].

Assume that the current moment is . And then make a comparison between the time stamp and local time so that is acquired. Next, round . If the buffer data are updated at the moment, is less than or equal to . In general, use the output and input of the plant as an input of the state observer. The feedback from the controller is . A state observer for system (4) is structured as follows [24]: where , are the state and output vector of the state observer, respectively, and is the state observer gain, which can be obtained through dual principle.

3.3. The Predictor

As we all know, the packet dropout can also be converted to time delay. Values at current moment cannot be acquired because of the network-induced delay. Even so, can be acquired. Then, combine and ; the system state values from to can be further predicted as follows:

From the above formulas, the relationship between and can be built by recursion; that is,

3.4. The State Feedback Controller

There exist random delay and packet dropout between the controller and the actuator, marked as . In order to keep the controller synchronized with the plant, it should calculate the controlled quantity , where .

The state feedback controller is designed as formula (9), and is the estimate value when the time delay is . Consider where and is a state feedback controller gain.

By formulas (7)~(9), the system state values from to can also be further predicted, which is as follows

Substituted into the formula (9), it follows that

Construct , , as a control sequence , which will be packaged into packets together with the time stamp and then sent to the compensator.

3.5. The Compensator

Comparing the time stamp with local time or by the counter, we can achieve . After that, round . It should be noticed that the control sequence received by the compensator is generated at the moment , but now, between the sensor and the controller, the time delay value is . For this reason, at time , the total delay in the closed-loop network is not , but . Thus, the input and output of the plant are and . Then combined with formula (10), the state estimator for can be deserved as follows:

With (12), one obtains

Thus, the control law now is

At time , the control sequence in the compensator described above can be set as . The control input would be in case of time delay compensation.

4. Stability Analysis

Define the following error vector: and define the following augmented vector: In addition, set , , and .

(1) When , there is .

Then combined with formula (8), it follows that

By formula (4), formula (15), and formula (17), we can get

Therefore,

Then,

Thus, with (19) and (20), it follows that

And then, with (4), (14), (15), and (21), we obtain

Then, on the basis of formulas (16), (18), and (22), we get

(2) When , define

According to (4), (6), and (15), we have

Therefore,

By formula (4) and formula (26), we can achieve

Then with (16), (25), and (27), it follows that

As we know, if all the eigenvalues of the matrix and are located in the open unit disc, the system will be asymptotically stable, even there are and . The separation principle still holds in discrete systems. It indicates that the closed-loop system with state feedback still retains the original nature of the state feedback closed-loop system after the access to the observer. So the pole assignment can be separated into two parts: for state feedback and for the observer [23]. Characteristic polynomials of the two matrices introduced above are, respectively, and . Obviously, the controller gain and the state observer gain can be conducted based on the separation principle.

5. Numerical Example

Consider an inverted pendulum system [25]. Suppose sample time  s, and select the following state variables: where signifies an angle that is between the pendulum and the vertical line and signifies an angular velocity. Linearize the original inverted pendulum model at five working points, 0°, ±15°, and ±30°. Then use formula (3) in [26] to discretize it, so we can get matrix coefficients and .

Then, set .

As a result, the T-S fuzzy model can be written as follows: where

By using rank criteria of system controllability and observability, the system is completely controllable and completely observable. Consider where and the system now is also completely controllable and completely observable. Consider where and the system now is also completely controllable and completely observable.

The controller poles are assigned to so that , , and could be achieved under the three kinds of preconditions described above. Three state observer gains would be obtained in the same way. In this simulation, the output variables can reflect the first state variables since . Nevertheless, it needs to design a state observer for those whose state variables cannot be observed directly.

The membership functions are chosen from [27], and the initial reference is set as . Then combine the language with the truetime to carry out the simulation. The truetime is a toolbox of Matlab, which can offer a variety of communication network models. In addition, in the simulation, we set and . The results of outputs of the wireless networked system in different situations are shown in Figure 3, where represents that there exists no time delay or packet dropout, shows that there are random time delay and packet dropout but no measures for compensation, and indicates the effect by using the compensation method proposed in this paper. It is easy to see that is stabilized faster than . Consequently, the approach has an advantage in T-S model-based wireless networked system with the random long time delay and data dropout issue.

6. Conclusion

Aimed at the wireless networked control systems with random time delay more than a sampling period and packet dropout, in this paper, on the basis of a compensation method in [19], we consider the inverted pendulum T-S fuzzy system as the plant and bring in counters that can deal with the packet dropout rate over the network. According to the separation principle, the state observation predictor and the state feedback controller are designed separately. Furthermore, there is a stability analysis for the closed-loop networked control systems with fixed time delay. A numerical example illustrates that the approach provided is effective in shortening long time delay and reducing the packet dropout in wireless networked system, which could be applied to the inverted pendulum T-S fuzzy system. The next step is to model the GPS and SI4432-based wireless sensor network (WSN) into T-S fuzzy system. Hence, the method mentioned in this paper can play a role in the WSN and then be applied in practice.

Conflict of Interests

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

Acknowledgments

This work was supported by the National Natural Science Foundation of China under Grant no. 61374083, Science and Technology Department Project of Zhejiang Province under Grant nos. 2014C31082, 2014C33109, and Program of Graduate Innovation Research in Zhejiang Sci-Tech University (YCX12028).