The Design of a Class of Nonlinear Networked System

A class of nonlinear networked systems with external interference is designed in this paper. Currently, we have witnessed that networked control technology has played a key role in the Internet of Things (IoT). However, the amount of big data in the Internet of Things will cause network congestion in the data transmission of the network control system. In order to solve this problem, event-driven control scheme can effectively save the network resources of the network control system. But when there is interference in the system, the conventional constant threshold parameter is difficult to achieve the expected energy-saving effect. In order to solve this challenge, this paper proposes a design with a continuously variable threshold. After each trigger to transmit data, the threshold gets changed accordingly, and the sliding mode approach rate is changed simultaneously. Compared with the constant threshold event drive, the number of transmissions in this design can be greatly reduced, while sliding mode jitter is suppressed. The simulation results show that the scheme can achieve higher resource utilization efficiency and better robustness.


Introduction
In recent years, we have witnessed the rapid development of the Internet of Things (IoT). By 2020, the surge in mobile devices is expected to exceed 50 billion. NCS research plays a key role in this field. At present, networked-control systems (NCSs), including multiloop NCSs, are extensively used. Their systems have the advantages of high reliability, high system flexibility, and low installation and maintenance costs [1][2][3][4][5][6]. Network control systems are used in many fields, such as mobile sensor networks [7], intelligent transportation systems [8], remote network control technologies [9], and theoretical results in [2,3,10] and other applications. In general, for the control of IoT, the collection and processing of data are very important. Note that with the emergence of IoT, the captured data will increase significantly. In the network control system (NCS), when the network is congested, phenomena such as jitter, packet loss, and transmission delay are particularly prone to occur [11][12][13], leading to poor performance of the network control system. Therefore, it is urgent to design a reasonable control scheme to reduce data transmission on the network. This solution should ensure that the network control system still has satisfactory performance even in the presence of uncertainty and delayed transmission.
In the past few decades, scientific literature has proposed several control schemes to save communication network transmission resources [14][15][16]. Event driving (ED) is one of the widely recognized and effective methods [17][18][19][20][21][22][23][24]. In traditional time-driven control schemes, data is transmitted periodically. Unlike the traditional implementation of timedriven control, the ED control scheme allows communication between the controlled object and the controller (feedback path) and between the controller and the actuator (direct path) only when certain trigger conditions are met. Therefore, the ED control method can significantly reduce data transmissions and avoid network congestion and its possible unavailability. In [25], the authors propose a decentralized event-driven implementation of a centralized nonlinear controller on a sensor-actuator network. In [26], Wang and Lemmon assumed that the control system was composed of weakly coupled subsystems and proposed a distributed event-driven control method. In [27], the authors developed an event-driven transmission strategy based on state estimation. Designing event-driven algorithms based on changes in the Lyapunov function and selection of input variables to be updated is given in [28]. The threshold value of the event driving condition may greatly affect the execution of the control task. In recent years, a common design method for the feedback control gain of the system and the parameters of the event driving condition has been studied, such as [29][30][31][32] and references in the text.
The aforementioned event driving scheme (EDS) has a common feature that the threshold value of the event driving condition is known in advance. Since the threshold value is a preset constant, it is difficult to adapt to changes in the system; that is, the designed event driving parameters cannot adapt to external disturbances. To overcome this shortcoming, event trigger parameters need to be optimized online to achieve adaptation to external disturbances. But so far, there are few researches on the variable threshold under the eventdriven condition of nonlinear systems in the public literature. Increasing the anti-interference ability of the event-driven system is a factor that must be considered in the design of high-performance event-driven control systems. Increasing the anti-interference ability of the event-driven system is a factor that must be considered in the design of highperformance event-driven control systems. Sliding mode control (SMC) is a well-known robust control method, which is especially suitable for models subject to modeling uncertainty and external interference control system [33,34]. Due to its robustness, sliding mode control is also an effective control method based on the arrival law, which greatly improved the fast convergence of the sliding mode surface under the excessive strategy for networked control systems [35,36]. Asifa Yesmin et al. proposed an event-driven sliding mode control jitter and gave designers greater freedom to design parameters to achieve: the expected steady state in the absence of disturbance uncertainty [37]. An eventdriven sliding mode controller with a fuzzy variable threshold is designed for a nonlinear continuous time-varying MIMO system. The fuzzy control is used to variablely adjust the event trigger condition threshold of the nonlinear system to make the system more flexible.
The main contributions of this paper include the following: (1) designing event-driven control with fuzzy control for nonlinear continuous time-varying MIMO systems based on sliding mode control; (2) designing a novel variable event driving condition for nonlinear systems, in order to promote system stability and speed, while reducing network data transmission; and (3) the formula which is used to prove and simulate the closed-loop stability of the system.
The content of this article is arranged as follows: the second part introduces the system description and continuoustime sliding mode control, the third part introduces the event-driven sliding mode controller design, and then the fourth part introduces the fuzzy control and event driven control (EDC) variable design. The numerical example simulation in Section 5 validates the analysis results. Finally, conclusions are drawn in Section 6.

