CN117394826A - Capturing circuit and micro-processing chip - Google Patents

Capturing circuit and micro-processing chip Download PDF

Info

Publication number
CN117394826A
CN117394826A CN202311413075.8A CN202311413075A CN117394826A CN 117394826 A CN117394826 A CN 117394826A CN 202311413075 A CN202311413075 A CN 202311413075A CN 117394826 A CN117394826 A CN 117394826A
Authority
CN
China
Prior art keywords
clock signal
capture
signal
nand gate
delay line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311413075.8A
Other languages
Chinese (zh)
Inventor
王轲
郑溥
张虚谷
康泽华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Shuotian Technology Co ltd
Original Assignee
Hangzhou Shuotian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Shuotian Technology Co ltd filed Critical Hangzhou Shuotian Technology Co ltd
Priority to CN202311413075.8A priority Critical patent/CN117394826A/en
Publication of CN117394826A publication Critical patent/CN117394826A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/02Generators characterised by the type of circuit or by the means used for producing pulses
    • H03K3/027Generators characterised by the type of circuit or by the means used for producing pulses by the use of logic circuits, with internal or external positive feedback
    • H03K3/03Astable circuits
    • H03K3/0315Ring oscillators
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H11/00Networks using active elements
    • H03H11/02Multiple-port networks
    • H03H11/16Networks for phase shifting
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/13Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
    • H03K5/14Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals by the use of delay lines

Landscapes

  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Pulse Circuits (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

The application provides a capture circuit and a micro-processing chip, wherein the capture circuit comprises 1 oscillator delay line and 2 capture delay lines with different lengths, clock signals are provided for the 2 capture delay lines through the oscillator delay lines, and the positions of edges of signals to be detected are determined jointly by the 2 capture delay lines. The capture circuit provided by the embodiment of the application has at least the following advantages: 1) The clock signal is provided through the oscillator delay line, a phase-locked loop circuit is not required to be additionally arranged, and the system clock is not relied on; 2) Since the positions where the edges of the signal to be detected occur are determined together by the 2 capturing delay lines, the length of at least one capturing delay line may be less than one clock cycle; 3) The phase difference between clock signals corresponding to different capture delay lines is set through the number ratio of the capture delay elements in the different capture delay lines, so that the design of the clock signals and the capture delay elements is more flexible.

Description

