#### Abstract

In this paper, an energy-efficient control solution for an Unmanned Ground Vehicle (UGV) in a Wireless Sensor Network is proposed. This novel control approach integrates periodic event-triggered control, packet-based control, time-varying dual-rate Kalman filter-based prediction techniques, and dual-rate control. The systematic combination of these control techniques allows the UGV to track the desired path preserving performance properties, despite (i) existing scarce data due to the reduced usage of the wireless sensor device, which results in less number of transmissions through the network and, hence, bandwidth and battery saving; (ii) appearance of some wireless communication problems such as time-varying delays, packet dropouts, and packet disorder; and (iii) coping with a realistic scenario where external disturbance and sensor noise can arise. The main benefits of the control solution are illustrated via simulation.

#### 1. Introduction

A Wireless Sensor Network (WSN) [1, 2] can be defined as a group of sensors for monitoring and recording system conditions, which are wirelessly transferred to a central location. In recent years, the development of smart sensors has led WSNs to gain worldwide attention. Some trending applications on WSNs are target tracking [3, 4], health monitoring [5, 6], and environment exploration [7, 8]. Smart sensor nodes are low-power devices equipped with one or more sensors, a digital processor, memory, a power module, a wireless communication module, and an actuator. Sensors of differing nature (mechanical, optical, magnetic, etc.) may be attached to the sensor node to measure system variables. Since memory of the sensor nodes is limited, the wireless communication enables transferring of the measured data to a base station (e.g., a laptop), which is usually provided with powerful processing and storage capabilities. In this way, the base station may be able to compute complex control algorithms.

Differently from traditional networks, a WSN has its own design and resource constraints. Resource constraints include short communication range, a limited amount of energy (which is supplied by battery), low bandwidth, and limited processing and storage capabilities (being not capable of running complex control algorithms). As sensor nodes operate on limited battery power, and data transmission is very expensive in terms of energy consumption [9], a central aspect in WSNs is the optimization of communication in order to reduce energy usage. In other words, one of the main aims in WSNs is to get efficient reliable wireless communications in order to maximize network lifetime. This aspect has been widely treated in the literature therein from different points of view. In general, three main techniques are typically used [10]: duty cycling, data-driven approaches, and mobility. Duty cycling allows nodes to assume a low-power, idle state whenever they are not transmitting or receiving (see, e.g., in [11, 12]). Data-driven approaches are designed to reduce the amount of sampled and transmitted data (see, e.g., [13, 14]). Mobility is focused on minimizing the communication distance and altering traffic flow (see, e.g., [15, 16]). In the present paper, a novel data-driven approach based on the systematic combination of periodic event-triggered control, packet-based control, time-varying dual-rate Kalman filter-based prediction techniques, and dual-rate control is proposed. As a data-driven approach, the control solution enables the reduction of the sensor node usage, which implies less packet deliveries and, hence, battery and bandwidth saving. This reduction of the resource utilization can be reached while preserving performance properties when tracking a desired target. In addition, the control proposal is able to guarantee reliable packet delivery by dealing with some wireless communication problems such as network-induced delays, packet dropouts, and packet disorder. Finally, the control approach is also able to cope with realistic scenarios, where external disturbance and sensor noise can arise.

In periodic event-triggered control (PETC) [17, 18], system data are transferred only when output variables satisfy certain event conditions, which are periodically evaluated. Compared to the traditional time-triggered control, PETC enables further reduction of resource utilization such as bandwidth and energy consumption [19, 20]. As the controller (located at the base station) is provided with less system data, event-based state prediction techniques must be additionally included in order to estimate the nonavailable data and keep performance properties. Both continuous-time (see, e.g., [17]) and discrete-time (see, e.g., [21]) frameworks are found in the literature on PETC. In this paper, the last case is adopted by integrating a time-varying dual-rate Kalman filter with a dual-rate controller.

