Next Article in Journal
Self-Referenced Optical Fiber Sensor for Hydrogen Peroxide Detection Based on LSPR of Metallic Nanoparticles in Layer-by-Layer Films
Previous Article in Journal
A Novel Message-Preserving Scheme with Format-Preserving Encryption for Connected Cars in Multi-Access Edge Computing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fast Calibration Methods for Resistive Sensor Readout Based on Direct Interface Circuits

by
José A. Hidalgo-López
1,*,
Jesús A. Botín-Córdoba
1,
José A. Sánchez-Durán
1,2 and
Óscar Oballe-Peinado
1,2
1
Departamento de Electrónica, Universidad de Málaga, Andalucía Tech, Campus de Teatinos, 29071 Málaga, Spain
2
Instituto de Investigación Biomédica de Málaga (IBIMA), 29010 Málaga, Spain
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(18), 3871; https://doi.org/10.3390/s19183871
Submission received: 29 July 2019 / Revised: 28 August 2019 / Accepted: 4 September 2019 / Published: 7 September 2019
(This article belongs to the Section Physical Sensors)

Abstract

:
A simple method to measure the resistance of a sensor and convert it into digital information in a programmable digital device is by using a direct interface circuit. This type of circuit deduces the value of the resistor based on the discharge time through it for a capacitor of a known value. Moreover, the discharge times of this capacitor should be measured through one or two resistors with known values in order to ensure that the estimate is not dependent on certain parameters that change with time, temperature, or aging. This can slow down the conversion speed, especially for high resistance values. To overcome this problem, we propose a modified process in which part of the discharge, which was previously performed through the resistive sensor only, is only conducted with the smallest calibration resistor. Two variants of this operation method, which differ in the reduction of the total time necessary for evaluation and in the uncertainty of the measurements, are presented. Experiments carried out with a field programmable gate array (FPGA); using these methodologies achieved reductions in the resistance conversion time of up to 55%. These reductions may imply an increase in the uncertainty of the measurements; however, the tests carried out show that with a suitable choice of parameters, the increases in uncertainty, and therefore errors, may be negligible compared to the direct interface circuits described in the literature.

1. Introduction

More and more digital systems are receiving information from the outside world through sensors, making it important to design simple methods that transfer the analogue information provided by the sensor to digital information handled by the system. This forms the basis of what we call “smart sensors”, in which a large group of resistive sensors transforms the measurement of a certain physical magnitude in the variation of the value of a resistor [1]. Thus, we use resistive sensors to measure temperature (known as thermistors), gas detection [2], or magnetoresistive sensors [3,4]. These sensors can also be grouped in arrays, for example in anemometry [5], and for gas detection [6] or in tactile piezoresistive sensor arrays [7,8]. Different methods can be used to perform resistance-to-digital conversion. One of the most popular methods, which performs this conversion without the need for analogue-to-digital converters (ADC) is known as the direct interface circuit (DIC). This method [9,10] requires a minimum number of components: the resistive sensor itself, some calibration resistors, and a capacitor. The minimal hardware used makes the method simple, easy to integrate into any system, and economical, achieving a performance similar to that of the ADCs [11]. In recent years, a number of papers have been published in which a DIC was used with a programmable digital device as a microcontroller [12,13,14,15] and field programmable gate array (FPGA) [16,17], which shows the versatility of the method. DICs are not only used for the measurement of resistive sensors, but are also used, according to the literature, for capacitive [18,19,20,21,22] and inductive sensors [23,24,25,26].
The main problem with a DIC is the time needed to convert information. The time varies depending on the version of DIC in question (the different versions will be analyzed in the next section). The fastest DIC uses the single-point calibration method (SPCM) [27], although it is also the one with the greatest error. The SPCM needs to charge and discharge a capacitor twice. Charging is always through a small resistor, or possibly even without it if the digital device so allows, therefore requiring a much-reduced time. However, discharges are made once through the resistor of the sensor, R, and once through a known calibration resistor. Simply making the quotient of these discharge times is enough to obtain the value of R (the discharge times are measured in cycles of the internal clock of the programmable logic device, or PDD). All the simple arithmetic operations needed in these DICs, or others, are performed internally in the PDD, and the time spent on them is negligible compared to that required for the capacitor charge and discharge processes. For this reason, the time required to obtain R can be approximated by the sum of the two charge and discharge times. In the most sophisticated and accurate versions of DIC, the two-point calibration method (TPCM), and the three-signal auto-calibration method (TSACM) [27], the conversion time is increased to three capacitor charge and discharge times, with discharges now taking place through the resistors to be measured and two calibration resistors.
A naïve idea to decrease the time needed to obtain R is to think that the problem could be solved by decreasing the capacity of the capacitor, C. However, [28] shows that the time constant in the capacitor discharge process must be greater than a certain value in order to achieve optimum performance in a DIC. This minimum value is dependent on the range of resistors to be measured, but also on the PDD used and on the circuit’s electrical and quantification noise.
The problem may be even more serious if we are not measuring an isolated resistive sensor, but rather, an array of resistive sensors—such as for example, in the case of tactile sensors or artificial noses. In these cases, reducing the measurement time of an array frame is essential in order to obtain the characteristics of the system it is interacting with in real time, e.g., to obtain information about grip or slippage in a tactile sensor [29] or to obtain instant information in an artificial nose.
In this article, we analyze the different types of DICs and demonstrate how the TPCM offers better performance when estimating the resistance of a sensor than the TSACM. However, as we have seen, the TPCM may require a long time to complete the necessary measurements. For this reason, a new method is developed to reduce the measurement time. This reduction is achieved without any modification in the structure of a TPCM conventional DIC, and therefore, without any hardware cost. Only the time measurements change, allowing conversion time reductions of up to 55%. The experimental results obtained with an FPGA and the new method show that the reduction in conversion time is achieved without modifying the accuracy of the measurements.
The structure of the paper is as follows. Section 2 shows the operating principles of the different types of DICs and their fundamental characteristics. Section 3 presents the first version of the improved DIC: Fast Calibration Method I. Section 4 sets out a new version of the DIC with different characteristics to the one presented in Section 3: Fast Calibration Method II. Section 5 presents the experimental results obtained for the proposed new methods. These results are also discussed and compared with the TPCM. Finally, the conclusions are presented in Section 6.

2. Operating Principles and Types of DIC

As indicated, all types of DIC are based on a comparison of discharge times: one of these times is obtained by discharging through a PDD pin attached to the resistor of the sensor we intend to measure, R, and the other times (which can be one or two) are obtained through pins connected to known calibration resistors, Rci. As mentioned in the introduction, the simplest DIC is the SPCM, as it uses only one calibration resistor. As a result, the time taken in the resistance-to-digital conversion is the shortest of all; however, the accuracy is much lower (the relative error of this method can be three orders of magnitude greater than that obtained by the other methods [30]), for which reason it is not normally used in practical applications, and was not studied during this research.

TPCM Analysis

