Next Article in Journal
An Enhanced Offset Tracking Method: Providing Auxiliary Information for DInSAR Phase Filtering in Urban Areas
Previous Article in Journal
The Performance Investigation of Smart Diagnosis for Bearings Using Mixed Chaotic Features with Fractional Order
Previous Article in Special Issue
Pipeline Leakage Detection Using Acoustic Emission and Machine Learning Algorithms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Integrated Framework for Data Quality Fusion in Embedded Sensor Systems

1
Siemens AG, Technology, 91058 Erlangen, Germany
2
Machine Learning and Data Analytics Lab, Department Artificial Intelligence in Biomedical Engineering (AIBE), Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU), 91052 Erlangen, Germany
3
Keyence Deutschland GmbH, 63263 Neu-Isenburg, Germany
4
Institute of Electronics Engineering, Faculty of Engineering, Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU), 91054 Erlangen, Germany
5
Faculty of Electrical Engineering, Precision Engineering, Information Technology, Nuremberg Institute of Technology, 90489 Nürnberg, Germany
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(8), 3798; https://doi.org/10.3390/s23083798
Submission received: 25 February 2023 / Revised: 14 March 2023 / Accepted: 3 April 2023 / Published: 7 April 2023

Abstract

:
The advancement of embedded sensor systems allowed the monitoring of complex processes based on connected devices. As more and more data are produced by these sensor systems, and as the data are used in increasingly vital areas of applications, it is of growing importance to also track the data quality of these systems. We propose a framework to fuse sensor data streams and associated data quality attributes into a single meaningful and interpretable value that represents the current underlying data quality. Based on the definition of data quality attributes and metrics to determine real-valued figures representing the quality of the attributes, the fusion algorithms are engineered. Methods based on maximum likelihood estimation (MLE) and fuzzy logic are used to perform data quality fusion by utilizing domain knowledge and sensor measurements. Two data sets are used to verify the proposed fusion framework. First, the methods are applied to a proprietary data set targeting sample rate inaccuracies of a micro-electro-mechanical system (MEMS) accelerometer and second, to the publicly available Intel Lab Data set. The algorithms are verified against their expected behavior based on data exploration and correlation analysis. We prove that both fusion approaches are capable of detecting data quality issues and providing an interpretable data quality indicator.

1. Introduction

Embedded sensor systems generate massive amounts of data for many different use cases. Applications include predictive maintenance, robotics, and health care. Many of these use cases have significant business impacts but are also often related to the safety or security of the monitored facility. It is crucial for these sensor systems to monitor their data quality level, ensuring the reliability of the observed process and the actual application. Embedded sensor systems are resource constrained, making it necessary to define and aggregate data quality-related attributes into a single meaningful indicator. This step is often necessary because of a limited communication bandwidth or power consumption budget. These constraints limit the ability of embedded sensor systems to transmit raw data frequently, making it necessary to transfer already preprocessed data.
Most sensor systems consist of a microcontroller, and one or several sensors embedded in one device [1]. These sensor systems communicate with their environment through classical fieldbuses, Ethernet networks, or wireless communication systems, such as Bluetooth or wireless local area networks (WLAN) [2]. They often face constraints such as communication bandwidth or battery life, limiting the ability to measure or transmit data at high frequencies [3]. Despite these constraints, sensor systems often monitor processes and events in areas where false data could lead to dangerous decisions. Areas of application include medicine [3], robotics [4], and infrastructure [5]. Thus, we emphasize the importance of enhancing sensor systems with capabilities to monitor their current level of data quality given a set of measurements. This work presents a framework for the knowledge- and data-driven fusion of data quality attributes of sensor systems in general and MEMS-based systems in particular. We present a holistic approach that covers the definition of data quality attributes and fusion algorithms, generating a single indicator that describes the overall quality of the data. The framework allows for the use of domain and expert knowledge to define fusion algorithms for data quality indication. The algorithms compute interpretable indicators with high information content, where higher values indicate higher overall data quality. Figure 1 gives an overview of the proposed framework.
The workflow consists of five steps. The goal is to transform real valued sensor measurements into data quality attributes and fuse them into a single meaningful and interpretable data quality indicator. The first and second steps utilize domain knowledge to derive data quality attributes based on the available sensor data. Then the fusion algorithms are defined based on statistical properties and expert knowledge. Finally, the process results in a data quality fusion algorithm, which outputs the calculated data quality indicator. The output of the fusion algorithm is a single meaningful number that represents the data quality of the observed sensor system. The proposed method is applied to two data sets. The first data set covers the temperature dependence of the sampling rate from an industry-grade MEMS accelerometer. The precision of the sampling rate of these systems influences the overall data quality, as algorithms such as frequency domain-based approaches require accurate sampling rates. The second data set is publicly available. It consists of distributed sensor systems that monitor environmental parameters such as temperature, light, and device-related metadata.
We bridge existing gaps by allowing the direct use of the data quality attributes, their metrics, and the defined bounds for data fusion, using maximum likelihood estimation and fuzzy logic. Both algorithms can fuse multiple inputs into one single meaningful indicator. The algorithms do not require scaling or normalization. All sensor readings can be input directly into the algorithms, addressing limitations of previous works in the field. In addition, we contribute a semi-automated approach to defining fuzzy logic membership and likelihood functions, making it possible to create quality fusion algorithms with minimal effort. Existing work requires manual specification of the properties of the fusion algorithms. Our semi-automatic approach limits the required amount of manual work to specify the properties of the algorithms. The predefined set of supported rules and distributions limits the initial degrees of freedom, supporting the quick setup of a data quality fusion algorithm and its test.

2. Related Work

Various approaches have been proposed to track the data quality of sensors. In [4], a capacitive sensor system in combination with an unsupervised learning algorithm is introduced. Their approach is to detect out-of-distribution samples, which is used to track data quality issues. D’Aniello et al. proposed to evaluate sensor data quality by estimating missing values with association rules [6]. This work is based on the definition of virtual sensors that meet service level agreements (SLA). These SLAs incorporate the required data quality level. Ehikioya et al. [7] have published another article on information quality focusing on business and enterprise data. They postulate that information quality is an engineered product created by an information manufacturing process and could be solved with fuzzy sets. The aspect of data quality from a metrology perspective has been addressed in [8,9]. Eichstädt et al. focused on tractability aspects with an emphasis on sensor calibration in the Internet of Things (IoT). Vedurmudi et al. introduced an ontology to describe aspects of data quality such as indicators, metrics, and interpretations semantically. An approach to fuse the characteristics of observed events, operational characteristics, and quality of information attributes based on statistical tests has been made in [10]. Data aggregation and fusion methods are widely used in sensor systems in the context of data quality indication and can be roughly clustered in probabilistic, statistical, and knowledge-based methods [11]. Probabilistic approaches include Kalman filter-based methods. Feng et al. proposed the combination of a robust Kalman filter and partial least squares regression for the simultaneous detection and correction of erroneous signals [12]. Sallans et al. have introduced a method to automatically detect abnormal sensor values based on statistical models [13]. Their method allows for the online update of model parameters, enabling the model to consider sensor drift and changing conditions. Knowledge-based approaches include fuzzy logic systems and have been introduced to solve data quality-related problems [6,7]. Wu et al. [14] proposed to normalize the range of individual metrics in the interval of [ 0 , 1 ] and fuse it by taking the product of all metrics.
Different authors have previously defined a variety of data quality attributes. These attributes reflect important aspects of sensor signals, influencing the signal quality of the complete system. A summary of commonly used attributes is given in Table 1. Data quality attributes can also be considered data quality dimensions because they represent different quality aspects of a signal. In a typical scenario, an embedded sensor system transmits preprocessed data, which are calculated from raw sensor data readings. Therefore, it is important to have a meaningful data quality indicator associated with a processed data sample ready for transmission. Limiting factors such as computational requirements, communication bandwidth, and energy budget should be considered. The fusion of quality attributes is a convenient approach to creating an indicator that contains as much information as possible. A widely used data set to test data quality indication methods is the “Intel Lab Data” data set [15].
Frequency domain-based methods have been used to monitor machine conditions [19]. A processing pipeline based on variable mode decomposition, total variation denoising, and second-order cyclostationary blind convolution has been proposed by Yang et al. [20]. Their method allows for the extraction of fault features from noisy signals in applications such as bearing diagnosis based on acceleration data. In the IoT context, MEMS sensors are widely used to acquire acceleration data [1] to perform frequency domain diagnosis. The temperature dependence of MEMS accelerometers has been studied by Martinez et al. [21], who proposed a compensation method to account for temperature bias in sensor output magnitude. Compensation is useful to prevent unwanted effects from sensors, such as bias or drift. However, in the simplest case, compensation does not acknowledge the fact that measurements can be wrong due to internal or external events.