Regarding event-based state prediction techniques, different approaches address this aspect in the literature, for instance, distributed event-triggered filtering in [13, 14, 22], a model-based predictor in [18, 23], and time-varying Kalman filters in [24–26]. Following this line of research on time-varying Kalman filters, in this paper, a time-varying dual-rate Kalman filter (TVDRKF) is used in order to provide nonavailable data and compute an -step ahead state prediction stage. The nature of this filter is (i) dual-rate, due to the consideration of a slow-rate state correction stage along with a fast-rate prediction stage, and (ii) time-varying, because the correction stage is carried out in a nonuniform fashion as a consequence of the event-triggered sampling scheme. Unlike [26], the Kalman filter is now integrated in a WSN, where communication problems such as network-induced delays and packet dropouts can appear. Hence, the TVDRKF is able to estimate the nonavailable data not only due to the event-triggering sampling but also due to the packet dropouts. In addition, the TVDRKF is also able to compensate for the time-varying network-induced delays. To cope with both problems, the integration of packet-based control strategies in the control solution is needed.

Packet-based control [27, 28] is a technique which enables decrease of the communication rate by simultaneously sending a set of data in each transmission. In our work, this strategy is useful not only for resource-saving purposes but also for complementing the TVDRKF, since the controller (located at the base station, including the TVDRKF) is allowed to send a set of -step ahead control signal estimations in a packet through the network to the actuator (located at the sensor node). The computation of the control signal estimations is carried out from the set of -step ahead state predictions obtained by the TVDRKF and following a delay-free control algorithm. This is a relevant aspect of this work, since, for implementation purposes, the round-trip time delay is not required to be measured and compensated for, which makes the solution applicable to a wide range of WSNs where the time delay is difficult to measure. In this way, at the actuator, when no packet arrives, estimated control actions received in the previous transmission are applied to the plant, without being influenced by the time-varying network-induced delay. When the packet arrives after the delay, the estimated control signal is replaced with the actual one. The difference between actual and estimated control signals should be negligible, since (i) an accurate system model is assumed and (ii) although a realistic scenario is considered, where possible external disturbance and measurement noise can arise, these aspects are faced by the TVDRKF. To the best of the authors’ knowledge, the working mode of the proposed control algorithm is novel in this kind of frameworks.

In dual-rate control [29–31], a slower sensing rate in comparison to a faster actuation can be assumed. The event-triggered conditions at the sensor node are periodically evaluated at the slow rate. Despite sensing in this way, the fast actuation enables achieving acceptable control properties. In addition, dual-rate control techniques provide twofold benefits: (i) to lessen the amount of transmissions through the network, which results in energy and bandwidth saving, and (ii) to elude packet disorder, selecting the sampling period to be larger than the largest round-trip time delay. As a statistical distribution for the network-induced delay is assumed to be known [32], the largest delay can be easily found. In the present work, due to the broad knowledge of PID controllers in academic and industrial environments, a dual-rate PID control scheme is considered. The estimated disturbance signal obtained by the TVDRKF is used to finally tune the PID control signal.

In order to show the potential of the ideas posed in this work, the control solution is employed in the context of a popular control application, that of Unmanned Ground Vehicles (UGVs). In fact, the large number of UGV applications such as target tracking, inspection, and mapping has attracted the attention of the scientific community (see, e.g., [33, 34]). In our work, a target tracking application in a WSN is developed, where the Pure Pursuit path tracking algorithm [35, 36] is used in order to make the UGV follow a predefined path approximately. The algorithm computes velocity commands from velocity estimations provided by the TVDRKF. The UGV chosen will be a differential robot.

In summary, the main contribution of the present work is the development of a novel and complete approach for WSNs, where a TVDRKF, a dual-rate controller, and a Pure Pursuit path tracking algorithm are systematically brought together in a PETC scenario in order to considerably lessen resource usage (energy and bandwidth), and dealing with some wireless communication problems and disturbance and noise, while keeping satisfactory control properties.

Finally, the work is structured as follows. Section 2 presents the energy-efficient control solution. Section 3 introduces the event-triggered conditions and control structures used in the control solution. Section 4 presents some cost indexes to analyze the trade-off between control performance and resource utilization. In Section 5, a realistic application of the control solution to UGVs is simulated and its effectiveness validated, via a simulation tool known as TrueTime [37], which is based on MATLAB/Simulink^{®}. Section 6 summarizes the main conclusions of the paper.

#### 2. Problem Scenario

The energy-efficient control solution taken into account in this work is illustrated in Figure 1. The control system presents two components: the sensor node, where the sensor, actuator, and plant are included, and the base station, where the control algorithm is implemented. In both components, some trigger mechanisms are used to decide when the data is going to travel through the network. The wireless network connects both sides and introduces some communication problems such as time-varying delays, packet dropouts, and packet disorder. In the next subsections, these problems are formally described and the working mode of the control structure is presented.

##### 2.1. Time-Varying Network-Induced Delays, Packet Dropouts, and Packet Disorder

As said in the previous section, dual-rate control is used in the proposed approach. Then, two different periods are considered: as the actuation period and as the sensing period, with being the multiplicity between the two periods of the dual-rate control scheme [30]. Let us, respectively, denote and as a -period and an -period signal or variable, where are iterations at the corresponding period. For a packet sampled at instant , being effectively sent (i.e., the trigger conditions hold) and not lost, the round-trip time delay is defined as with being the sensor-to-controller network-induced delay, the controller-to-actuator delay, and a computation time delay. As a local clock is assumed to govern the different devices located at the sensor node, they can be completely synchronized. As a consequence, in order to measure the round-trip time delay, no additional time-stamping techniques and synchronization are needed. The delay can be measured by subtracting packet sending and receiving times. Note that, although a shared clock can be supposed in some WSN applications (as in this work), it might be hard to satisfy for other applications, for example, in distributed wireless sensor nodes, where an option may be to synchronize nodes [38].

To avoid packet disorder, in this work, it is strictly necessary to know the maximum round-trip time delay such that . This condition may be relaxed by taking advantage of the Kalman filter-based estimation techniques used in this work but additionally requiring the implementation of time-stamping techniques to detect the disorder. From off-line experiences on the WSN, the statistical distribution of the round-trip time delay can be obtained and, hence, . Since, in the present work, UDP is used as the transport layer protocol, the delay distribution may be approximated as a generalized exponential distribution [39]. The consequent probability density function can be expressed as follows: with the variance of the delay being and its expected value being . The median of the delay may be a viable choice for , and can be deduced from and an experimental value of .

As is well-known, if UDP is used as the transport layer protocol, packet dropouts may appear. Since this phenomenon is basically random [32], it can be modeled as a Bernoulli distribution [40]. Let us, respectively, indicate the possible sensor-to-controller and controller-to-actuator packet dropouts by means of and . In the present work, both cases are contemplated as a Bernoulli process, whose probability of dropout is, respectively, given by and :

##### 2.2. Control Structure

Next, the two components (sensor node and base station) and the signals involved in the energy-efficient control system are detailed.

As shown in Figure 1, the sensor node includes a UGV as the plant to be controlled, which is composed of two motors (for the right and left wheels) and is subject to noise and disturbance signals. The control action to be applied to the right and left motors is . The output to be sensed is the rotational velocity of both motors . This output is sent to the base station when the periodic event-triggered condition defined at the sensor device holds.

The base station includes the control algorithm, which integrates a time-varying dual-rate Kalman filter (TVDRKF), a Pure Pursuit path tracking algorithm (which receives the desired path from the reference generator), and a dual-rate controller. In addition, an event-triggered condition is defined in order to decide when the control signal is sent to the actuator located at the sensor node. This condition is assessed only when a sampled output is received from the sensor. Thus, unlike the condition included at the sensor, the condition defined at the base station is not periodically evaluated.

