Time detection circuit and time detection method

10812057 ยท 2020-10-20

Assignee

Inventors

Cpc classification

International classification

Abstract

A time detection circuit and a time detection method are provided. The time detection circuit includes an input signal processor and a time signal amplifier. The input signal processor receives a first input signal and a second input signal, calculates a time difference value between the first input signal and the second input signal, adjusts the time difference value by comparing the time difference value with a set reference value, and provides the adjusted time difference value. The time signal amplifier receives the adjusted time difference value, and amplifies the adjusted time difference value to generate an amplified time signal. The time signal amplifier operates in a linear operation region between a first time value and a second time value, and the set reference value is set according to the first time value and the second time value.

Claims

1. A time detection circuit, comprising: an input signal processor, receiving a first input signal and a second input signal, calculating a time difference value between the first input signal and the second input signal, adjusting the time difference value by comparing the time difference value with a set reference value, and providing an adjusted time difference value; and a time signal amplifier, receiving the adjusted time difference value and amplifying the adjusted time difference value to generate an amplified time signal, wherein the time signal amplifier operates in a linear operation region between a first time value and a second time value, and the set reference value is set according to the first time value and the second time value.

2. The time detection circuit according to claim 1, wherein the first time value is smaller than the second time value, the set reference value is larger than the first time value, and a two-fold of the set reference value is smaller than the second time value.

3. The time detection circuit according to claim 1, wherein when the time difference value is smaller than the set reference value, the input signal processor subtracts a two-fold of the set reference value by the time difference value to generate the adjusted time difference value.

4. The time detection circuit according to claim 3, further comprising: a processor, coupled to the time signal amplifier, receiving the amplified time signal, and generating an output time signal according to the amplified time signal, wherein the output time signal is equal to: the two-fold of the set reference valuethe amplified time signal/A, wherein A is an amplified gain of the time signal amplifier in the linear operation region.

5. The time detection circuit according to claim 1, wherein when the time difference value is not smaller than the set reference value, the input signal processor divides the time difference value by the set reference value to obtain a quotient value and a remainder value, and subtracts the two-fold of the set reference value by the remainder value to obtain the adjusted time difference value, wherein the quotient value is a positive integer.

6. The time detection circuit according to claim 5, further comprising: a processor, coupled to the time signal amplifier, receiving the amplified time signal, and generating an output time signal according to the amplified time signal, wherein the output time signal is equal to: (N+2)the set reference valuethe amplified time signal/A, wherein A is an amplified gain of the time signal amplifier in the linear operation region, and N is a quotient value.

7. The time detection circuit according to claim 1, wherein the input signal processor comprises: a first delay string, having a plurality of first delayers connected in series, each of the first delayers providing a first delay value, and the first delay string receiving the first input signal and generating a plurality of first delay signals; a second delay string, having a plurality of second delayers connected in series, each of the second delayers providing a second delay value, wherein a difference value between the first delay value and the second delay value is equal to the set reference value, and the second delay string receives the second input signal and generates a plurality of second delay signals; a plurality of latches, respectively receiving the first delay signals, respectively receiving the second delay signals, and respectively latching the second delay signals according to the first delay signals to generate a plurality of latch values; a plurality of comparison circuits, respectively corresponding to the latches, each of the comparison circuits comparing two adjacent latch values to generate a plurality of detection values; and a multiplex circuit, receiving the first delay signals, the second delay signals and the detection values, selecting one of the first delay signals according to the detection values to generate a first output signal, and selecting one of the second delay signals according to the detection values to generate a second output signal.

8. The time detection circuit according to claim 7, wherein a time difference value between the first output signal and the second output signal is equal to the adjusted time difference value.

9. The time detection circuit according to claim 7, wherein each of the comparison circuits is an XOR gate.

10. The time detection circuit according to claim 7, wherein the multiplex circuit comprises: a first multiplexer, selecting one of the first delay signals according to the detection values to generate the first output signal; and a second multiplexer, selecting one of the second delay signals according to the detection values to generate the second output signal.