The TPCM uses two calibration resistors, as shown in Figure 1. The pull-up resistor, Rp, is used to charge C to the supply voltage of the PDD buffers (configuring the Pp pin as logic 1 output), and its value is as small as the PDD specifications allow, in order to reduce the charge time to the extent possible. It is also found in the literature [31] that the use of Rp can reduce the influence of power-supply noise on circuit performance. To achieve this, the rest of the pins of Figure 1 can also be configured as logic 1 outputs. Then, a discharge process is performed through R, Rc1, or Rc2 (regardless of order), configuring the appropriate pin (Ps, Pc1, or Pc2, respectively) as logic 0 output and keeping the other pins in a high impedance state, HZ, which is equivalent to configuring a pin as an input. The Pp pin is also configured as an input and is in charge of detecting the instant at which the capacitor voltage drops to a value considered logic 0 by the PDD. This succession of charge and discharge processes is carried out for the three resistors.
The discharge time, TR, through a resistor R is given by:
T R = ( R + R o ) C ln ( V i V f )
where Ro is the output resistance of each pin configured as logic 0 output, Vi is the initial discharge voltage (normally VDD), and Vf is the final process voltage (the threshold voltage at which an input pin goes from detecting a logic 1 to a logic 0). Considering Equation (1), the TPCM uses the following equation to estimate the value of R:
R = T R T R c 1 T R c 2 T R c 1 ( R c 2 R c 1 ) + R c 1
where TRc1 and TRc2 are the discharge times through Rc1 and Rc2, respectively. Given how the discharge times are used in Equation (2), we can eliminate the dependence of Ro, C, and the natural logarithm that appears in Equation (1) when estimating R.
Two parameters can be taken to assess the speed of the resistance-to-digital conversion: the maximum time taken to discharge the capacitor to Vf, TRmax, and the maximum total time in the R measurement process, Tmax, which is the result of adding the time needed to evaluate Rc1 and Rc2 to TRmax. We take these two parameters, as there may be applications in which a simultaneous calibration is not necessary for each TR measurement, but rather the calibration is performed at certain intervals between several TR measurements. In the case of the TPCM, these two parameters are given by:
T m a x ( T P C M ) = 3 T c h arg e + T R max + T R c 1 + T R c 2
T R m a x ( T P C M ) = ( R m a x + R o ) C ln ( V D D V f )
where Tcharge is the charge time (as commented earlier, the circuit is designed so that this is minimal, meaning that it is much smaller than the other times that appear in the member on the right of Equation (3)). If we also take into account that R 0 R , R c 1 , R c 2, we can approximate Equation (3) and Equation (4) by:
T m a x ( T P C M ) k ( R max + R c 1 + R c 2 )
T R m a x ( T P C M ) k R m a x
where k is a constant for each circuit:
k = C ln ( V D D V f )
Moreover, positioning Rc1 in 15% of the range between the maximum and minimum resistance to be measured (ΔR) is established as the optimum design criteria for the TPCM in [32]. In this reference, it also is found that Rc2 must be in 85% of the range. Therefore, Tmax(TPCM) is given by:
T m a x ( T P C M ) k · ( 2 R m a x + R m i n )
As k is a characteristic of each circuit (we assume that a minimum value of C has been used according to [27]) and Rmax and Rmin are determined by the type of sensor, there is, initially, no option to reduce this time. Finally, Equation (8) can also be written as:
T m a x ( T P C M ) ( 2 + R m i n R m a x ) T R m a x ( T P C M )
which, in the very common case that R max R min will be:
T m a x ( T P C M ) 2 T R m a x ( T P C M )
The third type of DIC is the TSACM, the circuit for which is shown in Figure 2. This method was proposed [33] for capacitance measurement, but works in the same way for resistances.
As in the TPCM, this circuit measures three discharge times: TR+Rc1, the discharge time through resistors R and Rc1 positioned serially, TRc2+Rc1, the discharge time through resistors Rc1 and Rc2 positioned serially, and TRc1. With these times and Equation (1), we can find the value of R as:
R = T R + R c 1 T R c 1 T R c 2 + R c 1 T R c 1 R c 2
Equation (11) is simpler to evaluate than Equation (2), although the difference in terms of time and hardware in current PDDs can be insignificant. To assess the maximum conversion times, it must be remembered that, maintaining the criteria for the calibration resistor values indicated above, Rc1 will be found around 15% of the measurement range, while Rc2+Rc1 (which now plays the Rc2 role in the TPCM) will be 85%, meaning that Rc2 will be in 70% of the measurement range. Considering this, the maximum discharge time with this method, TRmax(TSACM), will be given, for wide ranges, by:
T R m a x ( T S A C M ) 1.15 k R m a x = 1.15 T R m a x ( T P C M )
Likewise, Tmax for this method, Tmax(TSACM), will be:
T m a x ( T S A C M ) k ( R m a x + 3 R c 1 + R c 2 ) = k ( 2.15 R m a x + 1.85 R m i n )
Using Equation (8), this last equation is transformed into:
T m a x ( T S A C M ) T m a x ( T P C M ) + T R c 1
Equations (12) and (14) show that obtaining resistance values always requires more time in the TSACM than in the TPCM.
Another drawback of the TSACM when compared to TPCM is that, as shown in [27], the uncertainty in discharge time measurements is linearly related to the value of the resistor to be measured, with the slope of the line being positive. This means that u ( T R + R c 1 ) > u ( T R ) and u ( T R c 2 + R c 1 ) > u ( T R c 2 ). Considering this fact and applying the law of propagation of uncertainties [34], the variance of R using TPCM, u T P C M 2 ( R ), is:
u T P C M 2 ( R ) = ( R T R ) 2 u 2 ( T R ) + ( R T R c 1 ) 2 u 2 ( T R c 1 ) + ( R T R c 2 ) 2 u 2 ( T R c 2 ) = ( R c 2 R c 1 ) 2 ( T R c 2 T R c 1 ) 2 ( u 2 ( T R ) + ( T R T R c 2 T R c 2 T R c 1 ) 2 u 2 ( T R c 1 ) + ( T R T R c 1 T R c 2 T R c 1 ) 2 u 2 ( T R c 2 ) ) = 1 k 2 ( u 2 ( T R ) + ( R R c 2 R c 2 R c 1 ) 2 u 2 ( T R c 1 ) + ( R R c 1 R c 2 R c 1 ) 2 u 2 ( T R c 2 ) )
while the variance of R using TSACM, u T S A C M 2 ( R ), is:
u T S A C M 2 ( R ) = ( R T R + R c 1 ) 2 u 2 ( T R + R c 1 ) + ( R T R c 1 ) 2 u 2 ( T R c 1 ) + ( R T R c 2 + R c 1 ) 2 u 2 ( T R c 2 + R c 1 ) = R c 2 2 ( T R c 2 + R c 1 T R c 1 ) 2 ( u 2 ( T R + R c 1 ) + ( T R + R c 1 T R c 2 + R c 1 T R c 2 + R c 1 T R c 1 ) 2 u 2 ( T R c 1 ) + ( T R + R c 1 T R c 1 T R c 2 + R c 1 T R c 1 ) 2 u 2 ( T R c 2 + R c 1 ) ) = 1 k 2 ( u 2 ( T R + R c 1 ) + ( R R c 2 R c 2 ) 2 u 2 ( T R c 1 ) + ( R R c 2 ) 2 u 2 ( T R c 2 + R c 1 ) )
Considering that, in Equation (15), Rc2Rc1 is equal to Rc2 in Equation (16) (if its values continue to maintain the criteria outlined above), it will be fulfilled that:
u T P C M ( R ) < u T S A C M ( R )
and, therefore, the estimates of R in the TSACM will be less accurate than in the TPCM.
Based on these results, it is evident that the small computational advantage of using Equation (11) rather than Equation (2) does not compensate for the drawbacks arising from the TSACM needing more time to estimate R, and the accuracy of the measurements is also lower. Therefore, the TPCM should be the preferred method for a DIC.
However, the main drawback of the TPCM is the time needed to estimate R. According to Equation (6), TRmax is proportional to Rmax and, depending on the sensor, this value can be very high, meaning that the temporal performance of the DIC may be insufficient in certain applications, as explained in the Introduction. A new measurement methodology based on the TPCM and using the same DIC is developed with the aim of reducing TRmax and Tmax. We call this new methodology the Fast Calibration Method (FCM), and it also needs three charge and discharge processes. Depending on how discharge times are reduced, the new methodology has two versions, FCM I and FCM II, as presented below.