3. Materials and Methods

This section introduces the methods and data used in this work. First, we introduce the overall architecture of the framework. Second, the used data quality attributes are defined, and the metrics used to calculate the indicators are established. Then, the fusion and aggregation algorithms are introduced. Finally, the data sets used for this work are described.

3.1. Data Quality Fusion Architecture

Figure 2 shows the overall architecture to aggregate data quality attributes. Several sensor systems produce measured values, and data quality attributes such as timeliness, or completeness are defined. Each measured data point is associated with data quality attributes. Depending on the nature of the attribute, inputs from one or multiple sensors are required. Determining data quality attributes relies on available knowledge sources, such as plant operators, workers, or developers knowing a product. Additional sources of information are data sheets, as well as previously acquired data.
In order to aggregate multiple attributes derived from the metrics into a single data quality indicator, a data fusion algorithm is added to the architecture. The task of the fusion algorithm is to calculate a meaningful and interpretable value, representing the overall quality of the data in the complete system. Depending on the application scenario, a layered fusion approach is applied, resulting in a fused data quality indicator Θ 1 Θ N . These indicators can be used individually or combined once more into a combined indicator Θ C that describes the quality of data from a set of sensors. The final quality indicator is outputted in the range of [ 0 , 1 ]. Interpretability is gained in the sense that lower values indicate lower data quality, whereas higher values indicate higher data quality.

3.2. Data Quality Attributes

This section introduces the attributes used for this work and defines the metrics for their calculation.
  • Accuracy
    This attribute is related to the error of a sensor signal with respect to a reference value or overall precision [17]. Usually, embedded sensor systems are not equipped with a calibrated sensor to reference their measured value. Accuracy can be related to sensor precision, which is information provided by the manufacturer. Furthermore, domain knowledge or data are sources to define accuracy metrics.
    Another approach called dynamic uncertainty, proposed by Gatian et al. [22] relates the sensor’s accuracy to uncertainty in the sense of rapid transient changes. The authors propose to use a sliding window to compute the standard deviation in a given time series and to compare it with a predefined threshold.
  • Consistency
    Inconsistent measurements deviate significantly from similar measurements, closely related in time and space. This attribute is related to the coherence between sensor signals and is calculated based on sensors that measure the same physical quantity. The consistency metric is defined by calculating the absolute error over two values as follows:
    C o n s i s t e n c y = | x 1 ( t ) x 2 ( t ) | ,
    where x 1 ( t ) and x 2 ( t ) are measurements taken at time point t. Both values represent measurements of the same physical quantity.
  • Completeness
    This quality parameter relates to missing values [18] in a series of measurements. In sensory applications, usually the acquisition of a certain number of samples is required to perform calculations such as frequency domain analyses. If a sufficient number of values are not acquired, this series is incomplete, calculated by the following metric:
    C o m p l e t e n e s s = | X | .
    where | X | is a set of values acquired in a given time period. The cardinality of X represents the number of measured samples, giving a measure of completeness.
  • Timeliness
    The timeliness attribute is addressed in multiple use cases and is defined slightly differently depending on the usage. It is often related to its currency or up-to-dateness, an additional aspect in embedded sensor systems. Gutierrez et al. [17] define timeliness as the delay between the time point of data availability and the time point of data availability advertisement. According to the definitions in [18,23], we define timeliness in the sense of currency, which means how quickly data are updated. This definition allows for the application of timeliness to sensor systems, where a common task is to measure a quantity periodically. If the periodic interval is not maintained, this indicates a low data quality for the task at hand. The definition of timeliness is the difference between two consecutive timestamps of sensor readings:
    T i m e l i n e s s = t i t i 1 .
    The value t i is the current timestamp of a given sample, and t i 1 is the timestamp of the previous sample.

3.3. Maximum Likelihood Estimation

Based on empirical data, statistical properties of the data quality attributes can be derived. Statistical properties are used to derive probability distributions f i , given observations x i and the likelihood parameter θ :
L ( θ ) = i = 1 n f i ( x i | θ ) .
The combined likelihood function L is the product of all individual probability functions f [24]. For independently and identically distributed observations, f is constant. If this is not the case, it is necessary to derive individual distributions for every value x i . Here, observations represent a concrete realization of a data quality attribute and its associated metric. New observations are bound to the distributions; then the maximum likelihood parameter is obtained by maximizing L with respect to θ as follows [24]:
θ ^ M L = a r g θ Θ m a x L ( θ ) .
where Θ is the parameter space of θ . The maximized likelihood θ ^ M L represents the probability of high or low quality of the data, given a set of observations. The parameter θ is part of the individual probability distributions. Distributions f i are parameterized so that observations in the sense of high data quality are closer to the maximum of a given distribution. Therefore, it is beneficial to bind θ to the parameter that controls the variance. The population mean μ and the standard deviation σ describe a normal distribution as follows [25]:
f N o r m a l ( x ) = 1 σ 2 π e ( x μ 2 σ ) 2 .
The variance V a r of a normal distribution is V a r = σ 2 . The likelihood parameter θ is embedded in the distribution function as follows:
σ = σ θ = 1 · 1 θ .
The value σ θ = 1 represents the standard deviation, where the data quality parameter is in the high range. For an exponentially distributed data quality attribute, the steps are similar. The probability distribution f E x p is parameterized by the scale parameter β and the location parameter μ [25]:
f E x p ( x ) = 1 β · e ( x μ ) β .
Simplifying α = 1 / β , the variance of an exponentially distributed value is V a r = 1 / α 2 . The likelihood parameter θ is embedded in the exponential distribution as follows:
α = α θ = 1 · θ .
Creating the combined data quality indicator based on a new set of observations with the maximum likelihood estimation method consists of three steps, as presented in Figure 3. First, observations x i are plugged into their respective probability distributions. The individual likelihood functions, parameterized by θ , are then joined into a single combined likelihood function that represents the current quality of the data. Finally, the combined likelihood function is maximized in the interval [ 0 , 1 ] to obtain the likelihood of high or low data quality, given the current observations.

3.4. Fuzzy Logic

