[go: up one dir, main page]

CN106226776A - A kind of LFSR counter for measuring photon flight time - Google Patents

A kind of LFSR counter for measuring photon flight time Download PDF

Info

Publication number
CN106226776A
CN106226776A CN201610526986.5A CN201610526986A CN106226776A CN 106226776 A CN106226776 A CN 106226776A CN 201610526986 A CN201610526986 A CN 201610526986A CN 106226776 A CN106226776 A CN 106226776A
Authority
CN
China
Prior art keywords
edge
nmos
double
tube
flop
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
CN201610526986.5A
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.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN201610526986.5A priority Critical patent/CN106226776A/en
Publication of CN106226776A publication Critical patent/CN106226776A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/46Indirect determination of position data
    • G01S17/48Active triangulation systems, i.e. using the transmission and reflection of electromagnetic waves other than radio waves
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/20Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits
    • 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/353Generators characterised by the type of circuit or by the means used for producing pulses by the use, as active elements, of field-effect transistors with internal or external positive feedback
    • H03K3/356Bistable circuits
    • H03K3/3562Bistable circuits of the primary-secondary type

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Insulated Gate Type Field-Effect Transistor (AREA)

Abstract

本发明公开了一种用于测量光子飞行时间的LFSR计数器,包括14个相同的双边沿C2MOS触发器,1个四输入的异或门XNOR和1个nmos置位开关。14个相同的双边沿C2MOS触发器C0~C13;nmos置位开关的源极是输入控制端口VS,nmos置位开关的栅极是输入控制端口VG,nmos置位开关的衬底与地VSS相连;nmos置位开关的漏极与双边沿C2MOS触发器C0的输入端D相连。本发明所用器件少,而且采用双边沿触发方式,既减小了电路面积,同时又降低了时钟频率。采用一个nmos置位开关,避免了对反馈网络组合逻辑的繁琐设计,使得反馈网络仅用一个四输入异或门实现,极大地减小了电路面积,同时避免了死循环现象的发生。

The invention discloses an LFSR counter for measuring photon flight time, which comprises 14 identical double-edge C 2 MOS flip-flops, a four-input exclusive OR gate XNOR and a nmos setting switch. 14 identical double-edge C 2 MOS flip-flops C 0 ~C 13 ; the source of the nmos set switch is the input control port VS, the gate of the nmos set switch is the input control port VG, and the substrate of the nmos set switch It is connected with the ground VSS; the drain of the nmos setting switch is connected with the input terminal D of the double-edge C 2 MOS flip-flop C 0 . The invention uses few devices and adopts double-edge trigger mode, which not only reduces the circuit area, but also reduces the clock frequency. An nmos set switch is used to avoid the cumbersome design of the combinational logic of the feedback network, so that the feedback network is realized by only a four-input XOR gate, which greatly reduces the circuit area and avoids the occurrence of dead loop phenomenon.

Description

一种用于测量光子飞行时间的LFSR计数器A LFSR Counter for Measuring Photon Time-of-Flight

技术领域technical field

本发明属于激光探测读出电路领域,特别涉及一种用于测量光子飞行时间的LFSR计数器。The invention belongs to the field of laser detection and readout circuits, in particular to an LFSR counter for measuring photon flight time.

背景技术Background technique

主动激光探测,是一种采用激光脉冲器向需要探测的目标物体发射激光脉冲,并通过测量回波脉冲与发射脉冲之间的时间来计算目标物体距离的激光探测技术。在一些特殊的应用领域,如隐蔽军事目标探测、远距离目标探测和微弱光目标探测等应用中,受到探测隐蔽性的要求和目标物体自身光照条件的限制,需要采用灵敏度很高、响应速度较快的光电探测器实现探测。在目前出现的多种光电探测器中,工作在盖革模式的雪崩光电二极管(Avalanche Photo Diode,APD)能够响应单个光子,达到了光子探测的极限,因此被广泛地应用于上述几个领域。Active laser detection is a laser detection technology that uses a laser pulser to emit laser pulses to the target object to be detected, and calculates the distance to the target object by measuring the time between the echo pulse and the emitted pulse. In some special application fields, such as concealed military target detection, long-distance target detection and weak light target detection, etc., due to the requirements of detection concealment and the limitation of the target object's own lighting conditions, it is necessary to use high-sensitivity, fast-response Fast photodetectors are used for detection. Among the various photodetectors currently appearing, the Avalanche Photo Diode (APD) working in the Geiger mode can respond to a single photon and reach the limit of photon detection, so it is widely used in the above-mentioned fields.

通过主动激光探测,可以获得发射光学系统与目标物体的距离。如果再结合光学系统的方位角和俯仰角,就可以获知目标物体在反射光子处的三维信息。如果采用探测器阵列对目标物体各处的反射光子进行接收,就能够获得相应像素的三维信息,再通过对应的算法,即可实现对目标物体的三维成像。With active laser detection, the distance from the transmitting optics to the target object can be obtained. If combined with the azimuth and elevation angles of the optical system, the three-dimensional information of the target object at the reflected photon can be obtained. If the detector array is used to receive the reflected photons of the target object, the three-dimensional information of the corresponding pixel can be obtained, and then the three-dimensional imaging of the target object can be realized through the corresponding algorithm.

由于方位角和俯仰角由光学系统提供,因此在电路设计层面上,实现对光子飞行时间(Time of Flight,TOF)的测量是电路设计者的关键。目前,采用APD阵列实现3D激光成像的像素电路特征尺寸是50~100um。为了适应如此小的像素面积,需要仔细设计像素内部各个功能电路模块,在保证功能和性能的基础上,采用尽量稳定精简的结构来实现时间测量功能。另外,时间测量的精度主要取决于时钟频率——时钟频率高,测量的时间精度相应较高。但高频时钟在实际电路实现时会受到电路版图布局布线和工艺的限制,可靠性较差。因此设计合理的电路结构,在测量精度和时钟频率两者间做出较好的折中,成为时间测量的另一关键。Since the azimuth and elevation angles are provided by the optical system, at the circuit design level, it is the key for the circuit designer to realize the measurement of the time of flight (Time of Flight, TOF) of the photon. At present, the feature size of pixel circuits for 3D laser imaging using APD arrays is 50-100um. In order to adapt to such a small pixel area, it is necessary to carefully design each functional circuit module inside the pixel. On the basis of ensuring function and performance, a structure that is as stable and compact as possible is used to realize the time measurement function. In addition, the accuracy of time measurement mainly depends on the clock frequency - the higher the clock frequency, the higher the accuracy of the measured time. However, the high-frequency clock will be limited by the circuit layout and process in the actual circuit implementation, and its reliability is poor. Therefore, designing a reasonable circuit structure and making a better compromise between measurement accuracy and clock frequency has become another key to time measurement.

测量时间的本质是对时钟周期的计数。从激光脉冲发射的一刻开始,主时钟开始同步振荡,并采用一个计数器对时钟周期数进行计数。最后用计数器的数值乘以时钟周期,即为光子的往返飞行时间。线性反馈移位寄存器(Linear Feedback Shift Register,LFSR)是一种常用于测量光子飞行时间的计数器。图1是传统结构的14位LFSR,它由14个相同的静态D触发器C0~C13、14个相同的开关K0~K13和一个异或网络组成。其中,C0的输出端Q连接到C1的输入端D,C1的输出端Q连接到C2的输入端D。以此类推,C12的输出端Q连接至C13的输入端D;C0~C13的各个输出端Q分别通过开关K0~K13连接至异或网络,异或网络的输出连接至C0的输入端D作为反馈;C0~C13的CLK端均连接在一起,作为时钟输入端CLK。传统LFSR的结构简单,所用晶体管数量不多,电路面积相对适中。但是作为目前APD阵列3D激光成像的主流计数器结构,研究者们往往忽视了对它的电路结构的进一步精简和创新,这为本发明留下了充分的创新空间。The essence of measuring time is counting clock cycles. From the moment the laser pulse is emitted, the main clock starts to oscillate synchronously, and a counter is used to count the number of clock cycles. Finally, the value of the counter is multiplied by the clock cycle, which is the round-trip flight time of the photon. A linear feedback shift register (Linear Feedback Shift Register, LFSR) is a counter commonly used to measure the flight time of photons. Figure 1 is a 14-bit LFSR with a traditional structure, which consists of 14 identical static D flip-flops C 0 ~ C 13 , 14 identical switches K 0 ~ K 13 and an XOR network. Among them, the output terminal Q of C0 is connected to the input terminal D of C1 , and the output terminal Q of C1 is connected to the input terminal D of C2 . By analogy, the output terminal Q of C 12 is connected to the input terminal D of C 13 ; the output terminals Q of C 0 to C 13 are respectively connected to the XOR network through switches K 0 to K 13 , and the output of the XOR network is connected to The input terminal D of C 0 is used as feedback; the CLK terminals of C 0 to C 13 are all connected together as the clock input terminal CLK. The traditional LFSR has a simple structure, a small number of transistors, and a relatively moderate circuit area. However, as the mainstream counter structure of the current APD array 3D laser imaging, researchers often ignore the further simplification and innovation of its circuit structure, which leaves sufficient room for innovation in the present invention.