Capturing circuit and micro-processing chip
Technical Field
The present application relates to the field of electronic technology, and in particular, to a capture circuit and a microprocessor chip.
Background
In a large number of industrial and consumer equipment and instruments, signals such as voltage, current, capacitance, speed, distance and the like are commonly required to be measured, and the measurement accuracy directly influences the accuracy of the equipment and instruments. The high-precision digital pulse signal width measurement is widely applied to pulse sequence period/duty ratio measurement, instantaneous speed measurement, voltage measurement crossing isolation boundaries, distance/sonar measurement and scanning, capacitive touch sensing and other applications in precision instruments, sonar, robot servo, switching power supplies, power devices, touch screens and other devices.
In a digital signal processing device, signals such as voltage, capacitance, speed, distance and the like are converted and quantized into digital pulse signals (pulse signals for short) through analog-digital conversion, and then the pulse signals are measured. Specifically, the pulse signal width measurement is to use a sampling clock (frequency is f) and represent the width of a pulse signal as a real number including an integer part and a fractional part with the clock period of the sampling clock as a reference unit. The decimal part is generated by the fact that the edges of the pulse signals are not aligned with the edges of the sampling clock, and is derived from the head part and the tail part of the pulse signals. The relationship between the width lambda of the pulse signal and f, mu, alpha and beta is as follows: λ= (μ+1- α - β) ×1/f. Wherein μ is an integer fraction and 1- α - β is a fractional fraction.
The measurement precision of the traditional digital signal measurement circuit is 1/f of the clock period of 1 sampling clock, only the integral part mu of the width lambda of the pulse signal can be measured, and the decimal part 1-alpha-beta of the width of the pulse signal can not be measured. If the measurement accuracy is to be improved, only the clock frequency of the sampling clock can be improved, so that the power consumption and the complexity of the hardware circuit are greatly increased.
It should be noted that the information disclosed in the background section of the present application is only intended to enhance understanding of the general background of the present application and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art that is already known to a person skilled in the art.
Disclosure of Invention
The utility model provides a capture circuit and micro-processing chip to in order to solve in the prior art if want to improve measurement accuracy, can only improve the clock frequency of sampling clock, thereby greatly increased the problem of hardware circuit's consumption and complexity.
In a first aspect, embodiments of the present application provide a capture circuit, including:
an oscillator delay line comprising N sequential delay elements and logic gates, the N sequential delay elements and logic gates being sequentially coupled in a loop to generate an initial clock signal;
the first capture delay line comprises A capture delay elements which are coupled in sequence so as to transmit a first clock signal along a first signal path in a first direction and transmit a signal to be detected along a second signal path in a second direction opposite to the first direction, wherein A is more than or equal to 2;
the second capture delay line comprises B capture delay elements which are coupled in sequence so as to transmit a second clock signal along a third signal path in the first direction and transmit a signal to be detected along a fourth signal path in the second direction, B is more than or equal to 2, A is not less than B, and N=A+B; each of the capture delay elements constitutes a flip-flop and provides a one-bit output;
Different nodes of the oscillator delay line acquire the first clock signal and the second clock signal with a specified phase difference,
or alternatively, the first and second heat exchangers may be,
the phase shifter is used for shifting the phase of the initial clock signal to obtain the first clock signal and the second clock signal, and the phase difference of the phase shifting is determined by the number of the capturing delay elements and the number of the time sequence delay elements.
The phase shifting phase of the phase shifter can be adaptively designed according to the number of different capture delay units in the two capture delay lines, so that the design flexibility is improved.
In one possible implementation, the initial clock signal is in phase with the first clock signal, and the phase shifter shifts the initial clock signal to obtain the second clock signal, where the phase shift is a/n×360°.
In one possible implementation, the initial clock signal is passed through different phase shifters to generate a first clock signal and a second clock signal of different phases, respectively.
In one possible implementation, the phase shifter includes: the first phase shifter is used for shifting the first phase of the first clock signal and outputting a second clock signal A; the second phase shifter is used for shifting the first clock signal by a second phase and outputting a second clock signal B; the acquisition circuit further comprises a selection switch for selectively switching on a connection between the first phase shifter and the oscillator delay line and the second acquisition delay line or switching on a connection between the second phase shifter and the oscillator delay line and the second acquisition delay line.
Further, the first phase and the second phase may be the same or different.
The first phase and the second phase are the same, and when one phase shifter is out of order, a standby phase shifter can be used for working; the first phase and the second phase are different, and are actually corrected structures of the basic scheme, and the phase of the phase shifter is ideally an n DEG phase shifter, so that the proportion of the delay elements is captured: the A/N x 360 is calculated in this way, but the problem of the capturing delay unit is not eliminated, the error of the delay time sequence is caused, whether the optional phase shifter setting is switched or not is judged according to the final sampling effect, and the sampling effect is optimized.
A possible implementation manner, a first latch is configured to latch the first clock signal and provide the latched first clock signal to the first capture delay line; and/or a second latch for latching the second clock signal and providing the latched second clock signal to the second capture delay line.
One scenario (lost data): after the first capturing line completes the sampling work of the corresponding period, the phase shifter and the latch are used for adjusting the time node of the HRINVCLK input to the second capturing delay line, so that the second capturing delay line completes the sampling work of the corresponding period, 2 chains are ensured to complete the work simultaneously, 1 or more capturing units are not operated, and 1 or 0 is required to be forcedly set for the corresponding HROUT, so that real data can be lost;
Another scenario (2 chains do not need to complete work at the same time, no data is lost) the design of the latch prevents data from being lost but spans more than 1 cycle, ensuring that the second capture delay line is capturing from the hrincclk falling edge.
One possible implementation, the first clock signal and the second clock signal are delayed by a specified length relative to the initial clock signal.
A possible implementation, the capture delay element includes: a first nand gate including a first input terminal, a second input terminal, and an output terminal, the first input terminal of the first nand gate being configured to receive a clock signal transferred in the first direction; the second NAND gate comprises a first input end, a second input end and an output end, wherein the first input end of the second NAND gate is electrically connected with the output end of the first NAND gate, the second input end of the second NAND gate is provided with 1, and the output end of the second NAND gate is used for outputting a clock signal in the first direction; the first input end of the third NAND gate is used for receiving a signal to be detected transmitted in the second direction; the first input end of the fourth NAND gate is provided with 1, the second input end of the fourth NAND gate is electrically connected with the output end of the third NAND gate, and the output end of the fourth NAND gate is used for outputting a signal to be detected in the second direction; the second input end of the first NAND gate is electrically connected with the second input end of the fourth NAND gate, and the first input end of the second NAND gate is electrically connected with the second input end of the third NAND gate.
A possible implementation, the timing delay element includes: the fifth NAND gate comprises a first input end, a second input end and an output end, wherein the first input end of the fifth NAND gate is used for being connected with the output end of the last time sequence delay element, and the second input end of the fifth NAND gate is provided with 1; the sixth NAND gate comprises a first input end, a second input end and an output end, wherein the first input end of the sixth NAND gate is provided with 1, the second input end of the sixth NAND gate is electrically connected with the output end of the fifth NAND gate, and the output end of the sixth NAND gate is used for being connected with the input end of the next time sequence delay element.
A possible implementation manner, the capturing circuit further includes: and the multiplexer is coupled with the signal input ends to be detected of the first capture delay line and the second capture delay line and is used for providing the signal to be detected, the inverted signal of the signal to be detected or the signal after the phase shift treatment of the signal to be detected for the first capture delay line and the second capture delay line.
In a second aspect, embodiments of the present application provide a micro-processing chip, including the capture circuit of any one of the first aspects.
The capture circuit provided by the embodiment of the application has at least the following advantages:
1) The clock signal is provided through the oscillator delay line, a phase-locked loop circuit is not required to be additionally arranged, and the system clock is not relied on;
2) Since the positions where the edges of the signal to be detected occur are determined together by the 2 capturing delay lines, the length of at least one capturing delay line may be less than one clock cycle;
3) The phase difference between clock signals corresponding to different capture delay lines is set through the number ratio of the capture delay elements in the different capture delay lines, so that the design of the clock signals and the capture delay elements is more flexible.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a capturing delay element according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a capturing delay line according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of a timing delay element according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an oscillator delay line according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a capturing circuit according to an embodiment of the present application;
FIG. 6 is a timing diagram of a clock signal according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of another capturing circuit according to an embodiment of the present disclosure;
FIG. 8 is a signal timing diagram of edge detection using the capture circuit of FIG. 7;
FIG. 9 is a schematic diagram of another capturing circuit according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram of another capturing circuit according to an embodiment of the present disclosure;
FIG. 11 is a schematic diagram of another capturing circuit according to an embodiment of the present disclosure;
FIG. 12 is a signal timing diagram of edge detection using the capture circuit of FIG. 11;
fig. 13 is a schematic structural diagram of a micro-processing chip according to an embodiment of the present application.
Detailed Description
For a better understanding of the technical solutions of the present application, embodiments of the present application are described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, of the embodiments of the present application. All other embodiments, based on the embodiments herein, which would be apparent to one of ordinary skill in the art without making any inventive effort, are intended to be within the scope of the present application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one way of describing an association of associated objects, meaning that there may be three relationships, e.g., a and/or b, which may represent: the first and second cases exist separately, and the first and second cases exist separately. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Referring to fig. 1, a schematic structural diagram of a capturing delay element according to an embodiment of the present application is provided. As shown in fig. 1, the capture delay element 100 includes a first nand gate 110, a second nand gate 120, a third nand gate 130, and a fourth nand gate 140. Wherein the first input 111 of the first nand gate 110 is configured to receive a first signal, such as a clock signal, transmitted in a first direction (right to left); the first input end 121 of the second nand gate 120 is electrically connected to the output end 113 of the first nand gate 110, the second input end 122 of the second nand gate 120 is set to 1, and the output end 123 of the second nand gate 120 is used for outputting a first signal in a first direction; the first input 131 of the third nand gate 130 is configured to receive a second signal, such as a signal to be detected, transmitted in a second direction (from left to right); the first input terminal 141 of the fourth nand gate 140 is set to 1, the second input terminal 142 of the fourth nand gate 140 is electrically connected to the output terminal 133 of the third nand gate 130, and the output terminal 143 of the fourth nand gate 140 is configured to output the second signal in the second direction; the second input 112 of the first nand gate 110 is electrically connected to the second input 142 of the fourth nand gate 140, and the first input 121 of the second nand gate 120 is electrically connected to the second input 132 of the third nand gate 130. In addition, the output 143 of the fourth NAND gate 140 provides one output bit. That is, the capture delay element 100 may receive two signals input in opposite directions and provide a one-bit output.
It should be noted that the capture delay element 100 is described in fig. 1 by taking a nand gate as an example. However, it should be understood by those skilled in the art that other logic circuits may be used to implement the relevant functions of the capture delay element 100 instead of nand gates, and all of them are within the scope of this application.
Referring to fig. 2, a schematic diagram of a capturing delay line according to an embodiment of the present application is provided. As shown in fig. 2, the acquisition delay line 200 includes M acquisition delay elements 100, which M acquisition delay elements 100 are coupled together in sequence to form the acquisition delay line 200. A first signal (e.g., clock signal synclk, which may also be referred to as "SYNCIN" in other parts of the document) is received on the lower signal path of the acquisition delay line 200 and passes right to left through the lower signal path of the acquisition delay line 200. A second signal (e.g., ECAPxIN x, the signal to be detected, which may also be referred to herein as "ASYNCIN") is received on the upper signal path of the acquisition delay line 200 and passes from left to right through the upper signal path of the acquisition delay line 200.
Specifically, a high ("1") input corresponding to the rising edge of the clock signal SYSCLK captures the delay element 100- (M-1), causing the first NAND gate 110- (M-1) of the delay element 100- (M-1) to produce a low ("0") output; the low ("0") input of the first NAND gate 110- (M-1) to the second NAND gate 120- (M-1) results in the second NAND gate 120- (M-1) producing a high ("1") output such that the rising edge passes right to left as shown by the lower arrow in FIG. 2. Meanwhile, the low ("0") input of the first NAND gate 110- (M-1) to the third NAND gate 120- (M-1) results in a high ("1") output of the third NAND gate 120- (M-1) without any other inputs; the high ("1") input of the third NAND gate 120- (M-1) to the fourth NAND gate 140- (M-1) results in a low ("0") output of the fourth NAND gate 140- (M-1), i.e., the output bit HR (M-1) of the capture delay element 100- (M-1) is set to 0. The output bits of the corresponding capture delay elements are sequentially set to 0 as the rising edge passes from right to left.
Similarly, a high ("1") input to the capture delay element 100-0 corresponding to the rising edge of the signal to be detected ECAPxIN [ x ], causes the third nand gate 130-0 of the capture delay element 100-0 to generate a low ("0") output; the low ("0") input of the third NAND gate 130-0 to the fourth NAND gate 140-0 results in a high ("1") output of the fourth NAND gate 140-0 such that the rising edge passes from left to right, as shown by the upper arrow in FIG. 2. Meanwhile, the output bit HR (0) of the capture delay element 100-0 is set to 1 without any other input. As the rising edge passes from left to right, the output bits of the corresponding capture delay elements are sequentially set to 1.
It will be appreciated that the clock signal SYSCLK and the signal to be detected ECAPxIN [ x ] will eventually meet, after the clock signal SYSCLK and the signal to be detected ECAPxIN [ x ] meet, the state of the output bit of the capture delay element 100 will not change, and the clock signal SYSCLK and the signal to be detected ECAPxIN [ x ] will not propagate any further. Thus, the state of the output bit of the capture delay element 100 depends on which of the clock signal SYSCLK and the signal ECAPxIN [ x ] to be detected has a rising edge that reaches the capture delay element 100 first. Specifically, if the rising edge of the clock signal SYSCLK reaches the capture delay element 100 first, the state of the output bit of the capture delay element 100 is low ("0"); if the rising edge of the signal to be detected ECAPxIN [ x ] reaches the capture delay element 100 first, the state of the output bit of the capture delay element 100 is high ("1"). Thus, movement of the two signals will result in a series of "1" s starting from capture delay element 100-0 and a series of "0" s starting from capture delay element 100- (M-1).
Since the clock signal SYSCLK always propagates through half of the capture delay line 200, the state of the output bit of the right half of the capture delay line 200 is always 0. For example, if the rising edges of the clock signal SYSCLK and the signal ECAPxIN [ x ] to be detected occur simultaneously, the capture delay line 200 is frozen in the middle, i.e., the states of the output bits of the left half of the capture delay line 200 are all 1; the states of the output bits of the right half are all 0. If the rising edge of the signal to be detected ECAPxIN [ x ] is later than the rising edge of the clock signal SYSCLK, the state of the output bit of the left half of the capture delay line 200 is partially 1 and partially 0; the states of the output bits of the right half are all 0. The number of "1's" in the output bits of the left half of the capture delay line 200 will depend on the time difference between the clock signal SYSCLK and the signal ECAPxIN [ x ] to be detected. Therefore, by decoding the number of 1 s in HR [ M-1:0] of the capture delay line 200, the position of the signal to be detected ECAPxIN [ x ] relative to the clock signal SYSCLK can be determined, thereby realizing high resolution of pulse width measurement.
Referring to fig. 3, a schematic structural diagram of a timing delay element according to an embodiment of the present application is provided. As shown in fig. 3, the timing delay element 300 includes a fifth nand gate 310 and a sixth nand gate 320. The first input terminal 311 of the fifth nand gate 310 is connected to the output terminal of the last timing delay element, and the second input terminal 312 of the fifth nand gate 310 is set to 1; the first input terminal 3231 of the sixth nand gate 320 is set to 1, the second input terminal 322 of the sixth nand gate 320 is electrically connected to the output terminal 313 of the fifth nand gate 310, and the output terminal 323 of the sixth nand gate 320 is used for connecting to the input terminal of the next timing delay element.
It should be noted that the timing delay element 300 is illustrated in fig. 3 by taking a nand gate as an example. However, it should be understood by those skilled in the art that other logic circuits may be used to implement the relevant functions of the timing delay element 300 instead of nand gates, and all of them are within the scope of this application.
Referring to fig. 4, a schematic structural diagram of an oscillator delay line according to an embodiment of the present application is provided. As shown in fig. 4, the oscillator delay line 400 includes N timing delay elements 300. The N sequential delay elements 300 are sequentially coupled together to form an oscillator delay line 400. In addition, the oscillator delay line 400 further includes a seventh nand gate 401, a first input terminal of the seventh nand gate 401 is configured to receive the enable control signal hrclk_en, a second input terminal of the seventh nand gate 401 is electrically connected to an output terminal of the timing delay element 300- (N-1) (one timing delay element at the end), and an output terminal of the seventh nand gate 401 is electrically connected to a first input terminal of the timing delay element 300-0 (one timing delay element at the end) such that the N timing units and the seventh nand gate 401 form a loop.
When the enable control signal hrclk_en is high ("1"), the oscillator delay line 400 forms an oscillator, which may then generate a clock signal. To facilitate distinguishing from other clock signals later, the clock signal generated by the oscillator delay line 400 is referred to as the "initial clock signal HRCLK". Let the delay of the signal generated by the timing delay element 300 be δ, the relationship between the clock cycle THRCLK of the initial clock signal HRCLK output after the oscillator is stabilized, the delay δ of the timing delay element 300, and the number N of the timing delay elements 300 is: thrclk= 2*N ×δ, N is an even number.
It should be noted that, as a person skilled in the art may also use other logic gates instead of the seventh nand gate 401 to implement the relevant function according to actual needs. Alternatively, the seventh nand gate 401 is omitted in the oscillator delay line 400 so that the output terminal of the endmost one of the timing delay elements 300 is electrically connected to the input terminal of the frontmost one of the timing delay elements 300, forming a loop. However, in this case, if an oscillator is formed, the number N of the timing delay elements 300 in the oscillator delay line 400 should be an odd number.
With continued reference to FIG. 2, since the clock signal SYSCLK always propagates through half of the capture delay line 200, the length of the capture delay line 200 must span 2 clock cycles of the clock signal SYSCLK IN order to accurately capture the position where the edge of the signal to be detected ECAPx IN [ x ] occurs. Meanwhile, the resolution of the pulse width measurement depends on the clock period TSYSCLK of the clock signal SYSCLK and the number M of capture delay elements 100, specifically: TSYSCLK divided by (M/2). It should be noted that, the length of the capturing delay line 200 refers to a time period required for a signal to pass from one end of the capturing delay line 200 to the other end.
From another perspective, a capture delay line 200 having a specified length can only support a particular clock frequency. If the system clock is relied upon, the length of the capture delay line 200 may not be flexibly adjustable. In addition, in some application scenarios, the system clock may run at a different frequency, resulting in that the system clock may not be available for the circuit. Greater flexibility can be achieved by providing the acquisition delay line with a dedicated clock that is independent of the system clock, but this results in increased circuit costs due to the need to add phase locked loop circuitry to the dedicated clock circuit.
In summary, the capture delay line 200 shown in fig. 2 has at least the following problems: 1) Since a capture delay line with a specified length can only support a specific clock frequency, if it depends on the system clock, the length of the capture delay line cannot be flexibly adjusted; 2) If a special clock independent of the system clock is provided for the acquisition delay line, a phase-locked loop circuit needs to be added, thus resulting in increased circuit cost; 3) The length of the capture delay line needs to be designed to be greater than two clock cycles to function properly.
In view of the above problems, an embodiment of the present application provides a capturing circuit, including 1 oscillator delay line and 2 capturing delay lines with different lengths, where clock signals are provided for the 2 capturing delay lines by the oscillator delay lines, and the positions where edges of signals to be detected occur are determined by the 2 capturing delay lines together. The capture circuit provided by the embodiment of the application has at least the following advantages: 1) The clock signal is provided through the oscillator delay line, a phase-locked loop circuit is not required to be additionally arranged, and the system clock is not relied on; 2) Since the positions where the edges of the signal to be detected occur are determined together by the 2 capturing delay lines, the length of at least one capturing delay line may be less than one clock cycle; 3) The phase difference between clock signals corresponding to different capture delay lines is set through the number ratio of the capture delay elements in the different capture delay lines, so that the design of the clock signals and the capture delay elements is more flexible. The detailed description is provided below in connection with specific implementations.
Referring to fig. 5, a schematic structural diagram of a capturing circuit according to an embodiment of the present application is provided. As shown in fig. 5, the acquisition circuit includes 1 oscillator delay line 400 and 2 acquisition delay lines 200 (first acquisition delay line 201 and second acquisition delay line 202). Wherein the oscillator delay line 400 includes N sequential delay elements 300; the first capture delay line 201 includes A capture delay elements 100, A.gtoreq.2; the second capture delay line 202 includes B capture delay elements 100, B.gtoreq.2, and A.noteq.B. That is, the lengths of the first capture delay line 201 and the second capture delay line 202 are not equal.
When the oscillator delay line 400 is operated, the oscillator delay line 400 may generate an initial clock signal HRCLK, and further, may generate a first clock signal HRCLK1 and a second clock signal HRCLK2 according to the initial clock signal HRCLK, which are respectively provided to the 2 capture delay lines 200. That is, in the embodiment of the present application, the clock signal is provided through the oscillator delay line 400, and thus, no additional phase-locked loop circuit is required and is not dependent on the system clock.
Referring to fig. 6, a timing diagram of a clock signal according to an embodiment of the present application is provided. As shown in fig. 6, there is a phase difference between the first clock signal HRCLK1 and the second clock signal HRCLK 2. In the embodiment of the application, one clock period of the clock signal can be divided into 2 time intervals by the phase difference between different clock signals. In time interval a, the location where the edge of the signal ECAPx I N x to be detected occurs is provided by the first capture delay line 201. Specifically, the first capture delay line 201 passes the first clock signal HRCLK1 along a first signal path in a first direction (right to left) and passes the signal ECAPx I N [ x ] to be detected along a second signal path in a second direction (left to right) opposite to the first direction. In time interval B, the location where the edge of the signal ECAPx I N x to be detected occurs is provided by the second capture delay line 202. Specifically, the second capture delay line 202 passes the second clock signal HRCLK2 in the first direction along the third signal path and passes the signal ECAPx I N [ x ] to be detected in the second direction along the fourth signal path.
That is, each capture delay line 200 is only responsible for detecting a certain time interval in one clock cycle, and the positions where the edges of the signal ECAPx I N x to be detected occur are determined by the 2 capture delay lines 200 together. As described above, when signal edge detection is performed using one capture delay line 200 shown in fig. 2, in order to accurately capture the position where the edge of the signal ECAPx I N x to be detected occurs, the capture delay line 200 must span 2 clock cycles. In the embodiment of the present application, since the positions where the edges of the signal ECAPx I N x to be detected occur are determined together by the 2 capturing delay lines 200, the length of at least one capturing delay line 200 may be less than one clock cycle.
It is understood that the length of the capture delay line 200 may be characterized by the number of capture delay elements 100 in the capture delay line 200. Since the "number ratio of the capture delay elements 100 in the different capture delay lines 200" is associated with the "phase difference between the clock signals corresponding to the different capture delay lines 200", the phase difference between the clock signals corresponding to the different capture delay lines 200 can be "determined" by the "number ratio of the capture delay elements 100 in the different capture delay lines 200". Specifically, the phase difference between the first clock signal HRCLK1 and the second clock signal HRCLK2 is a/(a+b) 360 °. Where a and B are the number of capture delay elements 100 in the first capture delay line 201 and the second capture delay line 202, respectively. For example, when a=2b, the phase difference between the first clock signal HRCLK1 and the second clock signal HRCLK2 is 120 °, and when the phases of the initial clock signal HRCLK and the first clock signal HRCLK1 are the same, the phase shifter is required to shift the initial clock signal HRCLK by 120 ° to generate the second clock signal HRCLK2; when the phase difference α exists between the initial clock signal HRCLK and the first clock signal HRCLK1 (the phase difference caused by the component is the first clock signal HRCLK1 obtained by shifting the phase α of the initial clock signal HRCLK), the second clock signal HRCLK2 is obtained by shifting the phase α+120° of the initial clock signal HRCLK, or the second clock signal HRCLK2 is obtained by shifting the phase 120 ° of the first clock signal HRCLK 1.
In summary, in the embodiment of the present application, the number of the capturing delay elements 100 in the different capturing delay lines 200 may be flexibly configured, and the phase difference between the clock signals corresponding to the different capturing delay lines 200 may be set by the number ratio of the capturing delay elements 100 in the different capturing delay lines 200, so that the design of the clock signals and the capturing delay elements 100 is more flexible.
With continued reference to fig. 5, in an embodiment of the present application, the acquisition circuit further includes a phase shifter. After the oscillator delay line 400 generates the initial clock signal HRCLK, the first clock signal HRCLK1 may be determined according to the initial clock signal HRCLK. The first clock signal HRCLK1 may be the same signal as the initial clock signal HRCLK, or may be a signal delayed by a certain time (e.g., delayed by 1/6 clock cycle) from the initial clock signal HRCLK. The delay of the initial clock signal HRCLK may reserve time for the phase shifting operation of the subsequent phase shifter.
After the first clock signal HRCLK1 is obtained, the first phase shifter may phase shift the first clock signal HRCLK1 to obtain the second clock signal HRCLK2. For example, if the phase difference between the first clock signal HRCLK1 and the second clock signal HRCLK2 is 120 °, the first clock signal HRCLK1 may be phase-shifted by 120 ° by the phase shifter to obtain the second clock signal HRCLK2.
In some possible implementations, the first clock signal HRCLK1 and the second clock signal HRCLK2 with specified phase differences may also be obtained directly at different nodes of the oscillator delay line 400, and the first clock signal HRCLK1 may be provided, for example, from the 300- (17) output with reference to fig. 7; the 300- (35) output provides a second clock signal HRCLK2, which likewise falls within the general scope of "clock signal generated from the initial clock signal HRCLK". It will be appreciated that at this point, the phase shifter in the acquisition circuit may be omitted.
With continued reference to fig. 5, in an embodiment of the present application, the acquisition circuit further includes a multiplexer 510. The first input 511 of the multiplexer 510 is for receiving the signal ECAPx I N x to be detected, and the second input 512 is for receiving an inverted signal of the signal ECAPx I N x to be detected. The output 514 of the multiplexer 510 is electrically connected to the first and second capture delay lines 201, 202, respectively. The control terminal 514 of the multiplexer 510 receives the control signal CAPI N, and gates the connection between the first input terminal 511 and the output terminal 514 according to the control signal CAPI N to provide the signal to be detected ECAPx Ix [ x ] for the first capture delay line 201 and the second capture delay line 202; alternatively, the connection between the second input 512 and the output 514 is gated to provide an inverted signal of the signal ECAPx ix [ x ] to be detected to the first capturing delay line 201 and the second capturing delay line 202.
In some possible implementations, the multiplexer 510 may also receive the phase-shifted signal of the signal ECAPx I N [ x ] to be detected, and further select the phase-shifted signal of the signal ECAPx I N [ x ] to be provided to the first capturing delay line 201 and the second capturing delay line 202 by the control signal CAPI N.
In order to facilitate understanding, the technical solutions provided in the embodiments of the present application are described in detail below in conjunction with specific implementations.
Referring to fig. 7, a schematic structural diagram of another capturing circuit according to an embodiment of the present application is provided. As shown in fig. 7, the acquisition circuit includes 1 oscillator delay line 400 and 2 acquisition delay lines 200 (first acquisition delay line 201 and second acquisition delay line 202). Wherein the oscillator delay line 400 includes 36 timing delay elements 300, the first capture delay line 201 includes 16 capture delay elements 100, and the second capture delay line 202 includes 20 capture delay elements 100.
When the enable control signal hrclk_en of the seventh nand gate 401 in the oscillator delay line 400 is low ("0"), the oscillator delay line 400 does not operate, and when the enable control signal hrclk_en of the oscillator delay line 400 is high ("1"), the oscillator delay line 400 forms an oscillator to generate the initial clock signal HRCLK, and the first clock signal HRCLK1 can be determined according to the initial clock signal HRCLK. The phase difference of the first capturing delay line 201 and the second capturing delay line 202 is a/(a+b) =160°. That is, the phase shifter may phase shift the first clock signal HRCLK1 by 160 ° to obtain the second clock signal HRCLK2. Specifically, the position where the edge of the signal to be detected ECAPx I N x occurs is determined by the first capturing delay line 201 in the period of 0 to 4/9; the location where the edges of the signal to be detected ECAPx ix x occur is determined by the second capture delay line 202 during the 4/3 to 9/9 period.
Referring to fig. 8, a signal timing diagram for edge detection using the capture circuit shown in fig. 7 is shown. As shown in fig. 8, during time interval a (the first 4/9 clock cycles), the first clock signal HRCLK1 is high and the rising edge of the first clock signal HRCLK1 propagates along the first signal path from right to left in the first capture delay line 201. The rising edge of the signal to be detected ECAPx I N x goes high during the time interval a, and propagates along the second signal path from left to right in the first capturing delay line 201. The output of the first capture delay line 201 is latched in HR1[15:0] and sent out after a short delay. In time interval B, the second clock signal HRCLK2 is high and the rising edge of the second clock signal HRCLK2 propagates along the third signal path right-to-left in the second capture delay line 202. During time interval B (the last 5/9 clock cycles), the signal to be detected ECAPx INx is high, which propagates along the fourth signal path from left to right in the second capture delay line 202. The output of the second capture delay line 202 is latched in HR2[19:0] and sent out after a short delay.
When both HR1[15:0] and HR2[19:0]2 values are captured, the 2 values are connected to form HROUT [35:0], and by counting the number of 1 in HROUT [35:0], the HR value can be determined, and can represent the position of the rising edge of the signal to be detected ECAPx INx in one clock period, so that the decimal part of the pulse width can be determined, and the high-precision measurement of the pulse width is realized.
As described above, since the clock signal always propagates through half of the capture delay line 200, the state of the output bits in the right half of the capture delay line 200 is always 0, and these values do not need to be captured and transmitted, therefore only half of the output bits in HROUT [35:0] need to be counted. Accordingly, when the total number of the capturing delay elements 100 in the 2 capturing delay lines 200 is M, the resolution of the capturing circuit is: the clock period THRCLK of the clock signal is divided by M/2.
Illustratively, in the capture circuit shown in fig. 7, the first capture delay line 201 includes 16 capture delay elements 100, so that 8 output bits are required to be counted in the first capture delay line 201, and the second capture delay line 202 includes 20 capture delay elements 100, so that 10 output bits are required to be counted in the second capture delay line 202, and the relationships between the ECAPx I N [ x ], HROUT [35:0], HR values, and capture values are shown in table one. Wherein, the data in the signal to be detected ECAPx I N [ x ] represents the relative position of the edge (e.g., rising edge) of the signal to be detected ECAPx I N [ x ] and the clock signal. For example, when the edge of the signal to be detected ECAPx INx is located at 1/18 of the clock signal, the HROUT [35:0] captured by the capturing circuit is 1111111111111_11110, and the 1-to-1 ratio of the HROUT [35:0] is counted, so that the HR value can be determined to be 1/18, and further the capturing value can be determined to be (1/18) +17. Wherein the value "17" of this portion represents an integer portion of the pulse width in the signal to be detected ECAPx I N x. Similarly, when the edge of the signal ECAPx INx to be detected is located at other positions of the clock signal, a corresponding capture value can be obtained through the capture circuit, so that high-precision measurement of pulse width is realized.
Table one:
ECAPxIN[x] HROUT[35:0] HR value Capturing values
0 1111111111_111111111 0 17
1/18 1111111111_11111110 1/18 (1/18)+17
2/18 1111111111_11111100 2/18 (2/18)+17
3/18 1111111111_11111000 3/18 (3/18)+17
4/18 1111111111_11110000 4/18 (4/18)+17
5/18 1111111111_11100000 5/18 (5/18)+17
6/18 1111111111_11000000 6/18 (6/18)+17
7/18 1111111111_10000000 7/18 (7/18)+17
8/18 1111111111_00000000 8/18 (8/18)+17
9/18 1111111110_00000000 9/18 (9/18)+17
10/18 1111111100_00000000 10/18 (10/18)+17
11/18 1111111000_00000000 11/18 (11/18)+17
12/18 1111110000_00000000 12/18 (12/18)+17
13/18 1111100000_00000000 13/18 (13/18)+17
14/18 1111000000_00000000 14/18 (14/18)+17
15/18 1110000000_00000000 15/18 (15/18)+17
16/18 1100000000_00000000 16/18 (16/18)+17
17/18 1000000000_00000000 17/18 (17/18)+17
18/18 0000000000_00000000 18/18 (18/18)+17
With continued reference to fig. 7, in the embodiment of the present application, the oscillator delay line 400 includes 36 timing delay elements 300, and the first capture delay line 201 includes 16 capture delay elements 100; the second acquisition delay line 202 includes 20 acquisition delay elements 100 therein. That is, the number N of timing delay elements 300 in the oscillator delay line 400=the number a of capture delay elements 100 in the first capture delay line 201+the number B of capture delay elements 100 in the second capture delay line 202.
In the present embodiment, each timing delay element 300 and each capture delay element 100 have similar delays. It will be appreciated that in this case, when n=a+b, the length of the 2 capture delay lines 200 matches the clock period of the clock signal generated by the oscillator delay line 400.
For details of the embodiments of the present application, reference may be made to the descriptions of the foregoing embodiments, which are not repeated herein for brevity.
Referring to fig. 9, a schematic diagram of another capturing circuit according to an embodiment of the present application is provided. As shown in fig. 9, the embodiment of the present application differs from the embodiment shown in fig. 7 in that 15 capture delay elements 100 are included in the first capture delay line 201. It will be appreciated that if 16 capture delay elements 100 are included in the first capture delay line 201, a 4/9 clock cycle signal may be detected, and when the number of capture delay elements 100 is one less (including 15 capture delay elements 100), a (4/9 clock cycle) timing signal may be estimated to be lost, which may have some effect on the final capture result. However, if there are more capture delay elements 100 in one capture delay line 200, for example, 50 capture delay elements 100, when there is one less capture delay element 100 (including 49 capture delay elements 100), the signal that would have lost (4/9 clock cycles) timing (1/50) is estimated to have less impact on the final capture result, usually at an acceptable signal loss. That is, even if the length of the acquisition delay line 200 does not match the preset clock period, normal signal detection can be performed as long as the gap is not too large.
For details of the embodiments of the present application, reference may be made to the descriptions of the foregoing embodiments, which are not repeated herein for brevity.
Referring to fig. 10, a schematic diagram of another capturing circuit according to an embodiment of the present application is provided. As shown in fig. 10, the embodiment of the present application is different from the embodiment shown in fig. 7 in that the phase shifter includes a first phase shifter and a second phase shifter. The first phase shifter is used for shifting the first phase of the first clock signal HRCLK1 and outputting a second clock signal HRCLK2A; the second phase shifter is used for shifting the first clock signal HRCLK1 by a second phase and outputting a second clock signal HRCLK2B. In addition, the capturing circuit further comprises a selection switch 1001, the selection switch 1001 being configured to selectively turn on a connection between the first phase shifter and the oscillator delay line 400 and the second capturing delay line 202, and to provide the second clock signal HRCLK2A to the second capturing delay line 202; or the connection between the second phase shifter and the oscillator delay line 400 and the second capture delay line 202 is turned on to provide the second clock signal HRCLK2B to the second capture delay line 202.
In one possible application scenario, the first phase and the second phase are identical, that is, the phases of the second clock signal HRCLK2A and the second clock signal HRCLK2B obtained by the two phase shifters are identical. In the application scene, the two phase shifters are mutually backed up, and when one phase shifter fails or is abnormal, the phase shifter can be switched to the other phase shifter to work, so that the reliability of the circuit is improved.
In another possible application scenario, the first phase and the second phase are different, that is, the phases of the second clock signal HRCLK2A and the second clock signal HRCLK2B obtained by the two phase shifters are different. As described above, the phase difference between the first clock signal HRCLK1 and the second clock signal HRCLK2 should be a/(a+b) by 360 °, that is, the phase shifter only needs to shift the phase of the first clock signal HRCLK1 by a/(a+b) by 360 °, so as to obtain the second clock signal HRCLK2. However, in practical applications, errors in the delay timing may be caused due to problems such as abnormality of the capture delay element 300. In the embodiment of the present application, the selected phase shift phase may be determined according to the final effect of the first clock signal HRCLK1, and the sampling effect of the second clock signal HRCLK2 may be optimized.
With continued reference to fig. 10, in an embodiment of the present application, the capture circuit further includes a first latch and a second latch. The input terminal of the first latch is configured to receive the first clock signal HRCLK1, latch the first clock signal HRCLK1, and provide the latched first clock signal HRCLK1 to the first capture delay line 201. The input of the second latch is configured to receive the second clock signal HRCLK2, latch the second clock signal HRCLK2, and provide the latched second clock signal HRCLK2 to the second capture delay line 202. It is appreciated that when two phase shifters are present, the second latch may receive the second clock signal HRCLK2A or the second clock signal HRCLK2B, latch the second clock signal HRCLK2A or the second clock signal HRCLK2B, and provide the latched second clock signal HRCLK2A or the second clock signal HRCLK2B to the second capture delay line 202.
It can be appreciated that by latching the first clock signal HRCLK1 and/or the second clock signal HRCLK2, the time nodes of the first clock signal HRCLK1 and the second clock signal HRCLK2 respectively input to the first capture delay line 201 and the second capture delay line 202 can be flexibly adjusted, thereby improving flexibility and robustness of the circuit. Illustratively, the first capture delay line 201 and the second capture delay line 202 may be ensured to complete capturing simultaneously by latching the first clock signal HRCLK1 and/or the second clock signal HRCLK 2.
Referring to fig. 11, a schematic structural diagram of another capturing circuit according to an embodiment of the present application is provided. As shown in fig. 11, the embodiment of the present application differs from the embodiment shown in fig. 10 in that only the second latch is present. Of course, in some possible implementations, only the first latch may be provided in the capturing circuit, and the second latch is not provided, which is not described in detail in the embodiments of the present application.
Referring to fig. 12, a signal timing diagram for edge detection using the capture circuit shown in fig. 11 is shown. The solid line portion in fig. 12 is a timing chart corresponding to the first clock signal HRCLK1 and the second clock signal HRCLK2A, and the dotted line portion is a timing chart corresponding to the second clock signal HRCLK 2B. The phases of the second clock signal HRCLK2A and the second clock signal HRCLK2B are different, and the second clock signal HRCLK2B is latched. Comparing the timing diagrams of the second clock signal HRCLK2A and the second clock signal HRCLK2B, it can be seen that the time node of the second clock signal HRCLK2B input to the second capture delay line 202 can be adjusted after the second clock signal HRCLK2B is latched.
For details of the embodiments of the present application, reference may be made to the descriptions of the foregoing embodiments, which are not repeated herein for brevity.
Corresponding to the above embodiment, the embodiment of the present application also provides a micro-processing chip.
Referring to fig. 13, a schematic structural diagram of a micro-processing chip according to an embodiment of the present application is provided. As shown in fig. 13, the micro-processing chip includes a capture circuit. For details of the capturing circuit, reference may be made to the description of the above embodiments, and for brevity of description, details are not repeated here.
In a specific implementation, the micro processing chip may be a micro central control chip, a system on chip, or the like, which can process digital signals and analog signals, or perform functions such as signal control, instruction processing, and operation, for example, by using a control module, a DSP, an MPU, a micro CPU, or the like.
For details of the embodiments of the present application, reference may be made to the descriptions of the foregoing embodiments, which are not repeated herein for brevity.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relation of association objects, and indicates that there may be three kinds of relations, for example, a and/or B, and may indicate that a alone exists, a and B together, and B alone exists. Wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of the following" and the like means any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in the embodiments disclosed herein can be implemented as a combination of electronic hardware, computer software, and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In several embodiments provided herein, any of the functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, and any person skilled in the art may easily conceive of changes or substitutions within the technical scope of the present application, which should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A capture circuit, comprising:
an oscillator delay line comprising N sequential delay elements and logic gates, the N sequential delay elements and logic gates being sequentially coupled in a loop to generate an initial clock signal;
the first capture delay line comprises A capture delay elements which are coupled in sequence so as to transmit a first clock signal along a first signal path in a first direction and transmit a signal to be detected along a second signal path in a second direction opposite to the first direction, wherein A is more than or equal to 2;
the second capture delay line comprises B capture delay elements which are coupled in sequence so as to transmit a second clock signal along a third signal path in the first direction and transmit a signal to be detected along a fourth signal path in the second direction, B is more than or equal to 2, A is not less than B, and N=A+B; each of the capture delay elements constitutes a flip-flop and provides a one-bit output;
Different nodes of the oscillator delay line acquire the first clock signal and the second clock signal with specified phase differences; or, the device further comprises a phase shifter for shifting the phase of the initial clock signal to obtain the first clock signal and the second clock signal, wherein the phase difference of the phase shift is determined by the number of the capturing delay elements and the number of the time sequence delay elements.
2. The acquisition circuit of claim 1, the different nodes of the oscillator delay line acquire the first clock signal and the second clock signal with a specified phase difference; or, the device also comprises a phase shifter for shifting the phase of the initial clock signal to obtain the first clock signal and the second clock signal, the phase difference of the phase shift is determined by the number of the capturing delay elements and the number of the time sequence delay elements, the device is characterized in that the phase shifter is used for shifting the phase of the initial clock signal to obtain the first clock signal and the second clock signal,
the initial clock signal is in phase with the first clock signal, and the phase shifter shifts the phase of the initial clock signal to obtain a second clock signal, wherein the phase difference of the phase shift is A/N by 360 degrees;
Or the initial clock signal respectively passes through different phase shifters to generate a first clock signal and a second clock signal with different phases.
3. The capture circuit of claim 2, wherein the capture circuit is configured to capture the first signal,
the phase shifter includes: the first phase shifter is used for shifting the first phase of the first clock signal and outputting a second clock signal A; the second phase shifter is used for shifting the first clock signal by a second phase and outputting a second clock signal B;
the acquisition circuit further comprises a selection switch for selectively switching on a connection between the first phase shifter and the oscillator delay line and the second acquisition delay line or switching on a connection between the second phase shifter and the oscillator delay line and the second acquisition delay line.
4. A capture circuit according to claim 3, wherein the first phase and the second phase are the same or different.
5. The capture circuit of claim 1, further comprising:
a first latch for latching the first clock signal and providing the latched first clock signal to the first capture delay line;
and/or the number of the groups of groups,
And the second latch is used for latching the second clock signal and providing the latched second clock signal for the second capture delay line.
6. The capture circuit of claim 1, wherein the first clock signal and the second clock signal are delayed a specified length relative to the initial clock signal.
7. The capture circuit of claim 1, wherein the capture delay element comprises:
a first nand gate including a first input terminal, a second input terminal, and an output terminal, the first input terminal of the first nand gate being configured to receive a clock signal transferred in the first direction;
the second NAND gate comprises a first input end, a second input end and an output end, wherein the first input end of the second NAND gate is electrically connected with the output end of the first NAND gate, the second input end of the second NAND gate is provided with 1, and the output end of the second NAND gate is used for outputting a clock signal in the first direction;
the first input end of the third NAND gate is used for receiving a signal to be detected transmitted in the second direction;
The first input end of the fourth NAND gate is provided with 1, the second input end of the fourth NAND gate is electrically connected with the output end of the third NAND gate, and the output end of the fourth NAND gate is used for outputting a signal to be detected in the second direction;
the second input end of the first NAND gate is electrically connected with the second input end of the fourth NAND gate, and the first input end of the second NAND gate is electrically connected with the second input end of the third NAND gate.
8. The capture circuit of claim 1, wherein the timing delay element comprises:
the fifth NAND gate comprises a first input end, a second input end and an output end, wherein the first input end of the fifth NAND gate is used for being connected with the output end of the last time sequence delay element, and the second input end of the fifth NAND gate is provided with 1;
the sixth NAND gate comprises a first input end, a second input end and an output end, wherein the first input end of the sixth NAND gate is provided with 1, the second input end of the sixth NAND gate is electrically connected with the output end of the fifth NAND gate, and the output end of the sixth NAND gate is used for being connected with the input end of the next time sequence delay element.
9. The capture circuit of claim 1, further comprising:
and the multiplexer is coupled with the signal input ends to be detected of the first capture delay line and the second capture delay line and is used for providing the signal to be detected, the inverted signal of the signal to be detected or the signal after the phase shift treatment of the signal to be detected for the first capture delay line and the second capture delay line.
10. A microprocessor chip comprising the capture circuit of any one of claims 1-9.
CN202311413075.8A 2023-10-26 2023-10-26 Capturing circuit and micro-processing chip Pending CN117394826A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311413075.8A CN117394826A (en) 2023-10-26 2023-10-26 Capturing circuit and micro-processing chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311413075.8A CN117394826A (en) 2023-10-26 2023-10-26 Capturing circuit and micro-processing chip

