Related Experiment Video
Updated: May 22, 2026

06:50
Enabling High Grayscale Resolution Displays and Accurate Response Time Measurements on Conventional Computers
Published on: February 29, 2012
Implementation of high-resolution time-to-digital converter in 8-bit microcontrollers.
1Department of Physics, University of Gothenburg, SE-412 96 Gothenburg, Sweden.
The Review of Scientific Instruments
|May 8, 2012
Summary
This study presents a direct method for implementing a time-to-digital converter (TDC) on an 8-bit microcontroller. The developed TDC achieves 0.17 ns resolution for time intervals between 1-10 μs.
Area of Science:
- Electronics
- Embedded Systems
- Digital Signal Processing
Background:
- Implementing high-resolution time-to-digital converters (TDCs) often requires specialized hardware.
- Integrating complex measurement functionalities into low-cost microcontrollers presents a significant engineering challenge.
Purpose of the Study:
- To demonstrate a direct implementation of a sub-nanosecond resolution time-to-digital converter (TDC) using an 8-bit microcontroller.
- To showcase a cost-effective TDC solution utilizing minimal external passive components.
Main Methods:
- Utilizing five bidirectional digital input-output pins of a microcontroller.
- Employing a simple passive component network (two resistors, one capacitor, one diode).
- Implementing output linearization through a combination of look-up tables and interpolation.
Main Results:
- Achieved a time-to-digital converter (TDC) with 0.17 ns resolution.
- Successfully implemented the TDC for measuring time intervals within the 1-10 μs range.
- Demonstrated effective output linearization for accurate measurements.
Conclusions:
- A sub-nanosecond resolution time-to-digital converter (TDC) can be directly implemented on an 8-bit microcontroller.
- This direct method offers a low-component-count and cost-effective solution for high-resolution time measurements.
- The linearization technique ensures the practical usability of the developed TDC.
More Related Videos
Related Concept Videos
Upsampling
Managing signal sampling rates is essential in digital signal processing to maintain signal integrity. A decimated signal, characterized by a reduced frequency range due to its lower sampling rate, can be upsampled by inserting zeros between each sample. This upsampling process expands the original spectrum and introduces repeated spectral replicas at intervals dictated by the new Nyquist frequency. To refine this zero-inserted sequence, it is passed through a lowpass filter with a cutoff...
Sampling Continuous Time Signal
In signal processing, a continuous-time signal can be sampled using an impulse-train sampling technique, followed by the zero-order hold method. Impulse-train sampling involves the use of a periodic impulse train, which consists of a series of delta functions spaced at regular intervals determined by the sampling period. When a continuous-time signal is multiplied by this impulse train, it generates impulses with amplitudes corresponding to the signal's values at the sampling points.
In the...
In the...
Integrator and Differentiator
Op-amp circuits have significant applications in various fields, including automotive engineering. One such application is cruise control systems in cars, where op-amp circuits are integral for maintaining a constant speed. In these systems, op-amps function as both integrators and differentiators.
An integrator within an op-amp circuit produces an output directly proportional to the integral of the input signal. This is achieved by replacing the feedback resistor in a typical inverting...
An integrator within an op-amp circuit produces an output directly proportional to the integral of the input signal. This is achieved by replacing the feedback resistor in a typical inverting...
Reconstruction of Signal using Interpolation
Signal processing techniques are essential for accurately converting continuous signals to digital formats and vice versa. When a continuous signal is sampled with a period T, the resulting sampled signal exhibits replicas of the original spectrum in the frequency domain, spaced at intervals equal to the sampling frequency. To handle this sampled signal, a zero-order hold method can be applied, which creates a piecewise constant signal by retaining each sample's value until the next sampling...
Downsampling
When considering a sampled sequence with zero values between sampling instants, one can replace it by taking every N-th value of the sequence. At these integer multiples of N, the original and sampled sequences coincide. This process, known as decimation, involves extracting every N-th sample from a sequence, thereby creating a more efficient sequence.
The Fourier transform of the decimated sequence reveals a combination of scaled and shifted versions of the original spectrum. This...
The Fourier transform of the decimated sequence reveals a combination of scaled and shifted versions of the original spectrum. This...
Design Example: Vintage Mixing Console
A sound engineer at a music company recently encountered a problem. The output from their newly acquired studio's vintage mixing console was too low for the requirements of modern recording equipment. To rectify this situation, the engineer decided to design an audio pre-amplifier using an operational amplifier (op-amp) to boost the signal level.
The specifications for the pre-amplifier were clear. It needed to amplify the audio signal by a factor of 10, have an input impedance above 10...
The specifications for the pre-amplifier were clear. It needed to amplify the audio signal by a factor of 10, have an input impedance above 10...