Next, the proposed scenario is described (more details can be found in Section 3): (i)When the periodic event-triggered condition is satisfied at the sensor, a new output is sent to the base station. If no dropout occurs in the sensor-to-controller link, , the output is received at the base station after a delay . Then, the control algorithm computes the number of periods elapsed between the previous and current outputs that are received by the base station. Let us name this amount of periods as the multiplicity of the TVDRKF, which relates the sensing rate to the receiving rate at the base station , where , with being the multiplicity of the dual-rate sampled-data system. Since the data pattern received by the base station follows a nonuniform scheme, the value and, in consequence, are time-varying(ii)From , the gain of the TVDRKF can be calculated in order to perform the correction of the estimator, resulting in the estimate of the state, , where, in general, the notation will be used to define the estimate of the state based on the sensed process output up to time instant , being (iii)From , the estimated, corrected output and a set of -estimated values inside the period for the disturbance signal that affects each motor can be obtained. The set of estimated values of the disturbance will be later used by the dual-rate controller to finally tune the control action(iv)From , and , which is the path reference, the Pure Pursuit path tracking algorithm calculates the rotational velocity command (dynamic reference) (v)From and , the dual-rate controller is utilized to generate the set of current, estimated control actions in order to achieve the desired control performance. The control signal is finally tuned by means of the set of -estimated values of the disturbance in order to compensate for the actual ones (where a unique signal is considered for both motors)(vi)From and the model of the plant, the TVDRKF’s prediction stage can be carried out, giving . Then, the next estimated output and the next set of estimated disturbances can be calculated. From the estimated output, and taking into account the next path reference , the Pure Pursuit algorithm gets the next dynamic reference . Finally, the dual-rate controller is able to compute the next set of control actions from the estimated output, the dynamic reference, and the set of estimated disturbances. By means of this -step ahead prediction algorithm, a set of future, estimated values of the control signal can be computed(vii)When the event-triggered condition at the base station is satisfied, the current control signal and the future ones are sent to the actuator in a packet. If no dropout occurs in the controller-to-actuator link, , the whole set of control actions is received at the sensor node after a delay . Therefore, the actuator injects the current control action and the future ones while no new packet is received for the future periods. In each period, the actuation occurs at uniformly spaced instants under Zero Order Hold (ZOH) conditions (i.e., is applied at , is injected at , and so on, up to , which is actuated at ). That results in a uniform actuation pattern inside the sensor period . In conclusion, the working mode is to use estimated control actions when no new actual ones are received by the sensor node and is to replace the estimations with the actual actions when the packet is received. As external disturbance and measurement noise are faced by the TVDRKF, and an accurate system model is assumed, estimated and actual values are usually very similar

#### 3. Energy-Efficient Control Solution Design

Next, each component of the control system is defined in detail.

##### 3.1. Plant Modeling

Considering state-space representation, the model of the plant at sampling period takes this form: where, for the sake of simplicity, let us name (i) as the measurement, that is, the rotational velocity either for the right motor or for the left motor (ii) as the control signal, regardless of the motor ( or )

In addition, is the measurement noise, is the disturbance signal, is the process state (regardless of the motor), and , , and are matrices with suitable dimensions.

Using -transform at period , the input-output plant model for the control signal (input) and the measurement (output) is represented as a discrete-time transfer function: with being the -unit operator.

Given a broadband noise , the disturbance can be generated through the following dynamics: where is the disturbance state and , , and are matrices with proper dimensions. Considering (5) and (7), the system can be augmented as follows:

Assuming the following notation: the augmented system in (8) can be expressed as that admits a lifted representation [41] such as which can be equivalently seen as a dual-rate sampled-data system, where the output at period , , is obtained from a sequence of inputs at period , .

##### 3.2. Event-Triggered Conditions