Fuzzy logic extends the discrete two-valued binary logic to the continuous interval [ 0 , 1 ] [26]. A fuzzy set μ is the projection of the reference set X into the unit interval [ 0 , 1 ]:
μ : X [ 0 , 1 ] .
The function μ is also called the membership function, which represents the degree of membership of an observation to a set. Frequently used membership functions include S-shaped, Z-shaped, and Gaussian membership functions (MF). The S-shaped MF is defined as follows:
f ( x ; a , b ) = 0 x a 2 ( x a b a ) 2 a x a + b 2 1 2 ( x b b a ) 2 a + b 2 x b 1 x b .
This membership function has two parameters, a and b. They control the points where the membership starts to be above zero and where the function reaches a membership of one. The parameter x represents the input, which is to be fuzzified. The Z-shaped membership function is defined similarly to the S-shaped type; however, the definition is in reverse order:
f ( x ; c , d ) = 1 x c 1 2 ( x c d c ) 2 c x c + d 2 2 ( x d d c ) 2 c + d 2 x d 0 x d .
The parameters c and d represent the points where the degree of membership starts to decay from one and where the function reaches zero. The Gaussian membership function is defined as follows:
f ( x ; σ , μ ) = e ( x μ 2 σ ) 2 .
Here, σ is the standard deviation and μ the mean of the input value. The concept of fuzzy sets is used to fuse data quality attributes based on domain knowledge and existing measurements. Figure 4 describes the general workflow of a fuzzy logic-based data fusion.
The membership functions are defined based on the inputs x i , representing the data quality attributes. They transform the crisp input values into the fuzzy domain. Following this step, the fuzzy inference system defines the behavior of the fusion algorithm. To assign membership functions to ranges such as high data quality, low data quality, or intermediate values medium or average, domain knowledge is used. The bounds between the ranges are subject to design decisions taken when engineering the data quality indication algorithms. Next, in the fuzzy inference step, the logical relations between the fuzzified attributes and the overall level of data quality are defined. This step is again subject to design decisions. However, it is essential to cover all permutations of defined membership functions. If this is not the case, those memberships not covered in the inference step can be omitted, because they do not add information to the final output. For a system consisting of two data quality attributes with the assigned levels high and low, a fuzzy inference system could be designed as follows:
R 1 : D a t a   q u a l i t y [ h i g h ] = D a t a   q u a l i t y   a t t r .   1 [ h i g h ]     D a t a   q u a l i t y   a t t r . 2 [ h i g h ] ,
R 2 : D a t a   q u a l i t y [ l o w ] = D a t a   q u a l i t y   a t t r .   1 [ l o w ]     D a t a   q u a l i t y   a t t r .   2 [ l o w ] .
This ruleset will only output a high data quality if both attributes are also high, using a fuzzy-and connection of the signals. Equation (15) demonstrates the case of low data quality. The attributes are or-ed, meaning that any low data quality sample results in low data quality
Defuzzification is the final step of the process. The results of the inference step are transformed back into a crisp output value, representing the current data quality θ . This step requires the definition of an output membership function, transforming fuzzy attributes such as low or high data quality into crisp output values.

3.5. Semi-Automatic Definition of Fusion Algorithms

To reduce manual labor during the initial setup of a data quality fusion algorithm, we propose a semi-automatic framework for the definition of likelihood functions or fuzzy logic membership functions. The data-driven approach uses available measurements or domain knowledge, such as data sheets, to create a working fusion algorithm with minimal effort. To enable the semi-automatic rule definition, a set of supported distributions is defined, such as normal or exponential. The measured observations or domain knowledge is fed into an array such that an observation resolves to an assigned data quality. For purely data-driven parameters, the histogram can be used as a basis, considering more frequent observations to have higher data quality compared to observations occurring less often. If domain knowledge is used to perform data quality indication, a table must be provided that maps observations to data quality levels.
The procedure for the semi-automatic definition of fusion algorithms is shown in Figure 5. The process works as follows: First, the data containing all observations of data quality attributes or mappings of data quality levels are fitted to the supported probability distributions. The empirical cumulative distribution (CDF) is then calculated, and the goodness-of-fit is evaluated concerning the fitted distribution. The evaluation metric for the goodness of fit is based on the mean squared error (MSE) between the empirical and fitted CDF. A lower MSE indicates a better quality of the fit, and thus a superior approximation of the underlying data. If multiple measurement series are available for the same data quality attribute, this process is repeated for all series. A majority vote allows the best fit for all series to be found, counting the number of fits per supported model. The model that is counted the most is considered the best. If multiple models are available, the model parameters, such as mean and standard deviation, can be averaged to find the most representative solution. In the example in Figure 5, three sets of observations are evaluated. The step “Best Approximation” chooses the Gaussian distribution because it was found to fit the data better in two cases, whereas the exponential case was better only once.
After finding the most suitable statistical model for the quality attributes, this information is further used to define quality fusion algorithms. The statistical model found in the previous step can be used directly for data fusion using maximum likelihood. For fuzzy logic-based fusion, bounds for high and low data quality need to be defined, which are derived from the statistical properties. This is achieved by defining multiples of the allowed variance of the fitted distributions centered around the found mean, which still represents a high data quality. A sufficient granularity of fuzzy representations is achieved by defining three membership functions, low, medium, and high. Low and high memberships represent poor data quality, as they are too far off compared to the expected mean and variance. The membership medium represents high data quality, as the newly captured observation is well within the expected range.
The semi-automatic definition of fuzzy logic membership functions also relies on properties derived from data and observations. The support points of the membership functions are derived from the mean and standard deviation. The proposed framework supports Gaussian membership functions for average, Z-shaped membership functions for low, and S-shaped membership functions for high. An example of defined membership functions is given in Figure 6. The input range is defined between zero and ten. The mean of the Gaussian membership function is set to be five, and its standard deviation to one. The fuzzy logic algorithms were implemented in Python using the Scikit-Fuzzy library [27]. All implemented fuzzy systems are of type-1 Mamdani. The defuzzification method is bisector, the conjunction method is implemented as the minimum, and the disjunction method as the maximum.
The S- and Z-shaped membership functions are defined so that the points a, b, c, and d according to Equations (11) and (12) cross the maximum and minimum of each side of the Gaussian membership function, respectively.

3.6. Accelerometer Data Set