System Description and Sliding Mode Control
2.1. System Description. First, we consider a MIMO nonlinear system, as shown below: Here, x = ½x 1 , x 2 ∈ R 2n , fðxÞ = ½ f 1 ðx 1 Þ, f 2 ðx 1 , x 2 Þ, B∈R 2n , x 1 , and x 2 ∈ R n represent the system's state variables. u ∈ R n is the control input vector of the system, and d is the external disturbance affecting the system. It is assumed that the disturbance is bounded, i.e., sup t≥0 jdðtÞj ≤ d 0 < ∞, and it satisfies the matching condition with respect to the control input.
For the nonlinear functions f 1 ð•Þ and f 2 ð•, •Þ, we make the following assumptions. Assumption 1. The function f 1 ðx 1 Þ has a unique equilibrium point without loss of generality, and we assume f 1 ð0Þ=0. In addition, the system can be represented by both linear and nonlinear terms, such as f 1 ðx 1 Þ=A 1 x 1 + γðx 1 Þ, A 1 is a linearized system at the equilibrium point, and γðx 1 Þ is the nonlinear components of higher-order terms.
2.2. Design of Sliding Mode Controller. Considering the nonlinear MIMO system given above, here, we choose s = c T x as the sliding mode surface of the system, where c ∈ R n . where Differentiating s = c T x with respect to time, we obtain: The SMC design must ensure that the system trajectory converges to the sliding manifold, so the system trajectory must be converged to the equilibrium point within a limited time. Here, we design the control rate u as shown below: Wireless Communications and Mobile Computing In the above formula, the gain K is a bounded constant and satisfies K > jB 2 jd 0 . Therefore, the reaching law of sliding mode can be expressed as The design of the control law and the approach law of the sliding mode controller ensures that the system can reach an equilibrium state in a finite lime. This chapter mainly analyzes the implementation of the SMC in the normal state. In the following content, we mainly analyze the implementation of the SMC in the event-driven state and consider the threshold of the ED-SMC trigger condition to design a variable event-driven sliding mode controller that meets the control performance.

Event-Driven Sliding Mode Controller
At present, there are few studies on SMC discretization of nonlinear systems. Similar to a linear system, the implementation of a discrete SMC, in this case, will never produce an accurate sliding mode, which is s = 0. Therefore, for discrete cases, the sliding trajectory does not remain on the switching manifold but remains near the sliding surface. In the SMC periodic operation, the final limit depends on the sampling interval and the perturbation limit. As the sampling interval decreases, the system performance improves accordingly. On the other hand, the steady-state boundary is designed in advance for the implementation of event driving, so performance can be improved as desired.
In order to make the system reach the tracking target in a limited time and keep the tracking error within a certain limit, the following content mainly studies the sliding mode controller with an event trigger. For example, in the LTI system, the trajectory of a nonlinear system simply depends on the design of some parameters to keep it within a certain range. In the following, the standard definition of the sliding mode of nonlinear systems based on the event-driven mechanism is given, and an event-driven sliding mode controller that meets the performance indicators is designed.

Design of Event-Driven Sliding Mode
Controller. For the LTI system, the trajectory of the system stays constant within a certain range has nothing to do with the sampling interval. We can use the event trigger strategy to make the sliding mode motion reach any ideal stable state. This control will be kept constant until the next trigger Time is coming.
is a series of driving moments for control updates. Here, T i = t i+1 − t i is used to represent the time of internal events. In Figure 1, the role of the zero-order retainer is to keep the data at the time t ∈ ½t i , t i+1 Þ, so once the control is updated, the controller will continue to the next time t i+1 , before that the control signal has been uðtÞ = uðt i Þ. We define eðtÞ = xðt i Þ − xðtÞ as the systematic error. The error e here plays a very important role in the implementation of eventdriven control. The main performance is by constantly observing the change of e until it reaches a preset threshold and then using this to determine the next time t i+1 . The event trigger mechanism has the advantage of reducing network signal transmission, saving network resources, and saving energy consumption. Moreover, this strategy will determine the state evolution and disturbance steady-state boundary in advance no matter what.
The design of the event-driven sliding mode controller here should also be divided into two steps: First, we need to design this sliding variable sðtÞ = cxðtÞ = x 1 ðtÞ + x 2 ðtÞ, c = ½1 1 ⊗ I nn ∈ R 2n , and define this sliding mode surface as follows: In the above formula, u > 0, because S here means "the practical sliding surface" [21].
In the second step, in order to enable the system trajectory to reach the sliding die surface, we should also design appropriate driving rules and control laws. The design of driving rules and control laws is given below.
Since the control signal remains constant in the time interval ðt i , t i+1 Þ between two consecutive driving moments, the control law can be written as follows: The purpose here is to design the switching gain so that the stability of the system trajectory remains for a limited time.
Theorem 3. Considering the above nonlinear system and the given control law, let α > 0, and give the following trigger conditions: All time t > 0 here, if the gain K is selected as follows, the x(t) y(t) Figure 1: ED-SMC network controller architecture.