发明内容Contents of the invention

针对现有技术,本发明提出了一种用于测量光子飞行时间的LFSR计数器,采用开关预先置位的方式简化了反馈网络的组合逻辑电路,使得电路面积大幅度减少;并采用双边沿触发的动态C2MOS结构替代原有的静态单边沿D触发器结构,在测量精度不变的前提下,使得时钟频率降为预期的一半。本发明为实现准确测量光子飞行时间,同时减小像素电路面积提供了一种切实有效的方案。Aiming at the prior art, the present invention proposes a LFSR counter for measuring the photon flight time, which simplifies the combinational logic circuit of the feedback network by adopting the switch presetting mode, so that the circuit area is greatly reduced; The dynamic C 2 MOS structure replaces the original static single-edge D flip-flop structure, and the clock frequency is reduced to half of the expected one under the premise of the same measurement accuracy. The invention provides a practical and effective solution for realizing the accurate measurement of the photon flight time and reducing the area of the pixel circuit.

为了解决上述技术问题,本发明提出的一种用于测量光子飞行时间的LFSR计数器,包括14个相同的双边沿C2MOS触发器,1个四输入的异或门XNOR和1个nmos置位开关。In order to solve the above-mentioned technical problems, a kind of LFSR counter that the present invention proposes is used for measuring photon time-of-flight, comprises 14 identical double-edge C 2 MOS flip-flops, 1 four-input XNOR and 1 nmos setting switch.

14个相同的双边沿C2MOS触发器分别记作双边沿C2MOS触发器C0、双边沿C2MOS触发器C1、双边沿C2MOS触发器C2、双边沿C2MOS触发器C3、双边沿C2MOS触发器C4、双边沿C2MOS触发器C5、双边沿C2MOS触发器C6、双边沿C2MOS触发器C7、双边沿C2MOS触发器C8、双边沿C2MOS触发器C9、双边沿C2MOS触发器C10、双边沿C2MOS触发器C11、双边沿C2MOS触发器C12和双边沿C2MOS触发器C13;所述nmos置位开关的源极是输入控制端口VS,所述nmos置位开关的栅极是输入控制端口VG,所述nmos置位开关的衬底与地VSS相连;所述nmos置位开关的漏极与所述双边沿C2MOS触发器C0的输入端D相连。The 14 identical double-edge C 2 MOS flip-flops are respectively recorded as double-edge C 2 MOS flip-flop C 0 , double-edge C 2 MOS flip-flop C 1 , double-edge C 2 MOS flip-flop C 2 , and double-edge C 2 MOS trigger C 3 , double edge C 2 MOS flip flop C 4 , double edge C 2 MOS flip flop C 5 , double edge C 2 MOS flip flop C 6 , double edge C 2 MOS flip flop C 7 , double edge C 2 MOS trigger C 8 , double-edge C 2 MOS flip-flop C 9 , double-edge C 2 MOS flip-flop C 10 , double-edge C 2 MOS flip-flop C 11 , double-edge C 2 MOS flip-flop C 12 and double-edge C 2 MOS trigger Device C 13 ; the source of the nmos setting switch is the input control port VS, the gate of the nmos setting switch is the input control port VG, and the substrate of the nmos setting switch is connected to the ground VSS; the The drain of the nmos setting switch is connected to the input terminal D of the double-edge C 2 MOS flip-flop C 0 .

所述双边沿C2MOS触发器C0的输出端Q与所述双边沿C2MOS触发器C1的输入端D相连,所述双边沿C2MOS触发器C1的输出端Q与所述双边沿C2MOS触发器C2的输入端D相连,所述双边沿C2MOS触发器C2的输出端Q与所述双边沿C2MOS触发器C3的输入端D相连,所述双边沿C2MOS触发器C3的输出端Q与所述双边沿C2MOS触发器C4的输入端D相连,所述双边沿C2MOS触发器C4的输出端Q与所述双边沿C2MOS触发器C5的输入端D相连,所述双边沿C2MOS触发器C5的输出端Q与所述双边沿C2MOS触发器C6的输入端D相连,所述双边沿C2MOS触发器C6的输出端Q与所述双边沿C2MOS触发器C7的输入端D相连,所述双边沿C2MOS触发器C7的输出端Q与所述双边沿C2MOS触发器C8的输入端D相连,所述双边沿C2MOS触发器C8的输出端Q与所述双边沿C2MOS触发器C9的输入端D相连,所述双边沿C2MOS触发器C9的输出端Q与所述双边沿C2MOS触发器C10的输入端D相连,所述双边沿C2MOS触发器C10的输出端Q与所述双边沿C2MOS触发器C11的输入端D相连,所述双边沿C2MOS触发器C11的输出端Q与所述双边沿C2MOS触发器C12的输入端D相连,所述双边沿C2MOS触发器C12的输出端Q与所述双边沿C2MOS触发器C13的输入端D相连;所述双边沿C2MOS触发器C13的输出端与所述异或门XNOR的输入端A相连,所述双边沿C2MOS触发器C12的输出端与所述异或门XNOR的输入端B相连,所述双边沿C2MOS触发器C10的输出端与所述异或门XNOR的输入端C相连,所述双边沿C2MOS触发器C8的输出端与所述异或门XNOR的输入端D相连;所述异或门XNOR的输出端Q与所述双边沿C2MOS触发器C0的输入端D相连;14个双边沿C2MOS触发器C0~C13的输入端CLK均相连在一起;14个双边沿C2MOS触发器C0~C13的输入端CLKN均相连在一起。The output Q of the double -edge C2 MOS flip-flop C0 is connected to the input D of the double-edge C2 MOS flip-flop C1 , and the output Q of the double-edge C2 MOS flip-flop C1 is connected to the The input terminal D of the double -edge C2 MOS flip-flop C2 is connected, the output Q of the double -edge C2 MOS flip-flop C2 is connected with the input D of the double-edge C2 MOS flip-flop C3, so The output Q of the double -edge C2 MOS flip-flop C3 is connected to the input D of the double-edge C2 MOS flip-flop C4 , and the output Q of the double-edge C2 MOS flip-flop C4 is connected to the The input terminal D of the double -edge C2 MOS flip-flop C5 is connected, the output Q of the double-edge C2 MOS flip-flop C5 is connected with the input D of the double-edge C2 MOS flip-flop C6 , and the The output Q of the double -edge C2 MOS flip - flop C6 is connected to the input D of the double-edge C2 MOS flip - flop C7, and the output Q of the double-edge C2 MOS flip-flop C7 is connected to the double-edge C2 MOS flip-flop C7. The input terminal D of the edge C2 MOS flip-flop C8 is connected, the output Q of the double -edge C2 MOS flip-flop C8 is connected with the input D of the double-edge C2 MOS flip-flop C9 , and the double-edge The output terminal Q of the edge C 2 MOS flip-flop C 9 is connected to the input terminal D of the double-edge C 2 MOS flip-flop C 10 , and the output Q of the double-edge C 2 MOS flip-flop C 10 is connected to the double-edge The input terminal D of the C 2 MOS flip-flop C 11 is connected, the output Q of the double -edge C MOS flip - flop C 11 is connected with the input D of the double-edge C MOS flip-flop C 12 , and the double-edge The output Q of the C 2 MOS flip-flop C 12 is connected to the input D of the double-edge C 2 MOS flip-flop C 13 ; the output of the double-edge C 2 MOS flip-flop C 13 is connected to the exclusive OR gate XNOR The input terminal A of the double-edge C 2 MOS flip-flop C 12 is connected to the input B of the exclusive OR gate XNOR, and the output terminal of the double-edge C 2 MOS flip-flop C 10 is connected to the The input terminal C of the exclusive OR gate XNOR is connected, and the output terminal of the double-edge C2 MOS flip-flop C8 is connected with the input terminal D of the exclusive OR gate XNOR; the output terminal Q of the exclusive OR gate XNOR is connected with the The input terminal D of the double-edge C 2 MOS flip-flop C 0 is connected; the input terminals CLK of the 14 double-edge C 2 MOS flip-flops C 0 ~C 13 are all connected together; the 14 double-edge C 2 MOS flip-flops C 0 ~ The input terminals CLKN of C 13 are all connected together.

每个双边沿C2MOS触发器的内部结构及各器件之间的连接关系如下:The internal structure of each double-edge C 2 MOS flip-flop and the connection relationship between each device are as follows:

每个双边沿C2MOS触发器包括7个pmos管和7个nmos管,7个pmos管分别记作pmos管P1、pmos管P2、pmos管P3、pmos管P4、pmos管P5、pmos管P6和pmos管P7;7个nmos管分别记作nmos管N1、nmos管N2、nmos管N3、nmos管N4、nmos管N5、nmos管N6和nmos管N7;所述pmos管P1、pmos管P2和pmos管P6的源极均与VDD相连;所述nmos管N3、nmos管N4和nmos管N7的源极均与VSS相连;所述pmos管P1、pmos管P2、pmos管P3、pmos管P4、pmos管P6和pmos管P7的衬底均与VDD相连;所述nmos管N1、nmos管N2、nmos管N3、nmos管N4、nmos管N6和nmos管N7的衬底均与VSS相连;所述pmos管P1的漏极、所述pmos管P3的源极和所述pmos管P5的源极均相连,所述pmos管P2的漏极与所述pmos管P4的源极相连,所述pmos管P3的漏极与所述nmos管N1的漏极相连,所述pmos管P4的漏极与所述nmos管N2的漏极相连,所述nmos管N1的源极、所述nmos管N3的漏极和所述nmos管N5的源极均相连,所述nmos管N2的源极与所述nmos管N4的漏极相连;所述pmos管P5的衬底与其源极相连,所述pmos管P5的漏极与所述nmos管N5的漏极相连,所述nmos管N5的衬底与其源极相连;所述pmos管P6的漏极与所述pmos管P7的源极相连,所述pmos管P7的漏极与所述nmos管N6的漏极相连,所述nmos管N6的源极与所述nmos管N7的漏极相连;所述pmos管P3的漏极与所述pmos管P2的栅极、所述nmos管N4的栅极相连,所述pmos管P5的漏极与所述pmos管P6的栅极、所述nmos管N7的栅极相连,所述pmos管P4的漏极、所述nmos管N2的漏极、所述pmos管P7的漏极和所述nmos管N6的漏极均相连,所述pmos管P1的栅极和所述nmos管N3的栅极相连;所述pmos管P3、pmos管P7的栅极、所述nmos管N2、nmos管N5的栅极均相连;所述pmos管P4、pmos管P5的栅极、所述nmos管N1、nmos管N6的栅极均相连。Each double-edge C 2 MOS flip-flop includes 7 pmos tubes and 7 nmos tubes, and the 7 pmos tubes are respectively recorded as pmos tube P 1 , pmos tube P 2 , pmos tube P 3 , pmos tube P 4 , and pmos tube P 5. Pmos tube P 6 and pmos tube P 7 ; 7 nmos tubes are recorded as nmos tube N 1 , nmos tube N 2 , nmos tube N 3 , nmos tube N 4 , nmos tube N 5 , nmos tube N 6 and nmos tube tube N7 ; the sources of the pmos tube P1, pmos tube P2 and pmos tube P6 are all connected to VDD; the sources of the nmos tube N3, nmos tube N4 and nmos tube N7 are all connected to VSS connected; the substrates of the pmos tube P 1 , pmos tube P 2 , pmos tube P 3 , pmos tube P 4 , pmos tube P 6 and pmos tube P 7 are all connected to VDD; the nmos tube N 1 , nmos tube The substrates of N 2 , nmos tube N 3 , nmos tube N 4 , nmos tube N 6 and nmos tube N 7 are all connected to VSS; the drain of the pmos tube P 1 , the source of the pmos tube P 3 and The sources of the pmos transistor P5 are all connected, the drain of the pmos transistor P2 is connected to the source of the pmos transistor P4, the drain of the pmos transistor P3 is connected to the nmos transistor N1 The drains are connected, the drain of the pmos tube P4 is connected with the drain of the nmos tube N2 , the source of the nmos tube N1, the drain of the nmos tube N3 and the nmos tube N 5 sources are all connected, the source of the nmos tube N2 is connected to the drain of the nmos tube N4 ; the substrate of the pmos tube P5 is connected to its source, and the drain of the pmos tube P5 pole is connected with the drain of the nmos transistor N5 , the substrate of the nmos transistor N5 is connected with its source ; the drain of the pmos transistor P6 is connected with the source of the pmos transistor P7, and the The drain of the pmos transistor P 7 is connected to the drain of the nmos transistor N 6 , the source of the nmos transistor N 6 is connected to the drain of the nmos transistor N 7 ; the drain of the pmos transistor P 3 is connected to the drain of the nmos transistor N 6 The gate of the pmos transistor P2 and the gate of the nmos transistor N4 are connected, and the drain of the pmos transistor P5 is connected to the gate of the pmos transistor P6 and the gate of the nmos transistor N7 connected, the drain of the pmos tube P4, the drain of the nmos tube N2 , the drain of the pmos tube P7 and the drain of the nmos tube N6 are all connected, and the pmos tube P1 The grid of the nmos tube N3 is connected to the grid; the grids of the pmos tube P3 , pmos tube P7, the nmos tube N2 , nmos The gates of the transistor N 5 are all connected; the gates of the pmos transistor P 4 and the pmos transistor P 5 , the gates of the nmos transistor N 1 and the nmos transistor N 6 are all connected.

所述异或门XNOR的内部结构及各器件之间的连接关系如下:The internal structure of the exclusive OR gate XNOR and the connection relationship between each device are as follows:

所述异或门XNOR包括8个pmos管和8个nmos管,8个pmos管分别记作pmos管P11、pmos管P12、pmos管P13、pmos管P14、pmos管P15、pmos管P16、pmos管P17和pmos管P18,8个nmos管分别记作nmos管N11、nmos管N12、nmos管N13、nmos管N14、nmos管N15、nmos管N16、nmos管N17和nmos管N18;所述pmos管P11、P12、P13、P14的源极和所述pmos管P11~P18的衬底均与VDD相连,所述nmos管N14、N18的源极和所述nmos管N11~N18的衬底均与VSS相连;所述pmos管P11~P14的漏极与所述pmos管P15~P18的源极均相连,所述pmos管的P15~P18的漏极与所述nmos管N11、N15的漏极均相连;所述nmos管N11的源极与所述nmos管N12的漏极相连,所述nmos管N12的源极与所述nmos管N13的漏极相连,所述nmos管N13的源极与所述nmos管N14的漏极相连,所述nmos管N15的源极与所述nmos管N16的漏极相连,所述nmos管N16的源极与所述nmos管N17的漏极相连,所述nmos管N17的源极与所述nmos管N18的漏极相连;所述pmos管P11的栅极与所述nmos管N15的栅极相连,所述pmos管P12的栅极与所述nmos管N16的栅极相连,所述pmos管P13的栅极与所述nmos管N17的栅极相连,所述pmos管P14的栅极与所述nmos管N18的栅极相连,所述pmos管P15的栅极与所述nmos管N11的栅极相连,所述pmos管P16的栅极与所述nmos管N12的栅极相连,所述pmos管P17的栅极与所述nmos管N13的栅极相连,所述pmos管P18的栅极与所述nmos管N14的栅极相连。The exclusive OR gate XNOR includes 8 pmos tubes and 8 nmos tubes, and the 8 pmos tubes are respectively recorded as pmos tube P 11 , pmos tube P 12 , pmos tube P 13 , pmos tube P 14 , pmos tube P 15 , pmos tube P 15 , pmos tube Tube P 16 , pmos tube P 17 and pmos tube P 18 , and 8 nmos tubes are recorded as nmos tube N 11 , nmos tube N 12 , nmos tube N 13 , nmos tube N 14 , nmos tube N 15 , nmos tube N 16 , nmos tube N 17 and nmos tube N 18 ; the sources of the pmos tubes P 11 , P 12 , P 13 , and P 14 and the substrates of the pmos tubes P 11 to P 18 are all connected to VDD, and the nmos tubes The sources of the tubes N 14 and N 18 and the substrates of the nmos tubes N 11 -N 18 are connected to VSS; the drains of the pmos tubes P 11 -P 14 are connected to the pmos tubes P 15 -P 18 The sources are all connected, the drains of the pmos tubes P15- P18 are connected to the drains of the nmos tubes N11 and N15 ; the source of the nmos tube N11 is connected to the nmos tube N12 The drain of the nmos tube N12 is connected to the drain of the nmos tube N13 , the source of the nmos tube N13 is connected to the drain of the nmos tube N14, the nmos The source of the tube N 15 is connected to the drain of the nmos tube N 16 , the source of the nmos tube N 16 is connected to the drain of the nmos tube N 17 , the source of the nmos tube N 17 is connected to the drain of the nmos tube N 17 The drain of the nmos transistor N18 is connected; the gate of the pmos transistor P11 is connected to the gate of the nmos transistor N15, and the gate of the pmos transistor P12 is connected to the gate of the nmos transistor N16 The grid of the pmos transistor P 13 is connected to the grid of the nmos transistor N 17 , the grid of the pmos transistor P 14 is connected to the grid of the nmos transistor N 18 , and the grid of the pmos transistor P 15 The grid of the pmos transistor N11 is connected to the grid of the nmos transistor N11, the grid of the pmos transistor P16 is connected to the grid of the nmos transistor N12, the grid of the pmos transistor P17 is connected to the nmos transistor The gate of the N 13 is connected, and the gate of the pmos transistor P 18 is connected with the gate of the nmos transistor N 14 .

