WO2022087950A1 - Time-of-flight measurement circuit and control method and electronic apparatus thereof - Google Patents

Time-of-flight measurement circuit and control method and electronic apparatus thereof Download PDF

Info

Publication number
WO2022087950A1
WO2022087950A1 PCT/CN2020/124743 CN2020124743W WO2022087950A1 WO 2022087950 A1 WO2022087950 A1 WO 2022087950A1 CN 2020124743 W CN2020124743 W CN 2020124743W WO 2022087950 A1 WO2022087950 A1 WO 2022087950A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
pixel
column
row
buffer
Prior art date
Application number
PCT/CN2020/124743
Other languages
French (fr)
Chinese (zh)
Inventor
林奇青
范铨奇
杨富强
Original Assignee
深圳市汇顶科技股份有限公司
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 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to PCT/CN2020/124743 priority Critical patent/WO2022087950A1/en
Priority to CN202080054075.1A priority patent/CN114270214A/en
Publication of WO2022087950A1 publication Critical patent/WO2022087950A1/en

Links

Images

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/08Systems determining position data of a target for measuring distance only
    • G01S17/10Systems determining position data of a target for measuring distance only using transmission of interrupted, pulse-modulated waves
    • 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
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/483Details of pulse systems
    • G01S7/486Receivers
    • G01S7/4865Time delay measurement, e.g. time-of-flight measurement, time of arrival measurement or determining the exact position of a peak

Definitions

  • the present application relates to a time-of-flight measurement circuit, and more particularly, to a time-of-flight measurement circuit capable of obtaining internal delay information in a test mode, as well as a related control method and electronic device.
  • Time-of-flight measurement technology includes direct time-of-flight measurement technology and indirect time-of-flight measurement technology (also known as indirect time-of-flight measurement technology). and the time interval between the emitted light pulses, the time of flight of the light can be obtained, and then the depth information can be calculated from the measured time of flight.
  • the difficulty of direct time-of-flight measurement technology is that it needs to be able to distinguish very fine time differences. For example, if a ranging accuracy of 1.5 cm is required, the resolution needs to be 10 picoseconds.
  • One of the objectives of the present application is to disclose a time-of-flight measurement circuit, a related control method and an electronic device to solve the above problems.
  • An embodiment of the present application discloses a time-of-flight measurement circuit, including: a pixel array, including m rows ⁇ n columns of pixel units, where m, n are positive integers, and each of the pixel units includes: a photosensitive sensor; and a first buffer, wherein the time that the first buffer delays the passing signal is a first buffer time delay; wherein the pixel unit outputs the sensing result of the photosensitive sensor in a general mode, and the The pixel unit outputs the buffered result output by the first buffer in the test mode; the first controller is coupled to the input end of the first buffer of each of the pixel units in the first column, and the first controller The input of the first buffer of the pixel unit at row x, column y is coupled to the output of the first buffer of the pixel unit at row x, column y-1, where x is 1 to m The integer of , y is an integer from 2 to n, wherein in the test mode, the first controller transmits a first trigger signal, so that the
  • the output terminal of the pixel unit at the xth row and the yth column is output to the pixel unit at the (x+1)th row and the yth column until reaching the pixel unit at the mth row and the yth column; and a time-to-digital converter , including: a counter, coupled to the first controller, and counting according to a reference clock; n registers, including the first register to the nth register, correspondingly coupled to The n outputs of the pixel units in the 1st to nth columns of the mth row, wherein the yth temporary register is based on the a first trigger signal to temporarily store the first count value of the counter; and a first start time register, coupled to the input ends of the m first buffers of the m pixel units in the first column , for receiving the first trigger signal, and the first start time register temporarily stores the first start time count value of the counter according to the received first trigger signal.
  • An embodiment of the present application discloses a method for controlling a time-of-flight measurement circuit, including: controlling the time-of-flight measurement circuit to enter the test mode; using the first controller to transmit the a first trigger signal, so that the first trigger signal sequentially passes through the first buffer of each pixel unit in the pixel units in the xth row, the first column to the xth row and the nth column, so as to obtain: the first count value of the first start time; the first count value of the y-th register, which corresponds to the y-th first buffer delay and the x-th row and the y-th column of the pixel unit to the y-th the sum of the pixel path delays of the temporary register; and the reference count value of the reference register, which corresponds to m first buffer delays; according to the first start time count value and the reference count value to obtain the first buffer delay; according to the first start time count value and the first count value to obtain the first trigger signal through the xth row 1st to yth after the respective first
  • An embodiment of the present application discloses a method for controlling a time-of-flight measurement circuit, including: controlling the time-of-flight measurement circuit to enter the test mode; using the first controller to transmit the a first trigger signal, so that the first trigger signal sequentially passes through the first buffer of each pixel unit in the pixel units in the xth row, the first column to the xth row and the nth column, so as to obtain: the first count value of the first start time; the first count value of the y-th register, which corresponds to the y-th first buffer delay and the x-th row and the y-th column of the pixel unit to the y-th The sum of the pixel path delays of the temporary registers; and the first count value of the z-th temporary register, which corresponds to the z-th first buffer delay and the x-th row and the z-th column.
  • the second controller is used to transmit the
  • the second trigger signal is to pass the second trigger signal through the second buffer of each pixel unit in the pixel units of the xth row and the nth column to the xth row and the first column in sequence, so as to obtain: the count value of the second start time; the second count value of the y-th temporary register, which corresponds to (n-y+1) delays of the second buffer and the x-th row and the y-th column
  • the first total path delay of the pixel units in the y-th column from the x-th row to the m-th row is transferred to the y-th temporary register, and the first trigger signal is obtained.
  • the first buffer is transferred to the second buffer of the zth register through the pixel units of the zth column, the xth to the mth row.
  • the first count value is obtained according to the second start time count value, the second count value of the y-th temporary register, and the second count value of the z-th temporary register
  • the two trigger signals pass through the respective second buffers in the pixel units in the nth to yth columns in the xth row, they are then transmitted to the yth temporary through the pixel units in the yth column, from the xth to the mth row.
  • the path delay and the fourth total path delay are used to obtain the first buffer delay, the second buffer delay, the pixel unit in the xth row and the yth column to the yth temporary the pixel path delay of the register, and the pixel path delay from the pixel unit in the xth row and the zth column to the zth temporary register.
  • An embodiment of the present application discloses an electronic device including the above-mentioned time-of-flight measurement circuit.
  • An embodiment of the present application discloses an electronic device, including a time-of-flight measurement circuit, including: a pixel array, including m rows ⁇ n columns of pixel units, where m, n are positive integers, and each of the pixel units includes : a photosensitive sensor; and a first buffer, wherein the time that the first buffer delays the passing signal is the first buffer time delay; wherein the pixel unit outputs the sensing result of the photosensitive sensor in the general mode , and the pixel unit outputs the buffered result output by the first buffer in the test mode; and the controller is configured to: control the flight time measurement circuit to enter the general mode, so that the xth row and the yth column are The sensing result of the photosensitive sensor of the pixel unit outputs the corresponding first time-of-flight signal through the y-th temporary register, and makes the sensing result of the photosensitive sensor of the pixel unit in the x-th row and the z-th column.
  • the corresponding second time-of-flight signal is output through the z-th temporary register; according to the first flight-time signal and the pixel path delay from the pixel unit in the x-th row and the y-th column to the y-th temporary register Obtain the corrected first flight time signal; and obtain the corrected second flight time signal according to the second flight time signal and the pixel path delay from the pixel unit in the xth row and the zth column to the zth temporary register time signal, wherein the pixel path delay from the pixel unit at the xth row and the yth column to the yth temporary register and the pixel path from the pixel unit at the xth row and the zth column to the zth temporary register
  • the pixel path delay of the controller is measured by controlling the time-of-flight measurement circuit in the test mode by the controller.
  • the flight time measurement circuit of the present application can obtain the internal time delay information in the test mode, which can be used to correct the measured flight time to improve the accuracy.
  • FIG. 1 is a schematic diagram of a first embodiment of a time-of-flight measurement circuit of the present application.
  • FIG. 2 is a circuit diagram of a pixel unit in the pixel array of FIG. 1 .
  • FIG. 3 is a schematic diagram for explaining a transmission manner of the first trigger signal in the time-of-flight measurement circuit of FIG. 1 .
  • FIG. 4 is a schematic diagram of a second embodiment of the time-of-flight measurement circuit of the present application.
  • FIG. 5 is a schematic diagram for explaining a transmission manner of the first trigger signal in the time-of-flight measurement circuit of FIG. 4 .
  • FIG. 6 is a schematic diagram of a third embodiment of the time-of-flight measurement circuit of the present application.
  • FIG. 7 is a circuit diagram of a pixel unit in the pixel array of FIG. 6 .
  • FIG. 8 is a schematic diagram for explaining a transmission manner of the second trigger signal in the time-of-flight measurement circuit of FIG. 6 .
  • FIG. 9 is a schematic diagram for illustrating the use of the first trigger signal and the second trigger signal to measure the time-of-flight measurement circuit of FIG. 6 .
  • first and second features are in direct contact with each other; and may also include Certain embodiments may have additional components formed between the first and second features described above, such that the first and second features may not be in direct contact.
  • present disclosure may reuse reference numerals and/or reference numerals in various embodiments. Such reuse is for brevity and clarity, and does not in itself represent a relationship between the different embodiments and/or configurations discussed.
  • spatially relative terms such as “below”, “below”, “below”, “above”, “above” and the like, may be used to facilitate the description of the drawings. relationship between one component or feature shown with respect to another component or feature.
  • These spatially relative terms are intended to encompass many different orientations of the device in use or operation in addition to the orientation depicted in the figures.
  • the device may be positioned in other orientations (eg, rotated 90 degrees or at other orientations) and these spatially relative descriptors should be interpreted accordingly.
  • the time-of-flight measurement circuit and the control method of the present application can estimate the time delay of the above-mentioned transmission path inside the chip in the test mode, and use the time delay of the transmission path calculated in the test mode to calculate the time delay in the general mode. Correct the flight time. The details are described below.
  • FIG. 1 is a schematic diagram of a first embodiment of a time-of-flight measurement circuit of the present application.
  • the time-of-flight measurement circuit 100 includes a pixel array 102 , a first controller 104 and a time-to-digital converter 106 .
  • the pixel array 102 includes m rows ⁇ n columns of pixel units, where m and n are positive integers.
  • the pixel unit P11 represents the pixel unit in the first row and the first column in the pixel array 102
  • the pixel unit Pmn represents the pixel unit The pixel unit in the mth row and the nth column in the array 102 .
  • Each pixel unit in the pixel array 102 includes a photosensitive sensor and a first buffer.
  • the photosensitive sensor can be implemented by a single-photon avalanche diode, but the present application is not limited thereto.
  • the time that the first buffer delays the passing signal is the first buffer delay TB1
  • the first buffer delay TB1 of the first buffer of each pixel unit in the pixel array 102 is substantially the same as each other .
  • the time-of-flight measurement circuit 100 has a general mode and a test mode. In the general mode, each pixel unit in the pixel array 102 outputs the sensing result of the photosensor, and in the test mode, it outputs the first The buffered result of the buffer output.
  • FIG. 2 is a circuit diagram of the pixel units P22 , P23 , P32 and P33 in the pixel array 102 . It should be noted that each pixel unit in the pixel array 102 is the same, so the pixel units P22, P23, P32 and P33 shown in FIG. 2 can also be used to describe other pixel units not shown.
  • the pixel unit P22 further includes an OR gate O22 and an AND gate A22, wherein the first input terminal of the OR gate O22 is coupled to the photosensitive sensor D22, and the second input terminal of the OR gate O22 is used to obtain a
  • the controller 104 receives the test mode enable signal TE, and the test mode enable signal TE is used to indicate that the time-of-flight measurement circuit 100 is currently in the test mode or the normal mode.
  • the first input terminal of the AND gate A22 is coupled to the output terminal of the OR gate O22, and the second input terminal of the AND gate A22 is coupled to the output terminal of the first buffer B22.
  • the enable signal TE is 0 (low logic level)
  • the OR gate O22 will output the sensing result of the photosensor to the first gate of the AND gate A22
  • An input terminal when RS2 is set to 1 (high logic level), it means to select and read the pixel units P21-P2n in the second row.
  • the high logic level passes through the first buffer B22 to make the AND gate A22
  • the second input terminal is also at a high logic level, so that the AND gate A22 outputs the output of the OR gate O22, that is, outputs the sensing result of the photosensitive sensor.
  • the enable signal TE is 1 (high logic level)
  • the OR gate O22 will continue to output 1 (high logic level) to the first of the AND gate A22
  • the input terminal makes the output of the AND gate A22 follow the input of the second input terminal of the AND gate A22, even though the AND gate A22 outputs the buffered result output by the first buffer B22.
  • the first controller 104 is closer to the pixel units P11 ⁇
  • the side where Pm1 is located is correspondingly coupled to the input terminals of the first buffers B11 ⁇ Bm1 of the pixel units P11 ⁇ Pm1 in the first column through the paths RS1 ⁇ RSm, and the pixel units in the xth row and the yth column of the pixel units
  • the input terminal of the first buffer is coupled to the output terminal of the first buffer of the pixel unit in the xth row and the y-1th column, where x is an integer from 1 to m, and y is an integer from 2 to n .
  • the input terminals of the first buffers B12-Bm2 of the pixel units P12-Pm2 in the second row are coupled to the output terminals of the first buffers B11-Bm1 in the pixel units P11-Pm1 in the first row, and so on. .
  • the first controller 104 can transmit the first trigger signal S1 to any row of pixel units in the pixel array 102 , for example, when transmitting the first trigger signal S1 to the pixel units Pa1 to Pan of the a-th row, where a is Any integer from 1 to m, the first controller 104 transmits the first trigger signal S1 through the path RSa, and the first trigger signal S1 sequentially passes through the first buffers Ba1-Ban in the pixel units Pa1-Pan of the a-th row, namely In Figure 1, a lateral transfer to the left is presented.
  • the first trigger signal S1 After the first trigger signal S1 enters each pixel unit Pa1-Pan, it will also be output from the output end of each pixel unit Pa1-Pan to the input end of the next row of pixel units via AND gates Aa1-Aan, that is, in FIG. 1, It presents a downward vertical transmission, that is to say, when a is less than m, the first trigger signal S1 will be output from the respective output terminals of the pixel units Pa1-Pan in the a-th row, and then pass through the (a+1)th row in sequence.
  • the first trigger signal S1 is directly output from the respective output terminals of the pixel units Pm1 to Pmn of the mth row to the time-to-digital converter 106 outside the pixel array 102 .
  • the time-to-digital converter 106 includes a counter 108, n registers L1-Ln and a first start time register LS1.
  • the counter 108 counts according to the reference clock.
  • the n registers L1-Ln include registers L1 to Ln.
  • the registers L1-Ln are based on the slave pixel units Pm1-Pmn
  • the first trigger signal S1 received by the n output terminals of Pmn temporarily stores the first count value of the counter 108 . That is to say, when the pixel unit Pm1 outputs the first trigger signal S1 to the register L1, the register L1 temporarily stores the counting result of the counter 108 as the first count value.
  • the counter 108 is coupled to the first controller 104, and the first controller 104 can reset the counter 108, that is, clear the counter 108 to zero.
  • FIG. 3 is a schematic diagram for explaining a transmission manner of the first trigger signal S1 in the time-of-flight measurement circuit 100 .
  • the first controller 104 transmits the first trigger signal S1 through the path RS1, and the first trigger signal S1 will pass through all the pixel units P11-P1n in the first row in sequence to the left, and continue from the pixel units in the first row P11 to P1n respectively pass through all the pixel units in the 2nd to the mth row downwards in sequence, and then output to the temporary registers L1 to Ln.
  • the first trigger signal S1 will pass through n different paths, namely D11-D1n, and the total path delays caused by the n paths D11-D1n are different.
  • the time at which the registers L1 to Ln receive the first trigger signal S1 are different, and the corresponding registers L1 to Ln temporarily store the first count values output by the counter 108 at different times respectively, that is, the number of the n registers.
  • the temporarily stored n first count values are also different.
  • the total path delay caused by the n paths D11 ⁇ D1 n increases sequentially, and therefore, the n first count values temporarily stored in the registers L1 ⁇ Ln also increase sequentially.
  • the first start time register LS1 is coupled to the input terminals of the m first buffers of the m pixel units P11 ⁇ Pm1 in the first column.
  • the first start time register LS1 receives the first trigger signal S1 and temporarily stores the first start time count value of the counter 108 according to the received first trigger signal S1. Therefore, by deducting the first count value of the first start time of the first start time register LS1 from the n first count values temporarily stored in the registers L1 ⁇ Ln respectively, the n paths caused by D11 ⁇ D1n can be obtained. Total path delays T11 to T1n.
  • the first controller 104 transmits the first trigger signal S1 to the temporary registers L1-Ln through different paths RS1-RSm, and there are n paths respectively, namely There are a total of n*m paths D11-D1n, D21-D2n, D31-D3n, ..., Dm1-Dmn.
  • the test mode enable signal TE can be used to control the time-of-flight measurement circuit 100 to enter the test mode, and then the pixels in the first row to the mth row in the pixel array 102 can be tested.
  • the unit obtains n*m paths D11-D1n, D21-D2n, D31-D3n, . . . , Dm1-Dmn in m times in the manner of FIG. 3 . It can be seen from Figure 3 that:
  • the counter 108 can be reset at the same time to prevent the counter 108 from overflowing.
  • the above-mentioned pixel path delay from Pab to Lb includes the sum of the delay of AND gate Aab and the delay from the output of AND gate Aab to Lb according to the circuit diagram embodiment of the pixel unit in FIG. 2 .
  • FIG. 4 is a schematic diagram of a second embodiment of the time-of-flight measurement circuit of the present application.
  • the difference between the time-of-flight measurement circuit 400 and the time-of-flight measurement circuit 100 is that the time-to-digital converter 406 of the time-of-flight measurement circuit 400 is compared with A reference register LR is added to the time-to-digital converter 106 of the time-of-flight measurement circuit 100, and the reference register LR is coupled to the m first buffers of the m pixel units in the n-th column of the pixel array 102.
  • the output terminal is used for receiving the first trigger signal S1, and the reference register LR temporarily stores the reference count value of the counter 108 according to the received first trigger signal S1.
  • the purpose of the reference register LR is explained as follows.
  • FIG. 5 is a schematic diagram for explaining the transmission method of the first trigger signal S1 in the time-of-flight measurement circuit 400.
  • D11-D1n, D21-D2n, D31-D3n, ..., Dm1-Dmn there are also m paths D1R-DmR that do not pass through in the downward vertical transmission Any pixel unit directly reaches the reference register LR. Assuming that the path that does not pass through the pixel unit does not generate a delay during the downward vertical transmission, the total path delays T1R-TmR caused by the paths D1R-DmR are all equal and equal to n*the first buffer delay TB1.
  • the total path delays T1R to TmR caused by the paths D1R to DmR can be obtained, Divide by n again to obtain the first buffer delay TB1.
  • the pixel path delay from Pab to Lb can be obtained by taking the first buffer delay TB1 into equation (1), where a is any integer from 1 to m, and b is any integer from 1 to n. Therefore, after the time-of-flight measurement circuit 400 introduces the reference register LR, the first buffer delay TB1 and the pixel path delay from Pab to Lb can be further obtained.
  • FIG. 6 is a schematic diagram of a third embodiment of the time-of-flight measurement circuit of the present application.
  • the difference between the time-of-flight measurement circuit 600 and the time-of-flight measurement circuit 100 is that each of the pixel arrays 602 of the time-of-flight measurement circuit 600
  • the pixel unit also includes a second buffer, wherein the second buffer delays passing signals by a second buffer delay TB2, and each pixel unit outputs the first buffer or the The buffered result output by the second buffer.
  • a second controller 604 is added to the flight time measurement circuit 600, and the time-to-digital converter 106 further includes a second start time register LS2.
  • FIG. 7 is a circuit diagram of the pixel units P22 ′, P23 ′, P32 ′ and P33 ′ in the pixel array 602 . It should be noted that each pixel unit in the pixel array 602 is the same, so the pixel units P22', P23', P32' and P33' shown in FIG. 7 can also be used to describe other not-shown pixel units.
  • the pixel unit P22' as an example, it further includes a first OR gate O22, a second OR gate O22' and an AND gate A22, wherein the first input end of the first OR gate O22 is coupled to the photosensitive sensor D22, and the first OR gate O22 is coupled to the photosensitive sensor D22.
  • the second input terminal of the OR gate O22 is used to receive the test mode enable signal TE from the first controller 104 and the second controller 604.
  • the test mode enable signal TE is used to indicate that the time-of-flight measurement circuit 100 is currently in the Test mode or the general mode described.
  • the first input terminal of the second OR gate O22' is coupled to the output terminal of the first buffer B22, and the second input terminal of the second OR gate O22' is coupled to the output terminal of the second buffer B22'.
  • the first input terminal of the AND gate A22 is coupled to the output terminal of the first OR gate O22, and the second input terminal of the AND gate A22 is coupled to the output terminal of the second OR gate O22'.
  • the second controller 604 is closer to the pixel units P1n' to Pmn' in the nth row adjacent to each other.
  • the input terminal of the second buffer of the pixel unit in column 1 is coupled to the output terminal of the second buffer of the pixel unit in the xth row and the yth column, where x is an integer from 1 to m, and y is An integer from 2 to n.
  • the input terminals of the second buffers B11'-Bm1' of the pixel units P11'-Pm1' in the first row are coupled to the second buffers B12'-Bm2' of the pixel units P12'-Pm2' in the second row output, and so on.
  • the second controller 604 can transmit the second trigger signal S2 for any row of pixel units in the pixel array 602 , for example, when transmitting the second trigger signal S2 for the pixel units Pan′ ⁇ Pa1 ′ in the a-th row, wherein a is any integer from 1 to m, the second controller 604 transmits the second trigger signal S2 through the path RSa', and the second trigger signal S2 sequentially passes through the second buffers in the pixel units Pan'-Pa1' in the a-th row Ban'-Ba1', that is, in the case of Fig. 6, present the lateral transfer to the right.
  • the second trigger signal S2 After the second trigger signal S2 enters each pixel unit Pan'-Pa1', it will also be output from the output end of each pixel unit Pan'-Pa1' to the input end of the next row of pixel units via AND gates Aan'-Aa1', that is, Referring to FIG. 6 , the vertical transmission is downward, that is to say, when a is less than m, the second trigger signal S2 will be output from the respective output terminals of the pixel units Pan' to Pa1' in the a-th row, and then sequentially.
  • the second trigger signal S2 will be directly output from the respective output terminals of the mth row of pixel units Pmn' to Pm1' to the outside of the pixel array 102
  • the registers Ln-L1 temporarily store the second count value of the counter 108 based on the second trigger signal S2 received from the n output terminals of the pixel units Pmn-Pm1, respectively. That is, when the pixel unit Pmn outputs the second trigger signal S2 to the register Ln, the register Ln temporarily stores the counting result of the counter 108 as the second count value.
  • the counter 108 is further coupled to the second controller 604 , and the second controller 604 can reset the counter 108 , that is, clear the counter 108 to zero.
  • FIG. 8 is a schematic diagram for explaining a transmission manner of the second trigger signal S2 in the time-of-flight measurement circuit 600 .
  • the second controller 604 transmits the second trigger signal S2 through the path RS1 ′, and the second trigger signal S2 will pass through the first row of pixel units P1n ′ to P11 ′ in sequence to the right, and continue from the first row of pixel units P1n'-P11' respectively pass through the pixel units in the 2nd to the m-th row downward in sequence, and then output to the temporary registers Ln-L1.
  • the second trigger signal S2 passes through n different paths, namely D1n'-D11', and the total path delay caused by the n paths D1n'-D11' are different, resulting in different times at which the registers Ln-L1 receive the second trigger signal S2, and the corresponding registers Ln-L1 temporarily store the second count values output by the counter 108 at different times, that is, n The n second count values temporarily stored in the temporary register are also different.
  • the total path delay caused by the n paths D1n'-D11' increases in sequence, so the n second count values temporarily stored in the registers Ln-L1 also increase in sequence.
  • the second start time register LS2 is coupled to the input terminals of the m second buffers of the m pixel units P1n' to Pmn' in the nth column. Therefore, when the second controller 604 wants to When any row of pixel units transmits the second trigger signal S2, the second start time register LS2 will also receive the second trigger signal S2, and temporarily store the second start time of the counter 108 according to the received second trigger signal S2. Start time count value. Therefore, by deducting the second start time count value of the second start time register LS2 from the n second count values temporarily stored in the registers Ln to L1, n paths D1n' to D11 can be obtained. 'The total path delay caused by T1n' ⁇ T11'.
  • the second controller 604 transmits the second trigger signal S2 to the temporary registers Ln-L1 through different paths RS1-RSm, and there are n paths respectively, namely There are a total of n*m paths D1n' to D11', D2n' to D21', D3n' to D31', ..., Dmn' to Dm1'.
  • the test mode enable signal TE can be used to control the time-of-flight measurement circuit 600 to enter the test mode, and then the pixels in the first row to the mth row in the pixel array 602 can be tested.
  • the unit obtains n*m paths D1n' to D11', D2n' to D21', D3n' to D31', . . . , Dmn' to Dm1' in m times in the manner of FIG. 8 . It can be seen from Figure 8 that:
  • the total path delay T11' caused by the path D11' n*the second buffer delay TB2+the pixel path delay from the pixel unit P11' to the register L1
  • the total path delay TD12 caused by the path D12' (n-1)*second buffer delay TB2+pixel path delay from pixel unit P12' to temporary register L2, and so on.
  • the counter 108 may be reset at the same time to prevent the counter 108 from overflowing.
  • equation (1) when using the first controller 104 to transmit the first trigger signal S1, equation (1) can be rewritten as:
  • the time-of-flight measurement circuit 400 can further obtain the first buffer delay TB1, the second buffer delay TB2 and the pixel path time from Pab' to Lb extension.
  • the specific description is shown in FIG. 9 .
  • the present application also provides a chip, which includes the time-of-flight measurement circuit 100/400/600.
  • the present application also provides an electronic device including the time-of-flight measurement circuit 100/400/600 or the chip.
  • the electronic device may be any electronic device such as a smart phone, a personal digital assistant, a handheld computer system, a tablet computer or a digital camera.
  • the time-of-flight measurement circuit 100/400/600 of the present application can obtain the pixels of the first control circuit 104 and/or the second control circuit 604 arriving at the time-to-digital converter 106/406/606 through the pixel array 102/602 in the test mode path delay, and for the paths D11 ⁇ D1n, D21 ⁇ D2n, D31 ⁇ D3n, ..., Dm1 ⁇ Dmn passing through each pixel unit, a pixel path delay can be estimated separately, which is more efficient than the general practice. Accurate, when the flight time measurement circuit 100/400/600 is used for the calibration of the flight time measurement in the normal mode, the accuracy of the flight time measurement can be improved. Taking FIG.
  • the calculated pixel path delay from P21 to Lb does not include the delay of OR gate O21). In this way, the accuracy of the flight time can be further improved by deducting the pixel path delay from P21 to Lb from the flight time obtained by the time-to-digital converter.
  • each embodiment of the above-mentioned control method of the time-of-flight measurement circuit in the test mode and the general mode can be performed using a controller (not shown in the figure), and the controller can be located in the Inside or outside the time of flight measurement circuit, or partially within the time of flight measurement circuit and partially outside the time of flight measurement circuit.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Measurement Of Unknown Time Intervals (AREA)

