The VCRO uses a tail-differential pair structure to effectively suppress the effect of power ground noise [15]. The structure of this design is to add MN1 and MP3 tubes to the conventional pseudo-differential structure, as shown in Fig. 3. Among them, the MN1 tube is used as an enable switch to achieve the global gating function, and the MN1 tube is in a saturated state when it is on. So, it can be regarded as a current source, which isolates the VCRO from the ground, and it can reduce the power supply ground a noise interference. MP3 tube is used in the adjustment of the oscillation frequency of the VCRO. In order to compensate for the oscillation frequency affected by the PVT, the VCRO control voltage is generated by the PLL. By adjusting the gate voltage Vctrl of the MP3 tube, the frequency of the oscillator is locked at 416 MHz. As shown in Fig. 3, a 16-channel high-frequency split-phase clock (P1-P16) can be obtained by connecting eight pseudo-differential units head-to-tail, and the split-phase clock divides the oscillation period into 16-time intervals to achieve a resolution of 150 ps. The split-phase clock has low jitter and low phase noise. These characteristics are critical to the overall linearity of the TDC [16]. Spectre simulation results are shown in Fig. 4. The phase noise is -100.64dBc/Hz, -124.88dBc/Hz at 1MHz and 10MHz respectively, and the split-phase clock jitter is at 3.24ps.
The Vctrl voltage provided by the PLL controls the oscillation frequency of the VCRO and thus the resolution of the TDC [17]. The variation of Vctrl voltage concerning the oscillation frequency of VCRO is scanned by simulation after the tt process angle at 25°C. The simulation results are shown in Fig. 5, the changing relationship between the oscillation frequency and resolution of VCRO and Vctrl voltage, the average gain of VCRO during the changing of Vctrl voltage in 0V-1.3V is 323MHz/V. To obtain the Vctrl control voltage, it is necessary to provide a voltage after locking the frequency of the PLL; the PLL's oscillator structure and the TDC's VCRO keeping in line can improve the linearity of the TDC's VCRO by more than 99% linearity [18]. This control voltage given by the PLL can effectively compensate for the effect of PVT variations on the TDC resolution. By adjusting the Vctrl voltage (0V-1.3V) the corresponding resolution variation can be achieved in the range of 148.8ps-626.4ps. as shown in Fig. 5.
As the TDC time resolution and sampling clock frequency continue to improve, the bit error rate (BER) increases, which seriously affects the accuracy of the TDC [10, 19]. The resolution of the TDC is determined by the high-frequency split-phase clock frequency and the sampling circuit. In this paper, the proposed a phase arbiter circuit structure for the sampling circuit of the TDC, and circuit structure is shown in Fig. 6. The circuit is a completely symmetric topology, with good matching, which allows the sampling circuit to be less sensitive to changes in the external environment. The circuit is composed of a comparator, a reset circuit, and an edge detector. Compared with the traditional comparator structure, there is one more M3 tube, which can reduce the influence of circuit parasitics, increase the matching degree of the circuit, and improve the speed and accuracy of the comparator. The TDC quantizes the interval between the Start and Stop pulse signals using the rising edge as a reference, so the phase arbiter adopts the rising edge detection. The circuit works as follows: the left and right sides of the A and B ports are input to be detected phase signals; RESET is active at a high level, the phase arbiter works at a low level, and not only plays the role of reset but also shuts down the input of the signal to be detected at a high level, which effectively reduces the overall power consumption of the circuit. Add a buffer between nodes a and b and output ports OUTA and OUTB, which can reduce the impact of the load circuit, but also improve the ability to drive the next level of load.
Table1 Transistors size of the phase arbiter circuit
Transistor name
|
Parameter(W/L)
|
M1、M2
|
2\(\mu\)/0.2\(\mu\)
|
M3
|
0.22\(\mu\)/0.8\(\mu\)
|
M4、M5
|
1.2\(\mu\)/0.18\(\mu\)
|
M6、M7、M8、
M9、M10、M11
|
0.4\(\mu\)/0.2\(\mu\)
0.4\(\mu\)/0.2\(\mu\)
|
The transient simulation results of the phase arbiter are shown in Fig. 7. Given the minimum interval of 1ps between the A and B pulse input signals, when the A signal is ahead of B, it can be seen that the node Pulse A is pulled down earlier than the Pulse B signal; at the same time, the levels of nodes a and b are also raised, but the Pulse A potential is pulled down earlier, and the M1 tube is switched on first, so that the potential of the point a is pulled up faster than that of the point b. The level of nodes a and b is also raised. When the voltage at node a exceeds the threshold voltage of the MOS tube the M5 tube is switched off, M9 is switched on and the level at node b is pulled to ground, completing a phase arbitration. The result of this phase arbitration is that the OUTA port outputs a high level and the OUTB port outputs a low level, and the converse holds true for the B signal exceeding the A signal.
In order to achieve the accuracy of TDC quantization without subsequent correction processing [10], a preprocessing circuit is proposed. The circuit has a simple structure, as shown in Fig. 8, and the preprocessing circuit consists of three D flip-flops with a reset function and a buffer, which implements the function of preprocessing the Start and Stop signals to generate rectangular pulse signals with edge information for the enable control of other sub-modules of the TDC. This crossover structure reduces the difference between the propagation delays of the Start and Stop signals in the circuit and improves the accuracy of the TDC measurement without the need for subsequent time correction processing. The operating timing diagram of this preprocessing circuit structure is shown in Fig. 6. When the rising edge of the Reset signal arrives the Ron and EN signals go high, the MN1 tube of the VCRO is turned on when Ron goes high, and the power supply to the ground forms a path oscillator that begins to oscillate and quickly stabilizes at the frequency locked by the PLL; EN high level on the counter, encoder and sampling circuit for reset, at this time the three modules are in the off state, the circuit power consumption is very low. When the rising edge of the Start signal comes to the time, the R1 signal becomes high, EN signal becomes low, at this time the counter and encoder are in the pending work state; the sampling retention circuit at the end of the reset immediately after the arbitration of the phase of the 16 phases in the VCRO and the R1 phase, resulting in a special 16-bit binary code. Referring to the timing diagram in Fig. 2, it can be known from the arbitration result that the R1 phase is in the VCRO 16 phases in the most coincident phase, which is a result of fine resolution. In the TDC system proposed in this paper, we are the 16 split-phase clock signals of the VCRO are given to the side of the 16 phase arbiters, and the B side of the phase arbiter is connected to the R1 signal. When the phase of the split-phase clock is ahead of the R1 phase, the arbiter outputs a high level, and vice versa outputs a low level, at which time we get a special 16-bit binary code. For example, Fig. 2 shows the Start signal comes temporarily corresponding to the P3 phase, the output of the phase arbiter is 1111000000000000, where the first one is 1 and the second one is 0 at the phase is the closest to the R1 phase position. And then after a specific 16 to 4 encoder encoding can output the result of fine resolution. When the rising edge of the Stop signal when the Ron and R1 signals become low, at this time the MN1 tube is off, VCRO stops oscillating, and can maintain the level of the phase at this time, due to the use of differential pairs of structures, will get a 16-bit binary code, in which there are 8 consecutive 1 and 8 consecutive 0 (Consecutive in this context includes both the first and the last). Again, the desired result is at the position of the 1 then 0 junction. The output is then directly encoded using a 16 to 4 encoder. Finally, the PISO transmits the 28-bit digital signal to a peripheral device, thus completing a TDC conversion.
The encoder circuit consists of an SR latch, or gate, and gate, and a non-gate, as shown in Fig. 9. The function it implements is to convert the special 16-bit binary code output by the arbiter into a 4-bit binary code that can represent the fine-resolution result, which is then sent to the PISO output. The encoder circuit structure is shown in Fig. 9, and the encoder resets the SR latch when EN is high and encodes normally when EN is low. Firstly, the result of the arbiter output is stored in the latch to eliminate the crosstalk between the circuits and improve the stability of the circuit. The combination of and gate and non-gate is used to determine the position of the “first 1 and then 0”, and then converted into a binary code used to represent the result of a fine resolution.
Parallel Input Serial Output Shift Register (PISO) circuit, which is mainly composed of and gate, or gate, non-gate and D flip-flop, the principle of the circuit is shown in Fig. 10.The inputs of the PISO are provided by the encoder and the counter, and the data are input in parallel to each D flip-flop when the Load signal is low, and the outputs are collected serially in the outputs of end-flip-flops when the Load signal is high. In this PISO, the first and last two bits are used as flag bits, D1 is connected to the low level D30 is connected to a high level for detecting whether the code is transmitted properly or not; where D2-D9 are connected to the outputs of the encoder, and D10-D29 are connected to the outputs of asynchronous counters, and CLK is the clock for communication with the external.