11. The time detection circuit according to claim 7, further comprising: a phase comparator, receiving a first front end input signal and a second front end input signal, determining whether a phase of the first front end input signal precedes a phase of the second front end input signal to generate a position signal; and a signal convertor, making one of the first front end input signal and the second front end input signal the first input signal according to the position signal, and making the other of the first front end input signal and the second front end input signal the second input signal, wherein a phase of the first input signal precedes a phase of the second input signal.

12. The time detection circuit according to claim 7, wherein the first delay value is larger than the second delay value.

13. A time detection method, comprising: receiving a first input signal and a second input signal, calculating a time difference value between the first input signal and the second input signal, adjusting the time difference value by comparing the time difference value with a set reference value and providing an adjusted time difference value; and providing a time signal amplifier to receive the adjusted time difference value and amplify the adjusted time difference value to generate an amplified time signal, wherein the time signal amplifier operates in a linear operation region between a first time value and a second time value, and the set reference value is set according to the first time value and the second time value.

14. The time detection method according to claim 13, wherein the first time value is smaller than the second time value, the set reference value is larger than the first time value, and the two-fold of the set reference value is smaller than the second time value.

15. The time detection method according to claim 13, wherein when the time difference value is smaller than the set reference value, adjusting the time difference value by comparing the time difference value with the set reference value comprises: subtracting a two-fold of the set reference value by the time difference value to generate the adjusted time difference value.

16. The time detection method according to claim 15, further comprising: receiving the amplified time signal, and generating an output time signal according to the amplified time signal, wherein the output time signal is equal to: the two-fold of the set reference valuethe amplified time signal/A, wherein A is an amplified gain of the time signal amplifier in the linear operation region.

17. The time detection method according to claim 13, wherein when the time difference value is not smaller than the set reference value, adjusting the time difference value by comparing the time difference value with the set reference value comprises: dividing the time difference value by the set reference value to obtain a quotient value and a remainder value, and subtracting the two-fold of the set reference value by the remainder value to obtain the adjusted time difference value, wherein the quotient value is a positive integer.

18. The time detection method according to claim 17, further comprising: generating an output time signal according to the amplified time signal, wherein the output time signal is equal to: (N+2)the set reference valuethe amplified time signal/A, wherein A is an amplified gain of the time signal amplifier in the linear operation region, and N is the quotient value.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 shows a curve diagram of a relationship between an input signal and an output signal of a conventional time signal amplifier.

(2) FIG. 2 shows a diagram of a time detection circuit according to an embodiment of the disclosure.

(3) FIG. 3 shows an operation flowchart of a time detection circuit according to an embodiment of the disclosure.

(4) FIG. 4 shows an operation curve diagram of a time signal amplifier according to an embodiment of the disclosure.

(5) FIG. 5 and FIG. 6 respectively show operation flowcharts of conditions 1 and 2 according to the embodiment of FIG. 3 of the disclosure.

(6) FIG. 7 shows a circuit diagram of a time detection circuit according to an embodiment of the disclosure.

(7) FIGS. 8A, 8B, 9A and 9B respectively show multiple operation waveform diagrams of a time detection circuit according to an embodiment of the disclosure.

(8) FIG. 10 shows a flowchart of a time detection method according to an embodiment of the disclosure.

DESCRIPTION OF THE EMBODIMENTS

(9) Referring to FIG. 2, FIG. 2 shows a diagram of a time detection circuit according to an embodiment of the disclosure. A time detection circuit 200 includes an input signal processor 210 and a time signal amplifier 220. The input signal processor 210 is coupled to the time signal amplifier 220. The input signal processor 210 receives a first input signal I1 and a second input signal I2. The input signal processor 210 calculates a time difference value TIN between the first input signal I1 and the second input signal I2. The input signal processor 210 adjusts the time difference value TIN by comparing the time difference value TIN with a set reference value T.sub.DE, and therefore generates a first output signal AIN1 and a second output signal AIN2, and provides the adjusted time difference value TIN1 through a phase difference between the first output signal AIN1 and the second output signal AIN2.

(10) Here, the time difference value TIN is generated according to the phase difference between the first input signal I1 and the second input signal I2. In detail, the time difference value TIN is generated by calculating a time difference value between a transition point of the first input signal I1 and a transition point of the second input signal I2. The above-mentioned transition points are a time point transiting from a high logic level to a low logic level, or a time point transiting from a low logic level to a high logic level, and has no certain limitation.

(11) On the other hand, the time signal amplifier 220 is coupled to the input signal processor 210. The time signal amplifier 220 receives the adjusted time difference value TIN1, and amplifies the adjusted time difference value TIN1 to generate an amplified time signal TOUT. It should be noted here that the adjusted time difference value TIN1 falls in a linear operation region of the time signal amplifier 220 through the input signal processor 210. In this way, through amplification of the adjusted time difference value TIN1, the time signal amplifier 220 generates the low-distortion amplified time signal TOUT and improves the time detection accuracy of the time detection circuit 200.

(12) It should be noted here that in an embodiment of the disclosure, the set reference value T.sub.DE is set according to the linear operation region of the time signal amplifier 220, wherein the time signal amplifier 220 operates in the linear operation region between the first time value and the second time value, and the set reference value T.sub.DE is set according to the first time value and the second time value. In detail, on the premise that the first time value is smaller than the second time value, the set reference value T.sub.DE is larger than the first time value, and the two-fold of the set reference value T.sub.DE is smaller than the second time value.

(13) For operation details of the time detection circuit 200, reference is made to FIG. 3 showing an operation flowchart of a time detection circuit according to an embodiment of the disclosure. In FIG. 3, a set operation of the set reference value T.sub.DE is performed in step S310, here, reference is synchronously made to FIG. 4 showing an operation curve diagram of a time detection circuit according to an embodiment of the disclosure. In FIG. 4, a curve CV1 is the operation curve of the time signal amplifier. A horizontal axis corresponding to the curve CV1 represents a time difference value TIN1 received by the time signal amplifier, and a vertical axis corresponding to the curve CV1 represents an amplification time difference value TOUT generated by the time signal amplifier. It can be seen from the curve CV1 that the time signal amplifier operates in a linear operation region LZ1 between a first time value T.sub.min and a second time value T.sub.max, and also operates in a linear operation region LZ2 between a first time value T.sub.min and a second time value T.sub.max. Relatively, the time signal amplifier operates in a non-linear operation region NLZ1 between the first time value T.sub.min and the first time value T.sub.min, and respectively operates in non-linear operation regions NLZ2 and NLZ3 when the time is larger than the second time value T.sub.max and less than the second time value T.sub.max.

(14) In the step S310, the set reference value T.sub.DE is set, the set reference value T.sub.DE is larger than the first time value T.sub.min, and the two-fold of the set reference value T.sub.DE (2T.sub.DE) is smaller than the second time value T.sub.max. Similarly, a negative set reference value T.sub.DE is set in the step S310, wherein an absolute value of the set reference value T.sub.DE is larger than an absolute value of the first time value T.sub.min, an absolute value of the two-fold of the set reference value T.sub.DE is smaller than an absolute value of the second time value T.sub.max.

(15) In step S320, the time difference value TIN is compared with the set reference value T.sub.DE. When the time difference value TIN is smaller than the set reference value T.sub.DE, a condition 1 CD1 (step S330) is entered, and when the time difference value TIN is not smaller than the set reference value T.sub.DE, a condition 2 CD2 (step S340) is entered.

(16) Through the above adjustment mechanism, an operation curve of the time detection circuit 200 is equivalent to a target amplification curve CVT.

(17) Next, referring to FIG. 5 and FIG. 6. FIG. 5 and FIG. 6 respectively show operation flowcharts of conditions 1 and 2 according to the embodiment of FIG. 3 of the disclosure. In FIG. 5, an operation under the condition 1 is started in step S510, and in step S520, the time difference value TIN is plus the set reference value T.sub.DE through the input signal processor to generate the adjusted time difference value TIN1. Under the condition 1, the time difference value TIN is smaller than the set reference value T.sub.DE. Thus, the adjusted time difference value TIN1 falls in the linear operation region of the time signal amplifier by subtracting the two-fold of the set reference value T.sub.DE by the time difference value TIN. Also thus, in step S530, the time signal amplifier amplifies the adjusted time difference value TIN1 and generates the amplified time signal TOUT, wherein the amplified time signal TOUT=TIN1A, wherein A is the amplified gain of the time signal amplifier in the linear operation region.

(18) Subsequently, in step S540, an output time signal FTOUT is generated according to the amplified time signal TOUT, wherein in the step S540, the output time signal FTOUT=the two-fold of the set reference value T.sub.DEthe amplified time signal TOUT/A. In this way, an accurate time detection result is obtained.

(19) On the other hand, in FIG. 6, an operation under the condition 2 is performed in step S610, and in step S620, the time difference value TIN is divided by the set reference value T.sub.DE thorough the input signal processor so as to generate a quotient value N and a remainder value TIN, wherein the quotient value N is a positive integer, TIN=(N+1)T.sub.DE(T.sub.DETIN), and T.sub.DETIN<T.sub.DE. Next, in step S630, the adjusted time difference value TIN1 is generated according to the remainder value TIN and the set reference value T.sub.DE, wherein in the step S620, the two-fold of the set reference value is subtracted by the remainder value TIN through the input signal processor to obtain the adjusted time difference value TIN1.

(20) Based on the above, the adjusted time difference value TIN1 falls in the linear operation region of the time signal amplifier. Also thus, in step S640, the time signal amplifier amplifies the adjusted time difference value TIN1 and generates the amplified time signal TOUT, wherein the amplified time signal TOUT=TIN1A.

(21) Finally, in step S650, the output time signal FTOUT is generated according to the amplified time signal TOUT, wherein the output time signal FTOUT=(N+2)the set reference value T.sub.DEthe amplified time signal/A, and therefore an accurate time detection result is obtained.

(22) Referring to FIG. 7, FIG. 7 shows a circuit diagram of a time detection circuit according to an embodiment of the disclosure. A time detection circuit 700 includes an input signal processor 710, a time signal amplifier 720 and a processor 730. The input signal processor 710 is coupled to the time signal amplifier 720. The input signal processor 710 includes a first delay string 711, a second delay string 712, latches LA1-LAn, comparison circuits CMP1-CMPn, multiplexers MUX1 and MUX2, a phase comparator 714, a signal convertor 715 and input buffers BUF1 and BUF2, wherein the multiplexers MUX1 and MUX2 constitute a multiplex circuit. The input signal processor 710 respectively receives a first front end input signal IN1 and a second front end input signal IN2 through the input buffers BUF1 and BUF2. In addition, the first front end input signal IN1 and the second front end input signal IN2 are simultaneously transmitted to the phase comparator 714 to determine a phase relationship between the first front end input signal IN1 and a second front end input signal IN2. In the present embodiment, the phase comparator 714 is a D flip-flop, wherein a data end D of the phase comparator 714 receives a reverse signal IN2 of the second input signal, a clock end of the phase comparator 714 receives the first front end input signal IN1, a reset end rst of the phase comparator 714 receives a reset signal RST, and an output end Q of the phase comparator 714 generates a position signal POS, wherein the phase comparator 714 determines whether the phase of the first front end input signal IN1 precedes or falls behind the phase of the second front end input signal IN2. When the phase of the first front end input signal IN1 precedes the phase of the second front end input signal IN2, the phase comparator 714 generates the position signal POS being a logic level 1, relatively, when the phase of the first front end input signal IN1 falls behind the phase of the second front end input signal IN2, the phase comparator 714 generates the position signal POS being a logic level 0.

(23) The signal convertor 715 is coupled to the input buffers BUF1 and BUF2, the phase comparator 714, the first delay string 711 and the second delay string 712. When the position signal POS is equal to the logic level 1, the signal convertor 715 respectively transmits the first front end signal IN1 and the second front end signal IN2 to the first delay string 711 and the second delay string 712. When the position signal POS is equal to the logic level 0, the signal convertor 715 transmits the first front end signal IN1 to the second delay string 712 and transmits the second front end signal IN2 to the first delay string 711. In the present embodiment, the signal convertor 715 includes multiplexers 7151 and 7152. The multiplexers 7151 and 7152 are coupled to output ends of the input buffers BUF1 and BUF2 and controlled by the position signal POS.

(24) On the other hand, the first delay string 711 includes a plurality of first delayers DE11-DE1n connected in series and coupled in sequence. Each of the first delayers DE11-DE1n provides a first delay value t1. The first delay string 711 receives an input signal ING[0] generated by the multiplexer 7152 and generates a plurality of first delay signals ING[1]-ING[n] in sequence. The second delay string 712 includes a plurality of second delayers DE21-DE2n connected in series and coupled in sequence. Each of the second delayers DE21-DE2n provides a second delay value t2. The second delay string 712 receives an input signal ING[0] generated by the multiplexer 7151 and generates a plurality of second delay signals ING[1]-ING[n] in sequence, wherein the first delay value t1 is larger than the second delay value t2, and a difference value between the first delay value t1 and the second delay value t2 is equal to the set reference value T.sub.DE. In addition, the phase of the input signal ING[0] precedes the phase of the input signal INL[0] under actions of the phase comparator 714 and the signal convertor 715. Here, the input signals ING[0] and INL[0] are respectively equivalent to the input signals I1 and I2 of FIG. 1 according to an embodiment of the disclosure.

(25) The latches LA1-LAn respectively receive the first delay signals ING[1]-ING[n], and respectively receive the second delay signals INL[1]-INL[n]. The latches LA1-LAn respectively latch the second delay signals INL[1]-INL[n] according to the first delay signals ING[1]-ING[n] to generate a plurality of latch values lg[1]-lg[n]. In the present embodiment, the latches LA1-LAn are a plurality of D flip-flops. Data ends D of the latches LA1-LAn respectively receive the second delay signals INL[1]-INL[n], clock ends of the latches LA1-LAn respectively receive the first delay signals ING[1]-ING[n], reset ends rst of the latches LA1-LAn commonly receive a reset signal RST, and output ends of the latches LA1-LAn respectively output the latch values lg[1]-lg[n].

(26) In the present embodiment, the comparison circuits CMP1-CMPn respectively correspond to the latches LA1-LAn. A first level of comparison circuit CMP1 receives a grounding voltage GND and the latch value lg[1], the subsequent comparison circuits CMP2-CMPn respectively receive two adjacent latch values to be compared. The comparison circuits CMP1-CMPn respectively generate a plurality of detection values T[1]-T[n]. The comparison circuits CMP1-CMPn are configured to detect a time point when the phase of the input signal ING[0] preceding the phase of the input signal INL[0] is changed into the phase of the input signal ING[0] falling behind the phase of the input signal INL[0]. In the present embodiment, various comparison circuits CMP1-CMPn are XOR gates.

(27) In addition, in the multiplex circuit, the multiplexer MUX1 receives the second delay signals INL[2]-INL[n] and detection values T[n1]:T[1], the multiplex MUX2 receives the first delay signals ING[2]-ING[n] and detection values T[n1]:T[1]. The multiplexers MUX1 and MUX2 select one of the second delay signals INL[2]-INL[n] and one of the first delay signals ING[2]-ING[n] according to the detection values T[n1]:T[1] to respectively generate output signals AIN1 and AIN2. The phase difference between the output signals AIN1 and AIN2 is used for providing the adjusted time difference value.

(28) In the present embodiment, the time signal amplifier 720 receives the output signals AIN1 and AIN2, and amplifies the adjusted time difference value provided by the output signals AIN1 and AIN2 to generate signals OUT1 and OUT2 for providing the amplified time signal, wherein the amplified time signal is obtained based on the phase difference between the signals OUT1 and OUT2. Moreover, the processor 730 is coupled to the time signal amplifier 720, and adjusts the amplified time signal under the condition 1 or condition 2, and obtains the output time signal FTOUT, wherein under the condition 1, the processor 730 generates the output time signal FTOUT according to the step S540 of FIG. 5. Furthermore, under the condition 2, the processor 730 generates the output time signal FTOUT according to the step S650 of FIG. 6.

(29) Incidentally, the time signal amplifier 720 is implemented by using any time signal amplifier circuit known to those with the general knowledge in this field, and the processor 730 is implemented by using any circuit that executes operations without specific limitations.