This data set was acquired based on a custom-designed PCB, equipped with an STMicroelectronics STM32L4A6 microcontroller. The sensor system carries an STMicroelectronics LSM6DSL inertial measurement unit, a Texas Instruments TMP461 temperature sensor, and a BOSCH BMP280 pressure and temperature sensor. The purpose of this data set is to measure the influence of temperature changes on the sample rate of LSM6DSL. This temperature dependence is used to derive data quality attributes such as accuracy, timeliness, completeness, and consistency based on the measured data and the available data sheet information. The sensors are configured as follows: LSM6DSL is configured to measure acceleration only, in FIFO mode (first in, first out buffer), at a frequency of 6664 Hz and a sensitivity of 2 mg [28]. Using the FIFO, the measured acceleration values of all three axes are buffered in the internal memory and retrieved asynchronously. The application is engineered so that the FIFO buffer is cleared well before it overruns. The data extraction period from the buffer is 50 ms. Configuration of the BMP280 temperature sensor is set to the oversampling factor 16, normal operation mode, and 125 ms sampling interval. Data are collected through the inter-integrated circuit bus (I2C) every 1000 ms. The pressure value measured by this device is not acquired. The settings applied to the temperature sensor TMP461 are left to default, according to the data sheet [29]. A new sample is acquired every 250 ms through the I2C bus. The timing and scheduling of the application are maintained using the real-time operating system FreeRTOS. All acquired data points are streamed out of the device using a proprietary UART (universal asynchronous receiver transmitter) protocol. A logging tool written in Python runs on a PC and logs the received data in files for further analysis. All data points are time-stamped based on a precision hardware timer running at 8.192 kHz. The sampling rate of the LSM6DSL sensor is measured based on the predefined interval of 50 ms, using the number of samples present in the FIFO buffer and the readout period. A total of three measured parameters are relevant for the fusion of data quality; these are the sample rate LSM6DSL, the temperature TMP461, and the temperature BMP280. To acquire the data set, three PCBs were placed in a VOETSCH VT 7010-type climate cabinet. The sensor systems were not attached to a moving object during these tests. The temperature in the cabinet was cycled repeatedly from 0 °C to 40 °C with a step size of 10 °C. Table 2 shows the properties of the data set. A total number of 3.5 million samples were recorded from every sensor system. In addition to the three sensor systems, a reference temperature sensor of type RS PRO RS-172TK was placed in the climate cabinet to track the temperature. Gaps in the data are filled by merging the closest value to the timestamps of the measured values. All data quality attributes introduced in Section 3.2 were applied to the data points in this data set. The accuracy attribute was mapped to the sample rate of LSM6DSL. The temperature dependency of the sampling rate directly influences the accuracy of this value with respect to the assumed value specified by the data sheet. A calibration was not performed regarding the LSM6DSL accuracy attribute. The setup uses the microcontroller and its timer module to ensure proper timing during data acquisition. Consistency was calculated between the temperature measured by TMP461 and BMP280. The completeness and timeliness were calculated for all three measured parameters.
The fuzzy logic rule set used for this data set is defined as follows:
R 1 : D a t a   q u a l i t y [ p o o r ] = c o n s i s t e n c y t e m p e r a t u r e [ l o w ]     c o m p l e t e n e s s L S M 6 D S L [ l o w ]   c o m p l e t e n e s s T M P 461 [ l o w ]     c o m p l e t e n e s s B M P 280 [ l o w ]   t i m e l i n e s s L S M 6 D S L [ l o w ]     t i m e l i n e s s T M P 461 [ l o w ]   t i m e l i n e s s B M P 280 [ l o w ]     a c c u r a c y L S M 6 D S L [ l o w ] ,
R 2 : D a t a   q u a l i t y [ p o o r ] = c o n s i s t e n c y t e m p e r a t u r e [ h i g h ]     t i m e l i n e s s L S M 6 D S L [ h i g h ]   t i m e l i n e s s T M P 461 [ h i g h ]     t i m e l i n e s s B M P 280 [ l o w ]   a c c u r a c y L S M 6 D S L [ h i g h ] ,
R 3 : D a t a   q u a l i t y [ a v e r a g e ] = c o m p l e t e n e s s L S M 6 D S L [ h i g h ]     c o m p l e t e n e s s T M P 461 [ h i g h ]   c o m p l e t e n e s s B M P 280 [ h i g h ] ,
R 4 : D a t a   q u a l i t y [ g o o d ] = c o n s i s t e n c y t e m p e r a t u r e [ m e d i u m ]     c o m p l e t e n e s s L S M 6 D S L [ m e d i u m ]   c o m p l e t e n e s s T M P 461 [ m e d i u m ]     c o m p l e t e n e s s B M P 280 [ m e d i u m ]   t i m e l i n e s s L S M 6 D S L [ m e d i u m ]     t i m e l i n e s s T M P 461 [ m e d i u m ]   t i m e l i n e s s B M P 280 [ l o w ] [ m e d i u m ]     a c c u r a c y L S M 6 D S L [ m e d i u m ] .
Equation (16) defines the set of rules for low data quality, given observations with low membership. Rule 2 defines poor data quality readings for sensor values that are too high. The third rule defines the average quality of the data if the completeness is high, which means that more samples were acquired than needed. The last rule specifies the conditions for high data quality if all observations are in the medium range.

3.7. Intel Lab Data

This data set was collected by Madden et al. [30] in 2004. The authors deployed 54 Mica2Dot wireless sensors equipped with weather boards to measure environmental parameters such as humidity, temperature, light, and sensor voltage at an interval of 31 s. According to the authors, there is a strong correlation between voltage and temperature variation [30]. Additionally, the data sets contain aggregated connectivity data and the x and y positions of the individual sensors in the lab. The spatial distribution of the sensors within the Intel Berkeley Research Lab is shown in Figure 7. The data sets were processed by extracting measurement points from the individual sensors, called motes. Timestamps were processed per mote and sorted in ascending order.
An exploratory data analysis showed that some motes did not record data over the entire time period, while others showed significant gaps. Motes 46 to 48 were found to have complete recordings and also show the effect of voltage drop in the battery. All three sensors are located close to each other, in the left part of the laboratory, according to Figure 7. Measurements of temperature and voltage acquired by mote 48 are shown in Figure 8. This plot also shows the correlation between temperature and voltage measurement. The accuracy attribute of the Intel Lab Data is calculated from the voltage level. In addition, completeness and timeliness are calculated. Consistency was not computed for this data set because the motes do not carry redundant sensors.
The fuzzy logic rules, derived from the Intel Lab Data, are given in Equations (20)–(22):
R 1 : D a t a   q u a l i t y [ p o o r ] = c o m p l e t e n e s s [ l o w ]     t i m e l i n e s s [ l o w ]   t i m e l i n e s s [ h i g h ]     v o l t a g e i n v [ h i g h ] ,
R 2 : D a t a   q u a l i t y [ a v e r a g e ] = c o m p l e t e n e s s [ h i g h ] ,
R 3 : D a t a   q u a l i t y [ g o o d ] = c o m p l e t e n e s s [ m e d i u m ]     t i m e l i n e s s [ m e d i u m ]   ( v o l t a g e i n v [ l o w ]     v o l t a g e i n v [ m e d i u m ] ) .
Three rules were derived, representing the possible data quality levels poor, average, and high. The quality attribute of the voltage data was calculated based on the inverse of the actual voltage. This was done by changing the significance of the values, making large values small and small values large. High data quality is assumed when the inverse of the voltage is low or medium. Inverting is helpful because large voltages represent a higher data quality. This way, the accuracy attribute calculated through voltage can be better mapped in the memberships of low, average, and poor. This procedure was chosen to map the characteristics of the data set to the proposed semi-automatic rule definition approach.

4. Results

The maximum likelihood and fuzzy logic-based data fusion methods introduced before were applied to the Accelerometer Data Set and the Intel Lab Data. The semi-automatic rule definition was applied to create the fusion algorithms for the used data sets. The behavior of the fusion algorithms is verified by calculating correlation coefficients and evaluating the similarity of the signals.

4.1. Accelerometer Data Set

Figure 9a shows the measured sample rates of the LSM6DSL accelerometer sensors. Additionally, the black dotted line represents the expected sample rate. The temperature curve in Figure 9b, measured by the BMP280 sensor, also includes the reference temperature curve. The plots show the data points of all three sensor systems. For sensor system 1, we observed a minimum sampling rate of 6283 Hz, a maximum sampling rate of 6385 Hz, and a standard deviation (std) of 22 Hz. System 2 showed a range between 6551 Hz and 6692 Hz, while the standard error was 36 Hz. Sensor system 3 ranges between 6629 Hz and 6749 Hz, with a standard deviation of 26 Hz. The expected sample rate, specified by the data sheet, is highlighted as a black dotted line in Figure 9a. System 2 and 3 meet the specified frequency at 0 °C and 40 °C, respectively.
Figure 10 shows the slopes of the temperature dependency. The black lines represent fitted linear models displaying the temperature coefficient in Hz/°. All three systems show a negative temperature coefficient between −1.72 Hz/°C and −2.85 Hz/°C. The curves show that the ambient temperature influences the sample rate. However, there is a difference between individual devices in the offset and slope of temperature dependence.
Based on the conducted measurement and the acquired data, a total of eight data quality attributes were derived. Table 3 shows a summary of the sensors, the measured values, and the defined quality attributes. The table also includes a summary of the properties of fuzzy logic fusion and MLE fusion, derived by the semi-automatic definition method introduced in Section 3.5 as well as the calculated MSE values of the best fit.
The semi-automatic definition method was applied to all attributes except LSM6DSL sample rate accuracy, using a knowledge-based approach for this attribute. Based on the proposed method, all automatically defined rules consist of normally distributed values. The timeliness is the average time difference between subsequent samples in seconds. A medium timeliness for LSM6DSL of 0.052 s, 0.263 s for TMP461, and 1.052 s for BMP280 is found. Similarly, completeness attributes were calculated for a time slot of one second; thus, the resulting values have a unit of samples per second. The semi-automatic rule definition yields an average completeness of 19.85 S/s for LSM6DSL, 3.98 S/s for TMP461, and 0.99 S/s for BMP280. The completeness of BMP280 was calculated over a time window of 10 s and then normalized to 1 s. For the other values, an interval of 1 s was chosen. The average consistency between the temperature measurements was 0.15 °C. The mean squared error values, used to evaluate the goodness of fit range between 0.1 and 0.05.
The LSM6DSL sample rate and temperature are plotted in Figure 11a. The graph in Figure 11b shows the fuzzy logic-based data quality indicator as a green line and based on maximum likelihood estimation as a red line. The transparent parts of each graph show the range, while the solid lines show the filtered data quality indicators to illustrate the overall trend of the signal. The data quality level changes with the accuracy of the sample rate. The accuracy is subject to change with the measured temperature. If the sample rate deviates from the expected value, the overall quality of the data is lower. Events of lower data quality are observed at time points 0 h, 16 h, 34 h, and 50 h when using MLE as a data fusion method. High data quality was measured at time points 9 h, 25 h, 41 h. Similarly to the results obtained using MLE, fuzzy logic reports a higher overall data quality if the sample rate is closer to the expected value. Time points 10 h, 25 h, and 40 h represent a high quality of the data indicated by fuzzy logic. Low data quality was indicated at time points around 0 h, 17 h, 34 h, and 50 h. A complete graph with all calculated data quality attributes and both data quality indicators is included in Appendix A.1.
Table 4 shows the Pearson’s correlation coefficients of the data quality attributes used as defined by Table 3 and the aggregated data quality indicators. Strong negative correlations are measured between the fusion approaches and the consistency attribute of the temperature, as well as sample rate accuracy. A negative correlation implies that a lower consistency results in a higher data quality. Based on Figure 11, the negative correlation between the LSM6DSL accuracy attribute and the data quality indicators is interpreted: For this data set, an increase in the sampling rate meant a decrease in data quality, resulting in an overall negative correlation. The timeliness attributes show only a slightly negative correlation, resulting from the deterministic sampling intervals, additionally reflected in the low stand deviations given in Table 3. Positive correlations are also observed between the completeness attributes and the aggregated data quality indicators. Furthermore, a positive correlation of 0.459 between fuzzy logic and likelihood-based data fusion indicates that both tend to increase or decrease for similar inputs. The correlation analysis shows that individual data quality attributes are still present in the aggregated indicators.

4.2. Intel Lab Data

The results in this section were acquired using data from sensor Mote IDs 46, 47, and 48. The timeliness and completeness attributes were calculated based on the timestamps provided by the data set, using a time window of 10 min for completeness. One instance of measured values is bound to one timestamp, so specific attributes for a particular measurement cannot be calculated. Furthermore, the voltage level is the quality attribute related to accuracy, as it significantly affects the validity of temperature measurements [30]. Based on the semi-automatic rule definition, the parameters of the membership functions and distributions were calculated. Table 5 shows the parameters of the used fusion algorithms and the mean squared error of the best fit. The best approximation for voltage follows an exponential distribution with a location of 0.39/V and a scale parameter of 0.065/V. The values are given in 1/V because inverted values were used. The location parameter corresponds to 2.56 V. The average timeliness between the samples is 41.5 s. Completeness in the time interval of 10 min was 17 samples. The MSE of the best fitting distributions range between 0.1 and 0.05.
Figure 12 shows the temperature and voltage acquired by mote 48 in the upper row. The bottom row displays the aggregated data quality levels, calculated by maximum likelihood in red, and fuzzy logic-based data fusion in green. The solid lines in Figure 12b are the averaged data quality indicators, representing the general trend of the signals. The transparent parts of this graph represent the overall quality of the data. The data quality level of both fusion algorithms decreases when the voltage drops and the temperature measurement is corrupted, approximately after 26 days. An additional downtime, after 12 days, leads to worse overall data quality.
In Table 6, the correlation coefficients between the calculated aggregated data quality indicators and the used data quality attributes are shown. We observe positive correlations between voltage, completeness, and the data quality indicators, meaning that higher values of these attributes result in a higher quality of the data, which is in line with our assumptions. A negative correlation between temperature and the indicators represents the fact that a higher temperature corresponds to a lower quality of the data. Lastly, a significant positive correlation of 0.663 between the fused data quality indicators shows that both algorithms report a lower or higher quality of the data for similar inputs. Complete graphs of the used data quality attributes and the calculated data quality indicators are given in Appendix A.2.

5. Discussion

This work proposes a framework to aggregate data quality attributes into a single meaningful data quality indicator. The results are discussed in the following section. The Accelerometer Data Set reflects our initial assumption that the temperature of the sensor system influences the overall quality of the data. Based on the proposed knowledge-driven and data-driven approach, a set of rules has been established to aggregate data quality attributes into a single meaningful indicator. Interpretability is gained through the outputs of the indicators themselves. Both indicators, obtained by fuzzy logic and the maximum likelihood method, are in the range between 0 and 1, where higher values indicate higher data quality. The general information content of the fused outputs regarding their inputs was analyzed with a correlation analysis.
Despite the different characteristics of the two used data sets, our approach provided consistent results. In both data sets, the proposed timeliness attributes do not contribute significantly to the overall data quality indicator, leaving room for further improvement. A possible reason for this could be the used metric. The interpretation of the results of the fuzzy logic and maximum likelihood-based approaches shows the same trend of reporting worse data quality for similar inputs. However, fuzzy logic is more responsive to issues related to data quality. This is because the fuzzy rule set can be finely tuned to the desired data quality level. In contrast, the MLE-based approach is completely determined by the distribution used. Tuning this method is only possible by modifying these distributions, making it less flexible but also less effort to construct compared to the fuzzy logic-based approach. This comes at the cost of a less sensitive data quality output. The nature of MLE is to compute the likelihood given a set of observations; if, for example, only one input value is of low quality, statistically, the overall data quality could still be high. This work covers only a limited number of membership functions and distributions. The supported algorithmic properties could be extended further to give developers more degrees of freedom when designing a quality fusion system. In addition, the algorithms have not been implemented directly in the sensor systems. Furthermore, the noise level of the fused data quality indicators requires further analysis. A possible solution could be to apply a moving average filter, limiting the dynamics of the data quality indicator. Additionally, to address the real time requirements as well, a more sophisticated approach can be considered, such as variable mode decomposition [20]. Moreover, a combined approach using compensation for the sampling rate deviation together with the proposed fusion framework could be used to enhance the sensor output with further information.
Compared to previous work in the field of data quality indication in sensor systems, our framework provides an end-to-end approach to building a quality fusion algorithm. Starting with data and domain knowledge, statistical properties, and fuzzy rule sets are extracted. Based on these, the actual data-fusion algorithms are parameterized. Wu et al. [14] proposed a Q-Fusion approach based on normalized data quality attributes. Our approach, in contrast, allows one to directly input the quality attributes into the fusion algorithm, giving better traceability and reducing the overall complexity of the data processing. The work of D’Aniello et al. [6] and Ehikioya et al. [7] proposed using fuzzy logic to solve data quality-related use cases. D’Aniello et al. limit their work to virtual sensors with service level agreements. Ehikioya et al. proposed the use of fuzzy methods for data quality-related issues in business and enterprise data. Our approach, in contrast, can be directly implemented on the sensor itself, working on raw sensor data. Furthermore, we extend existing methods by the semi-automatic membership definition, capable of incorporating domain knowledge. Two fusion algorithms are part of the framework, giving users an alternative between the more complex and customizable fuzzy logic or the more intuitive but less sensitive MLE-based approach. Further research may include the extension of this framework to distributed sensors. In this scenario, especially the timeliness attribute needs special consideration, since the transmission medium has significant influence on data transmission times. A possible direction could be to advance the calculation of completeness attributes with spatiotemporal metrics. Another extension could include processing of time series rather than single time steps. A limitation of the purely knowledge-driven approach is the possibility of introducing a bias to higher or lower data quality, depending on the data used to generate the fusion algorithms. Furthermore, information not present in the initial input data is not considered a data quality-related event in the final fusion algorithm.
In the next step, we aim to port the proposed fusion methods to sensor systems to show their feasibility in live scenarios. While porting, the latency of the fusion algorithm, running in a resource-constrained system, has to be addressed. Furthermore, a suitable description of the data quality indicators and the necessary metadata are required.