Abstract

Provided are a time-of-flight measurement circuit and control method and electronic apparatus thereof. The time-of-flight measurement circuit (100, 400, 600) comprises a pixel array (102, 602), a first controller (104), and a time-to-digital converter (106, 406, 606). The pixel array (102,602) comprises m rows × n columns of pixel cells (P11–P1n, P21–P2n, ... Pm1–Pmn, P11'–P1n', P21'–P2n', ... Pm1'–Pmn'). The first controller (104) is coupled to the input end of a first buffer of each of the first column pixel units (P11–Pm1, P11'–Pm1'), and the input end of the first buffer of the pixel cell Pxy is coupled to the output end of the first buffer of the pixel cell Px(y-1), x being an integer from 1 to m, and y being an integer from 2 to n, wherein in a test mode, the first controller (104) transmits a first trigger signal sequentially by means of the first buffers Ba1 to Ban in the pixel cells Pa1 to Pan, a being any integer from 1 to m, and, if a is less than m, the first trigger signal arriving at the pixel cells Pm1–Pmn from the output ends of the pixel cells Pa1–Pan.

Description

飞行时间量测电路及其控制方法及电子装置Time-of-flight measurement circuit, control method and electronic device 技术领域technical field
本申请涉及一种飞行时间量测电路,尤其涉及一种可在测试模式下,取得内部时延信息的飞行时间量测电路,以及相关控制方法及电子装置。The present application relates to a time-of-flight measurement circuit, and more particularly, to a time-of-flight measurement circuit capable of obtaining internal delay information in a test mode, as well as a related control method and electronic device.
背景技术Background technique
飞行时间量测技术包含直接飞行时间量测技术以及非直接飞行时间量测技术(也称为间接飞行时间测量技术),其中直接飞行时间量测技术是利用发射一个光脉冲,之后测量反射光脉冲和发射光脉冲之间的时间间隔,就可以得到光的飞行时间,再用测得的飞行时间推算出深度信息。直接飞行时间量测技术的困难之处在于需要能分辨出非常精细的时间差,例如如果需要实现1.5厘米的测距精准度,则分辨率需要达到10皮秒。Time-of-flight measurement technology includes direct time-of-flight measurement technology and indirect time-of-flight measurement technology (also known as indirect time-of-flight measurement technology). and the time interval between the emitted light pulses, the time of flight of the light can be obtained, and then the depth information can be calculated from the measured time of flight. The difficulty of direct time-of-flight measurement technology is that it needs to be able to distinguish very fine time differences. For example, if a ranging accuracy of 1.5 cm is required, the resolution needs to be 10 picoseconds.
然而,现实上在实现直接飞行时间量测技术时,各种非理想误差都可能会对测得的飞行时间贡献误差,因此如何提升精准度,已成为本领域亟需解决的问题之一。However, in reality, when the direct flight time measurement technology is implemented, various non-ideal errors may contribute errors to the measured flight time. Therefore, how to improve the accuracy has become one of the urgent problems to be solved in this field.
发明内容SUMMARY OF THE INVENTION
本申请的目的之一在于公开一种飞行时间量测电路及相关控制方法及电子装置,来解决上述问题。One of the objectives of the present application is to disclose a time-of-flight measurement circuit, a related control method and an electronic device to solve the above problems.
本申请的一实施例公开了一种飞行时间量测电路,包括:像素阵列,包括m行×n列像素单元,其中m,n为正整数,且每一所述像素单元包括:光敏传感器;以及第一缓冲器,其中所述第一缓冲器使 通过的信号延迟的时间为第一缓冲器时延;其中所述像素单元在一般模式下输出所述光敏传感器的传感结果,以及所述像素单元在测试模式下输出所述第一缓冲器输出的缓冲结果;第一控制器,耦接至第1列所述像素单元中的每一个的所述第一缓冲器的输入端,且第x行第y列所述像素单元的所述第一缓冲器的输入端耦接至第x行第y-1列所述像素单元的所述第一缓冲器的输出端,x为1到m的整数,y为2到n的整数,其中在所述测试模式下,所述第一控制器传送第一触发信号,使所述第一触发信号依序通过第x行的第1至第y列所述像素单元各自的所述第一缓冲器,当x小于m时,所述第一触发信号并进一步从第x行第y列所述像素单元的所述第一缓冲器的输出端经所述第x行第y列所述像素单元的输出端输出至第(x+1)行第y列所述像素单元,直到到达第m行第y列所述像素单元;以及时间数字转换器,包括:计数器,耦接至所述第一控制器,并依据参考时脉计数;n个暂存器,包括第1所述暂存器到第n所述暂存器,对应地耦接至第m行的第1到第n列所述像素单元的n个输出端,其中,第y所述暂存器基于从第m行第y列所述像素单元的输出端所接收到的所述第一触发信号来暂存所述计数器的第一计数值;以及第一起始时间暂存器,耦接至第1列的m个所述像素单元的m个所述第一缓冲器的输入端,用来接收所述第一触发信号,所述第一起始时间暂存器依据接收到的所述第一触发信号暂存所述计数器的第一起始时间计数值。An embodiment of the present application discloses a time-of-flight measurement circuit, including: a pixel array, including m rows×n columns of pixel units, where m, n are positive integers, and each of the pixel units includes: a photosensitive sensor; and a first buffer, wherein the time that the first buffer delays the passing signal is a first buffer time delay; wherein the pixel unit outputs the sensing result of the photosensitive sensor in a general mode, and the The pixel unit outputs the buffered result output by the first buffer in the test mode; the first controller is coupled to the input end of the first buffer of each of the pixel units in the first column, and the first controller The input of the first buffer of the pixel unit at row x, column y is coupled to the output of the first buffer of the pixel unit at row x, column y-1, where x is 1 to m The integer of , y is an integer from 2 to n, wherein in the test mode, the first controller transmits a first trigger signal, so that the first trigger signal passes through the first to yth row of the xth row in sequence Each of the first buffers of the pixel units in the column, when x is less than m, the first trigger signal is further transmitted from the output end of the first buffer of the pixel unit in the xth row and the yth column through the output end of the first buffer. The output terminal of the pixel unit at the xth row and the yth column is output to the pixel unit at the (x+1)th row and the yth column until reaching the pixel unit at the mth row and the yth column; and a time-to-digital converter , including: a counter, coupled to the first controller, and counting according to a reference clock; n registers, including the first register to the nth register, correspondingly coupled to The n outputs of the pixel units in the 1st to nth columns of the mth row, wherein the yth temporary register is based on the a first trigger signal to temporarily store the first count value of the counter; and a first start time register, coupled to the input ends of the m first buffers of the m pixel units in the first column , for receiving the first trigger signal, and the first start time register temporarily stores the first start time count value of the counter according to the received first trigger signal.
本申请的一实施例公开了一种飞行时间量测电路的控制方法,包括:控制所述飞行时间量测电路进入所述测试模式;利用所述第一控制器在第一时间点传送所述第一触发信号,使所述第一触发信号依序通过第x行第1列至第x行第n列所述像素单元中的每一像素单元的所述第一缓冲器,以得到:所述第一起始时间计数值;第y所述暂存器的所述第一计数值,其对应到y个所述第一缓冲器时延及第x行第y列所述像素单元到第y所述暂存器的像素路径时延的和;以及所述参考暂存器的所述参考计数值,其对应到m个所述第一缓冲器时延;依据所述第一起始时间计数值及所述参考计数值来得到所述第一缓 冲器时延;依据所述第一起始时间计数值及所述第一计数值来得到所述第一触发信号经第x行第1至第y列所述像素单元中各自的所述第一缓冲器后,再经第y列第x至第m行所述像素单元传递到第y所述暂存器的总路径时延;以及依据所述第一缓冲器时延及所述总路径时延得到第x行第y列所述像素单元到第y所述暂存器的所述像素路径时延。An embodiment of the present application discloses a method for controlling a time-of-flight measurement circuit, including: controlling the time-of-flight measurement circuit to enter the test mode; using the first controller to transmit the a first trigger signal, so that the first trigger signal sequentially passes through the first buffer of each pixel unit in the pixel units in the xth row, the first column to the xth row and the nth column, so as to obtain: the first count value of the first start time; the first count value of the y-th register, which corresponds to the y-th first buffer delay and the x-th row and the y-th column of the pixel unit to the y-th the sum of the pixel path delays of the temporary register; and the reference count value of the reference register, which corresponds to m first buffer delays; according to the first start time count value and the reference count value to obtain the first buffer delay; according to the first start time count value and the first count value to obtain the first trigger signal through the xth row 1st to yth after the respective first buffers in the pixel units are listed, the total path delay transmitted to the y-th register through the pixel units in the y-th column x-th row to the m-th row; and according to the The first buffer delay and the total path delay obtain the pixel path delay from the pixel unit in the xth row and the yth column to the yth temporary register.
本申请的一实施例公开了一种飞行时间量测电路的控制方法,包括:控制所述飞行时间量测电路进入所述测试模式;利用所述第一控制器在第一时间点传送所述第一触发信号,使所述第一触发信号依序通过第x行第1列至第x行第n列所述像素单元中的每一像素单元的所述第一缓冲器,以得到:所述第一起始时间计数值;第y所述暂存器的所述第一计数值,其对应到y个所述第一缓冲器时延及第x行第y列所述像素单元到第y所述暂存器的像素路径时延的和;以及第z所述暂存器的所述第一计数值,其对应到z个所述第一缓冲器时延及第x行第z列所述像素单元到第z所述暂存器的像素路径时延的和,其中z为1到n的整数,y及z为不同整数;利用所述第二控制器在第二时间点传送所述第二触发信号,使所述第二触发信号依序通过第x行第n列至第x行第1列所述像素单元中的每一像素单元的所述第二缓冲器,以得到:所述第二起始时间计数值;第y所述暂存器的所述第二计数值,其对应到(n-y+1)个所述第二缓冲器时延及第x行第y列所述像素单元到第y所述暂存器的所述像素路径时延的和;以及第z所述暂存器的所述第二计数值,其对应到(n-y+1)个所述第二缓冲器时延及第x行第z列所述像素单元到第z所述暂存器的所述像素路径时延的和;依据所述第一起始时间计数值、第y所述暂存器的所述第一计数值及第z所述暂存器的所述第一计数值来得到所述第一触发信号经第x行第1至第y列所述像素单元中各自的所述第一缓冲器后,再经第y列第x至第m行所述像素单元传递到第y所述暂存器的第一总路径时延,及得到所述第一触发信号经第x行第1至第z列所述像素单元中各自的所述第一缓冲器后,再经第z列第x至第m行所述像素单元传递到第z所述暂存器的第二总路径时延;依据所述第二 起始时间计数值、第y所述暂存器的所述第二计数值及第z所述暂存器的所述第二计数值来得到所述第二触发信号经第x行第n至第y列所述像素单元中各自的所述第二缓冲器后,再经第y列第x至第m行所述像素单元传递到第y所述暂存器的第三总路径时延,及得到所述第二触发信号经第x行第n至第z列所述像素单元中各自的所述第二缓冲器后,再经第z列第x至第m行所述像素单元传递到第z所述暂存器的第四总路径时延;以及依据所述第一总路径时延、所述第二总路径时延、所述第三总路径时延及所述第四总路径时延来得到所述第一缓冲器时延、所述第二缓冲器时延、第x行第y列所述像素单元到第y所述暂存器的所述像素路径时延、以及第x行第z列所述像素单元到第z所述暂存器的所述像素路径时延。An embodiment of the present application discloses a method for controlling a time-of-flight measurement circuit, including: controlling the time-of-flight measurement circuit to enter the test mode; using the first controller to transmit the a first trigger signal, so that the first trigger signal sequentially passes through the first buffer of each pixel unit in the pixel units in the xth row, the first column to the xth row and the nth column, so as to obtain: the first count value of the first start time; the first count value of the y-th register, which corresponds to the y-th first buffer delay and the x-th row and the y-th column of the pixel unit to the y-th The sum of the pixel path delays of the temporary registers; and the first count value of the z-th temporary register, which corresponds to the z-th first buffer delay and the x-th row and the z-th column. The sum of the pixel path delays from the pixel unit to the z-th register, where z is an integer from 1 to n, and y and z are different integers; the second controller is used to transmit the The second trigger signal is to pass the second trigger signal through the second buffer of each pixel unit in the pixel units of the xth row and the nth column to the xth row and the first column in sequence, so as to obtain: the count value of the second start time; the second count value of the y-th temporary register, which corresponds to (n-y+1) delays of the second buffer and the x-th row and the y-th column The sum of the pixel path delays from the pixel unit to the y-th temporary register; and the second count value of the z-th temporary register, which corresponds to (n-y+1) all The sum of the delay of the second buffer and the delay of the pixel path from the pixel unit of the xth row and the zth column to the zth temporary register; according to the first start time count value, the yth The first count value of the register and the first count value of the z-th register are obtained to obtain the first trigger signal through the respective pixel units in the x-th row, the 1-th column, and the y-th column. After the first buffer, the first total path delay of the pixel units in the y-th column from the x-th row to the m-th row is transferred to the y-th temporary register, and the first trigger signal is obtained. After the respective first buffers of the pixel units in the 1st to zth columns of the xth row, the first buffer is transferred to the second buffer of the zth register through the pixel units of the zth column, the xth to the mth row. total path delay; the first count value is obtained according to the second start time count value, the second count value of the y-th temporary register, and the second count value of the z-th temporary register After the two trigger signals pass through the respective second buffers in the pixel units in the nth to yth columns in the xth row, they are then transmitted to the yth temporary through the pixel units in the yth column, from the xth to the mth row. The third total path delay of the register, and after the second trigger signal is obtained through the second buffers in the pixel units in the nth row and the zth column of the xth row, the second trigger signal passes through the zth column. to the fourth total path delay transferred from the pixel unit in the mth row to the zth register; and according to the first total path delay, the second total path delay, the third total path delay The path delay and the fourth total path delay are used to obtain the first buffer delay, the second buffer delay, the pixel unit in the xth row and the yth column to the yth temporary the pixel path delay of the register, and the pixel path delay from the pixel unit in the xth row and the zth column to the zth temporary register.
本申请的一实施例公开了一种电子装置,包括上述的飞行时间量测电路。An embodiment of the present application discloses an electronic device including the above-mentioned time-of-flight measurement circuit.
本申请的一实施例公开了一种电子装置,包括飞行时间量测电路,包括:像素阵列,包括m行×n列像素单元,其中m,n为正整数,且每一所述像素单元包括:光敏传感器;以及第一缓冲器,其中所述第一缓冲器使通过的信号延迟的时间为第一缓冲器时延;其中所述像素单元在一般模式下输出所述光敏传感器的传感结果,以及所述像素单元在测试模式下输出所述第一缓冲器输出的缓冲结果;以及控制器,用于:控制所述飞行时间量测电路进入所述一般模式,使第x行第y列所述像素单元的所述光敏传感器的传感结果通过第y所述暂存器输出对应的第一飞行时间信号,以及使第x行第z列所述像素单元的所述光敏传感器的传感结果通过第z所述暂存器输出对应的第二飞行时间信号;依据所述第一飞行时间信号与第x行第y列所述像素单元到第y所述暂存器的像素路径时延得到修正后的第一飞行时间信号;以及依据所述第二飞行时间信号与第x行第z列所述像素单元到第z所述暂存器的像素路径时延得到修正后的第二飞行时间信号,其中,所述第x行第y列所述像素单元到第y所述暂存器的像素路径时延和所述第x行第z列所述像素单元到第z所述暂存器的像素路径时延是通过所述控制器将所述飞行时间量测电路控制于所述测试模式 下测得。An embodiment of the present application discloses an electronic device, including a time-of-flight measurement circuit, including: a pixel array, including m rows×n columns of pixel units, where m, n are positive integers, and each of the pixel units includes : a photosensitive sensor; and a first buffer, wherein the time that the first buffer delays the passing signal is the first buffer time delay; wherein the pixel unit outputs the sensing result of the photosensitive sensor in the general mode , and the pixel unit outputs the buffered result output by the first buffer in the test mode; and the controller is configured to: control the flight time measurement circuit to enter the general mode, so that the xth row and the yth column are The sensing result of the photosensitive sensor of the pixel unit outputs the corresponding first time-of-flight signal through the y-th temporary register, and makes the sensing result of the photosensitive sensor of the pixel unit in the x-th row and the z-th column. As a result, the corresponding second time-of-flight signal is output through the z-th temporary register; according to the first flight-time signal and the pixel path delay from the pixel unit in the x-th row and the y-th column to the y-th temporary register Obtain the corrected first flight time signal; and obtain the corrected second flight time signal according to the second flight time signal and the pixel path delay from the pixel unit in the xth row and the zth column to the zth temporary register time signal, wherein the pixel path delay from the pixel unit at the xth row and the yth column to the yth temporary register and the pixel path from the pixel unit at the xth row and the zth column to the zth temporary register The pixel path delay of the controller is measured by controlling the time-of-flight measurement circuit in the test mode by the controller.
本申请的飞行时间量测电路可在测试模式下,取得内部时延信息,可用来校正测得的飞行时间,以提升精准度。The flight time measurement circuit of the present application can obtain the internal time delay information in the test mode, which can be used to correct the measured flight time to improve the accuracy.
附图说明Description of drawings
图1为本申请的飞行时间量测电路的第一实施例的示意图。FIG. 1 is a schematic diagram of a first embodiment of a time-of-flight measurement circuit of the present application.
图2为图1的像素阵列中的像素单元的电路图。FIG. 2 is a circuit diagram of a pixel unit in the pixel array of FIG. 1 .
图3为用于说明第一触发信号于图1的飞行时间量测电路中的传递方式的示意图。FIG. 3 is a schematic diagram for explaining a transmission manner of the first trigger signal in the time-of-flight measurement circuit of FIG. 1 .
图4为本申请的飞行时间量测电路的第二实施例的示意图。FIG. 4 is a schematic diagram of a second embodiment of the time-of-flight measurement circuit of the present application.
图5为用于说明第一触发信号于图4的飞行时间量测电路中的传递方式的示意图。FIG. 5 is a schematic diagram for explaining a transmission manner of the first trigger signal in the time-of-flight measurement circuit of FIG. 4 .
图6为本申请的飞行时间量测电路的第三实施例的示意图。FIG. 6 is a schematic diagram of a third embodiment of the time-of-flight measurement circuit of the present application.
图7为图6的像素阵列中的像素单元的电路图。FIG. 7 is a circuit diagram of a pixel unit in the pixel array of FIG. 6 .
图8为用于说明第二触发信号于图6的飞行时间量测电路中的传递方式的示意图。FIG. 8 is a schematic diagram for explaining a transmission manner of the second trigger signal in the time-of-flight measurement circuit of FIG. 6 .
图9用于说明利用第一触发信号及第二触发信号来测量图6的飞行时间量测电路的示意图。FIG. 9 is a schematic diagram for illustrating the use of the first trigger signal and the second trigger signal to measure the time-of-flight measurement circuit of FIG. 6 .
具体实施方式Detailed ways
以下揭示内容提供了多种实施方式或例示,其能用以实现本揭示内容的不同特征。下文所述之组件与配置的具体例子系用以简化本揭示内容。当可想见,这些叙述仅为例示,其本意并非用于限制本揭示内容。举例来说,在下文的描述中,将一第一特征形成于一第二特征上或之上,可能包括某些实施例其中所述的第一与第二特征彼此直接 接触;且也可能包括某些实施例其中还有额外的组件形成于上述第一与第二特征之间,而使得第一与第二特征可能没有直接接触。此外,本揭示内容可能会在多个实施例中重复使用组件符号和/或标号。此种重复使用乃是基于简洁与清楚的目的,且其本身不代表所讨论的不同实施例和/或组态之间的关系。The following disclosure provides various implementations, or illustrations, that can be used to implement various features of the present disclosure. Specific examples of components and configurations are described below to simplify the present disclosure. As can be appreciated, these descriptions are exemplary only, and are not intended to limit the present disclosure. For example, in the description below, forming a first feature on or over a second feature may include some embodiments in which the first and second features are in direct contact with each other; and may also include Certain embodiments may have additional components formed between the first and second features described above, such that the first and second features may not be in direct contact. Furthermore, the present disclosure may reuse reference numerals and/or reference numerals in various embodiments. Such reuse is for brevity and clarity, and does not in itself represent a relationship between the different embodiments and/or configurations discussed.
再者,在此处使用空间上相对的词汇,譬如「之下」、「下方」、「低于」、「之上」、「上方」及与其相似者,可能是为了方便说明图中所绘示的一组件或特征相对于另一或多个组件或特征之间的关系。这些空间上相对的词汇其本意除了图中所绘示的方位之外,还涵盖了装置在使用或操作中所处的多种不同方位。可能将所述设备放置于其他方位(如,旋转90度或处于其他方位),而这些空间上相对的描述词汇就应该做相应的解释。Furthermore, the use of spatially relative terms, such as "below", "below", "below", "above", "above" and the like, may be used to facilitate the description of the drawings. relationship between one component or feature shown with respect to another component or feature. These spatially relative terms are intended to encompass many different orientations of the device in use or operation in addition to the orientation depicted in the figures. The device may be positioned in other orientations (eg, rotated 90 degrees or at other orientations) and these spatially relative descriptors should be interpreted accordingly.
虽然用以界定本申请较广范围的数值范围与参数皆是约略的数值,此处已尽可能精确地呈现具体实施例中的相关数值。然而,任何数值本质上不可避免地含有因个别测试方法所致的标准偏差。在此处,「约」通常系指实际数值在一特定数值或范围的正负10%、5%、1%或0.5%之内。或者是,「约」一词代表实际数值落在平均值的可接受标准误差之内,视本申请所属技术领域中具有通常知识者的考虑而定。当可理解,除了实验例之外,或除非另有明确的说明,此处所用的所有范围、数量、数值与百分比(例如用以描述材料用量、时间长短、温度、操作条件、数量比例及其他相似者)均经过「约」的修饰。因此,除非另有相反的说明,本说明书与附随申请专利范围所揭示的数值参数皆为约略的数值,且可视需求而更动。至少应将这些数值参数理解为所指出的有效位数与套用一般进位法所得到的数值。在此处,将数值范围表示成由一端点至另一端点或介于二端点之间;除非另有说明,此处所述的数值范围皆包括端点。Notwithstanding that the numerical ranges and parameters setting forth the broader scope of the application are approximations, the numerical values set forth in the specific examples have been reported as precisely as possible. Any numerical value, however, inherently contains the standard deviation resulting from individual testing methods. As used herein, "about" generally means within plus or minus 10%, 5%, 1%, or 0.5% of the actual value of a particular value or range. Alternatively, the word "about" means that the actual value lies within an acceptable standard error of the mean, as considered by one of ordinary skill in the art to which this application pertains. It should be understood that all ranges, quantities, numerical values and percentages used herein (for example, to describe material amounts, time durations, temperatures, operating conditions, quantity ratios and other similar) are modified by "about". Therefore, unless otherwise stated to the contrary, the numerical parameters disclosed in this specification and the accompanying claims are approximate numerical values and may be changed as required. At a minimum, these numerical parameters should be construed to mean the number of significant digits indicated and the numerical values obtained by applying ordinary rounding. Numerical ranges are expressed herein as from one endpoint to the other or between the endpoints; unless otherwise indicated, the numerical ranges recited herein are inclusive of the endpoints.
现实上在实现直接飞行时间量测技术时,各种非理想误差都可能会对测得的飞行时间贡献误差,特别是芯片内部的传输路径的时延,会直接地影响测得的飞行时间,本申请的飞行时间量测电路及其控制 方法能够在测试模式下,估算出芯片内部上述的传输路径的时延,并在一般模式下,利用在测试模式下计算出的传输路径的时延来校正飞行时间。其细节说明如下。In fact, when the direct flight time measurement technology is implemented, various non-ideal errors may contribute errors to the measured flight time, especially the delay of the transmission path inside the chip, which will directly affect the measured flight time. The time-of-flight measurement circuit and the control method of the present application can estimate the time delay of the above-mentioned transmission path inside the chip in the test mode, and use the time delay of the transmission path calculated in the test mode to calculate the time delay in the general mode. Correct the flight time. The details are described below.
图1为本申请的飞行时间量测电路的第一实施例的示意图,飞行时间量测电路100包含像素阵列102、第一控制器104以及时间数字转换器106。具体来说,像素阵列102包括m行×n列像素单元,其中m,n为正整数,举例来说,像素单元P11代表像素阵列102中第1行第1列像素单元,像素单元Pmn代表像素阵列102中第m行第n列像素单元。FIG. 1 is a schematic diagram of a first embodiment of a time-of-flight measurement circuit of the present application. The time-of-flight measurement circuit 100 includes a pixel array 102 , a first controller 104 and a time-to-digital converter 106 . Specifically, the pixel array 102 includes m rows×n columns of pixel units, where m and n are positive integers. For example, the pixel unit P11 represents the pixel unit in the first row and the first column in the pixel array 102 , and the pixel unit Pmn represents the pixel unit The pixel unit in the mth row and the nth column in the array 102 .
像素阵列102中每一像素单元包括光敏传感器以及第一缓冲器,一般来说,所述光敏传感器可用单光子雪崩二极管实现,但本申请不以此限。此外,所述第一缓冲器使通过的信号延迟的时间为第一缓冲器时延TB1,像素阵列102中每一像素单元的所述第一缓冲器的第一缓冲器时延TB1彼此实质相同。飞行时间量测电路100具有一般模式与测试模式,像素阵列102中每一像素单元在所述一般模式下会输出所述光敏传感器的传感结果,在所述测试模式下会输出所述第一缓冲器输出的缓冲结果。Each pixel unit in the pixel array 102 includes a photosensitive sensor and a first buffer. Generally, the photosensitive sensor can be implemented by a single-photon avalanche diode, but the present application is not limited thereto. In addition, the time that the first buffer delays the passing signal is the first buffer delay TB1, and the first buffer delay TB1 of the first buffer of each pixel unit in the pixel array 102 is substantially the same as each other . The time-of-flight measurement circuit 100 has a general mode and a test mode. In the general mode, each pixel unit in the pixel array 102 outputs the sensing result of the photosensor, and in the test mode, it outputs the first The buffered result of the buffer output.
请一并参考图1和图2,图2为像素阵列102中的像素单元P22、P23、P32及P33的电路图。应注意的是,像素阵列102中的每一像素单元皆相同,因此图2所绘示的像素单元P22、P23、P32及P33亦可用来说明其他未绘示的像素单元。以像素单元P22为例,可以看到其进一步包括或门O22及与门A22,其中或门O22的第一输入端耦接至光敏传感器D22,或门O22的第二输入端用来从第一控制器104接收测试模式使能信号TE,测试模式使能信号TE用来指示飞行时间量测电路100目前处于所述测试模式或所述一般模式。与门A22的第一输入端耦接至或门O22的输出端,与门A22的第二输入端耦接至第一缓冲器B22的输出端。Please refer to FIG. 1 and FIG. 2 together. FIG. 2 is a circuit diagram of the pixel units P22 , P23 , P32 and P33 in the pixel array 102 . It should be noted that each pixel unit in the pixel array 102 is the same, so the pixel units P22, P23, P32 and P33 shown in FIG. 2 can also be used to describe other pixel units not shown. Taking the pixel unit P22 as an example, it can be seen that it further includes an OR gate O22 and an AND gate A22, wherein the first input terminal of the OR gate O22 is coupled to the photosensitive sensor D22, and the second input terminal of the OR gate O22 is used to obtain a The controller 104 receives the test mode enable signal TE, and the test mode enable signal TE is used to indicate that the time-of-flight measurement circuit 100 is currently in the test mode or the normal mode. The first input terminal of the AND gate A22 is coupled to the output terminal of the OR gate O22, and the second input terminal of the AND gate A22 is coupled to the output terminal of the first buffer B22.
因此,以像素单元P22为例,在所述一般模式下,使能信号TE为0(低逻辑电平),或门O22会输出所述光敏传感器的传感结果至 与门A22的所述第一输入端,当RS2被设为1(高逻辑电平)时,代表选择读取第2行像素单元P21~P2n,此时高逻辑电平通过第一缓冲器B22使与门A22的所述第二输入端亦为高逻辑电平,使与门A22输出或门O22的输出,即输出所述光敏传感器的传感结果。Therefore, taking the pixel unit P22 as an example, in the general mode, the enable signal TE is 0 (low logic level), and the OR gate O22 will output the sensing result of the photosensor to the first gate of the AND gate A22 An input terminal, when RS2 is set to 1 (high logic level), it means to select and read the pixel units P21-P2n in the second row. At this time, the high logic level passes through the first buffer B22 to make the AND gate A22 The second input terminal is also at a high logic level, so that the AND gate A22 outputs the output of the OR gate O22, that is, outputs the sensing result of the photosensitive sensor.
在所述测试模式下,同样以像素单元P22为例,使能信号TE为1(高逻辑电平),或门O22会持续输出1(高逻辑电平)至与门A22的所述第一输入端,使与门A22的输出跟随与门A22的所述第二输入端的输入,即使与门A22输出第一缓冲器B22输出的缓冲结果。In the test mode, also taking the pixel unit P22 as an example, the enable signal TE is 1 (high logic level), and the OR gate O22 will continue to output 1 (high logic level) to the first of the AND gate A22 The input terminal makes the output of the AND gate A22 follow the input of the second input terminal of the AND gate A22, even though the AND gate A22 outputs the buffered result output by the first buffer B22.
当飞行时间量测电路100以硬件实现时,例如当飞行时间量测电路100以芯片实现时,在集成电路布图(版图)上,第一控制器104较相邻第1列像素单元P11~Pm1所在的一侧,并通过路径RS1~RSm相对应地耦接至第1列像素单元P11~Pm1的第一缓冲器B11~Bm1的输入端,且第x行第y列所述像素单元的所述第一缓冲器的输入端耦接至第x行第y-1列所述像素单元的所述第一缓冲器的输出端,x为1到m的整数,y为2到n的整数。举例来说,第2列像素单元P12~Pm2的第一缓冲器B12~Bm2的输入端耦接至第1列像素单元P11~Pm1的第一缓冲器B11~Bm1的输出端,并依此类推。When the time-of-flight measurement circuit 100 is implemented in hardware, for example, when the time-of-flight measurement circuit 100 is implemented in a chip, on the layout (layout) of the integrated circuit, the first controller 104 is closer to the pixel units P11~ The side where Pm1 is located is correspondingly coupled to the input terminals of the first buffers B11 ˜Bm1 of the pixel units P11 ˜Pm1 in the first column through the paths RS1 ˜RSm, and the pixel units in the xth row and the yth column of the pixel units The input terminal of the first buffer is coupled to the output terminal of the first buffer of the pixel unit in the xth row and the y-1th column, where x is an integer from 1 to m, and y is an integer from 2 to n . For example, the input terminals of the first buffers B12-Bm2 of the pixel units P12-Pm2 in the second row are coupled to the output terminals of the first buffers B11-Bm1 in the pixel units P11-Pm1 in the first row, and so on. .
在所述测试模式下,第一控制器104可针对像素阵列102中任一行像素单元传送第一触发信号S1,例如针对第a行像素单元Pa1~Pan传送第一触发信号S1时,其中a为1到m中任一整数,第一控制器104通过路径RSa传送第一触发信号S1,第一触发信号S1依序通过第a行像素单元Pa1~Pan中的第一缓冲器Ba1~Ban,即以图1来说,呈现向左的横向传递。第一触发信号S1在进入各像素单元Pa1~Pan后,还会经与门Aa1~Aan从各像素单元Pa1~Pan的输出端输出至下一行像素单元的输入端,即以图1来说,呈现向下的纵向传递,也就是说,当a小于m时,第一触发信号S1会从第a行像素单元Pa1~Pan各自的输出端输出后,再依序通过第(a+1)行到第m行像素单元;当a等于m时,第一触发信号S1会直接从第m行像素单元Pm1~Pmn各自的输出端输出至像素阵列102之外的时间数字转换器106。In the test mode, the first controller 104 can transmit the first trigger signal S1 to any row of pixel units in the pixel array 102 , for example, when transmitting the first trigger signal S1 to the pixel units Pa1 to Pan of the a-th row, where a is Any integer from 1 to m, the first controller 104 transmits the first trigger signal S1 through the path RSa, and the first trigger signal S1 sequentially passes through the first buffers Ba1-Ban in the pixel units Pa1-Pan of the a-th row, namely In Figure 1, a lateral transfer to the left is presented. After the first trigger signal S1 enters each pixel unit Pa1-Pan, it will also be output from the output end of each pixel unit Pa1-Pan to the input end of the next row of pixel units via AND gates Aa1-Aan, that is, in FIG. 1, It presents a downward vertical transmission, that is to say, when a is less than m, the first trigger signal S1 will be output from the respective output terminals of the pixel units Pa1-Pan in the a-th row, and then pass through the (a+1)th row in sequence. to the pixel unit of the mth row; when a is equal to m, the first trigger signal S1 is directly output from the respective output terminals of the pixel units Pm1 to Pmn of the mth row to the time-to-digital converter 106 outside the pixel array 102 .
时间数字转换器106包括计数器108、n个暂存器L1~Ln以及第一起始时间暂存器LS1。其中计数器108依据参考时脉计数。n个暂存器L1~Ln包括暂存器L1到暂存器Ln,当飞行时间量测电路100以硬件实现时,例如当飞行时间量测电路100以芯片实现时,在集成电路布图上,暂存器L1~Ln较相邻像素单元Pm1~Pmn所在的一侧,并对应地耦接至像素单元Pm1~Pmn的n个输出端,暂存器L1~Ln分别基于从像素单元Pm1~Pmn的n个输出端所接收到的第一触发信号S1来暂存计数器108的第一计数值。也就是说,当像素单元Pm1输出第一触发信号S1至暂存器L1时,暂存器L1会将计数器108此时的计数结果暂存为第一计数值。在本实施例中,计数器108耦接至第一控制器104,第一控制器104可重置计数器108,也就是使计数器108清零。The time-to-digital converter 106 includes a counter 108, n registers L1-Ln and a first start time register LS1. The counter 108 counts according to the reference clock. The n registers L1-Ln include registers L1 to Ln. When the time-of-flight measurement circuit 100 is implemented in hardware, for example, when the time-of-flight measurement circuit 100 is implemented in chips, the layout of the integrated circuit , the registers L1-Ln are located on the side of the adjacent pixel units Pm1-Pmn, and are correspondingly coupled to the n output terminals of the pixel units Pm1-Pmn. The registers L1-Ln are based on the slave pixel units Pm1-Pmn The first trigger signal S1 received by the n output terminals of Pmn temporarily stores the first count value of the counter 108 . That is to say, when the pixel unit Pm1 outputs the first trigger signal S1 to the register L1, the register L1 temporarily stores the counting result of the counter 108 as the first count value. In this embodiment, the counter 108 is coupled to the first controller 104, and the first controller 104 can reset the counter 108, that is, clear the counter 108 to zero.
图3为用于说明第一触发信号S1于飞行时间量测电路100中的传递方式的示意图。图3中,第一控制器104通过路径RS1传送第一触发信号S1,第一触发信号S1会往左依序通过第1行的所有像素单元P11~P1n,并继续自第1行的像素单元P11~P1n分别往下依序通过第2到第m行的所有像素单元后输出至暂存器L1~Ln。第一触发信号S1从离开第一控制器104到进入暂存器L1~Ln,会经过n条不同路径,即D11~D1n,n条路径D11~D1n所造成的总路径时延都不相同,造成暂存器L1~Ln接收到第一触发信号S1的时间不同,对应的暂存器L1~Ln分别暂存了计数器108在不同时间输出的第一计数值,也就是n个暂存器所暂存的n个第一计数值也都不相同。一般来说,n条路径D11~D1n所造成的总路径时延依序增加,因此,暂存器L1~Ln所暂存的n个第一计数值也依序增加。FIG. 3 is a schematic diagram for explaining a transmission manner of the first trigger signal S1 in the time-of-flight measurement circuit 100 . In FIG. 3, the first controller 104 transmits the first trigger signal S1 through the path RS1, and the first trigger signal S1 will pass through all the pixel units P11-P1n in the first row in sequence to the left, and continue from the pixel units in the first row P11 to P1n respectively pass through all the pixel units in the 2nd to the mth row downwards in sequence, and then output to the temporary registers L1 to Ln. From leaving the first controller 104 to entering the registers L1-Ln, the first trigger signal S1 will pass through n different paths, namely D11-D1n, and the total path delays caused by the n paths D11-D1n are different. As a result, the time at which the registers L1 to Ln receive the first trigger signal S1 are different, and the corresponding registers L1 to Ln temporarily store the first count values output by the counter 108 at different times respectively, that is, the number of the n registers. The temporarily stored n first count values are also different. Generally speaking, the total path delay caused by the n paths D11 ˜ D1 n increases sequentially, and therefore, the n first count values temporarily stored in the registers L1 ˜ Ln also increase sequentially.
第一起始时间暂存器LS1耦接至第1列的m个像素单元P11~Pm1的m个第一缓冲器的输入端,因此,当第一控制器104欲对像素阵列102中任一行像素单元传送第一触发信号S1时,都会一并使第一起始时间暂存器LS1接收第一触发信号S1,并依据接收到的第一触发信号S1暂存计数器108的第一起始时间计数值。因此,将暂存器L1~Ln所暂存的n个第一计数值分别扣掉第一起始时间暂存器LS1 的第一起始时间计数值,便可得到n条路径D11~D1n所造成的总路径时延T11~T1n。The first start time register LS1 is coupled to the input terminals of the m first buffers of the m pixel units P11 ˜Pm1 in the first column. When the unit transmits the first trigger signal S1, the first start time register LS1 receives the first trigger signal S1 and temporarily stores the first start time count value of the counter 108 according to the received first trigger signal S1. Therefore, by deducting the first count value of the first start time of the first start time register LS1 from the n first count values temporarily stored in the registers L1 ˜ Ln respectively, the n paths caused by D11 ˜ D1n can be obtained. Total path delays T11 to T1n.
因此,针对像素阵列102中第1行到第m行像素单元,第一控制器104通过不同的路径RS1~RSm传输第一触发信号S1到暂存器L1~Ln分别都会有n条路径,即总共有n*m条路径D11~D1n、D21~D2n、D31~D3n、...、Dm1~Dmn。当要对飞行时间量测电路100进行测试时,可以先利用测试模式使能信号TE来控制飞行时间量测电路100进入所述测试模式,再针对像素阵列102中第1行到第m行像素单元,以图3的方式,分m次来得到n*m条路径D11~D1n、D21~D2n、D31~D3n、...、Dm1~Dmn。由图3可知:Therefore, for the pixel units in the first row to the mth row in the pixel array 102, the first controller 104 transmits the first trigger signal S1 to the temporary registers L1-Ln through different paths RS1-RSm, and there are n paths respectively, namely There are a total of n*m paths D11-D1n, D21-D2n, D31-D3n, ..., Dm1-Dmn. When the time-of-flight measurement circuit 100 is to be tested, the test mode enable signal TE can be used to control the time-of-flight measurement circuit 100 to enter the test mode, and then the pixels in the first row to the mth row in the pixel array 102 can be tested. The unit obtains n*m paths D11-D1n, D21-D2n, D31-D3n, . . . , Dm1-Dmn in m times in the manner of FIG. 3 . It can be seen from Figure 3 that:
总路径时延Tab=b*TB1+Pab到Lb的时延  (1)Total path delay Tab = b*TB1 + delay from Pab to Lb (1)
,其中a为1到m中任一整数,b为1到n中任一整数。举例来说,路径D11造成的总路径时延T11=1*第一缓冲器时延TB1+像素单元P11到暂存器L1的像素路径时延,路径D12造成的总路径时延T12=2*第一缓冲器时延TB1+像素单元P12到暂存器L2的像素路径时延,依此类推。在某些实施例中,当第一控制器104传送第一触发信号S1时,可同时重置计数器108,以避免计数器108溢出。应注意的是,上述Pab到Lb的像素路径时延以图2的像素单元的电路图实施例来看,包含了与门Aab的时延及与门Aab的输出到Lb的时延的总和。, where a is any integer from 1 to m, and b is any integer from 1 to n. For example, the total path delay caused by the path D11 is T11=1*the first buffer delay TB1+the pixel path delay from the pixel unit P11 to the register L1, the total path delay caused by the path D12 is T12=2*the first A buffer delay TB1 + pixel path delay from pixel unit P12 to register L2, and so on. In some embodiments, when the first controller 104 transmits the first trigger signal S1 , the counter 108 can be reset at the same time to prevent the counter 108 from overflowing. It should be noted that the above-mentioned pixel path delay from Pab to Lb includes the sum of the delay of AND gate Aab and the delay from the output of AND gate Aab to Lb according to the circuit diagram embodiment of the pixel unit in FIG. 2 .
图4为本申请的飞行时间量测电路的第二实施例的示意图,飞行时间量测电路400和飞行时间量测电路100的差异在于,飞行时间量测电路400的时间数字转换器406相较于飞行时间量测电路100的时间数字转换器106多了参考暂存器LR,参考暂存器LR耦接至像素阵列102第n列的m个所述像素单元的m个第一缓冲器的输出端,用来接收第一触发信号S1,参考暂存器LR依据接收到的第一触发信号S1暂存计数器108的参考计数值。参考暂存器LR的用途说明如下。4 is a schematic diagram of a second embodiment of the time-of-flight measurement circuit of the present application. The difference between the time-of-flight measurement circuit 400 and the time-of-flight measurement circuit 100 is that the time-to-digital converter 406 of the time-of-flight measurement circuit 400 is compared with A reference register LR is added to the time-to-digital converter 106 of the time-of-flight measurement circuit 100, and the reference register LR is coupled to the m first buffers of the m pixel units in the n-th column of the pixel array 102. The output terminal is used for receiving the first trigger signal S1, and the reference register LR temporarily stores the reference count value of the counter 108 according to the received first trigger signal S1. The purpose of the reference register LR is explained as follows.
图5为用于说明第一触发信号S1于飞行时间量测电路400中的 传递方式的示意图。图5中,除了n*m条路径D11~D1n、D21~D2n、D31~D3n、...、Dm1~Dmn以外,还会有m条路径D1R~DmR会在向下的纵向传递时不经过任何像素单元而直接到达参考暂存器LR。假设向下纵向传递时不经过像素单元的路径不会产生时延,则路径D1R~DmR造成的总路径时延T1R~TmR皆相等,且等于n*第一缓冲器时延TB1。因此,将参考暂存器LR所暂存的参考计数值扣掉第一起始时间暂存器LS1的第一起始时间计数值,便可得到路径D1R~DmR造成的总路径时延T1R~TmR,再除以n即可得到第一缓冲器时延TB1。将第一缓冲器时延TB1带入方程式(1)即可得到Pab到Lb的像素路径时延,其中a为1到m中任一整数,b为1到n中任一整数。因此飞行时间量测电路400导入了参考暂存器LR后,可更进一步地取得第一缓冲器时延TB1和Pab到Lb的像素路径时延。FIG. 5 is a schematic diagram for explaining the transmission method of the first trigger signal S1 in the time-of-flight measurement circuit 400. As shown in FIG. In Fig. 5, in addition to the n*m paths D11-D1n, D21-D2n, D31-D3n, ..., Dm1-Dmn, there are also m paths D1R-DmR that do not pass through in the downward vertical transmission Any pixel unit directly reaches the reference register LR. Assuming that the path that does not pass through the pixel unit does not generate a delay during the downward vertical transmission, the total path delays T1R-TmR caused by the paths D1R-DmR are all equal and equal to n*the first buffer delay TB1. Therefore, by deducting the first start time count value of the first start time register LS1 from the reference count value temporarily stored in the reference register LR, the total path delays T1R to TmR caused by the paths D1R to DmR can be obtained, Divide by n again to obtain the first buffer delay TB1. The pixel path delay from Pab to Lb can be obtained by taking the first buffer delay TB1 into equation (1), where a is any integer from 1 to m, and b is any integer from 1 to n. Therefore, after the time-of-flight measurement circuit 400 introduces the reference register LR, the first buffer delay TB1 and the pixel path delay from Pab to Lb can be further obtained.
图6为本申请的飞行时间量测电路的第三实施例的示意图,飞行时间量测电路600和飞行时间量测电路100的差异在于,飞行时间量测电路600的像素阵列602中的每一像素单元还包括第二缓冲器,其中所述第二缓冲器使通过的信号延迟第二缓冲器时延TB2,且每一像素单元在所述测试模式下输出所述第一缓冲器或所述第二缓冲器输出的缓冲结果。此外,飞行时间量测电路600还增加了第二控制器604,时间数字转换器106还包括第二起始时间暂存器LS2。6 is a schematic diagram of a third embodiment of the time-of-flight measurement circuit of the present application. The difference between the time-of-flight measurement circuit 600 and the time-of-flight measurement circuit 100 is that each of the pixel arrays 602 of the time-of-flight measurement circuit 600 The pixel unit also includes a second buffer, wherein the second buffer delays passing signals by a second buffer delay TB2, and each pixel unit outputs the first buffer or the The buffered result output by the second buffer. In addition, a second controller 604 is added to the flight time measurement circuit 600, and the time-to-digital converter 106 further includes a second start time register LS2.
请一并参考图6和图7,图7为像素阵列602中的像素单元P22'、P23'、P32'及P33'的电路图。应注意的是,像素阵列602中的每一像素单元皆相同,因此图7所绘示的像素单元P22'、P23'、P32'及P33'亦可用来说明其他未绘示的像素单元。以像素单元P22'为例,可以看到其进一步包括第一或门O22、第二或门O22'及与门A22,其中第一或门O22的第一输入端耦接至光敏传感器D22,第一或门O22的第二输入端用来从第一控制器104和第二控制器604接收测试模式使能信号TE,测试模式使能信号TE用来指示飞行时间量测电路100目前处于所述测试模式或所述一般模式。第二或门O22'的第一输入端耦接至第一缓冲器B22的输出端,第二或门O22'的第二输入端耦接至第二缓冲器B22'的输出端。与门A22的第一输入端耦接至第一或门 O22的输出端,与门A22的第二输入端耦接至第二或门O22'的输出端。Please refer to FIG. 6 and FIG. 7 together. FIG. 7 is a circuit diagram of the pixel units P22 ′, P23 ′, P32 ′ and P33 ′ in the pixel array 602 . It should be noted that each pixel unit in the pixel array 602 is the same, so the pixel units P22', P23', P32' and P33' shown in FIG. 7 can also be used to describe other not-shown pixel units. Taking the pixel unit P22' as an example, it can be seen that it further includes a first OR gate O22, a second OR gate O22' and an AND gate A22, wherein the first input end of the first OR gate O22 is coupled to the photosensitive sensor D22, and the first OR gate O22 is coupled to the photosensitive sensor D22. The second input terminal of the OR gate O22 is used to receive the test mode enable signal TE from the first controller 104 and the second controller 604. The test mode enable signal TE is used to indicate that the time-of-flight measurement circuit 100 is currently in the Test mode or the general mode described. The first input terminal of the second OR gate O22' is coupled to the output terminal of the first buffer B22, and the second input terminal of the second OR gate O22' is coupled to the output terminal of the second buffer B22'. The first input terminal of the AND gate A22 is coupled to the output terminal of the first OR gate O22, and the second input terminal of the AND gate A22 is coupled to the output terminal of the second OR gate O22'.
当飞行时间量测电路100以硬件实现时,例如当飞行时间量测电路100以芯片实现时,在集成电路布图上,第二控制器604较相邻第n列像素单元P1n'~Pmn'所在的一侧,并通过路径RS1'~RSm'相对应地耦接至第n列像素单元P1n'~Pmn'的第二缓冲器B11'~Bm1'的输入端,且第x行第y-1列所述像素单元的所述第二缓冲器的输入端耦接至第x行第y列所述像素单元的所述第二缓冲器的输出端,x为1到m的整数,y为2到n的整数。举例来说,第1列像素单元P11'~Pm1'的第二缓冲器B11'~Bm1'的输入端耦接至第2列像素单元P12'~Pm2'的第二缓冲器B12'~Bm2'的输出端,并依此类推。When the time-of-flight measurement circuit 100 is implemented in hardware, for example, when the time-of-flight measurement circuit 100 is implemented in a chip, on the layout of the integrated circuit, the second controller 604 is closer to the pixel units P1n' to Pmn' in the nth row adjacent to each other. on the side where it is located, and are correspondingly coupled to the input terminals of the second buffers B11 ′-Bm1 ' of the pixel units P1n'-Pmn' in the n-th column through the paths RS1'-RSm', and the y-th row of the x-th row is y- The input terminal of the second buffer of the pixel unit in column 1 is coupled to the output terminal of the second buffer of the pixel unit in the xth row and the yth column, where x is an integer from 1 to m, and y is An integer from 2 to n. For example, the input terminals of the second buffers B11'-Bm1' of the pixel units P11'-Pm1' in the first row are coupled to the second buffers B12'-Bm2' of the pixel units P12'-Pm2' in the second row output, and so on.
在所述测试模式下,第二控制器604可针对像素阵列602中任一行像素单元传送第二触发信号S2,例如针对第a行像素单元Pan'~Pa1'传送第二触发信号S2时,其中a为1到m中任一整数,第二控制器604通过路径RSa'传送第二触发信号S2,第二触发信号S2依序通过第a行像素单元Pan'~Pa1'中的第二缓冲器Ban'~Ba1',即以图6来说,呈现向右的横向传递。第二触发信号S2在进入各像素单元Pan'~Pa1'后,还会经与门Aan'~Aa1'从各像素单元Pan'~Pa1'的输出端输出至下一行像素单元的输入端,即以图6来说,呈现向下的纵向传递,也就是说,当a小于m时,第二触发信号S2会从第a行像素单元Pan'~Pa1'各自的输出端输出后,再依序通过第(a+1)行到第m行像素单元;当a等于m时,第二触发信号S2会直接从第m行像素单元Pmn'~Pm1'各自的输出端输出至像素阵列102之外的时间数字转换器606。In the test mode, the second controller 604 can transmit the second trigger signal S2 for any row of pixel units in the pixel array 602 , for example, when transmitting the second trigger signal S2 for the pixel units Pan′˜Pa1 ′ in the a-th row, wherein a is any integer from 1 to m, the second controller 604 transmits the second trigger signal S2 through the path RSa', and the second trigger signal S2 sequentially passes through the second buffers in the pixel units Pan'-Pa1' in the a-th row Ban'-Ba1', that is, in the case of Fig. 6, present the lateral transfer to the right. After the second trigger signal S2 enters each pixel unit Pan'-Pa1', it will also be output from the output end of each pixel unit Pan'-Pa1' to the input end of the next row of pixel units via AND gates Aan'-Aa1', that is, Referring to FIG. 6 , the vertical transmission is downward, that is to say, when a is less than m, the second trigger signal S2 will be output from the respective output terminals of the pixel units Pan' to Pa1' in the a-th row, and then sequentially. Through the (a+1)th row to the mth row of pixel units; when a is equal to m, the second trigger signal S2 will be directly output from the respective output terminals of the mth row of pixel units Pmn' to Pm1' to the outside of the pixel array 102 The time-to-digital converter 606.
针对第二触发信号S2,暂存器Ln~L1分别基于从像素单元Pmn~Pm1的n个输出端所接收到的第二触发信号S2来暂存计数器108的第二计数值。也就是说,当像素单元Pmn输出第二触发信号S2至暂存器Ln时,暂存器Ln会将计数器108此时的计数结果暂存为第二计数值。在本实施例中,计数器108还耦接至第二控制器604,第二控制器604可重置计数器108,也就是使计数器108清零。For the second trigger signal S2, the registers Ln-L1 temporarily store the second count value of the counter 108 based on the second trigger signal S2 received from the n output terminals of the pixel units Pmn-Pm1, respectively. That is, when the pixel unit Pmn outputs the second trigger signal S2 to the register Ln, the register Ln temporarily stores the counting result of the counter 108 as the second count value. In this embodiment, the counter 108 is further coupled to the second controller 604 , and the second controller 604 can reset the counter 108 , that is, clear the counter 108 to zero.
图8为用于说明第二触发信号S2于飞行时间量测电路600中的传递方式的示意图。图8中,第二控制器604通过路径RS1'传送第二触发信号S2,第二触发信号S2会往右依序通过第1行像素单元P1n'~P11',并继续自第1行像素单元P1n'~P11'分别往下依序通过第2到第m行像素单元后输出至暂存器Ln~L1。第二触发信号S2从离开第二控制器604到进入暂存器Ln~L1,会经过n条不同路径,即D1n'~D11',n条路径D1n'~D11'所造成的总路径时延都不相同,造成暂存器Ln~L1接收到第二触发信号S2的时间不同,对应的暂存器Ln~L1分别暂存了计数器108在不同时间输出的第二计数值,也就是n个暂存器所暂存的n个第二计数值也都不相同。一般来说,n条路径D1n'~D11'所造成的总路径时延依序增加,因此,暂存器Ln~L1所暂存的n个第二计数值也依序增加。FIG. 8 is a schematic diagram for explaining a transmission manner of the second trigger signal S2 in the time-of-flight measurement circuit 600 . In FIG. 8 , the second controller 604 transmits the second trigger signal S2 through the path RS1 ′, and the second trigger signal S2 will pass through the first row of pixel units P1n ′ to P11 ′ in sequence to the right, and continue from the first row of pixel units P1n'-P11' respectively pass through the pixel units in the 2nd to the m-th row downward in sequence, and then output to the temporary registers Ln-L1. From leaving the second controller 604 to entering the registers Ln-L1, the second trigger signal S2 passes through n different paths, namely D1n'-D11', and the total path delay caused by the n paths D1n'-D11' are different, resulting in different times at which the registers Ln-L1 receive the second trigger signal S2, and the corresponding registers Ln-L1 temporarily store the second count values output by the counter 108 at different times, that is, n The n second count values temporarily stored in the temporary register are also different. Generally speaking, the total path delay caused by the n paths D1n'-D11' increases in sequence, so the n second count values temporarily stored in the registers Ln-L1 also increase in sequence.
第二起始时间暂存器LS2耦接至第n列的m个像素单元P1n'~Pmn'的m个第二缓冲器的输入端,因此,当第二控制器604欲对像素阵列602中任一行像素单元传送第二触发信号S2时,都会一并使第二起始时间暂存器LS2接收第二触发信号S2,并依据接收到的第二触发信号S2暂存计数器108的第二起始时间计数值。因此,将暂存器Ln~L1所暂存的n个第二计数值分别扣掉第二起始时间暂存器LS2的第二起始时间计数值,便可得到n条路径D1n'~D11'所造成的总路径时延T1n'~T11'。The second start time register LS2 is coupled to the input terminals of the m second buffers of the m pixel units P1n' to Pmn' in the nth column. Therefore, when the second controller 604 wants to When any row of pixel units transmits the second trigger signal S2, the second start time register LS2 will also receive the second trigger signal S2, and temporarily store the second start time of the counter 108 according to the received second trigger signal S2. Start time count value. Therefore, by deducting the second start time count value of the second start time register LS2 from the n second count values temporarily stored in the registers Ln to L1, n paths D1n' to D11 can be obtained. 'The total path delay caused by T1n'~T11'.
因此,针对像素阵列602中第1行到第m行像素单元,第二控制器604通过不同的路径RS1~RSm传输第二触发信号S2到暂存器Ln~L1分别都会有n条路径,即总共有n*m条路径D1n'~D11'、D2n'~D21'、D3n'~D31'、...、Dmn'~Dm1'。当要对飞行时间量测电路600进行测试时,可以先利用测试模式使能信号TE来控制飞行时间量测电路600进入所述测试模式,再针对像素阵列602中第1行到第m行像素单元,以图8的方式,分m次来得到n*m条路径D1n'~D11'、D2n'~D21'、D3n'~D31'、...、Dmn'~Dm1'。由图8可知:Therefore, for the pixel units in the first row to the mth row in the pixel array 602, the second controller 604 transmits the second trigger signal S2 to the temporary registers Ln-L1 through different paths RS1-RSm, and there are n paths respectively, namely There are a total of n*m paths D1n' to D11', D2n' to D21', D3n' to D31', ..., Dmn' to Dm1'. When the time-of-flight measurement circuit 600 is to be tested, the test mode enable signal TE can be used to control the time-of-flight measurement circuit 600 to enter the test mode, and then the pixels in the first row to the mth row in the pixel array 602 can be tested. The unit obtains n*m paths D1n' to D11', D2n' to D21', D3n' to D31', . . . , Dmn' to Dm1' in m times in the manner of FIG. 8 . It can be seen from Figure 8 that:
总路径时延Tab'=(n-b+1)*TB2+Pab'到Lb的时延  (2)Total path delay Tab'=(n-b+1)*TB2+Pab' to Lb delay (2)
,其中a为1到m中任一整数,b为1到n中任一整数。举例来说,路径D11'造成的总路径时延T11'=n*第二缓冲器时延TB2+像素单元P11'到暂存器L1的像素路径时延,路径D12'造成的总路径时延TD12=(n-1)*第二缓冲器时延TB2+像素单元P12'到暂存器L2的像素路径时延,依此类推。在某些实施例中,当第二控制器604传送第二触发信号S2时,可同时重置计数器108,以避免计数器108溢出。, where a is any integer from 1 to m, and b is any integer from 1 to n. For example, the total path delay T11' caused by the path D11'=n*the second buffer delay TB2+the pixel path delay from the pixel unit P11' to the register L1, the total path delay TD12 caused by the path D12' =(n-1)*second buffer delay TB2+pixel path delay from pixel unit P12' to temporary register L2, and so on. In some embodiments, when the second controller 604 transmits the second trigger signal S2, the counter 108 may be reset at the same time to prevent the counter 108 from overflowing.
此外,当使用第一控制器104传送第一触发信号S1时,方程式(1)可改写为:In addition, when using the first controller 104 to transmit the first trigger signal S1, equation (1) can be rewritten as:
Tab=b*TB1+Pab'到Lb的像素路径时延  (3)Tab=b*TB1+Pab' to Lb pixel path delay (3)
利用第一控制器104连同第二控制器604,便可以使得飞行时间量测电路400更进一步地取得第一缓冲器时延TB1、第二缓冲器时延TB2和Pab'到Lb的像素路径时延。具体说明于图9。Using the first controller 104 together with the second controller 604, the time-of-flight measurement circuit 400 can further obtain the first buffer delay TB1, the second buffer delay TB2 and the pixel path time from Pab' to Lb extension. The specific description is shown in FIG. 9 .
图9中,利用:In Figure 9, use:
路径D12的总路径时延T12=2*TB1+P12'到L2的像素路径时延Total path delay of path D12 T12=2*TB1+P12' to pixel path delay of L2
                              (4)(4)