Wireless Communications and Mobile Computing
actual sliding mode will appear in the system.
Proof. Consider the Lyapunov function V = 1/2S 2 . Differentiating V with respect to time t ∈ ½t i , t i+1 Þ, we obtain the following: Taking the control law u (8) into the above formula, we get the following: Until this trajectory reaches the sliding surface, the sign of the sliding variable will not change, and sign sðt i Þ = sign s ðtÞ; we can write it as −K | sðtÞ | And by taking equations (9) and (10) into (12), we can get For some η > 0. This shows that in the time interval ½t i , t i+1 Þ, for some i ∈ Z ≥ 0, the trajectory is moving toward the sliding surface. For as long as sign sðt i Þ = sign sðtÞ, the interval is subsequently triggered. In the end, the tracking trajectory reaches the sliding surface in a limited time. However, there is no guarantee that the trajectory will still move on the sliding surface because no control signal is applied. Therefore, the trajectory passes through it after reaching the sliding surface. However, since relationship (9) holds, it will not be borderless, as shown below. We can get the maximum differential of the sliding trajectory at any time interval ½t i , t i+1 Þ. It can be expressed by the following formula: If the trigger occurs when the trajectory just reaches the sliding mode surface, the maximum value of the actual sliding mode band can be obtained, so this boundary can be given as follows: This indicates that the system trajectory ends up in the Ω region. Therefore, the certification is complete.
The above results have some similarities with linear systems. The first one is the relationship (9), which is essential for the existence of actual sliding modes in nonlinear systems. The Lipschitz constant that appears here corresponds to the induced norm of the system matrix of the LTI system. Another similarity is that the actual sliding mode band is obtained from a similar relationship (9) obtained with the LTI system.

System Stability Analysis.
For the trigger conditions and control laws given above, we should analyze the closed-loop stability of the system. Redefine the sliding variable here, as shown below: For the above algebraic dynamic equation, it can be proved that if x 1 ðtÞ is bounded, then x 2 ðtÞ must also be bounded. Below, we will prove the closed-loop stability of the system.
Here, V 1 = ð1/2Þx 1 T x 1 is selected as the Lyapunov function. Next, we directly differentiate V 1 and bring equations (8) and (21) into the equation; we can get If j|x 1 ðtÞ | j > α/L, then _ V 1 < 0 holds, and then this x 1 ðtÞ will approach the Ω region. Therefore, this state vector x 1 ðt Þ is finally bounded and proved.
3.3. Event-Driven Control Strategy. The trigger condition design must ensure the stability of the system. As can be seen from the previous chapter, the relationship (9) is a sufficient condition for the existence of the actual sliding mode. Therefore, this relationship satisfies the stability of the system at any time. In other words, the choice of a driving scheme should make this relationship always hold. Therefore, the trigger scheme is expressed as follows: Here, σ ∈ ð0, 1Þ. This trigger strategy satisfies the following relationship: When t > 0, this relationship is always true. Select ft i g ∞ i=0 as a trigger sequence. For the stability of the event-driven control system, there must be a positive lower bound between the two trigger intervals, so as to avoid the occurrence of the Zeno phenomenon. In fact, this is a very important process to perform this control task; otherwise, the system may be unstable. In practice, the control law is applied to discrete-time series, and this time series does not 4 Wireless Communications and Mobile Computing consider the delay caused by control. If this delay is very small and does not affect the performance of the system, then this delay can be ignored. Through this delay-free control execution, we prove that the trigger sequence generated by (18) is the following theorem. Before proving this, we must first write the system dynamics equation (1) in the following format: B=½0, B 2 T , where 0 is a column vector with dimension n -1, and all parameters are zero. Theorem 4. Considering the above system and the given control law, it can be seen that this trigger sequence is eligible, that is, for the above trigger criteria given byft i g ∞ i=0 , the internal time trigger The interval T i always has a positive lower bound. Here we can give In the above formula, β N is defined as Proof. The first thing to be clear is that keðtÞk grows from 0 to σα/|jcj | L; that is, it is bounded. Define the interval Γ ≕ ft ∈ ½t i , t i+1 Þ: jjeðtÞjj = 0g. Then we can differentiate on keðtÞk, and we get The final equation is obtained by replacing the control expression (5). Using xðtÞ = xðt i Þ − eðtÞ. We can get further where β N and ρ N ðkxðt i ÞkÞ are defined as (22) and (23), respectively. For t ∈ ½t i , t i+1 Þ, the solution of the above differential inequality is to call Lemma 2 [38] with the initial condition keðt i Þk = 0, and we get Once (18) is satisfied, time t i+1 will be triggered. So we write (26) as Rearrange (27) to get expression (21) for execution time. It still shows that it is bounded by some finite positive number. Note that ρðjjxðt i ÞjjÞ and β N are both finite positive numbers. Therefore, this means that T i is proved to be bounded by a positive finite number all the time.

Variable Threshold Events Driven by the
Sliding Mode Control 4.1. Problem Statement. As can be seen from the previous section, the choice of α determines the steady-state range of the system. Therefore, a large enough value must be selected so that the accumulation performed by the controller does not occur; that is, the driven time is greater than the given minimum time period. For example, for a given small α, the next trigger moment may be lower than the sampling interval corresponding to the processor bandwidth. If this situation happens, the control will not be performed until the trigger time exceeds the processor's bandwidth limit and eventually results in the Zeno phenomenon. In other words, T i must have a positive lower bound to ensure that this phenomenon does not occur. For all i ∈ T i ≥ 0, we provide the following conditions under the condition of α to ensure that the interactive execution time T i is greater than the processor bandwidth. A value large enough must be chosen to produce T i that is greater than the processor's minimum internal execution time τ. However, higher α may increase the steady-state boundary of the sliding trajectory. Therefore, the appropriate optimal value of α is selected to make the system get the best performance under the expected steady-state boundary.
On the other hand, it can be known from Theorems 3 and 4 that the magnitude of the alpha value determines the difficulty of the event-driven and the size of the trigger interval. The larger the alpha value, the more difficult the event trigger occurs and the larger the corresponding event trigger interval. Therefore, under the condition that the abovementioned system is stable, a larger value of α will reduce the number of events driven and reduce the actuator's frequency of execution. Based on the principle of sliding mode motion, there are two stages of sliding mode motion, as shown in Figure 2: the first stage is moving from the sliding mode surface to the sliding mode surface, and the second is moving on the sliding mode surface and finally reaches the system origin. It is generally known that chattering occurs on the sliding surface. If the current point of motion is far away from the sliding surface, an appropriate increase in K 5 Wireless Communications and Mobile Computing is required to speed up the control and improve the control performance. However, when the distance between the current moving point and the sliding surface is close, in order to reduce the tremor, the approach speed is expected to be reduced, which needs to be reduced by K. Based on the above knowledge and control experience, fuzzy control laws and fuzzy control systems can be designed. K i may change with the distance between the current moving point and the sliding surface to reduce jitter and system steady-state error.

Design of Fuzzy
Controller. Based on the above ideas, a two-dimensional fuzzy controller is used to directly design the event trigger parameter α and the parameter K of the approach law through the fuzzy control law. It adjusts α and K in real-time according to the absolute value of S and the modulus value of x.
The inputs of the fuzzy controller are set as kxk and jSj, which are fuzzification variables of xðtÞ and sðtÞ, respectively. The output of the fuzzy controller is the event trigger parameter α and the parameter K of the sliding mode controller blurring variable.
Its field of discussion is as follows: x k k = 0,+1,+2,+3,+4 f g , S j j = 0,+1,+2,+3,+4 f g , Alpha = 0,+1,+2,+3,+4 f g , (3) The membership function setting is shown in Figure 3 (4) Determine the fuzzy control rules of the fuzzy sliding mode controller According to control experience, when |S | is PB, it means that the state of the system is far from the sliding surface. Therefore, a large approach law parameter is needed to accelerate the approach speed; that is, K should be PB; when |S | is PS, it means that the system state is closer to the sliding mode surface, so a smaller K is required to slow the approach speed to reduce chattering; that is, K should be PS. When kxk is large, it means that the system is far away from the system equilibrium point and has a faster approach speed. The system needs a larger α to reduce the number of triggers. When kxk is small, the system enters near the sliding mold surface, α is not easy to be too large, and it will not trigger if it is too large. Based on the above experience, the control rule table   Tables 1 and 2 is used. The fuzzy rules used are as follows: if kxk is A and jSj is B, then alpha is C and K is D.
(5) In anti-fuzzy, use the center of gravity method to refine the fuzzy output; the formula is as follows: The above-mentioned fuzzy controller is used to adjust s in real time, thereby forming a fuzzy reaching law of sliding mode control. The block diagram of the control system is shown in Figure 4.
The law of control is written as follows: The trigger scheme is expressed as follows: Internal time trigger interval T i is positive lower bound: In the above formula, β N is defined as And ρ N ðjjxðt i ÞjjÞ is defined as follows:

