TWI711834B - Distance measuring device and method - Google Patents
Distance measuring device and method Download PDFInfo
- Publication number
- TWI711834B TWI711834B TW108143329A TW108143329A TWI711834B TW I711834 B TWI711834 B TW I711834B TW 108143329 A TW108143329 A TW 108143329A TW 108143329 A TW108143329 A TW 108143329A TW I711834 B TWI711834 B TW I711834B
- Authority
- TW
- Taiwan
- Prior art keywords
- random
- signal
- time
- generate
- spad
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 36
- 238000003860 storage Methods 0.000 claims description 23
- 238000009826 distribution Methods 0.000 claims description 9
- 238000000691 measurement method Methods 0.000 claims description 9
- 238000003780 insertion Methods 0.000 claims description 7
- 230000037431 insertion Effects 0.000 claims description 7
- 238000001914 filtration Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 10
- 230000004913 activation Effects 0.000 description 7
- 238000005259 measurement Methods 0.000 description 7
- 101000912503 Homo sapiens Tyrosine-protein kinase Fgr Proteins 0.000 description 5
- 102100026150 Tyrosine-protein kinase Fgr Human genes 0.000 description 5
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 5
- 102100031102 C-C motif chemokine 4 Human genes 0.000 description 4
- 101100113692 Caenorhabditis elegans clk-2 gene Proteins 0.000 description 4
- 101100003180 Colletotrichum lindemuthianum ATG1 gene Proteins 0.000 description 4
- 101150078046 act2 gene Proteins 0.000 description 4
- 101150103244 ACT1 gene Proteins 0.000 description 3
- 101150110971 CIN7 gene Proteins 0.000 description 3
- 102100038026 DNA fragmentation factor subunit alpha Human genes 0.000 description 3
- 101100286980 Daucus carota INV2 gene Proteins 0.000 description 3
- 101000950906 Homo sapiens DNA fragmentation factor subunit alpha Proteins 0.000 description 3
- 101150110298 INV1 gene Proteins 0.000 description 3
- 101100041128 Schizosaccharomyces pombe (strain 972 / ATCC 24843) rst2 gene Proteins 0.000 description 3
- 101100397044 Xenopus laevis invs-a gene Proteins 0.000 description 3
- 101100397045 Xenopus laevis invs-b gene Proteins 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 101000864057 Homo sapiens Serine/threonine-protein kinase SMG1 Proteins 0.000 description 2
- 102100029938 Serine/threonine-protein kinase SMG1 Human genes 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000036962 time dependent Effects 0.000 description 1
Images
Landscapes
- Optical Radar Systems And Details Thereof (AREA)
Abstract
Description
本發明涉及一種測距裝置及方法,特別是涉及一種利用隨機脈衝調變產生器來達成抗干擾效果的測距裝置及方法。 The present invention relates to a distance measuring device and method, in particular to a distance measuring device and method using a random pulse modulation generator to achieve an anti-interference effect.
光達在自動駕駛的應用情境裡,多套系統同時運作是不可避免的,如何避免系統間互相干擾是一個相當重要且必須解決的課題,其中又以直接飛時測距法(Direct Time of Flight,D-ToF)最容易受到系統之間的互相干擾。 In the application scenario of autopilot, it is inevitable for multiple systems to operate at the same time. How to avoid mutual interference between systems is a very important and must be solved. Among them, the direct time of flight ranging method is used. , D-ToF) is most susceptible to mutual interference between systems.
直接飛時測距法測量雷射從發射,到被偵測器接收的這段光子飛行的時間,計算得到距離。偵測到的事件中有些是接收到發射出去的雷射,有的是接收到環境光,在現有的測距系統中,難以在接收光子的當下判斷這次事件的種類。然而,經過一段時間統計可以發現,背景光接收的時間點與雷射發射的時間點沒有關聯,會平均分佈在每個時間點;而接收反彈雷射的事件與雷射發射具有高度的時間相依性,這些事件分佈位置非常集中,所以能在統計分佈上找到一個峰值,峰值的位置即為目標物的距離。 The direct time-of-flight ranging method measures the flight time of the laser from the launch to the photon received by the detector, and calculates the distance. Some of the detected incidents received the emitted laser, and some received the ambient light. In the existing ranging system, it is difficult to judge the type of the incident at the moment when the photon is received. However, after a period of statistics, it can be found that the time point of the background light reception is not related to the time point of the laser emission, and will be evenly distributed at each time point; while the events of receiving the rebound laser and the laser emission are highly time dependent The distribution of these events is very concentrated, so a peak can be found in the statistical distribution, and the location of the peak is the distance of the target.
然而,當多套測距系統以相同的模式發射雷射,例如,以相同頻率發射雷射,除了在接收本身系統的雷射時有高度的時間相依性,在接收其他系統發射的雷射時亦會有高度的時間相依性。在統計結果時,將會出現多個峰值,因此無法判斷何者是由目標物所產生,而何者又是由其他系統發 射的雷射造成的干擾。 However, when multiple sets of ranging systems emit lasers in the same mode, for example, they emit lasers at the same frequency, in addition to the high time dependence when receiving lasers from their own systems, when receiving lasers from other systems There will also be a high degree of time dependence. In the statistical results, there will be multiple peaks, so it is impossible to determine which is generated by the target and which is generated by other systems. Disturbance caused by shot lasers.
因此,急需一種能避免多個系統測距時產生干擾的測距裝置及方法。 Therefore, there is an urgent need for a ranging device and method that can avoid interference caused by multiple systems during ranging.
本發明所要解決的技術問題在於,針對現有技術的不足提供一種利用隨機脈衝調變產生器來達成抗干擾效果的測距裝置及方法。 The technical problem to be solved by the present invention is to provide a distance measuring device and method that utilizes a random pulse modulation generator to achieve an anti-interference effect in view of the shortcomings of the prior art.
為了解決上述的技術問題,本發明所採用的其中一技術方案是,提供一種測距裝置,其包括隨機脈衝調變產生器、雷射二極體、光偵測器、時間數位轉換器及處理裝置。隨機脈衝調變產生器包括至少一單光子崩潰二極體(Single-photon avalanche diode,SPAD),經配置以接收背景光子,並於背景光子入射事件或暗計數(Dark count rate,DCR)事件發生時產生脈衝,以產生隨機控制訊號。雷射二極體經配置以接收隨機控制訊號,並據其產生隨機脈衝雷射並朝向目標發射。光偵測器經配置以接收反射的隨機脈衝雷射。時間數位轉換器於隨機脈衝雷射發射時,接收隨機控制訊號並記錄第一時間,且於光偵測器接收到反射的隨機脈衝雷射時記錄第二時間。處理裝置經配置以依據第一時間及第二時間計算目標的距離。 In order to solve the above technical problems, one of the technical solutions adopted by the present invention is to provide a distance measuring device, which includes a random pulse modulation generator, a laser diode, a light detector, a time-to-digital converter, and processing Device. The random pulse modulation generator includes at least one single-photon avalanche diode (SPAD), which is configured to receive background photons and occur during background photon incident events or dark count rate (DCR) events Generate pulses at time to generate random control signals. The laser diode is configured to receive the random control signal, and generate a random pulse laser based on it and launch it toward the target. The light detector is configured to receive the reflected random pulse laser. The time-to-digital converter receives the random control signal and records the first time when the random pulse laser is emitted, and records the second time when the light detector receives the reflected random pulse laser. The processing device is configured to calculate the distance of the target according to the first time and the second time.
在一些實施例中,至少一SPAD於一單位時間內發生具有一事件期望數量的多個脈衝,且該隨機控制訊號具有遵循波松隨機分佈的一隨機特性。 In some embodiments, at least one SPAD generates multiple pulses with a desired number of events in a unit time, and the random control signal has a random characteristic following a Poisson random distribution.
在一些實施例中,至少一SPAD的數量為複數個,且該隨機脈衝調變產生器更包括一第一控制電路,該第一控制電路包括一第一訊號合併器,經配置以將該些SPAD的脈衝合併以產生該隨機控制訊號,且該事件期望數量係與該些SPAD的數量成正比。 In some embodiments, the number of at least one SPAD is plural, and the random pulse modulation generator further includes a first control circuit. The first control circuit includes a first signal combiner configured to The SPAD pulses are combined to generate the random control signal, and the expected number of events is proportional to the number of SPADs.
在一些實施例中,隨機脈衝調變產生器更包括一第二控制電路,經配置以判斷該至少一SPAD產生的該些脈衝之間的間隔時間是否小於一最小間隔時間,若是則將小於該最小間隔時間的脈衝過濾,以產生該隨機控制訊號。 In some embodiments, the random pulse modulation generator further includes a second control circuit configured to determine whether the interval time between the pulses generated by the at least one SPAD is less than a minimum interval time, and if so, it will be less than the Pulse filtering with minimum interval time to generate the random control signal.
在一些實施例中,第二控制電路包括一最小間隔時間過濾器,其包括第一D型正反器、反及閘、第一偏移暫存計數器及第一及閘。第一D型正反器,其輸入端連接於該至少一SPAD,其時脈端接收一第一時脈訊。反及閘,其第一輸入端連接於該第一D型正反器的輸出端,其第二輸入端接收一第一啟動訊號,其輸出端產生一第一重置訊號。第一偏移暫存計數器,包括多個第二D型正反器,該偏移暫存計數器接收該第一重置訊號及該第一時脈訊號,經配置以產生該第一啟動訊號。第一及閘,其第一輸入端連接於該隨機脈衝調變產生器,其第二輸入端連接於該偏移暫存計數器,並於其輸出端輸出該隨機控制訊號。 In some embodiments, the second control circuit includes a minimum interval time filter, which includes a first D-type flip-flop, an inverter, a first offset register counter, and a first AND gate. The input terminal of the first D-type flip-flop is connected to the at least one SPAD, and the clock terminal receives a first clock signal. The inverter has its first input terminal connected to the output terminal of the first D-type flip-flop, its second input terminal receives a first start signal, and its output terminal generates a first reset signal. The first offset register counter includes a plurality of second D-type flip-flops. The offset register counter receives the first reset signal and the first clock signal and is configured to generate the first start signal. The first and gate has a first input terminal connected to the random pulse modulation generator, and a second input terminal connected to the offset register counter, and outputs the random control signal at its output terminal.
在一些實施例中,隨機脈衝調變產生器更包括一第三控制電路,經配置以判斷該至少一SPAD產生的該些脈衝之間的間隔時間是否小於一最小間隔時間或大於一最大間隔時間。其中,若該第三控制電路判斷該至少一SPAD產生的該些脈衝之間的間隔時間小於該最小間隔時間,則將小於該最小間隔時間的脈衝過濾,以產生該隨機控制訊號。其中,若該第三控制電路判斷該至少一SPAD產生的該些脈衝之間的間隔時間大於該最大間隔時間,則強制於該隨機控制訊號中插入一強制脈衝訊號。 In some embodiments, the random pulse modulation generator further includes a third control circuit configured to determine whether the interval between the pulses generated by the at least one SPAD is less than a minimum interval or greater than a maximum interval. . Wherein, if the third control circuit determines that the interval time between the pulses generated by the at least one SPAD is less than the minimum interval time, it filters the pulses that are less than the minimum interval time to generate the random control signal. Wherein, if the third control circuit determines that the interval time between the pulses generated by the at least one SPAD is greater than the maximum interval time, it is forced to insert a forced pulse signal into the random control signal.
在一些實施例中,該第三控制電路包括時間邊界控制器。時間邊界控制器包括第三D型正反器、第二及閘、反或閘、第二偏移暫存計數器、第三及閘、單穩態觸發電路及或閘。第三D型正反器,其輸入端連接於該至少一SPAD,其時脈端接收一第二時脈訊號。第二及閘,其第一輸入端連接於該 第三D型正反器的輸出端,其第二輸入端接收一第二啟動訊號,其輸出端產生一第二重置訊號。反或閘,其第一輸入端接收該第二重置訊號,其第二輸入端接收一插入訊號,其輸出端輸出一第三重置訊號。第二偏移暫存計數器,包括多個第四D型正反器,該第二偏移暫存計數器接收該第三重置訊號及該第二時脈訊號,經配置以產生該第二啟動訊號及該插入訊號。第三及閘,其第一輸入端連接該隨機脈衝調變產生器,其第二輸入端接收該第二啟動訊號,其輸出端輸出一第四重置訊號。單穩態觸發電路,連接該第二偏移暫存計數器,由該插入訊號控制,並輸出該強制脈衝訊號。或閘,其第一輸入端接收該第四重置訊號,其第二輸入端接收該強制脈衝訊號,其輸出端輸出該隨機控制訊號。 In some embodiments, the third control circuit includes a time boundary controller. The time boundary controller includes a third D-type flip-flop, a second AND gate, a reverse OR gate, a second offset temporary storage counter, a third AND gate, a monostable trigger circuit and an OR gate. The input terminal of the third D-type flip-flop is connected to the at least one SPAD, and the clock terminal receives a second clock signal. The second and gate, its first input is connected to the The output terminal of the third D-type flip-flop, the second input terminal of which receives a second start signal, and the output terminal of which generates a second reset signal. Inverted OR gate, its first input terminal receives the second reset signal, its second input terminal receives an insert signal, and its output terminal outputs a third reset signal. The second offset temporary storage counter includes a plurality of fourth D-type flip-flops, the second offset temporary storage counter receives the third reset signal and the second clock signal, and is configured to generate the second activation Signal and the inserted signal. The third and gate has its first input terminal connected to the random pulse modulation generator, its second input terminal receives the second start signal, and its output terminal outputs a fourth reset signal. The monostable trigger circuit is connected to the second offset temporary storage counter, is controlled by the insertion signal, and outputs the forced pulse signal. Or gate, its first input terminal receives the fourth reset signal, its second input terminal receives the forced pulse signal, and its output terminal outputs the random control signal.
在一些實施例中,該至少一SPAD的數量為複數個,且該隨機脈衝調變產生器包括一訊號合併器,經配置以於暗計數事件發生時,合併該些SPAD的脈衝以產生該隨機控制訊號。其中,該些SPAD於一單位時間內發生具有一第一事件期望數量的暗計數事件以產生多個脈衝。 In some embodiments, the number of the at least one SPAD is plural, and the random pulse modulation generator includes a signal combiner configured to combine the pulses of the SPAD to generate the random pulse when a dark counting event occurs. Control signal. Among them, the SPADs generate a plurality of pulses by occurrence of dark counting events with a desired number of first events in a unit time.
在一些實施例中,該至少一SPAD的數量為一,且該SPAD經配置以於一單位時間內發生具有一第二事件期望數量的暗計數事件,以產生多個脈衝。 In some embodiments, the number of the at least one SPAD is one, and the SPAD is configured to generate a number of dark count events with a second event expected number within a unit time to generate multiple pulses.
在一些實施例中,該時間數位轉換器依據該第一時間及該第二時間之間的時間差計算該目標的距離。 In some embodiments, the time-to-digital converter calculates the distance of the target according to the time difference between the first time and the second time.
為了解決上述的技術問題,本發明所採用的另外一技術方案是,提供一種測距方法,其包括:配置一隨機脈衝調變產生器產生一隨機控制訊號,其中該隨機脈衝調變產生器包括至少一單光子崩潰二極體(Single-photon avalanche diode,SPAD),經配置以接收背景光子,並於背景光子入射事件或暗計數(Dark count rate,DCR)事件發生時產生脈衝,以產生該隨 機控制訊號;配置一雷射二極體以接收該隨機控制訊號,並產生一隨機脈衝雷射並朝向一目標發射;配置一光偵測器接收反射的該隨機脈衝雷射;配置一時間數位轉換器於該隨機脈衝雷射發射時,接收該隨機控制訊號並記錄一第一時間,且於該光偵測器接收到反射的該隨機脈衝雷射時記錄一第二時間;以及配置該時間數位轉換器依據該第一時間及該第二時間計算該目標的距離。 In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a ranging method, which includes: configuring a random pulse modulation generator to generate a random control signal, wherein the random pulse modulation generator includes At least one single-photon avalanche diode (SPAD) is configured to receive background photons and generate pulses when a background photon incident event or dark count rate (DCR) event occurs, to generate the Follow Machine control signal; configure a laser diode to receive the random control signal, and generate a random pulse laser and launch it toward a target; configure a light detector to receive the reflected random pulse laser; configure a time digit When the random pulse laser is emitted, the converter receives the random control signal and records a first time, and records a second time when the light detector receives the reflected random pulse laser; and configures the time The digital converter calculates the distance of the target according to the first time and the second time.
在一些實施例中,該至少一SPAD於一單位時間內發生具有一事件期望數量的多個脈衝,且該隨機控制訊號具有遵循波松隨機分佈的一隨機特性。 In some embodiments, the at least one SPAD generates multiple pulses with a desired number of events in a unit time, and the random control signal has a random characteristic following a Poisson random distribution.
在一些實施例中,至少一SPAD的數量為複數個,且該測距方法更包括:配置該隨機脈衝調變產生器的一第一訊號合併器,以將該些SPAD的脈衝合併以產生該隨機控制訊號,其中該事件期望數量係與該些SPAD的數量成正比。 In some embodiments, the number of at least one SPAD is plural, and the ranging method further includes: configuring a first signal combiner of the random pulse modulation generator to combine the pulses of the SPADs to generate the Random control signal, in which the expected number of events is proportional to the number of SPADs.
在一些實施例中,測距方法更包括配置第二控制電路以判斷該至少一SPAD產生的該些脈衝之間的間隔時間是否小於一最小間隔時間,若是則將小於該最小間隔時間的脈衝過濾,以產生該隨機控制訊號。 In some embodiments, the ranging method further includes configuring a second control circuit to determine whether the interval time between the pulses generated by the at least one SPAD is less than a minimum interval time, and if so, filtering pulses less than the minimum interval time To generate the random control signal.
在一些實施例中,第二控制電路包括一最小間隔時間過濾器,其包括第一D型正反器、反及閘、第一偏移暫存計數器及第一及閘。第一D型正反器,其輸入端連接於該至少一SPAD,其時脈端接收一第一時脈訊。反及閘,其第一輸入端連接於該第一D型正反器的輸出端,其第二輸入端接收一第一啟動訊號,其輸出端產生一第一重置訊號。第一偏移暫存計數器,包括多個第二D型正反器,該偏移暫存計數器接收該第一重置訊號及該第一時脈訊號,經配置以產生該第一啟動訊號。第一及閘,其第一輸入端連接於該隨機脈衝調變產生器,其第二輸入端連接於該偏移暫存計數器,並於其輸出端輸 出該隨機控制訊號。 In some embodiments, the second control circuit includes a minimum interval time filter, which includes a first D-type flip-flop, an inverter, a first offset register counter, and a first AND gate. The input terminal of the first D-type flip-flop is connected to the at least one SPAD, and the clock terminal receives a first clock signal. The inverter has its first input terminal connected to the output terminal of the first D-type flip-flop, its second input terminal receives a first start signal, and its output terminal generates a first reset signal. The first offset register counter includes a plurality of second D-type flip-flops. The offset register counter receives the first reset signal and the first clock signal and is configured to generate the first start signal. The first and gate, its first input terminal is connected to the random pulse modulation generator, and its second input terminal is connected to the offset register counter, and is output at its output terminal Out the random control signal.
在一些實施例中,測距方法更包括配置一第三控制電路判斷該至少一SPAD產生的該些脈衝之間的間隔時間是否小於一最小間隔時間或大於一最大間隔時間。其中,若該第三控制電路判斷該至少一SPAD產生的該些脈衝之間的間隔時間小於該最小間隔時間,則將小於該最小間隔時間的脈衝過濾,以產生該隨機控制訊號。若該第三控制電路判斷該至少一SPAD產生的該些脈衝之間的間隔時間大於該最大間隔時間,則強制於該隨機控制訊號中插入一強制脈衝訊號。 In some embodiments, the ranging method further includes configuring a third control circuit to determine whether the interval time between the pulses generated by the at least one SPAD is less than a minimum interval time or greater than a maximum interval time. Wherein, if the third control circuit determines that the interval time between the pulses generated by the at least one SPAD is less than the minimum interval time, it filters the pulses that are less than the minimum interval time to generate the random control signal. If the third control circuit determines that the interval time between the pulses generated by the at least one SPAD is greater than the maximum interval time, it is forced to insert a forced pulse signal into the random control signal.
在一些實施例中,第三控制電路包括時間邊界控制器。時間邊界控制器包括第三D型正反器、第二及閘、反或閘、第二偏移暫存計數器、第三及閘、單穩態觸發電路及或閘。第三D型正反器,其輸入端連接於該至少一SPAD,其時脈端接收一第二時脈訊號。第二及閘,其第一輸入端連接於該第三D型正反器的輸出端,其第二輸入端接收一第二啟動訊號,其輸出端產生一第二重置訊號。反或閘,其第一輸入端接收該第二重置訊號,其第二輸入端接收一插入訊號,其輸出端輸出一第三重置訊號。第二偏移暫存計數器,包括多個第四D型正反器,該第二偏移暫存計數器接收該第三重置訊號及該第二時脈訊號,經配置以產生該第二啟動訊號及該插入訊號。第三及閘,其第一輸入端連接該隨機脈衝調變產生器,其第二輸入端接收該第二啟動訊號,其輸出端輸出一第四重置訊號。單穩態觸發電路,連接該第二偏移暫存計數器,由該插入訊號控制,並輸出該強制脈衝訊號。或閘,其第一輸入端接收該第四重置訊號,其第二輸入端接收該強制脈衝訊號,其輸出端輸出該隨機控制訊號。 In some embodiments, the third control circuit includes a time boundary controller. The time boundary controller includes a third D-type flip-flop, a second AND gate, a reverse OR gate, a second offset temporary storage counter, a third AND gate, a monostable trigger circuit and an OR gate. The input terminal of the third D-type flip-flop is connected to the at least one SPAD, and the clock terminal receives a second clock signal. For the second and gate, the first input terminal is connected to the output terminal of the third D-type flip-flop, the second input terminal receives a second start signal, and the output terminal generates a second reset signal. Inverted OR gate, its first input terminal receives the second reset signal, its second input terminal receives an insert signal, and its output terminal outputs a third reset signal. The second offset temporary storage counter includes a plurality of fourth D-type flip-flops, the second offset temporary storage counter receives the third reset signal and the second clock signal, and is configured to generate the second activation Signal and the inserted signal. The third and gate has its first input terminal connected to the random pulse modulation generator, its second input terminal receives the second start signal, and its output terminal outputs a fourth reset signal. The monostable trigger circuit is connected to the second offset temporary storage counter, is controlled by the insertion signal, and outputs the forced pulse signal. Or gate, its first input terminal receives the fourth reset signal, its second input terminal receives the forced pulse signal, and its output terminal outputs the random control signal.
在一些實施例中,至少一SPAD的數量為複數個,且該測距方法更包括配置該隨機脈衝調變產生器的一第二訊號合併器,經配置以於暗計數 事件發生時,合併該些SPAD的脈衝以產生該隨機控制訊號。其中,該些SPAD於一單位時間內發生具有第一事件期望數量的暗計數事件以產生多個脈衝。 In some embodiments, the number of at least one SPAD is plural, and the ranging method further includes configuring a second signal combiner of the random pulse modulation generator, configured to count in the dark When an event occurs, the SPAD pulses are combined to generate the random control signal. Among them, the SPADs generate a plurality of pulses by occurrence of dark counting events with the expected number of first events in a unit time.
在一些實施例中,至少一SPAD的數量為一,且該SPAD於一單位時間內發生具有一第二事件期望數量的暗計數事件,以產生多個脈衝。 In some embodiments, the number of at least one SPAD is one, and the SPAD has a dark count event with a desired number of second events in a unit time to generate multiple pulses.
在一些實施例中,測距方法更包括配置該時間數位轉換器依據該第一時間及該第二時間之間的時間差計算該目標的距離。 In some embodiments, the ranging method further includes configuring the time-to-digital converter to calculate the distance of the target according to the time difference between the first time and the second time.
本發明的其中一有益效果在於,本發明所提供的測距裝置及方法,其能通過使用SPAD作為隨機訊號產生源,以實現SPPM抗干擾方法,從而避免多測距系統之間的干擾。 One of the beneficial effects of the present invention is that the ranging device and method provided by the present invention can use SPAD as a random signal generation source to implement the SPPM anti-interference method, thereby avoiding interference between multiple ranging systems.
為使能更進一步瞭解本發明的特徵及技術內容,請參閱以下有關本發明的詳細說明與圖式,然而所提供的圖式僅用於提供參考與說明,並非用來對本發明加以限制。 In order to further understand the features and technical content of the present invention, please refer to the following detailed description and drawings about the present invention. However, the provided drawings are only for reference and description, and are not used to limit the present invention.
1:測距裝置 1: Ranging device
100:隨機脈衝調變產生器 100: Random pulse modulation generator
102:雷射二極體 102: Laser diode
104:光偵測器 104: light detector
106:時間數位轉換器(Time to Digital converter,TDC) 106: Time to Digital converter (TDC)
108:處理裝置 108: processing device
SPAD1、SPAD2、...、SPADN:單光子崩潰二極體 SPAD1, SPAD2,..., SPADN: Single photon collapse diode
SR:隨機控制訊號 SR: Random control signal
RPL、RPL’:隨機脈衝雷射 RPL, RPL’: Random pulse laser
OBJ:目標 OBJ: target
HTG:統計資料 HTG: Statistics
T1:第一時間 T1: the first time
T2:第二時間 T2: second time
CT1:第一控制電路 CT1: The first control circuit
SMG:訊號合併器 SMG: Signal Combiner
CT2:第二控制電路 CT2: second control circuit
Trej:最小間隔時間 Trej: minimum interval time
DFF1:第一D型正反器 DFF1: The first D-type flip-flop
NAND:反及閘 NAND: reverse and gate
SRC1:第一偏移暫存計數器 SRC1: First offset temporary storage counter
AG1:第一及閘 AG1: First and gate
clk1:第一時脈訊號 clk1: the first clock signal
D:輸入端 D: Input
Q:輸出端 Q: output
act1:第一啟動訊號 act1: the first activation signal
rst1:第一重置訊號 rst1: The first reset signal
DFF21、DFF22、DFF23、...、DFF2i:第二D型正反器 DFF21, DFF22, DFF23,..., DFF2i: the second D-type flip-flop
INV1:第一反相器 INV1: the first inverter
AG、AG’:及閘 AG, AG’: and gate
CT3:第三控制電路 CT3: The third control circuit
DFF3:第三D型正反器 DFF3: The third D-type flip-flop
AG2:第二及閘 AG2: Second and gate
NOR:反或閘 NOR: reverse or gate
SRC2:第二偏移暫存計數器 SRC2: Second offset temporary storage counter
AG3:第三及閘 AG3: Third and gate
MC:單穩態觸發電路 MC: Monostable trigger circuit
OG:或閘 OG: Or gate
clk2:第二時脈訊號 clk2: second clock signal
act2:第二啟動訊號 act2: second activation signal
rst2:第二重置訊號 rst2: second reset signal
ins:插入訊號 ins: insert signal
rst3:第三重置訊號 rst3: The third reset signal
DFF41、DFF42、DFF43、...、DFF4i、...、DFF4j:第四D型正反器 DFF41, DFF42, DFF43,..., DFF4i,..., DFF4j: Fourth D-type flip-flop
INV2:第二反相器 INV2: second inverter
insp:強制啟動脈衝 insp: forced start pulse
rst4:第四重置訊號 rst4: The fourth reset signal
INP:第一輸入端 INP: the first input
t:時間 t: time
圖1為本發明實施例的測距裝置的方塊示意圖。 FIG. 1 is a block diagram of a distance measuring device according to an embodiment of the present invention.
圖2A及圖2B為本發明實施例的隨機脈衝調變產生器的方塊示意圖及訊號時序圖。 2A and 2B are block diagrams and signal timing diagrams of a random pulse modulation generator according to an embodiment of the invention.
圖3A及3B為本發明實施例的隨機脈衝調變產生器的另一方塊示意圖及調整最小間隔時間後的機率密度對事件間隔時間作圖。 3A and 3B are another block diagrams of a random pulse modulation generator according to an embodiment of the present invention and a plot of probability density after adjusting the minimum interval time against the event interval time.
圖4A及圖4B為本發明實施例的隨機脈衝調變產生器的又一方塊示意圖及調整最小間隔時間後的機率密度對事件間隔時間另一作圖。 4A and 4B are another block diagrams of the random pulse modulation generator according to an embodiment of the present invention and another plot of probability density after adjusting the minimum interval time against the event interval time.
圖5為本發明實施例的測距裝置的測距結果曲線圖。 FIG. 5 is a graph of the distance measurement result of the distance measurement device according to the embodiment of the present invention.
圖6為本發明實施例的測距方法的流程圖。 Fig. 6 is a flowchart of a ranging method according to an embodiment of the present invention.
圖7為本發明實施例的測距方法的另一流程圖。 FIG. 7 is another flowchart of the ranging method according to the embodiment of the present invention.
圖8為本發明實施例的測距方法又一流程圖。 FIG. 8 is another flowchart of the ranging method according to the embodiment of the present invention.
以下是通過特定的具體實施例來說明本發明所公開有關“測距裝置及方法”的實施方式,本領域技術人員可由本說明書所公開的內容瞭解本發明的優點與效果。本發明可通過其他不同的具體實施例加以施行或應用,本說明書中的各項細節也可基於不同觀點與應用,在不悖離本發明的構思下進行各種修改與變更。另外,本發明的附圖僅為簡單示意說明,並非依實際尺寸的描繪,事先聲明。以下的實施方式將進一步詳細說明本發明的相關技術內容,但所公開的內容並非用以限制本發明的保護範圍。 The following is a specific specific embodiment to illustrate the implementation of the "ranging device and method" disclosed in the present invention. Those skilled in the art can understand the advantages and effects of the present invention from the content disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and various details in this specification can also be modified and changed based on different viewpoints and applications without departing from the concept of the present invention. In addition, the drawings of the present invention are merely schematic illustrations, and are not drawn according to actual dimensions, and are stated in advance. The following embodiments will further describe the related technical content of the present invention in detail, but the disclosed content is not intended to limit the protection scope of the present invention.
應當可以理解的是,雖然本文中可能會使用到“第一”、“第二”、“第三”等術語來描述各種元件或者信號,但這些元件或者信號不應受這些術語的限制。這些術語主要是用以區分一元件與另一元件,或者一信號與另一信號。另外,本文中所使用的術語“或”,應視實際情況可能包括相關聯的列出項目中的任一個或者多個的組合。 It should be understood that although terms such as “first”, “second”, and “third” may be used herein to describe various elements or signals, these elements or signals should not be limited by these terms. These terms are mainly used to distinguish one element from another, or one signal from another signal. In addition, the term "or" used in this document may include any one or a combination of more of the associated listed items depending on the actual situation.
請參閱圖1,其為本發明實施例的測距裝置的方塊示意圖。如圖1所示,本發明第一實施例提供一種測距裝置1,其包括隨機脈衝調變產生器100、雷射二極體102、光偵測器104、時間數位轉換器(Time to Digital converter,TDC)106及處理裝置108。
Please refer to FIG. 1, which is a block diagram of a distance measuring device according to an embodiment of the present invention. As shown in FIG. 1, the first embodiment of the present invention provides a distance measuring device 1, which includes a random
隨機脈衝調變產生器100包括單光子崩潰二極體(Single-photon avalanche diode,SPAD)SPAD1,經配置以接收背景光子,並於背景光子入射事件或暗計數(Dark count rate,DCR)事件發生時產生脈衝,以產生隨機控制訊號SR。
The random
雷射二極體102用於接收隨機控制訊號SR,並據其產生隨機脈
衝雷射RPL並朝向目標OBJ發射。光偵測器104用於接收反射的隨機脈衝雷射RPL’,TDC 106則於隨機脈衝雷射RPL發射時,接收隨機控制訊號SR並記錄第一時間T1,且於雷射二極體接收到反射的隨機脈衝雷射RPL’時記錄第二時間T2,多次循環後,TDC 106可進一步產生統計資料HTG,並輸出於處理裝置106,而處理裝置108進一步依據所記錄的第一時間T1及第二時間T2計算目標OBJ的距離。
The
詳細而言,單光子崩潰二極體(Single-Photon Avalanche Diode,SPAD)憑藉著高靈敏度、高時間準確度、相容於CMOS標準製程及輸出為數位訊號等優勢,近年來被廣泛應用。其中,當單光子崩潰二極體SPAD1偵測到光子時會輸出脈衝訊號,並且在每次偵測完會有一段死區時間無法偵測光子。 In detail, Single-Photon Avalanche Diode (SPAD) has been widely used in recent years due to its advantages of high sensitivity, high time accuracy, compatibility with CMOS standard manufacturing process and output as a digital signal. Among them, when the single photon breakdown diode SPAD1 detects a photon, it will output a pulse signal, and there will be a dead time that cannot detect the photon after each detection.
其中,SPAD工作時,其主動區操作在逆向偏壓的p-n接面,而p-n接面崩潰時代表偵測到事件。然而,沒有吸收光子時,仍有眾多機制會使崩潰機率性的發生,其中,大部分機制產生的事件是互相獨立的。 Among them, when SPAD is working, its active area operates on the reverse-biased p-n junction, and when the p-n junction collapses, it means that an event is detected. However, when the photon is not absorbed, there are still many mechanisms that will cause the probability of collapse, and most of the events generated by the mechanisms are independent of each other.
此外,當SPAD不照光時,元件每秒平均的崩潰計數(Count Rate)稱作暗計數(Dark Count Rate,DCR)。在本實施例中,利用了暗計數事件的隨機特性,而使得SPAD能夠應用於隨機脈衝調變產生器100中。
In addition, when the SPAD is not illuminated, the average crash count (Count Rate) of the component per second is called the Dark Count Rate (DCR). In this embodiment, the random characteristic of the dark counting event is used, so that SPAD can be applied to the random
具體而言,本發明利用了SPAD背景光子接收事件與暗計數事件的隨機性,將SPAD作為一個自然產生的隨機訊號產生源(Random Pattern Generator)。這樣的產生隨機訊號是自然定律的產物,無法預測或複製。在本發明中,稱此調變為隨機脈衝位置調變(Stochastic Pulse Position Modulation,SPPM),其包括了使用SPAD作為訊號產生源,以及其後端的控制電路。本發明更提供了多個電路架構,以在保持其隨機性的前提下,使隨機訊號產生源能調整適用在不同系統。 Specifically, the present invention utilizes the randomness of SPAD background photon receiving events and dark counting events, and uses SPAD as a natural random signal generation source (Random Pattern Generator). Such random signals are the product of the laws of nature and cannot be predicted or copied. In the present invention, this modulation is called Stochastic Pulse Position Modulation (SPPM), which includes the use of SPAD as a signal generation source and a control circuit at the back end. The present invention further provides a plurality of circuit structures, so that the random signal generation source can be adjusted and applied to different systems while maintaining its randomness.
SPAD1所產生的隨機控制訊號具有遵循波松隨機分佈的一隨機特性,以下先對波松分佈特性做說明。可使用兩個參數來描述SPAD1產生的隨機事件,一個是事件期望數量λ,另一個則是死區時間τ。事件期望數量λ是在單位時間內發生的光子接收事件的期望值,當光子接收事件發生,SPAD1產生脈衝,而單位時間可為平均時間,平均時間越多,產生的事件數越多,反之則越少。而死區時間τ代表兩兩事件的最小間隔時間。當死區時間τ不為0,可獲得分佈機率pλ,τ(t)如下式(1)所示:
SPAD1產生的隨機訊號會受到環境光和元件本身暗計數(DCR)影響。環境背景光愈強,產生隨機訊號的事件期望數量λ越大。元件本身的案計數越大,產生隨機訊號的事件期望數量λ也會越大。通過控制事件期望數量λ以及死區時間τ,可達到不同系統的需求。 The random signal generated by SPAD1 will be affected by ambient light and the dark count (DCR) of the component itself. The stronger the ambient background light, the greater the expected number λ of events that generate random signals. The larger the case count of the component itself, the larger the expected number λ of events that generate random signals. By controlling the expected number of events λ and the dead time τ, the requirements of different systems can be met.
請參閱圖2A及圖2B,其為本發明實施例的隨機脈衝調變產生器的方塊示意圖及訊號時序圖。如圖所示,隨機脈衝調變產生器100可包括多個SPAD,如SPAD1、SPAD2、...、SPADN,且隨機脈衝調變產生器100更包括第一控制電路CT1,其包括第一訊號合併器SMG1,經配置以將SPAD1、SPAD2、...、SPADN的脈衝合併以產生隨機控制訊號SR,且事件期望數量λ係與SPAD1、SPAD2、...、SPADN的數量成正比。
Please refer to FIG. 2A and FIG. 2B, which are a block diagram and a signal timing diagram of a random pulse modulation generator according to an embodiment of the present invention. As shown in the figure, the random
在本實施例中,使用第一訊號合併器SMG1將多個SPAD的脈衝訊號相加,以解決單一元件的事件期望數量λ不夠大的問題。如圖2B所示,橫軸為時間t,使用多組隨機訊號相加產生的訊號,等同一個事件期望數量λ較大的波松過程。在一些實施例中,將多個SPAD的脈衝訊號合併時,可先將訊號寬度縮小避免事件重合。 In this embodiment, the first signal combiner SMG1 is used to add the pulse signals of multiple SPADs to solve the problem that the expected number of events λ of a single element is not large enough. As shown in Figure 2B, the horizontal axis is time t, and the signal generated by the addition of multiple sets of random signals is equivalent to a Poisson process with a large expected number of events λ. In some embodiments, when the pulse signals of multiple SPADs are combined, the signal width can be reduced first to avoid coincidence of events.
如圖2A的實施例所示,SPAD的數量可為複數個,且隨機脈衝
調變產生器100包括第一控制電路CT1,其包括訊號合併器SMG,經配置以於暗計數事件發生時,合併該些SPAD的脈衝以產生隨機控制訊號SR。此處,可在多個SPAD於一單位時間內發生具有第一事件期望數量的暗計數事件時,通過訊號合併器SMG將所產生的多個脈衝訊號合併,以使隨機控制訊號SR的期望事件數量上升。需要說明的是,第一事件期望數量係指SPAD在單位時間內的暗計數事件發生率較低的情形,例如在...的範圍內。另一方面,若SPAD於一單位時間內發生具有第二事件期望數量的暗計數事件,則SPAD的數量可為一,並可省略設置訊號合併器SMG。第二事件期望數量係指SPAD在單位時間內的暗計數事件發生率較高的情形,且例如在...的範圍內。此外,亦可通過設置一或多個SPAD來接收背景光,並可隨系統的需求調整SPAD的數量,以及決定是否要設置訊號合併器。
As shown in the embodiment of FIG. 2A, the number of SPADs can be plural, and random pulses
The
另一方面,除了針對事件期望數量λ進行調整之外,還可針對兩兩事件之間的最小間隔時間進行調整。請參閱圖3A及3B,其為本發明實施例的隨機脈衝調變產生器的另一方塊示意圖及調整最小間隔時間後的機率密度對事件間隔時間作圖。 On the other hand, in addition to adjusting the expected number of events λ, the minimum interval between two events can also be adjusted. Please refer to FIGS. 3A and 3B, which are another block diagram of the random pulse modulation generator according to an embodiment of the present invention and the probability density after adjusting the minimum interval time is plotted against the event interval time.
舉例而言,系統上如果有最小間隔時間(minimum inter-arrival time or rejection time)Trej的限制(例如雷射上的限制或是測距方法上的限制),本發明的實施例更提供一種限制最小間距的方式,如圖所示,隨機脈衝調變產生器100更包括第二控制電路CT2,經配置以判斷SPAD1產生的該些脈衝之間的間隔時間是否小於最小間隔時間Trej,若是,則將小於最小間隔時間Trej的脈衝過濾,以產生隨機控制訊號SR。
For example, if there is a minimum inter-arrival time or rejection time Trej limitation (such as a limitation on a laser or a limitation on a ranging method) on the system, the embodiment of the present invention further provides a limitation As shown in the figure, the random
在本實施例中,第二控制電路CT2可包括最小間隔時間過濾器,其包括第一D型正反器DFF1、反及閘NAND、第一偏移暫存計數器SRC1及第一及閘AG1。 In this embodiment, the second control circuit CT2 may include a minimum interval time filter, which includes a first D-type flip-flop DFF1, an inverter NAND, a first offset register counter SRC1, and a first AND gate AG1.
如圖所示,第一D型正反器DFF1的輸入端D連接於SPAD1,其時脈端接收第一時脈訊號clk1。反及閘NAND的第一輸入端連接於第一D型正反器的輸出端Q,其第二輸入端接收第一啟動訊號act1,其輸出端產生第一重置訊號rst1。 As shown in the figure, the input terminal D of the first D-type flip-flop DFF1 is connected to SPAD1, and its clock terminal receives the first clock signal clk1. The first input terminal of the NAND gate is connected to the output terminal Q of the first D-type flip-flop, the second input terminal receives the first activation signal act1, and the output terminal generates the first reset signal rst1.
再者,第一偏移暫存計數器SRC1,包括多個第二D型正反器DFF21、DFF22、DFF23、...、DFF2i、第一反相器INV1及多個及閘AG,第一偏移暫存計數器SRC1接收第一重置訊號rst及第一時脈訊號clk1,經配置以產生第一啟動訊號act1。其中,第一反相器INV1接收第一重置訊號rst,經反相處理後輸入第二正反器DFF21,第二正反器DFF21的時脈端同時接收第一時脈訊號clk1,其輸出端Q連接於及閘AG的輸入端,而及閘AG的另一輸入端接收第一重置訊號rst1,並重複上述配置。其中,通過控制第二D型正反器DFF21、DFF22、DFF23、...、DFF2i的數量,可調整並獲得不同的最小間隔時間Trej。 Furthermore, the first offset temporary storage counter SRC1 includes a plurality of second D-type flip-flops DFF21, DFF22, DFF23,..., DFF2i, a first inverter INV1 and a plurality of AND gates AG, and the first offset The shift register counter SRC1 receives the first reset signal rst and the first clock signal clk1, and is configured to generate the first start signal act1. Among them, the first inverter INV1 receives the first reset signal rst, and inputs the second flip-flop DFF21 after inversion processing. The clock end of the second flip-flop DFF21 also receives the first clock signal clk1, and its output The terminal Q is connected to the input terminal of the gate AG, and the other input terminal of the gate AG receives the first reset signal rst1, and the above configuration is repeated. Among them, by controlling the number of the second D-type flip-flops DFF21, DFF22, DFF23,..., DFF2i, different minimum interval times Trej can be adjusted and obtained.
第一及閘AG1的第一輸入端INP連接於SPAD1,其第二輸入端連接於第一偏移暫存計數器SRC1,並於其輸出端輸出隨機控制訊號SR。通過上述最小間隔時間過濾器的配置,可過濾掉太近的事件。 The first input terminal INP of the first and gate AG1 is connected to SPAD1, and the second input terminal is connected to the first offset register counter SRC1, and the random control signal SR is output at its output terminal. Through the above minimum interval filter configuration, events that are too close can be filtered out.
如圖3B所示,當最小間隔時間Trej被調整為200ns及1μs時,直到事件間隔時間到達200ns及1μs後,才開始有事件發生,而機率密度基本上維持不變。並且,通過調整最小間隔時間Trej,可以等同於將系統的死區時間(dead time)延長,而可適用於不同的系統需求。 As shown in FIG. 3B, when the minimum interval time Trej is adjusted to 200 ns and 1 μs, no events will begin to occur until the event interval time reaches 200 ns and 1 μs, and the probability density remains basically unchanged. Moreover, by adjusting the minimum interval time Trej, it can be equivalent to prolonging the dead time of the system, which can be adapted to different system requirements.
另一方面,系統可能會需要控制隨機訊號的最大間距,避免系統效率太低。請參閱圖4A及圖4B,其為本發明實施例的隨機脈衝調變產生器的又一方塊示意圖及調整最小間隔時間後的機率密度對事件間隔時間另一作圖。如圖所示,隨機脈衝調變產生器100更包括第三控制電路CT3,經配置以
判斷SPAD產生的多個脈衝之間的間隔時間是否小於最小間隔時間或大於最大間隔時間。
On the other hand, the system may need to control the maximum spacing of random signals to avoid low system efficiency. Please refer to FIG. 4A and FIG. 4B, which are another block diagram of the random pulse modulation generator according to the embodiment of the present invention and another plot of probability density after adjusting the minimum interval time against the event interval time. As shown in the figure, the random
其中,若第三控制電路CT3判斷SPAD產生的多個脈衝之間的間隔時間小於該最小間隔時間,則將小於該最小間隔時間的脈衝過濾,以產生隨機控制訊號SR,而若第三控制電路判斷SPAD產生的多個脈衝之間的間隔時間大於該最大間隔時間,則強制於隨機控制訊號SR中插入強制脈衝訊號INS。 Wherein, if the third control circuit CT3 determines that the interval time between the multiple pulses generated by SPAD is less than the minimum interval time, it will filter the pulses less than the minimum interval time to generate the random control signal SR, and if the third control circuit It is determined that the interval time between the multiple pulses generated by the SPAD is greater than the maximum interval time, and the forced pulse signal INS is forced to be inserted into the random control signal SR.
詳細而言,如果到達設定的最大間距仍然沒有事件產生,第三控制電路CT3會加入一個事件。在本實施例中,可通過設置兩個計時器電路,分別控制最大時間間隔與最小時間間隔,除了過濾太近的事件,更可在太久沒有事件時插入事件。 In detail, if no event is generated after reaching the set maximum interval, the third control circuit CT3 will add an event. In this embodiment, two timer circuits can be set to control the maximum time interval and the minimum time interval respectively. In addition to filtering events that are too close, events can be inserted when there is no event for too long.
如圖4A所示,第三控制電路CT3可作為一時間邊界控制器,其包括第三D型正反器DFF3、第二及閘AG2、反或閘NOR、第二偏移暫存計數器SRC2、第三及閘AG3、單穩態觸發電路MC及或閘OG。 As shown in FIG. 4A, the third control circuit CT3 can be used as a time boundary controller, which includes a third D-type flip-flop DFF3, a second AND gate AG2, a reverse OR gate NOR, a second offset temporary storage counter SRC2, The third and gate AG3, the monostable trigger circuit MC and the OR gate OG.
第三D型正反器DFF3的輸入端D連接於SPAD1,其時脈端接收第二時脈訊號clk2。第二及閘AG2的第一輸入端連接於第三D型正反器DFF3的輸出端Q,其第二輸入端接收第二啟動訊號act2,其輸出端產生第二重置訊號rst2。 The input terminal D of the third D-type flip-flop DFF3 is connected to SPAD1, and its clock terminal receives the second clock signal clk2. The first input terminal of the second and gate AG2 is connected to the output terminal Q of the third D-type flip-flop DFF3, the second input terminal receives the second activation signal act2, and the output terminal generates the second reset signal rst2.
反或閘NOR的第一輸入端接收第二重置訊號rst2,其第二輸入端接收插入訊號ins,其輸出端輸出第三重置訊號rst3。 The first input terminal of the NOR gate receives the second reset signal rst2, the second input terminal receives the insert signal ins, and the output terminal outputs the third reset signal rst3.
另一方面,第二偏移暫存計數器SRC2包括多個第四D型正反器DFF41、DFF42、DFF43、...、DFF4i、...、DFF4j、第二反相器INV2、多個及閘AG’,第二偏移暫存計數器SRC2接收第三重置訊號rst3及第二時脈訊號clk2,經配置以產生第二啟動訊號act2及插入訊號ins。其中,第二反相器INV2接收第三重置訊號rst3,經反相處理後輸入第四正反器DFF41,第四正反器 DFF41的時脈端同時接收第二時脈訊號clk2,其輸出端Q連接於及閘AG’的輸入端,而及閘AG’的另一輸入端接收第三重置訊號rst3,並重複上述配置。其中,通過控制第四D型正反器DFF41、DFF42、DFF43、...、DFF4i、...、DFF4j的數量,可調整並獲得不同的最小間隔時間及最大間隔時間。進一步,第四D型正反器DFF4j的輸出端Q向或閘OG的輸入端及單穩態觸發電路MC輸入插入訊號ins,第三及閘AG3的第一輸入端連接SPAD,其第二輸入端接收第二啟動訊號act2,其輸出端輸出第四重置訊號rst4。 On the other hand, the second offset temporary storage counter SRC2 includes a plurality of fourth D-type flip-flops DFF41, DFF42, DFF43,..., DFF4i,..., DFF4j, a second inverter INV2, a plurality of and Gate AG', the second offset register counter SRC2 receives the third reset signal rst3 and the second clock signal clk2, and is configured to generate the second start signal act2 and the insert signal ins. Among them, the second inverter INV2 receives the third reset signal rst3, and inputs the fourth flip-flop DFF41 after the inversion process, and the fourth flip-flop The clock terminal of DFF41 simultaneously receives the second clock signal clk2, its output terminal Q is connected to the input terminal of the gate AG', and the other input terminal of the gate AG' receives the third reset signal rst3, and the above configuration is repeated . Among them, by controlling the number of the fourth D-type flip-flops DFF41, DFF42, DFF43,..., DFF4i,..., DFF4j, different minimum and maximum intervals can be adjusted and obtained. Further, the output terminal Q of the fourth D-type flip-flop DFF4j inputs the insertion signal ins to the input terminal of the OR gate OG and the monostable trigger circuit MC, the first input terminal of the third and gate AG3 is connected to SPAD, and its second input The terminal receives the second activation signal act2, and its output terminal outputs the fourth reset signal rst4.
單穩態觸發電路MC連接第二偏移暫存計數器SRC2,由插入訊號ins控制,並輸出強制啟動脈衝insp,或閘OG的第一輸入端接收第四重置訊號rst4,其第二輸入端接收強制啟動脈衝insp,其輸出端輸出隨機控制訊號SR4。 The monostable trigger circuit MC is connected to the second offset temporary storage counter SRC2, which is controlled by the insert signal ins and outputs a forced start pulse insp, or the first input terminal of the gate OG receives the fourth reset signal rst4, and its second input terminal Receive the forced start pulse insp, and its output terminal outputs the random control signal SR4.
如圖4B所示,當通過上述配置限制最小間隔時間及最大間隔時間,與僅限制最小間隔時間的實驗數據相比,當限制最大間隔時間為約1500ns時,將強制產生事件,並通過輸出強制啟動脈衝insp,以在事件間隔時間約1500ns時產生事件,於該處提昇了事件機率密度。 As shown in Figure 4B, when the minimum interval time and the maximum interval time are limited by the above configuration, compared with the experimental data that only limits the minimum interval time, when the maximum interval time is limited to about 1500ns, an event will be forced to be generated and forced by output The pulse insp is started to generate an event at an interval of about 1500 ns, where the probability density of events is increased.
進一步參考圖5,其為本發明實施例的測距裝置的測距結果曲線圖。如圖所示,除了使用前述實施例中的TDC 106用來測距的雷射外,額外增加了不同的干擾源。其中,由圖5可知,當干擾源增加,測距的峰值位置不會改變。與之不同的,改變的是背景光產生的光子入射事件計數,因此能夠證明,由於干擾雷射訊號與測距用的SPPM隨機雷射沒有特定時間關係,因此本發明提供的測距裝置明確具有抗干擾特性。
Further refer to FIG. 5, which is a graph of the distance measurement result of the distance measurement device according to the embodiment of the present invention. As shown in the figure, in addition to the laser used for distance measurement using the
在上述實施例中,處理裝置108可採用飛時測距法,以依據第一時間T1及第二時間T2之間的時間差計算目標OBJ的距離。然而,使用這個方法打出雷射的間隔時間必須大於最大飛行時間(max time of flight),換言之,
需要通過上述實施例中的限制兩兩事件之間的最小間隔時間來達成。而在此基礎上,本發明另外提供一種方式,通過TDC 106記錄雷射發射後,亦即第一時間T1之後,最大飛行時間內的所有事件,並配置處理裝置108據此計算目標OBJ的距離。因此,可省去限制最小間隔時間。相較於飛時測距法,其優勢在於可較密集的控制雷射進行照射,並在相同時間內能夠累積更多次測量結果,因此,可以縮短測距積分時間。
In the above embodiment, the
參閱圖6所示,其為本發明實施例的測距方法的流程圖。其中,本發明實施例另外提供一種測距方法,其適用於前述圖1至圖5的實施例所提供的測距裝置,且至少包括下列幾個步驟: Refer to FIG. 6, which is a flowchart of a ranging method according to an embodiment of the present invention. Among them, the embodiment of the present invention additionally provides a distance measurement method, which is applicable to the distance measurement device provided in the aforementioned embodiment of FIG. 1 to FIG. 5, and includes at least the following steps:
S100:配置隨機脈衝調變產生器產生隨機控制訊號。其中,隨機脈衝調變產生器包括至少一個SPAD,經配置以接收背景光子,並於背景光子入射事件或暗計數(Dark count rate,DCR)事件發生時產生脈衝,以產生該隨機控制訊號。 S100: Configure a random pulse modulation generator to generate random control signals. The random pulse modulation generator includes at least one SPAD configured to receive background photons and generate pulses when a background photon incident event or a dark count rate (DCR) event occurs to generate the random control signal.
S101:配置雷射二極體以接收隨機控制訊號,並產生隨機脈衝雷射並朝向目標發射; S101: Configure laser diodes to receive random control signals, and generate random pulse lasers and launch them toward the target;
S102:配置光偵測器接收反射的該隨機脈衝雷射; S102: Configure a light detector to receive the reflected random pulse laser;
S103:配置時間數位轉換器於該隨機脈衝雷射發射時,接收該隨機控制訊號並記錄第一時間,且於光偵測器接收到反射的隨機脈衝雷射時記錄第二時間。 S103: Configure the time-digital converter to receive the random control signal and record the first time when the random pulse laser is emitted, and record the second time when the light detector receives the reflected random pulse laser.
S104:配置處理裝置依據第一時間及第二時間計算目標的距離。 S104: The configuration processing device calculates the distance of the target according to the first time and the second time.
參閱圖7所示,其為本發明實施例的測距方法的另一流程圖。在本實施例中,測距方法更包括下列步驟:於步驟S100之後執行步驟S200:配置第二控制電路以判斷SPAD產生的多個脈衝之間的間隔時間是否小於最小間隔時間,若是,則進行 步驟S201,將小於最小間隔時間的脈衝過濾,以產生隨機控制訊號,並進入步驟S101。 Refer to FIG. 7, which is another flowchart of the ranging method according to the embodiment of the present invention. In this embodiment, the ranging method further includes the following steps: Step S200 is performed after step S100: the second control circuit is configured to determine whether the interval time between the pulses generated by SPAD is less than the minimum interval time, and if so, proceed Step S201, filter pulses less than the minimum interval time to generate a random control signal, and proceed to step S101.
參閱圖8所示,其為本發明實施例的測距方法又一流程圖。在本實施例中,測距方法更包括下列步驟:於步驟S100之後執行步驟S300:配置第三控制電路判斷SPAD產生的多個脈衝之間的間隔時間是否小於最小間隔時間或大於最大間隔時間。 Refer to FIG. 8, which is another flowchart of the ranging method according to the embodiment of the present invention. In this embodiment, the ranging method further includes the following steps: Step S300 is executed after step S100: the third control circuit is configured to determine whether the interval between the pulses generated by the SPAD is less than the minimum interval or greater than the maximum interval.
若第三控制電路判斷該些脈衝之間的間隔時間小於最小間隔時間,則進行步驟S301,將小於最小間隔時間的脈衝過濾,以產生隨機控制訊號。 If the third control circuit determines that the interval time between the pulses is less than the minimum interval time, step S301 is performed to filter the pulses that are less than the minimum interval time to generate a random control signal.
若第三控制電路判斷該些脈衝之間的間隔時間大於該最大間隔時間,則進行步驟S302,強制於隨機控制訊號中插入強制脈衝訊號。 If the third control circuit determines that the interval time between the pulses is greater than the maximum interval time, step S302 is performed to force a forced pulse signal to be inserted into the random control signal.
需要說明的是,第二控制電路及第三控制電路的具體實施方式已於前述實施例描述過,故省略重複敘述。 It should be noted that the specific implementations of the second control circuit and the third control circuit have been described in the foregoing embodiments, so the repeated description is omitted.
本發明的其中一有益效果在於,本發明所提供的測距裝置及方法,其能通過使用SPAD作為隨機訊號產生源,以實現SPPM抗干擾方法,從而避免多測距系統之間的干擾。 One of the beneficial effects of the present invention is that the ranging device and method provided by the present invention can use SPAD as a random signal generation source to implement the SPPM anti-interference method, thereby avoiding interference between multiple ranging systems.
以上所公開的內容僅為本發明的優選可行實施例,並非因此侷限本發明的申請專利範圍,所以凡是運用本發明說明書及圖式內容所做的等效技術變化,均包含於本發明的申請專利範圍內。 The content disclosed above is only a preferred and feasible embodiment of the present invention, and does not limit the scope of the patent application of the present invention. Therefore, all equivalent technical changes made using the description and schematic content of the present invention are included in the application of the present invention. Within the scope of the patent.
1:測距裝置 1: Ranging device
100:隨機脈衝調變產生器 100: Random pulse modulation generator
102:雷射二極體 102: Laser diode
104:光偵測器 104: light detector
106:時間數位轉換器(Time to Digital converter,TDC) 106: Time to Digital converter (TDC)
108:處理裝置 108: processing device
SPAD1:單光子崩潰二極體 SPAD1: Single photon collapse diode
SR:隨機控制訊號 SR: Random control signal
RPL、RPL’:隨機脈衝雷射 RPL, RPL’: Random pulse laser
OBJ:目標 OBJ: target
HTG:統計資料 HTG: Statistics
T1:第一時間 T1: the first time
T2:第二時間 T2: second time
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW108143329A TWI711834B (en) | 2019-11-28 | 2019-11-28 | Distance measuring device and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW108143329A TWI711834B (en) | 2019-11-28 | 2019-11-28 | Distance measuring device and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI711834B true TWI711834B (en) | 2020-12-01 |
| TW202120952A TW202120952A (en) | 2021-06-01 |
Family
ID=74669807
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW108143329A TWI711834B (en) | 2019-11-28 | 2019-11-28 | Distance measuring device and method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI711834B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113777587A (en) * | 2021-09-06 | 2021-12-10 | 上海惚恍微电子科技有限公司 | Time-of-flight ranging sensor including histogram state monitoring device and method thereof |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI424147B (en) * | 2005-07-04 | 2014-01-21 | 尼康美景股份有限公司 | Distance measuring device |
| US8908157B2 (en) * | 2009-09-11 | 2014-12-09 | Robert Bosch Gmbh | Optical distance measuring device |
| US20170184704A1 (en) * | 2015-12-23 | 2017-06-29 | Stmicroelectronics (Research & Development) Limited | Apparatus for making a distance determination |
| TWI652495B (en) * | 2016-05-10 | 2019-03-01 | 美商雷森公司 | A method of operating a laser detection and ranging (LADAR) system comprising non-transitory machine readable media objects storing executable instructions, and laser detection and ranging devices |
| TWI661211B (en) * | 2017-12-08 | 2019-06-01 | 財團法人工業技術研究院 | Ranging device and method thereof |
-
2019
- 2019-11-28 TW TW108143329A patent/TWI711834B/en active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI424147B (en) * | 2005-07-04 | 2014-01-21 | 尼康美景股份有限公司 | Distance measuring device |
| US8908157B2 (en) * | 2009-09-11 | 2014-12-09 | Robert Bosch Gmbh | Optical distance measuring device |
| US20170184704A1 (en) * | 2015-12-23 | 2017-06-29 | Stmicroelectronics (Research & Development) Limited | Apparatus for making a distance determination |
| TWI652495B (en) * | 2016-05-10 | 2019-03-01 | 美商雷森公司 | A method of operating a laser detection and ranging (LADAR) system comprising non-transitory machine readable media objects storing executable instructions, and laser detection and ranging devices |
| TWI661211B (en) * | 2017-12-08 | 2019-06-01 | 財團法人工業技術研究院 | Ranging device and method thereof |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113777587A (en) * | 2021-09-06 | 2021-12-10 | 上海惚恍微电子科技有限公司 | Time-of-flight ranging sensor including histogram state monitoring device and method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202120952A (en) | 2021-06-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11754686B2 (en) | Digital pixel | |
| US11639990B2 (en) | Digital pixels and operating methods thereof | |
| US11029397B2 (en) | Correlated time-of-flight sensor | |
| EP2740262B1 (en) | Position-sensitive readout modes for digital silicon photomultiplier arrays | |
| US10078141B2 (en) | Timestamping detected radiation quanta | |
| US11079479B2 (en) | Device for measuring a distance and method for measuring said distance | |
| US11119196B2 (en) | First photon correlated time-of-flight sensor | |
| US9007118B2 (en) | Circuit for combining signals | |
| US20060010182A1 (en) | Quantum random number generator | |
| TWI711834B (en) | Distance measuring device and method | |
| CN105137450A (en) | Low False Alarm Dual Gm-APD Detector Photon Counting LiDAR | |
| EP4421528A1 (en) | Detection method and apparatus, and terminal | |
| EP4063905A1 (en) | A low power lidar system with smart laser interrogation | |
| WO2022052606A1 (en) | Electronic device, control method for electronic device, and computer-readable storage medium | |
| WO2022110947A1 (en) | Control method for electronic device, electronic device, and computer-readable storage medium | |
| CN113126473B (en) | Method and apparatus for a time-to-digital converter | |
| CN110987201B (en) | Method and device for realizing single photon detector dead time control circuit | |
| US20220308173A1 (en) | Anti flicker filter for dtof sensor | |
| CN104020702B (en) | Dead time production method | |
| JPS6113188B2 (en) | ||
| TWI704367B (en) | Distance measuring device and method | |
| US20210173053A1 (en) | Distance measuring device and method | |
| US12182262B2 (en) | Random number generator for defending against subchannel attack, and operation method thereof | |
| US11175387B2 (en) | Optical sensor and electronic device | |
| CN118169700A (en) | A two-step laser ranging method and system based on pseudo-random code modulation |