Publications (1)

Publication Number Publication Date
CN117394826A true CN117394826A (en) 2024-01-12

Family

ID=89437063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311413075.8A Pending CN117394826A (en) 2023-10-26 2023-10-26 Capturing circuit and micro-processing chip

Country Status (1)

Country Link
CN (1) CN117394826A (en)

Similar Documents

Publication Publication Date Title
CN102113206B (en) Circuit with time to digital converter and phase measuring method
US7734002B2 (en) Phase difference detector having concurrent fine and coarse capabilities
JP3592376B2 (en) Time interval measuring device
KR102224031B1 (en) A circuit delay monitoring apparatus and method
US11558039B2 (en) Method and arrangement for ensuring valid data at a second stage of a digital register circuit
CN100486114C (en) Digital duty cycle corrector and method thereof
US20030174082A1 (en) A/D conversion method and apparatus therefor
US20200389156A1 (en) Method and arrangement for protecting a digital circuit against time errors
US20060197566A1 (en) DLL circuit for providing an output signal with a desired phase shift
US20150008940A1 (en) Clock jitter and power supply noise analysis
KR100286636B1 (en) Semiconductor Integrated Circuits and Semiconductor Integrated Circuit Systems
CN117394826A (en) Capturing circuit and micro-processing chip
US20190245528A1 (en) Ring oscillator-based timer
US10177747B2 (en) High resolution capture
US6504876B1 (en) Pulse signal generating apparatus and pulse signal generating method
CN117394825A (en) Capturing circuit and micro-processing chip
KR100306061B1 (en) Synchronous delay circuit for generating synchronous delay signal in a short time and frequency multiplication circuit using it
KR100742142B1 (en) Dual-edge m/n:d counter
US8782474B2 (en) Advanced converters for memory cell sensing and methods
US7535382B2 (en) High speed quadrature counter
CN101517896A (en) A/D converter
US7454647B1 (en) Apparatus and method for skew measurement
US20020047739A1 (en) Modified clock signal generator
KR100188670B1 (en) Counter circuit for controller
CN107078723B (en) Signal processing system and method of signal processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination