Related Experiment Video
Updated: Jul 3, 2025

A New Hybrid Quantitative Evaluation Model for Axillary Junctional Hemorrhage in Swine
Published on: December 6, 2024
Efficient and Accurate Analog Voltage Measurement Using a Direct Sensor-to-Digital Port Interface for
1Department of Electrical Energy and Information Engineering "Guglielmo Marconi" (DEI), Alma Mater Studiorum-Università di Bologna, Viale del Risorgimento, 2, 40136 Bologna, Italy.
This study introduces a novel method for directly connecting analog sensors to digital ports on microcontrollers and Field-Programmable Gate Arrays (FPGAs). This technique measures analog voltage by analyzing the duty cycle of a square-wave signal, simplifying sensor system design.
Area of Science:
- Electrical Engineering
- Embedded Systems Design
- Sensor Technology
Background:
- Portable sensor systems often rely on microcontrollers or Field-Programmable Gate Arrays (FPGAs) with Analog-to-Digital Converters (ADCs) for sensor interfacing.
- Direct sensor interfacing to digital ports offers an alternative, especially for devices lacking integrated or sufficient ADC channels.
- Existing methods may require complex circuitry or significant memory for look-up tables.
Purpose of the Study:
- To present a technique for directly interfacing analog voltage output sensors to the digital input port of microcontrollers or FPGAs.
- To demonstrate a method that minimizes component count and memory usage in sensor systems.
- To validate the proposed technique through simulations and hardware implementation.
Main Methods:
- Developed a technique using passive components to connect analog sensors to digital input ports.
- The method relies on measuring the duty cycle of a digital square-wave signal generated in response to the analog voltage.
- Validated through LTSpice circuit simulations and implementation on a Gowin GW1NR-9 FPGA.
Main Results:
- A good linear correlation was found between the analog voltage and the measured duty cycle.
- Eliminated the need for memory-intensive look-up tables.
- Achieved a maximum accuracy of 1.09 mV at 9.75 Hz sampling rate, with higher sampling rates (up to 128.31 Hz) yielding slightly reduced accuracy (2.68 mV).
Conclusions:
- The proposed direct interfacing technique is effective for measuring analog voltages using digital ports.
- This method offers a simplified, memory-efficient solution for designing portable sensor systems.
- The technique demonstrates practical feasibility and good performance on low-cost FPGA hardware.
Related Concept Videos
Operational Amplifiers
Voltage Dividers
Kirchhoff's voltage law implies that the sum of the voltages across the resistors in series equals the source voltage. This means that the...
The Y-to-Delta Circuit
The initial step in analyzing a wye-to-delta circuit is to assume a positive phase sequence. These phase voltages are then utilized to calculate the line voltages that occur directly across the delta-connected load impedances. Van, Vbn, and Vcn are the phase voltages in wye, and Vab, Vbc, and Vca are the line voltages for a delta circuit. The relation between...
Electronic Distance Measuring Instruments
Instrumentation Amplifier
To overcome this challenge, an ECG machine utilizes an instrumentation amplifier. This specialized amplifier is...
Inverting and Non-inverting OpAmps