与现有技术相比,本发明的有益效果是:Compared with prior art, the beneficial effect of the present invention is:

本发明的LFSR计数器能够准确地实现对光子飞行时间的测量,电路结构简单优化。由于对内部D触发器结构的优化,本发明中的D触发器采用的是双边沿触发的动态C2MOS结构,用24个晶体管实现,而传统设计中静态单边沿D触发器需要26个晶体管实现,两者相比,本发明采用的晶体管数更少,电路面积更小,而且双边沿触发方式还能够将时钟频率降低一半,因此既减小了电路面积,又同时降低了时钟频率。另外,本发明中采用一个nmos置位开关,避免了对反馈网络组合逻辑的繁琐设计,使得反馈网络仅用一个四输入异或门实现,极大地减小了电路面积,同时避免了死循环现象的发生。The LFSR counter of the invention can accurately realize the measurement of the photon flight time, and the circuit structure is simple and optimized. Due to the optimization of the internal D flip-flop structure, the D flip-flop in the present invention adopts a dynamic C 2 MOS structure triggered by double edges, which is realized with 24 transistors, while the static single-edge D flip-flop in the traditional design needs 26 transistors Realization, compared with the two, the present invention uses fewer transistors and smaller circuit area, and the double-edge trigger mode can also reduce the clock frequency by half, thus reducing the circuit area and simultaneously reducing the clock frequency. In addition, an nmos set switch is adopted in the present invention, which avoids the cumbersome design of the combinational logic of the feedback network, so that the feedback network is only realized by a four-input XOR gate, which greatly reduces the circuit area and avoids the dead loop phenomenon at the same time happened.

附图说明Description of drawings

图1是传统线性反馈移位寄存器(LFSR)示意图;Fig. 1 is a schematic diagram of a traditional linear feedback shift register (LFSR);

图2是本发明的四输入异或门电路图;Fig. 2 is four input XOR gate circuit diagrams of the present invention;

图3是本发明的双边沿触发C2MOS结构电路图;Fig. 3 is the circuit diagram of double-edge trigger C2 MOS structure of the present invention;

图4是本发明的线性反馈移位寄存器(LFSR)示意图;Fig. 4 is a schematic diagram of a linear feedback shift register (LFSR) of the present invention;

具体实施方式detailed description

下面结合附图和具体实施例对本发明技术方案作进一步详细描述,所描述的具体实施例仅对本发明进行解释说明,并不用以限制本发明。The technical solution of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments, and the described specific embodiments are only for explaining the present invention, and are not intended to limit the present invention.

如图4所示是本发明提出的一种用于测量光子飞行时间的LFSR计数器,包括14个相同的双边沿C2MOS触发器,1个四输入的异或门XNOR和1个nmos置位开关。As shown in Figure 4, it is a kind of LFSR counter for measuring photon flight time proposed by the present invention, including 14 identical double-edge C 2 MOS flip-flops, 1 four-input exclusive OR gate XNOR and 1 nmos setting switch.

14个相同的双边沿C2MOS触发器分别记作双边沿C2MOS触发器C0、双边沿C2MOS触发器C1、双边沿C2MOS触发器C2、双边沿C2MOS触发器C3、双边沿C2MOS触发器C4、双边沿C2MOS触发器C5、双边沿C2MOS触发器C6、双边沿C2MOS触发器C7、双边沿C2MOS触发器C8、双边沿C2MOS触发器C9、双边沿C2MOS触发器C10、双边沿C2MOS触发器C11、双边沿C2MOS触发器C12和双边沿C2MOS触发器C13The 14 identical double-edge C 2 MOS flip-flops are respectively recorded as double-edge C 2 MOS flip-flop C 0 , double-edge C 2 MOS flip-flop C 1 , double-edge C 2 MOS flip-flop C 2 , and double-edge C 2 MOS trigger C 3 , double edge C 2 MOS flip flop C 4 , double edge C 2 MOS flip flop C 5 , double edge C 2 MOS flip flop C 6 , double edge C 2 MOS flip flop C 7 , double edge C 2 MOS trigger C 8 , double-edge C 2 MOS flip-flop C 9 , double-edge C 2 MOS flip-flop C 10 , double-edge C 2 MOS flip-flop C 11 , double-edge C 2 MOS flip-flop C 12 and double-edge C 2 MOS trigger device C 13 .

所述nmos置位开关的源极是输入控制端口VS,所述nmos置位开关的栅极是输入控制端口VG,所述nmos置位开关的衬底与地VSS相连;所述nmos置位开关的漏极与所述双边沿C2MOS触发器C0的输入端D相连。The source of the nmos setting switch is the input control port VS, the gate of the nmos setting switch is the input control port VG, and the substrate of the nmos setting switch is connected to the ground VSS; the nmos setting switch The drain of is connected to the input terminal D of the double-edge C 2 MOS flip-flop C 0 .

所述双边沿C2MOS触发器C0的输出端Q与所述双边沿C2MOS触发器C1的输入端D相连,所述双边沿C2MOS触发器C1的输出端Q与所述双边沿C2MOS触发器C2的输入端D相连,所述双边沿C2MOS触发器C2的输出端Q与所述双边沿C2MOS触发器C3的输入端D相连,所述双边沿C2MOS触发器C3的输出端Q与所述双边沿C2MOS触发器C4的输入端D相连,所述双边沿C2MOS触发器C4的输出端Q与所述双边沿C2MOS触发器C5的输入端D相连,所述双边沿C2MOS触发器C5的输出端Q与所述双边沿C2MOS触发器C6的输入端D相连,所述双边沿C2MOS触发器C6的输出端Q与所述双边沿C2MOS触发器C7的输入端D相连,所述双边沿C2MOS触发器C7的输出端Q与所述双边沿C2MOS触发器C8的输入端D相连,所述双边沿C2MOS触发器C8的输出端Q与所述双边沿C2MOS触发器C9的输入端D相连,所述双边沿C2MOS触发器C9的输出端Q与所述双边沿C2MOS触发器C10的输入端D相连,所述双边沿C2MOS触发器C10的输出端Q与所述双边沿C2MOS触发器C11的输入端D相连,所述双边沿C2MOS触发器C11的输出端Q与所述双边沿C2MOS触发器C12的输入端D相连,所述双边沿C2MOS触发器C12的输出端Q与所述双边沿C2MOS触发器C13的输入端D相连。The output Q of the double -edge C2 MOS flip-flop C0 is connected to the input D of the double-edge C2 MOS flip-flop C1 , and the output Q of the double-edge C2 MOS flip-flop C1 is connected to the The input terminal D of the double -edge C2 MOS flip-flop C2 is connected, the output Q of the double -edge C2 MOS flip-flop C2 is connected with the input D of the double-edge C2 MOS flip-flop C3, so The output Q of the double -edge C2 MOS flip-flop C3 is connected to the input D of the double-edge C2 MOS flip-flop C4 , and the output Q of the double-edge C2 MOS flip-flop C4 is connected to the The input terminal D of the double -edge C2 MOS flip-flop C5 is connected, the output Q of the double-edge C2 MOS flip-flop C5 is connected with the input D of the double-edge C2 MOS flip-flop C6 , and the The output Q of the double -edge C2 MOS flip - flop C6 is connected to the input D of the double-edge C2 MOS flip - flop C7, and the output Q of the double-edge C2 MOS flip-flop C7 is connected to the double-edge C2 MOS flip-flop C7. The input terminal D of the edge C2 MOS flip-flop C8 is connected, the output Q of the double -edge C2 MOS flip-flop C8 is connected with the input D of the double-edge C2 MOS flip-flop C9 , and the double-edge The output terminal Q of the edge C 2 MOS flip-flop C 9 is connected to the input terminal D of the double-edge C 2 MOS flip-flop C 10 , and the output Q of the double-edge C 2 MOS flip-flop C 10 is connected to the double-edge The input terminal D of the C 2 MOS flip-flop C 11 is connected, the output Q of the double -edge C MOS flip - flop C 11 is connected with the input D of the double-edge C MOS flip-flop C 12 , and the double-edge The output terminal Q of the C 2 MOS flip-flop C 12 is connected to the input terminal D of the double-edge C 2 MOS flip-flop C 13 .

所述双边沿C2MOS触发器C13的输出端与所述异或门XNOR的输入端A相连,所述双边沿C2MOS触发器C12的输出端与所述异或门XNOR的输入端B相连,所述双边沿C2MOS触发器C10的输出端与所述异或门XNOR的输入端C相连,所述双边沿C2MOS触发器C8的输出端与所述异或门XNOR的输入端D相连;所述异或门XNOR的输出端Q与所述双边沿C2MOS触发器C0的输入端D相连。The output end of the double-edge C 2 MOS flip-flop C 13 is connected to the input A of the exclusive OR gate XNOR, and the output end of the double-edge C 2 MOS flip-flop C 12 is connected to the input of the exclusive OR gate XNOR Terminal B is connected, the output terminal of the double-edge C 2 MOS flip-flop C 10 is connected to the input terminal C of the exclusive OR gate XNOR, and the output terminal of the double-edge C 2 MOS flip-flop C 8 is connected to the exclusive-or gate XNOR The input terminal D of the gate XNOR is connected; the output terminal Q of the XNOR gate is connected with the input terminal D of the double-edge C 2 MOS flip-flop C 0 .

14个双边沿C2MOS触发器C0~C13的输入端CLK均相连在一起;14个双边沿C2MOS触发器C0~C13的输入端CLKN均相连在一起。The input terminals CLK of the 14 double-edge C 2 MOS flip-flops C 0 -C 13 are all connected together; the input terminals CLKN of the 14 double-edge C 2 MOS flip-flops C 0 -C 13 are all connected together.

每个双边沿C2MOS触发器的内部结构及各器件之间的连接关系如下:The internal structure of each double-edge C 2 MOS flip-flop and the connection relationship between each device are as follows:

如图3所示,每个双边沿C2MOS触发器包括7个pmos管和7个nmos管,7个pmos管分别记作pmos管P1、pmos管P2、pmos管P3、pmos管P4、pmos管P5、pmos管P6和pmos管P7;7个nmos管分别记作nmos管N1、nmos管N2、nmos管N3、nmos管N4、nmos管N5、nmos管N6和nmos管N7As shown in Figure 3, each double-edge C 2 MOS flip-flop includes 7 pmos tubes and 7 nmos tubes, and the 7 pmos tubes are respectively recorded as pmos tube P 1 , pmos tube P 2 , pmos tube P 3 , and pmos tube P 4 , pmos tube P 5 , pmos tube P 6 and pmos tube P 7 ; the seven nmos tubes are recorded as nmos tube N 1 , nmos tube N 2 , nmos tube N 3 , nmos tube N 4 , nmos tube N 5 , nmos tube N 6 and nmos tube N 7 .

所述pmos管P1、pmos管P2和pmos管P6的源极均与VDD相连;所述nmos管N3、nmos管N4和nmos管N7的源极均与VSS相连;所述pmos管P1、pmos管P2、pmos管P3、pmos管P4、pmos管P6和pmos管P7的衬底均与VDD相连;所述nmos管N1、nmos管N2、nmos管N3、nmos管N4、nmos管N6和nmos管N7的衬底均与VSS相连;所述pmos管P1的漏极、所述pmos管P3的源极和所述pmos管P5的源极均相连,所述pmos管P2的漏极与所述pmos管P4的源极相连,所述pmos管P3的漏极与所述nmos管N1的漏极相连,所述pmos管P4的漏极与所述nmos管N2的漏极相连,所述nmos管N1的源极、所述nmos管N3的漏极和所述nmos管N5的源极均相连,所述nmos管N2的源极与所述nmos管N4的漏极相连;所述pmos管P5的衬底与其源极相连,所述pmos管P5的漏极与所述nmos管N5的漏极相连,所述nmos管N5的衬底与其源极相连;所述pmos管P6的漏极与所述pmos管P7的源极相连,所述pmos管P7的漏极与所述nmos管N6的漏极相连,所述nmos管N6的源极与所述nmos管N7的漏极相连;所述pmos管P3的漏极与所述pmos管P2的栅极、所述nmos管N4的栅极相连,所述pmos管P5的漏极与所述pmos管P6的栅极、所述nmos管N7的栅极相连,所述pmos管P4的漏极、所述nmos管N2的漏极、所述pmos管P7的漏极和所述nmos管N6的漏极均相连,所述pmos管P1的栅极和所述nmos管N3的栅极相连;所述pmos管P3、pmos管P7的栅极、所述nmos管N2、nmos管N5的栅极均相连;所述pmos管P4、pmos管P5的栅极、所述nmos管N1、nmos管N6的栅极均相连;The sources of the pmos tube P 1 , pmos tube P 2 and pmos tube P 6 are all connected to VDD; the sources of the nmos tube N 3 , nmos tube N 4 and nmos tube N 7 are all connected to VSS; the The substrates of pmos tube P 1 , pmos tube P 2 , pmos tube P 3 , pmos tube P 4 , pmos tube P 6 and pmos tube P 7 are all connected to VDD; the nmos tube N 1 , nmos tube N 2 , nmos tube The substrates of tube N 3 , nmos tube N 4 , nmos tube N 6 and nmos tube N 7 are all connected to VSS; the drain of the pmos tube P 1 , the source of the pmos tube P 3 and the pmos tube The sources of P5 are all connected, the drain of the pmos transistor P2 is connected with the source of the pmos transistor P4, the drain of the pmos transistor P3 is connected with the drain of the nmos transistor N1, The drain of the pmos tube P4 is connected to the drain of the nmos tube N2 , the source of the nmos tube N1, the drain of the nmos tube N3 and the source of the nmos tube N5 are connected, the source of the nmos tube N2 is connected to the drain of the nmos tube N4 ; the substrate of the pmos tube P5 is connected to its source, and the drain of the pmos tube P5 is connected to the drain of the nmos tube N4 The drain of the nmos tube N5 is connected, the substrate of the nmos tube N5 is connected to its source ; the drain of the pmos tube P6 is connected to the source of the pmos tube P7, and the pmos tube P7 The drain of the nmos tube N6 is connected to the drain of the nmos tube N6 , the source of the nmos tube N6 is connected to the drain of the nmos tube N7 ; the drain of the pmos tube P3 is connected to the pmos tube The gate of P2 is connected to the gate of the nmos transistor N4 , the drain of the pmos transistor P5 is connected to the gate of the pmos transistor P6 and the gate of the nmos transistor N7, the The drain of the pmos transistor P4, the drain of the nmos transistor N2 , the drain of the pmos transistor P7 and the drain of the nmos transistor N6 are all connected, and the gate of the pmos transistor P1 and The gates of the nmos transistor N3 are connected; the gates of the pmos transistor P3 and the pmos transistor P7, the gates of the nmos transistor N2 and the nmos transistor N5 are all connected; the pmos transistors P4, The grid of the pmos transistor P5 , the grids of the nmos transistor N1 and the nmos transistor N6 are all connected;

如图2所示,所述异或门XNOR的内部结构及各器件之间的连接关系如下:As shown in Figure 2, the internal structure of the exclusive OR gate XNOR and the connection relationship between each device are as follows:

所述异或门XNOR包括8个pmos管和8个nmos管,8个pmos管分别记作pmos管P11、pmos管P12、pmos管P13、pmos管P14、pmos管P15、pmos管P16、pmos管P17和pmos管P18,8个nmos管分别记作nmos管N11、nmos管N12、nmos管N13、nmos管N14、nmos管N15、nmos管N16、nmos管N17和nmos管N18The exclusive OR gate XNOR includes 8 pmos tubes and 8 nmos tubes, and the 8 pmos tubes are respectively recorded as pmos tube P 11 , pmos tube P 12 , pmos tube P 13 , pmos tube P 14 , pmos tube P 15 , pmos tube P 15 , pmos tube Tube P 16 , pmos tube P 17 and pmos tube P 18 , and 8 nmos tubes are recorded as nmos tube N 11 , nmos tube N 12 , nmos tube N 13 , nmos tube N 14 , nmos tube N 15 , nmos tube N 16 , nmos tube N 17 and nmos tube N 18 .

所述pmos管P11、P12、P13、P14的源极和所述pmos管P11~P18的衬底均与VDD相连,所述nmos管N14、N18的源极和所述nmos管N11~N18的衬底均与VSS相连;所述pmos管P11~P14的漏极与所述pmos管P15~P18的源极均相连,所述pmos管的P15~P18的漏极与所述nmos管N11、N15的漏极均相连;所述nmos管N11的源极与所述nmos管N12的漏极相连,所述nmos管N12的源极与所述nmos管N13的漏极相连,所述nmos管N13的源极与所述nmos管N14的漏极相连,所述nmos管N15的源极与所述nmos管N16的漏极相连,所述nmos管N16的源极与所述nmos管N17的漏极相连,所述nmos管N17的源极与所述nmos管N18的漏极相连;所述pmos管P11的栅极与所述nmos管N15的栅极相连,所述pmos管P12的栅极与所述nmos管N16的栅极相连,所述pmos管P13的栅极与所述nmos管N17的栅极相连,所述pmos管P14的栅极与所述nmos管N18的栅极相连,所述pmos管P15的栅极与所述nmos管N11的栅极相连,所述pmos管P16的栅极与所述nmos管N12的栅极相连,所述pmos管P17的栅极与所述nmos管N13的栅极相连,所述pmos管P18的栅极与所述nmos管N14的栅极相连。The sources of the pmos transistors P 11 , P 12 , P 13 , and P 14 and the substrates of the pmos transistors P 11 -P 18 are all connected to VDD, and the sources of the nmos transistors N 14 and N 18 are connected to the The substrates of the nmos transistors N 11 to N 18 are all connected to VSS; the drains of the pmos transistors P 11 to P 14 are connected to the sources of the pmos transistors P 15 to P 18 , and the P of the pmos transistors P The drains of 15 to P 18 are connected to the drains of the nmos tubes N 11 and N 15 ; the source of the nmos tube N 11 is connected to the drain of the nmos tube N 12 , and the nmos tube N 12 The source of the nmos tube N13 is connected to the drain of the nmos tube N13 , the source of the nmos tube N13 is connected to the drain of the nmos tube N14 , the source of the nmos tube N15 is connected to the nmos tube The drain of N 16 is connected, the source of the nmos tube N 16 is connected to the drain of the nmos tube N 17 , the source of the nmos tube N 17 is connected to the drain of the nmos tube N 18 ; The grid of the pmos transistor P11 is connected to the grid of the nmos transistor N15, the grid of the pmos transistor P12 is connected to the grid of the nmos transistor N16, and the grid of the pmos transistor P13 It is connected to the gate of the nmos transistor N17, the gate of the pmos transistor P14 is connected to the gate of the nmos transistor N18, the gate of the pmos transistor P15 is connected to the gate of the nmos transistor N11 The grid of the pmos transistor P16 is connected to the grid of the nmos transistor N12, the grid of the pmos transistor P17 is connected to the grid of the nmos transistor N13, and the grid of the pmos transistor N13 is connected. The gate of P 18 is connected to the gate of the nmos transistor N 14 .

本发明用于测量光子飞行时间的LFSR计数器的工作过程如下:The working process of the LFSR counter that the present invention is used to measure photon time-of-flight is as follows:

电路开始工作前,先由nmos置位开关将C2MOS触发器C0的输入端D输入高电平“1”。当计时开始时,将主时钟信号输入电路的CLK端,并将由主时钟信号经反相器反向后的时钟信号输入电路的CLKN端。计时过程中,C2MOS触发器C0输入端D的高电平“1”会随着CLK信号的第一次上升沿将“1”传送到C2MOS触发器C1的输入端D;在第一个CLK信号的下降沿来临时,“1”被传送至C2MOS触发器C2的输入端D;在第二个CLK信号的上升沿来临时,“1”被传送至C2MOS触发器C3的输入端D;在第二个CLK信号的下降沿来临时,“1”被传送至C2MOS触发器C4的输入端D;以此类推,直至第七个CLK信号的下升沿来临时,“1”被传送至异或门XNOR的输入端A。此时,C2MOS触发器C12输出端Q的“1”、C2MOS触发器C10输出端Q的“1”和C2MOS触发器C8输出端Q的“1”分别输入到异或门XNOR的输入端B、C和D中,经过异或运算,输出“0”反馈至C2MOS触发器C0的输入端D中。此后就按照CLK信号的上升沿和下降沿的到来将“0”或“1”依次传送给下一个C2MOS结构,并由异或门XNOR将运算后的数值反馈给C2MOS触发器C0的输入端D。只要时钟不停止,计数就一直持续下去。Before the circuit starts to work, the input terminal D of the C 2 MOS flip-flop C 0 is input with a high level "1" by the nmos setting switch. When timing starts, the main clock signal is input to the CLK terminal of the circuit, and the clock signal reversed by the main clock signal is input to the CLKN terminal of the circuit. During the timing process, the high level "1" of the input terminal D of the C 2 MOS flip-flop C 0 will transmit "1" to the input terminal D of the C 2 MOS flip-flop C 1 along with the first rising edge of the CLK signal; When the falling edge of the first CLK signal comes, "1" is sent to the input terminal D of C 2 MOS flip-flop C 2 ; when the rising edge of the second CLK signal comes, "1" is sent to C 2 The input terminal D of MOS flip-flop C 3 ; when the falling edge of the second CLK signal comes, "1" is transmitted to the input terminal D of C 2 MOS flip-flop C 4 ; and so on until the seventh CLK signal When the falling edge comes, "1" is sent to the input A of the exclusive OR gate XNOR. At this time, the "1" of the output terminal Q of the C 2 MOS flip-flop C 12 , the "1" of the output terminal Q of the C 2 MOS flip-flop C 10 and the "1" of the output terminal Q of the C 2 MOS flip-flop C 8 are respectively input to In the input terminals B, C and D of the exclusive OR gate XNOR, after an exclusive OR operation, the output "0" is fed back to the input terminal D of the C 2 MOS flip-flop C 0 . Afterwards, "0" or "1" is sequentially transmitted to the next C 2 MOS structure according to the arrival of the rising and falling edges of the CLK signal, and the calculated value is fed back to the C 2 MOS flip-flop C by the exclusive OR gate XNOR 0 on input D. The counting continues as long as the clock is not stopped.

本发明中,在电源电压为1.8V、时钟频率在1GHz以内时均能够实现对光子飞行时间的准确测量。In the present invention, when the power supply voltage is 1.8V and the clock frequency is within 1GHz, accurate measurement of photon flight time can be realized.

尽管上面结合图对本发明进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨的情况下,还可以作出很多变形,这些均属于本发明的保护之内。Although the present invention has been described above in conjunction with the drawings, the present invention is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative, rather than restrictive. Under the inspiration, many modifications can be made without departing from the gist of the present invention, and these all belong to the protection of the present invention.

Claims (1)

1.一种用于测量光子飞行时间的LFSR计数器,其特征在于,包括14个相同的双边沿C2MOS触发器,1个四输入的异或门XNOR和1个nmos置位开关;1. A kind of LFSR counter that is used to measure photon flight time is characterized in that, comprises 14 identical double-edge C 2 MOS flip-flops, 1 four-input exclusive OR gate XNOR and 1 nmos setting switch; 14个相同的双边沿C2MOS触发器分别记作双边沿C2MOS触发器C0、双边沿C2MOS触发器C1、双边沿C2MOS触发器C2、双边沿C2MOS触发器C3、双边沿C2MOS触发器C4、双边沿C2MOS触发器C5、双边沿C2MOS触发器C6、双边沿C2MOS触发器C7、双边沿C2MOS触发器C8、双边沿C2MOS触发器C9、双边沿C2MOS触发器C10、双边沿C2MOS触发器C11、双边沿C2MOS触发器C12和双边沿C2MOS触发器C13The 14 identical double-edge C 2 MOS flip-flops are respectively recorded as double-edge C 2 MOS flip-flop C 0 , double-edge C 2 MOS flip-flop C 1 , double-edge C 2 MOS flip-flop C 2 , and double-edge C 2 MOS trigger C 3 , double edge C 2 MOS flip flop C 4 , double edge C 2 MOS flip flop C 5 , double edge C 2 MOS flip flop C 6 , double edge C 2 MOS flip flop C 7 , double edge C 2 MOS trigger C 8 , double-edge C 2 MOS flip-flop C 9 , double-edge C 2 MOS flip-flop C 10 , double-edge C 2 MOS flip-flop C 11 , double-edge C 2 MOS flip-flop C 12 and double-edge C 2 MOS trigger Device C 13 ; 所述nmos置位开关的源极是输入控制端口VS,所述nmos置位开关的栅极是输入控制端口VG,所述nmos置位开关的衬底与地VSS相连;所述nmos置位开关的漏极与所述双边沿C2MOS触发器C0的输入端D相连;The source of the nmos setting switch is the input control port VS, the gate of the nmos setting switch is the input control port VG, and the substrate of the nmos setting switch is connected to the ground VSS; the nmos setting switch The drain is connected to the input terminal D of the double-edge C 2 MOS flip-flop C 0 ; 所述双边沿C2MOS触发器C0的输出端Q与所述双边沿C2MOS触发器C1的输入端D相连,所述双边沿C2MOS触发器C1的输出端Q与所述双边沿C2MOS触发器C2的输入端D相连,所述双边沿C2MOS触发器C2的输出端Q与所述双边沿C2MOS触发器C3的输入端D相连,所述双边沿C2MOS触发器C3的输出端Q与所述双边沿C2MOS触发器C4的输入端D相连,所述双边沿C2MOS触发器C4的输出端Q与所述双边沿C2MOS触发器C5的输入端D相连,所述双边沿C2MOS触发器C5的输出端Q与所述双边沿C2MOS触发器C6的输入端D相连,所述双边沿C2MOS触发器C6的输出端Q与所述双边沿C2MOS触发器C7的输入端D相连,所述双边沿C2MOS触发器C7的输出端Q与所述双边沿C2MOS触发器C8的输入端D相连,所述双边沿C2MOS触发器C8的输出端Q与所述双边沿C2MOS触发器C9的输入端D相连,所述双边沿C2MOS触发器C9的输出端Q与所述双边沿C2MOS触发器C10的输入端D相连,所述双边沿C2MOS触发器C10的输出端Q与所述双边沿C2MOS触发器C11的输入端D相连,所述双边沿C2MOS触发器C11的输出端Q与所述双边沿C2MOS触发器C12的输入端D相连,所述双边沿C2MOS触发器C12的输出端Q与所述双边沿C2MOS触发器C13的输入端D相连;The output Q of the double -edge C2 MOS flip-flop C0 is connected to the input D of the double-edge C2 MOS flip-flop C1 , and the output Q of the double-edge C2 MOS flip-flop C1 is connected to the The input terminal D of the double -edge C2 MOS flip-flop C2 is connected, the output Q of the double -edge C2 MOS flip-flop C2 is connected with the input D of the double-edge C2 MOS flip-flop C3, so The output Q of the double -edge C2 MOS flip-flop C3 is connected to the input D of the double-edge C2 MOS flip-flop C4 , and the output Q of the double-edge C2 MOS flip-flop C4 is connected to the The input terminal D of the double -edge C2 MOS flip-flop C5 is connected, the output Q of the double-edge C2 MOS flip-flop C5 is connected with the input D of the double-edge C2 MOS flip-flop C6 , and the The output Q of the double -edge C2 MOS flip - flop C6 is connected to the input D of the double-edge C2 MOS flip - flop C7, and the output Q of the double-edge C2 MOS flip-flop C7 is connected to the double-edge C2 MOS flip-flop C7. The input terminal D of the edge C2 MOS flip-flop C8 is connected, the output Q of the double -edge C2 MOS flip-flop C8 is connected with the input D of the double-edge C2 MOS flip-flop C9 , and the double-edge The output terminal Q of the edge C 2 MOS flip-flop C 9 is connected to the input terminal D of the double-edge C 2 MOS flip-flop C 10 , and the output Q of the double-edge C 2 MOS flip-flop C 10 is connected to the double-edge The input terminal D of the C 2 MOS flip-flop C 11 is connected, the output Q of the double -edge C MOS flip - flop C 11 is connected with the input D of the double-edge C MOS flip-flop C 12 , and the double-edge The output Q of the C 2 MOS flip-flop C 12 is connected to the input D of the double -edge C MOS flip-flop C 13 ; 所述双边沿C2MOS触发器C13的输出端与所述异或门XNOR的输入端A相连,所述双边沿C2MOS触发器C12的输出端与所述异或门XNOR的输入端B相连,所述双边沿C2MOS触发器C10的输出端与所述异或门XNOR的输入端C相连,所述双边沿C2MOS触发器C8的输出端与所述异或门XNOR的输入端D相连;所述异或门XNOR的输出端Q与所述双边沿C2MOS触发器C0的输入端D相连;The output end of the double-edge C 2 MOS flip-flop C 13 is connected to the input A of the exclusive OR gate XNOR, and the output end of the double-edge C 2 MOS flip-flop C 12 is connected to the input of the exclusive OR gate XNOR Terminal B is connected, the output terminal of the double-edge C 2 MOS flip-flop C 10 is connected to the input terminal C of the exclusive OR gate XNOR, and the output terminal of the double-edge C 2 MOS flip-flop C 8 is connected to the exclusive-or gate XNOR The input terminal D of the gate XNOR is connected; the output terminal Q of the exclusive OR gate XNOR is connected with the input terminal D of the double-edge C2 MOS flip-flop C0 ; 14个双边沿C2MOS触发器C0~C13的输入端CLK均相连在一起;14个双边沿C2MOS触发器C0~C13的输入端CLKN均相连在一起;The input terminals CLK of the 14 double-edge C 2 MOS flip-flops C 0 -C 13 are all connected together; the input terminals CLKN of the 14 double-edge C 2 MOS flip-flops C 0 -C 13 are all connected together; 每个双边沿C2MOS触发器的内部结构及各器件之间的连接关系如下:The internal structure of each double-edge C 2 MOS flip-flop and the connection relationship between each device are as follows: 每个双边沿C2MOS触发器包括7个pmos管和7个nmos管,7个pmos管分别记作pmos管P1、pmos管P2、pmos管P3、pmos管P4、pmos管P5、pmos管P6和pmos管P7;7个nmos管分别记作nmos管N1、nmos管N2、nmos管N3、nmos管N4、nmos管N5、nmos管N6和nmos管N7Each double-edge C 2 MOS flip-flop includes 7 pmos tubes and 7 nmos tubes, and the 7 pmos tubes are respectively recorded as pmos tube P 1 , pmos tube P 2 , pmos tube P 3 , pmos tube P 4 , and pmos tube P 5. Pmos tube P 6 and pmos tube P 7 ; 7 nmos tubes are recorded as nmos tube N 1 , nmos tube N 2 , nmos tube N 3 , nmos tube N 4 , nmos tube N 5 , nmos tube N 6 and nmos tube Tube N7 ; 所述pmos管P1、pmos管P2和pmos管P6的源极均与VDD相连;所述nmos管N3、nmos管N4和nmos管N7的源极均与VSS相连;所述pmos管P1、pmos管P2、pmos管P3、pmos管P4、pmos管P6和pmos管P7的衬底均与VDD相连;所述nmos管N1、nmos管N2、nmos管N3、nmos管N4、nmos管N6和nmos管N7的衬底均与VSS相连;所述pmos管P1的漏极、所述pmos管P3的源极和所述pmos管P5的源极均相连,所述pmos管P2的漏极与所述pmos管P4的源极相连,所述pmos管P3的漏极与所述nmos管N1的漏极相连,所述pmos管P4的漏极与所述nmos管N2的漏极相连,所述nmos管N1的源极、所述nmos管N3的漏极和所述nmos管N5的源极均相连,所述nmos管N2的源极与所述nmos管N4的漏极相连;所述pmos管P5的衬底与其源极相连,所述pmos管P5的漏极与所述nmos管N5的漏极相连,所述nmos管N5的衬底与其源极相连;所述pmos管P6的漏极与所述pmos管P7的源极相连,所述pmos管P7的漏极与所述nmos管N6的漏极相连,所述nmos管N6的源极与所述nmos管N7的漏极相连;所述pmos管P3的漏极与所述pmos管P2的栅极、所述nmos管N4的栅极相连,所述pmos管P5的漏极与所述pmos管P6的栅极、所述nmos管N7的栅极相连,所述pmos管P4的漏极、所述nmos管N2的漏极、所述pmos管P7的漏极和所述nmos管N6的漏极均相连,所述pmos管P1的栅极和所述nmos管N3的栅极相连;所述pmos管P3、pmos管P7的栅极、所述nmos管N2、nmos管N5的栅极均相连;所述pmos管P4、pmos管P5的栅极、所述nmos管N1、nmos管N6的栅极均相连;The sources of the pmos tube P 1 , pmos tube P 2 and pmos tube P 6 are all connected to VDD; the sources of the nmos tube N 3 , nmos tube N 4 and nmos tube N 7 are all connected to VSS; the The substrates of pmos tube P 1 , pmos tube P 2 , pmos tube P 3 , pmos tube P 4 , pmos tube P 6 and pmos tube P 7 are all connected to VDD; the nmos tube N 1 , nmos tube N 2 , nmos tube The substrates of tube N 3 , nmos tube N 4 , nmos tube N 6 and nmos tube N 7 are all connected to VSS; the drain of the pmos tube P 1 , the source of the pmos tube P 3 and the pmos tube The sources of P5 are all connected, the drain of the pmos transistor P2 is connected with the source of the pmos transistor P4, the drain of the pmos transistor P3 is connected with the drain of the nmos transistor N1, The drain of the pmos tube P4 is connected to the drain of the nmos tube N2 , the source of the nmos tube N1, the drain of the nmos tube N3 and the source of the nmos tube N5 are connected, the source of the nmos tube N2 is connected to the drain of the nmos tube N4 ; the substrate of the pmos tube P5 is connected to its source, and the drain of the pmos tube P5 is connected to the drain of the nmos tube N4 The drain of the nmos tube N5 is connected, the substrate of the nmos tube N5 is connected to its source ; the drain of the pmos tube P6 is connected to the source of the pmos tube P7, and the pmos tube P7 The drain of the nmos tube N6 is connected to the drain of the nmos tube N6 , the source of the nmos tube N6 is connected to the drain of the nmos tube N7 ; the drain of the pmos tube P3 is connected to the pmos tube The gate of P2 is connected to the gate of the nmos transistor N4 , the drain of the pmos transistor P5 is connected to the gate of the pmos transistor P6 and the gate of the nmos transistor N7, the The drain of the pmos transistor P4, the drain of the nmos transistor N2 , the drain of the pmos transistor P7 and the drain of the nmos transistor N6 are all connected, and the gate of the pmos transistor P1 and The gates of the nmos transistor N3 are connected; the gates of the pmos transistor P3 and the pmos transistor P7, the gates of the nmos transistor N2 and the nmos transistor N5 are all connected; the pmos transistors P4, The grid of the pmos transistor P5 , the grids of the nmos transistor N1 and the nmos transistor N6 are all connected; 所述异或门XNOR的内部结构及各器件之间的连接关系如下:The internal structure of the exclusive OR gate XNOR and the connection relationship between each device are as follows: 所述异或门XNOR包括8个pmos管和8个nmos管,8个pmos管分别记作pmos管P11、pmos管P12、pmos管P13、pmos管P14、pmos管P15、pmos管P16、pmos管P17和pmos管P18,8个nmos管分别记作nmos管N11、nmos管N12、nmos管N13、nmos管N14、nmos管N15、nmos管N16、nmos管N17和nmos管N18The exclusive OR gate XNOR includes 8 pmos tubes and 8 nmos tubes, and the 8 pmos tubes are respectively recorded as pmos tube P 11 , pmos tube P 12 , pmos tube P 13 , pmos tube P 14 , pmos tube P 15 , pmos tube P 15 , pmos tube Tube P 16 , pmos tube P 17 and pmos tube P 18 , and 8 nmos tubes are recorded as nmos tube N 11 , nmos tube N 12 , nmos tube N 13 , nmos tube N 14 , nmos tube N 15 , nmos tube N 16 , nmos tube N 17 and nmos tube N 18 ; 所述pmos管P11、P12、P13、P14的源极和所述pmos管P11~P18的衬底均与VDD相连,所述nmos管N14、N18的源极和所述nmos管N11~N18的衬底均与VSS相连;所述pmos管P11~P14的漏极与所述pmos管P15~P18的源极均相连,所述pmos管的P15~P18的漏极与所述nmos管N11、N15的漏极均相连;所述nmos管N11的源极与所述nmos管N12的漏极相连,所述nmos管N12的源极与所述nmos管N13的漏极相连,所述nmos管N13的源极与所述nmos管N14的漏极相连,所述nmos管N15的源极与所述nmos管N16的漏极相连,所述nmos管N16的源极与所述nmos管N17的漏极相连,所述nmos管N17的源极与所述nmos管N18的漏极相连;所述pmos管P11的栅极与所述nmos管N15的栅极相连,所述pmos管P12的栅极与所述nmos管N16的栅极相连,所述pmos管P13的栅极与所述nmos管N17的栅极相连,所述pmos管P14的栅极与所述nmos管N18的栅极相连,所述pmos管P15的栅极与所述nmos管N11的栅极相连,所述pmos管P16的栅极与所述nmos管N12的栅极相连,所述pmos管P17的栅极与所述nmos管N13的栅极相连,所述pmos管P18的栅极与所述nmos管N14的栅极相连。The sources of the pmos transistors P 11 , P 12 , P 13 , and P 14 and the substrates of the pmos transistors P 11 -P 18 are all connected to VDD, and the sources of the nmos transistors N 14 and N 18 are connected to the The substrates of the nmos transistors N 11 to N 18 are all connected to VSS; the drains of the pmos transistors P 11 to P 14 are connected to the sources of the pmos transistors P 15 to P 18 , and the P of the pmos transistors P The drains of 15 to P 18 are connected to the drains of the nmos tubes N 11 and N 15 ; the source of the nmos tube N 11 is connected to the drain of the nmos tube N 12 , and the nmos tube N 12 The source of the nmos tube N13 is connected to the drain of the nmos tube N13 , the source of the nmos tube N13 is connected to the drain of the nmos tube N14 , the source of the nmos tube N15 is connected to the nmos tube The drain of N 16 is connected, the source of the nmos tube N 16 is connected to the drain of the nmos tube N 17 , the source of the nmos tube N 17 is connected to the drain of the nmos tube N 18 ; The grid of the pmos transistor P11 is connected to the grid of the nmos transistor N15, the grid of the pmos transistor P12 is connected to the grid of the nmos transistor N16, and the grid of the pmos transistor P13 It is connected to the gate of the nmos transistor N17, the gate of the pmos transistor P14 is connected to the gate of the nmos transistor N18, the gate of the pmos transistor P15 is connected to the gate of the nmos transistor N11 The grid of the pmos transistor P16 is connected to the grid of the nmos transistor N12, the grid of the pmos transistor P17 is connected to the grid of the nmos transistor N13, and the grid of the pmos transistor N13 is connected. The gate of P 18 is connected to the gate of the nmos transistor N 14 .
CN201610526986.5A 2016-07-06 2016-07-06 A kind of LFSR counter for measuring photon flight time Pending CN106226776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610526986.5A CN106226776A (en) 2016-07-06 2016-07-06 A kind of LFSR counter for measuring photon flight time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610526986.5A CN106226776A (en) 2016-07-06 2016-07-06 A kind of LFSR counter for measuring photon flight time

Publications (1)

Publication Number Publication Date
CN106226776A true CN106226776A (en) 2016-12-14

Family

ID=57519402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610526986.5A Pending CN106226776A (en) 2016-07-06 2016-07-06 A kind of LFSR counter for measuring photon flight time

Country Status (1)

Country Link
CN (1) CN106226776A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110462425A (en) * 2017-09-29 2019-11-15 索尼半导体解决方案公司 Time Measurement Devices and Time Measurement Units
CN112000511A (en) * 2020-07-28 2020-11-27 京微齐力(北京)科技有限公司 ECC circuit optimization method based on Hamming code
CN116320804A (en) * 2023-03-24 2023-06-23 北京领丰视芯科技有限责任公司 Lossless digital readout circuit, pixel-level hybrid analog-to-digital converter, and infrared imager

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558590A (en) * 2004-01-29 2004-12-29 海信集团有限公司 Reconfigurable linear feedback shifting register
CN102226947A (en) * 2011-04-02 2011-10-26 电子科技大学 A Controllable Test Vector Generator Based on Linear Feedback Shift Register
CN104681091A (en) * 2013-11-27 2015-06-03 中国人民解放军信息工程大学 Reconfigurable linear feedback shift register

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558590A (en) * 2004-01-29 2004-12-29 海信集团有限公司 Reconfigurable linear feedback shifting register
CN102226947A (en) * 2011-04-02 2011-10-26 电子科技大学 A Controllable Test Vector Generator Based on Linear Feedback Shift Register
CN104681091A (en) * 2013-11-27 2015-06-03 中国人民解放军信息工程大学 Reconfigurable linear feedback shift register

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨超: ""应用于流水线A/D转换器的数字校准算法及电路实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110462425A (en) * 2017-09-29 2019-11-15 索尼半导体解决方案公司 Time Measurement Devices and Time Measurement Units
CN112000511A (en) * 2020-07-28 2020-11-27 京微齐力(北京)科技有限公司 ECC circuit optimization method based on Hamming code
CN116320804A (en) * 2023-03-24 2023-06-23 北京领丰视芯科技有限责任公司 Lossless digital readout circuit, pixel-level hybrid analog-to-digital converter, and infrared imager

Similar Documents

Publication Publication Date Title
TWI719723B (en) System and method for time-of-flight sensing
CN110109085B (en) Low-power consumption wide-range array type photon timing reading circuit based on dual-mode switching
CN103472458B (en) Three-dimensional video laser radar system based on acousto-optic scanning
CN107271036B (en) The free-running operation single-photon detection system that high speed is quenched and restores
CN103148950A (en) Integrated gating active quenching/restoring circuit
Hu et al. A 32× 32-pixel flash LiDAR sensor with noise filtering for high-background noise applications
CN107449516B (en) A kind of the photon counting linear array reading circuit and method of self-adaptive detection mode
CN105181132B (en) A pixel circuit for three-dimensional imaging chip
EP3367131A1 (en) A higher pixel density histogram time of flight sensor
US20140070867A1 (en) Circuit for combining signals
CN106226776A (en) A kind of LFSR counter for measuring photon flight time
CN103780852A (en) Quenching and signal reading circuit applied to single-photon detector
CN106603051A (en) Quenching resetting circuit of single photon avalanche diode
Eshkoli et al. Characterization and Architecture of Monolithic N⁺ P-CMOS-SiPM Array for ToF Measurements
CN109374139A (en) A single photon time-of-flight detection circuit and measurement method
CN103116163B (en) Laser sense-and-response distance measuring device and control method
CN103528691B (en) The row strobe generation circuit of infrared focal plane array sensing circuit
CN111048540B (en) A gated pixel unit and 3D image sensor
CN202261580U (en) Two-dimensional and three-dimensional active image reading circuit of avalanche photo diode (APD) array
CN102710907B (en) Active imaging readout circuit working on linear mode APD (Avalanche Photo Diode) array
CN109031925B (en) A compact time-to-analog conversion circuit for single-photon detectors
CN108387906A (en) A kind of three-dimensional laser imaging system based on FPGA-TDC
CN113009455B (en) A method and system for improving the accuracy of pulsed laser ranging
CN108061885B (en) Implementation method of multi-channel laser fuse target feature identification signal processing circuit
CN103412474B (en) Range high-precision expanded circuit when TDC-GP2 based on FPGA surveys

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161214