• DocumentCode
    186539
  • Title

    Implementation of Vernier TDCs in 8-bit microcontrollers

  • Author

    Bengtsson, Lars E.

  • Author_Institution
    Dept. of Phys., Univ. of Gothenburg, Gothenburg, Sweden
  • fYear
    2014
  • fDate
    12-15 May 2014
  • Firstpage
    1
  • Lastpage
    4
  • Abstract
    This paper discusses the aspects of implementing a TDC with Vernier resolution in a microcontroller system. Results will show that the proposed solution have a potential time resolution corresponding exactly to the theoretically expected resolution (equal to the time difference in the Vernier clocks´ period), but also that there is an inherent sample-to-sample uncertainty due to the fact that microcontrollers cannot compare two (running) timer registers in hardware. The moment of coincidence of the Vernier clocks must be detected in software and that will generate an uncertainty in the coincidence detection that depends on the microcontroller architecture. In the design example proposed, a time resolution of 2 ns is achieved using a PIC microcontroller clocked with a 20 MHz. However, the proposed method is general and resolution is limited only to the frequency matching of the two Vernier clocks.
  • Keywords
    microcontrollers; time-digital conversion; PIC microcontroller; Vernier TDCs; Vernier clocks; coincidence detection; frequency 20 MHz; time 2 ns; word length 8 bit; Clocks; Microcontrollers; Microprogramming; Oscillators; Radiation detectors; Registers; Uncertainty; TDC; Time-to-Digital Converter; Vernier clock; microcontroller;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Instrumentation and Measurement Technology Conference (I2MTC) Proceedings, 2014 IEEE International
  • Conference_Location
    Montevideo
  • Type

    conf

  • DOI
    10.1109/I2MTC.2014.6860510
  • Filename
    6860510