Efficiency of Event-Based Sampling According to Error Energy Criterion

The paper belongs to the studies that deal with the effectiveness of the particular event-based sampling scheme compared to the conventional periodic sampling as a reference. In the present study, the event-based sampling according to a constant energy of sampling error is analyzed. This criterion is suitable for applications where the energy of sampling error should be bounded (i.e., in building automation, or in greenhouse climate monitoring and control). Compared to the integral sampling criteria, the error energy criterion gives more weight to extreme sampling error values. The proposed sampling principle extends a range of event-based sampling schemes and makes the choice of particular sampling criterion more flexible to application requirements. In the paper, it is proved analytically that the proposed event-based sampling criterion is more effective than the periodic sampling by a factor defined by the ratio of the maximum to the mean of the cubic root of the signal time-derivative square in the analyzed time interval. Furthermore, it is shown that the sampling according to energy criterion is less effective than the send-on-delta scheme but more effective than the sampling according to integral criterion. On the other hand, it is indicated that higher effectiveness in sampling according to the selected event-based criterion is obtained at the cost of increasing the total sampling error defined as the sum of errors for all the samples taken.


Introduction
Due to demand of developing low power wireless devices and systems, a growing interest in investigating event-based sampling schemes has been observed in recent years. On the system level, the representative example of event-based sampling application is a wireless sensor network that is essentially an event-based system intended to detect specified events of interest in a sensor field [1,2]. On the device level, event-based sampling has been applied in asynchronous analog-to-digital converters (A-ADCs) which are a new class of converters proposed recently [3][4][5][6][7]. In the A-ADCs, the periodic sampling is substituted by signal-dependent schemes where the sampling operations are triggered irregularly if a signal value varies by a specified increment. The A-ADCs are clockless circuits designed for ultra low-power and low-voltage sensing devices.
The event-based schemes are attractive especially for sampling bursty signals [1,[7][8][9]. As known, many signals in sensory applications (e.g., temperature sensors, speech signals, electrocardiograms, etc.) show bursty statistical properties. Bursty signals are constant for most of the time and may vary significantly only during short time intervals.
The idea of varying the sampling period and adjusting it to the current signal behavior is not new, see e.g., [10]. Since the early 60s, the adaptive sampling, that belongs to the class of signal-dependent techniques closely related to the event-based schemes, have been developed [11][12][13][14][15][16][17][18]. The adaptive sampling schemes are based on the real-time adjustment of the temporary sampling period to the predicted signal changes. The sampling period is allowed to vary from interval to interval in order to reduce the number of samples without degrading a system response. On the other hand, in several studies, the sampling period is adapted in real-time to achieve a satisfactory performance of a networked sensor/control system in varying load conditions [19], or of an embedded system with scheduling a set of controller tasks [20].
The essential difference between the adaptive sampling and the event-based sampling is that the former one is based on the time-triggered strategy where although the sampling instants are still controlled by the timer, the intersampling intervals may change. The event-based sampling, on the other hand, belongs to the event-triggered systems where the sampling operations are determined only by signal amplitude variations rather than by the progression of time.
Thus, the event-based sampling schemes belong to a special class of irregular observations where a pre-specified functional relationship between the sampling instants and signal behavior occurs. This relationship is defined by the sampling criterion. More specifically, in the event-based sampling, the signal is sampled when the significant event occurs (i.e., a significant change of its parameters is noted) [20]. Event-based data collection is used in the reactive networks where the sensing devices send new reports only when the variable being monitored increases or decreases beyond a threshold [21].
Various event-based sampling criteria have been proposed in the scientific literature in the past. In particular, numerous contributions to the state of the art in event-based sampling have been published in Sensors journal [1,2,8,9,19,22,23,26,27]. The most natural signal-dependent sampling scheme is the send-on-delta principle [1,29,[30][31][32]. According to this scheme the sampling is triggered if the signal deviates by delta defined as a significant change of its value referred to the most recent sample. The efficiency of the send-on-delta concept compared to the periodic sampling has been presented in [1].
Many studies that deal with the send-on-delta sampling use different terminology to describe this sampling principle. The term send-on-delta is accommodated to define data reporting strategy in sensor networking [1,9,[29][30][31][32]40,42]. In the control systems community, the name the deadband sampling [24,36,41], or the Lebesgue sampling [33] is applied. On the other hand, the term level-crossing sampling is used in the context of signal conversion and processing [3,4,6,7,[34][35].
The modified send-on-delta reporting strategy that improves network estimation performance when packet dropouts happen is proposed in [22]. A new sampling criterion, the send-on-delta scheme with prediction, that makes use of the first-order signal value prediction to trigger sampling operations has been introduced and compared to the pure send-on-delta technique in [9]. In References [8,23], the integral criteria for extensions of the linear send-on-delta scheme have been studied. The integral criterion introduced in [8] is suitable for tracking the signal in case of occurrence of the steady-state error but is sensitive to noise. The criterion introduced in [23], called the area-triggered sampling, operates well in noisy environments. On the other hand, it may be shown that the asymptotic effectiveness of the integral criterion in relation to the periodic sampling derived in [8] is valid also for the area-triggered sampling scheme proposed in [23]. The comparison of various event-based sampling schemes in particular applications is analyzed in [24][25][26] as follows. In [26], the characteristics of several event-based sampling schemes based on the experimental results of the level control of a tank is carried out. The relevance of particular event-based sampling schemes in the context of intelligent building networked control systems is presented in [25]. The application of the event-based sampling to greenhouse climate monitoring and control is reported in [2]. The further research problems referred to the systems with aperiodic sampling (which the event-based indeed is, among others) are studied in [27,28]. In [27], the problem of choosing sampling and hold devices to achieve output deviations close to its sampled values is analyzed. On the other hand, the properties of reachability, observability, controllability, and constructability of discrete-time linear time-invariant dynamic systems when the sampling instants are chosen aperiodically are discussed in [28].
A parallel line of research concerns the event-based control that has emerged as an attractive approach for addressing the problem of control system design under rate limitations [37][38][39][40][41][42][43].
The present paper is a next step in the series of the author's studies [1,8] that deal with the effectiveness of the particular event-based sampling scheme compared to the conventional periodic sampling as a reference. In this study, the analysis of the event-based scheme according to a constant energy of sampling error is presented. In general, this criterion, proposed in [45], is suitable for applications where the energy of sampling error should be bounded. This criterion may be also considered as variance-based since the continuous-time signal is sampled when the variance of the sampling error referred to the most recent sample reaches a predefined threshold.
In the error energy sampling criterion similarly as in the integral criteria, the sampling time is a function of the intersampling signal behavior since the signal variations occurring within the intersampling interval are successively accumulated. Instead, in the send-on-delta scheme, the sampling time depends only on the instantaneous signal value deviation by delta referred to the most recent sample [1]. The difference is that the successive sampling error values are squared before integration in the error energy based sampling criterion. Compared to the integral sampling criteria [8] (and area-triggered sampling [23]), the error energy criterion gives more weight to extreme sampling error values.
The present paper is an extended version of [45]. In the studies [1,8] as well as in the present paper, the comparison of both schemes is carried out for equality of the maximum sampling error in the domain that corresponds to the particular event-based sampling criterion. Thus, the maximum linear sampling error has been used for a comparison of the send-on-delta scheme and the periodic sampling [1]. To compare the event-based sampling according to the integral criterion to the conventional periodic sampling, the maximum integral error has been selected [8]. Consequently, in the present paper the comparison is carried out for the same maximum energy of the sampling error. Furthermore, the generalized criterion for event-based sampling is formulated and the concept of event-based temporal sampling has been extended to sampling signals in the space domain.
The paper contribution consists essentially in providing an analytical approximation of the mean sampling rate, and the derivation of the asymptotic effectiveness of the sampling according to the error energy criterion, which is defined as the effectiveness for an infinite sampling resolution. As it will be shown on the basis of the exemplified results, the effectiveness of the sampling according to the energy criterion for finite resolution differs not much from the asymptotic effectiveness. The applications of the derived formula for common transient responses in dynamical systems is presented. Finally, the asymptotic effectiveness of the sampling according to energy criterion is compared to the effectiveness of the send-on-delta, and of the event-based integral sampling.

Sampled Signal Definition
Let us assume that a sampled signal belongs to a class of signals of bounded variation. A signal x(t) defined over a time interval [a,b] is said to be of bounded variation if the following sum is bounded [46,47]: for every partition of the interval [a,b] into subintervals (t j-1, t j ), where j=1,2…,k; and t 0 = a, t k = b. The measure denoted by ) (x V b a and defined as: is said to be a total variation of a signal x(t) on the interval [a,b]. A signal of bounded variation is not necessarily continuous but it is differentiable almost everywhere. Moreover, x(t) can have discontinuities of the finite-jump type at most [46,47]. If x(t) is continuous, the total variation ) (x V b a might be interpreted as the vertical component (ordinate) of the arc-length of the x(t) graph, or alternatively, as the sum of all consecutive peak-to-valley differences. The definition of the signal of bounded varation is exemplified in Figure 1 where the partition of the interval [a,b] into a number of k = 9 subintervals is arranged, and the graphical interpretation of All the signals which appear in the physical reality or are generated in the laboratory can be approximated by a class of signals of bounded variations.

Definition of Energy Criterion
By the definition, a signal x(t) is sampled at the instant t i according to the energy criterion if the energy of a difference between the signal value x(t i ) and the value included in the most recent sample where i = 1,2,…,n is a number of samples taken during the analyzed time interval [a,b]. We assume also that the zero-order hold is used to keep the value of the most recent sample between sampling instants.
A detection of events that trigger sampling operations according to the error energy criterion may be implemented in the analog circuit, or using digital processing where the continuous-time signal is represented by periodic samples taken with high frequency.
The former implementation needs a circuit squaring the difference between the instantaneous signal value x(t) and the value corresponding to the most recent sample x(t i-1 ) followed by the integration circuit and the comparator. The squaring circuits usually take advantage of the squaring feature of MOSFETs [48]. The latter needs the upward event-driven architecture where the event-triggered communication is implemented on the top of the background time-triggered signal acquisition [49].

Motivation
The motivation to introduce the energy criterion for event-based sampling is similar to the argumentation for using the integral criteria [8,23]. As stated in [8,23], in the linear send-on-delta algorithm, the signal oscillations or the steady-state error are not detected by the sampling operations if these oscillations remain within the threshold [8,23]. In the sampling according to the error energy criterion, similarly like in the integral sampling schemes, the signal is "tracked" continuously since signal variations are accumulated during the sampling interval.
As follows from (3), in the error energy sampling criterion similarly as in the integral sampling, the sampling time is a function of the intersampling signal behavior since the signal variations that occur within the intersampling interval are successively accumulated [8]. The difference is that the successive sampling error values are squared before integration in the error energy based sampling criterion. Compared to the integral sampling criterion [8] and to the area-triggered sampling [23]), the error energy criterion gives more weight to extreme sampling error values.
Furthermore, the energy is one of fundamental signal measures with an important physical interpretation. The performance of monitoring or control system is usually defined as integral or energy of the error. The sampling according to energy criterion is useful in case of indirect measurements, in particular, when the measurements in the energy domain are performed. For example, it occurs if the electric energy is measured by sampling of current intensity signal or if the mechanical energy is estimated on a basis of tracking velocity.

Mean Sampling Rate Approximation
In the event-based schemes, the current sampling rate depends on the input signal variations and the sampling resolution defined as  1 . Intuitively, the high sampling resolution (small ) causes the number of samples in a time unit to increase, and conversely. Now we will derive the relationship between the sampling resolution  (threshold) and the mean rate of samples taken during the specified time interval [a,b].
By letting the signal x(t) be approximated by a truncated Taylor series, if the threshold  is small enough we have: where x′(t i-1 ) is the signal time-derivative at the instant t i-1 . Hence: The i t  can be derived from (5) as a function of the signal derivative x′(t i-1 ) at the point t i-1 and the sampling resolution : By the definition, the mean sampling rate s L , defined as the average number of samples in a time unit, in the uniform sampling in the energy domain is given by: For the sake of simplicity but without loss of generality, assume that the analyzed time interval is a sum of the sampling intervals, i.e., t 0 = a, t n = b, and: Furthermore, let us assume that the signal derivative x′(t) is constant at any time instant t within the ith sampling interval (t i-1 ,t i ) and equal to the derivative at the point t i-1 in the beginning of this interval: Hence: (10) This approximation (10) is more accurate if the threshold  is small.
On the basis of the equation (6), we obtain: On the basis of (8), (10), and (11), we obtain the expression for the mean sampling rate: If the lengths of the sampling intervals ∆t i = t i -t i-1 are small enough, the expression 3 constant in time so the sum of integrals on the right side of the formula (12) might be approximated by the single integral of the function 3 denotes the mean of the cubic root of the signal derivative square in the time interval [a,b] as follows: Summing up, the mean sampling rate according to the uniform event-driven sampling in the energy domain is expressed by two factors: -the mean of the cubic root of the signal derivative square 3 , which is a measure of the sampled signal x(t), -the resolution  of the energy sampling (threshold).

Selection of Sampling Period in Uniform Scheme
To estimate how effective the sampling according to energy criterion is in terms of the sampling rate, we compare it with the conventional periodic scheme. As a criterion of comparison we choose the same maximum energy of sampling error in both sampling schemes.
As a sampling period T we select such value that the energy of a difference between the current signal value x(t) and the value included in the most recent sample x(t i-1 ) = x((i-1)T) accumulated during each sampling period cannot exceed a given threshold ζ > 0 (compare with (3)): The sampling period T in the uniform scheme is adjusted to the fastest change of a signal during a time interval [a,b] so the following relationship is valid: where x′(t) max = max{x′(t); t  [a,b]} is the maximum of the first signal derivative in relation to the time during an interval [a,b].
Taking into account (16), the sampling rate s R in the periodic scheme is selected according to the following formula: The energy of the sampling error in the sampling period T reaches its maximum ζ only if the signal x(t) changes its value with the maximum rate defined by x′(t) max . During slow signal variations, the energy of the sampling error accumulated in the sampling period T is lower. Instead, the energy of the sampling error in the sampling scheme according to the energy criterion equals ζ in each sampling interval.

Effectiveness of Event-Based Sampling according to Energy Criterion
The effectiveness of event-based sampling according to energy criterion is defined similarly to the classical send-on-delta [1] and the integral sampling schemes [8] as the ratio of the periodic s R and the mean rate s L of the event-based sampling according to energy criterion measured during a certain time interval [a,b]: where the maximum energy of the sampling error  is the same in both schemes.
By setting (12) and (17) to (18), we have: Since the sampled signal ) (t x is approximated by the first two terms of the Taylor series (see (4)), the formula (19) gives only an approximation of the real sampling effectiveness. This approximation is more accurate if the number of samples, n, taken during a specified time interval [a,b] is high.
In particular, if the sampling resolution is infinite (ζ→0), then n→∞, and the sum in the numerator of the formula (20) approaches the integral as follows: (20) Let us define the asymptotic effectiveness χ ∞ of the sampling in energy domain in relation to the periodic sampling as: By setting (19) and (20) to (21), we have: Finally, taking into (14) in (22), the final formula for the asymptotic effectiveness is obtained: As follows from (23), the asymptotic effectiveness χ ∞ is independent of the sampling resolution defined by , and constitutes the embedded feature of the sampled signal similarly as for the send-on-delta scheme [1], and the integral sampling [8].

Comparing Sampling in Energy Domain to Integral Sampling and to Send-on-Delta Scheme
Comparison of the asymptotic effectiveness χ ∞ of sampling according to energy criterion defined by (23) to the asymptotic effectiveness q ∞ of integral sampling [8], and the minimum effectiveness p min of the send-on-delta scheme [1] shows that the sampling in energy domain is less effective than the send-on-delta scheme but more effective than integral sampling (for the send-on-delta scheme, the asymptotic effectiveness is the minimum effectiveness at the same time [1]): Moreover, the inequality (24) is reduced to the equality (q ∞ = χ ∞ = p min ) only for a pure linear signal. For the other continuous-time signals, the inequality (24) is strong, i.e., q ∞ < χ ∞ < p min .
On the other hand, it is straightforward to show that higher effectiveness in sampling according to the selected event-based criterion is obtained at the cost of increasing the total sampling error defined as the sum of errors for all the samples taken during a specified time interval.
Thus, the ratio of the sum of energy of all the sampling errors in sampling according to energy criterion to the energy of all the sampling errors in periodic sampling is higher than the ratio of the total integral error in the integral sampling to the total integral error in the periodic sampling. On the other hand, the opposite relationship exists for the sampling according to energy criterion compared to the linear send-on-delta scheme (the ratio of the sum of error energy in sampling in energy domain and periodic sampling is lower than the ratio of the total linear error in send-on-delta scheme and in periodic sampling).

Generalized Event-Based Sampling Criteria
The signal-dependent event-based sampling criteria might be approximated by a unified integral criterion as follows. The continuous-time signal x(t) is sampled at the instant t i according to the event-based sampling criterion if the characteristic function )] of a difference between the signal value x(t i ) and the value included in the most recent sample x(t i-1 ) accumulated during the ith sampling interval (t i-1 ,t i ) reaches a certain constant threshold θ > 0: where k, l > 0 are integers.
In particular, the integral sampling scheme is modeled for k = 0, l = 1, and the sampling according to energy criterion for k = 1, l = 2, respectively. For k = 1, l = 1, the generalized sampling criterion approximates the model of the send-on-delta principle for high sampling resolution (i.e., if θ is small). More precisely, modeling the send-on-delta scheme by the generalized event-based sampling criterion (25) is accurate provided that the approximation stated by (4) is satisfactory.
The generalized criterion defines also a set of the other event-based sampling criteria, for example, the time-weighted integral criterion for k = -1, l = 1. However, some event-based sampling schemes can be unstable, especially for slowly varying signals and high θ, meaning that the events triggering sampling operations might not occur for long time.
The generalized criterion (25) for event-based sampling is similar to the generalized criteria for adaptive sampling formulated in [15,18].

