Timing device, distance measurement device, and optical sensor device
Patent Information
- Application Number
- JP2023030179
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-09
AI Technical Summary
【0006】 本開示の一態様によれば、より高速な計時が可能となる。
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a timing device, a distance measuring device, and an optical sensor device. [Background technology]
[0002] Patent Document 1 discloses a timing device that detects the time of one event per light emission period by alternately operating two TDCs (Time to Digital Converters). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2019-78690 Summary of the Invention [Problem to be solved by the invention]
[0004] There is a demand for a timing device that allows faster timing. [Means for solving the problem]
[0005] A timing device according to one embodiment of the present disclosure includes a signal generating circuit that generates multiple reference signals having the same period but different phases, a first counter that outputs a fine count value using multiple first pulse signals obtained from the multiple reference signals, a second counter that outputs a coarse count value using multiple second pulse signals obtained from the multiple reference signals and having a lower frequency than the multiple first pulse signals, and a control unit that determines whether or not correction of the coarse count value is necessary based on the fine count value and the coarse count value latched by a latch signal, and if correction is necessary, calculates a bin number using the fine count value and a coarse correction value obtained by correcting the coarse count value. Effect of the Invention
[0006] According to one aspect of the present disclosure, faster timekeeping is possible. [Brief description of the drawings]
[0007] [Figure 1] 1 is a block diagram showing the configuration of a timing device according to an embodiment of the present invention; [Diagram 2] 4 is a timing chart showing the operation of the timing device according to the present embodiment. [Diagram 3] 10 is an explanatory diagram showing the relationship between a second pulse signal, a Gray code of a coarse count value, and a binary code. FIG. [Figure 4] 10 is an explanatory diagram showing the relationship between a second pulse signal, a Gray code of a coarse count value, and a binary code. FIG. [Diagram 5] 1 is a table showing the relationship between Gray code and binary code of fine count values. [Figure 6] 13 is a flowchart showing an example of a method for calculating a BIN number. [Figure 7] FIG. 11 is an explanatory diagram showing an example of a method for calculating a BIN number. [Figure 8] FIG. 11 is an explanatory diagram showing an example of a method for calculating a BIN number. [Figure 9] FIG. 11 is an explanatory diagram showing an example of a method for calculating a BIN number. [Figure 10] FIG. 11 is an explanatory diagram showing an example of a method for calculating a BIN number. [Figure 11] FIG. 11 is an explanatory diagram showing an example of a method for calculating a BIN number. [Figure 12] 10 is an explanatory diagram showing the correspondence between the Gray code output from the first counter and the fine count value. FIG. [Figure 13] 1 is a table that associates missing (Gray) codes with fine count values. [Figure 14] FIG. 1 is a block diagram showing a configuration of a timing device having a table. [Figure 15] 1 is a block diagram showing the configuration of a timing device according to an embodiment of the present invention; [Figure 16] 4 is a timing chart showing the operation of the timing device according to the present embodiment. [Figure 17] 11 is a histogram generated by a time calculation unit. [Figure 18] 1 is a block diagram showing a configuration of a distance measuring device according to an embodiment of the present invention. [Figure 19] 1 is a schematic cross-sectional view showing a configuration of an optical sensor device according to an embodiment of the present invention. [Figure 20] 1 is a block diagram showing a configuration of an optical sensor device according to an embodiment of the present invention. [Figure 21] 1 is a block diagram showing a configuration of an optical sensor device according to an embodiment of the present invention. [Figure 22] 1 is a block diagram showing the configuration of a timing device according to an embodiment of the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Fig. 1 is a block diagram showing the configuration of a timekeeping device according to this embodiment. Fig. 2 is a timing chart showing the operation of the timekeeping device according to this embodiment. As shown in Figs. 1 and 2, a timekeeping device 30 according to this embodiment includes a signal generating circuit 5 that generates a plurality of reference signals OS having the same period but different phases, a TDC 10 (Time to Digital Converter), and a control unit 20.
[0009] The TDC 10 has a first counter 11 that outputs a fine count value FV using a plurality of first pulse signals FP obtained from a plurality of reference signals OS, and a second counter 21 that outputs a coarse count value CV using a plurality of second pulse signals CP obtained from the plurality of reference signals OS and having a lower frequency than the plurality of first pulse signals FP. The plurality of first pulse signals FP are, for example, eight-phase signals, and the plurality of second pulse signals CP are, for example, six-phase signals. Hereinafter, the first counter 11 may be referred to as a FINE counter, and the second counter 12 may be referred to as a COARSE counter.
[0010] The first counter 11 outputs a fine count value FV in Gray code, and the second counter 12 outputs a coarse count value CV in Gray code. The second counter 12 has a longer count-up interval than the first counter 11.
[0011] The control unit 20 determines whether or not the coarse count value CV needs to be corrected based on the fine count value FV and the coarse count value CV latched by the latch signal L, and if correction is necessary, calculates the bin number BIN using the fine count value FV and the coarse correction value CZ obtained by correcting the coarse count value CV. The coarse count value CV may be the coarse counter value CV latched within ±4TR from the latch timing of the fine count value FV. However, it is not limited to this. 4TR means four times the minimum time resolution TR (e.g., 0.1ns) of the TDC 10. In the case of FIG. 2, the latched fine count value FV=4, the coarse count value CV=2, correction of the coarse count value CV is not required, and the bin number BIN=20. Since one period (1.6ns) of the reference signal OS corresponds to 16 bin numbers, BIN=20 is 2.0 [ns].
[0012] The control unit 20 has a first code conversion unit 21 that converts the Gray code FG (fine count value) from the first counter 11 into a binary code FB, a second code conversion unit 22 that converts the Gray code CG (coarse count value) from the second counter 12 into a binary code CB and generates a binary code ZB of a course correction value as necessary, and a time calculation unit 23 that calculates time based on the binary code FB from the first code conversion unit 21 and the binary code CB / ZB from the second code conversion unit 22.
[0013] The first code conversion unit 21, the second code conversion unit 22, and the time calculation unit 23 may be functional blocks. For example, in the control unit 20 including a processor and a memory, the functions of the respective functional blocks may be realized by the processor cooperating with the memory to execute a timing program. The timing program may be stored in the memory of the control unit 20 or may be stored in an external storage device.
[0014] FIGS. 3 and 4 are explanatory diagrams showing the relationships between the second pulse signal, the Gray code, and the binary code of the course count value. FIG. 5 is a table showing the relationships between the Gray code and the binary code of the fine count value.
[0015] As shown in FIGS. 3 and 4, taking M and N as natural numbers where M < N, the first counter 11 periodically outputs M fine count values FV (for example, when M = 16, 16 fine count values from 0 to 9 and A to F), and the second counter 12 periodically outputs N course count values CV (for example, when N = 64, course count values from 0 to 63).
[0016] As shown in FIG. 2, the count interval of the first counter 11 may be 1 / M of the period of a plurality of reference signals OS. The count interval of the first counter 11 may be 1.0 [nanoseconds] or less.
[0017] The signal generation circuit 5 may be a ring oscillator. The first counter 11 may perform counting by phase detection of the ring oscillator, and the second counter 12 may perform counting by detecting the oscillation frequency of the ring oscillator.
[0018] As shown in FIGS. 3 to 5, the Gray code FG of the fine count value may have more bits than the Gray code CG of the course count value. For example, the Gray code FG may be 8 bits and the Gray code CG may be 6 bits.
[0019] As shown in FIGS. 3 to 5, M = 2 X and N = 2 YThe first code conversion unit 21 converts the fine count value into an X-bit (e.g., X=4 bits) binary code FB, and the second code conversion unit 22 converts the coarse count value into a Y-bit (e.g., Y=6 bits) binary code CB.
[0020] The second code conversion unit 22 determines that correction of the coarse count value CV is unnecessary if the most significant bit of the binary code FB of the fine count value is identical to the least significant bit of the binary code CB of the coarse count value, and determines that correction of the coarse count value CV is unnecessary if the most significant bit of the binary code FB of the fine count value is different from the least significant bit of the binary code CB of the coarse count value.
[0021] When the most significant bit of the binary code FB of the fine count value differs from the least significant bit of the binary code CB of the coarse count value, the second code conversion unit 22 sets the value adjacent to the coarse count value CV as the coarse correction value CZ, thereby matching the least significant bit of the binary code CB of the coarse count value with the most significant bit of the binary code FB of the fine count value. In other words, the difference between the coarse count value CV and the coarse correction value CZ becomes 1.
[0022] When the time calculation unit 23 does not correct the coarse count value CV, it combines the upper (Y-1) bits of the binary code CB of the coarse count value with the upper side of the binary code FB of the fine count value, and calculates a bin number BIN corresponding to the (X+Y-1)-bit binary code obtained thereby.
[0023] When correcting the course count value CV, the time calculation unit 23 combines the upper (Y-1) bits of the binary code ZB of the course correction value with the upper side of the binary code FB of the fine count value, and calculates a bin number BIN corresponding to the (X+Y-1)-bit binary code obtained thereby.
[0024] Fig. 6 is a flow chart showing an example of a method for calculating a BIN number. Figs. 7 to 11 are explanatory diagrams showing an example of a method for calculating a BIN number. As shown in Fig. 6, in step S1, a binary code FB (4 bits) of a fine count value is calculated, and in step S2, a binary code CB (6 bits) of a coarse count value is calculated. In step S2, it is determined whether the most significant bit F3 of FB and the least significant bit C0 of CB are the same, and if YES (same), the process proceeds to step S4, where a BIN number corresponding to a 9-bit binary code obtained by combining the most significant 5 bits of CB (6 bits) with the most significant side of FB (4 bits) is calculated.
[0025] If step S3 is NO (different), proceed to step S5 to determine whether F3=1, C0=0, and F2=0, and if YES (same), proceed to step S6 to generate a binary code ZB (C0 of CB is corrected to 1) of the course correction value (C correction value). After step S6, proceed to step S14 to calculate a BIN number corresponding to the 9-bit binary code obtained by combining the upper 5 bits of ZB (6 bits) with the upper side of FB (4 bits).
[0026] If the answer is NO in step S5, the process proceeds to step S8, where it is determined whether F3=1, C0=0, and F2=1; if the answer is YES, the process proceeds to step S9, where a binary code ZB of the C correction value (=CV-1) is generated. If the answer is NO in step S8, the process proceeds to step S10, where it is determined whether F3=0, C0=1, and F2=0; if the answer is YES, the process proceeds to step S11, where a binary code ZB of the C correction value (=CV+1) is generated. If the answer is NO in step S10, since F3=0, C0=1, and F2=1 (step S12), the process proceeds to step S13, where a binary code ZB of the course correction value (C correction value) (C0 of CB is corrected to 0) is generated. After steps S9, S11, and S13, the process proceeds to step S14, where a BIN number corresponding to a 9-bit binary code obtained by combining the upper 5 bits of ZB (6 bits) with the upper side of FB (4 bits) is calculated.
[0027] In this way, when correction of the fine count value is necessary, if the second most significant bit F2 of the binary code FB of the fine count value is 0, then the coarse count value CV plus 1 is used as the coarse correction value (C correction value), and if the second most significant bit F2 of the binary code FB of the fine count value is 1, then the coarse count value CV minus 1 is used as the coarse correction value (C correction value).
[0028] FIG. 7 shows the case of step S3→S4, where the fine count value FV is 5, the coarse count value CV is 2, and the bin number BIN is 21. FIG. 8 shows the case of step S6→S7, where the fine count value FV is A, the coarse count value CV is 2, the coarse correction value CZ (C correction value) is 3, and the bin number BIN is 26. FIG. 9 shows the case of step S9→S14, where the fine count value FV is E, the coarse count value CV is 2, the coarse correction value CZ (C correction value) is 1, and the bin number BIN is 14. FIG. 10 shows the case of step S11→S14, where the fine count value FV is 3, the coarse count value CV is 3, the coarse correction value CZ (C correction value) is 4, and the bin number BIN is 35. FIG. 11 shows the case of step S13→S14, where the fine count value FV is 4, the coarse count value CV is 5, the coarse correction value CZ (C correction value) is 4, and the bin number BIN is 36.
[0029] The signal generating circuit 5 may be a ring oscillator, and the ring oscillator may continue to operate for a period longer than the period during which M fine count values are output. The ring oscillator may continue to operate for a period longer than the period during which N coarse count values are output.
[0030] In the timing device 30, error correction of the coarse count value CV enables the TDC 10 to operate continuously without stopping. Furthermore, when multiple TDCs 10 are mounted, it is only necessary to connect a latch circuit to one signal generating circuit 5 (e.g., a ring oscillator), and the circuit scale can be reduced. When multiple TDCs are provided to form multiple channels, one ring oscillator serves as the time reference, so that the time variation between channels can be reduced and drive signals for light-emitting elements (e.g., VCSEL) can be output simultaneously.
[0031] Fig. 12 is an explanatory diagram showing the correspondence between the Gray code output from the first counter and the fine count value. Fig. 13 is a table showing the correspondence between the missing (Gray) code and the fine count value. Fig. 14 is a block diagram showing the configuration of a timing device having a table.
[0032] As shown in Fig. 12 to Fig. 14, when the first counter 11 outputs a missing code MG that is not included in M types (e.g., 16 types of 0 to 9 and A to F) of Gray code that correctly corresponds to M (e.g., 16) fine count values FV due to a phase shift of the first pulse signal FP, the first code conversion unit 21 may select a fine count value that corresponds to the missing code output from the M fine count values. The control unit 20 may have a table TB (lookup table: LUT) that associates a plurality of missing codes MG with M fine count values FV as shown in Fig. 13 and Fig. 14. Note that when a phase shift occurs (a missing code occurs) as shown in Fig. 12, 0 and 8 are not output as the fine count value FV.
[0033] Fig. 15 is a block diagram showing the configuration of the timekeeping device according to this embodiment. Fig. 16 is a timing chart showing the operation of the timekeeping device according to this embodiment. Fig. 17 is a histogram generated by the time calculation unit. As shown in Figs. 15 and 16, the control unit 20 may perform the process of calculating bin numbers BIN corresponding to each of the latch signal Le (start latch signal), the latch signal Ls (reference latch signal), and the latch signal Lr (return latch signal) one or more times.
[0034] Specifically, the Gray code FGe of the fine count value latched by the latch signal Le is converted into a binary code FBe, the Gray code CGe of the coarse count value latched by the latch signal Le is converted into a binary code CBe, and a binary code ZBe of the coarse correction value is generated as necessary. The binary code FBe and the binary code CBe / ZBe are used to calculate the bin number BIN corresponding to the latch signal Le.
[0035] Similarly, the Gray code FGs of the fine count value latched by the latch signal Ls is converted into a binary code FBs, the Gray code CGs of the coarse count value latched by the latch signal Ls is converted into a binary code CBs, and a binary code ZBs of the coarse correction value is generated as necessary. The binary code FBs and the binary code CBs / ZBs are used to calculate the bin number BIN corresponding to the latch signal Ls.
[0036] Similarly, the Gray code FGr of the fine count value latched by the latch signal Lr is converted into a binary code FBr, the Gray code CGr of the coarse count value latched by the latch signal Lr is converted into a binary code CBr, and a binary code ZBr of the coarse correction value is generated as necessary. The binary code FBr and the binary code CBr / ZBr are used to calculate the bin number BIN corresponding to the latch signal Lr.
[0037] 16, the time calculation unit 23 calculates ΔBNs, which is the difference between the bin number BIN corresponding to the latch signal Ls and the bin number BIN corresponding to the latch signal Le, ΔBNr, which is the difference between the bin number BIN corresponding to the latch signal Lr and the bin number BIN corresponding to the latch signal Le, and the delay time DT, which is obtained by subtracting ΔBNs from ΔBNr. In FIG. 16, the bin number BIN corresponding to the latch signal Ls is 10, the bin number BIN corresponding to the latch signal Le is 10, and the bin number BIN corresponding to the latch signal Lr is 36, so ΔBNs=0 and ΔBNr=26. One period (1.6 ns) of the reference signal OS corresponds to 16 bin numbers, so ΔBNr=26=2.6 [ns].
[0038] By performing the process of obtaining ΔBNs, ΔBNr and the delay time DT multiple times, it is possible to create a histogram as shown in Fig. 17. The time calculation unit 23 can output, for example, the most frequent delay time DT (for example, the time required for the laser light to travel back and forth between the target object and the target object) in the histogram in Fig. 17.
[0039] Fig. 18 is a block diagram showing the configuration of a distance measuring device according to this embodiment. As shown in Fig. 18, a distance measuring device 40 according to this embodiment includes a timing device 30 and a distance calculation unit 35, and the distance calculation unit 35 measures the distance to the object using the delay time DT output from the time calculation unit 23 and the speed of the laser light irradiated to the object, etc.
[0040] FIG. 19 is a schematic cross-sectional view showing the configuration of the optical sensor device according to this embodiment. FIG. 20 is a block diagram showing the configuration of the optical sensor device according to this embodiment. As shown in FIG. 19 and FIG. 20, the optical sensor device 50 includes a light-emitting element ED (e.g., VCSEL), a reference optical filter KS, a return optical filter KR, a condenser lens 4, a light-shielding wall SH, a light-receiving IC3 including a reference SPAD array SA and a return SPAD array RA (light-receiving element), and a distance measuring device 40 (FIG. 18) connected to the light-receiving IC3. The light emitted from the light-emitting element 2 (e.g., laser light) enters the SPAD array SA via the reference optical filter KS, is reflected by the detection object, and enters the SPAD array RA via the condenser lens 4 and the return optical filter KR.
[0041] In the optical sensor device 50, the latch signal Le rises in response to the rise of the drive current in the light-emitting element drive circuit 7, the latch signal Ls rises in response to the rise of the light-receiving current in the array drive circuit 8, and the latch signal Lr rises in response to the rise of the light-receiving current in the array drive circuit 9. The latch signal Le (start latch signal) is a signal that corresponds to the light emission timing of the light-emitting element ED, the latch signal Ls (reference latch signal) is a signal that corresponds to the timing when the reference light from the light-emitting element is received by the reference SPAD array SA (reference light-receiving element), and the latch signal Lr (return latch signal) is a signal that corresponds to the timing when the reflected light emitted from the light-emitting element ED and reflected by the target is received by the return SPAD array RA (return light-receiving element). The control unit 20 calculates the bin numbers BIN corresponding to the latch signals Le, Ls, and Lr (corresponding to the rising edge of each latch signal), and calculates ΔBNs, which is the difference between the bin number BIN corresponding to the latch signal Ls and the bin number BIN corresponding to the latch signal Le, ΔBNr, which is the difference between the bin number BIN corresponding to the latch signal Lr and the bin number BIN corresponding to the latch signal Le, and the delay time DT obtained by subtracting ΔBNs from ΔBNr. A histogram can be created by performing the process of calculating ΔBNs and ΔBNr and the delay time DT multiple times. The time calculation unit 23 can output the delay time DT (for example, the time required for the emitted light to travel back and forth between the target object) that occurs most frequently in this histogram. The distance calculation unit 35 measures the distance to the target object using the delay time DT output by the time calculation unit 23 and the speed of the laser light irradiated to the target object, etc.
[0042] FIG. 21 is a block diagram showing the configuration of the optical sensor device according to this embodiment. As shown in FIG. 21, the return SPAD array RA may be divided into a plurality of elements (RA1 to RAn), and the reflected light from the target may be received by a plurality of SPAD arrays (light receiving elements) at different positions. In FIG. 21, a latch signal Lr1 corresponding to the light reception by the return SPAD array RA1 is input to the first and second counters 11 and 12, a latch signal Lr2 corresponding to the light reception by the return SPAD array RA2 is input to the first and second counters 11 and 12, and a latch signal Lrn corresponding to the light reception by the return SPAD array RAn is input to the first and second counters 11 and 12. With the configuration in FIG. 21, the three-dimensional position of the target can be grasped.
[0043] Fig. 22 is a block diagram showing the configuration of a timekeeping device according to this embodiment. As shown in Fig. 22, Fig. 12 and Fig. 14, the timekeeping device 30 includes a signal generating circuit 5 that generates a plurality of reference signals having the same period but different phases, a first counter 11 that outputs a fine count value FV in a Gray code FG using a plurality of first pulse signals FP obtained from the plurality of reference signals, a second counter 12 that outputs a coarse count value CV using a plurality of second pulse signals obtained from the plurality of reference signals and having a lower frequency than the plurality of first pulse signals, and a control unit that calculates a bin number BIN using the fine count value FV and the coarse count value CV corresponding to the missing code MG when the Gray code FG is the missing code MG.
[0044] The first counter 11 periodically outputs M fine count values FV (for example, 16 values from 0 to 9 and A to F), where M is a natural number equal to or greater than 2, and when the first counter 11 outputs a missing code MG that is not included in M correct Gray codes corresponding to the M fine count values, the first code conversion unit 21 selects a fine count value FV corresponding to the missing code MG from the M fine count values FV and converts it into a binary code FB. The control unit 20 may have a table TB shown in Figs. 22 and 13 that associates a plurality of missing codes MG with the M fine count values FV.
[0045] The timing device 30 described in this embodiment can be used in electronic devices such as laser distance measuring devices.
[0046] The above-described embodiments are intended to be illustrative and explanatory, and are not intended to be limiting. Based on these examples and descriptions, it will be apparent to those skilled in the art that many variations are possible. [Explanation of symbols]
[0047] 5. Signal generation circuit (oscillator) 10 TDC 11 First Counter 12 Second Counter 20 Control section 21 First code conversion unit 22 Second Code Conversion Unit 23 Time calculation section 30 Timing device 40 Ranging device 50 Optical sensor device FV Fine Count Value CV course count value CZ course correction value FG Fine count value Gray code CG Course count value Gray code FB Fine count value binary code CB Course count value binary code ZB Course correction value binary code MG Missing (Gray) Code TB Table
Claims
1. a signal generating circuit that generates a plurality of reference signals having the same period but different phases; a first counter that outputs a fine count value using a plurality of first pulse signals obtained from the plurality of reference signals; a second counter that outputs a course count value using a plurality of second pulse signals that are obtained from the plurality of reference signals and have a lower frequency than the plurality of first pulse signals; a control unit that determines whether or not the coarse count value needs to be corrected based on the fine count value and the coarse count value latched by a latch signal, and if the correction is necessary, calculates a bin number using the fine count value and a coarse correction value obtained by correcting the coarse count value.
2. 2. The timing device according to claim 1, wherein the second counter has a longer count-up interval than the first counter.
3. Let M and N be natural numbers with M<N, the first counter periodically outputs M fine count values; 3. The timing device according to claim 2, wherein the second counter periodically outputs N course count values.
4. 4. The timing device according to claim 3, wherein the signal generating circuit is a ring oscillator.
5. the first counter performs counting by detecting a phase of the ring oscillator; 5. The time measurement device according to claim 4, wherein the second counter performs counting by detecting the number of oscillations of the ring oscillator.
6. the first counter outputs the fine count value in Gray code; 4. The timing device according to claim 3, wherein the second counter outputs the course count value in a Gray code.
7. 7. The timepiece according to claim 6, wherein the Gray code of the fine count value has a greater number of bits than the Gray code of the coarse count value.
8. M=2 X And N=2 Y As, 4. The timing device according to claim 3, wherein the control unit converts the fine count value into an X-bit binary code and converts the coarse count value into a Y-bit binary code.
9. 9. The timing device according to claim 8, wherein the control unit determines that correction of the coarse count value is unnecessary if the most significant bit of the binary code of the fine count value and the least significant bit of the binary code of the coarse count value are identical, and determines that correction of the coarse count value is necessary if the most significant bit of the binary code of the fine count value and the least significant bit of the binary code of the coarse count value are different.
10. 10. The timing device of claim 9, wherein when the most significant bit of the binary code of the fine count value differs from the least significant bit of the binary code of the coarse count value, the control unit sets a value adjacent to the coarse count value as the coarse correction value, thereby causing the least significant bit of the binary code of the coarse count value to match the most significant bit of the binary code of the fine count value.
11. When the second most significant bit of the binary code of the fine count value is 0, the coarse count value plus 1 is set as the coarse correction value; 11. The timekeeping device according to claim 10, wherein when the second most significant bit of the binary code of the fine count value is 1, a value obtained by subtracting 1 from the coarse count value is set as the coarse correction value.
12. The timing device according to claim 9, wherein, when the coarse count value is not corrected, the control unit combines the upper (Y-1) bits of the binary code of the coarse count value with the upper side of the binary code of the fine count value, and calculates a bin number corresponding to the (X+Y-1)-bit binary code obtained thereby.
13. The timing device according to claim 10, wherein, when correcting the coarse count value, the control unit combines the most significant (Y-1) bits of the binary code of the coarse correction value with the most significant side of the binary code of the fine count value, and calculates a bin number corresponding to the (X+Y-1)-bit binary code obtained thereby.
14. 7. The timing device according to claim 6, wherein when the first counter outputs a missing code that is not included in M types of Gray code corresponding to M fine count values, the control unit selects a fine count value corresponding to the missing code from the M fine count values.
15. 15. The timing device according to claim 14, wherein the control unit has a table that associates a plurality of missing codes with the M fine count values.
16. 4. The timing device according to claim 3, wherein the count interval of the first counter is 1 / M of the periods of the plurality of reference signals.
17. 17. The timing device according to claim 16, wherein the counting interval is 1.0 nanoseconds or less.
18. 5. The timepiece according to claim 4, wherein the ring oscillator continues to operate for a period longer than the period during which M fine count values are output.
19. 5. The timepiece according to claim 4, wherein the ring oscillator continues to operate for a period longer than the period during which N course count values are output.
20. a signal generating circuit that generates a plurality of reference signals having the same period but different phases; a first counter that outputs a fine count value in Gray code using a plurality of first pulse signals obtained from the plurality of reference signals; a second counter that outputs a course count value using a plurality of second pulse signals that are obtained from the plurality of reference signals and have a lower frequency than the plurality of first pulse signals; a control unit that, when the Gray code is a missing code, calculates a bin number using a fine count value corresponding to the missing code and the coarse count value.
21. Let M be a natural number greater than or equal to 2. the first counter periodically outputs M fine count values; The timing device of claim 20, wherein when the first counter outputs the missing code that is not included in M types of Gray code corresponding to M fine count values, the control unit selects a fine count value corresponding to the missing code from the M fine count values.
22. 22. The timing device according to claim 21, wherein the control unit has a table that associates the missing code with the fine count value.
23. 21. The timing device according to claim 1 or 20, wherein the control unit performs the step of calculating bin numbers corresponding to the start latch signal, the reference latch signal, and the return latch signal one or more times.
24. The timing device according to claim 23, wherein the control unit creates a histogram indicating a frequency of a bin number difference for a bin number difference corresponding to the start latch signal and the reference latch signal, and a bin number difference corresponding to the start latch signal and the return latch signal.
25. A timing device according to claim 24, The control unit measures the distance to an object based on the histogram.
26. A distance measuring device comprising: the distance measuring device according to claim 25; a light emitting element; a reference light receiving element; and a first return light receiving element; the start latch signal is a signal corresponding to the light emission timing of the light emitting element, the reference latch signal is a signal corresponding to a timing at which the reference light from the light-emitting element is received by the reference light-receiving element, The optical sensor device, wherein the return latch signal is a signal corresponding to a timing at which the reflected light emitted from the light-emitting element and reflected by the object is received by the first return light-receiving element.
27. A second return light receiving element is provided at a position different from the first return light receiving element, The optical sensor device described in claim 26, wherein the return latch signal includes a signal corresponding to the timing at which the reflected light emitted from the light-emitting element and reflected by the object is received by the first return light-receiving element, and a signal corresponding to the timing at which the reflected light emitted from the light-emitting element and reflected by the object is received by the second return light-receiving element.
28. An electronic device comprising the timing device according to claim 1 or 20.
Citation Information
Patent Citations
Histogram generation device and laser radar device
JP2015155872A
Image processing device, image processing method, and program
JP2020021998A
Optical sensor, electronic apparatus, distance calculation method, and program recording medium
JP2022166693A
Time-to-digital converter, 3D imager using same, method for time-to-digital conversion and method for 3D imaging
WO2013034770A2
Optical sensor, distance measuring device, and electronic apparatus
JP2019078690A
Cited By
Dual-mode fusion laser ranging system and method
CN122525572A