Experimental Simulation
Numerical examples are used in this section to verify the above analysis. Consider the following second-order nonlinear continuous system: The compact domain of the system is selected as D = fx ∈ R 2 : kxk 2 = 9g. The Lipschitz constant of the system in this domain D is chosen as L = 10. The perturbation is assumed to be bounded, and it is considered here as d = 0:5 cos t, which results in △ d = 0:5. The design of the sliding surface should ensure the stability of the system. We choose c T = ½0:5 1, so s = c T x represents the sliding variable in the continuoustime setting. The SMC for (3) can be expressed as follows: And K > 0:5. When the control law is implemented through an event-driven strategy, it remains constant in the time interval ½t, t i+1 Þ, that is, at t ∈ ½t i , t i+1 Þ, uðtÞ = uðt i Þ, and i ∈ Z ≥ 0. The other parameters are chosen as τ * = 0:0001 and σ = 0:8. The initial value of α min is chosen to be 0.3. The initial value is K = 0:8, and the sampling period is set to ts = 0:001 s. The initial conditions is [- 1 2]. Case 1. EDSM. Figure 5 shows the simulation results of the response of EDSM to a nonlinear system.
It can be seen from Figure 5(a) that the actual sliding pattern occurs in the system in a limited time. For the selected value of a, the value of the sliding mode band is 0.03. The sliding trajectory entered the frequency band for a limited time and remained there. The same is true for different perturbation range values. The change of the state trajectory over time is shown in Figure 5(b), which shows that the trajectory is finally in a stable state, so the system is in a stable state. The interevent time versus time is shown in Figure 5(d). After entering the sliding mode, the driving time    It can be seen from Figure 6 that, as in the above case, the sliding track enters the frequency band in a limited time. For the selected α value, due to the variable adjustment of the K value, the sliding mode band is reduced to 0.02 compared to the above case. The same is true for different perturbation range values. The trajectory is finally in a stable state. The above illustrates the effectiveness of the proposed variable event-driven transmission strategy.
It can be seen from Figure 7 that α of AEDSMC is continuously adjusted and its corresponding threshold is continu-ously adjusted until the error reaches a steady state. In this case, α eventually converged to 0.2039. In this case, K eventually converged to a constant value. Figure 8 shows the change in the S-function modulus. It can be seen that the S-function modulus is most stable in the sliding mode band, which is 0.02.
Compared with the EDSMC control scheme, the AEDSMC sliding mode band is 30% smaller than the above situation, effectively suppressing the sliding mode chattering phenomenon. The proposed driving scheme has a smaller number of driving events and a longer event driving interval, so it has better performance in terms of limited resource utilization. Table 3 summarizes the results and shows the number of trigger events.

Summary
In this paper, a variable threshold control method based on event driving was proposed and designed to solve the    9 Wireless Communications and Mobile Computing problem of insufficient robustness of a class of nonlinear network systems with external disturbances. Different from the current event-driven control system, the control scheme proposed in this paper can variably update the threshold parameter α according to the fuzzy rule after each event is driven and simultaneously update the parameter K of the sliding mode controller. In this scheme, the system with external disturbance has good robustness and adaptability. Simulation results show that the event-driven control scheme reduces the number of event triggers, saves system network resources, effectively suppresses the chattering phenomenon of sliding mode control, and meets system design performance requirements, which verifies the effectiveness and feasibility of the scheme. In the future work, we can consider other interferences, such as denial-of-service (DOS) attacks and study adaptive event-driven control in network control systems under DOS attacks.

Data Availability
The specific data description has been mentioned in detail in the paper.

Conflicts of Interest
The authors declare that they have no conflicts of interest.