Author Contributions

Conceptualization, C.S., M.S., A.T. and K.L.; methodology, C.S., M.S., A.T. and D.Z.; software, C.S. and M.S.; validation, C.S.; formal analysis, C.S.; investigation, C.S.; resources, C.S. and K.L.; data curation, C.S.; writing—original draft preparation, C.S.; writing—review and editing, C.S., A.T., B.M.E. and D.Z.; visualization, C.S.; supervision, A.T., K.L., B.M.E. and D.Z.; project administration, K.L.; funding acquisition, K.L. and A.T. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the Federal Ministry for Economic Affairs and Energy, Germany, within the projects “GEMiMEG-II—Sichere und robuste kalibrierte Messsysteme für die digitale Transformation” (grant number 01MT20001A) and “Verbundprojekt: Transfer- und Qualifizierungsmethodik höchstintegrierter Elektronikkomponenten für die Automobil- und Automatisierungsindustrie—TRACE” (grant number 12ES0497). Bjoern Eskofier gratefully acknowledges the support of the German Research Foundation (DFG) within the framework of the Heisenberg professorship program (grant number ES 434/8-1).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data underlying this article will be shared on reasonable request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Appendix A.1. Accelerometer Data Set

This section provides complete graphs of all data acquired from sensor systems 1 to 3. The graphs in Figure A1, Figure A2 and Figure A3 include the raw measured data points, which are the temperature TMP461 and BMP280, as well as the LSM6DSL sample rate. Additionally, the calculated data quality attributes for each sensor signal as defined in Table 3 are ploted. The last two rows show the quality of the data calculated by fuzzy logic and maximum likelihood estimation. The solid lines in the graphs of the data quality indicators represent the averaged trend of the signals. The slightly transparent parts of the plots are the original signals.
Figure A1. Accelerometer Data Set, sensor system 1, data quality attributes, measured values, and data quality indicators.
Figure A1. Accelerometer Data Set, sensor system 1, data quality attributes, measured values, and data quality indicators.
Sensors 23 03798 g0a1
Figure A2. Accelerometer Data Set, sensor system 2, data quality attributes, measured values, and data quality indicators.
Figure A2. Accelerometer Data Set, sensor system 2, data quality attributes, measured values, and data quality indicators.
Sensors 23 03798 g0a2
Figure A3. Accelerometer Data Set, sensor system 3, data quality attributes, measured values, and data quality indicators.
Figure A3. Accelerometer Data Set, sensor system 3, data quality attributes, measured values, and data quality indicators.
Sensors 23 03798 g0a3

Appendix A.2. Intel Lab Data

This section provides full graphs of the raw sensor signals from Mote IDs 46, 47, and 48 in Figure A4, Figure A5 and Figure A6. They include the calculated data quality attributes as specified in Table 5, as well as the aggregated data quality indicators. The solid lines in the graphs of the data quality indicators represent the averaged trend of the signals. The slightly transparent parts of the plots are the original signals. The y-scale of the timeliness attribute is in logarithmic scale, due to large deviations of the timeliness values in the data set.
Figure A4. Intel Lab Data Mote ID 46, data quality attributes, measured values, and data quality indicators.
Figure A4. Intel Lab Data Mote ID 46, data quality attributes, measured values, and data quality indicators.
Sensors 23 03798 g0a4
Figure A5. Intel Lab Data Mote ID 47, data quality attributes, measured values, and data quality indicators.
Figure A5. Intel Lab Data Mote ID 47, data quality attributes, measured values, and data quality indicators.
Sensors 23 03798 g0a5
Figure A6. Intel Lab Data Mote ID 48, data quality attributes, measured values, and data quality indicators.
Figure A6. Intel Lab Data Mote ID 48, data quality attributes, measured values, and data quality indicators.
Sensors 23 03798 g0a6