Let us denote as the scheduling variable at the sensor. When , the sensor data is transmitted, and when , no transmission is carried out. The variable is used to store the latest sensor data in such a way that where . By means of a discrete-time version of the so-called mixed triggered mechanism [42] based on the process output , the periodic event-triggered condition at the sensor can be implemented. In this way, the measurement is sent to the base station through the network (i.e., ) when where and and are positive constants. Note that usually, is chosen to take values close to zero or even zero (in any case, smaller than one) [43].

When , the control algorithm calculates the control signal . Let us denote as the scheduling variable for the control signal. When , the signal is transmitted, and when , no transmission is carried out. The variable is used to store the first value of the last sent control signal in such a way that where . By means of the following mixed triggered mechanism, the control signal is transmitted to the sensor node: where and and are positive constants. As previously commented with regard to the choice of , note that typically is chosen to be less than one.

Observe that the feedback loop is only closed from sensor node to base station and back to sensor node, when the conditions (13) and (15) hold (and, hence, ). If one of them is not satisfied (i.e., or ), then the control signal is not updated. Nevertheless, the future control actions , which were previously sent, can be used by the actuator in order to keep satisfactory control properties.

##### 3.3. Time-Varying Dual-Rate Kalman Filter

Considering and as zero-mean white noises for the single-rate system in (10), the best linear estimation for in the sense of mean square error is provided by the conventional Kalman filter [44]. When different rates are involved in the control system, a multirate Kalman filter containing corrections and predictions [45] is required. In our work, dual-rate control and periodic event-triggered control (PETC) are integrated in order to save system resources (energy and bandwidth). As a consequence of using PETC, not all the measurements are sent to the base station, which results in a time-varying dual-rate Kalman filter (TVDRKF) [24–26]. From Extended State Observer (ESO) [46] and multirate Kalman filter [45, 47] techniques, the proposed TVDRKF is able to estimate the plant measurement and disturbance, following a nonuniform dual-rate scheme.

Taking into account (13), the outputs sampled at the slow rate arrive at the base station at a slower rate in a nonuniform fashion. The multiplicity of the TVDRKF was previously introduced in Section 2. It can be now enunciated from the previous output received by the base station (which was sampled in time, say, ) and the current received output . Hence,

Due to the nonuniform nature of the pattern, and in consequence will be time-varying. From the current received output, the TVDRKF can perform the correction (and filtering) stage and then the -step ahead state predictions at the fast rate . In order to do it, the lifted representation in (11) can be taken, replacing with .

From the notation introduced in Section 2, which is used to denote the estimate of the state based on the output previously sensed at instant , the correction and prediction stages of the TVDRKF can be designed as follows (illustrated in Figure 2):
(i)*Correction stage*: when a new measurement c is available at time , it can be used to make correction for the prediction . Expressing this stage at period results inwhere, from multirate Kalman filter design techniques, the time-varying can be calculated:
where denotes transpose function, , and
where denotes the expectation and *.*(ii)*Prediction stage*: when no new measurement is available between the previous sensed output and the next sensed output (or, equivalently at period , between the previous sensed output and the next sensed output ), the best estimates , are obtained from the open-loop dynamic-based prediction:where must be defined to fulfill , with being the maximum value of . This definition ensures the computation of TVDRKF’s correction stage, since the required ahead state will be available. Moreover, from (20), the set of -estimated outputs and disturbances (regardless of the motor) can be calculated:

##### 3.4. Pure Pursuit Path Tracking Algorithm

From the desired kinematic reference and the plant output generated by the TVDRKF at period , , which is composed of corrected estimations obtained when measurements are received by the base station (i.e., when the condition (13) holds and, hence, ), the Unmanned Ground Vehicle (UGV) is able to infer its current position using a path tracking algorithm. In this work, Pure Pursuit via odometry technique is chosen. Basically, the Pure Pursuit algorithm tries to determine the velocity and turning conditions at every time interval so that the UGV follows a prescribed trajectory [48]. Odometry is the simplest way for dead reckoning implementation, which is a method used to compute the vehicle’s current position from a previous position, knowing additionally in advance the robot speed and path in a certain period of time. Odometry is usually based on motor rotation considering their encoder measurements.