3. Fast Calibration Method I

The basic idea of FCM I is to use the minimum calibration resistor, Rc1, to speed up the discharge process through R, when necessary. The way to proceed is as follows: the charge and discharge processes alternate as in the TPCM, and the Rc1 and Rc2 discharge processes are carried out in the same way. Similarly, if the discharge time through R, TR, is less than a certain value, Tx (selected by the designer), discharge takes place as in the TPCM. Then, Equation (2) can still be used to estimate the value of R, and Equations (5) and (6) can be used to evaluate Tmax and TRmax, respectively. However, if a logic 0 has not been detected in Pp for time Tx after the discharge through R began (this condition is equivalent to TR > Tx), the Ps pin is configured as HZ, and the discharge continues through Rc1. This constitutes what we will call the modified discharge procedure. The only conditions that Tx must fulfill are:
T R c 1 < T x < T R m a x
These conditions come from the fact that, in order for the method to be consistent, it must be verified that TR > Tx and that, in order for a time reduction in TR to be achieved, it must obviously be the case that Tx < TRmax.
Both discharge processes are shown in Figure 3. The situation that appears in Figure 3a does not require further attention, as it coincides with the steps to be performed in the TPCM. However, in the situation illustrated by Figure 3b: Tx < TRmax and R cannot be estimated using Equation (2). Nevertheless, it is possible to find a procedure to find R, as will be shown below.
As shown in Figure 3b, when discharging through R, the voltage in the capacitor will have reached value VR once time Tx has passed, which will obviously be a function of R (VR is greater than the logic 0 threshold voltage of the PDD input pins, Vf). Tx can be expressed as:
T x = ( R + R o ) C ln ( V D D V R )
Moreover, if we define T R c 1 ( R ) as the time taken by Rc1 to discharge the capacitor from VR to Vf, this time is given by:
T R c 1 ( R ) = ( R c 1 + R o ) C ln ( V R V f )
Using the values of TRc1 and TRc2 given by Equation (1), Tx can also be written as:
T x = ( R + R o ) C ln ( V D D V R ) = ( R + R o ) C ln ( V D D V f ) ln ( V D D V f ) ln ( V R V f ) ln ( V D D V f ) = ( R + R o ) C ln ( V D D V f ) ( T R c 1 T R c 1 ( R ) T R c 1 )
and operating with this expression, we find that:
R R c 1 R c 2 R c 1 = ( R + R o ) C ln ( V D D V f ) ( R c 1 + R o ) C ln ( V D D V f ) ( R c 2 + R o ) C ln ( V D D V f ) ( R c 1 + R o ) C ln ( V D D V f ) = T R c 1 T x T R c 1 T R c 1 ( R ) T R c 1 T R c 2 T R c 1
finally resulting in:
R = T R c 1 T x T R c 1 T R c 1 ( R ) T R c 1 T R c 2 T R c 1 ( R c 2 R c 1 ) + R c 1
Therefore, R is estimated by FCM I according to the following pair of equations and conditions:
R = { T R T R c 1 T R c 2 T R c 1 ( R c 2 R c 1 ) + R c 1 , T R < T x T R c 1 T x T R c 1 T R c 1 ( R ) x T R c 1 T R c 2 T R c 1 ( R c 2 R c 1 ) + R c 1 , T R T x
Expression (23) is slightly more complex than Equation (2) due to the computational cost of a division, a subtraction, and an extra multiplication, as well as the comparison between times required to decide which estimate to use. However, below, it is shown that Equation (23) allows a significant reduction in TRmax and, in consequence, also in Tmax.
In order to find TRmax in this calibration method, it must be taken into account that Equations (5) and (6) are still valid if TR < Tx. If the calibration resistors and the charge time are identical in FCM I and the TPCM, the only difference appears in TR when TR > Tx. For convenience, Tx and T R c 1 will be expressed as a function of a parameter α, such that:
T x = α T R m a x ( T P C M ) α k R m a x
with T R c 1 / T R m a x < α < 1 (the condition α < 1 obviously means that T x < T R max must be fulfilled).
Moreover, the maximum value of VR, VRmax, occurs when discharging through Rmax for time Tx
V R m a x = V D D e α T R m a x ( T P C M ) ( R m a x + R o ) C
and, therefore, the maximum of T R c 1 ( R ), T R c 1 ( R m a x ), would be given by:
T R c 1 ( R m a x ) = ( R c 1 + R o ) C ln ( V R m a x V f ) = ( R c 1 + R o ) C [ ln ( V D D V f ) α T R m a x ( T P C M ) ( R m a x + R o ) C ] = T R c 1 ( R ) α T R m a x ( T P C M ) ( R c 1 + R o ) ( R m a x + R o ) k R c 1 α k R c 1 = ( 1 α ) k R c 1
where it has again been considered that Ro is negligible in comparison with the other resistors that appear in Equation (27). With this result:
T R m a x ( F C M I ) = T x + T R c 1 ( R m a x ) = α k R m a x + ( 1 α ) k R c 1
and bearing in mind Equation (6), we can write:
T R m a x ( F C M I ) = T R m a x ( T P C M ) ( 1 α ) k ( R m a x R c 1 )
Hence, as the second term on the right of this equation is always greater than zero, it is verified that T R m a x ( F C M I ) < T R m a x ( T P C M ). Since TRc1 and TRc2 are the same for both methods, we also have:
T m a x ( F C M I ) = T m a x ( T P C M ) ( 1 α ) k ( R m a x R c 1 )
and therefore, also T m a x ( F C M I ) < T m a x ( T P C M ). For example, if we again consider R c 1 = 0.15 · Δ R + R m i n and R c 2 = 0.85 · Δ R + R m i n, we find that:
T R m a x ( F C M I ) = [ ( 0.15 + 0.85 α ) + 0.85 ( 1 α ) R m i n R m a x ] T R m a x ( T P C M )
and with R max R min:
T R m a x ( F C M I ) ( 0.15 + 0.85 α ) T R m a x ( T P C M )
Moreover, with the same choices and approximations, we have:
T m a x ( F C M I ) = ( 0.575 + 0.425 α ) T m a x ( T P C M )
According to Equations (29) and (30), the reduction in time will depend on α. Hence, the smaller this parameter, the greater the reduction in measurement times. However, α has an influence on the precision and accuracy of the R estimates, as will be analyzed below, meaning that there is a trade-off between method speed and accuracy.
We know that the uncertainty of FCM I in estimating the value of R, uFCM I(R), is equal to uTPCM(R) if TR < Tx. The differences between the two uncertainties appear if TRTx. In this case, the variance in the measurements for the FCM I, u F C M I 2 ( R ), is given by:
u F C M I 2 ( R ) = ( R T R c 1 ( R ) ) 2 u 2 ( T R c 1 ( R ) ) + ( R T R c 1 ) 2 u 2 ( T R c 1 ) + ( R T R c 2 ) 2 u 2 ( T R c 2 )
which we have calculated using the value of R given by Equation (23). Moreover, when equating Equations (2) and (23), we have:
T R = T R c 1 T R c 1 T R c 1 ( R ) T x
Using Equations (23) and (35) to evaluate Equation (34), after a few simple calculations, we obtain:
u F C M I 2 ( R ) = 1 k 2 [ ( T R 2 T x T R c 1 ) 2 u 2 ( T R c 1 ( R ) ) + ( R R c 2 R c 2 R c 1 T R T R c 1 ( T R T x 1 ) ) 2 u 2 ( T R c 1 ) + ( R R c 1 R c 2 R c 1 ) 2 u 2 ( T R c 2 ) ]
Comparing this result to Equation (15) shows that the contribution of the variance due to TRc2 is identical in both equations. Moreover, we can find the relationship between u 2 ( T R c 1 ( R ) ) and u2(TR) because, as indicated in [27], the uncertainties in discharge time measurements are approximately proportional to the discharge resistance value when the trigger event occurs (if quantification error is neglected):
u ( T R ) ε V f ln ( V i V f ) T R ε V f C R
where ε is related to circuit noise. With this result, we can write:
u ( T R c 1 ( R ) ) u ( T R ) ln ( V i V f ) ln ( V R V f ) T R c 1 ( R ) T R = T R c 1 T R c 1 ( R ) T R c 1 ( R ) T R = T R c 1 T R
and also:
u ( T R c 1 ( R ) ) u ( T R ) R c 1 R
Considering Equation (38), it is verified that:
( T R 2 T x T R c 1 ) 2 u 2 ( T R c 1 ( R ) ) u 2 ( T R ) ( T R T x ) 2 > 1
Thus, the addend due to the variance of T R c 1 ( R ) in Equation (36) is always greater than that of the variance of TR in Equation (15).
Finally, as the addend due to the variance of TRc1 in the FCM I is greater than its equivalent in the TPCM whenever R < R c 2, we can conclude that, in this situation, u F C M I 2 ( R ) > u T P C M 2 ( R ) and furthermore, a decrease of Tx (i.e. α) always means an increase in u F C M I 2 ( R ). However, if R R c 2, a simple relationship between u F C M I 2 ( R ) and u T P C M 2 ( R ) cannot be extracted. This relationship will depend on each specific value of Tx and R.
One last question remains to be analyzed regarding this method: the Rc2 measurement. For all the foregoing, it is obvious that Rc2 discharges the capacitor up to Vf if T R c 2 < T x. However, even if T R c 2 > T x, the complete discharge process is also carried out through this resistor in FCM I. However, it is possible to perform the modified discharge process of Rc2 if T R c 2 > T x. In this way, we achieve an additional reduction in Tmax, which is especially important in applications where a calibration in each reading of R is necessary.

4. Fast Calibration Method II

The basic idea of the Fast Calibration Method II (FCM II) is to further reduce T m a x ( F C M I ) by decreasing TRc2 using the modified discharge procedure for Rc2. In order to do this, Tx must fulfill:
T R c 1 < T x < T R c 2
If this condition is fulfilled, the capacitor voltage is VRc2 in Tx when discharging through Rc2, and the time used in the discharge, from this voltage to Vf, would be T R c 1 ( R c 2 ). Following the reasoning used to find Equation (23), it can be deduced that when verifying Equation (41) and T R > T x, R will be given by:
R = T R c 1 T x T R c 1 T R c 1 ( R ) T R c 1 T R c 1 T x T R c 1 T R c 1 ( R c 2 ) T R c 1 ( R c 2 R c 1 ) + R c 1 = T x T R c 1 T R c 1 ( R ) 1 T x T R c 1 T R c 1 ( R c 2 ) 1 ( R c 2 R c 1 ) + R c 1
which can also be written as:
R = T R c 1 T R c 1 ( R c 2 ) T R c 1 T R c 1 ( R ) T x + T R c 1 ( R ) T R c 1 T x + T R c 1 ( R c 2 ) T R c 1 ( R c 2 R c 1 ) + R c 1
However, if T R < T x, the modified discharge procedure only applies to Rc2, and therefore:
R = T R T R c 1 T R c 1 T x T R c 1 T R c 1 ( R c 2 ) T R c 1 ( R c 2 R c 1 ) + R c 1
Equation (43) is more suitable than Equation (42) to find the value of R, since the sums of Tx and T R c 1 ( R ) or Tx and T R c 1 ( R c 2 ) can be generated by a single counter in the PDD simply without resetting the counter when Tx is reached. Taking this into account, the number of additional operations with regard to Equation (2) is only one division, one multiplication, and two subtractions (apart from making the comparison between TR and Tx). Moreover, the number of operations in Equation (44) is the same as in FCM I.
As for the temporal response, for TRmax(FCM II), we have:
T R m a x ( F C M   I I ) = T R m a x ( F C M   I )
However, Tmax(FCM II) will be given by:
T m a x ( F C M I I ) 2 T x + T R c 1 ( R m a x ) + T R c 1 ( R c 2 ) + T R c 1
Only T R c 1 ( R c 2 ) needs to be analyzed to evaluate this expression, since the other terms are known. If we continue to use Equation (25) and proceed in the same way as when obtaining Equation (27), T R c 1 ( R c 2 ) will be given by:
T R c 1 ( R c 2 ) = ( R c 1 + R o ) C ln ( V R c 2 V f ) = ( R c 1 + R o ) C [ ln ( V D D V f ) α T R m a x ( T P C M ) ( R c 2 + R o ) C ] = = T R c 1 ( R ) α T R m a x ( T P C M ) ( R c 1 + R o ) ( R c 2 + R o ) k R c 1 α k R m a x R c 1 R c 2
where α is still determined by Equation (25), and it is also necessary to fulfill:
T R c 1 T R m a x < α < T R c 2 T R m a x
Considering Equation (47), Equation (46) can be written as:
T m a x ( F C M   I I ) 2 α k R m a x + k ( 1 α ) R c 1 + k ( 1 α R m a x R c 2 ) R c 1 + k R c 1 = = 2 α k R m a x + k [ 3 α ( 1 + R m a x R c 2 ) ] R c 1
We can also find the difference between Tmax(FCM I) and Tmax(FCM II):
T m a x ( F C M   I ) T m a x ( F C M   I I ) = T R c 2 ( T x + T R c 1 ( R c 2 ) ) = k ( R c 2 R c 1 ) ( 1 α R m a x R c 2 )
considering the upper limit of α provided by Equation (48), the result of Equation (50) is always positive, meaning that T m a x ( F C M   I I ) < T m a x ( F C M   I ).
Moreover, if we use R c 1 = 0.15 · Δ R + R m i n, R c 2 = 0.85 · Δ R + R m i n and R max R min again, we obtain:
T m a x ( F C M   I I ) k ( 0.45 + 1.674 α ) R m a x = ( 0.225 + 0.837 α ) T m a x ( T P C M )
To finish the study of this method, the uncertainty in estimating the value of R, uFCM II(R), will be analyzed, as in the previous calibration methods, by evaluating variance u F C M I I 2 ( R ) according to the law of propagation of uncertainties applied to Equations (42) and (44):
u F C M I I 2 ( R ) = ( R T R c 1 ) 2 u 2 ( T R c 1 ) + ( R T R c 1 ( R ) ) 2 u 2 ( T R c 1 ( R ) ) + ( R T R c 1 ( R c 2 ) ) 2 u 2 ( T R c 1 ( R c 2 ) )
For T R > T x, using Equation (42), making the partial derivatives, taking into account Equation (35) and also considering that for this case:
T R c 2 = T R c 1 T R c 1 T R c 1 ( R c 2 ) T x
obtains:
u F C M I I 2 ( R ) = 1 k 2 [ ( R R c 2 R c 2 R c 1 T R + T R c 2 T x ) 2 u 2 ( T R c 1 ) + ( T R 2 T x T R c 1 ) 2 u 2 ( T R c 1 ( R ) ) + ( R R c 1 R c 2 R c 1 T R c 2 2 T R c 1 T x ) 2 u 2 ( T R c 1 ( R c 2 ) ) ]
Carrying out a study for this equation similar to the one for comparison u T P C M 2 ( R ) and u F C M I 2 ( R ), Equations (15) and (36), finds that
T R > T x T R c 1 u F C M I I ( R ) > u T P C M ( R )
but if T R > T x, taking into account that T R c 1 < T x, the condition in Equation (55) is always verified.
Moreover, if T R < T x, the law of propagation of uncertainty applied to Equation (44) generates the following result:
u F C M I I 2 ( R ) = 1 k 2 [ u 2 ( T R ) + ( T R T R c 1 ) 2 u 2 ( T R c 1 ) + ( R R c 1 R c 2 R c 1 T R c 2 2 T R c 1 T x ) 2 u 2 ( T R c 1 ( R c 2 ) ) ]
The only information provided by this equation is that if T R c 1 < T R < T x, then u F C M I I ( R ) > u T P C M ( R ). Based on the conclusions drawn from Equations (55) and (56), we can state that whenever T R c 1 < T R, it is verified that u F C M I I ( R ) > u T P C M ( R ). In contrast, if T R < T R c 1, there is no clear relationship between the uncertainty of this method and the others. Finally, it is important to note that any decrease in Tx in Equations (54) and (56) translates into an increase in u F C M I I ( R ), meaning that this method again presents a trade-off between speed and accuracy.

5. Materials and Methods

The two calibration methods proposed in this paper, FCM I and FCM II, were tested and compared with the traditional TPCM on an FPGA. The set-up for the circuit with the FPGA was made using a Xilinx Spartan3AN FPGA (XC3S50AN-4TQG144C) [35] with an operating frequency of 50 MHz. The time–digital conversion was performed by a 14-bit counter with a 20-ns time base. Using this counter allowed us to measure discharge times of up to 214 clock cycles, 327.68 µs. A capacitor with a 47-nF rated value was selected, which also complies with the design rules proposed in [28]. Moreover, this FPGA works with independent supply voltages for the input/output blocks and the digital processing core, meaning that voltage noise due to digital processing is reduced. The voltage for the pins of the DIC was 3.3 V, and the maximum current that an output buffer of this FPGA could sink in order to maintain the integrity of the digital values was 24 mA. In order to demonstrate the generality of the proposed methods, some tests were also carried out with 12 mA as the maximum output buffer current. Finally, a battery of decoupling capacitors of different values was used in a position very close to the supply input pins. The printed circuit board where the circuit was mounted is an FR-4 fiberglass substrate with four layers, leaving internal layers for supply planes and external layers for the remaining signals.
Experimental tests were performed for 20 resistors with resistance values within the range of 260 Ω to 7500 Ω. The resistance values were chosen to clearly show the differences in the performances of the different calibration methods. This range was selected for two reasons. First, the range was wide enough to show the performance of the proposed methods and secondly, the range coincided with that of a resistive tactile sensor used by the authors. It was manufactured with a sheet of piezoresistive material by the company CIDETEC. This sheet had resistances of 7400 Ω for pressures of a few kPa up to 250 Ω for high pressures (around 280 kPa) [36]. In addition to the resistor to be measured, two additional calibration resistors were added in order to asses different calibration methods: Rc1 = 1098.1 Ω and Rc2 = 6165.3 Ω. All the resistors were measured using an Agilent 34401A digital multimeter. The measurements were repeated 500 times for every evaluation of the discharge time through each of the 20 resistors used in the tests. The discharge times through Rc1 and Rc2 were measured every time the measurement was repeated, meaning that 500 results could be obtained for R, each one with its own measurements. Therefore, the maximum errors in each of the methods were evaluated.
The logic circuits proposed in [37] were used to improve the detection of the trigger event in Pp. In essence, each circuit detected the same transition 1 0 in a slightly different way, in an attempt to reduce any influence on spurious transition measurements. This was finally achieved using the mean of the different detections.

6. Results and Discussion

The experimental standard deviation for the discharge times of each resistor of the measured range were used as the uncertainty value. The uncertainties when the capacitor discharge was completed through the 20 resistors to be measured are shown in Figure 4. This chart confirms that there is a linear dependence between u(TR) and R (it should be remembered that the value of the capacitor was chosen to achieve this ratio). Moreover, the least square regression line equation, which appears in the same figure, shows that the independent term is small compared to the total value of u(TR), as indicated in Equation (37), except for the smallest resistors.
Uncertainty does not behave in the same way in the case of discharge through the modified procedure with two resistors. Figure 5 shows uncertainty in the total discharge time measurement through R when the modified procedure was used. The value of Tx used in Figure 5b was half the maximum time we could measure with the FPGA counter, 163.84 µs, since this Tx needs to use only the most significant bit of the counter for its detection. For Figure 5a, Tx = 81.92 µs, the fourth part of the maximum value, since only the second most significant bit of the counter was needed for its detection. Finally, Figure 5c used Tx = 327.68 * 3/4 = 245.76 µs, so we only used the two most significant bits of the counter for detection. There were two clearly differentiated zones for the different Tx values shown in Figure 5a,b,c: when discharge was solely through R, and when it was through R and Rc1, respectively. In the first case, the results are those shown to the left of the vertical dashed red line that indicates the value of Tx, and coincide with the results in Figure 4.
However, if the total discharge time is measured when R and Rc1 are used in the modified procedure, the time used to evaluate the uncertainty is T x + T R c 1 ( R ). The data now appear to the right of the vertical red line and uncertainty is practically constant, as the trigger event always occurred when discharging through Rc1, which is consistent with Equation (37).
Figure 6 shows the errors obtained in estimating R when using FCM I. Figure 6a shows the maximum absolute errors, while Figure 6b shows the maximum relative errors. The errors were found for the three values of Tx indicated above. For any Tx, Figure 6 shows similar errors up to the 2198 Ω resistor. This is the case since Tx = 81.92 µs was approximately the discharge time through a 2000 Ω resistor, with the modified discharge procedure applying only for higher values. As of this resistance value, the DIC with the lower Tx started to show greater errors. However, the errors were very similar for Tx = 163.84 µs and Tx = 245.76 µs, even for high R values. This behavior suggests the possibility that, for each application, a range of values of Tx that reduces the discharge time with minimal effect on accuracy can be found. Although the absolute errors increased whenever the resistance value to be measured increased, Figure 6b shows how the relative errors remained practically constant, as in the TPCM [27]. The maximum relative errors occurred for the smallest resistance values where the quantification error was greater (since it is independent of the value of R).
Figure 7 shows the errors obtained in estimating R when using FCM II with the same three values of Tx that were used in FCM I. It should be noted that these Tx were always lower than TRc2 (which had a measured mean value of 253.3 µs), and therefore allowed the modified discharge procedure of Rc2. For the same resistance values and Tx values, the maximum errors shown in Figure 7 were always slightly larger than those in Figure 6, and maintained a fairly similar shape. Smaller Tx had greater errors when the resistance values were above 2200 Ω.
Figure 8 shows the comparison of errors between the TPCM and the FCMs for Tx = 163.84 µs and for maximum output currents of 12 mA and 24 mA. As can be seen, the shape of the error curves was similar in all methods and both output buffer configurations. FCM II presents the greatest errors if the resistance values were large, while TPCM and FCM I were very similar throughout the whole range. The relative errors of the three methods were also quite similar. The results shown in Figure 8 largely concur with the uncertainty study carried out for the FCMs. Another advantage of FCMs, as highlighted in Figure 8, is that greater resistance values can be measured in the two proposed FCMs for the maximum measurement time of the TPCM (which is determined by an internal FPGA counter). The maximum resistor for the TPCM is 7464.5 Ω, while for the FCMs, it is 9963.7 Ω).
The Rmax of the TPCM (7464.5 Ω) were used as a reference with regard to the reduction in time necessary to estimate the value of a resistor when using the FCMs. Table 1 shows the TRmax and Tmax values for the different Tx used in Figure 5, Figure 6 and Figure 7 in accordance with the method used. Obviously, the TPCM shows the same values independently of Tx. Equally, TRmax is the same value for the same Tx in the two FCMs. However, Tmax is always lower in FCM II compared to the other methods. The reduction in TRmax varies between 17–62%, while the reduction in Tmax varies between 9.5–55%, depending on the method used and the value of Tx.