(30) In the aspect of detailed operations, reference is synchronously made to FIG. 7 and FIGS. 8A, 8B, 9A and 9B. FIGS. 8A, 8B, 9A and 9B respectively show a plurality of operation waveform diagrams of a time detection circuit according to an embodiment of the disclosure. In FIG. 8A, the phase of the first front end input signal IN1 precedes the phase of the second front end input signal IN2, the phase difference between the first front end input signal IN1 and the second front end input signal IN2 provides the time difference value TIN, and the time difference value TIN is smaller than the set reference value T.sub.DE. That is to say, a time detection circuit 700 operates under the condition 1.

(31) Based on a fact that the phase of the first front end input signal IN1 precedes the phase of the second front end input signal IN2, the position signal POS is the logic level 1. Thus, the front end input signal ING[0] is generated according to the first front end input signal IN1, and the front end input signal ING[0] is generated according to the second front end input signal IN2. In addition, the first delay string 711 generates the first delay signal ING[n:1] through step-by-step delay of the input signal ING[0] according to the first delay value t1, and the second delay string 712 generates the second delay signals INL[n:1] through step-by-step delay of the input signal ING[0] according to the first delay value t2.

(32) In FIG. 8A, the phase of the input signal ING[0] precedes the phase of the input signal INL[0], but the phases of the first delay signals ING[n:1] fall behind the respectively corresponding phases of the second delay signals INL[n:1]. Thus, the second delay signals INL[n:1] are respectively latched according to the first delay signals ING[n:1] to obtain step-by-step delayed latch values lg[n:1]. In addition, a detection value T[n:1] which is transited into the logic level 1 at a time point TP1 is obtained by comparing two adjacent latch values lg[n:1]. Here, the time point TP1 corresponds to the transition time point of the first delay signal ING[1].

(33) Furthermore, the multiplexer MUX2 selects the first delay signal ING[2] according to the detection value T[n:1] to generate the output signal AIN2, the multiplexer MUX1 selects the second delay signal INL[2] according to the detection value T[n:1] to generate the output signal AIN1, wherein the time difference value of the transition points of the output signal AIN2 and the output signal AIN1 is the adjusted time difference value TIN1, and is equal to a value that is obtained by subtracting the two-fold of the set reference value T.sub.DE by the time difference value TIN1.

(34) Here, the time signal amplifier 720 amplifies the adjusted time difference value TIN1 provided by the output signal AIN2 and the output signal AIN1, and generates signals OUT1 and OUT2, wherein the amplified time signal provided by the signals OUT1 and OUT2 is equal to the adjusted time difference value TIN1 multiplied by an amplified gain A.

(35) In addition, in FIG. 8B, the phase of the first front end input signal IN1 falls behind the phase of the second front end input signal IN2. The phase difference between the first front end input signal IN1 and the second front end input signal IN2 provides the time difference value TIN, and the time difference value TIN is smaller than the set reference value T.sub.DE. That is to say, the time detection circuit 700 operates under the condition 1 as well.

(36) Based on a fact that the phase of the first front end input signal IN1 falls behind the phase of the second front end input signal IN2, the position signal POS is the logic level 0. Therefore, the input signal ING[0] is generated by the second input signal IN2, and the input signal INL[0] is generated according to the first input signal IN1. In addition, the first delay string 711 generates the first delay signal ING[n:1] through step-by-step delay of the input signal ING[0] according to the first delay value t1, and the second delay string 712 generates the second delay signal INL[n:1] through step-by-step delay of the input signal INL[0] according to the first delay value t2.

(37) In FIG. 8B, the phase of the input signal ING[0] precedes the phase of the input signal INL[0], but the phases of the first delay signals ING[n:1] all fall behind the phases of the respectively corresponding second delay signals INL[n:1]. Therefore, the step-by-step delayed latch values lg[n:1] are obtained by respectively latching the second delay signals INL[n:1] according to the first delay signals ING[n:1]. In addition, the detection value T[n:1] that is transited to the logic level 1 is obtained by comparing the two adjacent latch values lg[n:1]. Here, the time point TP1 corresponds to the transition time point of the first delay signal ING[1].