路径D1n的总路径时延T1n=n*TB1+P1n'到Ln的像素路径时延The total path delay of the path D1n T1n=n*TB1+P1n' to the pixel path delay of Ln
                              (5)(5)
路径D12'的总路径时延T12'=(n-1)*TB2+P12'到L2的像素路径时延                           (6)Total path delay of path D12' T12'=(n-1)*TB2+P12' to pixel path delay of L2 (6)
路径D1n'的总路径时延T1n'=1*TB2+P1n'到Ln的像素路径时延Total path delay of path D1n' T1n'=1*TB2+P1n' to pixel path delay of Ln
                                         (7)(7)
在总共有四个未知数(第一缓冲器时延TB1、第二缓冲器时延TB2、P12'到L2的像素路径时延、P1n'到Ln的像素路径时延)的情况下,将利用四条路径(D12、D1n、D12'、D1n')得到的四个量测到的总路径时延(T12、T1n、T12'、T1n')带入方程式(4)~(7),便可以求出四个未知数,因此,图9的实施例和图5的实施例有相同效果。With a total of four unknowns (first buffer delay TB1, second buffer delay TB2, pixel path delay from P12' to L2, pixel path delay from P1n' to Ln), four The four measured total path delays (T12, T1n, T12', T1n') obtained from the paths (D12, D1n, D12', D1n') are brought into equations (4) to (7) to obtain Four unknowns, therefore, the embodiment of FIG. 9 has the same effect as the embodiment of FIG. 5 .
本申请还提供了一种芯片,其包括飞行时间量测电路100/400/600。本申请还提供了一种电子装置,包括飞行时间量测电路100/400/600或所述芯片。其中,所述电子装置可为例如智能型手机、个人数字助理、手持式计算机系统、平板计算机或数码相机等任何电子装置。The present application also provides a chip, which includes the time-of-flight measurement circuit 100/400/600. The present application also provides an electronic device including the time-of-flight measurement circuit 100/400/600 or the chip. The electronic device may be any electronic device such as a smart phone, a personal digital assistant, a handheld computer system, a tablet computer or a digital camera.
本申请的飞行时间量测电路100/400/600能够在测试模式下得到第一控制电路104及/或第二控制电路604经过像素阵列102/602到达时间数字转换器106/406/606的像素路径时延,且针对经过每个像素单元的路径D11~D1n、D21~D2n、D31~D3n、...、Dm1~Dmn都可单独估计出一个像素路径时延,相较于一般作法更为精准,在供飞行时间量测电路100/400/600在一般模式量测飞行时间时的校正之用时,可以使量测飞行时间的准确度提高。以图5为例,在所述一般模式下量测飞行时间时,当RS2被设为1(高逻辑电平)时,代表选择读取第2行像素单元P21~P2n,当像素单元P21中的光敏传感器D21感测到反射回来的光子时,传感结果经过或门O21及与门A23后向下纵向传递,经过像素单元P31~Pm1到达暂存器L1,这段时间的时延并非飞行时间,而是额外的延迟。而本申请可预先估算出这段时间的时延,即接近图5和图9的实施例所出算出的P21到Lb的像素路径时延(差别仅在于图5和图9的实施例所出算出的P21到Lb的像素路径时延不包含或门O21的时延)。如此一来,通过将时间数字转换器得到的飞行时间扣除P21到Lb的像素路径时延,可进一步提升飞行时间的准确度。The time-of-flight measurement circuit 100/400/600 of the present application can obtain the pixels of the first control circuit 104 and/or the second control circuit 604 arriving at the time-to-digital converter 106/406/606 through the pixel array 102/602 in the test mode path delay, and for the paths D11~D1n, D21~D2n, D31~D3n, ..., Dm1~Dmn passing through each pixel unit, a pixel path delay can be estimated separately, which is more efficient than the general practice. Accurate, when the flight time measurement circuit 100/400/600 is used for the calibration of the flight time measurement in the normal mode, the accuracy of the flight time measurement can be improved. Taking FIG. 5 as an example, when measuring the flight time in the general mode, when RS2 is set to 1 (high logic level), it means that the pixel units P21 to P2n in the second row are selected to be read. When the photosensitive sensor D21 of the sensor detects the reflected photons, the sensing result passes through the OR gate O21 and the AND gate A23 and then transmits it vertically downwards, and reaches the temporary register L1 through the pixel units P31~Pm1. The delay during this time is not a flight. time, but an additional delay. However, the present application can pre-estimate the delay during this period, that is, it is close to the pixel path delay from P21 to Lb calculated in the embodiments of FIG. 5 and FIG. The calculated pixel path delay from P21 to Lb does not include the delay of OR gate O21). In this way, the accuracy of the flight time can be further improved by deducting the pixel path delay from P21 to Lb from the flight time obtained by the time-to-digital converter.
此外,上述的飞行时间量测电路在所述测试模式及所述一般模式下的控制方法的各实施例可以使用控制器(未绘示于图中)来进行,所述控制器可以位于所述飞行时间量测电路之内或之外,或部分位于所述飞行时间量测电路之内,部分位于所述飞行时间量测电路之外。In addition, each embodiment of the above-mentioned control method of the time-of-flight measurement circuit in the test mode and the general mode can be performed using a controller (not shown in the figure), and the controller can be located in the Inside or outside the time of flight measurement circuit, or partially within the time of flight measurement circuit and partially outside the time of flight measurement circuit.
上文的叙述简要地提出了本申请某些实施例之特征,而使得本申请所属技术领域具有通常知识者能够更全面地理解本揭示内容的多种态样。本申请所属技术领域具有通常知识者当可明了,其可轻易地 利用本揭示内容作为基础,来设计或更动其他工艺与结构,以实现与此处所述之实施方式相同的目的和/或达到相同的优点。本申请所属技术领域具有通常知识者应当明白,这些均等的实施方式仍属于本揭示内容之精神与范围,且其可进行各种变更、替代与更动,而不会悖离本揭示内容之精神与范围。The foregoing description briefly sets forth features of certain embodiments of the application, so that those skilled in the art to which this application pertains can more fully understand the various aspects of the present disclosure. It should be apparent to those skilled in the art to which this application pertains that they can readily use the present disclosure as a basis to design or modify other processes and structures for carrying out the same purposes and/or of the embodiments described herein achieve the same advantages. Those with ordinary knowledge in the technical field to which this application belongs should understand that these equivalent embodiments still belong to the spirit and scope of the present disclosure, and various changes, substitutions and alterations can be made without departing from the spirit of the present disclosure. with scope.

Claims (13)

  1. 一种飞行时间量测电路,其特征在于,包括:A time-of-flight measurement circuit, comprising:
    像素阵列,包括m行×n列像素单元,其中m,n为正整数,且每一所述像素单元包括:A pixel array, including m rows×n columns of pixel units, where m, n are positive integers, and each of the pixel units includes:
    光敏传感器;以及photosensors; and
    第一缓冲器,其中所述第一缓冲器使通过的信号延迟的时间为第一缓冲器时延;a first buffer, wherein the time by which the first buffer delays the passing signal is the first buffer delay;
    其中所述像素单元在一般模式下输出所述光敏传感器的传感结果,以及所述像素单元在测试模式下输出所述第一缓冲器输出的缓冲结果;wherein the pixel unit outputs the sensing result of the photosensitive sensor in the general mode, and the pixel unit outputs the buffering result output by the first buffer in the test mode;
    第一控制器,耦接至第1列所述像素单元中的每一个的所述第一缓冲器的输入端,且第x行第y列所述像素单元的所述第一缓冲器的输入端耦接至第x行第y-1列所述像素单元的所述第一缓冲器的输出端,x为1到m的整数,y为2到n的整数,其中在所述测试模式下,所述第一控制器传送第一触发信号,使所述第一触发信号依序通过第x行的第1至第y列所述像素单元各自的所述第一缓冲器,当x小于m时,所述第一触发信号并进一步从第x行第y列所述像素单元的所述第一缓冲器的输出端经所述第x行第y列所述像素单元的输出端输出至第(x+1)行第y列所述像素单元,直到到达第m行第y列所述像素单元;以及a first controller coupled to the input of the first buffer of each of the pixel units in the first column, and the input of the first buffer of the pixel unit in the xth row and the yth column The terminal is coupled to the output terminal of the first buffer of the pixel unit in the xth row and the y-1th column, where x is an integer from 1 to m, and y is an integer from 2 to n, wherein in the test mode , the first controller transmits a first trigger signal, so that the first trigger signal sequentially passes through the first buffers of the pixel units in the 1st to yth columns of the xth row, when x is less than m When , the first trigger signal is further output from the output end of the first buffer of the pixel unit at the xth row and the yth column to the output end of the pixel unit at the xth row and the yth column. (x+1) the pixel unit of row y column until reaching the pixel unit of row m and column y; and
    时间数字转换器,包括:Time-to-digital converters, including:
    计数器,耦接至所述第一控制器,并依据参考时脉计数;a counter, coupled to the first controller, and counting according to a reference clock;
    n个暂存器,包括第1所述暂存器到第n所述暂存器,对应地耦接至第m行的第1到第n列所述像素单元的n个输出端,其中,第y所述暂存器基于从第m行第y列所述像素单元的输出端所接收到的所述第一触发信号来暂存所述计数器的第一计数值;以及n registers, including the first register to the nth register, are correspondingly coupled to the n output ends of the pixel units in the mth row, the 1st to the nth column, wherein, The y-th temporary register temporarily stores the first count value of the counter based on the first trigger signal received from the output terminal of the pixel unit in the m-th row and the y-th column; and
    第一起始时间暂存器,耦接至第1列的m个所述像素单元的m个所述第一缓冲器的输入端,用来接收所述第一触发信号,所述第一起始时间暂存器依据接收到的所述第 一触发信号暂存所述计数器的第一起始时间计数值。a first start time register, coupled to the input ends of the m first buffers of the m pixel units in the first column, for receiving the first trigger signal, the first start time The register temporarily stores the count value of the first start time of the counter according to the received first trigger signal.
  2. 如权利要求1所述的飞行时间量测电路,其特征在于,每一所述像素单元还包括:The time-of-flight measurement circuit of claim 1, wherein each of the pixel units further comprises:
    或门,其中所述或门的第一输入端耦接至所述光敏传感器,所述或门的第二输入端用来从所述第一控制器接收测试模式使能信号,所述测试模式使能信号用来指示所述飞行时间量测电路目前处于所述测试模式或所述一般模式;以及OR gate, wherein the first input terminal of the OR gate is coupled to the photosensitive sensor, and the second input terminal of the OR gate is used to receive a test mode enable signal from the first controller, the test mode an enable signal to indicate that the time-of-flight measurement circuit is currently in the test mode or the general mode; and
    与门,其中所述与门的第一输入端耦接至所述或门的输出端,所述与门的第二输入端耦接至所述第一缓冲器的输出端。and gate, wherein the first input terminal of the AND gate is coupled to the output terminal of the OR gate, and the second input terminal of the AND gate is coupled to the output terminal of the first buffer.
  3. 如权利要求1或2所述的飞行时间量测电路,其特征在于,所述时间数字转换器还包括:The time-of-flight measurement circuit according to claim 1 or 2, wherein the time-to-digital converter further comprises:
    参考暂存器,耦接至第n列的m个所述像素单元的m个所述第一缓冲器的输出端,用来接收所述第一触发信号,所述参考暂存器依据接收到的所述第一触发信号暂存所述计数器的参考计数值。a reference register, coupled to the output ends of the m first buffers of the m pixel units in the nth column, and used for receiving the first trigger signal, the reference register according to the received The first trigger signal temporarily stores the reference count value of the counter.
  4. 如权利要求1所述的飞行时间量测电路,其特征在于,每一所述像素单元还包括:The time-of-flight measurement circuit of claim 1, wherein each of the pixel units further comprises:
    第二缓冲器,其中所述第二缓冲器使通过的信号延迟第二缓冲器时延,且所述像素单元在所述测试模式下输出所述第一缓冲器或所述第二缓冲器输出的缓冲结果;a second buffer, wherein the second buffer delays the passing signal by a second buffer delay, and the pixel cell outputs the first buffer or the second buffer output in the test mode the buffered result;
    其中所述飞行时间量测电路还包括:The time-of-flight measurement circuit further includes:
    第二控制器,耦接至第n列所述像素单元中的每一个的所述第二缓冲器的输入端,且第x行第y-1列所述像素单元的所述第二缓冲器的输入端耦接至第x行第y列所述像素单元的所述第二缓冲器的输出端,其中在所述测试模式下,所述第二控制器传送第二触发信号,使所述第二触发信号依序通过第x行的第n至第y列所述像素单元各自的所述第二缓冲器,当x小于m时,所述第二触发信号并进一步从第x行第y列所述像素单元的所述第 二缓冲器的输出端经所述第x行第y列所述像素单元的输出端输出至第(x+1)行第y列所述像素单元,直到到达第m行第y列所述像素单元;a second controller coupled to the input terminal of the second buffer of each of the pixel units in the nth column, and the second buffer of the pixel unit in the xth row and the y-1th column The input terminal of t is coupled to the output terminal of the second buffer of the pixel unit in the xth row and the yth column, wherein in the test mode, the second controller transmits a second trigger signal to make the The second trigger signal passes through the respective second buffers of the pixel units in the nth to yth columns of the xth row in sequence. When x is less than m, the second trigger signal further starts from the xth row and the yth The output terminal of the second buffer of the pixel unit of the column is output to the pixel unit of the (x+1)th row and the yth column through the output terminal of the pixel unit of the xth row and the yth column until reaching the The pixel unit of the mth row and the yth column;
    其中所述计数器还耦接至所述第二控制器,且所述时间数字转换器还包括:wherein the counter is further coupled to the second controller, and the time-to-digital converter further includes:
    第二起始时间暂存器,耦接至第n列的m个所述像素单元的m个所述第二缓冲器的输入端,并用来接收所述第二触发信号,所述第二起始时间暂存器依据接收到的所述第二触发信号暂存所述计数器的第二起始时间计数值,其中所述n个暂存器分别基于从第m行所述像素单元中的每一个的输出端所接收到的所述第二触发信号来暂存所述计数器的第二计数值。The second start time register is coupled to the input ends of the m second buffers of the m pixel units in the nth column, and is used for receiving the second trigger signal. The second start time register The start time register temporarily stores the second start time count value of the counter according to the received second trigger signal, wherein the n registers are respectively based on each pixel unit from the mth row. The second trigger signal received by one output terminal is used to temporarily store the second count value of the counter.
  5. 如权利要求4所述的飞行时间量测电路,其特征在于,每一所述像素单元还包括:The time-of-flight measurement circuit of claim 4, wherein each of the pixel units further comprises:
    第一或门,其中所述第一或门的第一输入端耦接至所述光敏传感器,所述第一或门的第二输入端用来从所述第一控制器接收测试模式使能信号,所述测试模式使能信号用来指示所述飞行时间量测电路目前处于所述测试模式或所述一般模式;a first OR gate, wherein a first input of the first OR gate is coupled to the photosensor, and a second input of the first OR gate is used to receive a test mode enable from the first controller a signal, the test mode enable signal is used to indicate that the time-of-flight measurement circuit is currently in the test mode or the general mode;
    第二或门,其中所述第二或门的第一输入端耦接至所述第一缓冲器的输出端,所述第二或门的第二输入端耦接至所述第二缓冲器的输出端;以及A second OR gate, wherein the first input terminal of the second OR gate is coupled to the output terminal of the first buffer, and the second input terminal of the second OR gate is coupled to the second buffer the output; and
    与门,其中所述与门的第一输入端耦接至所述第一或门的输出端,所述与门的第二输入端耦接至所述第二或门的输出端。AND gate, wherein the first input terminal of the AND gate is coupled to the output terminal of the first OR gate, and the second input terminal of the AND gate is coupled to the output terminal of the second OR gate.
  6. 一种用于权利要求3所述的飞行时间量测电路的控制方法,其特征在于,包括:A control method for the time-of-flight measurement circuit according to claim 3, characterized in that, comprising:
    控制所述飞行时间量测电路进入所述测试模式;controlling the flight time measurement circuit to enter the test mode;
    利用所述第一控制器在第一时间点传送所述第一触发信号,使所述第一触发信号依序通过第x行第1列至第x行第n列所述像素单元中的每一像素单元的所述第一缓冲器,以得到:The first trigger signal is transmitted by the first controller at a first time point, so that the first trigger signal sequentially passes through each of the pixel units in the pixel units in the xth row and the first column to the xth row and the nth column. The first buffer of a pixel unit to obtain:
    所述第一起始时间计数值;the first start time count value;
    第y所述暂存器的所述第一计数值,其对应到y个所述第一缓冲器时延及第x行第y列所述像素单元到第y所述暂存器的像素路径时延的和;以及The first count value of the y-th register corresponds to the y-th first buffer delay and the pixel path from the pixel unit at the x-th row and the y-th column to the y-th register the sum of the delays; and
    所述参考暂存器的所述参考计数值,其对应到m个所述第一缓冲器时延;the reference count value of the reference register, which corresponds to m delays of the first buffer;
    依据所述第一起始时间计数值及所述参考计数值来得到所述第一缓冲器时延;obtaining the first buffer delay according to the first start time count value and the reference count value;
    依据所述第一起始时间计数值及所述第一计数值来得到所述第一触发信号经第x行第1至第y列所述像素单元中各自的所述第一缓冲器后,再经第y列第x至第m行所述像素单元传递到第y所述暂存器的总路径时延;以及After the first trigger signal is obtained according to the first start time count value and the first count value and passes through the respective first buffers in the pixel units of the xth row, the 1st to the yth column, and then the total path delay passed from the pixel units in the yth column xth to the mth row to the yth register; and
    依据所述第一缓冲器时延及所述总路径时延得到第x行第y列所述像素单元到第y所述暂存器的所述像素路径时延。The pixel path delay from the pixel unit in the xth row and the yth column to the yth temporary register is obtained according to the first buffer delay and the total path delay.
  7. 如权利要求6所述的控制方法,其特征在于,还包括:The control method of claim 6, further comprising:
    利用所述第一控制器在所述第一时间点重置所述计数器。The counter is reset at the first point in time with the first controller.
  8. 如权利要求6所述的控制方法,其特征在于,还包括:The control method of claim 6, further comprising:
    控制所述飞行时间量测电路进入所述一般模式,使第x行第y列所述像素单元的所述光敏传感器的传感结果通过第y所述暂存器输出对应的飞行时间信号;以及controlling the flight time measurement circuit to enter the general mode, so that the sensing result of the photosensitive sensor of the pixel unit in the xth row and the yth column outputs the corresponding flight time signal through the yth temporary register; and
    依据所述飞行时间信号与第x行第y列所述像素单元到第y所述暂存器的像素路径时延得到修正后的飞行时间信号。The modified time-of-flight signal is obtained according to the time-of-flight signal and the pixel path delay from the pixel unit in the x-th row and the y-th column to the y-th temporary register.
  9. 一种用于权利要求4或5所述的飞行时间量测电路的控制方法,其特征在于,包括:A control method for the time-of-flight measurement circuit according to claim 4 or 5, characterized in that, comprising:
    控制所述飞行时间量测电路进入所述测试模式;controlling the flight time measurement circuit to enter the test mode;
    利用所述第一控制器在第一时间点传送所述第一触发信号,使所述第一触发信号依序通过第x行第1列至第x行第n列所述像素单元中的每一像素单元的所述第一缓冲器,以得到:The first trigger signal is transmitted by the first controller at a first time point, so that the first trigger signal sequentially passes through each of the pixel units in the pixel units in the xth row and the first column to the xth row and the nth column. The first buffer of a pixel unit to obtain:
    所述第一起始时间计数值;the first start time count value;
    第y所述暂存器的所述第一计数值,其对应到y个所述第一缓冲器时延及第x行第y列所述像素单元到第y所述暂存器的像素路径时延的和;以及The first count value of the y-th register corresponds to the y-th first buffer delay and the pixel path from the pixel unit at the x-th row and the y-th column to the y-th register the sum of the delays; and
    第z所述暂存器的所述第一计数值,其对应到z个所述第一缓冲器时延及第x行第z列所述像素单元到第z所述暂存器的像素路径时延的和,其中z为1到n的整数,y及z为不同整数;The first count value of the z-th register corresponds to the z-th first buffer delay and the pixel path from the pixel unit at the x-th row and the z-th column to the z-th register The sum of delays, where z is an integer from 1 to n, and y and z are different integers;
    利用所述第二控制器在第二时间点传送所述第二触发信号,使所述第二触发信号依序通过第x行第n列至第x行第1列所述像素单元中的每一像素单元的所述第二缓冲器,以得到:The second trigger signal is transmitted by the second controller at a second time point, so that the second trigger signal sequentially passes through each pixel unit in the pixel unit of the xth row and the nth column to the xth row and the first column. The second buffer of a pixel unit to obtain:
    所述第二起始时间计数值;the second start time count value;
    第y所述暂存器的所述第二计数值,其对应到(n-y+1)个所述第二缓冲器时延及第x行第y列所述像素单元到第y所述暂存器的所述像素路径时延的和;以及The second count value of the y-th register corresponds to (n-y+1) delays of the second buffer and the pixel units in the x-th row and the y-th column to the y-th the sum of the pixel path delays of the scratchpad; and
    第z所述暂存器的所述第二计数值,其对应到(n-y+1)个所述第二缓冲器时延及第x行第z列所述像素单元到第z所述暂存器的所述像素路径时延的和;The second count value of the z-th register corresponds to (n-y+1) delays of the second buffer and the pixel units in the x-th row and the z-th column to the z-th the sum of the pixel path delays of the scratchpad;
    依据所述第一起始时间计数值、第y所述暂存器的所述第一计数值及第z所述暂存器的所述第一计数值来得到所述第一触发信号经第x行第1至第y列所述像素单元中各自的所述第一缓冲器后,再经第y列第x至第m行所述像素单元传递到第y所述暂存器的第一总路径时延,及得到所述第一触发信号经第x行第1至第z列所述像素单元中各自的所述第一缓冲器后,再经第z列第x至第m行所述像素单元传递到第z所述暂存器的第二总路径时延;According to the first start time count value, the first count value of the y-th register, and the first count value of the z-th register, the first trigger signal is obtained through the x-th register. After the respective first buffers in the pixel units in the 1st to the yth column, the first buffer is transferred to the first buffer of the yth register through the pixel units in the yth column, the xth to the mth row. path delay, and after obtaining the first trigger signal through the respective first buffers in the pixel units in the xth row, the 1st to the zth column, and then through the zth column, the xth to the mth row, the the second total path delay from the pixel unit to the z-th temporary register;
    依据所述第二起始时间计数值、第y所述暂存器的所述第二计数值及第z所述暂存器的所述第二计数值来得到所述第二触发信号经第x行第n至第y列所述像素单元中各自的所述第二缓冲器后,再经第y列第x至第m行所述像素单元传递到第y所述暂存器的第三总路径时延,及得到所述第二触发信号经第 x行第n至第z列所述像素单元中各自的所述第二缓冲器后,再经第z列第x至第m行所述像素单元传递到第z所述暂存器的第四总路径时延;以及The second trigger signal is obtained according to the second start time count value, the second count value of the y-th register, and the second count value of the z-th register. After each of the second buffers in the pixel units in the nth to yth columns of the xth row, it is then transferred to the third buffer of the yth register through the pixel units of the yth column from the xth to the mth row. The total path delay is obtained, and after the second trigger signal passes through the respective second buffers in the pixel units in the nth row of the xth row to the zth column, and then passes through the zth row of the xth to the mth row. a fourth total path delay for the pixel unit to pass to the z-th register; and
    依据所述第一总路径时延、所述第二总路径时延、所述第三总路径时延及所述第四总路径时延来得到所述第一缓冲器时延、所述第二缓冲器时延、第x行第y列所述像素单元到第y所述暂存器的所述像素路径时延、以及第x行第z列所述像素单元到第z所述暂存器的所述像素路径时延。According to the first total path delay, the second total path delay, the third total path delay and the fourth total path delay, the first buffer delay, the Two buffer delays, the pixel path delay from the pixel unit at the xth row and the yth column to the yth temporary register, and the pixel unit at the xth row and the zth column from the pixel unit to the zth temporary buffer the pixel path delay of the device.
  10. 如权利要求9所述的控制方法,其特征在于,还包括:The control method of claim 9, further comprising:
    利用所述第一控制器在所述第一时间点重置所述计数器;以及using the first controller to reset the counter at the first point in time; and
    利用所述第二控制器在所述第二时间点重置所述计数器。The counter is reset at the second point in time with the second controller.
  11. 如权利要求9所述的控制方法,其特征在于,还包括:The control method of claim 9, further comprising:
    控制所述飞行时间量测电路进入所述一般模式,使第x行第y列所述像素单元的所述光敏传感器的传感结果通过第y所述暂存器输出对应的第一飞行时间信号,以及使第x行第z列所述像素单元的所述光敏传感器的传感结果通过第z所述暂存器输出对应的第二飞行时间信号;Controlling the flight time measurement circuit to enter the general mode, so that the sensing result of the photosensitive sensor of the pixel unit in the xth row and the yth column outputs the corresponding first flight time signal through the yth temporary register , and make the sensing result of the photosensitive sensor of the pixel unit in the xth row and the zth column output the corresponding second time-of-flight signal through the zth temporary register;
    依据所述第一飞行时间信号与第x行第y列所述像素单元到第y所述暂存器的像素路径时延得到修正后的第一飞行时间信号;以及obtaining a corrected first time-of-flight signal according to the first time-of-flight signal and the pixel path delay from the pixel unit in the x-th row and the y-th column to the y-th temporary register; and
    依据所述第二飞行时间信号与第x行第z列所述像素单元到第z所述暂存器的像素路径时延得到修正后的第二飞行时间信号。The corrected second time-of-flight signal is obtained according to the second time-of-flight signal and the pixel path delay from the pixel unit in the x-th row and the z-th column to the z-th temporary register.
  12. 一种电子装置,其特征在于,包括:An electronic device, comprising:
    如权利要求1所述的飞行时间量测电路。The time-of-flight measurement circuit of claim 1 .
  13. 一种电子装置,其特征在于,包括:An electronic device, comprising:
    飞行时间量测电路,包括:Time-of-flight measurement circuit, including:
    像素阵列,包括m行×n列像素单元,其中m,n为正整数,且每一所述像素单元包括:A pixel array, including m rows×n columns of pixel units, where m, n are positive integers, and each of the pixel units includes:
    光敏传感器;以及photosensors; and
    第一缓冲器,其中所述第一缓冲器使通过的信号延迟的时间为第一缓冲器时延;a first buffer, wherein the time by which the first buffer delays the passing signal is the first buffer delay;
    其中所述像素单元在一般模式下输出所述光敏传感器的传感结果,以及所述像素单元在测试模式下输出所述第一缓冲器输出的缓冲结果;以及wherein the pixel unit outputs a sensing result of the photosensitive sensor in a general mode, and the pixel unit outputs a buffered result output by the first buffer in a test mode; and
    控制器,用于:Controller for:
    控制所述飞行时间量测电路进入所述一般模式,使第x行第y列所述像素单元的所述光敏传感器的传感结果通过第y所述暂存器输出对应的第一飞行时间信号,以及使第x行第z列所述像素单元的所述光敏传感器的传感结果通过第z所述暂存器输出对应的第二飞行时间信号;Controlling the flight time measurement circuit to enter the general mode, so that the sensing result of the photosensitive sensor of the pixel unit in the xth row and the yth column outputs the corresponding first flight time signal through the yth temporary register , and make the sensing result of the photosensitive sensor of the pixel unit in the xth row and the zth column output the corresponding second time-of-flight signal through the zth temporary register;
    依据所述第一飞行时间信号与第x行第y列所述像素单元到第y所述暂存器的像素路径时延得到修正后的第一飞行时间信号;以及obtaining a corrected first time-of-flight signal according to the first time-of-flight signal and the pixel path delay from the pixel unit in the x-th row and the y-th column to the y-th temporary register; and
    依据所述第二飞行时间信号与第x行第z列所述像素单元到第z所述暂存器的像素路径时延得到修正后的第二飞行时间信号,obtaining a corrected second time-of-flight signal according to the second time-of-flight signal and the pixel path delay from the pixel unit in the x-th row and the z-th column to the z-th temporary register,
    其中,所述第x行第y列所述像素单元到第y所述暂存器的像素路径时延和所述第x行第z列所述像素单元到第z所述暂存器的像素路径时延是通过所述控制器将所述飞行时间量测电路控制于所述测试模式下测得。Wherein, the pixel path delay from the pixel unit in the x-th row and the y-th column to the y-th temporary register and the pixel from the pixel unit in the x-th row and the z-th column to the z-th temporary register The path delay is measured by the controller controlling the flight time measurement circuit in the test mode.