Event-Based Spatial Sampling
Since most physical phenomena are widespread in time and space, one of the primary objectives of sensor networks is to report the spatial distribution of a particular parameter (e.g., a temperature).
The traditional wired and wireless data and sensor networks have been designed as node-centric since data have been requested from a specific node. The node-centric networks are able to gather data from a selected points of interest (e.g., a room) where the knowledge of the spatial distribution of a physical magnitude being measured is not important.
Modern sensor networking architecture are data-centric rather than node-centric [50], meaning that data is requested based on certain attributes such as those which area has temperature greater than 20 °C [51]. The data-centric networks enable a systematic spatial monitoring of the sensor field. The representative application of spatial sampling in sensor networking is environment monitoring (e.g., fundamental processes of meteorology). Sampling and estimation of geographical attributes that vary across space (e.g., area temperature, urban pollution level) are common in many real-world applications [52,53].

Event-Based Spatial Reporting Strategy
The concept of event-based temporal sampling can be easily extended to sampling signals in the space domain. The difference is that continuous sensing of signals in the space, similarly as may be carried out in the time domain by the use of an analog sampling circuit, is impracticable in general. Instead, the continuous space signals are sampled by sensors deployed at discrete locations. Thus, the upward event-driven architecture is recommended to implement the distributed event-based system to sample continuous-space signals (see Section 2.2) [49].
Event-based reporting in the sensor networked system with the upward event-driven architecture is a two-step process corresponding to fine and coarse quantization of the signal value. First, the continuous-space signal is sampled by sensors deployed along the space being monitored (e.g., uniformly every unit distance) which results in conversion of the continuous-space to the discretespace signal. Next, the sensors process the samples and communicate together in order to detect a significant change of a characteristic parameter defined by the event-based reporting criterion. The specified change of the selected parameter is searched along the one-dimensional space in relation to the selected reference position. The locations of the sensing devices corresponding to the positions where the specified changes have been detected create the (one-dimensional) discrete-space picture of the characteristic parameter distribution. The density of sensors deployment should be high enough referred to the intended resolution of the event-based reporting. The concept of sampling continuously-spaced signals may be extended to two-dimensional and three-dimensional space domains.

Modelling Event-Based Spatial Sampling Density
Let as assume that the signal x(s) is a function of a one-dimensional space s. In order to keep the analysis as general as possible, we assume that continuous sensing of signals in the space domain is practicable. Furthermore, let us assume that the continuous-space signal x(s) is sampled at the position The mean spatial sampling densities according to the send-on-delta and to integral criterion may be defined similarly as for the corresponding event-based temporal schemes, see [1,8].

Simulation Results
To verify the derived analytical formula (23) for the asymptotic effectiveness of sampling in energy domain, we have run the simulations in Matlab/Simulink environment.
The test signal x(t) is the step-response of the second-order underdamped closed-loop system, given by the open-loop transfer function F(s) = (10s + 100)/s 2 . The signal x(t) has the following form in the time domain: and is presented in the Figure 2. The signal given by (28) has been used by several authors for investigating both the adaptive sampling algorithms and the event-based schemes (i.e., send-on-delta [1] and integral sampling [8]). The simulation has been run for the time interval (0;1.2[sec]) when the transient component of the response dies out and the signal becomes nearly constant at the end of the selected time interval. The zero-order hold is used. The simulation results are presented in Table 1 and in Figure 3.   The asymptotic effectiveness of sampling the test signal according to energy criterion equal to 4.82 is presented in Figure 3 as a horizontal asymptote together with simulation results. The sampling effectiveness for the highest but finite resolution 1/ζ = 10 8 obtained by simulation, equal to 4.802, is very close to the asymptotic value derived analytically.
For comparison, the asymptotic (and minimum) effectiveness of the linear send-on-delta for the test signal equals 7.02 [1], and the asymptotic effectiveness of the sampling according to integral criterion is 3.72 [8].

Asymptotic Effectiveness of Event-Based Sampling in Dynamic Systems
On the basis of the formula (23), the analytic expressions for the asymptotic effectiveness of the sampling in the energy domain for particular step responses of the first and second-order dynamic systems are listed. The signals defined by these step responses model a temporal evolution of the controlled object in many sensory applications.
The asymptotic effectiveness of the following signals are estimated: -step responses of the first-order system, of the differentiation circuit, and of the integration circuit, -critically damped step responses of the second-order and the nth-order systems, -second-order overdamped step response, -undamped step response (harmonic signal). The results are shown in Table 2. See for comparison corresponding results of the send-on-delta and integral sampling effectiveness listed in [1] and in [8].
As follows from Table 2, the asymptotic effectiveness of the sampling according to energy criterion for the time interval [0,b] is a function of η (or η 1 and η 2 for the system with different time constants), which is the length of the considered time interval (b) normalized to the appropriate time constants (η = b/T, η 1 = b/T 1 , η 2 = b/T 2 ). Note that the effectiveness for the pure harmonic signal equals 1.4 (for a comparison, the effectiveness of the linear send-on-delta equal 1.57, and of the integral criterion 1.31, respectively).

Signal
Step response Asymptotic effectiveness   In Table 3, the numerical values of the asymptotic effectiveness of the sampling according to energy criterion are listed. The time interval [0,b] selection (except for a step response of the undamped system) is based on the assumption that b represents the settling time of a system, i.e., the time required for the step response to stay within a specified percentage of its steady-state value. The percentage is shown in the first column, e.g., for the second-order critically damped system, b = 5T is set, because x(5T) = 0.959x 0 where x 0 is the steady-state value. For the second-order overdamped system, T 1 /T 2 = 7/5 is assumed since x(5T 1 = 7T 2 ) = 0.97x 0 . The presented results show that the asymptotic effectiveness of sampling in energy domain ranges between 1.039 and 2.31 for signals selected in Table 3. Only the effectiveness for the pure linear signal equals 1.
For the send-on-delta scheme, the asymptotic effectiveness is the minimum effectiveness at the same time, and in particular, the effectiveness of the send-on-delta scheme for the non-monotonic signals is independent of the sampling resolution [1]. Thus, for non-monotonic signals, the send-ondelta effectiveness is denoted by p instead of p min in Table 3.

Conclusions
The present paper is a next step in the series of the studies that deal with the effectiveness of the particular event-based sampling scheme compared to the conventional periodic sampling as a reference. The comparison of both schemes is carried out for equality of the maximum sampling error in the domain that corresponds to the particular event-based sampling criterion. In the present study, the event-based sampling scheme according to a constant energy of sampling error is analyzed. As expected, this criterion is suitable for applications where the energy of sampling error should be bounded. Thus, the proposed sampling scheme extends a range of event-based sampling schemes and makes the choice of particular sampling criterion more flexible to application requirements.
In the paper, it is proved analytically that in order to keep the energy of sampling error bounded, the proposed event-based sampling criterion is more effective than the periodic sampling by a factor defined by the signal derivative. Furthermore, it is shown that the sampling according to energy criterion is less effective than the send-o-delta scheme but more effective than the sampling according to integral criterion. On the other hand, it is indicated that higher effectiveness in sampling according to the selected event-based criterion is obtained at the cost of increasing the total sampling error defined as the sum of errors for all the samples taken during a specified time interval.