(38) Furthermore, the multiplexer MUX2 selects the first delay signal ING[2] to generate the output signal AIN2 according to the detection value T[n:1], and the multiplexer MUX1 selects the second delay signal INL[2] to generate the output signal AIN1 according to the detection value T[n:1], wherein the time difference value between the transition points of the output signal AIN2 and the output signal AIN1 is the adjusted time difference value TIN1, and is equal to the two-fold of the set reference value T.sub.DE subtracted by the time difference value TIN.

(39) Here, the time signal amplifier 720 amplifies the adjusted time difference value TIN1 provided by the output signal AIN2 and the output signal AIN1, and generates signals OUT1 and OUT2, wherein the amplified time signal TOUT provided by the signals OUT1 and OUT2 is equal to the adjusted time difference value TIN1 multiplied by the amplified gain A.

(40) In FIG. 9A, the phase of the first front end input signal IN1 precedes the phase of the second front end input signal IN2. The phase difference between the first front end input signal IN1 and the second front end input signal IN2 provides the time difference value TIN, and the time difference value TIN is larger than the set reference value T.sub.DE. That is to say, the time detection circuit 700 operates under the condition 2.

(41) In the present embodiment, it can be known from operations of the first delay string 711, the second delay string 712, the latches LA1-LAn and the comparison circuits CMP1-CMPn that the time difference value TIN is exactly equal to the four (quotient value)-fold set reference value T.sub.DE plus the remainder value TIN. Accordingly, the adjusted time difference value TIN1 is generated by subtracting the set reference value by the remainder value TIN. The input signal processor 710 generates the output signals AIN1 and AIN2 to provide the adjusted time difference value TIN1. The time signal amplifier 720 amplifies the adjusted time difference TIN1 to generate signals OUT1 and OUT2, wherein the amplified time signal TOUT provided by the signals OUT1 and OUT2 is equal to the adjusted time difference TIN1 multiplied by the amplified gain A.

(42) On the other hand, in FIG. 9B, the phase of the first front end input signal IN1 falls behind the phase of the second front end input signal IN2. The phase difference between the first front end input signal IN1 and the second front end input signal IN2 provides the time difference value TIN, and the time difference value TIN is larger than the set reference value T.sub.DE. That is to say, the time detection circuit 700 also operates under the condition 2. Through the operation of the signal convertor 715, the phase of the input signal ING[0] is maintained to be preceding the phase of the input signal INL[0]. Similar to the operation waveform of FIG. 9A, the input signal processor 710 generates the output signals AIN1 and AIN2 to provide the adjusted time difference value TIN1, and the time signal amplifier 720 amplifies the adjusted time difference value TIN1 to generate signals OUT1 and OUT2, wherein the amplified time signal TOUT provided by the signals OUT1 and OUT2 is equal to the adjusted time difference TIN1 multiplied by the amplified gain A.

(43) Next, referring to FIG. 10, FIG. 10 shows a flow chart of a time detection method according to an embodiment of the disclosure. In the present embodiment, in step S1010, a first input signal and a second input signal are received, a time difference value between the first input signal and the second input signal is calculated, the time difference value is adjusted by comparing the time difference value with a set reference value, and the adjusted time difference value is provided. Subsequently, in step S1020, a time signal amplifier is provided to receive the adjusted time difference value, and amplify the adjusted time difference value to generate an amplified time signal, wherein the time signal amplifier operates in a linear operation region between a first time value and a second time value, and the set reference value is set according to the first time value and the second time value.

(44) Based on the above, according to the disclosure, the first input signal and the second input signal are pre-processed, and the time difference value is adjusted, so that the adjusted time difference value falls in the linear operation region of the time signal amplifier. In this way, the distortion of the amplified time signal generated by the time signal amplifier is effectively reduced, and the accuracy of the results of time detection is improved.

(45) Although the invention is described with reference to the above embodiments, the embodiments are not intended to limit the invention. A person of ordinary skill in the art may make variations and modifications without departing from the spirit and scope of the invention. Therefore, the protection scope of the invention should be subject to the appended claims.