[go: up one dir, main page]

TWI711834B - Distance measuring device and method - Google Patents

Distance measuring device and method Download PDF

Info

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
Application number
TW108143329A
Other languages
Chinese (zh)
Other versions
TW202120952A (en
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 TW108143329A priority Critical patent/TWI711834B/en
Application granted granted Critical
Publication of TWI711834B publication Critical patent/TWI711834B/en
Publication of TW202120952A publication Critical patent/TW202120952A/en

Links

Images

Landscapes

  • Optical Radar Systems And Details Thereof (AREA)

Abstract

A distance measuring device includes a random pulse modulation generator, a laser diode, a photodetector, a time-to-digital converter, and a processing device. The random pulse modulation generator includes at least one single-photon avalanche diode (SPAD) configured to receive background photons and generate pulse to generate a random control signal when a background photon incident event or a dark count rate (DTR) event occurs. The laser diode is configured to receive a random control signal and generate a random pulsed laser therefrom and transmit toward a target. The photodetector is configured to receive a reflected random pulsed laser. The time digital converter receives the random control signal and records a first time during the random pulse laser transmission, and records a second time when the photodetector receives the reflected random pulse laser. The processing device is configured to calculate a distance of the target based on the first time and the second time.

Description

測距裝置及方法Ranging device and method

本發明涉及一種測距裝置及方法,特別是涉及一種利用隨機脈衝調變產生器來達成抗干擾效果的測距裝置及方法。 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 pulse modulation generator 100, a laser diode 102, a light detector 104, and a time to digital converter (Time to Digital). converter, TDC) 106 and processing device 108.

隨機脈衝調變產生器100包括單光子崩潰二極體(Single-photon avalanche diode,SPAD)SPAD1,經配置以接收背景光子,並於背景光子入射事件或暗計數(Dark count rate,DCR)事件發生時產生脈衝,以產生隨機控制訊號SR。 The random pulse modulation generator 100 includes a SPAD1 (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 a pulse at time to generate a random control signal SR.

雷射二極體102用於接收隨機控制訊號SR,並據其產生隨機脈 衝雷射RPL並朝向目標OBJ發射。光偵測器104用於接收反射的隨機脈衝雷射RPL’,TDC 106則於隨機脈衝雷射RPL發射時,接收隨機控制訊號SR並記錄第一時間T1,且於雷射二極體接收到反射的隨機脈衝雷射RPL’時記錄第二時間T2,多次循環後,TDC 106可進一步產生統計資料HTG,並輸出於處理裝置106,而處理裝置108進一步依據所記錄的第一時間T1及第二時間T2計算目標OBJ的距離。 The laser diode 102 is used to receive the random control signal SR, and generate a random pulse based on it Shoot the laser RPL and launch towards the target OBJ. The light detector 104 is used to receive the reflected random pulse laser RPL', and the TDC 106 receives the random control signal SR and records the first time T1 when the random pulse laser RPL is emitted, and the laser diode receives it The reflected random pulse laser RPL' records the second time T2. After multiple cycles, the TDC 106 can further generate statistical data HTG and output it to the processing device 106, and the processing device 108 further depends on the recorded first time T1 and The second time T2 calculates the distance of the target OBJ.

詳細而言,單光子崩潰二極體(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 pulse modulation generator 100.

具體而言,本發明利用了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)所示:

Figure 108143329-A0305-02-0013-14
The random control signal generated by SPAD1 has a random characteristic following the random distribution of Poisson. The following describes the characteristic of Poisson distribution. Two parameters can be used to describe the random events generated by SPAD1, one is the expected number of events λ, and the other is the dead time τ. The expected number of events λ is the expected value of photon receiving events that occur in a unit time. When a photon receiving event occurs, SPAD1 generates pulses, and the unit time can be an average time. The more average time, the more events will be generated, and vice versa. less. The dead time τ represents the minimum time between two events. When the dead time τ is not 0, the distribution probability p λ,τ (t) can be obtained as shown in the following formula (1):
Figure 108143329-A0305-02-0013-14

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 pulse modulation generator 100 may include a plurality of SPADs, such as SPAD1, SPAD2,..., SPAD, and the random pulse modulation generator 100 further includes a first control circuit CT1, which includes a first signal The combiner SMG1 is configured to combine the pulses of SPAD1, SPAD2,..., SPADN to generate a random control signal SR, and the expected number of events λ is proportional to the number of SPAD1, SPAD2,..., SPADN.

在本實施例中,使用第一訊號合併器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 modulation generator 100 includes a first control circuit CT1, which includes a signal combiner SMG, configured to combine the SPAD pulses to generate a random control signal SR when a dark count event occurs. Here, when multiple SPADs have dark count events with the expected number of first events occurring within a unit time, the generated multiple pulse signals can be combined by the signal combiner SMG, so as to randomly control the expected events of the signal SR The number is rising. It should be noted that the expected number of first events refers to a situation in which SPAD has a low incidence of dark count events per unit time, for example, within the range of... On the other hand, if the SPAD has a dark count event with the expected number of second events occurring within a unit time, the number of SPAD can be one, and the signal combiner SMG can be omitted. The expected number of second events refers to a situation in which SPAD has a high occurrence rate of dark count events per unit time, and is, for example, within the range of. In addition, one or more SPADs can be set to receive the background light, and the number of SPADs can be adjusted according to the needs of the system, and it is also possible to decide whether to set up a signal combiner.

另一方面,除了針對事件期望數量λ進行調整之外,還可針對兩兩事件之間的最小間隔時間進行調整。請參閱圖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 pulse modulation generator 100 further includes a second control circuit CT2, which is configured to determine whether the interval between the pulses generated by SPAD1 is less than the minimum interval Trej, and if so, Filter pulses less than the minimum interval time Trej to generate a random control signal SR.

在本實施例中,第二控制電路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 pulse modulation generator 100 further includes a third control circuit CT3 configured to Determine whether the interval between multiple pulses generated by SPAD is less than the minimum interval or greater than the maximum interval.

其中,若第三控制電路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 TDC 106 in the foregoing embodiment, different interference sources are additionally added. Among them, it can be seen from Figure 5 that when the interference source increases, the peak position of the ranging will not change. The difference is that the incident count of photons generated by the background light is changed. Therefore, it can be proved that since the interference laser signal has no specific time relationship with the SPPM random laser used for ranging, the ranging device provided by the present invention clearly has Anti-jamming characteristics.

在上述實施例中,處理裝置108可採用飛時測距法,以依據第一時間T1及第二時間T2之間的時間差計算目標OBJ的距離。然而,使用這個方法打出雷射的間隔時間必須大於最大飛行時間(max time of flight),換言之, 需要通過上述實施例中的限制兩兩事件之間的最小間隔時間來達成。而在此基礎上,本發明另外提供一種方式,通過TDC 106記錄雷射發射後,亦即第一時間T1之後,最大飛行時間內的所有事件,並配置處理裝置108據此計算目標OBJ的距離。因此,可省去限制最小間隔時間。相較於飛時測距法,其優勢在於可較密集的控制雷射進行照射,並在相同時間內能夠累積更多次測量結果,因此,可以縮短測距積分時間。 In the above embodiment, the processing device 108 may adopt a time-of-flight ranging method to calculate the distance of the target OBJ according to the time difference between the first time T1 and the second time T2. However, the interval between laser shots using this method must be greater than the max time of flight, in other words, It needs to be achieved by limiting the minimum interval time between two events in the foregoing embodiment. On this basis, the present invention provides another way to record all events within the maximum flight time after the laser is launched, that is, after the first time T1, through the TDC 106, and configure the processing device 108 to calculate the distance of the target OBJ accordingly . Therefore, it is not necessary to limit the minimum interval time. Compared with the time-of-flight ranging method, its advantage is that it can control the laser irradiation more intensively, and can accumulate more measurement results in the same time. Therefore, the ranging integration time can be shortened.

參閱圖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.

[實施例的有益效果] [Beneficial effects of the embodiment]

本發明的其中一有益效果在於,本發明所提供的測距裝置及方法,其能通過使用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)

一種測距裝置,其包括:一隨機脈衝調變產生器,其包括至少一單光子崩潰二極體(Single-photon avalanche diode,SPAD),經配置以接收背景光子,並於背景光子入射事件或暗計數(Dark count rate,DCR)事件發生時產生脈衝,以產生一隨機控制訊號;一雷射二極體,經配置以接收該隨機控制訊號,並據其產生一隨機脈衝雷射並朝向一目標發射;一光偵測器,經配置以接收反射的該隨機脈衝雷射;一時間數位轉換器,於該隨機脈衝雷射發射時,接收該隨機控制訊號並記錄一第一時間,且於該光偵測器接收到反射的該隨機脈衝雷射時記錄一第二時間;以及一處理裝置,經配置以依據該第一時間及該第二時間計算該目標的距離。 A distance measuring device, which includes: a random pulse modulation generator, which includes at least one single-photon avalanche diode (SPAD), configured to receive background photons, and the background photon incident event or When a dark count rate (DCR) event occurs, pulses are generated to generate a random control signal; a laser diode is configured to receive the random control signal, and generate a random pulse laser based on it and directed toward one Target emission; a light detector configured to receive the reflected random pulse laser; a time-to-digital converter, when the random pulse laser is emitted, receive the random control signal and record a first time, and The light detector records a second time when the reflected random pulse laser is received; and a processing device is configured to calculate the distance of the target according to the first time and the second time. 如申請專利範圍第1項所述的測距裝置,其中,該至少一SPAD於一單位時間內發生具有一事件期望數量的多個脈衝,且該隨機控制訊號具有遵循波松隨機分佈的一隨機特性。 The distance measuring device according to claim 1, wherein the at least one SPAD generates a plurality of pulses with a desired number of an event in a unit time, and the random control signal has a random characteristic following a Poisson random distribution . 如申請專利範圍第2項所述的測距裝置,其中該至少一SPAD的數量為複數個,且該隨機脈衝調變產生器更包括一第一控制電路,該第一控制電路包括一第一訊號合併器,經配置以將該些SPAD的脈衝合併以產生該隨機控制訊號,且該事件期望數量係與該些SPAD的數量成正比。 The distance measuring device described in item 2 of the scope of patent application, wherein the number of the at least one SPAD is plural, and the random pulse modulation generator further includes a first control circuit, and the first control circuit includes a first The signal combiner is configured to combine the pulses of the SPADs to generate the random control signal, and the expected number of events is proportional to the number of the SPADs. 如申請專利範圍第1項所述的測距裝置,其中該隨機脈衝調變產生器更包括一第二控制電路,經配置以判斷該至少一SPAD產生的該些脈衝之間的間隔時間是否小於一最小間隔時間,若是則將小於該最小間隔時間的脈衝過濾,以產生該隨機控制訊號。 As described in the first item of the scope of patent application, 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, if yes, filter pulses less than the minimum interval time to generate the random control signal. 如申請專利範圍第4項所述的測距裝置,其中該第二控制電路包括一最小間隔時間過濾器,其包括:一第一D型正反器,其輸入端連接於該至少一SPAD,其時脈端接收一第一時脈訊號;一反及閘,其第一輸入端連接於該第一D型正反器的輸出端,其第二輸入端接收一第一啟動訊號,其輸出端產生一第一重置訊號;一第一偏移暫存計數器,包括多個第二D型正反器,該第一偏移暫存計數器接收該第一重置訊號及該第一時脈訊號,經配置以產生該第一啟動訊號;以及一第一及閘,其第一輸入端連接於該隨機脈衝調變產生器,其第二輸入端連接於該第一偏移暫存計數器,並於其輸出端輸出該隨機控制訊號。 The distance measuring device according to item 4 of the scope of patent application, wherein the second control circuit includes a minimum interval time filter, which includes: a first D-type flip-flop, the input terminal of which is connected to the at least one SPAD, Its clock terminal receives a first clock signal; a flip and gate, its first input terminal is connected to the output terminal of the first D-type flip-flop, and its second input terminal receives a first start signal, and its output Terminal generates a first reset signal; a first offset temporary storage counter, including a plurality of second D-type flip-flops, the first offset temporary storage counter receives the first reset signal and the first clock A signal configured to generate the first start signal; and a first and gate, the first input of which is connected to the random pulse modulation generator, and the second input of which is connected to the first offset temporary storage counter, And output the random control signal at its output terminal. 如申請專利範圍第1項所述的測距裝置,其中該隨機脈衝調變產生器更包括一第三控制電路,經配置以判斷該至少一SPAD產生的該些脈衝之間的間隔時間是否小於一最小間隔時間或大於一最大間隔時間,其中若該第三控制電路判斷該至少一SPAD產生的該些脈衝之間的間隔時間小於該最小間隔時間,則將小於該最小間隔時間的脈衝過濾,以產生該隨機控制訊號;其中若該第三控制電路判斷該至少一SPAD產生的該些脈衝之間的間隔時間大於該最大間隔時間,則強制於該隨機控制訊號中插入一強制脈衝訊號。 As described in the first item of the scope of patent application, 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 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 will filter the pulses 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. 如申請專利範圍第6項所述的測距裝置,其中該第三控制電路包括:一時間邊界控制器,其包括:一第三D型正反器,其輸入端連接於該至少一SPAD,其時脈 端接收一第二時脈訊號;一第二及閘,其第一輸入端連接於該第三D型正反器的輸出端,其第二輸入端接收一第二啟動訊號,其輸出端產生一第二重置訊號;一反或閘,其第一輸入端接收該第二重置訊號,其第二輸入端接收一插入訊號,其輸出端輸出一第三重置訊號;一第二偏移暫存計數器,包括多個第四D型正反器,該第二偏移暫存計數器接收該第三重置訊號及該第二時脈訊號,經配置以產生該第二啟動訊號及該插入訊號;一第三及閘,其第一輸入端連接該隨機脈衝調變產生器,其第二輸入端接收該第二啟動訊號,其輸出端輸出一第四重置訊號;一單穩態觸發電路,連接該第二偏移暫存計數器,由該插入訊號控制,並輸出一強制啟動脈衝;以及一或閘,其第一輸入端接收該第四重置訊號,其第二輸入端接收該強制啟動脈衝,其輸出端輸出該隨機控制訊號。 The distance measuring device according to item 6 of the scope of patent application, wherein the third control circuit includes: a time boundary controller, which includes: a third D-type flip-flop, the input terminal of which is connected to the at least one SPAD, Its clock Terminal receives a second clock signal; a second and gate, its first input terminal is connected to the output terminal of the third D-type flip-flop, its second input terminal receives a second start signal, and its output terminal generates A second reset signal; a reverse OR gate, its first input terminal receives the second reset signal, its second input terminal receives an insertion signal, and its output terminal outputs a third reset signal; a second bias The shift register counter includes a plurality of fourth D-type flip-flops. The second shift register counter receives the third reset signal and the second clock signal, and is configured to generate the second start signal and the second clock signal. Insert signal; a third and gate, the first input of which is connected to the random pulse modulation generator, the second input of which receives the second start signal, and the output of which outputs a fourth reset signal; a monostable A trigger circuit connected to the second offset temporary storage counter, controlled by the insertion signal, and output a forced start pulse; and an OR gate, the first input terminal of which receives the fourth reset signal, and the second input terminal of which receives The output end of the forced start pulse outputs the random control signal. 如申請專利範圍第1項所述的測距裝置,其中該至少一SPAD的數量為複數個,且該隨機脈衝調變產生器包括一訊號合併器,經配置以於暗計數事件發生時,合併該些SPAD的脈衝以產生該隨機控制訊號,其中該些SPAD於一單位時間內發生具有一第一事件期望數量的暗計數事件以產生多個脈衝。 As described in the first item of the scope of patent application, the number of the at least one SPAD is plural, and the random pulse modulation generator includes a signal combiner configured to combine when a dark counting event occurs The pulses of the SPADs are used to generate the random control signal, and the SPADs generate a number of dark count events with a first event expected number in a unit time to generate multiple pulses. 如申請專利範圍第1項所述的測距裝置,其中該至少一SPAD的數量為一,且該SPAD經配置以於一單位時間內發生具有一第二事件期望數量的暗計數事件,以產生多個脈衝。 The distance measuring device according to claim 1, wherein the number of the at least one SPAD is one, and the SPAD is configured to generate a dark count event with a desired number of a second event in a unit time to generate Multiple pulses. 如申請專利範圍第1項所述的測距裝置,其中該處理裝置依據該第一時間及該第二時間之間的時間差計算該目標的距離。 The distance measuring device described in item 1 of the scope of patent application, wherein the processing device 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)事件發生時產生脈衝,以產生該隨機控制訊號;配置一雷射二極體以接收該隨機控制訊號,並產生一隨機脈衝雷射並朝向一目標發射;配置一光偵測器接收反射的該隨機脈衝雷射;配置一時間數位轉換器於該隨機脈衝雷射發射時,接收該隨機控制訊號並記錄一第一時間,且於該光偵測器接收到反射的該隨機脈衝雷射時記錄一第二時間;以及配置一處理裝置依據該第一時間及該第二時間計算該目標的距離。 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), Configured to receive background photons, and generate pulses when background photon incident events or dark count rate (DCR) events occur to generate the random control signal; configure a laser diode to receive the random control signal, and Generate a random pulse laser and emit it towards a target; configure a light detector to receive the reflected random pulse laser; configure a time-to-digital converter to receive the random control signal when the random pulse laser is emitted and record a A first time, and a second time is recorded when the light detector receives the reflected random pulse laser; and a processing device is configured to calculate the distance of the target according to the first time and the second time. 如申請專利範圍第11項所述的測距方法,其中該至少一SPAD於一單位時間內發生具有一事件期望數量的多個脈衝,且該隨機控制訊號具有遵循波松隨機分佈的一隨機特性。 The distance measurement method described in claim 11, wherein the at least one SPAD generates a plurality of 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. 如申請專利範圍第12項所述的測距方法,其中該至少一SPAD的數量為複數個,且該測距方法更包括:配置該隨機脈衝調變產生器的一第一訊號合併器,以將該些SPAD的脈衝合併以產生該隨機控制訊號,其中該事件期望數量係與該些SPAD的數量成正比。 The ranging method according to item 12 of the scope of patent application, wherein the number of the at least one SPAD is plural, and the ranging method further includes: configuring a first signal combiner of the random pulse modulation generator to The pulses of the SPADs are combined to generate the random control signal, wherein the expected number of events is proportional to the number of SPADs. 如申請專利範圍第11項所述的測距方法,更包括配置一第二控制電路以判斷該至少一SPAD產生的該些脈衝之間的間隔時間是否小於一最小間隔時間,若是則將小於該最小間隔時間的脈衝過濾,以產生該隨機控制訊號。 For example, the distance measurement method described in item 11 of the scope of patent application 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, it will be less than the Pulse filtering with minimum interval time to generate the random control signal. 如申請專利範圍第14項所述的測距方法,其中該第二控制電路 包括一最小間隔時間過濾器,其包括:一第一D型正反器,其輸入端連接於該隨機脈衝調變產生器,其時脈端接收一第一時脈訊號;一反及閘,其第一輸入端連接於該第一D型正反器的輸出端,其第二輸入端接收一第一啟動訊號,其輸出端產生一第一重置訊號;一第一偏移暫存計數器,包括多個第二D型正反器,該第一偏移暫存計數器接收該第一重置訊號及該第一時脈訊號,經配置以產生該第一啟動訊號;以及一第一及閘,其第一輸入端連接於該隨機脈衝調變產生器,其第二輸入端連接於該第一偏移暫存計數器,並於其輸出端輸出該隨機控制訊號。 The distance measurement method described in item 14 of the scope of the patent application, wherein the second control circuit It includes a minimum interval time filter, which includes: a first D-type flip-flop, the input end of which is connected to the random pulse modulation generator, the clock end of which receives a first clock signal; a reverse and gate, The first input terminal is connected to the output terminal of the first D-type flip-flop, the second input terminal receives a first start signal, and the output terminal generates a first reset signal; a first offset temporary storage counter , Including a plurality of second D-type flip-flops, the first offset register counter receives the first reset signal and the first clock signal, and is configured to generate the first start signal; and a first and The gate has a first input terminal connected to the random pulse modulation generator, and a second input terminal connected to the first offset temporary storage counter, and outputs the random control signal at its output terminal. 如申請專利範圍第11項所述的測距方法,更包括配置一第三控制電路判斷該至少一SPAD產生的該些脈衝之間的間隔時間是否小於一最小間隔時間或大於一最大間隔時間,其中若該第三控制電路判斷該至少一SPAD產生的該些脈衝之間的間隔時間小於該最小間隔時間,則將小於該最小間隔時間的脈衝過濾,以產生該隨機控制訊號;以及其中若該第三控制電路判斷該至少一SPAD產生的該些脈衝之間的間隔時間大於該最大間隔時間,則強制於該隨機控制訊號中插入一強制脈衝訊號。 For example, the ranging method described in item 11 of the scope of patent application 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 will filter the pulses less than the minimum interval time to generate the random control signal; and if the 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, and then forcibly inserts a mandatory pulse signal into the random control signal. 如申請專利範圍第16項所述的測距方法,其中該第三控制電路包括:一時間邊界控制器,其包括:一第三D型正反器,其輸入端連接於該隨機脈衝調變產生器,其時脈端接收一第二時脈訊號;一第二及閘,其第一輸入端連接於該第三D型正反器的輸出端, 其第二輸入端接收一第二啟動訊號,其輸出端產生一第二重置訊號;一反或閘,其第一輸入端接收該第二重置訊號,其第二輸入端接收一插入訊號,其輸出端輸出一第三重置訊號;一第二偏移暫存計數器,包括多個第四D型正反器,該第二偏移暫存計數器接收該第三重置訊號及該第二時脈訊號,經配置以產生該第二啟動訊號及該插入訊號;一第三及閘,其第一輸入端連接該隨機脈衝調變產生器,其第二輸入端接收該第二啟動訊號,其輸出端輸出一第四重置訊號;一單穩態觸發電路,連接該第二偏移暫存計數器,由該插入訊號控制,並輸出一強制啟動脈衝;以及一或閘,其第一輸入端接收該第四重置訊號,其第二輸入端接收該強制啟動脈衝,其輸出端輸出該隨機控制訊號。 The distance measurement method according to item 16 of the scope of patent application, wherein the third control circuit includes: a time boundary controller, which includes: a third D-type flip-flop, the input terminal of which is connected to the random pulse modulation A generator, the clock terminal of which receives a second clock signal; a second and gate, the first input terminal of which is connected to the output terminal of the third D-type flip-flop, Its second input terminal receives a second start signal, and its output terminal generates a second reset signal; an inverted OR gate, its first input terminal receives the second reset signal, and its second input terminal receives an insert signal , Its output terminal outputs a third reset signal; a 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 first Two clock signals, configured to generate the second start signal and the insertion signal; a third sum gate, the first input of which is connected to the random pulse modulation generator, and the second input of which receives the second start signal , Its output terminal outputs a fourth reset signal; a monostable trigger circuit connected to the second offset temporary storage counter, controlled by the insertion signal, and outputs a forced start pulse; and an OR gate, the first The input terminal receives the fourth reset signal, the second input terminal receives the forced start pulse, and the output terminal outputs the random control signal. 如申請專利範圍第11項所述的測距方法,其中該至少一SPAD的數量為複數個,且該測距方法更包括配置該隨機脈衝調變產生器的一第二訊號合併器,經配置以於暗計數事件發生時,合併該些SPAD的脈衝以產生該隨機控制訊號,其中該些SPAD於一單位時間內發生具有一第一事件期望數量的暗計數事件以產生多個脈衝。 The distance measurement method according to item 11 of the scope of patent application, wherein the number of the at least one SPAD is plural, and the distance measurement method further includes a second signal combiner configured with the random pulse modulation generator, configured When a dark counting event occurs, the pulses of the SPADs are combined to generate the random control signal, wherein the SPADs generate dark counting events with a desired number of first events in a unit time to generate multiple pulses. 如申請專利範圍第11項所述的測距方法,其中該至少一SPAD的數量為一,且該SPAD於一單位時間內發生具有一第二事件期望數量的暗計數事件,以產生多個脈衝。 The distance measurement method described in claim 11, wherein the number of the at least one SPAD is one, and the SPAD has a dark count event with a second event expected number in a unit time to generate multiple pulses . 如申請專利範圍第11項所述的測距方法,更包括配置該處理裝置依據該第一時間及該第二時間之間的時間差計算該目標的距離。 The distance measurement method described in item 11 of the scope of the patent application further includes configuring the processing device to calculate the distance of the target according to the time difference between the first time and the second time.
TW108143329A 2019-11-28 2019-11-28 Distance measuring device and method TWI711834B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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