Content area
This paper presents a microcontroller-based technique for accurately measuring resistive sensors over a wide dynamic range using an adaptive constant current source. Unlike conventional voltage dividers or fixed-current methods—often limited by reduced resolution and saturation when sensor resistance varies across several decades—the proposed system dynamically adjusts the excitation current to maintain optimal Analog-to-Digital Converter (ADC) input conditions. The measurement circuit employs a fixed reference resistor and an inverting amplifier configuration, where the excitation current is generated by one or more pulse-width modulated (PWM) signals filtered through low-pass RC networks. A microcontroller selects the appropriate PWM channel to ensure that the output voltage remains within the ADC’s linear range. To support multiple sensors, an analog switch enables sequential measurements using the same dual-PWM current source. The full experimental implementation uses four op-amps to support modularity, buffering, and dual-range operation. Experimental results show accurate measurement of resistances from 1 kΩ to 100 kΩ, with maximum relative errors of 0.15% in the 1–10 kΩ range and 0.33% in the 10–100 kΩ range. The method provides a low-cost, scalable, and digitally controlled solution suitable for embedded resistive sensing applications without the need for high-resolution ADCs or programmable gain amplifiers.
Details
; Apinan, Aurasopon 2
1 Department of Electrical Engineering, Faculty of Technical Education, Rajamangala University of Technology Thanyaburi, Pathum Thani 12110, Thailand; [email protected]
2 Faculty of Engineering, Mahasarakham University, Mahasarakham 44150, Thailand