PCT/CN2020/124743 2020-10-29 2020-10-29 Time-of-flight measurement circuit and control method and electronic apparatus thereof WO2022087950A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/124743 WO2022087950A1 (en) 2020-10-29 2020-10-29 Time-of-flight measurement circuit and control method and electronic apparatus thereof
CN202080054075.1A CN114270214A (en) 2020-10-29 2020-10-29 Time-of-flight measurement circuit, control method thereof and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/124743 WO2022087950A1 (en) 2020-10-29 2020-10-29 Time-of-flight measurement circuit and control method and electronic apparatus thereof

Publications (1)

Publication Number Publication Date
WO2022087950A1 true WO2022087950A1 (en) 2022-05-05

Family

ID=80824375

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124743 WO2022087950A1 (en) 2020-10-29 2020-10-29 Time-of-flight measurement circuit and control method and electronic apparatus thereof

Country Status (2)

Country Link
CN (1) CN114270214A (en)
WO (1) WO2022087950A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105652259A (en) * 2015-12-30 2016-06-08 天津大学 Laser ranging reading sequential circuit and method based on Geiger mode APD array
CN106210570A (en) * 2015-05-26 2016-12-07 豪威科技股份有限公司 There is the flight time imaging of the initial signaling of improvement
WO2019050606A1 (en) * 2017-09-08 2019-03-14 Microsoft Technology Licensing, Llc Time-of-flight sensor readout circuit
WO2019149735A1 (en) * 2018-01-31 2019-08-08 Ams Ag Time-of-flight arrangement and method for a time-of-flight measurement
CN110574364A (en) * 2019-07-29 2019-12-13 深圳市汇顶科技股份有限公司 Three-dimensional image sensor, related three-dimensional image sensing module and handheld device
CN110716415A (en) * 2018-07-11 2020-01-21 台湾积体电路制造股份有限公司 Self-calibrating time-to-digital converter integrated circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210570A (en) * 2015-05-26 2016-12-07 豪威科技股份有限公司 There is the flight time imaging of the initial signaling of improvement
CN105652259A (en) * 2015-12-30 2016-06-08 天津大学 Laser ranging reading sequential circuit and method based on Geiger mode APD array
WO2019050606A1 (en) * 2017-09-08 2019-03-14 Microsoft Technology Licensing, Llc Time-of-flight sensor readout circuit
WO2019149735A1 (en) * 2018-01-31 2019-08-08 Ams Ag Time-of-flight arrangement and method for a time-of-flight measurement
CN110716415A (en) * 2018-07-11 2020-01-21 台湾积体电路制造股份有限公司 Self-calibrating time-to-digital converter integrated circuit
CN110574364A (en) * 2019-07-29 2019-12-13 深圳市汇顶科技股份有限公司 Three-dimensional image sensor, related three-dimensional image sensing module and handheld device

