Abstract

We first analyze the effect of network-induced delay on the stability of networked control systems (NCSs). Then, aiming at stochastic characteristics of the time delay, we introduce a new Smith predictor to remove the exponential function with the time delay in the closed-loop characteristic equation of the NCS. Furthermore, we combine the fuzzy PID algorithm with the fuzzy immune control algorithm and present a fuzzy immune self-adaptive PID algorithm to compensate the influence of the model deviation of the controlled object. At last, a kind of fuzzy immune self-adaptive PID algorithm based on new Smith predictor is presented to apply to the NCS. The simulation research on a DC motor is given to show the effectiveness of the proposed algorithm.

1. Introduction

With the development of the control technology, the network technology, and the communication technology, the structure of the control system becomes more complicated, the spatial distribution becomes more wide, and the performance requirements also become higher. Networked control system (NCS) is a cross subject which integrates the computer technology, the network communication, and the control technology. It is one of the most important research topics in the control field [1]. In the NCS, the information transmission need occupy the shared network communication lines. However, the network capacity and the communication bandwidth are limited, so they will inevitably cause the collision of the information and retransmission. At the same time, the information transmission delay may be generated when sampling, quantization, coding, and decoding are done. The existence of the time delay will degrade the control performance of the system, which makes the rise time of the system and overshoot increase and even causes the instability of the system, so the analysis of the NCS will become complex.

Although some achievements have been gotten in the research process of the NCS, so far, a mature theory has not been formed. Aiming at random, time varying, and uncertain network-induced delay, the domestic and foreign scholars put forward various methods and solutions to improve the performance of the system. Nilsson et al. transform uncertain long time delays into one of a few certain delays by using the information receiving buffer rather than into a fixed maximum delay, which reduces the degree of the delay expansion [2]. Fu et al. presented an improved predictive control method to compensate the random time delay in the NCS [3]. Wang and Chen build the random discrete time model for the system with short time delay which has the probability distribution of Markov chain and use stochastic control theory to analyze and design [4]. Aiming at the disturbance and measurement noise in the network, Zhang et al. design the robust PID tracking controller for practical models and develop the robust PID control such that load and reference disturbances can be attenuated with a prescribed level. Furthermore, for the robust stabilization problem, the design of a static output feedback controller is presented by solving bilinear matrix inequalities (BMIs). In order to efficiently solve a nonconvex BMI, they propose an approach based on the linear matrix inequality technique [5, 6]. Xiong et al. build the fuzzy controller of state feedback by analyzing the delay data of the actual control system based on Internet [7]. Zhang and Hua-Jing research control system based on IP network and use the method of compensating the time delay to improve the performance of the system [8]. Zhang and Li designed a kind of controller based on Smith compensator and signal neuron incomplete differential forward PID, and the system gets better control performance under the random time delay in forward and feedback channels [9]. In addition, Zhang et al. proposed an improved Smith predictor and Kalman filter to reduce the effect of the control interference, the measurement noise, and the time delay [10]. Huang and Chen use Smith predictor to compensate the time delay of the system and proposed a complex controller including a cerebellar model articulation controller of neural networks and a PD controller so as to further weaken the prediction error [11].

In this paper, from the control point of view, the effect of the random network delay on system performance is analyzed. Then we use the MATLABSimulink simulation software to set up the simulation model of the NCS and research the performance of the proposed control algorithm using a DC motor as the controlled object.

2. The Network-Induced Delay

In the NCS, data is transmitted among the controller, actuator, and sensor over the network, so there are essentially three kinds of time delay in the system: the communication delay between the sensor and the controller, the computational delay in the controller, and the communication delay between the controller and the actuator. and are caused by the network transmission, and they are related to the network bandwidth, the network scheduling algorithm, and the network topological structure; is associated with the calculating speed of controller; is very small compared with and , and it is often ignored, so the network-induced delay is expressed as . The block diagram of the NCS is shown in Figure 1.

It is well known that the system stability is affected by the time delay of the NCS. In this paper, we use a DC motor as the controlled object. Under different network-induced delays, the step response of the system is first analyzed by using the simple PID control algorithm. The transfer function of controlled object is expressed as [12]

The controller uses PID control algorithm, and it is expressed as where , , and are, respectively, the proportion coefficient, the differential time constant, and the integral time constant. The closed-loop transfer function is shown in

Suppose that the parameters of the PID controller are , , and . Under different time delays, the step response is shown in Figure 2.

As can be seen from Figure 2, with the increase of the time delay, the overshoot of system is increased and the adjusting time is prolonged. And when the time delay is increased to a large value, the system will produce the oscillation. The PID control algorithm has obvious shortcomings, so we put forward a kind of fuzzy immune self-adaptive PID algorithm based on new Smith predictor. This algorithm can effectively meet the requirements of control system, reduce the overshoot and the adjusting time, and enhance the system stability.

3. The Principle of the Fuzzy Immune Self-Adaptive PID Algorithm Based on New Smith Predictor

3.1. The Principle of New Smith Predictor

Smith predictor is characterized by predicting the dynamic characteristic of the system with network-induced delays, and then the delayed controlled information can be reflected into the controller in advance, so that the controller is able to take action early, which can reduce the overshoot and accelerate the response speed [13]. However, the traditional Smith predictor can be only used in the feedback control system in which the model of controlled object is known and the time delay is determined. But the NCS is a closed-loop feedback control system based on the network. It is impossible to get the accurate time delay for the network with random, time-varying, and uncertain delays. Therefore, we use a new Smith predictor, which realizes dynamic prediction of the network-induced delay. The structure of the NCS based on new Smith predictor is shown in Figure 3.

is the reference signal, is the transfer function of controller, is the transfer function of controlled object, and is the interference signal.

When , the closed-loop transfer function of the system is expressed as

Its characteristic equation is expressed as

When , the closed-loop transfer function of system is expressed as

Its characteristic equation is expressed as

In (5) and (7), they both include the controlled object and the predicted model . When the system satisfies , (4) and (6) are simplified and get the following relation:

Then their characteristic equation of (8) and (9) is expressed as

Equation (10) shows that all exponential functions with the time delay are removed from the closed-loop characteristic equation, so that the performance of the control system will be improved no matter the size of the time delay [14].

3.2. The Realization of the Fuzzy Immune Self-Adaptive PID Algorithm

In Section 3.1, we know that new Smith predictor can remove the exponential function with the time delay in the closed-loop characteristic equation when the system satisfies . In fact, it is difficult to get the precise model of the controlled object, so the self-adaptive PID control algorithm need be introduced into the control system to compensate the influence of the model deviation of the controlled object.

3.2.1. The Principle of the Fuzzy Immune Control Algorithm

The immune controller is a kind of nonlinear controller based on the immune mechanism of the biological system. The controller mainly uses the immune feedback mechanism. The mutual collaboration between the inhibitory mechanisms and the feedback mechanism is completed through the rapid response of immune feedback mechanism of the antigen and the stability of the immune system. The immune system is complex, but its resistance to the adaptive ability of antigen is very obvious. The intelligent behavior of the biological information system provides the theoretical reference and the technical methods for the science and engineering [15]. Then the immune feedback control algorithm is expressed as where , represents the response speed of the system, and represents the stability of the control system. Once the reasonable variables and are selected, a better control performance can be obtained. is a nonlinear function about and .

Thus, it can be seen that the controller based on the mechanism of the immune feedback is a nonlinear proportional controller. The proportion varies with the output of the controller. Using the output of the controller to adjust the input, the system has better adaptive ability.

For the nonlinear function , we use the fuzzy algorithm to approximate it, so as to achieve the destination of parameter self-tuning. In the immune controller, we take the output of system and the output rate as the controller input. Domain of inputs is set at , and the domain of is set at . The fuzzy rules of are shown in Table 1.