References

  1. Koene, I.; Viitala, R.; Kuosmanen, P. Internet of Things Based Monitoring of Large Rotor Vibration With a Microelectromechanical Systems Accelerometer. IEEE Access 2019, 7, 92210–92219. [Google Scholar] [CrossRef]
  2. Vitturi, S.; Zunino, C.; Sauter, T. Industrial Communication Systems and Their Future Challenges: Next-Generation Ethernet, IIoT, and 5G. Proc. IEEE 2019, 107, 944–961. [Google Scholar] [CrossRef]
  3. Kindt, P.; Yunge, D.; Tobola, A.; Fischer, G.; Chakraborty, S. Dynamic service switching for the medical IoT. In Proceedings of the 2016 IEEE 27th Annual International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC), Valencia, Spain, 4–8 September 2016; pp. 1–7. [Google Scholar] [CrossRef]
  4. Scholl, C.; Tobola, A.; Ludwig, K.; Zanca, D.; Eskofier, B.M. A Smart Capacitive Sensor Skin with Embedded Data Quality Indication for Enhanced Safety in Human-Robot Interaction. Sensors 2021, 21, 7210. [Google Scholar] [CrossRef] [PubMed]
  5. Abbas, S.; Khan, M.A.; Falcon-Morales, L.E.; Rehman, A.; Saeed, Y.; Zareei, M.; Zeb, A.; Mohamed, E.M. Modeling, Simulation and Optimization of Power Plant Energy Sustainability for IoT Enabled Smart Cities Empowered With Deep Extreme Learning Machine. IEEE Access 2020, 8, 39982–39997. [Google Scholar] [CrossRef]
  6. D’Aniello, G.; Gaeta, M.; Hong, T.P. Effective Quality-Aware Sensor Data Management. IEEE Trans. Emerg. Top. Comput. Intell. 2018, 2, 65–77. [Google Scholar] [CrossRef]
  7. Ehikioya, S.A. A characterization of information quality using fuzzy logic. In Proceedings of the 18th International Conference of the North American Fuzzy Information Processing Society—NAFIPS, New York, NY, USA, 10–12 June 1999; pp. 635–639. [Google Scholar] [CrossRef]
  8. Eichstädt, S.; Gruber, M.; Vedurmudi, A.P.; Seeger, B.; Bruns, T.; Kok, G. Toward Smart Traceability for Digital Sensors and the Industrial Internet of Things. Sensors 2021, 21, 2019. [Google Scholar] [CrossRef] [PubMed]
  9. Vedurmudi, A.P.; Neumann, J.; Gruber, M.; Eichstädt, S. Semantic Description of Quality of Data in Sensor Networks. Sensors 2021, 21, 6462. [Google Scholar] [CrossRef] [PubMed]
  10. Bisdikian, C. On Sensor Sampling and Quality of Information: A Starting Point. In Proceedings of the Fifth Annual IEEE International Conference on Pervasive Computing and Communications Workshops (PerComW’07), White Plains, NY, USA, 19–23 March 2007; pp. 279–284. [Google Scholar] [CrossRef]
  11. Krishnamurthi, R.; Kumar, A.; Gopinathan, D.; Nayyar, A.; Qureshi, B. An Overview of IoT Sensor Data Processing, Fusion, and Analysis Techniques. Sensors 2020, 20, 6076. [Google Scholar] [CrossRef] [PubMed]
  12. Feng, J.; Hajizadeh, I.; Samadi, S.; Sevil, M.; Hobbs, N.; Brandt, R.; Lazaro, C.; Maloney, Z.; Yu, X.; Littlejohn, E.; et al. Hybrid Online Multi-Sensor Error Detection and Functional Redundancy for Artificial Pancreas Control Systems. IFAC-PapersOnLine 2018, 51, 138–143. [Google Scholar] [CrossRef]
  13. Sallans, B.; Bruckner, D.; Russ, G. Statistical Model-Based Sensor Diagnostics for Automation Systems. IFAC Proc. Vol. 2005, 38, 239–246. [Google Scholar] [CrossRef] [Green Version]
  14. Wu, Q.; Ding, G.; Xu, Y.; Feng, S.; Du, Z.; Wang, J.; Long, K. Cognitive Internet of Things: A New Paradigm Beyond Connection. IEEE Internet Things J. 2014, 1, 129–143. [Google Scholar] [CrossRef] [Green Version]
  15. Teh, H.Y.; Kempa-Liehr, A.W.; Wang, K.I.K. Sensor data quality: A systematic review. J. Big Data 2020, 7, 1645. [Google Scholar] [CrossRef] [Green Version]
  16. Bisdikian, C.; Kaplan, L.M.; Srivastava, M.B.; Thornley, D.J.; Verma, D.C.; Young, R.I. Building principles for a quality of information specification for sensor information. In Proceedings of the 12th International Conference on Information Fusion, Seattle, WA, USA, 6–9 July 2009; pp. 1370–1377. [Google Scholar]
  17. Gutiérrez, C.; Servigne, S. Managing Sensor Data Uncertainty. Int. J. Agric. Environ. Inf. Syst. 2013, 4, 35–54. [Google Scholar] [CrossRef] [Green Version]
  18. Kuka, C.; Nicklas, D. Enriching sensor data processing with quality semantics. In Proceedings of the 2014 IEEE International Conference on Pervasive Computing and Communication Workshops (PERCOM WORKSHOPS), Budapest, Hungary, 24–28 March 2014; pp. 437–442. [Google Scholar] [CrossRef]
  19. Krügel, S.; Rixen, D.J. Frequency Based Model Mixing for Machine Condition Monitoring. In Dynamic Substructures; Linderholt, A., Allen, M., D’Ambrogio, W., Eds.; Conference Proceedings of the Society for Experimental Mechanics Series; Springer International Publishing: Cham, Switzerland, 2021; Volume 4, pp. 157–161. [Google Scholar] [CrossRef]
  20. Yang, J.; Zhou, C.; Li, X.; Pan, A.; Yang, T. A Fault Feature Extraction Method Based on Improved VMD Multi-Scale Dispersion Entropy and TVD-CYCBD. Entropy 2023, 25, 277. [Google Scholar] [CrossRef] [PubMed]
  21. Martínez, J.; Asiain, D.; Beltrán, J.R. Lightweight Thermal Compensation Technique for MEMS Capacitive Accelerometer Oriented to Quasi-Static Measurements. Sensors 2021, 21, 3117. [Google Scholar] [CrossRef] [PubMed]
  22. Gaitan, M.; Allen, R.A.; Geist, J.; Chijioke, A. A Dynamic Uncertainty Protocol for Digital Sensor Networks. In Proceedings of the 2021 IEEE International Workshop on Metrology for Industry 4.0 & IoT (MetroInd4.0&IoT), Rome, Italy, 7–9 June 2021; pp. 594–597. [Google Scholar] [CrossRef]
  23. Batini, C.; Scannapieco, M. Data and Information Quality; Springer International Publishing: Cham, Switzerland, 2016. [Google Scholar] [CrossRef]
  24. Myung, I.J. Tutorial on maximum likelihood estimation. J. Math. Psychol. 2003, 47, 90–100. [Google Scholar] [CrossRef]
  25. Casella, G.; Berger, R.L. Statistical Inference; Brooks/Cole Cengage Learning: Belmont, CA, USA, 2002. [Google Scholar]
  26. Zadeh, L.A. Fuzzy sets. Inf. Control 1965, 8, 338–353. [Google Scholar] [CrossRef] [Green Version]
  27. Warner, J.; Sexauer, J.; Unnikrishnan, A.; Castelão, G.; Pontes, F.A.; Uelwer, T.; Batista, F. JDWarner/Scikit-Fuzzy: Scikit-Fuzzy, version 0.4.2. 2019. Available online: https://zenodo.org/record/3541386#.ZC9_6fZBxPY (accessed on 24 February 2023). [CrossRef]
  28. STMicroelectronics. Datasheet: LSM6DSL. Available online: https://www.st.com/resource/en/datasheet/lsm6dsl.pdf (accessed on 1 August 2022).
  29. Texas Instruments Incorporated. Datasheet: TMP461 High-Accuracy Remote and Local Temperature Sensor with Pin-Programmable Bus Address. Available online: https://www.ti.com/lit/ds/symlink/tmp461.pdf (accessed on 1 August 2022).
  30. Madden, S.; Bodik, P.; Hong, W.; Guestrin, C.; Paskin, M.; Thibaux, R. Intel Lab Data. 2004. Available online: http://db.csail.mit.edu/labdata/labdata.html (accessed on 9 May 2022).