Also Published As

Publication number Publication date
CN114270214A (en) 2022-04-01

Similar Documents

Publication Publication Date Title
JP7129182B2 (en) Solid-state imaging device, imaging device, and imaging method
US8222607B2 (en) Apparatus for time to digital conversion
US6097674A (en) Method for measuring time and structure therefor
JP6264615B2 (en) Photon counting imaging method and apparatus with immediate retrigger capability
US20220308102A1 (en) Circuit and method for width measurement of digital pulse signals
US6647027B1 (en) Method and apparatus for multi-channel data delay equalization
US6560716B1 (en) System for measuring delay of digital signal using clock generator and delay unit wherein a set of digital elements of clock generator identical to a set of digital elements of delay unit
TWI571059B (en) Method for providing a delay value of a communication electronic unit, delay generator, integrated circuit with said delay generator, and communication electronic system comprising said integrated circuit
US11585907B2 (en) Optical measuring device comprising a measuring unit to generate time information representing an elapsed time in accordance with pulse signal output from a light receiving group
TW201017189A (en) Driving circuits and methods for detecting line defects using thereof
US7563023B2 (en) Digital temperature detecting system and method
US20140321618A1 (en) Device for addressing lines of a control circuit for an active detection matrix
US20220005419A1 (en) Driver circuit for display panel, display panel and driving method for display panel
US8786474B1 (en) Apparatus for programmable metastable ring oscillator period for multiple-hit delay-chain based time-to-digital circuits
US6586962B2 (en) Semiconductor device
CN103176059A (en) Method, device and frequency meter for measuring pulse width
US8976341B2 (en) Optoelectric control apparatus for satellite laser ranging system
WO2022087950A1 (en) Time-of-flight measurement circuit and control method and electronic apparatus thereof
US9905198B2 (en) Display panel, optical sensor, and measurement method
CN112558519A (en) Digital signal delay method based on FPGA and high-precision delay chip
JP7085384B2 (en) Time-to-digital conversion circuit and time-to-digital conversion method
CN103675383B (en) A kind of circuit measuring waveform
JP2021069061A5 (en)
US20180123688A1 (en) Methods and devices for monitoring optical signals
JP6382057B2 (en) Delay amount measuring circuit and delay amount measuring method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20959113

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20959113

Country of ref document: EP

Kind code of ref document: A1