The application discloses a time-to-
digital converter applied to a time-of-flight sensor, which adopts a tapped
delay chain, a flip-flop array, a
thermometer-to-binary (T2B) decoder and a
code density calibration circuit to form a fine
clock counting circuit, and cooperates with a coarse
clock counter to perform time measurement on a to-be-measured
signal; the tapped
delay chain is adopted in the fine
clock counting circuit, the observation points are set by taps, a bubble-free sub
thermometer code is found through the observation points, the change boundary position of the tap state in the original
thermometer code is observed and searched by means of the bubble-free sub thermometer code, the number of the tap state being 1 in the latched tapped
delay chain is found out, accurate binary decoding is realized, and the bubble problem interference is eliminated. The TDC
system design of the
single chain, the 4-chain and the PSDL capable of completing online
code density calibration is realized by using the application scheme, the
measurement precision test is performed on the three kinds of TDC, and the
measurement precision of the three kinds of TDC systems on the TOF sensor is optimized to different degrees.