Fast Calibration Methods for Resistive Sensor Readout Based on Direct Interface Circuits
필름·전자재료 · (14) 드라이 필름(포토레지스트)
기본 정보
- 저자
- 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 활용 포인트
- –
- 평가 입력
- –
초록
본문 66,646자
본문 펼치기
섹션 본문 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건
- A simple microcontroller based digitizer for differential inductive sensors 2015 10.1109/i2mtc.2015.7151256
- 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
- Direct inductive sensor-to-microcontroller interface circuit Sensors and Actuators A Physical · Elsevier BV · 2015 10.1016/j.sna.2015.01.017
- Direct interface circuit for capacitive humidity sensors Sensors and Actuators A Physical · Elsevier BV · 2007 10.1016/j.sna.2007.11.018
- Tactile sensors based on conductive polymers Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2009 10.1117/12.821627
- Tactile sensors based on conductive polymers Microsystem Technologies · Springer Science+Business Media · 2009 10.1007/s00542-009-0958-3
- 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
- Optimal two-point static calibration of measurement systems with quadratic response Review of Scientific Instruments · American Institute of Physics · 2004 10.1063/1.1818531
- 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
- 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
- Direct interface circuit to linearise resistive sensor bridges Sensors and Actuators A Physical · Elsevier BV · 2008 10.1016/j.sna.2008.05.023
- 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
- 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
- Direct Interface Circuit for Differential Capacitive Sensors 2008 10.1109/imtc.2008.4547300
- Architecture of a tactile sensor suite for artificial hands based on FPGAs 2012 10.1109/biorob.2012.6290746
- 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
- A novel low-cost capacitive-sensor interface IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 1996 10.1109/19.492782
- 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
- 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
- Smart Capture Modules for Direct Sensor-to-FPGA Interfaces Sensors · Multidisciplinary Digital Publishing Institute · 2015 10.3390/s151229878
- Accuracy and Resolution Analysis of a Direct Resistive Sensor Array to FPGA Interface Sensors · Multidisciplinary Digital Publishing Institute · 2016 10.3390/s16020181
- Improving the resolution in direct inductive sensor-to-microcontroller interface 2015
- Measuring Dynamic Signals with Direct Sensor-to-Microcontroller Interfaces Applied to a Magnetoresistive Sensor Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17051150
- 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
- Thermal Anemometry Grid Sensor Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17071663
- High-Accuracy Readout Electronics for Piezoresistive Tactile Sensors Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17112513
- Interfacing sensors to microcontrollers Elsevier eBooks · Elsevier BV · 2018 10.1016/b978-0-08-102055-5.00002-4
- Nonlinearity compensation of DIC-based multi-sensor measurement Measurement · Elsevier BV · 2018 10.1016/j.measurement.2018.05.020
- 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
- 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
- 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
- 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
- Magnetoresistive sensors Journal of Physics Condensed Matter · IOP Publishing · 2007 10.1088/0953-8984/19/16/165221
- Handbook of Modern Sensors Springer eBooks · Springer Nature · 2015 10.1007/978-3-319-19303-8