원시데이터 수집 시스템
선정목록으로

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

관련 필름·전자재료 · (14) 드라이 필름(포토레지스트)

기본 정보

저자
  1. José A. Hidalgo-López — Departamento de Electrónica, Universidad de Málaga, Andalucía Tech, Campus de Teatinos, 29071 Málaga, Spain
  2. Jesús A. Botín-Córdoba — Departamento de Electrónica, Universidad de Málaga, Andalucía Tech, Campus de Teatinos, 29071 Málaga, Spain
  3. José A. Sánchez-Durán — Instituto de Investigación Biomédica de Málaga (IBIMA), 29010 Málaga, Spain|||Departamento de Electrónica, Universidad de Málaga, Andalucía Tech, Campus de Teatinos, 29071 Málaga, Spain
  4. Óscar Oballe-Peinado — Departamento de Electrónica, Universidad de Málaga, Andalucía Tech, Campus de Teatinos, 29071 Málaga, Spain|||Instituto de Investigación Biomédica de Málaga (IBIMA), 29010 Málaga, Spain
DOI
10.3390/s19183871
저널
Sensors
발행년도
2019
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
13
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s19183871
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W2972017695

평가 내용

관련도
관련
사업분야
필름·전자재료 · (14) 드라이 필름(포토레지스트)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 드라이 필름(포토레지스트)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

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.

본문 66,646자

본문 펼치기
# _sensors_ _Article_ ## Fast Calibration Methods for Resistive Sensor Readout Based on Direct Interface Circuits José A. Hidalgo-López <sup>1,</sup> * , Jesús A. Botín-Córdoba <sup>1</sup> , José A. Sánchez-Durán <sup>1,2</sup> and Óscar Oballe-Peinado <sup>1,2</sup> 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 * Correspondence: jahidalgo@uma.es; Tel.: +34-951-952-263 Received: 29 July 2019; Accepted: 4 September 2019; Published: 7 September 2019 [���������](https://www.mdpi.com/1424-8220/19/18/3871?type=check_update&version=3) [�������](https://www.mdpi.com/1424-8220/19/18/3871?type=check_update&version=3) 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. Keywords: direct interface circuits; calibration methods; error analysis; resistive sensor; interface sensor; time-based measurement 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 _Sensors_ 2019, _19_ [, 3871; doi:10.3390/s19183871](http://dx.doi.org/10.3390/s19183871) [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors) _Sensors_ 2019, _19_, 3871 2 of 19 microcontroller [12–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–22] and inductive sensors [23–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 _Sensors_ 2019, _19_, 3871 3 of 19 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. Figure 1. Circuit used in the two-point calibration method (TPCM). The discharge time, _TR_, through a resistor _R_ is given by: - _<u>Vi</u>_ _TR_ = ( _R_ + _Ro_ ) _C_ ln _V f_ (1) 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_ = <sup>_<u>TR</u>_</sup> <sup>−</sup> <sup>_<u>TRc</u>_</sup> <sup><u>1</u></sup> _TRc_ 2 − _TRc_ 1 ( _Rc_ 2 − _Rc_ 1) + _Rc_ 1 (2) 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 _Sensors_ 2019, _19_, 3871 4 of 19 is not necessary for each _TR_ measurement, but rather the calibrati ~~on is~~ performed at certain intervals between several _TR_ measurements. In the case of the TPCM, these two parameters are given by: _Tmax_ ( _TPCM_ ) = 3 · _Tch_ arg _e_ + _TR_ max + _TRc_ 1 + _TRc_ 2 (3) - _<u>VDD</u>_ (4) _TRmax_ ( _TPCM_ ) = ( _Rmax_ + _Ro_ ) _C_ ln _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_, _Rc_ 1, _Rc_ 2, we can approximate Equation (3) and Equation (4) by: _Tmax_ ( _TPCM_ ) ≈ _k_ - ( _R_ max + _Rc_ 1 + _Rc_ 2) (5) _TRmax_ ( _TPCM_ ) ≈ _k_ - _Rmax_ (6) where _k_ is a constant for each circuit: _k_ = _C_ ln - _<u>VDD</u>_ _V f_ (7) 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: _Tmax_ ( _TPCM_ ) ≈ _k_ ·(2 _Rmax_ + _Rmin_ ) (8) 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: _Tmax_ ( _TPCM_ ) ≈ �2 + <sup>_~~<u>R</u>~~_</sup> <sup>_<u>min</u>_</sup> _Rmax_ <u>�</u> _TRmax_ ( _TPCM_ ) (9) which, in the very common case that _R_ max ≫ _R_ min will be: _Tmax_ ( _TPCM_ ) ≈ 2 · _TRmax_ ( _TPCM_ ) (10) 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. Figure 2. Circuit used in the three-signal auto-calibration method (TSACM). _Sensors_ 2019, _19_, 3871 5 of 19 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_ = <sup>_<u>TR</u>_</sup> <sup><u>+</u></sup> <sup>_<u>Rc</u>_</sup> <sup><u>1 −</u></sup> <sup>_<u>TRc</u>_</sup> <sup><u>1</u></sup> _TRc_ 2+ _Rc_ 1 − _TRc_ 1 _Rc_ 2 (11) 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: _TRmax_ ( _TSACM_ ) ≈ 1.15 · _k_ - _Rmax_ = 1.15 · _TRmax_ ( _TPCM_ ) (12) Likewise, _Tmax_ for this method, _Tmax(TSACM)_, will be: _Tmax_ ( _TSACM_ ) ≈ _k_ - ( _Rmax_ + 3 _Rc_ 1 + _Rc_ 2) = _k_ - (2.15 · _Rmax_ + 1.85 _Rmin_ ) (13) Using Equation (8), this last equation is transformed into: _Tmax_ ( _TSACM_ ) ≈ _Tmax_ ( _TPCM_ ) + _TRc_ 1 (14) 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_ ( _TR_ + _Rc_ 1) - _u_ ( _TR_ ) and _u_ ( _TRc_ 2+ _Rc_ 1) - _u_ ( _TRc_ 2). Considering this fact and applying the law of propagation of uncertainties [34], the variance of _R_ using TPCM, _u_ <sup>2</sup> _TPCM_ <sup>(</sup> <sup>_R_</sup> <sup>), is:</sup> �2 _u_ 2( _TRc_ 2) �2 _u_ 2( _TR_ ) + - <u>∂</u> _<u>R</u>_ ∂ _TRc_ 1 �2 _u_ 2( _TRc_ 1) + - <u>∂</u> _<u>R</u>_ ∂ _TRc_ 2 _u_ <sup>2</sup> _TPCM_ <sup>(</sup> <sup>_R_</sup> <sup>) =</sup> - <u>∂</u> _<u>R</u>_ ∂ _TR_ <u>(</u> _<u>Rc</u>_ <u>2−</u> _<u>Rc</u>_ <u>1)</u> <sup>2</sup> = ( _TRc_ 2− _TRc_ 1) <sup>2</sup> _u_ <sup>2</sup> ( _TR_ ) + �2 _u_ 2( _TRc_ 1) + - _TTRcR_ 2−− _<u>TTRcRc</u>_ <u>11</u> - _<u>TR</u>_ - _<u>TRc</u>_ <u>2</u> _TRc_ 2− _TRc_ 1 �2 _u_ 2( _TRc_ 2)� �2 _u_ 2( _TRc_ 1) + - _RRc_ 2−− _<u>RRc</u>_ <u>1</u> _c_ 1 2− _TRc_ 1 �2 _u_ 2( _TRc_ 2) (15) �2 _u_ 2( _TRc_ 2)� = <sup><u>1</u></sup> _k_ <sup>2</sup> - _u_ <sup>2</sup> ( _TR_ ) + - _RRc_ 2−− _<u>RRc</u>_ <u>2</u> _c_ 1 while the variance of _R_ using TSACM, _u_ <sup>2</sup> _TSACM_ <sup>(</sup> <sup>_R_</sup> <sup>), is:</sup> - <u>∂</u> _<u>R</u>_ ∂ _TRc_ 1 �2 _u_ <sup>2</sup> ( _TR_ + _Rc_ 1) + �2 _u_ <sup>2</sup> ( _TRc_ 2+ _Rc_ 1) = �2 _u_ 2( _TRc_ 1) + - <u>∂</u> _<u>R</u>_ ∂ _TRc_ 2+ _Rc_ 1 _u_ <sup>2</sup> _TSACM_ <sup>(</sup> <sup>_R_</sup> <sup>) =</sup> - <u>∂</u> _<u>R</u>_ ∂ _TR_ + _Rc_ 1 _R_ <sup>2</sup> _<u>c</u>_ <u>2</u> ( _TRc_ 2+ _Rc_ 1− _TRc_ 1) <sup>2</sup> �2 _u_ 2( _TRc_ 2+ _Rc_ 1)� _u_ <sup>2</sup> ( _TR_ + _Rc_ 1) + - _<u>TR</u>_ <u>+</u> _<u>Rc</u>_ <u>1−</u> _<u>TRc</u>_ <u>2+</u> _<u>Rc</u>_ <u>1</u> _TRc_ 2+ _Rc_ 1− _TRc_ 1 �2 _u_ 2( _TRc_ 1) + - _TTRcR_ 2++ _<u>RcRc</u>_ <u>11−−</u> _<u>TTRcRc</u>_ <u>11</u> �2 _u_ 2( _TRc_ 1) + - _RRc_ 2 - _TTRcR_ 2++ _<u>RcRc</u>_ <u>11−−</u> _<u>TTRcRc</u>_ <u>11</u> �2 _u_ 2( _TRc_ 2+ _Rc_ 1) (16) �2 _u_ 2( _TRc_ 2+ _Rc_ 1)� = <sup><u>1</u></sup> _k_ <sup>2</sup> - _u_ <sup>2</sup> ( _TR_ + _Rc_ 1) + - _<u>R</u>_ - _RcR_ 2 _<u>c</u>_ <u>2</u> Considering that, in Equation (15), _Rc2_ - _Rc1_ is equal to _Rc2_ in Equation (16) (if its values continue to maintain the criteria outlined above), it will be fulfilled that: _uTPCM_ ( _R_ ) < _uTSACM_ ( _R_ ) (17) and, therefore, the estimates of _R_ in the TSACM will be less accurate than in the TPCM. _Sensors_ 2019, _19_, 3871 6 of 19 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: _TRc_ 1 < _Tx_ < _TRmax_ (18) 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. _<mark>V</mark>_ _c_ _<mark>V</mark>_ _DD_ _<mark>V</mark>_ _f_ _Vc_ _<mark>V</mark>_ _DD_ _<mark>V</mark>_ _R_ _Vf_ _T'Rc1_ _<u><mark>T</mark></u>_ _Rc1_ _T'Rc1_ _<mark>t</mark>_ _Tx_ ( b ) _TR_ ( a ) _t_ _TRc1_ _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_ 2019, _19_, 3871 7 of 19 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: - _<u>VDD</u>_ _Tx_ = ( _R_ + _Ro_ ) _C_ ln (19) _VR_ Moreover, if we define _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>) as the time taken by</sup> <sup>_Rc1_</sup> <sup>to discharge the capacitor from</sup> <sup>_VR_</sup> <sup>to</sup> <sup>_Vf_</sup> <sup>,</sup> this time is given by: _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>) = (</sup> <sup>_Rc_</sup> <sup>1 +</sup> <sup>_Ro_</sup> <sup>)</sup> <sup>_C_</sup> <sup>ln</sup> _T_ <sup>′</sup> - _<u>VR</u>_ _V f_ (20) Using the values of _TRc1_ and _TRc2_ given by Equation (1), _Tx_ can also be written as: - - _<u>VR</u>_ −ln _V_ _f_ - −ln - _<u>VDD</u>_ _Tx_ = ( _R_ + _Ro_ ) _C_ ln _VR_ - _<u>VDD</u>_ = ( _R_ + _Ro_ ) _C_ ln _V_ _f_ - _<u>VDD</u>_ - ln _V_ _f_ ln <u>�</u> _<u>VDD</u>_ <u>�</u> _Vf_ ln _Vf_ (21) - _<u>VDD</u>_ = ( _R_ + _Ro_ ) _C_ ln _V_ _f_ - - - _TRc_ <u>1−</u> _TRc_ ′ <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> _TRc_ 1 and operating with this expression, we find that: _V_ _f_ - _<u>VDD</u>_ - _<u>VDD</u>_ _V_ _f_ - ( _Rc_ 1 + _Ro_ ) _C_ ln _<u>R</u>_ - _<u>Rc</u>_ <u>1</u> _Rc_ 2 − _Rc_ 1 finally resulting in: ( _R_ + _Ro_ ) _C_ ln _<u>TRc</u>_ <u>1·</u> _<u>Tx</u>_ _TRc_ 1− _TRc_ <sup><u>′</u></sup> <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>−</sup> <sup>_TRc_</sup> <sup>1</sup> _TRc_ 2 − _TRc_ 1 = <u>�</u> _<u>VDD</u>_ _V_ _f_ <u>�</u> = (22) <u>�</u> - ( _Rc_ 1 + _Ro_ ) _C_ ln <u>�</u> _<u>VDD</u>_ ( _Rc_ 2 + _Ro_ ) _C_ ln _V_ _f_ _R_ = _<u>TRc</u>_ <u>1·</u> _<u>Tx</u>_ _TRc_ 1− _TRc_ <sup><u>′</u></sup> <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>−</sup> <sup>_TRc_</sup> <sup>1</sup> _<u>TRc</u>_ <u>1·</u> _<u>Tx</u>_ _TRc_ 1− _TRc_ <sup><u>′</u></sup> <u>1</u> _TRc_ 2 − _TRc_ 1 ( _Rc_ 2 − _Rc_ 1) + _Rc_ 1 (23) Therefore, _R_ is estimated by FCM I according to the following pair of equations and conditions: _<u>Rc</u>_ <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> _<u>x</u>_ _TRc_ 2− _TRc_ 1 ( _Rc_ 2 − _Rc_ 1) + _Rc_ 1, _TR_ ≥ _Tx_ _TTRcR_ 2−− _<u>TTRcRc</u>_ <u>11</u> <sup>(</sup> <sup>_Rc_</sup> <sup>2 −</sup> <sup>_Rc_</sup> <sup>1) +</sup> <sup>_Rc_</sup> <sup>1,</sup> _TR_ < _Tx_ _R_ =  _<u>TRc</u>_ <u>1·</u> _<u>Tx</u>_ _TRc_ <u>1−</u> _TRc_ <sup><u>′</u></sup> <u>1</u> - _TRc_ 1 (24) _<u>Rc</u>_ <sup><u>′</u></sup> <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> _<u>x</u>_ 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 _TRc_ <sup>′</sup> 1 <sup>will be</sup> expressed as a function of a parameter α, such that: _Tx_ = α · _TRmax_ ( _TPCM_ ) ≈ α · _k_ - _Rmax_ (25) with _TRc_ 1/ _TRmax_ < α < 1 (the condition α < 1 obviously means that _Tx_ < _TR_ max must be fulfilled). Moreover, the maximum value of _VR_, _VRmax_, occurs when discharging through _Rmax_ for time _Tx_ _VRmax_ = _VDDe_ −α _<u>TRmax</u>_ <u>(</u> _<u>TPCM</u>_ <u>)</u> ( _Rmax_ + _Ro_ )· _C_ (26) _Sensors_ 2019, _19_, 3871 8 of 19 and, therefore, the maximum of _T_ <sup>′</sup> _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>),</sup> <sup>_T_</sup> <sup>′</sup> _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rmax_</sup> <sup>), would be given by:</sup> - _<u>VDD</u>_ _V_ _f_ (27) = ( _Rc_ 1 + _Ro_ ) _C_ ln _T_ <sup>′</sup> - _<u>VRmax</u>_ _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rmax_</sup> <sup>) = (</sup> <sup>_Rc_</sup> <sup>1 +</sup> <sup>_Ro_</sup> <sup>)</sup> <sup>_C_</sup> <sup>ln</sup> _V f_ - - <sup><u>α·</u></sup> <sup>_<u>TRmax</u>_</sup> <sup><u>(</u></sup> <sup>_<u>TPCM</u>_</sup> <sup><u>)</u></sup> ( _Rmax_ + _Ro_ )· _C_ - - <sup><u>α·</u></sup> <sup>_<u>TRmax</u>_</sup> <sup><u>(</u></sup> <sup>_<u>TPCM</u>_</sup> <sup><u>)</u></sup> = _TRc_ 1( _R_ ) − <sup><u>α·</u></sup> <sup>_<u>TRmax</u>_</sup> ( <sup><u>(</u></sup> _R_ <sup>_<u>TPCM</u>_</sup> _max_ + <sup><u>)</u></sup> _R_ <sup>·(</sup> _o_ <sup>_<u>R</u>_</sup> ) <sup>_<u>c</u>_</sup> <sup><u>1+</u></sup> <sup>_<u>Ro</u>_</sup> <sup><u>)</u></sup> ≈ _kRc_ 1 − α _kRc_ 1 = (1 − α) _kRc_ 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: _TRmax_ ( _FCMI_ ) = _Tx_ + _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rmax_</sup> <sup>) = α ·</sup> <sup>_k_</sup> <sup>·</sup> <sup>_Rmax_</sup> <sup>+ (1 −</sup> <sup>α) ·</sup> <sup>_k_</sup> <sup>·</sup> <sup>_Rc_</sup> <sup>1</sup> (28) and bearing in mind Equation (6), we can write: _TRmax_ ( _FCMI_ ) = _TRmax_ ( _TPCM_ ) − (1 − α) · _k_ - ( _Rmax_ - _Rc_ 1) (29) Hence, as the second term on the right of this equation is always greater than zero, it is verified that _TRmax_ ( _FCMI_ ) < _TRmax_ ( _TPCM_ ). Since _TRc1_ and _TRc2_ are the same for both methods, we also have: _Tmax_ ( _FCMI_ ) = _Tmax_ ( _TPCM_ ) − (1 − α) · _k_ - ( _Rmax_ - _Rc_ 1) (30) and therefore, also _Tmax_ ( _FCMI_ ) < _Tmax_ ( _TPCM_ ). For example, if we again consider _Rc_ 1 = 0.15·∆ _R_ + _Rmin_ and _Rc_ 2 = 0.85·∆ _R_ + _Rmin_, we find that: _TRmax_ ( _FCMI_ ) = and with _R_ max ≫ _R_ min: �(0.15 + 0.85 · α) + <sup><u>0.85 ·</u></sup> <sup>(1 −</sup> <sup>α)</sup> <sup>_<u>Rmin</u>_</sup> - _TRmax_ ( _TPCM_ ) (31) _Rmax_ _TRmax_ ( _FCMI_ ) ≈ (0.15 + 0.85 · α) · _TRmax_ ( _TPCM_ ) (32) Moreover, with the same choices and approximations, we have: _Tmax_ ( _FCMI_ ) = (0.575 + 0.425 · α) · _Tmax_ ( _TPCM_ ) (33) 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 _TR_ ≥ _Tx_ . In this case, the variance in the measurements for the FCM I, _u_ <sup>2</sup> _FCMI_ <sup>(</sup> <sup>_R_</sup> <sup>), is given by:</sup> - <u>∂</u> _<u>R</u>_ ∂ _TRc_ 1 �2 _u_ <sup>2</sup> ( _TRc_ 2) (34) �2 _u_ <sup>2</sup> ( _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)) +</sup> �2 - <u>∂</u> _<u>R</u>_ _u_ <sup>2</sup> ( _TRc_ 1) + ∂ _TRc_ 2 _u_ <sup>2</sup> _FCMI_ <sup>(</sup> <sup>_R_</sup> <sup>) =</sup> - <u>∂</u> _<u>R</u>_ ∂ _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)</sup> which we have calculated using the value of _R_ given by Equation (23). Moreover, when equating Equations (2) and (23), we have: _<u>TRc</u>_ <u>1</u> _TR_ = (35) _TRc_ 1 − _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>_Tx_</sup> Using Equations (23) and (35) to evaluate Equation (34), after a few simple calculations, we obtain: �2 _u_ <sup>2</sup> ( _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)) +</sup> - _RRc_ 2−− _<u>RRc</u>_ <u>2</u> _c_ 1 <sup>−</sup> _T_ <sup>_<u>T</u>_</sup> _Rc_ <sup>_<u>R</u>_</sup> 1 <sup>·</sup> - _RRc_ 2−− _<u>RRc</u>_ <u>2</u> _c_ 1 <sup>−</sup> _T_ <sup>_<u>T</u>_</sup> _Rc_ <sup>_<u>R</u>_</sup> �2 _u_ 2( _TRc_ 2) (36) - _<u>TTRx</u>_ <sup>−</sup> <sup>1</sup> ��2 _u_ 2( _TRc_ 1) + - _RRc_ 2−− _<u>RRc</u>_ <u>1</u> _c_ 1 <sup>2</sup> _FCMI_ <sup>(</sup> <sup>_R_</sup> <sup>) =</sup> _k_ <sup><u>12</u></sup> _u_ <sup>2</sup> _k_ <sup><u>12</u></sup> �� _TR_ <sup>2</sup> _TxTRc_ 1 _Sensors_ 2019, _19_, 3871 9 of 19 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_ <sup>2</sup> ( _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)) and</sup> <sup>_u2(TR)_</sup> identical in both equations. Moreover, we can find the relationship between _u_ <sup>2</sup> ( _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)) and</sup> <sup>_u2(TR)_</sup> 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>ε</u> _u_ ( _TR_ ) ≈ <u>�</u> _<u>Vi</u>_ _V f_ _CR_ (37) _V f_ - ln <u>�</u> - _TR_ ≈ <sup><u>ε</u></sup> _V_ _f_ where ε is related to circuit noise. With this result, we can write: - _T_ <sup>′</sup> ln _<u>Rc</u>_ <sup>′</sup> <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> = <sup>_<u>TRc</u>_</sup> <sup><u>1</u></sup> _TR_ (38) _u_ ≈ _u_ ( _TR_ ) _<u>Rc</u>_ <sup>′</sup> <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> _<u>TRc</u>_ <u>1</u> = _T_ <sup>′</sup> _Rc_ 1 <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>·</sup> _<u>TRc</u>_ <u>1</u> = _T_ <sup>′</sup> _Rc_ 1 <sup>(</sup> <sup>_R_</sup> _TRc_ <sup>′</sup> <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> _T_ <sup>′</sup> _TR_ <u>�</u> _<u>VR</u>_ ln _V_ _f_ - _<u>Vi</u>_ _V_ _f_ <u>�</u> _<u>VR</u>_ _V_ _f_ _TRc_ <sup>′</sup> <u>�</u> _TR_ and also: - _T_ <sup>′</sup> <sup>_<u>c</u>_</sup> <sup><u>1</u></sup> (39) _R_ _u_ _<u>Rc</u>_ <sup>′</sup> <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> ≈ <sup>_<u>Rc</u>_</sup> <sup><u>1</u></sup> _u_ ( _TR_ ) _R_ _<u>Rc</u>_ <sup>′</sup> <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> Considering Equation (38), it is verified that: - _TR_ <sup>2</sup> _TxTRc_ 1 �2 _u_ <sup>2</sup> ( _T_ <sup>′</sup> ≈ _u_ <sup>2</sup> ( _TR_ ) _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>))</sup> �2 - 1 (40) - _<u>TR</u>_ _Tx_ Thus, the addend due to the variance of _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>) in Equation (36) is always greater than that of the</sup> 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_ < _Rc_ 2, we can conclude that, in this situation, _u_ <sup>2</sup> _FCMI_ <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>></sup> <sup>_u_</sup> <sup>2</sup> _TPCM_ <sup>(</sup> <sup>_R_</sup> <sup>) and</sup> Thus, the addend due to the variance of _T_ <sup>′</sup> <sup>2</sup> _FCMI_ <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>></sup> <sup>_u_</sup> <sup>2</sup> in the TPCM whenever _R_ < _Rc_ 2, we can conclude that, in this situation, _u_ <sup>2</sup> _FCMI_ <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>></sup> <sup>_u_</sup> <sup>2</sup> _TPCM_ <sup>(</sup> <sup>_R_</sup> <sup>) and</sup> furthermore, a decrease of _Tx_ (i.e. α) always means an increase in _u_ <sup>2</sup> _FCMI_ <sup>(</sup> <sup>_R_</sup> <sup>).</sup> <sup>However,</sup> <sup>if</sup> <sup>_R_</sup> <sup>≥</sup> <sup>_Rc_</sup> <sup>2,</sup> furthermore, a decrease of _Tx_ (i.e. α) always means an increase in _u_ <sup>2</sup> _FCMI_ <sup>(</sup> <sup>_R_</sup> <sup>).</sup> <sup>However,</sup> <sup>if</sup> <sup>_R_</sup> <sup>≥</sup> <sup>_Rc_</sup> <sup>2,</sup> a simple relationship between _u_ <sup>2</sup> _FCMI_ <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>and</sup> <sup>_u_</sup> <sup>2</sup> _TPCM_ <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>cannot</sup> <sup>be</sup> <sup>extracted.</sup> <sup>This</sup> <sup>relationship</sup> <sup>will</sup> <sup>2</sup> _FCMI_ <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>and</sup> <sup>_u_</sup> <sup>2</sup> a simple relationship between _u_ <sup>2</sup> _FCMI_ <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>and</sup> <sup>_u_</sup> <sup>2</sup> _TPCM_ <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>cannot</sup> <sup>be</sup> <sup>extracted.</sup> <sup>This</sup> <sup>relationship</sup> <sup>will</sup> 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 _TRc_ 2 < _Tx_ . However, even if _TRc_ 2 - _Tx_, 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 _TRc_ 2 - _Tx_ . 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 _Tmax_ ( _FCMI_ ) by decreasing _TRc2_ using the modified discharge procedure for _Rc2_ . In order to do this, _Tx_ must fulfill: _TRc_ 1 < _Tx_ < _TRc_ 2 (41) 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 _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2).</sup> <sup>Following the reasoning</sup> used to find Equation (23), it can be deduced that when verifying Equation (41) and _TR_ - _Tx_, _R_ will be given by: _<u>Tx</u>_ _TRc_ 1− _TRc_ <sup><u>′</u></sup> <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>−</sup> <sup>1</sup> _<u>Tx</u>_ _TRc_ 1− _TRc_ <sup><u>′</u></sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2)</sup> <sup>−</sup> <sup>1</sup> _R_ = _<u>TRc</u>_ <u>1·</u> _<u>Tx</u>_ _TRc_ 1− _TRc_ <sup><u>′</u></sup> <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>−</sup> <sup>_TRc_</sup> <sup>1</sup> _<u>TRc</u>_ <u>1·</u> _<u>Tx</u>_ _TRc_ 1− _TRc_ <sup><u>′</u></sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2)</sup> <sup>−</sup> <sup>_TRc_</sup> <sup>1</sup> ( _Rc_ 2 − _Rc_ 1) + _Rc_ 1 = ( _Rc_ 2 − _Rc_ 1) + _Rc_ 1 (42) _Sensors_ 2019, _19_, 3871 10 of 19 which can also be written as: _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>·</sup> ( _Rc_ 2 − _Rc_ 1) + _Rc_ 1 (43) _R_ = _TRc_ 1 − _T_ <sup>′</sup> _TRc_ 1 − _T_ <sup>′</sup> _<u>Rc</u>_ <sup>′</sup> <u>1</u> <sup>(</sup> <sup>_Rc_</sup> <sup>2)</sup> _Tx_ + _TRc_ <sup>′</sup> <u>1</u> <sup>(</sup> <sup>_R_</sup> <sup>) −</sup> <sup>_TRc_</sup> <sup>1</sup> _Tx_ + _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2) −</sup> <sup>_TRc_</sup> _Tx_ + _T_ <sup>′</sup> _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2) −</sup> <sup>_TRc_</sup> <sup>1</sup> However, if _TR_ < _Tx_, the modified discharge procedure only applies to _Rc2_, and therefore: _<u>TR</u>_ - _<u>TRc</u>_ <u>1</u> _R_ = _<u>TRc</u>_ <u>1·</u> _<u>Tx</u>_ _TRc_ 1− _TRc_ <sup><u>′</u></sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2)</sup> <sup>−</sup> <sup>_TRc_</sup> <sup>1</sup> ( _Rc_ 2 − _Rc_ 1) + _Rc_ 1 (44) Equation (43) is more suitable than Equation (42) to find the value of _R,_ since the sums of _Tx_ and _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>or</sup> <sup>_Tx_</sup> <sup>and</sup> <sup>_T_</sup> _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2)</sup> <sup>can</sup> <sup>be</sup> <sup>generated</sup> <sup>by</sup> <sup>a</sup> <sup>single</sup> <sup>counter</sup> <sup>in</sup> <sup>the</sup> <sup>PDD</sup> <sup>simply</sup> <sup>without</sup> _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>or</sup> <sup>_Tx_</sup> <sup>and</sup> <sup>_T_</sup> <sup>′</sup> and _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>or</sup> <sup>_Tx_</sup> <sup>and</sup> <sup>_T_</sup> _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2)</sup> <sup>can</sup> <sup>be</sup> <sup>generated</sup> <sup>by</sup> <sup>a</sup> <sup>single</sup> <sup>counter</sup> <sup>in</sup> <sup>the</sup> <sup>PDD</sup> <sup>simply</sup> <sup>without</sup> 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: _TRmax_ ( _FCM II_ ) = _TRmax_ ( _FCM I_ ) (45) However, _Tmax(FCM II)_ will be given by: _Tmax_ ( _FCMII_ ) ≈ 2 _Tx_ + _T_ <sup>′</sup> _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2) +</sup> <sup>_TRc_</sup> <sup>1</sup> (46) _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rmax_</sup> <sup>) +</sup> <sup>_T_</sup> <sup>′</sup> Only _T_ <sup>′</sup> Only _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2) needs to be analyzed to evaluate this expression, since the other terms are known.</sup> If we continue to use Equation (25) and proceed in the same way as when obtaining Equation (27), _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2) will be given by:</sup> _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2) will be given by:</sup> - - = ( _Rc_ 1 + _Ro_ ) _C_ ln = ( _Rc_ 1 + _Ro_ ) _C_ - _<u>VDD</u>_ _V_ _f_ - - <sup><u>α·</u></sup> <sup>_<u>TRmax</u>_</sup> <sup><u>(</u></sup> <sup>_<u>TPCM</u>_</sup> <sup><u>)</u></sup> ( _Rc_ 2+ _Ro_ )· _C_ = (47) (48) _T_ <sup>′</sup> - _<u>VRc</u>_ <u>2</u> _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2) = (</sup> <sup>_Rc_</sup> <sup>1 +</sup> <sup>_Ro_</sup> <sup>)</sup> <sup>_C_</sup> <sup>ln</sup> _V_ _f_ = _TRc_ 1( _R_ ) − <sup><u>α·</u></sup> <sup>_<u>TRmax</u>_</sup> <sup><u>(</u></sup> <sup>_<u>TPCM</u>_</sup> <sup><u>)·(</u></sup> <sup>_<u>Rc</u>_</sup> <sup><u>1+</u></sup> <sup>_<u>Ro</u>_</sup> <sup><u>)</u></sup> ≈ _kRc_ 1 − α _kRmax_ ( _Rc_ 2+ _Ro_ ) _<u>Rc</u>_ <u>1</u> _Rc_ 2 where α is still determined by Equation (25), and it is also necessary to fulfill: _<u>TRc</u>_ <u>1</u> _TRmax_ < α < <sup>_<u>TRc</u>_</sup> <sup><u>2</u></sup> _TRmax_ Considering Equation (47), Equation (46) can be written as: _Tmax_ ( _FCM II_ ) ≈ 2 · α · _k_ - _Rmax_ + _k_ - (1 − α) · _Rc_ 1 + _k_ - (1 − α <sup>_<u>R</u>_</sup> _R_ <sup>_<u>max</u>_</sup> _c_ 2 _R_ <sup>_<u>max</u>_</sup> _c_ 2 <sup>) ·</sup> <sup>_Rc_</sup> <sup>1 +</sup> <sup>_k_</sup> <sup>·</sup> <sup>_Rc_</sup> <sup>1</sup> <sup>=</sup> = 2 · α · _k_ - _Rmax_ + _k_ �3 − α�1 + <sup>_<u>Rmax</u>_</sup> _Rc_ 2 �� (49) - _Rc_ 1 We can also find the difference between _Tmax(FCM I)_ and _Tmax(FCM II)_ : - _Tx_ + _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2)</sup> �1 − α <sup>_<u>Rmax</u>_</sup> _Rc_ 2 (50) _Tmax_ ( _FCM I_ ) − _Tmax_ ( _FCM II_ ) = _TRc_ 2 − = _k_ ( _Rc_ 2 − _Rc_ 1) considering the upper limit of α provided by Equation (48), the result of Equation (50) is always positive, meaning that _Tmax_ ( _FCM II_ ) < _Tmax_ ( _FCM I_ ). Moreover, if we use _Rc_ 1 = 0.15·∆ _R_ + _Rmin_, _Rc_ 2 = 0.85·∆ _R_ + _Rmin_ and _R_ max ≫ _R_ min again, we obtain: _Tmax_ ( _FCM II_ ) ≈ _k_ (0.45 + 1.674 · α) _Rmax_ = (0.225 + 0.837 · α) _Tmax_ ( _TPCM_ ) (51) _Sensors_ 2019, _19_, 3871 11 of 19 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_ <sup>2</sup> _FCMII_ <sup>(</sup> <sup>_R_</sup> <sup>) according to the</sup> law of propagation of uncertainties applied to Equations (42) and (44): - <u>∂</u> _<u>R</u>_ ∂ _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2)</sup> - <u>∂</u> _<u>R</u>_ ∂ _TRc_ <sup>′</sup> 1 <sup>(</sup> �2 _u_ <sup>2</sup> ( _TRc_ 1) + - <u>∂</u> _<u>R</u>_ ∂ _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)</sup> - <u>∂</u> _<u>R</u>_ ∂ _TRc_ <sup>′</sup> 1 �2 _u_ <sup>2</sup> ( _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)) +</sup> �2 _u_ <sup>2</sup> ( _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2))</sup> (52) �2 _u_ <sup>2</sup> ( _T_ <sup>′</sup> _u_ <sup>2</sup> _FCMII_ <sup>(</sup> <sup>_R_</sup> <sup>) =</sup> - <u>∂</u> _<u>R</u>_ ∂ _TRc_ 1 For _TR_ - _Tx_, using Equation (42), making the partial derivatives, taking into account Equation (35) and also considering that for this case: _<u>TRc</u>_ <u>1</u> _TRc_ 2 = (53) _TRc_ 1 − _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2)</sup> <sup>_Tx_</sup> obtains: _TRc_ <sup>2</sup> <u>2</u> _TRc_ 1 _Tx_ (54) �2 _u_ <sup>2</sup> ( _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2))</sup> �2 _u_ <sup>2</sup> ( _T_ <sup>′</sup> �2 _u_ <sup>2</sup> ( _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>)) +</sup> - _RRc_ 2−− _<u>RRc</u>_ <u>1</u> _c_ 1 _T_ <sup>2</sup> - _TR_ <sup>2</sup> �2 _u_ 2( _TRc_ 1) + _TxTRc_ 1 <sup>2</sup> _FCMII_ <sup>(</sup> <sup>_R_</sup> <sup>) =</sup> _k_ <sup><u>12</u></sup> _u_ <sup>2</sup> _k_ <sup><u>12</u></sup> �� _<u>R</u>_ - _<u>Rc</u>_ <u>2</u> _Rc_ 2− _Rc_ 1 _<u>TR</u>_ <u>+</u> _<u>TRc</u>_ <u>2</u> _Tx_ Carrying out a study for this equation similar to the one for comparison _u_ <sup>2</sup> _u_ <sup>2</sup> _TPCM_ <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>and</sup> <sup>_u_</sup> <sup>2</sup> Carrying out a study for this equation similar to the one for comparison _u_ <sup>2</sup> _TPCM_ <sup>(</sup> <sup>_R_</sup> <sup>)</sup> <sup>and</sup> <sup>_u_</sup> <sup>2</sup> _FCMI_ <sup>(</sup> <sup>_R_</sup> <sup>),</sup> Equations (15) and (36), finds that _TR_ ~~�~~ _Tx_ - _TRc_ 1 ⇒ _uFCMII_ ( _R_ ) > _uTPCM_ ( _R_ ) (55) but if _TR_ - _Tx_, taking into account that _TRc_ 1 < _Tx_, the condition in Equation (55) is always verified. Moreover, if _TR_ < _Tx_, the law of propagation of uncertainty applied to Equation (44) generates the following result:   _Rc_ <sup>′</sup> 1 <sup>(</sup> <sup>_Rc_</sup> <sup>2))</sup> 2 _u_ <sup>2</sup> ( _T_ <sup>′</sup> _<u>R</u>_ - _<u>Rc</u>_ <u>1</u> _Rc_ 2 − _Rc_ 1 _T_ <sup>2</sup> _<u>Rc</u>_ <u>2</u> _TRc_ 1 _Tx_   <sup>2</sup> _FCMII_ <sup>(</sup> <sup>_R_</sup> <sup>) =</sup> <sup><u>1</u></sup> _k_ <sup>2</sup> _u_ <sup>2</sup> _k_ <sup>2</sup>  (56)    _u_ 2( _TR_ ) + - _TTRcR_ 1 �2 _u_ <sup>2</sup> ( _TRc_ 1) + The only information provided by this equation is that if _TRc_ 1 < _TR_ < _Tx_, then _uFCMII_ ( _R_ ) _uTPCM_ ( _R_ ). Based on the conclusions drawn from Equations (55) and (56), we can state that whenever _TRc_ 1 < _TR_, it is verified that _uFCMII_ ( _R_ ) - _uTPCM_ ( _R_ ). In contrast, if _TR_ < _TRc_ 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 _uFCMII_ ( _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 2 <sup>14</sup> 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 _Sensors_ 2019, _19_, 3871 12 of 19 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. Figure 4. Uncertainty in the discharge time measurement (discharge takes place through a single resistor). 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 _Sensors_ 2019, _19_, 3871 13 of 19 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. Tx=81.92 µs ( a ) Tx=163.84 µs ( b ) Tx=245.76 µs ( c ) 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_ 2019, _19_, 3871 14 of 19 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 _Tx_ + _TRc_ <sup>′</sup> 1 <sup>(</sup> <sup>_R_</sup> <sup>).</sup> <sup>The data now appear to the right</sup> 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_ ). ( a ) ( b ) 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_ 2019, _19_, 3871 15 of 19 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 Ω. ( a ) ( b ) 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 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, _Sensors_ 2019, _19_, 3871 16 of 19 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 Ω). 14 TPCM 24mA 12 10 8 6 4 2 0 FCM I 24mA Tx=163.84 us FCM II 24mA Tx=163.84 us TPCM 12mA FCM I 12mA Tx=163.84 us FCM II 12mA Tx=163.84 us _R_ (Ω) ( b ) 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_ 2019, _19_, 3871 17 of 19 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 Figures 5–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_ . 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 Ω. _TRmax_ (µs) _Tmax_ (µs) _Tx_ (µs) TPCM FCM I or FCM II TPCM FCM I FCM II 81.92 306.5 115.2 605.1 413.7 273.0 163.84 306.5 185.0 605.1 483.6 410.1 245.76 306.5 254.7 605.1 553.3 547.1 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. _Sensors_ 2019, _19_, 3871 18 of 19 References 1. Fraden, J. _Handbook of Modern Sensors Physics, Designs, and Applications_ ; Springer: New York, NY, USA, 2016; ISBN 978-3-319-19303-8. 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. [[CrossRef]](http://dx.doi.org/10.1109/JSEN.2007.895965) 3. Freitas, P.P.; Ferreira, R.; Cardoso, S.; Cardoso, F. Magnetoresistive sensors. _J. Phys._ _Condens._ _Matter_ 2007, _19_, 165221. [[CrossRef]](http://dx.doi.org/10.1088/0953-8984/19/16/165221) 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. [[CrossRef]](http://dx.doi.org/10.3390/s17051150) [[PubMed]](http://www.ncbi.nlm.nih.gov/pubmed/28524078) 5. Arlit, M.; Schleicher, E.; Hampel, U. Thermal Anemometry Grid Sensor. _Sensors_ 2017, _17_, 1663. [[CrossRef]](http://dx.doi.org/10.3390/s17071663) [[PubMed]](http://www.ncbi.nlm.nih.gov/pubmed/28753947) 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. [[CrossRef]](http://dx.doi.org/10.1109/ISCAS.2019.8702594) 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. [[CrossRef]](http://dx.doi.org/10.1007/s00170-009-1940-z) 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_ . [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s17112513) 9. Sherman, D. _Measure Resistance and Capacitance without an A_ / _D, AN449_ ; Philips Semiconductors: Sunnyvale, CA, USA, 1993. 10. Webjörn, A. _Simple_ _A_ / _D_ _for_ _MCUs_ _without_ _Built-in_ _A_ / _D_ _Converters,_ _AN477_ ; Freescale Semiconductor, Inc.: Milton Keynes, UK, 1993. 11. Dutta, L.; Hazarika, A.; Bhuyan, M. Nonlinearity compensation of DIC-based multi-sensor measurement. _Measurement_ 2018, _126_, 13–21. [[CrossRef]](http://dx.doi.org/10.1016/j.measurement.2018.05.020) 12. Reverter, F. Interfacing sensors to microcontrollers: A direct approach. _Smart_ _Sens._ _MEMs_ 2018, 23–55. [[CrossRef]](http://dx.doi.org/10.1016/B978-0-08-102055-5.00002-4) 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. [[CrossRef]](http://dx.doi.org/10.1109/TIM.2015.2479105) 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. [[CrossRef]](http://dx.doi.org/10.1109/19.982960) 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. [[CrossRef]](http://dx.doi.org/10.1016/j.sna.2008.05.023) 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. [[CrossRef]](http://dx.doi.org/10.3390/s16020181) [[PubMed]](http://www.ncbi.nlm.nih.gov/pubmed/26840321) 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. 18. Reverter, F.; Casas, Ò. Direct interface circuit for capacitive humidity sensors. _Sens._ _Actuators A Phys._ 2008 . [[CrossRef]](http://dx.doi.org/10.1016/j.sna.2007.11.018) 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 . [[CrossRef]](http://dx.doi.org/10.1109/TIM.2009.2016782) 20. Reverter, F.; Casas, Ò. Interfacing Differential Capacitive Sensors to Microcontrollers: A Direct Approach. _IEEE Trans._ _Instrum._ _Meas._ 2010, _59_, 2763–2769. [[CrossRef]](http://dx.doi.org/10.1109/TIM.2009.2036500) 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. [[CrossRef]](http://dx.doi.org/10.1109/TIM.2011.2164860) 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. [[CrossRef]](http://dx.doi.org/10.1016/j.sna.2014.01.040) 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. _Sensors_ 2019, _19_, 3871 19 of 19 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. [[CrossRef]](http://dx.doi.org/10.1016/j.sna.2015.01.017) 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. [[CrossRef]](http://dx.doi.org/10.1016/j.jestch.2018.11.011) 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. 27. Reverter, F. _Direct_ _Sensor_ _To_ _Microcontroller_ _Interface_ _Circuits_ ; Marcombo: Barcelona, Spain, 2005; ISBN 978-8426713803. 28. Reverter, F.; Pallàs-Areny, R. Effective number of resolution bits in direct sensor-to-microcontroller interfaces. _Meas._ _Sci._ _Technol._ 2004, _15_, 2157. [[CrossRef]](http://dx.doi.org/10.1088/0957-0233/15/10/028) 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_ . [[CrossRef]](http://dx.doi.org/10.1109/TIE.2017.2714137) 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. [[CrossRef]](http://dx.doi.org/10.1016/j.sna.2005.01.010) 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. [[CrossRef]](http://dx.doi.org/10.1109/TIM.2006.887401) 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. [[CrossRef]](http://dx.doi.org/10.1063/1.1818531) 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. [[CrossRef]](http://dx.doi.org/10.1109/19.492782) 34. ISO 1993. _Guide to the Expression of Uncertainty in Measurement_ ; International Organization for Standardization: Geneva, Switzerland, 1995. 35. Xilinx Inc. Spartan-3AN FPGA Family Data Sheet. Available online: [http://www.xilinx.com/support/](http://www.xilinx.com/support/documentation/data_sheets/ds557.pdf) [documentation/data_sheets/ds557.pdf (accessed on 9 October 2015).](http://www.xilinx.com/support/documentation/data_sheets/ds557.pdf) 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. 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. [[CrossRef]](http://dx.doi.org/10.3390/s151229878) © 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 97문단 · 48,978자

(제목 없음)

1A 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.

Introduction

2More 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].

3The 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.

4A 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.

5The 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.

6In 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.

7The 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.

Operating Principles and Types of DIC

8As 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, R ci . 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

9The TPCM uses two calibration resistors, as shown in Figure 1. The pull-up resistor, R p , 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 R p 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, R c1 , or R c2 (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.

10Sensors 2019, 19, 3871 3 of 20 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.

11The 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 powersupply 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:

12where 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:

13where 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.

14Two 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: The discharge time, T R , through a resistor R is given by:

15where R o is the output resistance of each pin configured as logic 0 output, V i is the initial discharge voltage (normally V DD ), and V f 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:

16where T Rc1 and T Rc2 are the discharge times through R c1 and R c2 , respectively. Given how the discharge times are used in Equation (2), we can eliminate the dependence of R o , 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 V f , T Rmax , and the maximum total time in the R measurement process, T max , which is the result of adding the time needed to evaluate R c1 and R c2 to T Rmax . We take these two parameters, as there may be applications in which a simultaneous calibration is not necessary for each T R measurement, but rather the calibration is performed at certain intervals between several T R measurements. In the case of the TPCM, these two parameters are given by:

17where T charge 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 c1 , R c2 , we can approximate Equation (3) and Equation (4) by:

18where k is a constant for each circuit:

19Moreover, positioning R c1 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 R c2 must be in 85% of the range. Therefore, T max (TPCM) is given by:

20As k is a characteristic of each circuit (we assume that a minimum value of C has been used according to [27]) and R max and R min are determined by the type of sensor, there is, initially, no option to reduce this time. Finally, Equation (8) can also be written as:

21which, in the very common case that R max R min will be:

22The 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.

23where 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 0

24where k is a constant for each circuit:

25Moreover, 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:

26As 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:

27Rmax max R T TPCM T TPCM R (9) which, in the very common case that max min  R R will be:

28The 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:

29Equation (11) is simpler to evaluate than Equation (2), although the difference in terms of time As in the TPCM, this circuit measures three discharge times: T R+Rc1 , the discharge time through resistors R and R c1 positioned serially, T Rc2+Rc1 , the discharge time through resistors R c1 and R c2 positioned serially, and T Rc1 . With these times and Equation (1), we can find the value of R as:

30Equation (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, R c1 will be found around 15% of the measurement range, while R c2 +R c1 (which now plays the R c2 role in the TPCM) will be 85%, meaning that R c2 will be in 70% of the measurement range. Considering this, the maximum discharge time with this method, T Rmax (TSACM), will be given, for wide ranges, by:

31Likewise, T max for this method, T max (TSACM), will be:

32Using Equation (8), this last equation is transformed into:

33Equations (12) and (14) show that obtaining resistance values always requires more time in the TSACM than in the TPCM.

34Another 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+Rc1 ) > u(T R ) and u(T Rc2+Rc1 ) > u(T Rc2 ). Considering this fact and applying the law of propagation of uncertainties [34], the variance of R using TPCM, u 2 TPCM (R), is:

35while the variance of R using TSACM, u 2 TSACM (R), is:

36Considering that, in Equation (15), R c2 -R c1 is equal to R c2 in Equation (16) (if its values continue to maintain the criteria outlined above), it will be fulfilled that:

37and, 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.

38However, the main drawback of the TPCM is the time needed to estimate R. According to Equation (6), T Rmax is proportional to R max 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 T Rmax and T max . 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.

Fast Calibration Method I

39The basic idea of FCM I is to use the minimum calibration resistor, R c1 , 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 R c1 and R c2 discharge processes are carried out in the same way. Similarly, if the discharge time through R, T R , is less than a certain value, T x (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 T max and T Rmax , respectively. However, if a logic 0 has not been detected in Pp for time T x after the discharge through R began (this condition is equivalent to T R > T x ), the Ps pin is configured as HZ, and the discharge continues through R c1 . This constitutes what we will call the modified discharge procedure. The only conditions that T x must fulfill are:

40These conditions come from the fact that, in order for the method to be consistent, it must be verified that T R > T x and that, in order for a time reduction in T R to be achieved, it must obviously be the case that T x < T Rmax .

41Both 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: T x < T Rmax and R cannot be estimated using Equation (2). Nevertheless, it is possible to find a procedure to find R, as will be shown below. 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.

42The 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:

43These 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.

44Both 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: As shown in Figure 3b, when discharging through R, the voltage in the capacitor will have reached value V R once time T x has passed, which will obviously be a function of R (V R is greater than the logic 0 threshold voltage of the PDD input pins, V f ). T x can be expressed as:

45Moreover, if we define T Rc1 (R) as the time taken by R c1 to discharge the capacitor from V R to V f , this time is given by:

46Using the values of T Rc1 and T Rc2 given by Equation (1), T x can also be written as:

47and operating with this expression, we find that:

48finally resulting in:

49Therefore, R is estimated by FCM I according to the following pair of equations and conditions:

50Expression (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 T Rmax and, in consequence, also in T max .

51In order to find T Rmax in this calibration method, it must be taken into account that Equations (5) and (6) are still valid if T R < T x . If the calibration resistors and the charge time are identical in FCM I and the TPCM, the only difference appears in T R when T R > T x . For convenience, T x and T Rc1 will be expressed as a function of a parameter α, such that:

52with T Rc1 /T Rmax < α < 1 (the condition α < 1 obviously means that T x < T Rmax must be fulfilled). Moreover, the maximum value of V R , V Rmax , occurs when discharging through R max for time T x and, therefore, the maximum of T Rc1 (R), T Rc1 (R max ), would be given by:

53where it has again been considered that R o is negligible in comparison with the other resistors that appear in Equation (27). With this result:

54and bearing in mind Equation (6), we can write:

55Hence, as the second term on the right of this equation is always greater than zero, it is verified that T Rmax (FCMI) < T Rmax (TPCM). Since T Rc1 and T Rc2 are the same for both methods, we also have:

56and therefore, also T max (FCMI) < T max (TPCM). For example, if we again consider R c1 = 0.15·∆R + R min and R c2 = 0.85·∆R + R min , we find that:

57and with R max R min :

58Moreover, with the same choices and approximations, we have:

59According 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, u FCM I (R), is equal to u TPCM (R) if T R < T x . The differences between the two uncertainties appear if T R ≥ T x . In this case, the variance in the measurements for the FCM I, u 2 FCMI (R), is given by:

60which we have calculated using the value of R given by Equation (23). Moreover, when equating Equations (2) and (23), we have:

61Using Equations (23) and (35) to evaluate Equation (34), after a few simple calculations, we obtain: Comparing this result to Equation (15) shows that the contribution of the variance due to T Rc2 is identical in both equations. Moreover, we can find the relationship between u 2 (T Rc1 (R)) and u 2 (T R ) 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):

62where ε is related to circuit noise. With this result, we can write:

63and also:

64Considering Equation (38), it is verified that:

65Thus, the addend due to the variance of T Rc1 (R) in Equation (36) is always greater than that of the variance of T R in Equation (15).

66Finally, as the addend due to the variance of T Rc1 in the FCM I is greater than its equivalent in the TPCM whenever R < R c2 , we can conclude that, in this situation, u 2 FCMI (R) > u 2 TPCM (R) and furthermore, a decrease of T x (i.e. α) always means an increase in u 2 FCMI (R). However, if R ≥ R c2 , a simple relationship between u 2 FCMI (R) and u 2 TPCM (R) cannot be extracted. This relationship will depend on each specific value of T x and R.

67One last question remains to be analyzed regarding this method: the R c2 measurement. For all the foregoing, it is obvious that R c2 discharges the capacitor up to V f if T Rc2 < T x . However, even if T Rc2 > 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 R c2 if T Rc2 > T x . In this way, we achieve an additional reduction in T max , which is especially important in applications where a calibration in each reading of R is necessary.

Fast Calibration Method II

68The basic idea of the Fast Calibration Method II (FCM II) is to further reduce T max (FCMI) by decreasing T Rc2 using the modified discharge procedure for R c2 . In order to do this, T x must fulfill:

69If this condition is fulfilled, the capacitor voltage is V Rc2 in T x when discharging through R c2 , and the time used in the discharge, from this voltage to V f , would be T Rc1 (R c2 ). 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: which can also be written as:

70However, if T R < T x , the modified discharge procedure only applies to R c2 , and therefore:

71Equation (43) is more suitable than Equation (42) to find the value of R, since the sums of T x and T Rc1 (R) or T x and T Rc1 (R c2 ) can be generated by a single counter in the PDD simply without resetting the counter when T x 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 T R and T x ). Moreover, the number of operations in Equation (44) is the same as in FCM I.

72As for the temporal response, for T Rmax (FCM II), we have:

73However, T max (FCM II) will be given by:

74Only T Rc1 (R c2 ) 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 Rc1 (R c2 ) will be given by:

75where α is still determined by Equation (25), and it is also necessary to fulfill:

76Considering Equation (47), Equation (46) can be written as:

77We can also find the difference between T max (FCM I) and T max (FCM II):

78considering the upper limit of α provided by Equation (48), the result of Equation (50) is always positive, meaning that T max (FCM II) < T max (FCM I).

79Moreover, if we use R c1 = 0.15·∆R + R min , R c2 = 0.85·∆R + R min and R max R min again, we obtain: To finish the study of this method, the uncertainty in estimating the value of R, u FCM II (R), will be analyzed, as in the previous calibration methods, by evaluating variance u 2 FCMII (R) according to the law of propagation of uncertainties applied to Equations (42) and (44):

80For T R > T x , using Equation (42), making the partial derivatives, taking into account Equation (35) and also considering that for this case:

81obtains:

82Carrying out a study for this equation similar to the one for comparison u 2 TPCM (R) and u 2 FCMI (R), Equations (15) and (36), finds that

83but if T R > T x , taking into account that T Rc1 < 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:

84The only information provided by this equation is that if T Rc1 < T R < T x , then u FCMII (R) > u TPCM (R). Based on the conclusions drawn from Equations (55) and (56), we can state that whenever T Rc1 < T R , it is verified that u FCMII (R) > u TPCM (R). In contrast, if T R < T Rc1 , there is no clear relationship between the uncertainty of this method and the others. Finally, it is important to note that any decrease in T x in Equations (54) and (56) translates into an increase in u FCMII (R), meaning that this method again presents a trade-off between speed and accuracy.

Materials and Methods

85The 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 2 14 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.

86Experimental 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: R c1 = 1098.1 Ω and R c2 = 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 R c1 and R c2 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.

87The 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.

Results and Discussion

88The 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(T R ) 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(T R ), as indicated in Equation (37), except for the smallest resistors. 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.

89The logic circuits proposed in [37] were used to improve the detection of the trigger event in Pp.

90In 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.

91The 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 T x 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, T x = 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 T x = 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 T x values shown in Figure 5a,b,c: when discharge was solely through R, and when it was through R and R c1 , respectively. In the first case, the results are those shown to the left of the vertical dashed red line that indicates the value of T x , and coincide with the results in Figure 4. 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 Figures 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.

92However, 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

93The 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 T x =245.76 µs However, if the total discharge time is measured when R and R c1 are used in the modified procedure, the time used to evaluate the uncertainty is T x + T Rc1 (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 R c1 , 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 T x indicated above. For any T x , Figure 6 shows similar errors up to the 2198 Ω resistor. This is the case since T x = 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 T x started to show greater errors. However, the errors were very similar for T x = 163.84 µs and T x = 245.76 µs, even for high R values. This behavior suggests the possibility that, for each application, a range of values of T x 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 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. Figure 7 shows the errors obtained in estimating R when using FCM II with the same three values of T x that were used in FCM I. It should be noted that these T x were always lower than T Rc2 (which had a measured mean value of 253.3 µs), and therefore allowed the modified discharge procedure of R c2 . For the same resistance values and T x values, the maximum errors shown in Figure 7 were always slightly larger than those in Figure 6, and maintained a fairly similar shape. Smaller T x had greater errors when the resistance values were above 2200 Ω. 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 Ω). Figure 8 shows the comparison of errors between the TPCM and the FCMs for T x = 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 Ω).

941.-Equation (53) must be: 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 Figures 5-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%, The R max 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 T Rmax and T max values for the different T x used in Figures 5-7 in accordance with the method used. Obviously, the TPCM shows the same values independently of T x . Equally, T Rmax is the same value for the same T x in the two FCMs. However, T max is always lower in FCM II compared to the other methods. The reduction in T Rmax varies between 17-62%, while the reduction in T max varies between 9.5-55%, depending on the method used and the value of T x .

Conclusions

95There 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.

96Despite 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, R C2 , 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.

Patents

97José 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.

참고문헌 34건

  1. A simple microcontroller based digitizer for differential inductive sensors 2015 10.1109/i2mtc.2015.7151256
  2. A self-calibration water level measurement using an interdigital capacitive sensor Sensors and Actuators A Physical · Elsevier BV · 2014 10.1016/j.sna.2014.01.040
  3. Direct inductive sensor-to-microcontroller interface circuit Sensors and Actuators A Physical · Elsevier BV · 2015 10.1016/j.sna.2015.01.017
  4. Direct interface circuit for capacitive humidity sensors Sensors and Actuators A Physical · Elsevier BV · 2007 10.1016/j.sna.2007.11.018
  5. Tactile sensors based on conductive polymers Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2009 10.1117/12.821627
  6. Tactile sensors based on conductive polymers Microsystem Technologies · Springer Science+Business Media · 2009 10.1007/s00542-009-0958-3
  7. Accuracy and resolution of direct resistive sensor-to-microcontroller interfaces Sensors and Actuators A Physical · Elsevier BV · 2005 10.1016/j.sna.2005.01.010
  8. Optimal two-point static calibration of measurement systems with quadratic response Review of Scientific Instruments · American Institute of Physics · 2004 10.1063/1.1818531
  9. Low-Cost Capacitive Humidity Sensor for Application Within Flexible RFID Labels Based on Microcontroller Systems IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2011 10.1109/tim.2011.2164860
  10. A 32 × 32 temperature and tactile sensing array using PI-copper films The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2009 10.1007/s00170-009-1940-z
  11. Direct interface circuit to linearise resistive sensor bridges Sensors and Actuators A Physical · Elsevier BV · 2008 10.1016/j.sna.2008.05.023
  12. Analysis of a Direct Interface Circuit for Capacitive Sensors IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2009 10.1109/tim.2009.2016782
  13. Effective number of resolution bits in direct sensor-to-microcontroller interfaces Measurement Science and Technology · IOP Publishing · 2004 10.1088/0957-0233/15/10/028
  14. Direct Interface Circuit for Differential Capacitive Sensors 2008 10.1109/imtc.2008.4547300
  15. Architecture of a tactile sensor suite for artificial hands based on FPGAs 2012 10.1109/biorob.2012.6290746
  16. Error analysis and reduction for a simple sensor-microcontroller interface IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2001 10.1109/19.982960
  17. A novel low-cost capacitive-sensor interface IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 1996 10.1109/19.492782
  18. A New Low-Cost Electronic System to Manage Resistive Sensors for Gas Detection IEEE Sensors Journal · IEEE Sensors Council · 2007 10.1109/jsen.2007.895965
  19. Low-Power Direct Resistive Sensor-to-Microcontroller Interfaces IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2015 10.1109/tim.2015.2479105
  20. Smart Capture Modules for Direct Sensor-to-FPGA Interfaces Sensors · Multidisciplinary Digital Publishing Institute · 2015 10.3390/s151229878
  21. Accuracy and Resolution Analysis of a Direct Resistive Sensor Array to FPGA Interface Sensors · Multidisciplinary Digital Publishing Institute · 2016 10.3390/s16020181
  22. Improving the resolution in direct inductive sensor-to-microcontroller interface 2015
  23. Measuring Dynamic Signals with Direct Sensor-to-Microcontroller Interfaces Applied to a Magnetoresistive Sensor Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17051150
  24. FPGA-Based Tactile Sensor Suite Electronics for Real-Time Embedded Processing IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2714137
  25. Thermal Anemometry Grid Sensor Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17071663
  26. High-Accuracy Readout Electronics for Piezoresistive Tactile Sensors Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17112513
  27. Interfacing sensors to microcontrollers Elsevier eBooks · Elsevier BV · 2018 10.1016/b978-0-08-102055-5.00002-4
  28. Nonlinearity compensation of DIC-based multi-sensor measurement Measurement · Elsevier BV · 2018 10.1016/j.measurement.2018.05.020
  29. Investigation of errors in microcontroller interface circuit for mutual inductance sensor Engineering Science and Technology an International Journal · Elsevier BV · 2018 10.1016/j.jestch.2018.11.011
  30. Interface with Opamp Output-Impedance Calibration Technique for a Large Integrated 2-D Resistive Sensor Array 2022 IEEE International Symposium on Circuits and Systems (ISCAS) · 2019 10.1109/iscas.2019.8702594
  31. Analysis of Power-Supply Interference Effects on Direct Sensor-to-Microcontroller Interfaces IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2007 10.1109/tim.2006.887401
  32. Interfacing Differential Capacitive Sensors to Microcontrollers: A Direct Approach IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2009 10.1109/tim.2009.2036500
  33. Magnetoresistive sensors Journal of Physics Condensed Matter · IOP Publishing · 2007 10.1088/0953-8984/19/16/165221
  34. Handbook of Modern Sensors Springer eBooks · Springer Nature · 2015 10.1007/978-3-319-19303-8