3.2.2. The Fuzzy Immune Self-Adaptive PID Algorithm

The pure fuzzy immune controller cannot completely eliminate the control error which is caused by the nonlinear interference or noise because of the lack of integral term of the deviation.

In addition, the fuzzy PID control algorithm has faster response speed and better robustness. But its performance of tracking of a given value is less than fuzzy immune algorithm, so we use the fuzzy immune algorithm to improve the proportion coefficient of the fuzzy PID control algorithm in the NCS.

So we combine the fuzzy PID control algorithms and the fuzzy immune algorithm and get the fuzzy immune self-adaptive PID algorithm. The fuzzy immune self-adaptive PID algorithm is expressed as where is the proportion coefficient and we use the fuzzy immune algorithm to get it. is integral coefficient, and is differential coefficient; they are both gotten by the fuzzy adaptive algorithm. and are the initial value of the fuzzy self-adaptive PID parameters.

In the system, the fuzzy control algorithm uses the error and the error rate as the input linguistic variables and uses , as the output linguistic variables [16]. The input and output variables are divided into seven sets, namely, . The domains of the input variables are set at , and the domains of and are, respectively, set at , . Then we build the control tables of the fuzzy rules, according to the stability, the response, and the overshoot. The fuzzy rules tables of , are shown in Tables 2 and 3.

3.2.3. The Fuzzy Immune Self-Adaptive PID Algorithm Based on New Smith Predictor

According to the PID control theory, increasing the proportion coefficient can accelerate the response speed of the system, increasing the integral coefficient can reduce the steady-state error of the system, and increasing the differential control can reduce the overshoot. Due to the difficulty of the nonlinear function selection in the immune algorithm, we use the fuzzy algorithm to approximate nonlinear function, so we use the fuzzy immune feedback mechanism to adjust the proportion coefficient of the PID controller. At the same time, the integral and differential coefficient of PID controller are gotten by using online self-tuning of the fuzzy controller, which makes the controlled object have good dynamic and static performance, so as to realize the adaptive control [17].

So we combine the fuzzy immune self-adaptive PID algorithm and new Smith predictor and get the fuzzy immune self-adaptive PID algorithm based on new Smith predictor. The structure of the control system is shown in Figure 4.

In the control process, the parameters of PID algorithm are corrected online by using the fuzzy rule tables, which achieve the goal of self-tuning of PID parameters.

4. Simulation Results

In order to show the effectiveness of the proposed method, in the MATLAB/Simulink, the simulation is done using a DC motor as the controlled object. The sampling period  ms, the reference input  rad/s, and the network-induced delay is produced by gauss random generator in the Simulink toolbox. In addition, the input field is ; the fuzzy rules tables from Table 1 to Table 3 are adopted, the fuzzy reasoning uses “Mamdani,” and the defuzzification uses “centroid.” The initial value of parameters of the fuzzy immune self-adaptive PID algorithm is , , , and . Using the fuzzy PID algorithm, the fuzzy PID algorithm based on Smith Predictor, the fuzzy PID algorithm based on new Smith predictor, and fuzzy immune self-adaptive PID algorithm based on new Smith predictor, respectively, we observe the waveform of the step response of the motor speed, and the results are shown in Figures 5, 6, and 7.

The simulation results show that the fuzzy immune self-adaptive PID algorithm based on new Smith predictor is superior to the other three kinds of control algorithms comprehensively considering the response speed, the overshoot, and the adjusting time.

5. Conclusion

In this paper, the control performance and the system stability are analyzed by changing the size of network-induced delay. Then the simulation model of the NCS is built in MATLAB/Simulink. The simulation results show that the proposed control algorithm has the advantages of fast adjusting time and little overshoot, so it can improve the performance of the NCS and achieves the desired effect.

Conflict of Interests

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

Acknowledgment

The authors would like to express their thanks to the support of the National Natural Science Foundation of China (no. 51277053).