7. Conclusions

There are several direct interface circuit variants in the literature to convert the resistance of a sensor to digital information. These differ in the accuracy of the measurements, the time needed to perform the conversion, and the complexity of the arithmetic calculations. This article includes a study of these parameters that shows that, among the most accurate methods (two-point calibration method, or TPCM, and three-signal auto-calibration method, or TSACM), the TPCM is the most suitable choice, as it requires less time for conversion and also produces less uncertainty when estimating sensor resistance.
Despite being the fastest method, the TPCM requires three discharge times to measure a resistor. As the discharge time through the sensor’s resistor increases with the value of this resistor, this time can become excessive. To overcome this problem, we propose a modified discharge process in which part of the discharge (previously performed through the resistive sensor only) is performed with the smallest calibration resistor. This is what we call Fast Calibration Method I, (FCM I). If we also apply this modified discharge procedure to the higher calibration resistor, RC2, then we will be working with what we call Fast Calibration Method II (FCM II). Logically, FCM II is faster than FCM I; however, it has been demonstrated that there is a trade-off between speed and uncertainty in these methods, meaning that the FCM II presents greater uncertainties in measuring the sensor’s resistance value. A series of experiments have been carried out using an FPGA as the programmable digital device, in order to confirm the validity of both methods and evaluate the speed increase they provide, together with the errors in the results. These experiments show that depending on the choice of parameters, reductions of up to 55% can be achieved in conversion times without any appreciable increase in relative errors in the estimates of R.

8. Patents

José Antonio Hidalgo López, Jesús Alberto Botín Córdoba, Óscar Oballe Peinado, José Antonio Sánchez Durán. “Método y dispositivo para la medición de resistencias mediante un circuito de interfaz directa.” ES Patent with application number P201930781.

Author Contributions

Conceptualization, J.A.H.-L. and J.A.B.-C.; methodology, O.O.-P. and J.A.B.-C.; software, J.A.S.-D.; validation and investigation, J.A.H.-L., J.A.S.-D., J.A.B.-C. and O.O.-P.; writing—original draft preparation, J.A.B.-C.; writing—review and editing, J.A.H.-L. and O.O.-P.

Funding

This work was funded by the Spanish Government and by the European ERDF program funds under contract TEC2015-67642-R and by the Universidad de Málaga under program “Plan Propio 2018”.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Fraden, J. Handbook of Modern Sensors Physics, Designs, and Applications; Springer: New York, NY, USA, 2016; ISBN 978-3-319-19303-8. [Google Scholar]
  2. Depari, A.; Falasconi, M.; Flammini, A.; Marioli, D.; Rosa, S.; Sberveglieri, G.; Taroni, A. A new low-cost electronic system to manage resistive sensors for gas detection. IEEE Sens. J. 2007, 7, 1073–1077. [Google Scholar] [CrossRef]
  3. Freitas, P.P.; Ferreira, R.; Cardoso, S.; Cardoso, F. Magnetoresistive sensors. J. Phys. Condens. Matter 2007, 19, 165221. [Google Scholar] [CrossRef]
  4. Sifuentes, E.; Gonzalez-Landaeta, R.; Cota-Ruiz, J.; Reverter, F. Measuring Dynamic Signals with Direct Sensor-to-Microcontroller Interfaces Applied to a Magnetoresistive Sensor. Sensors 2017, 17, 1150. [Google Scholar] [CrossRef] [PubMed]
  5. Arlit, M.; Schleicher, E.; Hampel, U. Thermal Anemometry Grid Sensor. Sensors 2017, 17, 1663. [Google Scholar] [CrossRef] [PubMed]
  6. Shiiki, Y.; Ishikuro, H. Interface with Opamp Output-Impedance Calibration Technique for a Large Integrated 2-D Resistive Sensor Array. 2019 IEEE Int. Symp. Circuits Syst. 2019, 1–5. [Google Scholar] [CrossRef]
  7. Yang, Y.J.; Cheng, M.Y.; Shih, S.C.; Huang, X.H.; Tsao, C.M.; Chang, F.Y.; Fan, K.C. A 32 × 32 temperature and tactile sensing array using PI-copper films. Int. J. Adv. Manuf. Technol. 2010, 46, 945–956. [Google Scholar] [CrossRef]
  8. Hidalgo-López, J.A.; Oballe-Peinado, Ó.; Castellanos-Ramos, J.; Sánchez-Durán, J.A.; Fernández-Ramos, R.; Vidal-Verdú, F. High-accuracy readout electronics for piezoresistive tactile sensors. Sensors 2017, 17. [Google Scholar] [CrossRef] [PubMed]
  9. Sherman, D. Measure Resistance and Capacitance without an A/D, AN449; Philips Semiconductors: Sunnyvale, CA, USA, 1993. [Google Scholar]
  10. Webjörn, A. Simple A/D for MCUs without Built-in A/D Converters, AN477; Freescale Semiconductor, Inc.: Milton Keynes, UK, 1993. [Google Scholar]
  11. Dutta, L.; Hazarika, A.; Bhuyan, M. Nonlinearity compensation of DIC-based multi-sensor measurement. Measurement 2018, 126, 13–21. [Google Scholar] [CrossRef]
  12. Reverter, F. Interfacing sensors to microcontrollers: A direct approach. Smart Sens. MEMs 2018, 23–55. [Google Scholar] [CrossRef]
  13. López-Lapeña, O.; Serrano-Finetti, E.; Casas, O. Low-Power Direct Resistive Sensor-to-Microcontroller Interfaces. IEEE Trans. Instrum. Meas. 2016, 65, 222–230. [Google Scholar] [CrossRef]
  14. Custodio, A.; Pallas-Areny, R.; Bragos, R. Error analysis and reduction for a simple sensor-microcontroller interface. IEEE Trans. Instrum. Meas. 2001, 50, 1644–1647. [Google Scholar] [CrossRef]
  15. Sifuentes, E.; Casas, O.; Reverter, F.; Pallàs-Areny, R. Direct interface circuit to linearise resistive sensor bridges. Sens. Actuators A Phys. 2008, 147, 210–215. [Google Scholar] [CrossRef]
  16. Oballe-Peinado, Ó.; Vidal-Verdú, F.; Sánchez-Durán, J.; Castellanos-Ramos, J.; Hidalgo-López, J. Accuracy and Resolution Analysis of a Direct Resistive Sensor Array to FPGA Interface. Sensors 2016, 16, 181. [Google Scholar] [CrossRef] [PubMed]
  17. Oballe-Peinado, O.; Hidalgo-Lopez, J.A.; Sanchez-Duran, J.A.; Castellanos-Ramos, J.; Vidal-Verdu, F. Architecture of a tactile sensor suite for artificial hands based on FPGAs. In Proceedings of the IEEE RAS and EMBS International Conference on Biomedical Robotics and Biomechatronics, Rome, Italy, 24–27 June 2012. [Google Scholar]
  18. Reverter, F.; Casas, Ò. Direct interface circuit for capacitive humidity sensors. Sens. Actuators A Phys. 2008. [Google Scholar] [CrossRef]
  19. Gaitán-Pitre, J.E.; Gasulla, M.; Pallàs-Areny, R. Analysis of a direct interface circuit for capacitive sensors. IEEE Trans. Instrum. Meas. 2009. [Google Scholar] [CrossRef]
  20. Reverter, F.; Casas, Ò. Interfacing Differential Capacitive Sensors to Microcontrollers: A Direct Approach. IEEE Trans. Instrum. Meas. 2010, 59, 2763–2769. [Google Scholar] [CrossRef]
  21. Pelegri-Sebastia, J.; Garcia-Breijo, E.; Ibanez, J.; Sogorb, T.; Laguarda-Miro, N.; Garrigues, J. Low-Cost Capacitive Humidity Sensor for Application Within Flexible RFID Labels Based on Microcontroller Systems. IEEE Trans. Instrum. Meas. 2012, 61, 545–553. [Google Scholar] [CrossRef]
  22. Chetpattananondh, K.; Tapoanoi, T.; Phukpattaranont, P.; Jindapetch, N. A self-calibration water level measurement using an interdigital capacitive sensor. Sens. Actuators A Phys. 2014, 209, 175–182. [Google Scholar] [CrossRef]
  23. Kokolanski, Z.; Reverter Cubarsí, F.; Gavrovski, C.; Dimcev, V. Improving the resolution in direct inductive sensor-to-microcontroller interface. Annu. J. Electron. 2015, 9, 135–138. [Google Scholar]
  24. Kokolanski, Z.; Jordana, J.; Gasulla, M.; Dimcev, V.; Reverter, F. Direct inductive sensor-to-microcontroller interface circuit. Sens. Actuators A Phys. 2015, 224, 185–191. [Google Scholar] [CrossRef] [Green Version]
  25. Anarghya, A.; Rao, S.S.; Herbert, M.A.; Navin Karanth, P.; Rao, N. Investigation of errors in microcontroller interface circuit for mutual inductance sensor. Eng. Sci. Technol. Int. J. 2019, 22, 578–591. [Google Scholar] [CrossRef]
  26. Ramadoss, N.; George, B. A simple microcontroller based digitizer for differential inductive sensors. In Proceedings of the 2015 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Pisa, Italy, 11–14 May 2015; pp. 148–153. [Google Scholar]
  27. Reverter, F. Direct Sensor To Microcontroller Interface Circuits; Marcombo: Barcelona, Spain, 2005; ISBN 978-8426713803. [Google Scholar]
  28. Reverter, F.; Pallàs-Areny, R. Effective number of resolution bits in direct sensor-to-microcontroller interfaces. Meas. Sci. Technol. 2004, 15, 2157. [Google Scholar] [CrossRef]
  29. Oballe-Peinado, O.; Hidalgo-Lopez, J.A.; Castellanos-Ramos, J.; Sanchez-Duran, J.A.; Navas-Gonzalez, R.; Herran, J.; Vidal-Verdu, F. FPGA-Based Tactile Sensor Suite Electronics for Real-Time Embedded Processing. IEEE Trans. Ind. Electron. 2017, 64. [Google Scholar] [CrossRef]
  30. Reverter, F.; Jordana, J.; Gasulla, M.; Pallàs-Areny, R. Accuracy and resolution of direct resistive sensor-to-microcontroller interfaces. Sens. Actuators A Phys. 2005, 121, 78–87. [Google Scholar] [CrossRef]
  31. Reverter, F.; Gasulla, M.; Pallàs-Areny, R. Analysis of power-supply interference effects on direct sensor-to-microcontroller interfaces. IEEE Trans. Instrum. Meas. 2007, 56, 171–177. [Google Scholar] [CrossRef]
  32. Pallàs-Areny, R.; Jordana, J.; Casas, Ó. Optimal two-point static calibration of measurement systems with quadratic response. Rev. Sci. Instrum. 2004, 75, 5106–5111. [Google Scholar] [CrossRef]
  33. Van Der Goes, F.M.L.; Meijer, G.C.M. A novel low-cost capacitive-sensor interface. IEEE Trans. Instrum. Meas. 1996, 45, 536–540. [Google Scholar] [CrossRef] [Green Version]
  34. ISO 1993. Guide to the Expression of Uncertainty in Measurement; International Organization for Standardization: Geneva, Switzerland, 1995. [Google Scholar]
  35. Xilinx Inc. Spartan-3AN FPGA Family Data Sheet. Available online: http://www.xilinx.com/support/documentation/data_sheets/ds557.pdf (accessed on 9 October 2015).
  36. Castellanos-Ramos, J.; Navas-González, R.; MacIcior, H.; Sikora, T.; Ochoteco, E.; Vidal-Verdú, F. Tactile sensors based on conductive polymers. In Microsystem Technologies; Springer: Berlin, Germany, 2010. [Google Scholar]
  37. Oballe-Peinado, Ó.; Vidal-Verdú, F.; Sánchez-Durán, J.; Castellanos-Ramos, J.; Hidalgo-López, J. Smart Capture Modules for Direct Sensor-to-FPGA Interfaces. Sensors 2015, 15, 31762–31780. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Circuit used in the two-point calibration method (TPCM).
Figure 1. Circuit used in the two-point calibration method (TPCM).
Sensors 19 03871 g001
Figure 2. Circuit used in the three-signal auto-calibration method (TSACM).
Figure 2. Circuit used in the three-signal auto-calibration method (TSACM).
Sensors 19 03871 g002
Figure 3. Evolution of capacitor voltage, Vc, in discharges through Rc1 (blue) and R (green). Vc(t) will vary in accordance with the comparison of the value of the discharge time through R, TR, with the constant Tx. (a) Situation in which TR is less than Tx. (b) Situation in which TR is greater than Tx.
Figure 3. Evolution of capacitor voltage, Vc, in discharges through Rc1 (blue) and R (green). Vc(t) will vary in accordance with the comparison of the value of the discharge time through R, TR, with the constant Tx. (a) Situation in which TR is less than Tx. (b) Situation in which TR is greater than Tx.
Sensors 19 03871 g003
Figure 4. Uncertainty in the discharge time measurement (discharge takes place through a single resistor).
Figure 4. Uncertainty in the discharge time measurement (discharge takes place through a single resistor).
Sensors 19 03871 g004
Figure 5. Uncertainty in the discharge time measurement when R intervenes, and the modified discharge procedure is applied. (a) Tx = 81.92 µs, (b) Tx = 163.84 µs, (c) Tx = 245.76 µs.
Figure 5. Uncertainty in the discharge time measurement when R intervenes, and the modified discharge procedure is applied. (a) Tx = 81.92 µs, (b) Tx = 163.84 µs, (c) Tx = 245.76 µs.
Sensors 19 03871 g005aSensors 19 03871 g005b
Figure 6. Maximum errors in the evaluation of R for different values of Tx in Fast Calibration Method (FCM I). (a) Maximum absolute error, (b) Maximum relative error.
Figure 6. Maximum errors in the evaluation of R for different values of Tx in Fast Calibration Method (FCM I). (a) Maximum absolute error, (b) Maximum relative error.
Sensors 19 03871 g006aSensors 19 03871 g006b
Figure 7. Maximum errors in the evaluation of R for different values of Tx in Fast Calibration Method II (FCM II). (a) Maximum absolute error, (b) Maximum relative error.
Figure 7. Maximum errors in the evaluation of R for different values of Tx in Fast Calibration Method II (FCM II). (a) Maximum absolute error, (b) Maximum relative error.
Sensors 19 03871 g007aSensors 19 03871 g007b
Figure 8. Comparison between errors evaluating R using the TPCM and the two FCMs for Tx = 163.84 µs and for maximum output current configurations of 12 mA and 24 mA. (a) Comparison between the maximum absolute errors, (b) Comparison between the maximum relative errors.
Figure 8. Comparison between errors evaluating R using the TPCM and the two FCMs for Tx = 163.84 µs and for maximum output current configurations of 12 mA and 24 mA. (a) Comparison between the maximum absolute errors, (b) Comparison between the maximum relative errors.
Sensors 19 03871 g008aSensors 19 03871 g008b
Table 1. Measurement times for TRmax and Tmax as a function of Tx and of the calibration method used. The Rmax value used was 7464.5 Ω.
Table 1. Measurement times for TRmax and Tmax as a function of Tx and of the calibration method used. The Rmax value used was 7464.5 Ω.
Tx(µs)TRmax(µs)Tmax(µs)
TPCMFCM I or FCM IITPCMFCM IFCM II
81.92306.5115.2605.1413.7273.0
163.84306.5185.0605.1483.6410.1
245.76306.5254.7605.1553.3547.1

Share and Cite

MDPI and ACS Style

Hidalgo-López, J.A.; Botín-Córdoba, J.A.; Sánchez-Durán, J.A.; Oballe-Peinado, Ó. Fast Calibration Methods for Resistive Sensor Readout Based on Direct Interface Circuits. Sensors 2019, 19, 3871. https://doi.org/10.3390/s19183871

AMA Style

Hidalgo-López JA, Botín-Córdoba JA, Sánchez-Durán JA, Oballe-Peinado Ó. Fast Calibration Methods for Resistive Sensor Readout Based on Direct Interface Circuits. Sensors. 2019; 19(18):3871. https://doi.org/10.3390/s19183871

Chicago/Turabian Style

Hidalgo-López, José A., Jesús A. Botín-Córdoba, José A. Sánchez-Durán, and Óscar Oballe-Peinado. 2019. "Fast Calibration Methods for Resistive Sensor Readout Based on Direct Interface Circuits" Sensors 19, no. 18: 3871. https://doi.org/10.3390/s19183871

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