The path tracking algorithm generates the dynamic reference based on the rotational velocity for both wheels, i.e., , in order to properly reach the next point of the desired trajectory. The UGV path tracking is composed of a set of future dynamic references . In order to establish these references, the trajectory that must be followed by the UGV is required to be known in advance. This task is developed by the reference generator, which is in charge of providing the Pure Pursuit algorithm with the sequence of -step ahead kinematic references .

###### 3.4.1. Differential Kinematics

While direct kinematics specifies the positions that the UGV is able to reach by giving the wheel speed, differential kinematics establishes relations between motion (velocity) in joint space and motion (linear/angular velocity) in task space (e.g., Cartesian space). A two-wheel UGV rotates with respect to a point located in some place of the axis, which is shared by the two wheels. This point is known as Instantaneous Rotation Center (IRC), that is, the point with zero velocity at a particular instant of time in a body undergoing planar movement. IRC varies according to wheel speed variations.

Each wheel follows a trajectory with the same rotational velocity with respect to the IRC. This fact implies that the linear velocity of the wheels are where and are, respectively, the linear velocity for the right and left motors, is the distance between the two wheels, and is the distance between the IRC and the middle point of the distance between the wheels. Therefore, and the rotational velocity of the robot is

###### 3.4.2. Path Tracking Algorithm

The Pure Pursuit algorithm is based on the computation of the curvature that a vehicle must adopt from its current position () to a target position (). As depicted in Figure 3, for this purpose, a circle of radius that joints both points is defined. The center of the circle is placed in . In addition, the distance to the target point is . Therefore, it is possible to express being the curvature and the so-called Pure Pursuit control law:

As can be seen, the control law is proportional to the lateral shift and inversely proportional to the square of . Assuming robot coordinates for the current position () and for the target, reference position (), and the angle as the current vehicle heading, the Pure Pursuit control law can be expressed as follows:

For a desired linear velocity , the rotational velocity reference can be calculated as

The path tracking algorithm requires determining one point located at a minimum distance from the current point, i.e., the so-called Look Ahead Distance (LAD), not considering the nearest points in the prescribed trajectory. This procedure avoids a severe correction, and hence, it leads to a soft movement.

Finally, these are the steps to be followed when the main loop of the Pure Pursuit algorithm is implemented (depicted in more detail in Figure 4): (1)UGV rotational and linear velocity calculation from system output estimations and corrections provided by the TVDRKF at period (i.e., calculation of and , respectively, from and ,that is, ). This is obtained from (22), where , with being the wheel radius, and (25):(2)UGV position and orientation computation in the time period :for , where and are the initial position and orientation. (3)Generation of the future reference for the robot, : from the desired kinematic reference and the Look Ahead Distance (LAD), the nearest point to the future path tracking that is located far away from the LAD is calculated(4)Control law computation: from and , the control law is computed at period by using (29), and then, is calculated for each wheel by using (30) and from a desired Finally, from these data, can be calculated:

##### 3.5. Dual-Rate Controller

In this work, in order to reach the desired control performance, a dual-rate controller is used. From -period signals such as the dynamic reference generated by the Pure Pursuit path tracking algorithm and the estimated, corrected output obtained by the TVDRKF, the dynamic dual-rate controller computes control actions at period for each wheel, . This control signal is finally tuned by adding the disturbance estimations generated by the TVDRKF at period , . Following this operation mode for the next dynamic references and outputs, and , respectively, and the next disturbances , the set of future control actions can be obtained.

Different alternatives can be followed to design a dual-rate controller (see, e.g., in [29, 30]). In this case, the model-based dual-rate controller design described in [29] is chosen, where the structure of the controller includes (see in Figure 5) the following: (i)a slow-rate subcontroller (ii)a digital hold (iii)a fast-rate subcontroller where the input of is the error signal , and note that the output of (i.e., ) is expanded before being injected to the digital hold . The expanded operation implies filling the slow-rate signal with zeros at the fast-rate instants (more details can be found in [29]). Then, the digital hold obtains its output by means of which in conclusion results in the subcontroller output repeated times. From the consideration of as the desired closed-loop control performance of the original continuous-time system design, the subcontrollers and will be designed as follows: where was presented in (6) and comes from the discretization of the continuous-time plant model at period under ZOH conditions and and are the discretization of at periods and , respectively, using ZOH techniques as well. This procedure leads to a behavior that perfectly matches in the sample points at period , but sometimes (if is too large), it can introduce a ripple between samples. The way to overcome this ripple is also described in [29], and it is based on modifying the fast-rate subcontroller design in this way: with being the discrete-time version at period of the original continuous-time controller design. By using (39), the dual-rate controller does not cancel the numerator of the process transfer function , avoiding the ripple.

#### 4. Cost Indexes for Control Performance and Resource Usage

In this section, certain cost indexes closely related to control performance and resource usage will be presented. By means of these indexes, the energy-efficient control proposal may be compared with the conventional time-triggered control strategy. Regarding control performance, similar to [49], these three cost indexes will be used: (i), which is based on the -norm and with a goal to provide a measure about how accurately the path is followed:where is the number of iterations required by the UGV to reach the final point of the path; is the current UGV position, which was defined in (32) and (33); and is the nearest kinematic position reference to the current UGV position (ii), which is based on the -norm and is defined to know the maximum difference between the desired path and the current UGV position:(iii), which measures the total amount of time (in seconds) elapsed to arrive at the final destination:

To analyze the reduction of the resource usage in the energy-efficient control solution compared to the traditional time-triggered control, the cost index is defined by making use of the number of transmitted packets () in each case: for the energy-efficient control and for the time-triggered control. In this way, (in %) can be expressed as

#### 5. Simulation Results via TrueTime

In this section, the main advantages of the energy-efficient control solution compared to the time-triggered one will be shown. The study will be focused on the trade-off between resource usage and control properties. The section is split into two parts. Firstly, important data used for the simulation will be presented (transfer function, delay distribution, control parameters, and so on). Secondly, the cost indexes introduced in Section 4 will be evaluated by means of a TrueTime application [37].

##### 5.1. Application Data

Considering a similar model for both wheel motors, the model is described by means of this transfer function: where the output is in rad/s, and the input in V.

From previous off-line experiences on this WSN framework [49], different round-trip time delay distributions, which can be modeled such as in (2), lead to considering a maximum time delay slightly less than 200 ms. Then, as commented in Section 2.1, the sensor period is chosen as in order to ensure no packet disorder. As it will be later detailed, in this case, choosing allows the UGV to accurately track the path.

In this simulation, let us assume the packet dropout probability as and in (3).

The discrete-time controller design comes from the discretization at different periods of this continuous-time PID controller, which is designed following classical procedures [50, 51] and this typical configuration: where and in order to achieve some specifications. The single-rate controllers are

The dual-rate controller is obtained by means of (37) and (39), bringing about

The disturbance, which is defined at period as in (7), is

The time-varying dual-rate Kalman filter (TVDRKF) is designed considering the augmented state resulting from the consequent state-space realization (5) for (44) and from the disturbance (50).

The positive constants in (13) and (15) for the event-triggered conditions will be, respectively and and and .

Finally, the reference to be followed includes a sequence of four right angles.

##### 5.2. TrueTime Simulation and Cost Function Evaluation

Starting from a time-triggered single-rate control scenario with neither noise nor disturbance and neither time-varying delays nor packet dropouts and using the controller at period in (46), some performance worsening is observed when the UGV tries to track the path (depicted in Figure 6) compared to the single-rate version at period in (47) (shown in Figure 7). Let us consider the performance reached at period as the nominal, desired one. Taking into account the dual-rate controller in (48) and (49), the time-triggered dual-rate control system is able to maintain a satisfactory control performance, very similar to the nominal one (as shown in Figure 8). But, including time-varying delays and packet dropouts, the performance is clearly worsened, becoming unstable (see in Figure 9).

If the TVDRKF is incorporated into the time-triggered dual-rate control system, where packet-based control is also integrated, the performance is clearly improved (illustrated in Figure 10), being very similar to the nominal one, despite additionally including both measurement noise and external disturbance. Figure 11 shows that the disturbance estimation accurately follows the actual disturbance.

Finally, event-triggered conditions are added to the WSN, and then, the system becomes a periodic event-triggered dual-rate control system. The performance obtained is similar to that reached by the time-triggered version of the system (see in Figure 12), but now a clear reduction of the number of transmitted packets is achieved, which leads to reducing resource usage (bandwidth, energy).

To analyze the previous conclusions in more detail, the cost indexes presented in Section 4 are calculated for each scenario. Table 1 shows these results, where each scenario is represented by the following letters: (i)a: time-triggered single-rate control scenario at period (ii)b: time-triggered single-rate control scenario at period (iii)c: time-triggered dual-rate control scenario(iv)d: time-triggered dual-rate control scenario, adding TVDRKF, and packet-based control(v)e: periodic event-triggered dual-rate control scenario, with TVDRKF, and packet-based control

As previously commented, the desired, nominal performance is presented by scenario b, and hence, , , and show the reference values to carry out the comparison. As expected, scenario a shows the worst , since the desired trajectory is inaccurately followed by the UGV. Scenarios c and d show a similar than scenario b (even 1% better). Scenario e worsens this index by around 13%. Regarding index , it is worsened by around 16% by every scenario compared to the nominal performance. However, presents the same value for cases c, d, and e, being 1% worse for scenario a. Finally, as expected, presents the worst case in scenario b, being 50% reduced compared with scenarios a and c because of the network sampling being two times slower and even a bit more than 50% of the reduction (around 52%) in scenario d, due to the additional packet dropouts. Scenario e reaches the best value for index with around 75% of reduction.

As a summary, the proposed control approach is able to significantly reduce resource usage (around 75%) while keeping satisfactory control properties, which is only worsened by around 15% on average, and despite the existence of wireless communication problems such as time-varying delays and packet dropouts.

#### 6. Conclusions

The proposed energy-efficient control solution for a UGV in a WSN enables lessening the amount of transmissions through the network, which results in bandwidth and battery saving, despite keeping a satisfactory system performance. The solution integrates dual-rate control, periodic event-triggered control, packet-based control, and time-varying dual-rate Kalman filter-based prediction techniques. Additionally, the approach deals with wireless communication problems (such as time-varying delays, packet dropouts, and packet disorder) and copes with a realistic scenario, where measurement noise and external disturbance can occur.

#### Data Availability

The data can be provided under petition.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.

#### Acknowledgments

This research work has been developed as a result of a mobility stay funded by the Spain Visiting Fulbright Scholar Programme of the Fulbright Commission and the Spanish Ministry of Education under “Programa Estatal de Promoción del Talento y su Empleabilidad en I+D+i, Subprograma Estatal de Movilidad, del Plan Estatal de Investigación Científica y Técnica y de Innovación 2013-2016.” In addition, the research was funded in part by Grant RTI2018-096590B-I00 from the Spanish Government and by the European Commission as part of Project H2020-SEC-2016-2017—topic: SEC-20-BES-2016—ID: 740736—“C2 Advanced Multi-domain Environment and Live Observation Technologies” (CAMELOT). Part WP5 supported by Tekever ASDS, Thales Research and Technology, Viasat Antenna Systems, Universitat Politècnica de València, Fundação da Faculdade de Ciências da Universidade de Lisboa, Ministério da Defensa Nacional-Marinha Portuguesa, Ministério da Administração Interna Guarda Nacional Republicana.