Figure 1. Overview of the proposed fusion framework to perform data quality indication.
Figure 1. Overview of the proposed fusion framework to perform data quality indication.
Sensors 23 03798 g001
Figure 2. Data quality fusion architecture. Based on data from sensor systems, data quality attributes are calculated. Some attributes require input from multiple sensors. The attributes are passed into the fusion algorithm which outputs θ c , the combined data quality indicator.
Figure 2. Data quality fusion architecture. Based on data from sensor systems, data quality attributes are calculated. Some attributes require input from multiple sensors. The attributes are passed into the fusion algorithm which outputs θ c , the combined data quality indicator.
Sensors 23 03798 g002
Figure 3. Maximum likelihood estimation based data quality fusion. Consisting of the steps probability density function, likelihood function and maximization.
Figure 3. Maximum likelihood estimation based data quality fusion. Consisting of the steps probability density function, likelihood function and maximization.
Sensors 23 03798 g003
Figure 4. Fuzzy logic based data quality fusion. Consisting of the steps fuzzification, fuzzy inference and defuzzification.
Figure 4. Fuzzy logic based data quality fusion. Consisting of the steps fuzzification, fuzzy inference and defuzzification.
Sensors 23 03798 g004
Figure 5. Semi automatic rule definition based on statistical properties of observations and majority voting.
Figure 5. Semi automatic rule definition based on statistical properties of observations and majority voting.
Sensors 23 03798 g005
Figure 6. Example membership function for (a) an input between zero and ten. Z-shaped membership for low, Gaussian membership for medium, and S-shaped membership for high. (b) data quality with trapezoidal membership for poor, average and good.
Figure 6. Example membership function for (a) an input between zero and ten. Z-shaped membership for low, Gaussian membership for medium, and S-shaped membership for high. (b) data quality with trapezoidal membership for poor, average and good.
Sensors 23 03798 g006
Figure 7. Distribution of 54 sensors in Intel Berkeley Research lab [30].
Figure 7. Distribution of 54 sensors in Intel Berkeley Research lab [30].
Sensors 23 03798 g007
Figure 8. Supply voltage dependency of temperature measurement from sensor mote ID 48.
Figure 8. Supply voltage dependency of temperature measurement from sensor mote ID 48.
Sensors 23 03798 g008
Figure 9. (a) Measured and expected sample rate of three LSM6DSL sensor systems. (b) Temperature profile of VT 7010 as measured by BMP280 temperature sensors.
Figure 9. (a) Measured and expected sample rate of three LSM6DSL sensor systems. (b) Temperature profile of VT 7010 as measured by BMP280 temperature sensors.
Sensors 23 03798 g009
Figure 10. Temperature dependency of LSM6DSL inertial measurement units of three different devices. Slopes are given in Hz/°C.
Figure 10. Temperature dependency of LSM6DSL inertial measurement units of three different devices. Slopes are given in Hz/°C.
Sensors 23 03798 g010
Figure 11. (a) Sample rate accuracy of sensor system 3 with changing temperature. (b) Data quality indicators based on fuzzy logic and maximum likelihood estimation.
Figure 11. (a) Sample rate accuracy of sensor system 3 with changing temperature. (b) Data quality indicators based on fuzzy logic and maximum likelihood estimation.
Sensors 23 03798 g011
Figure 12. (a) Influence of supply voltage on the accuracy of the temperature measurement of Intel Lab mote ID 48. (b) Data quality indicators based on fuzzy logic and maximum likelihood estimation.
Figure 12. (a) Influence of supply voltage on the accuracy of the temperature measurement of Intel Lab mote ID 48. (b) Data quality indicators based on fuzzy logic and maximum likelihood estimation.
Sensors 23 03798 g012
Table 1. Commonly defined data quality attributes. The table is in alphabetical order, sorted by first author name.
Table 1. Commonly defined data quality attributes. The table is in alphabetical order, sorted by first author name.
AuthorReported Attributes
Bisdikian et al. [16]Timeliness, accuracy, reliability, throughput, cost
Ehikioya et al. [7]Precision, timeliness, completeness, correctness, usability
Gutierrez et al. [17]Accuracy, reliability, spatial precision, completeness, communication reliability, consistency, currency, volatility, timeliness, availability, adequacy
Kuka et al. [18]Timeliness, accuracy, completeness, consistency, confidence
Vedurmudi et al. [9]Accuracy, completeness, timeliness, consistency, battery level, calibration data, operating condition, sampling rate
Table 2. Number of samples acquired per sensor system and per individual sensor.
Table 2. Number of samples acquired per sensor system and per individual sensor.
Sensor SystemLSM6DSLTMP461BMP280
13,486,952699,134174,846
23,502,076702,701175,631
33,501,173702,112175,572
Table 3. Measurements and data quality attributes for the Accelerometer Data Set. The column MLE explains the properties of the fitted distribution functions and the mean squared error ϵ obtained during the fit. The column fuzzy logic describes the properties of the fuzzy logic membership functions for the specified data quality attributes.
Table 3. Measurements and data quality attributes for the Accelerometer Data Set. The column MLE explains the properties of the fitted distribution functions and the mean squared error ϵ obtained during the fit. The column fuzzy logic describes the properties of the fuzzy logic membership functions for the specified data quality attributes.
SensorMeasured ValueQuality AttributeUnitMLEFuzzy Logic
LSM6DSLSample rateAccuracyHznormal; ϵ = 0.09
μ = 6664, σ = 100
low: a = 6464; b = 6564
medium: μ = 6664; σ = 100;
high: c = 6764; d = 6864
LSM6DSLSample rateTimelinessSecondnormal; ϵ = 0.07
μ = 0.052, σ = 0.012
low: a = 0.028; b = 0.04
medium: μ = 0.052; σ = 0.012;
high: c = 0.065; d = 0.077
LSM6DSLSample rateCompleteness Samples Second normal; ϵ = 0.1
μ = 19.8, σ = 0.6
low: a = 18.6; b = 19.2
medium: μ = 19.8; σ = 0.6;
high: c = 20.5; d = 21.1
TMP461TemperatureTimelinessSecondsnormal; ϵ = 0.05
μ = 0.263, σ = 0.031
low: a = 0.2; b = 0.23
medium: μ = 0.263; σ = 0.031;
high: c = 0.3; d = 0.33
TMP461TemperatureCompleteness Samples Second normal; ϵ = 0.1
μ = 3.98, σ = 0.14
low: a = 3.7; b = 3.84
medium: μ = 4.0; σ = 0.14;
high: c = 4.12; d = 4.26
BMP280TemperatureTimelinessSecondnormal; ϵ = 0.05
μ = 1.052, σ = 0.14
low: a = 0.78; b = 0.92
medium: μ = 1.052; σ = 0.14;
high: c = 1.19; d = 1.33
BMP280TemperatureCompleteness Samples Second normal; ϵ = 0.1
μ = 0.99, σ = 0.03
low: a = 0.93; b = 0.96
medium: μ = 0.99; σ = 0.03;
high: c = 1.03; d = 1.06
TMP461, BMP280TemperatureConsistency°Cnormal; ϵ = 0.1
μ = 0.15, σ = 0.065
low: a = 0.01967; b = 0.08465
medium: μ = 0.15; σ = 0.065;
high: c = 0.2146; d = 0.2796
Table 4. Pearson’s correlation coefficients between data quality indicators and data quality attributes of Accelerometer Data Set.
Table 4. Pearson’s correlation coefficients between data quality indicators and data quality attributes of Accelerometer Data Set.
AccuracyTimelinessCompletenessTimelinessCompletenessTimelinessCompletenessTemperature
LSM6DSLLSM6DSLLSM6DSLTMP461TMP461BMP280BMP280Consistency
MLE−0.742993−0.0248660.104197−0.0254540.040001−0.0298060.043472−0.834314
Fuzzy logic−0.674421−0.0070660.193791−0.0298570.011291−0.0320240.185742−0.753731
Table 5. Measurements and data quality attributes for the Intel Lab Data set. The column MLE explains the properties of the fitted distribution functions and the mean squared error ϵ obtained during the fit. The column fuzzy logic describes the properties of the fuzzy logic membership functions for the specified data quality attributes.
Table 5. Measurements and data quality attributes for the Intel Lab Data set. The column MLE explains the properties of the fitted distribution functions and the mean squared error ϵ obtained during the fit. The column fuzzy logic describes the properties of the fuzzy logic membership functions for the specified data quality attributes.
SensorMeasured ValueQuality AttributeUnitMLEFuzzy Logic
VoltageBattery voltageAccuracy 1 V exponential; ϵ = 0.07
μ = 0.39, β = 0.026
low: a = 0.33, b = 0.36
medium: μ = 0.385, σ = 0.026
high: a = 0.41, b = 0.44
VoltageBattery voltageTimelinessSecondsnormal; ϵ = 0.05
μ = 41.5, σ = 539.7
low: a = 31.56, b = 36.6
medium: μ = 41.6, σ = 5;
high: c = 46.6, d = 51.6
VoltageBattery voltageCompleteness Samples 10   min normal; ϵ = 0.1
μ = 17.0, σ = 2.6
low: a = 11.7, b = 14.4
medium: μ = 17.0, σ = 2.65;
high: c = 19.7; d = 22.3
Table 6. Pearson’s correlation coefficients between data quality indicators, measured values, and data quality attributes of Intel Lab Data.
Table 6. Pearson’s correlation coefficients between data quality indicators, measured values, and data quality attributes of Intel Lab Data.
TemperatureVoltageTimelinessCompleteness
MLE−0.2334280.182690−0.0499610.295445
Fuzzy logic−0.1012620.025131−0.0150410.152983
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Scholl, C.; Spiegler, M.; Ludwig, K.; Eskofier, B.M.; Tobola, A.; Zanca, D. An Integrated Framework for Data Quality Fusion in Embedded Sensor Systems. Sensors 2023, 23, 3798. https://doi.org/10.3390/s23083798

AMA Style

Scholl C, Spiegler M, Ludwig K, Eskofier BM, Tobola A, Zanca D. An Integrated Framework for Data Quality Fusion in Embedded Sensor Systems. Sensors. 2023; 23(8):3798. https://doi.org/10.3390/s23083798

Chicago/Turabian Style

Scholl, Christoph, Maximilian Spiegler, Klaus Ludwig, Bjoern M. Eskofier, Andreas Tobola, and Dario Zanca. 2023. "An Integrated Framework for Data Quality Fusion in Embedded Sensor Systems" Sensors 23, no. 8: 3798. https://doi.org/10.3390/s23083798

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop