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

Simple Two-Wire Lead Compensation for Resistive Sensors Using Microcontroller ADCs

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

기본 정보

저자
  1. Apinan Aurasopon — Faculty of Engineering, Mahasarakham University, Mahasarakham, Thailand|||Faculty of Engineering, Mahasarakham University, Mahasakham, Thailand
  2. Wanchai Khamsen — Faculty of Engineering, Rajamangala University of Technology Lanna Lampang, Lampang, Thailand|||Faculty of Engineering, Rajamangala University of Technology Lanna Lampang, Thailand
  3. Chiraphon Takeang — Faculty of Engineering, Rajamangala University of Technology Lanna Lampang, Lampang, Thailand|||Faculty of Engineering, Rajamangala University of Technology Lanna Lampang, Thailand
  4. Jaime Lloret — Instituto de Investigación para la Gestión Integrada de Zonas Costeras, Universitat Politècnica de València, Valencia, Spain|||Instituto de Investigación para la Gestión Integrada de Zonas Costeras, Universitat Politècnica de València, Gandia, Valencia, Spain
DOI
10.1109/jsen.2025.3549778
저널
IEEE Sensors Journal
발행년도
2025
발행기관
IEEE Sensors Council
피인용수
5
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/jsen.2025.3549778
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W4408859330

평가 내용

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

초록

This article introduces a simplified two-wire measurement system for accurate resistance measurement of resistive sensors, leveraging the Anderson current loop. The proposed configuration features a precision reference resistor (<inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${R}_{\text {ref}}$ </tex-math></inline-formula>) and two diodes (<inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${D}_{{1}}$ </tex-math></inline-formula> and <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${D}_{{2}}$ </tex-math></inline-formula>), directly interfaced with the analog-to-digital converter (ADC) and output pins of a microcontroller, eliminating the need for external stabilization resistors. Utilizing ratiometric voltage measurements and an adaptive tuning factor, the system effectively compensates for lead-wire resistance and diode mismatches. A prototype implemented with an ATmega2560 microcontroller demonstrates accurate resistance measurements in the range of 60–<inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$320~\Omega $ </tex-math></inline-formula>, corresponding to a Pt100 sensor, achieving an uncertainty error of less than 0.13% for a lead-wire resistance of <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$4.87~\Omega $ </tex-math></inline-formula> and 0.15% for <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$10.0~\Omega $ </tex-math></inline-formula>. Experimental results confirm the system’s precision and reliability over long lead lengths, offering a cost effective and robust solution for industrial and remote sensing applications requiring accurate temperature measurements.

본문 46,191자

본문 펼치기
## Simple Two-Wire Lead Compensation for Resistive Sensors Using Microcontroller ADCs Apinan Aurasopon, Wanchai Khamsen, Chiraphon Takeang, and Jaime Lloret, _Senior Member, IEEE_ _Abstract_ —This article introduces a simplified two-wire measurement system for accurate resistance measurement of resistive sensors, leveraging the Anderson current loop. The proposed configuration features a precision reference resistor ( _R_ ref) and two diodes ( _D_ 1 and _D_ 2), directly interfaced with the analog-to-digital converter (ADC) and output pins of a microcontroller, eliminating the need for external stabilization resistors. Utilizing ratiometric voltage measurements and an adaptive tuning factor, the system effectively compensates for lead-wire resistance and diode mismatches. A prototype implemented with an ATmega2560 microcontroller demonstrates accurate resistance measurements in the range of 60–320 _�_ , corresponding to a Pt100 sensor, achieving an uncertainty error of less than 0.13% for a lead-wire resistance of 4.87 _�_ and 0.15% for 10.0 _�_ . Experimental results confirm the system’s precision and reliability over long lead lengths, offering a cost effective and robust solution for industrial and remote sensing applications requiring accurate temperature measurements. _Index_ _Terms_ — Anderson current loop, lead resistance compensation and resistance–temperature detector (RTD), resistive sensor, two-wire measurement. I. INTRODUCTION EMPERATURE is a critical parameter in industrial control systems, where maintaining precise and stable con# T ditions is essential for process efficiency and product quality. Among various temperature sensors, resistance–temperature detectors (RTDs) are highly preferred for their superior accuracy, linearity, stability, and minimal hysteresis [1], [2]. Unlike thermistors, thermocouples, and semiconductor-based sensors Received 6 February 2025; revised 25 February 2025; accepted 26 February 2025. Date of publication 26 March 2025; date of current version 1 May 2025. This work was supported by Mahasarakham University. The associate editor coordinating the review of this article and approving it for publication was Prof. Bin Gao. _(Corresponding_ _author:_ _Jaime Lloret.)_ Apinan Aurasopon is with the Faculty of Engineering, Mahasarakham University, Mahasarakham 44150, Thailand (e-mail: apinan.a@msu. ac.th). Wanchai Khamsen and Chiraphon Takeang are with the Faculty of Engineering, Rajamangala University of Technology Lanna Lampang, Lampang 52000, Thailand (e-mail: wanchai_kh@rmutl.ac.th; chiraphon@rmutl.ac.th). Jaime Lloret is with the Instituto de Investigación para la Gestión Integrada de Zonas Costeras, Universitat Politècnica de València, 46730 Valencia, Spain (e-mail: jlloret@dcom.upv.es). Digital Object Identifier 10.1109/JSEN.2025.3549778 that often require complex signal conditioning circuits, RTDs offer a simpler and more reliable solution due to their passive nature and positive resistance–temperature correlation. Constructed from platinum wire, RTDs excel in high-precision applications. However, their performance can be significantly impacted by lead-wire resistance, especially in industrial setups requiring long-distance connections between the RTD sensor and the signal conditioning circuit. This lead resistance not only introduces substantial measurement errors but also varies with ambient temperature changes due to the thermal properties of the lead-wire material, resulting in unpredictable inaccuracies [3]. Addressing these issues is essential for ensuring reliable temperature monitoring. To overcome this limitation, the use of three-wire or four-wire RTD configurations is crucial, as these techniques effectively compensate for or eliminate the effects of lead resistance, ensuring accurate temperature readings. Numerous studies have explored methods to mitigate the impact of lead resistance on measurement accuracy, which can be broadly categorized into two main approaches: analog front-end (AFE) designs and digital interface circuit (DIC)-based compensation techniques. AFE techniques utilize devices such as operational © 2025 The Authors. This work is licensed under a Creative Commons Attribution 4.0 License. For more information see https://creativecommons org/licenses/by/4 0/ amplifiers (Op-amps), operational transconductance amplifiers (OTAs), switches, capacitors, and resistors to convert sensor resistance into time (R-to-T) or voltage (R-to-V) [4], [5], [6], [7], [8]. While effective, these methods often involve complex circuits and operational principles, which can introduce challenges. Faults stemming from nonideal characteristics of analog components, such as offset errors, thermal drifts, and noise, as well as vulnerabilities to power-supply fluctuations, pose significant obstacles to achieving consistent accuracy. Thus, although AFE methods have demonstrated potential, their practical implementation requires careful consideration of these limitations. The second group of techniques for mitigating lead-wire resistance errors involves DIC, which simplifies the measurement process by directly interfacing RTDs with microcontrollers [9], [10]. These circuits utilize R-to-T conversion, where the resistance of the sensor is determined by measuring the discharge time of an _RC_ circuit. In a threewire configuration, the DIC employs three precision resistors, a capacitor, and a five-node setup—four nodes to control the discharge pathways of the capacitor and one node for charging and measuring the discharge time [9]. Extending this concept, the four-wire configuration incorporates an additional switch, with five nodes dedicated to controlling the capacitor’s discharge process and one node for charging and measuring the discharge time [10]. These techniques demonstrate high accuracy in compensating for lead resistance and minimizing measurement errors. However, these techniques can be affected by power-supply interference, which introduces trigger noise in time-based measurements, leading to uncertainty in the measured resistance [11]. This work introduces a simplified two-wire measurement technique based on the Anderson current loop, designed for accurate RTD measurements. The configuration comprises a precision resistor and two diodes, directly interfaced with a microcontroller, resulting in a simple and cost-effective system. The proposed method effectively compensates for lead resistance effects and minimizes sensitivity to supply voltage variations, as well as analog-to-digital converter (ADC), gain error ( _β)_, and offset error ( _D_ offset _)_ . Experimental results validate the method’s accuracy, even with long lead lengths, making it highly suitable for industrial and remote sensing applications where reliability, simplicity, and cost-effectiveness are critical. The structure of this article is organized as follows. Section II reviews related works on two-wire lead compensation. Section III introduces the proposed configuration for lead-wire compensation and outlines the methodology for uncertainty measurement. Section IV presents the experimental results, highlighting a comparison of measurements with and without compensation using the tuning factor. Section V provides an in-depth discussion of the experimental findings and compares the proposed method with existing techniques. Finally, Section VI concludes this article with a summary of the key results. II. RELATED WORK Although three- and four-wire configurations enable accurate sensor resistance measurement, they require additional wiring, increasing installation complexity, costs, and challenges in managing cable layouts, especially in long-distance or constrained environments. Several techniques in the literature aim to mitigate lead-wire resistance effects in two-wire configurations. For AFE approaches, the first concept of using two diodes was proposed by Maiti [12]. This technique alternately measures the lead-wire resistances and the combined resistance of the lead wires and sensor by utilizing the diodes’ biasing states, enabling accurate isolation of the sensor resistance. This concept is further extended by techniques based on R-to-T conversion [13] and R-to-V conversion [14], [15], [16], [17]. Some approaches, such as the R-to-T method described in [18], replace the diode with switches. These switches alternate between bypassing the lead resistances and measuring the combined resistance of the lead wires and the sensor, enabling accurate compensation for leadwire effects. While others, such as R-to-V described in [19], this technique utilizes a Zener diode along with a constant current source (CCS) to measure the lead-wire resistance and a constant voltage source (CVS) to measure the combined resistance of the lead wires and the sensor. In the CCS mode, the Zener diode operates in its reverse breakdown region, providing a stable breakdown voltage that enables precise calculation of the lead-wire resistance. In the CVS mode, the applied voltage is below the Zener’s breakdown threshold, ensuring it remains off while accurately measuring the sensor resistance with lead-wire compensation. DIC-based solutions, like [20], use two diodes, three resistors, a capacitor, three switches, and a microcontroller, requiring three capacitor charging–discharging cycles to estimate the sensor resistance with errors confined to a narrow range of 100–146 _�_ . A recent study [21] demonstrates a simpler two-wire configuration using three precision resistors, a capacitor, and an FPGA for high-precision timing and measurement control. While this approach achieves an impressive 0.15% error over a broad resistance range of 100–2000 _�_ by leveraging time-based measurement techniques, its reliance on an FPGA increases design complexity and cost, making it less suitable for resource-constrained or highly integrated applications. However, these techniques remain susceptible to supply variations and interference [11]. To address supply variation, Czaja [22] proposed a simple configuration for a PT1000 sensor, which consists of two resistors and a precision reference resistor operating under ideal conditions (lead-wire resistance _R_ w = 0 _�)_, achieving a maximum uncertainty error of 0.29%. III. LEAD-WIRE COMPENSATION WITH TWO WIRES The circuit diagram of the proposed two-wire lead-wire compensation system, which utilizes two diodes as described in [12], is shown in Fig. 1. This configuration enables accurate resistance measurement by compensating for lead-wire resistances ( _R_ w1 and _R_ w2 _)_ and addressing supply voltage variations. Unlike the designs in [22] and [23], which require stabilization resistors ( _R_ 1 and _R_ 2 _)_, the proposed system leverages the microcontroller’s internal switches, thereby significantly reducing circuit complexity and component count. The circuit includes a resistive sensor ( _Rx_ _)_, a precision reference resistor ( _R_ ref _)_, and two diodes ( _D_ 1 and _D_ 2 _)_ to _D_ 1 is off), allowing current to pass through the circuit. The resistance measured in this mode includes only _R_ w1, _R_ w2, and the forward resistance of diode _D_ 2 ( _RD_ 2 _)_ . By measuring the voltages _v_ 3, _v_ 2, and _v_ 1, the total resistance in Mode II ( _RI I_ _)_ is calculated as follows: _RI I_ = _R_ ref · <sup>_v_</sup> <sup><u>3</u></sup> <sup>_<u>,I I</u>_</sup> <sup>−</sup> <sup>_v_</sup> <sup><u>2</u></sup> <sup>_<u>,I I</u>_</sup> _v_ 2 _,I I_ - _v_ 1 _,I I_ _._ (2) Fig. 1. Proposed measurement system for two-wire lead compensation. stabilize current flow and enhance measurement accuracy. Voltage readings are obtained from three distinct nodes ( _v_ 1, _v_ 2, and _v_ 3 _)_ and are interfaced with the microcontroller’s ADCs through an input multiplexer. The system is driven by two output pins ( _P_ 1 and _P_ 2 _)_, regulating the current flow through _R_ ref, _R_ w, and _Rx_, and the diodes to ensure proper diode biasing. _A._ _Measurement System Operating Principle_ The proposed measurement system operates in two distinct modes. Mode I measures the combined resistance of _Rx_, _R_ w1, and _R_ w2, while Mode II measures only the lead-wire resistances _R_ w1 and _R_ w2. In this section, both modes are explained in detail. _1)_ _Mode_ _I_ _Operation:_ In Mode I [Fig. 2(a)], _P_ 1 supplies _VDD_, and _P_ 2 is grounded, causing current to flow from the top side to the bottom side of the circuit. Diode _D_ 1 is forward-biased, allowing current to pass through, while _D_ 2 remains off. The total resistance measured in this mode ( _RI_ _)_ represents the combination of these resistances ( _R_ w1 + _Rx_ + _RD_ 1 + _R_ w2 _)_, where _RD_ 1 is the forward resistance of _D_ 1. In this configuration, the stabilization resistors _R_ 1 and _R_ 2 from previous designs are replaced by the internal resistances of the microcontroller’s output pins, _R_ _p_ and _Rn_ . These internal resistances act as stabilizers, enabling accurate voltage measurements at nodes _v_ 1 and _v_ 3 without the need for additional external components. By relying on _R_ _p_ and _Rn_, the system simplifies hardware requirements while still allowing compensation for supply voltage variations and ensuring accurate computation of _Rx_ . By measuring the voltages _v_ 1, _v_ 2, and _v_ 3, the total resistance in Mode I ( _RI_ _)_ can be calculated as follows: Hence, _RI I_ represents the combined lead resistance and diode resistance ( _R_ w2 + _RD_ 2 + _R_ w1 _)_ . This mode is critical for separating the lead-wire resistances from the sensor resistance and allows for their cancellation when combined with the measurements from Mode I. Furthermore, this approach, based on the Anderson current loop, ensures that both the numerator and denominator of the voltage ratios are proportionally influenced by any variations in _VDD_, effectively mitigating the impact of such changes. _3)_ _ADC_ _Conversion_ _and_ _Sensor_ _Resistance_ _Calculation:_ To calculate _RI_ and _RI I_ in terms of digital values, each voltage is digitized by the microcontroller’s ADC, which introduces errors such as _β_ and _D_ offset. The measured voltage _vm_ can thus be expressed as [22] _N_ <sup><u>ref</u></sup> <sup>·</sup> <sup>_β_</sup> <sup>+</sup> <sup>_D_</sup> <sup>offset ·</sup> <sup>_V_</sup> _N_ <sup><u>ref</u></sup> _vm_ = _dm._ <sup>_V_</sup> _N_ <sup><u>ref</u></sup> (3) <sup>_V_</sup> _N_ <sup><u>ref</u></sup> where _dm_ represents the digital value stored in the ADC data register for _m_ = 1, 2, 3; _V_ ref is the ADC reference voltage; and _N_ represents the ADC resolution. By substituting (3) into (1) and (2), both resistances can be expressed in terms of the digital ADC values as follows: _RI_ = _R_ ref · <sup>_d_</sup> <sup><u>2</u></sup> <sup>_<u>,I</u>_</sup> <sup>−</sup> <sup>_d_</sup> <sup><u>3</u></sup> <sup>_<u>,I</u>_</sup> _d_ 1 _,I_ - _d_ 2 _,I_ and _RI I_ = _R_ ref · <sup>_d_</sup> <sup><u>3</u></sup> <sup>_<u>,I I</u>_</sup> <sup>−</sup> <sup>_d_</sup> <sup><u>2</u></sup> <sup>_<u>,I I</u>_</sup> _d_ 2 _,I I_ - _d_ 1 _,I I_ (4) _._ (5) _RI_ = _R_ ref · <sup>_v_</sup> <sup><u>2</u></sup> <sup>_<u>,I</u>_</sup> <sup>−</sup> <sup>_v_</sup> <sup><u>3</u></sup> <sup>_<u>,I</u>_</sup> _v_ 1 _,I_ - _v_ 2 _,I_ _._ (1) In Mode I, _d_ 1 _,I_ _>_ _d_ 2 _,I_ _>_ _d_ 3 _,I_, while in Mode II, _d_ 3 _,I I_ _> d_ 2 _,I I_ _> d_ 1 _,I I_ . By applying (4) and (5), the subtraction and division processes effectively cancel out both _β_ and _D_ offset errors, simplifying the calculation. This ensures that _Rx_ depends only on the digital values _dm_ and the known reference resistance _R_ ref. Consequently, the sensor resistance _Rx_ can be determined using the results of (4) and (5) as follows: _Rx_ = _R_ _I_ - _R_ _I I_ _._ (6) This calculation effectively cancels out the impact of leadwire resistance. However, discrepancies may still arise due to variations in the forward voltage of the two diodes, leading to slight differences in their forward resistances ( _RD_ 1 and _RD_ 2 _)_ [16], [20]. This error will be compensated by the tuning factor, as detailed in Section IV. In addition, each node measurement requires 120 _µ_ s, resulting in a total measurement time of approximately 720 _µ_ s for both Modes I and II, covering a total of six measurements [24, p. 285]. During this interval, _VDD_ is assumed to remain stable, ensuring reliable measurements. _B._ _Measurement of Relative Uncertainty_ The Anderson current loop configuration effectively cancels supply deviations, gain, and offset errors. However, the This calculation provides the combined resistance in Mode I for further analysis or compensation. _2)_ _Mode_ _II_ _Operation:_ As shown in Fig. 2(b), Mode II measures only the lead-wire resistances ( _R_ w1 and _R_ w2 _)_ . In this mode, _P_ 2 is turned on, and _P_ 1 is turned off, causing the current to flow from the bottom side ( _P_ 2 _)_ to the top side ( _P_ 1 _)_ . In this configuration, diode _D_ 2 is forward-biased (while diode Fig. 2. Modes of operation for the proposed two-wire measurement system. (a) Mode I ( _P_ 1 supplies _VDD_ ). (b) Mode II ( _P_ 2 supplies _VDD_ ). - _�D_ (7d) ���� _._ ADC introduces additional errors represented by _�D_, which account for the combined effects of integral nonlinearity (INL) and differential nonlinearity (DNL) errors. INL refers to the deviation of the actual ADC transfer function from an ideal straight-line response, while DNL quantifies the variation in step size between adjacent digital codes. These errors are typically measured in the least significant bits (LSBs). These ADC-related errors contribute to the relative uncertainty in measuring _Rx_ . The impact of _�D_ on this uncertainty is analyzed as follows: _1)_ _Mode_ _I_ _(for_ _RI):_ In Mode I, from (4), the uncertainty contribution due to _R_ ref is expressed as a relative uncertainty, as shown in the following equation: _�Rr_ _∂_ _R_ _<u>I</u>_ - <sup>_�R_</sup> <sup><u>ref</u></sup> _�R_ <u>ref</u> (7a) ���� _RI_ ���� = ���� _∂_ _R_ ref _RI_ ���� = ���� _R_ ref ���� where _�Rr_ is the uncertainty caused by small deviations _�R_ ref in the reference resistor. This relative uncertainty reflects how variations in _R_ ref propagate through the measurement, affecting the overall accuracy of _RI_ . For small deviations _�D_, the uncertainty in _RI_ caused by ADC digitization errors can be approximated as �� _�Rd_ 123 _,I_ �� = �� _�Rd_ 1 _,I_ �� + �� _�Rd_ 2 _,I_ �� + �� _�Rd_ 3 _,I_ �� (7b) where _�Rd_ 1 _,I_ _, �Rd_ 2 _,I_, and _�Rd_ 3 _,I_ represent the individual uncertainties caused by small variations _�D_ in the ADC conversion process, while _�Rd_ 123 _,I_ represents the total uncertainty contribution. The total uncertainty can be expressed as ���� _�RRd_ <u>123</u> _I_ _<u>,I</u>_ ���� = ���� _∂∂dR_ 1 _,II_ - <sup>_�_</sup> _R_ <sup>_D_</sup> _I_ ���� + ���� _∂∂dR_ 2 _,II_ - <sup>_�_</sup> _R_ <sup>_D_</sup> _I_ ���� + ���� _d_ 2 _,I_ −1 _d_ 3 _,I_ Thus, the total relative uncertainty in _RI_ is expressed as ���� _�RRI_ _<u>I</u>_ ���� = ���� _�RR_ refref ���� + ���� _�RRd_ <u>123</u> _I_ _<u>,I</u>_ (7e) ���� _._ _2)_ _Mode_ _II_ _(for_ _RII):_ From (5), the uncertainty due to _R_ ref deviation follows the same formulation as in Mode I (7a). Since both modes share the same reference resistor, the relative uncertainty is given by ���� _�RRI Ir_ ���� = ���� _�RR_ refref (8a) ���� _._ ���� = ���� _∂∂RR_ ref _<u>I</u>_ - <sup>_�R_</sup> <sup><u>ref</u></sup> _RI_ ���� = ���� _�RR_ refref (7a) ���� For small deviations _�D_, the uncertainty in _RI I_ due to digitized voltage measurements can be approximated as �� _�Rd_ 123 _,I I_ �� = �� _�Rd_ 1 _,I I_ �� + �� _�Rd_ 2 _,I I_ �� + �� _�Rd_ 3 _,I I_ �� (8b) where _�Rd_ 1 _,I I_, _�Rd_ 2 _,I I_, and _�Rd_ 3 _,I I_ correspond to individual uncertainties from the ADC conversion process, while _�Rd_ 123 _,I I_ denotes the total uncertainty contribution in Mode II. The total uncertainty is determined as follows: ���� _�RRd_ <u>123</u> _I I_ _<u>,I I</u>_ ���� = ���� _∂∂dR_ 1 _,I II I_ - <sup>_�D_</sup> _RI I_ ���� + ���� _∂∂dR_ 2 _,I II I_ - <sup>_�D_</sup> _RI I_ ���� - <sup>_�D_</sup> _RI I_ + ���� _∂∂dR_ 3 _,I II I_ (8c) ���� _._ Substituting the sensitivity expressions into (8c) yields the following uncertainty expression: ���� = ���� _d_ 3 _I I_ −1 _d_ 2 _I I_ - _�D_ ���� ���� = ���� _∂∂dR_ 1 _,II_ - <sup>_�D_</sup> _RI_ ���� + ���� _∂∂dR_ 2 _,II_ ���� ���� _�RRd_ <u>123</u> _I I_ _<u>I I</u>_ ���� - <sup>_�D_</sup> _RI_ - <sup>_�D_</sup> _RI_ + + ���� _(d_ 2 _I I_ - _dd_ <u>31</u> _<u>I II I</u>_ _) (_ - _dd_ 31 _I II I_ - _d_ 2 _I I_ _)_ <sup>·</sup> <sup>_�D_</sup> ���� _d_ 2 _,I I_ −1 _d_ 1 _,I I_ + ���� _∂∂dR_ 3 _,II_ (7c) ���� _._ - _�D_ (8d) ���� _._ By applying the sensitivity expressions, the resulting uncertainty is derived as ���� _�RRd_ <u>123</u> _I_ _<u>I</u>_ ���� Thus, the total relative uncertainty of the sensor resistance _RI I_ in this mode is expressed as ���� = ���� _�RR_ refref ���� + ���� _�RRd_ <u>123</u> _I I_ _<u>,I I</u>_ _d_ <u>1</u> _<u>I</u>_ - _d_ <u>3</u> _<u>I</u>_ - _�D_ ���� + ���� _(d_ 1 _I_ - _d_ 2 _I_ _) (d_ 2 _I_ - _d_ 3 _I_ _)_ <sup>·</sup> <sup>_�D_</sup> ���� ���� _�RRI II I_ (8e) ���� _._ = ���� _d_ 1 _I_ −1 _d_ 2 _I_ Fig. 3. Measurement uncertainty analysis illustrating the total relative uncertainty ��∆ _Rx/Rx_ �� along with individual contributions (∆ _R_ dm) for Mode I (∆ _R_ dm _,I_ ) and Mode II (∆ _R_ dm _,II_ ) across the resistance range. _3)_ _Combined_ _Total_ _Relative_ _Uncertainty_ _for_ _Rx:_ Since _Rx_ is determined using two different measurement modes (Modes I and II), its total uncertainty arises from the contributions of both _RI_ and _RI I_ . These uncertainties are assumed to be independent, meaning that their combined effect follows the root-sum-square (RSS) method: <u>�</u> _�RI I_ _RI I_ DNL) and the Anderson current loop configuration, ensuring an accurate computation of _Rx_ by combining the measured resistances _RI_ and _RI I_ as _Rx_ = _R_ _I_ - _R_ _I I_ in (6). To enhance accuracy, the tuning factor _k_ was applied to reduce total error. Experimental results were compared against theoretical predictions, demonstrating consistently lower actual errors than the maximum theoretical uncertainty, thereby validating the configuration’s robustness and the accuracy improvement achieved. _A._ _Tuning Factor k_ The tuning factor _k_, originally proposed in [27] to address resistance variations in digital potentiometers caused by circuit configuration, is adapted in the proposed measurement system to minimize systematic errors. These errors arise from mismatched diode properties, such as forward voltage and forward resistance ( _RD)_ of diodes _D_ 1 and _D_ 2, as well as variations in the internal resistance of the microcontroller’s output pins ( _P_ 1 and _P_ 2 _)_, which can cause imbalances in current flow between Modes I and II. By calibrating the system with _k_, these issues, along with ADC nonidealities, are effectively mitigated, ensuring accurate and consistent resistance measurements across various operating conditions. _1)_ _Tuning Factor for Symmetry of Modes I and II:_ In the first step, to minimize the effects of the internal resistance of output pins and ADC errors, the two diodes and lead-wire resistor are removed from the circuit in Fig. 1. As a result, (4) and (5) are reformulated as Mode I ���� _�RRxx_ <u>�2</u> (9) ���� = �� _�RI_ _RI_ <u>�2</u> + where _�RI_ _/RI_ and _�RI I_ _/RI I_ represent the relative uncertainties from Modes I and II, respectively. The square root combines these uncertainties in a conservative manner. Fig. 3 illustrates the measurement uncertainty analysis for the ATmega2560 microcontroller, which features a 10-bit ADC. Considering the worst case INL and DNL values of 1.25 LSB and 0.5 LSB, respectively, the combined total error is approximately _�D_ = 1 _._ 35 LSB [24, p. 382]. The analysis covers a resistance range of 50–320 _�_, designed for an RTD Pt100, and utilizes a fixed reference resistor _R_ ref of 150 _�_ (assuming _�Rr_ = 0 _)_ . While the maximum predicted error is as high as 1.49%, experimental results consistently demonstrate that the actual total error is significantly lower, highlighting the system’s robustness and enhanced measurement accuracy. In addition, the incorporation of a tuning factor _k_ for _Rx_ calculation effectively reduces the overall error. IV. EXPERIMENTAL RESULTS The goal of this experiment is to assess the measurement accuracy and uncertainty of the proposed two-wire configuration for an RTD Pt100 sensor. A wire resistance of _R_ w (with _R_ w1 = _R_ w2), equal to 4.87 _�_ and 10 _._ 0 _�_, equivalent to a cable length of approximately 15- and 30-m characteristic of 30 AWG Type C (American Wire Gauge) copper wire, was used to simulate typical lead resistance in practical applications [25]. The experimental setup utilized an Arduino ATmega2560 board with a supply voltage of _VDD_ = 4 _._ 99, two 1N4148 diodes, a reference resistor _R_ ref = 148 _._ 15 _�_, and sensor resistances _Rx_ ranging from 60 to 320 _�_ (−130 <sup>◦</sup> C to 560 <sup>◦</sup> C) [26]. All resistances, including _R_ ref and _Rx_, were precisely measured using a 34410A Multimeter. The voltage readings digitized by the Arduino’s ADC over 100 samples were used to calculate _Rx_ based on the theoretical model described in (4)–(6). These equations account for the uncertainties introduced by the ADC’s inherent errors (INL and where _kI_ and _kI I_ are the tuning factors for operating in Modes I and II, respectively. During the tuning process, _Rx_ is replaced with a known precision resistor, and the program starts with _k_ = 1. The program iteratively adjusts _k_ as follows. 1) If the measured _Rx_ is lower than the known resistance, _k_ is increased. 2) If the measured _Rx_ is higher than the known resistance, _k_ is decreased. The adjustment is performed in fine steps of 0.0001 to ensure high precision. This iterative process continues until the measured _Rx_ matches the known resistance within a predefined tolerance (±0.01%). Once convergence is achieved, the optimal values of _kI_ and _kI I_ are stored for subsequent measurements, ensuring symmetry and accuracy in the system. _2)_ _Tuning_ _Factor_ _for_ _Reducing_ _Diode_ _Resistance_ _Mismatch:_ Diode resistance mismatch can introduce measurement errors in the system. To address this, the circuit in Fig. 1 is used with lead-wire resistances set to zero. Equation (6) is modified, and the tuning factors _kI_ and _kI I_ are incorporated as follows: _Rx_ = _kT_ [ _kI_ - _(RI_ _)_ - _kI I_ - _(RI I_ _)_ ] (12) where _kT_ is the tuning factor designed to compensate for diode resistance mismatch. The iterative adjustment process _Rx_ = _kI_ - _R_ _I_ = _kI_ Mode II - _R_ ref · <sup>_d_</sup> <sup><u>2</u></sup> <sup>_<u>,I</u>_</sup> <sup>−</sup> <sup>_d_</sup> <sup><u>3</u></sup> <sup>_<u>,I</u>_</sup> _d_ 1 _,I_ - _d_ 2 _,I_ _._ (10) (11) _Rx_ = _kI I_ - _R_ _I I_ = _kI I_ - _R_ ref · <sup>_d_</sup> <sup><u>3</u></sup> <sup>_<u>,I I</u>_</sup> <sup>−</sup> <sup>_d_</sup> <sup><u>2</u></sup> <sup>_<u>,I I</u>_</sup> _d_ 2 _,I I_ - _d_ 1 _,I I_ TABLE I TUNING FACTOR for determining the optimal _kT_ follows the same steps as described for _kI_ and _kI I_, ensuring precise calibration and error reduction. _3)_ _Optimal Tuning_ _Factor:_ Table I presents the optimal tuning factors _kI_, _kI I_, and _kT_, calibrated using _Rx_ = 149 _._ 66 _�_, which is set as half of the _Rx_ measurement span (60–320 _�)_ . The calibration process ensures that the measured resistance _Rx_ aligns accurately across the entire range. These tuning factors will be applied in subsequent uncertainty analysis and measurement of _Rx_ . _B._ _Uncertainty Measurement_ _1)_ _Uncertainty_ _Measurement_ _With_ _Fixed_ _Tuning_ _Factor:_ The objective of this experiment is to analyze the total relative uncertainty ( _�Rx_ _/Rx_ _)_, which encompasses contributions from the reference resistor and ADC conversion process, along with nonlinearity error (NLE) for the proposed two-wire measurement system under three scenarios: _R_ w = 0 _�_ (ideal case), _R_ w = 4 _._ 87 _�_, and _R_ w = 10 _�_ . The measured resistance _Rx_ is compared to the actual resistance values, demonstrating the system’s accuracy across a range of _Rx_ from 60 to 320 _�_ . The optimal tuning parameters ( _kI_, _kI I_, and _kT )_ shown in Table I were applied. Fig. 4 illustrates the experimental results, showing that at _Rx_ = 149 _._ 66 _�_, used in the tuning process, the errors remain low, with ( _�Rx_ _/Rx_ _)_, below 0.07% and NLE below 0.04%, even when _R_ w = 10 _�_ . However, as _Rx_ deviates from this tuned value, errors increase due to ADC errors and diode mismatches, particularly at lower resistances. For instance, at _Rx_ = 60 _._ 40 _�_, the system exhibits a relatively high error of 0.39%, highlighting the impact of these nonidealities in the low resistance range. _2)_ _Adaptive_ _Tuning_ _Factor_ _kT:_ When _Rx_ deviates from the tuning _Rx_, errors tend to increase, likely caused by variations in the diode bias conditions, which lead to resistance mismatches, as demonstrated in the results shown in Fig. 4. To minimize this error, the tuning factor _kT_ is adjusted adaptively based on _Rx_ . Table II presents the adaptive tuning factors _kT_ corresponding to specific resistance ranges. To determine the optimal _kT_ for each range, a calibration process (as described in the tuning factor for reducing diode resistance mismatch) is conducted before implementing the adaptive tuning system. This process employs (12) and requires manually replacing _Rx_ with known precision resistances for each predefined range, making the calibration time-consuming but necessary for accurate tuning. Ideally, the tuning _Rx_ is selected as the midpoint of each range (e.g., _Rx_ = 75 _�_ for the 50–100- _�_ ranges, _Rx_ = 125 _�_ for the 100–150- _�_ range, and so on). However, in practice, nearby resistance values are used when exact midpoints are unavailable. During calibration, the circuit is configured with Fig. 4. Experimental measurement uncertainty analysis for ∆ _Rx/Rx_ and NLE with fixed tuning factor. TABLE II TUNING FACTOR WITH ADAPTIVE _kT_ _Rx_ as the known resistance, allowing the system to compensate for diode mismatches and other nonidealities effectively. The calibrated _kT_ values for each range are stored and subsequently applied during real-time measurements to ensure improved accuracy and reduced uncertainty. _3)_ _Uncertainty_ _Measurement_ _With_ _Adaptive_ _Tuning_ _Factor_ _kT:_ The adaptive _kT_, as outlined in Table II, is adjusted based on the initial _Rx_ . The measurement process begins by approximating the initial _Rx_ using (12), with _kT_, _kI_, and _kI I_ values from Table I in the initial iteration. Once the initial _Rx_ is determined, the system identifies its corresponding range and retrieves the optimal _kT_ from Table II. This optimized _kT_ is then applied in (12) to refine the measurement of _Rx_, compensating for diode mismatches and other nonidealities across the range. Fig. 5 illustrates the results when actual _Rx_ values deviate from the tuning points to assess the system’s performance under worst case conditions. The results highlight a significant improvement in accuracy: the maximum uncertainty, | _�Rx_ _/Rx_ | is reduced from 0.39% (with fixed _kT )_ to 0.12% for _R_ w = 4 _._ 87 _�_ and 0.14% for _R_ w = 10 _._ 0 _�_ using the adaptive _kT_ . In addition, the system achieves a low maximum NLE of 0.09% of the full-scale span (FSS), validating the robustness and precision of the proposed adaptive _kT_ approach across the defined resistance ranges. Fig. 5. Experimental measurement uncertainty analysis for ∆ _Rx/Rx_ and NLE with adaptive tuning factor. Fig. 6. Effect of varying wire resistance and mismatched lead resistances on measure _Rx_ . Fig. 6 illustrates the impact of varying wire resistances on the proposed two-wire measurement system, considering scenarios of _R_ w = 4 _._ 87 and 10 _._ 0 _�_, and mismatched lead resistances ( _R_ w1 = 10 _._ 0 and _R_ w2 = 4 _._ 87 _�)_ . The measured _Rx_ values remain consistent across all cases, demonstrating the system’s robustness in compensating for lead resistance effects, including mismatches. This performance highlights the effectiveness of the adaptive tuning factor in mitigating the influence of varying and mismatched resistances on the accuracy of _Rx_ measurements. V. DISCUSSION This section provides a comprehensive comparison of the proposed circuit’s features against existing methods. It highlights the comparative advantages and limitations of the proposed measurement topology in relation to established approaches, supported by references to relevant studies. _A._ _Comparison Between the Proposed DIC and AFE_ _Methods_ AFE designs for three- and four-wire configurations [4], [5], [6], [7], [8], as well as for two-wire systems [13], [14], [15], [16], [17], [18] utilize operational amplifiers, precision capacitors, switches, and other components to perform R-to-T or R-to-V conversion. While these designs provide high precision under ideal conditions, they face notable challenges in practical applications. These challenges include sensitivity to supply voltage variations, vulnerability to offset and gain errors, and the nonideal characteristics of analog components, such as thermal drift and noise, which can impact overall measurement reliability. In addition, AFE typically requires intricate circuit designs, precise component matching, and extensive external calibration processes, which add complexity and cost to the system. The proposed two-wire DIC system offers a significant advantage by incorporating a tuning factor technique that simplifies the hardware design while maintaining comparable accuracy. This approach leverages a single ADC with three channels, two output pins, a precision resistor, and two diodes. However, it should be clarified that the determination of the tuning factor does rely on an initial calibration process. This calibration is specific to the microcontroller and the pair of diodes used and ensures compensation for diode mismatches and other nonidealities. Once the tuning factors are determined and stored, the system no longer requires repeated external calibration during operation. _B._ _Comparison Between R-to-T and R-to-V Methods_ Table III highlights the differences between R-to-T and Rto-V measurement approaches. The R-to-T method with an AFE, as described in [18], utilizes switches connected in parallel with the sensor. When the switches are turned off, the circuit operates in charging mode, whereas turning them on initiates the discharging mode. The charging and discharging times are measured by a microcontroller and used to calculate _Rx_ . This method achieves a maximum error of 0.87%. The configuration proposed in [20], the exceptionally low error of 0.06% is primarily attributed to its narrow resistance range of 100–146 _�_, which minimizes the impact of lead resistance and sensor nonlinearities. This accuracy is further supported by the use of three switches, two resistors, and a precision capacitor in its design. These components, in conjunction with a microcontroller, enable precise timing measurements and efficient compensation for systematic errors. In contrast, [21] employs a high-precision FPGA for its DIC implementation, which significantly increases system complexity. While the advanced digital processor allows for precise time measurements and achieves systematic errors below 0.15% across a wide resistance range of 100–2000 _�_, the reliance on such specialized hardware adds to the design and implementation overhead. Despite these results, R-to-T techniques are unable to cancel supply voltage fluctuations and depend on timingbased measurements, making them susceptible to timing jitter, inaccuracies in time-trigger circuits [11], [28], and strong reliance on ideal operating conditions. In addition, these methods rely on high-precision components, increasing circuit complexity and reducing suitability for compact and costsensitive designs. The proposed R-to-V topology compensates for lead-wire resistance using two diodes and a single Op-amp [16]. While TABLE III SUMMARY OF COMPARISON STUDY WITH EXISTING TECHNIQUES this method achieves a low NLE of 0.013%, it requires an excitation voltage source to regulate current flow and a low-pass filter to process the output signal, adding complexity to the circuit design. Similarly, the R-to-V technique described in [19] employs a Zener diode, achieving low error; however, it relies on a CCS to measure lead-wire resistance and a CVS to determine the combined resistance of the lead wires and the sensor. A more straightforward configuration utilizing a single ADC with three channels [22] was used to evaluate an R-to-V system for a Pt1000 sensor; however, it did not consider the impact of lead-wire resistance ( _R_ w = 0 _�)_ . The proposed work further simplifies the configuration by including compensation for lead-wire resistance, resulting in accurate and robust performance under nonideal conditions. By implementing an adaptive tuning factor ( _k_ T _)_, the system effectively mitigates diode mismatches and lead resistance variations, achieving a maximum | _�Rx_ _/Rx_ | of 0.13% for _R_ w = 4 _._ 87 _�_ and 0.15% for _R_ w = 10 _�_ . These results demonstrate the reliability and adaptability of the proposed system across diverse practical conditions. VI. CONCLUSION This work presented a simplified two-wire measurement system for accurate resistive sensor measurement, leveraging a direct interface circuit with adaptive tuning factors. The proposed method compensates for diode mismatches, lead resistance variations, and internal microcontroller nonidealities while maintaining robustness against supply voltage fluctu ations. Experimental results demonstrated that the system achieved a maximum measurement uncertainty of 0.15% and an NLE of 0.1%FSS under varying lead resistance conditions of 10 _�_ . While certain analog circuit implementations achieve lower NLEs, our approach balances accuracy with a simpler design and reduced hardware complexity. The proposed adaptive tuning factor approach was particularly effective in dynamically adjusting the measurement process based on the resistance ranges, significantly reducing errors compared to fixed _k_ T methods. By requiring only three ADC channels, two diodes, two output pins, and a precision resistor, the system achieves a compact and cost-effective design, making it an attractive alternative to AFE and resistance-to-time methods. In summary, the proposed two-wire measurement system demonstrates superior accuracy, simplicity, and adaptability, making it a viable solution for resistive sensor applications in industrial, remote, and resource-constrained environments. Future work will focus on further simplifying the configuration by removing diode _D_ 1, allowing Mode I to measure the combined resistance of the lead wires and sensor and Mode II to measure the combined resistance of the lead wires and the forward resistance of the diode. In addition, the method’s robustness against supply variations and interference will be enhanced. Exploring its applicability to a broader range of resistive sensors, such as for determining the concentration of certain substances [29], [30], will also be a key area of investigation. ACKNOWLEDGMENT This research project was financially supported by Mahasarakham University. REFERENCES [1] R. P. Areny and J. G. Webster, _Sensors_ _and_ _Signal_ _Conditioning_ . Hoboken, NJ, USA: Wiley, 2000. [2] _Application_ _Notes_ _for_ _RTD,_ _TE_ _Connectivity_ . Accessed: Nov. 5, 2024. [Online]. Available: https://www.te.com/content/dam/tecom/ documents/sensors/global/how-rtd-sensors-work.pdf [3] “Overview of two-wire and four-wire (Kelvin) resistance measurements,” Keithley Instrum., Inc., Appl. Note 3176. Accessed: Dec. 7, 2024. [Online]. Available: https://download. tek.com/document/2110_2Wire4WireKelvinResistanceAppNote.pdf [4] F. Reverter, “Two proposals of a simple analog conditioning circuit for remote resistive sensors with a three-wire connection,” _Sensors_, vol. 24, no. 2, p. 422, Jan. 2024. [5] K. Elangovan, “A novel triple-slope-based digital measurement platform for three-wire connected resistive sensors,” _IEEE Trans. Instrum. Meas._, vol. 73, pp. 1–3, 2024. [6] K. Elangovan, A. Antony, and A. C. Sreekantan, “Simplified digitizing interface-architectures for three-wire connected resistive sensors: Design and comprehensive evaluation,” _IEEE_ _Trans._ _Instrum._ _Meas._, vol. 71, pp. 1–9, 2022. [7] K. Elangovan and A. C. Sreekantan, “An efficient digital readout for four-lead resistance thermometers,” _IEEE_ _Sensors_ _Lett._, vol. 7, no. 12, pp. 1–4, Dec. 2023. [8] T. Mathew, K. Elangovan, and A. C. Sreekantan, “Accurate interface schemes for resistance thermometers with lead resistance compensation,” _IEEE_ _Trans._ _Instrum._ _Meas._, vol. 72, pp. 1–4, 2023. [9] F. Reverter, “A microcontroller-based interface circuit for three-wire connected resistive sensors,” _IEEE_ _Trans._ _Instrum._ _Meas._, vol. 71, pp. 1–4, 2022. [10] F. Reverter, “A direct approach for interfacing four-wire resistive sensors to microcontrollers,” _Meas._ _Sci._ _Technol._, vol. 34, no. 3, Mar. 2023, Art. no. 037001. [11] F. Reverter, M. Gasulla, and R. Pallas-Areny, “Analysis of power supply interference effects on direct sensor-to-microcontroller interfaces,” _IEEE_ _Trans._ _Instrum._ _Meas._, vol. 56, no. 1, pp. 171–177, Feb. 2007. [12] T. K. Maiti, “A novel lead-wire-resistance compensation technique using two-wire resistance temperature detector,” _IEEE Sensors J._, vol. 6, no. 6, pp. 1454–1458, Dec. 2006. [13] P. Julsereewong, A. Julsereewong, A. Rerkratn, and N. Pootharaporn, “Simple resistance-to-time converter with lead-wire-resistance compensation,” in _Proc._ _SICE_ _Annu._ _Conf._, Sep. 2011, pp. 2760–2763. [14] W. Petchmaneelumka, P. Julsereewong, A. Julsereewong, and J. Tongpakpanang, “Simple interface circuit with leadwire-resistance compensation for single resistive sensors,” in _Proc._ _12th_ _Int._ _Conf._ _Control,_ _Autom._ _Syst._, Oct. 2012, pp. 1076–1079. [15] A. Rerkratn, S. Prombut, T. Kamsri, V. Riewruja, and W. Petchmaneelumka, “A procedure for precise determination and compensation of lead-wire resistance of a two-wire resistance temperature detector,” _Sensors_, vol. 22, no. 11, p. 4176, May 2022. [16] F. Reverter, “A front-end circuit for two-wire connected resistive sensors with a wire-resistance compensation,” _Sensors_, vol. 23, no. 19, p. 8228, Oct. 2023. [17] A. Rerkratn, “Resistive-sensor interfacing circuit for remote measure ment using CFOA,” _Int._ _J._ _Electr._ _Electron._ _Eng._ _Telecommun._, vol. 13, no. 5, pp. 381–388, 2024. [18] G. Singh, U. Mangalanathan, U. Gandhi, and S. Sohail, “Improved resistance to digital converter for low-value resistive sensor with lead wire compensation,” in _Proc._ _IEEE_ _Region_ _10_ _Symp._ _(TENSYMP)_, Jul. 2022, pp. 1–6. [19] W. Li, S. Xiong, and X. Zhou, “Lead-Wire-Resistance compensation technique using a single zener diode for two-wire resistance temperature detectors (RTDs),” _Sensors_, vol. 20, no. 9, p. 2742, May 2020. [20] P. R. Nagarajan, B. George, and V. J. Kumar, “Improved single-element resistive sensor-to-microcontroller interface,” _IEEE_ _Trans._ _Instrum._ _Meas._, vol. 66, no. 10, pp. 2736–2744, Oct. 2017. [21] J. A. Hidalgo-López, “Direct interface circuits for resistive sensors affected by lead wire resistances,” _Measurement_, vol. 218, Aug. 2023, Art. no. 113250. [22] Z. Czaja, “Simple measurement method for resistive sensors based on ADCs of microcontrollers,” _IEEE_ _Sensors_ _J._, vol. 24, no. 3, pp. 2996–3003, Feb. 2024. [23] S. Kaunkid, A. Aurasopon, W. Khamsen, C. Takeang, N. Piladaeng, and J. Lloret, “Resistive measurement method for MQ sensors based on ADCs of microcontrollers,” _IEEE_ _Access_, vol. 12, pp. 144364–144376, 2024. [24] Atmel Corporation. (2007). _ATmega640/1280/1281/2560/2561 8-bit AVR_ _Microcontroller_ _With_ _64K/128K/256K_ _in-System_ _Programmable_ _Flash,_ _ATMEGA640V_0701_ . [Online]. Available: https://ww1.alldatasheet.com [25] Calmont Wire&Cable, _Wire_ _Gauge_ _Table_ . Accessed: Feb. 12, 2025. [Online]. Available: https://www.calmont.com/wpcontent/uploads/calmont-eng-wire-gauge.pdf [26] _Industrial_ _Platinum_ _Resistance_ _Thermometers_ _and_ _Platinum_ _Temperature_ _Sensors_, Standard IEC 60751:2022, Int. Electrotechnical Commission, Geneva, Switzerland, 2022. Accessed: Feb. 1, 2025. [Online]. Available: https://cdn.standards.iteh.ai/samples/102478/ eb22a33147f842f7a71ab9db245d92ba/IEC-60751-2022.pdf [27] A. Aurasopon, W. Khamsen, C. Takeang, T. Thongsan, and J. Lloret, “Adaptive reference resistance for accurate measurement of resistive sensors with microcontroller,” _IEEE_ _Sensors_ _J._, vol. 25, no. 5, pp. 8446–8457, Mar. 2025, doi: [10.1109/JSEN.2025.3526425.](http://dx.doi.org/10.1109/JSEN.2025.3526425) [28] F. Reverter, J. Jordana, and R. Pallas-Areny, “Internal trigger errors in microcontroller-based measurements,” in _Proc._ _17th_ _IMEKO_ _World_ _Congr._, Dubrovnik, Croatia, Jun. 2003, pp. 655–658. [29] F. J. Diaz Blasco et al., “Employment of MQ gas sensors for the classification of cistus ladanifer essential oils,” _Microchem._ _J._, vol. 206, Nov. 2024, Art. no. 111585. [30] J. Xu, K. Liu, and C. Zhang, “Electronic nose for volatile organic compounds analysis in Rice aging,” _Trends Food Sci. Technol._, vol. 109, pp. 83–93, Mar. 2021.

섹션 본문 66문단 · 33,555자

(제목 없음)

1This article introduces a simplified two-wire measurement system for accurate resistance measurement of resistive sensors, leveraging the Anderson current loop.The proposed configuration features a precision reference resistor (R ref ) and two diodes (D 1 and D 2 ), directly interfaced with the analog-to-digital converter (ADC) and output pins of a microcontroller, eliminating the need for external stabilization resistors.Utilizing ratiometric voltage measurements and an adaptive tuning factor, the system effectively compensates for lead-wire resistance and diode mismatches.A prototype implemented with an ATmega2560 microcontroller demonstrates accurate resistance measurements in the range of 60-320 , corresponding to a Pt100 sensor, achieving an uncertainty error of less than 0.13% for a lead-wire resistance of 4.87 and 0.15% for 10.0 .Experimental results confirm the system's precision and reliability over long lead lengths, offering a cost effective and robust solution for industrial and remote sensing applications requiring accurate temperature measurements.

I. INTRODUCTION

2T EMPERATURE is a critical parameter in industrial con- trol systems, where maintaining precise and stable conditions is essential for process efficiency and product quality.Among various temperature sensors, resistance-temperature detectors (RTDs) are highly preferred for their superior accuracy, linearity, stability, and minimal hysteresis [1], [2].Unlike thermistors, thermocouples, and semiconductor-based sensors that often require complex signal conditioning circuits, RTDs offer a simpler and more reliable solution due to their passive nature and positive resistance-temperature correlation.Constructed from platinum wire, RTDs excel in high-precision applications.However, their performance can be significantly impacted by lead-wire resistance, especially in industrial setups requiring long-distance connections between the RTD sensor and the signal conditioning circuit.This lead resistance not only introduces substantial measurement errors but also varies with ambient temperature changes due to the thermal properties of the lead-wire material, resulting in unpredictable inaccuracies [3].Addressing these issues is essential for ensuring reliable temperature monitoring.

3To overcome this limitation, the use of three-wire or four-wire RTD configurations is crucial, as these techniques effectively compensate for or eliminate the effects of lead resistance, ensuring accurate temperature readings.Numerous studies have explored methods to mitigate the impact of lead resistance on measurement accuracy, which can be broadly categorized into two main approaches: analog front-end (AFE) designs and digital interface circuit (DIC)-based compensation techniques.AFE techniques utilize devices such as operational amplifiers (Op-amps), operational transconductance amplifiers (OTAs), switches, capacitors, and resistors to convert sensor resistance into time (R-to-T) or voltage (R-to-V) [4], [5], [6], [7], [8].While effective, these methods often involve complex circuits and operational principles, which can introduce challenges.Faults stemming from nonideal characteristics of analog components, such as offset errors, thermal drifts, and noise, as well as vulnerabilities to power-supply fluctuations, pose significant obstacles to achieving consistent accuracy.Thus, although AFE methods have demonstrated potential, their practical implementation requires careful consideration of these limitations.The second group of techniques for mitigating lead-wire resistance errors involves DIC, which simplifies the measurement process by directly interfacing RTDs with microcontrollers [9], [10].These circuits utilize R-to-T conversion, where the resistance of the sensor is determined by measuring the discharge time of an RC circuit.In a threewire configuration, the DIC employs three precision resistors, a capacitor, and a five-node setup-four nodes to control the discharge pathways of the capacitor and one node for charging and measuring the discharge time [9].Extending this concept, the four-wire configuration incorporates an additional switch, with five nodes dedicated to controlling the capacitor's discharge process and one node for charging and measuring the discharge time [10].These techniques demonstrate high accuracy in compensating for lead resistance and minimizing measurement errors.However, these techniques can be affected by power-supply interference, which introduces trigger noise in time-based measurements, leading to uncertainty in the measured resistance [11].

4This work introduces a simplified two-wire measurement technique based on the Anderson current loop, designed for accurate RTD measurements.The configuration comprises a precision resistor and two diodes, directly interfaced with a microcontroller, resulting in a simple and cost-effective system.The proposed method effectively compensates for lead resistance effects and minimizes sensitivity to supply voltage variations, as well as analog-to-digital converter (ADC), gain error (β), and offset error (D offset ).Experimental results validate the method's accuracy, even with long lead lengths, making it highly suitable for industrial and remote sensing applications where reliability, simplicity, and cost-effectiveness are critical.

5The structure of this article is organized as follows.Section II reviews related works on two-wire lead compensation.Section III introduces the proposed configuration for lead-wire compensation and outlines the methodology for uncertainty measurement.Section IV presents the experimental results, highlighting a comparison of measurements with and without compensation using the tuning factor.Section V provides an in-depth discussion of the experimental findings and compares the proposed method with existing techniques.Finally, Section VI concludes this article with a summary of the key results.

6II. RELATED WORK Although three-and four-wire configurations enable accurate sensor resistance measurement, they require additional wiring, increasing installation complexity, costs, and challenges in managing cable layouts, especially in long-distance or constrained environments.Several techniques in the literature aim to mitigate lead-wire resistance effects in two-wire configurations.For AFE approaches, the first concept of using two diodes was proposed by Maiti [12].This technique alternately measures the lead-wire resistances and the combined resistance of the lead wires and sensor by utilizing the diodes' biasing states, enabling accurate isolation of the sensor resistance.This concept is further extended by techniques based on R-to-T conversion [13] and R-to-V conversion [14], [15], [16], [17].Some approaches, such as the R-to-T method described in [18], replace the diode with switches.These switches alternate between bypassing the lead resistances and measuring the combined resistance of the lead wires and the sensor, enabling accurate compensation for leadwire effects.While others, such as R-to-V described in [19], this technique utilizes a Zener diode along with a constant current source (CCS) to measure the lead-wire resistance and a constant voltage source (CVS) to measure the combined resistance of the lead wires and the sensor.In the CCS mode, the Zener diode operates in its reverse breakdown region, providing a stable breakdown voltage that enables precise calculation of the lead-wire resistance.In the CVS mode, the applied voltage is below the Zener's breakdown threshold, ensuring it remains off while accurately measuring the sensor resistance with lead-wire compensation.

7DIC-based solutions, like [20], use two diodes, three resistors, a capacitor, three switches, and a microcontroller, requiring three capacitor charging-discharging cycles to estimate the sensor resistance with errors confined to a narrow range of 100-146 .A recent study [21] demonstrates a simpler two-wire configuration using three precision resistors, a capacitor, and an FPGA for high-precision timing and measurement control.While this approach achieves an impressive 0.15% error over a broad resistance range of 100-2000 by leveraging time-based measurement techniques, its reliance on an FPGA increases design complexity and cost, making it less suitable for resource-constrained or highly integrated applications.However, these techniques remain susceptible to supply variations and interference [11].To address supply variation, Czaja [22] proposed a simple configuration for a PT1000 sensor, which consists of two resistors and a precision reference resistor operating under ideal conditions (lead-wire resistance R w = 0 ), achieving a maximum uncertainty error of 0.29%.

III. LEAD-WIRE COMPENSATION WITH TWO WIRES

8The circuit diagram of the proposed two-wire lead-wire compensation system, which utilizes two diodes as described in [12], is shown in Fig. 1.This configuration enables accurate resistance measurement by compensating for lead-wire resistances (R w1 and R w2 ) and addressing supply voltage variations.Unlike the designs in [22] and [23], which require stabilization resistors (R 1 and R 2 ), the proposed system leverages the microcontroller's internal switches, thereby significantly reducing circuit complexity and component count.

9The circuit includes a resistive sensor (R x ), a precision reference resistor (R ref ), and two diodes (D 1 and D 2 ) to stabilize current flow and enhance measurement accuracy.Voltage readings are obtained from three distinct nodes (v 1 , v 2 , and v 3 ) and are interfaced with the microcontroller's ADCs through an input multiplexer.The system is driven by two output pins (P 1 and P 2 ), regulating the current flow through R ref , R w , and R x , and the diodes to ensure proper diode biasing.

A. Measurement System Operating Principle

10The proposed measurement system operates in two distinct modes.Mode I measures the combined resistance of R x , R w1 , and R w2 , while Mode II measures only the lead-wire resistances R w1 and R w2 .In this section, both modes are explained in detail.

111) Mode I Operation: In Mode I [Fig.2(a)], P 1 supplies V DD , and P 2 is grounded, causing current to flow from the top side to the bottom side of the circuit.Diode D 1 is forward-biased, allowing current to pass through, while D 2 remains off.The total resistance measured in this mode (R I ) represents the combination of these resistances (R w1 + R x + R D1 + R w2 ), where R D1 is the forward resistance of D 1 .In this configuration, the stabilization resistors R 1 and R 2 from previous designs are replaced by the internal resistances of the microcontroller's output pins, R p and R n .These internal resistances act as stabilizers, enabling accurate voltage measurements at nodes v 1 and v 3 without the need for additional external components.By relying on R p and R n , the system simplifies hardware requirements while still allowing compensation for supply voltage variations and ensuring accurate computation of R x .By measuring the voltages v 1 , v 2 , and v 3 , the total resistance in Mode I (R I ) can be calculated as follows:

12This calculation provides the combined resistance in Mode I for further analysis or compensation.

132) Mode II Operation: As shown in Fig. 2(b), Mode II measures only the lead-wire resistances (R w1 and R w2 ).In this mode, P 2 is turned on, and P 1 is turned off, causing the current to flow from the bottom side (P 2 ) to the top side (P 1 ).In this configuration, diode D 2 is forward-biased (while diode D 1 is off), allowing current to pass through the circuit.The resistance measured in this mode includes only R w1 , R w2 , and the forward resistance of diode D 2 (R D2 ).By measuring the voltages v 3 , v 2 , and v 1 , the total resistance in Mode II (R I I ) is calculated as follows:

14Hence, R I I represents the combined lead resistance and diode resistance (R w2 + R D2 + R w1 ).This mode is critical for separating the lead-wire resistances from the sensor resistance and allows for their cancellation when combined with the measurements from Mode I. Furthermore, this approach, based on the Anderson current loop, ensures that both the numerator and denominator of the voltage ratios are proportionally influenced by any variations in V DD , effectively mitigating the impact of such changes.

153) ADC Conversion and Sensor Resistance Calculation: To calculate R I and R I I in terms of digital values, each voltage is digitized by the microcontroller's ADC, which introduces errors such as β and D offset .The measured voltage v m can thus be expressed as [22]

16where d m represents the digital value stored in the ADC data register for m = 1, 2, 3; V ref is the ADC reference voltage; and N represents the ADC resolution.By substituting (3) into ( 1) and ( 2), both resistances can be expressed in terms of the digital ADC values as follows: 4) and ( 5), the subtraction and division processes effectively cancel out both β and D offset errors, simplifying the calculation.This ensures that R x depends only on the digital values d m and the known reference resistance R ref .Consequently, the sensor resistance R x can be determined using the results of ( 4) and ( 5) as follows:

17This calculation effectively cancels out the impact of leadwire resistance.However, discrepancies may still arise due to variations in the forward voltage of the two diodes, leading to slight differences in their forward resistances (R D1 and R D2 ) [16], [20].This error will be compensated by the tuning factor, as detailed in Section IV.In addition, each node measurement requires 120 µs, resulting in a total measurement time of approximately 720 µs for both Modes I and II, covering a total of six measurements [24, p. 285].During this interval, V DD is assumed to remain stable, ensuring reliable measurements.

B. Measurement of Relative Uncertainty

18The Anderson current loop configuration effectively cancels supply deviations, gain, and offset errors.However, the ADC introduces additional errors represented by D, which account for the combined effects of integral nonlinearity (INL) and differential nonlinearity (DNL) errors.INL refers to the deviation of the actual ADC transfer function from an ideal straight-line response, while DNL quantifies the variation in step size between adjacent digital codes.These errors are typically measured in the least significant bits (LSBs).These ADC-related errors contribute to the relative uncertainty in measuring R x .The impact of D on this uncertainty is analyzed as follows:

191) Mode I (for R I ): In Mode I, from (4), the uncertainty contribution due to R ref is expressed as a relative uncertainty, as shown in the following equation:

20where R r is the uncertainty caused by small deviations R ref in the reference resistor.This relative uncertainty reflects how variations in R ref propagate through the measurement, affecting the overall accuracy of R I .

21For small deviations D, the uncertainty in R I caused by ADC digitization errors can be approximated as

22where R d1,I , R d2,I , and R d3,I represent the individual uncertainties caused by small variations D in the ADC conversion process, while R d123,I represents the total uncertainty contribution.The total uncertainty can be expressed as

23By applying the sensitivity expressions, the resulting uncertainty is derived as

24Thus, the total relative uncertainty in R I is expressed as

252) Mode II (for R II ): From ( 5), the uncertainty due to R ref deviation follows the same formulation as in Mode I (7a).Since both modes share the same reference resistor, the relative uncertainty is given by

26For small deviations D, the uncertainty in R I I due to digitized voltage measurements can be approximated as

27where R d1,I I , R d2,I I , and R d3,I I correspond to individual uncertainties from the ADC conversion process, while R d123,I I denotes the total uncertainty contribution in Mode II.The total uncertainty is determined as follows:

28Substituting the sensitivity expressions into (8c) yields the following uncertainty expression:

29Thus, the total relative uncertainty of the sensor resistance R I I in this mode is expressed as

30Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.3) Combined Total Relative Uncertainty for R x : Since R x is determined using two different measurement modes (Modes I and II), its total uncertainty arises from the contributions of both R I and R I I .These uncertainties are assumed to be independent, meaning that their combined effect follows the root-sum-square (RSS) method:

31where R I /R I and R I I /R I I represent the relative uncertainties from Modes I and II, respectively.The square root combines these uncertainties in a conservative manner.Fig. 3 illustrates the measurement uncertainty analysis for the ATmega2560 microcontroller, which features a 10-bit ADC.

32Considering the worst case INL and DNL values of 1.25 LSB and 0.5 LSB, respectively, the combined total error is approximately D = 1.35 LSB [24, p. 382].The analysis covers a resistance range of 50-320 , designed for an RTD Pt100, and utilizes a fixed reference resistor R ref of 150 (assuming R r = 0).While the maximum predicted error is as high as 1.49%, experimental results consistently demonstrate that the actual total error is significantly lower, highlighting the system's robustness and enhanced measurement accuracy.In addition, the incorporation of a tuning factor k for R x calculation effectively reduces the overall error.

IV. EXPERIMENTAL RESULTS

33The goal of this experiment is to assess the measurement accuracy and uncertainty of the proposed two-wire configuration for an RTD Pt100 sensor.A wire resistance of R w (with R w1 = R w2 ), equal to 4.87 and 10.0 , equivalent to a cable length of approximately 15-and 30-m characteristic of 30 AWG Type C (American Wire Gauge) copper wire, was used to simulate typical lead resistance in practical applications [25].The experimental setup utilized an Arduino ATmega2560 board with a supply voltage of V DD = 4.99, two 1N4148 diodes, a reference resistor R ref = 148.15, and sensor resistances R x ranging from 60 to 320 (−130 • C to 560 • C) [26].All resistances, including R ref and R x , were precisely measured using a 34410A Multimeter.The voltage readings digitized by the Arduino's ADC over 100 samples were used to calculate R x based on the theoretical model described in ( 4)-( 6).These equations account for the uncertainties introduced by the ADC's inherent errors (INL and DNL) and the Anderson current loop configuration, ensuring an accurate computation of R x by combining the measured resistances R I and R I I as R x = R I − R I I in (6).To enhance accuracy, the tuning factor k was applied to reduce total error.Experimental results were compared against theoretical predictions, demonstrating consistently lower actual errors than the maximum theoretical uncertainty, thereby validating the configuration's robustness and the accuracy improvement achieved.

A. Tuning Factor k

34The tuning factor k, originally proposed in [27] to address resistance variations in digital potentiometers caused by circuit configuration, is adapted in the proposed measurement system to minimize systematic errors.These errors arise from mismatched diode properties, such as forward voltage and forward resistance (R D ) of diodes D 1 and D 2 , as well as variations in the internal resistance of the microcontroller's output pins (P 1 and P 2 ), which can cause imbalances in current flow between Modes I and II.By calibrating the system with k, these issues, along with ADC nonidealities, are effectively mitigated, ensuring accurate and consistent resistance measurements across various operating conditions.

351) Tuning Factor for Symmetry of Modes I and II: In the first step, to minimize the effects of the internal resistance of output pins and ADC errors, the two diodes and lead-wire resistor are removed from the circuit in Fig. 1.As a result, ( 4) and ( 5) are reformulated as Mode I

36Mode II

37where k I and k I I are the tuning factors for operating in Modes I and II, respectively.During the tuning process, R x is replaced with a known precision resistor, and the program starts with k = 1.The program iteratively adjusts k as follows.

381) If the measured R x is lower than the known resistance, k is increased.2) If the measured R x is higher than the known resistance, k is decreased.The adjustment is performed in fine steps of 0.0001 to ensure high precision.This iterative process continues until the measured R x matches the known resistance within a predefined tolerance (±0.01%).Once convergence is achieved, the optimal values of k I and k I I are stored for subsequent measurements, ensuring symmetry and accuracy in the system.

2) Tuning Factor for Reducing Diode Resistance Mismatch:

39Diode resistance mismatch can introduce measurement errors in the system.To address this, the circuit in Fig. 1 is used with lead-wire resistances set to zero.Equation ( 6) is modified, and the tuning factors k I and k I I are incorporated as follows:

40where k T is the tuning factor designed to compensate for diode resistance mismatch.The iterative adjustment process for determining the optimal k T follows the same steps as described for k I and k I I , ensuring precise calibration and error reduction.

413) Optimal Tuning Factor: Table I presents the optimal tuning factors k I , k I I , and k T , calibrated using R x = 149.66, which is set as half of the R x measurement span (60-320 ).The calibration process ensures that the measured resistance R x aligns accurately across the entire range.These tuning factors will be applied in subsequent uncertainty analysis and measurement of R x .

B. Uncertainty Measurement

421) Uncertainty Measurement With Fixed Tuning Factor: The objective of this experiment is to analyze the total relative uncertainty ( R x /R x ), which encompasses contributions from the reference resistor and ADC conversion process, along with nonlinearity error (NLE) for the proposed two-wire measurement system under three scenarios: R w = 0 (ideal case), R w = 4.87 , and R w = 10 .The measured resistance R x is compared to the actual resistance values, demonstrating the system's accuracy across a range of R x from 60 to 320

43. The optimal tuning parameters (k I , k I I , and k T ) shown in Table I were applied.

44Fig. 4 illustrates the experimental results, showing that at R x = 149.66, used in the tuning process, the errors remain low, with ( R x /R x ), below 0.07% and NLE below 0.04%, even when R w = 10 .However, as R x deviates from this tuned value, errors increase due to ADC errors and diode mismatches, particularly at lower resistances.For instance, at R x = 60.40 , the system exhibits a relatively high error of 0.39%, highlighting the impact of these nonidealities in the low resistance range.

452) Adaptive Tuning Factor k T : When R x deviates from the tuning R x , errors tend to increase, likely caused by variations in the diode bias conditions, which lead to resistance mismatches, as demonstrated in the results shown in Fig. 4. To minimize this error, the tuning factor k T is adjusted adaptively based on R x .

46Table II presents the adaptive tuning factors k T corresponding to specific resistance ranges.To determine the optimal k T for each range, a calibration process (as described in the tuning factor for reducing diode resistance mismatch) is conducted before implementing the adaptive tuning system.This process employs (12) and requires manually replacing R x with known precision resistances for each predefined range, making the calibration time-consuming but necessary for accurate tuning.Ideally, the tuning R x is selected as the midpoint of each range (e.g., R x = 75 for the 50-100-ranges, R x = 125 for the 100-150-range, and so on).However, in practice, nearby resistance values are used when exact midpoints are unavailable.During calibration, the circuit is configured with

TABLE II TUNING FACTOR WITH ADAPTIVE k T

47R x as the known resistance, allowing the system to compensate for diode mismatches and other nonidealities effectively.The calibrated k T values for each range are stored and subsequently applied during real-time measurements to ensure improved accuracy and reduced uncertainty.

483) Uncertainty Measurement With Adaptive Tuning Factor k T : The adaptive k T , as outlined in Table II, is adjusted based on the initial R x .The measurement process begins by approximating the initial R x using (12), with k T , k I , and k I I values from Table I in the initial iteration.Once the initial R x is determined, the system identifies its corresponding range and retrieves the optimal k T from Table II.This optimized k T is then applied in (12) to refine the measurement of R x , compensating for diode mismatches and other nonidealities across the range.Fig. 5 illustrates the results when actual R x values deviate from the tuning points to assess the system's performance under worst case conditions.The results highlight a significant improvement in accuracy: the maximum uncertainty, | R x /R x | is reduced from 0.39% (with fixed k T ) to 0.12% for R w = 4.87 and 0.14% for R w = 10.0 using the adaptive k T .In addition, the system achieves a low maximum NLE of 0.09% of the full-scale span (FSS), validating the robustness and precision of the proposed adaptive k T approach across the defined resistance ranges.

49Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.Fig. 6 illustrates the impact of varying wire resistances on the proposed two-wire measurement system, considering scenarios of R w = 4.87 and 10.0 , and mismatched lead resistances (R w1 = 10.0 and R w2 = 4.87 ).The measured R x values remain consistent across all cases, demonstrating the system's robustness in compensating for lead resistance effects, including mismatches.This performance highlights the effectiveness of the adaptive tuning factor in mitigating the influence of varying and mismatched resistances on the accuracy of R x measurements.

V. DISCUSSION

50This section provides a comprehensive comparison of the proposed circuit's features against existing methods.It highlights the comparative advantages and limitations of the proposed measurement topology in relation to established approaches, supported by references to relevant studies.

A. Comparison Between the Proposed DIC and AFE Methods

51AFE designs for three-and four-wire configurations [4], [5], [6], [7], [8], as well as for two-wire systems [13], [14], [15], [16], [17], [18] utilize operational amplifiers, precision capacitors, switches, and other components to perform R-to-T or R-to-V conversion.While these designs provide high precision under ideal conditions, they face notable challenges in practical applications.These challenges include sensitivity to supply voltage variations, vulnerability to offset and gain errors, and the nonideal characteristics of analog components, such as thermal drift and noise, which can impact overall measurement reliability.In addition, AFE typically requires intricate circuit designs, precise component matching, and extensive external calibration processes, which add complexity and cost to the system.

52The proposed two-wire DIC system offers a significant advantage by incorporating a tuning factor technique that simplifies the hardware design while maintaining comparable accuracy.This approach leverages a single ADC with three channels, two output pins, a precision resistor, and two diodes.However, it should be clarified that the determination of the tuning factor does rely on an initial calibration process.This calibration is specific to the microcontroller and the pair of diodes used and ensures compensation for diode mismatches and other nonidealities.Once the tuning factors are determined and stored, the system no longer requires repeated external calibration during operation.

B. Comparison Between R-to-T and R-to-V Methods

53Table III highlights the differences between R-to-T and Rto-V measurement approaches.The R-to-T method with an AFE, as described in [18], utilizes switches connected in parallel with the sensor.When the switches are turned off, the circuit operates in charging mode, whereas turning them on initiates the discharging mode.The charging and discharging times are measured by a microcontroller and used to calculate R x .This method achieves a maximum error of 0.87%.The configuration proposed in [20], the exceptionally low error of 0.06% is primarily attributed to its narrow resistance range of 100-146 , which minimizes the impact of lead resistance and sensor nonlinearities.This accuracy is further supported by the use of three switches, two resistors, and a precision capacitor in its design.These components, in conjunction with a microcontroller, enable precise timing measurements and efficient compensation for systematic errors.In contrast, [21] employs a high-precision FPGA for its DIC implementation, which significantly increases system complexity.While the advanced digital processor allows for precise time measurements and achieves systematic errors below 0.15% across a wide resistance range of 100-2000 , the reliance on such specialized hardware adds to the design and implementation overhead.Despite these results, R-to-T techniques are unable to cancel supply voltage fluctuations and depend on timingbased measurements, making them susceptible to timing jitter, inaccuracies in time-trigger circuits [11], [28], and strong reliance on ideal operating conditions.In addition, these methods rely on high-precision components, increasing circuit complexity and reducing suitability for compact and costsensitive designs.

54The proposed R-to-V topology compensates for lead-wire resistance using two diodes and a single Op-amp [16].While this method achieves a low NLE of 0.013%, it requires an excitation voltage source to regulate current flow and a low-pass filter to process the output signal, adding complexity to the circuit design.Similarly, the R-to-V technique described in [19] employs a Zener diode, achieving low error; however, it relies on a CCS to measure lead-wire resistance and a CVS to determine the combined resistance of the lead wires and the sensor.A more straightforward configuration utilizing a single ADC with three channels [22] was used to evaluate an R-to-V system for a Pt1000 sensor; however, it did not consider the impact of lead-wire resistance (R w = 0 ).

55The proposed work further simplifies the configuration by including compensation for lead-wire resistance, resulting in accurate and robust performance under nonideal conditions.By implementing an adaptive tuning factor (k T ), the system effectively mitigates diode mismatches and lead resistance variations, achieving a maximum | R x /R x | of 0.13% for R w = 4.87 and 0.15% for R w = 10 .These results demonstrate the reliability and adaptability of the proposed system across diverse practical conditions.

VI. CONCLUSION

56This work presented a simplified two-wire measurement system for accurate resistive sensor measurement, leveraging a direct interface circuit with adaptive tuning factors.The proposed method compensates for diode mismatches, lead resistance variations, and internal microcontroller nonidealities while maintaining robustness against supply voltage fluctu-ations.Experimental results demonstrated that the system achieved a maximum measurement uncertainty of 0.15% and an NLE of 0.1%FSS under varying lead resistance conditions of 10 .While certain analog circuit implementations achieve lower NLEs, our approach balances accuracy with a simpler design and reduced hardware complexity.The proposed adaptive tuning factor approach was particularly effective in dynamically adjusting the measurement process based on the resistance ranges, significantly reducing errors compared to fixed k T methods.By requiring only three ADC channels, two diodes, two output pins, and a precision resistor, the system achieves a compact and cost-effective design, making it an attractive alternative to AFE and resistance-to-time methods.

57In summary, the proposed two-wire measurement system demonstrates superior accuracy, simplicity, and adaptability, making it a viable solution for resistive sensor applications in industrial, remote, and resource-constrained environments.Future work will focus on further simplifying the configuration by removing diode D 1 , allowing Mode I to measure the combined resistance of the lead wires and sensor and Mode II to measure the combined resistance of the lead wires and the forward resistance of the diode.In addition, the method's robustness against supply variations and interference will be enhanced.Exploring its applicability to a broader range of resistive sensors, such as for determining the concentration of certain substances [29], [30], will also be a key area of investigation.

58Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

Fig. 1 .

59Fig. 1.Proposed measurement system for two-wire lead compensation.

60and R I I = R ref • d 3,I I − d 2,I I d 2,I I − d 1,I I .(5) In Mode I, d 1,I > d 2,I > d 3,I , while in Mode II, d 3,I I > d 2,I I > d 1,I I .By applying (

Fig. 2 .

61Fig. 2. Modes of operation for the proposed two-wire measurement system.(a) Mode I (P 1 supplies V DD ).(b) Mode II (P 2 supplies V DD ).

Fig. 3 .

62Fig. 3. Measurement uncertainty analysis illustrating the total relative uncertainty ∆R x /R x along with individual contributions (∆R dm ) for Mode I (∆R dm,I ) and Mode II (∆R dm,II ) across the resistance range.

Fig. 4 .

63Fig. 4. Experimental measurement uncertainty analysis for ∆R x /R x and NLE with fixed tuning factor.

Fig. 5 .

64Fig. 5. Experimental measurement uncertainty analysis for ∆R x /R x and NLE with adaptive tuning factor.

Fig. 6 .

65Fig. 6.Effect of varying wire resistance and mismatched lead resistances on measure R x .

TABLE III SUMMARY

66OF COMPARISON STUDY WITH EXISTING TECHNIQUES

참고문헌 21건

  1. A Novel Lead-Wire-Resistance Compensation Technique Using Two-Wire Resistance Temperature Detector IEEE Sensors Journal · IEEE Sensors Council · 2006 10.1109/jsen.2006.883903
  2. Improved Single-Element Resistive Sensor-to-Microcontroller Interface IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2017 10.1109/tim.2017.2712918
  3. 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
  4. Lead-Wire-Resistance Compensation Technique Using a Single Zener Diode for Two-Wire Resistance Temperature Detectors (RTDs) Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20092742
  5. Electronic nose for volatile organic compounds analysis in rice aging Trends in Food Science & Technology · Elsevier BV · 2021 10.1016/j.tifs.2021.01.027
  6. Simplified Digitizing Interface-Architectures for Three-Wire Connected Resistive Sensors: Design and Comprehensive Evaluation IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2021 10.1109/tim.2021.3136176
  7. A Procedure for Precise Determination and Compensation of Lead-Wire Resistance of a Two-Wire Resistance Temperature Detector Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22114176
  8. Improved resistance to digital converter for low-value resistive sensor with lead wire compensation 2017 IEEE Region 10 Symposium (TENSYMP) · 2022 10.1109/tensymp54529.2022.9864569
  9. A direct approach for interfacing four-wire resistive sensors to microcontrollers Measurement Science and Technology · IOP Publishing · 2022 10.1088/1361-6501/aca425
  10. A Microcontroller-Based Interface Circuit for Three-Wire Connected Resistive Sensors IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2022 10.1109/tim.2022.3219492
  11. Direct interface circuits for resistive sensors affected by lead wire resistances Measurement · Elsevier BV · 2023 10.1016/j.measurement.2023.113250
  12. Accurate Interface Schemes for Resistance Thermometers With Lead Resistance Compensation IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2023 10.1109/tim.2023.3291739
  13. A Front-End Circuit for Two-Wire Connected Resistive Sensors with a Wire-Resistance Compensation Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s23198228
  14. An Efficient Digital Readout for Four-Lead Resistance Thermometers IEEE Sensors Letters · Institute of Electrical and Electronics Engineers · 2023 10.1109/lsens.2023.3330115
  15. Simple Measurement Method for Resistive Sensors Based on ADCs of Microcontrollers IEEE Sensors Journal · IEEE Sensors Council · 2023 10.1109/jsen.2023.3341214
  16. Two Proposals of a Simple Analog Conditioning Circuit for Remote Resistive Sensors with a Three-Wire Connection Sensors · Multidisciplinary Digital Publishing Institute · 2024 10.3390/s24020422
  17. A Novel Triple-Slope-Based Digital Measurement Platform for Three-Wire Connected Resistive Sensors IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2024 10.1109/tim.2024.3411132
  18. Employment of MQ gas sensors for the classification of Cistus ladanifer essential oils Microchemical Journal · Elsevier BV · 2024 10.1016/j.microc.2024.111585
  19. Resistive-Sensor Interfacing Circuit for Remote Measurement Using CFOA International Journal of Electrical and Electronic Engineering & Telecommunications · EJournal Publishing · 2024 10.18178/ijeetc.13.5.381-388
  20. Resistive Measurement Method for MQ Sensors Based on ADCs of Microcontrollers IEEE Access · Institute of Electrical and Electronics Engineers · 2024 10.1109/access.2024.3472697
  21. Adaptive Reference Resistance for Accurate Measurement of Resistive Sensors With Microcontroller IEEE Sensors Journal · IEEE Sensors Council · 2025 10.1109/jsen.2025.3526425