JP7383558B2 - Measuring device, measuring method, and program - Google Patents

Measuring device, measuring method, and program Download PDF

Info

Publication number
JP7383558B2
JP7383558B2 JP2020074371A JP2020074371A JP7383558B2 JP 7383558 B2 JP7383558 B2 JP 7383558B2 JP 2020074371 A JP2020074371 A JP 2020074371A JP 2020074371 A JP2020074371 A JP 2020074371A JP 7383558 B2 JP7383558 B2 JP 7383558B2
Authority
JP
Japan
Prior art keywords
processing cycle
timing
pulse
measuring device
firing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020074371A
Other languages
Japanese (ja)
Other versions
JP2021018231A (en
Inventor
一樹 芥川
恭範 佃
広之 平野
昇 崎村
達郎 黒岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Semiconductor Solutions Corp
Original Assignee
Sony Semiconductor Solutions Corp
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 Sony Semiconductor Solutions Corp filed Critical Sony Semiconductor Solutions Corp
Priority to PCT/JP2020/025982 priority Critical patent/WO2021010176A1/en
Priority to US17/597,406 priority patent/US20220276341A1/en
Publication of JP2021018231A publication Critical patent/JP2021018231A/en
Application granted granted Critical
Publication of JP7383558B2 publication Critical patent/JP7383558B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Optical Distance (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Description

本開示は、測定装置および測定方法、並びにプログラムに関し、特に、より短時間で高精度に距離を測定することができるようにした測定装置および測定方法、並びにプログラムに関する。 The present disclosure relates to a measuring device, a measuring method, and a program, and particularly relates to a measuring device, a measuring method, and a program that can measure distance with high precision in a shorter time.

従来、光の飛行時間を利用して距離を測定する技術であるTOF(Time of Flight)では、測距対象物に向かってパルス状のレーザ光を出力してから、そのレーザ光が測距対象物で反射して戻ってくる反射光のパルスが受光されるまでの時間が測定される。そして、パルス状のレーザ光を出力する処理周期を繰り返し、複数の処理周期で測定される測定値のヒストグラムを生成して、そのヒストグラムのピークを示す測定値に基づいて測距対象物までの距離が算出される。 Traditionally, TOF (Time of Flight), a technology that measures distance using the flight time of light, outputs a pulsed laser beam toward the object to be measured, and then the laser beam is directed toward the object to be measured. The time it takes for a pulse of reflected light to be received after being reflected off an object is measured. Then, the processing cycle of outputting pulsed laser light is repeated, a histogram of the measurement values measured in multiple processing cycles is generated, and the distance to the object to be measured is determined based on the measurement value that indicates the peak of the histogram. is calculated.

例えば、特許文献1には、複数の受光画素の各々から出力される複数の受光信号を合成することで、遠方に位置する測定対象物や反射率の低い測定対象物などの検出性能が高められた光学的測距装置が開示されている。 For example, Patent Document 1 discloses that by combining multiple light reception signals output from each of a plurality of light reception pixels, the detection performance of a measurement target located far away or a measurement target with low reflectance is improved. An optical ranging device is disclosed.

特開2016-176750号公報Japanese Patent Application Publication No. 2016-176750

ところで、従来のTOFにおいて、例えば、処理周期ごとに同一の発射タイミング(例えば、各処理周期の開始と同一のタイミングや、各処理周期の開始から同一の一定時間が経過したタイミングなど)でレーザ光のパルスを発射する場合、測定に必要な時間が長くなることや、DNL(Differential Non-Linearity)が直接的に測距精度に影響を与えることなどがあった。 By the way, in conventional TOF, for example, the laser beam is emitted at the same timing for each processing cycle (for example, at the same timing as the start of each processing cycle, or at the timing when the same fixed period of time has elapsed from the start of each processing cycle, etc.). When emitting pulses of

本開示は、このような状況に鑑みてなされたものであり、より短時間で高精度に距離を測定することができるようにするものである。 The present disclosure has been made in view of such circumstances, and is intended to enable distance measurement with high accuracy in a shorter time.

本開示の一側面の測定装置は、所定の処理周期ごとに繰り返して、レーザ光のパルスを発射する発射タイミングを指示する信号を生成する発射タイミング信号生成部と、前記レーザ光が測距対象物で反射して戻ってきた反射光におけるパルスを受光したタイミングを示すカウントコードのカウントを、前記処理周期の切り替わり時に継続して行うカウンタと、前記処理周期の開始から前記発射タイミングを遅延させる時間を示す発射遅延値を、前記処理周期ごとに異ならせて前記発射タイミング信号生成部に指示するタイミング指示部とを備える。 A measuring device according to an aspect of the present disclosure includes a firing timing signal generation unit that repeatedly generates a signal instructing a firing timing for emitting pulses of laser light at each predetermined processing cycle; a counter that continuously counts a count code indicating the timing of receiving a pulse in the reflected light reflected back at the switching of the processing cycle, and a time for delaying the emission timing from the start of the processing cycle. and a timing instruction section that instructs the emission timing signal generation section to set a different emission delay value for each processing cycle.

本開示の一側面の測定方法またはプログラムは、所定の処理周期ごとに繰り返して、レーザ光のパルスを発射する発射タイミングを指示する信号を生成することと、前記レーザ光が測距対象物で反射して戻ってきた反射光におけるパルスを受光したタイミングを示すカウントコードのカウントを、前記処理周期の切り替わり時に継続して行うことと、前記処理周期の開始から前記発射タイミングを遅延させる時間を示す発射遅延値を、前記処理周期ごとに異ならせて指示することとを含む。 A measuring method or a program according to an aspect of the present disclosure includes the steps of: repeating every predetermined processing cycle to generate a signal instructing the firing timing to emit a pulse of laser light; and the laser light is reflected by an object to be measured. counting of a count code indicating the timing of receiving a pulse in the reflected light that has returned from the process is continued at the time of switching of the processing cycle; and firing indicating the time for delaying the firing timing from the start of the processing cycle. The method includes instructing a different delay value for each processing cycle.

本開示の一側面においては、所定の処理周期ごとに繰り返して、レーザ光のパルスを発射する発射タイミングを指示する信号が生成され、レーザ光が測距対象物で反射して戻ってきた反射光におけるパルスを受光したタイミングを示すカウントコードのカウントが、処理周期の切り替わり時に継続して行われ、処理周期の開始から発射タイミングを遅延させる時間を示す発射遅延値が、処理周期ごとに異ならせて指示される。 In one aspect of the present disclosure, a signal instructing the firing timing for emitting pulses of laser light is generated repeatedly at each predetermined processing cycle, and reflected light that is reflected by the laser light from an object to be measured is returned. The count code that indicates the timing at which a pulse is received is continuously counted when the processing cycle changes, and the firing delay value that indicates the time to delay the firing timing from the start of the processing cycle is changed for each processing cycle. be instructed.

本技術を適用した測定装置の一実施の形態の構成例を示すブロック図である。FIG. 1 is a block diagram showing a configuration example of an embodiment of a measuring device to which the present technology is applied. 処理周期およびパルスの発射タイミングを説明する図である。FIG. 2 is a diagram illustrating a processing cycle and pulse emission timing. 測距処理の処理例を説明するフローチャートである。It is a flowchart explaining the processing example of distance measurement processing. 測距レンジ時間の外で検出された反射光のパルスに起因するゴーストの発生を抑制する効果を説明する図である。FIG. 6 is a diagram illustrating the effect of suppressing the occurrence of ghosts caused by pulses of reflected light detected outside the distance measurement range time. 1回の処理周期内で、パルスの発射回数が2回以上となるレーザ光を用いて測距処理を行うことができることによる効果を説明する図である。FIG. 6 is a diagram illustrating the effect of being able to perform distance measurement processing using a laser beam in which pulses are emitted two or more times within one processing cycle. DNLが測定精度に与える影響がキャンセルされることによる効果を説明する図である。FIG. 7 is a diagram illustrating the effect of canceling the influence of DNL on measurement accuracy. 上位ビットと下位ビットとを分ける構成で、DNLが測定精度に与える影響がキャンセルされる効果を説明する図である。FIG. 3 is a diagram illustrating the effect of canceling the influence of DNL on measurement accuracy with a configuration in which upper bits and lower bits are separated. 処理周期に同期した外乱電波によるノイズの影響について説明する図である。FIG. 3 is a diagram illustrating the influence of noise due to disturbance radio waves synchronized with a processing cycle. 処理周期に同期した外乱電波によるノイズの影響を抑制する効果について説明する図である。FIG. 6 is a diagram illustrating the effect of suppressing the influence of noise caused by disturbance radio waves synchronized with a processing cycle. 処理周期の全域にわたってパルスの発射タイミングが変更されない場合について説明する図である。FIG. 6 is a diagram illustrating a case where the pulse emission timing is not changed throughout the processing cycle. カウントコードの最大値を変えることによる効果について説明する図である。FIG. 6 is a diagram illustrating the effect of changing the maximum value of the count code. 測距レンジ時間をシフトすることができる効果を説明する図である。FIG. 6 is a diagram illustrating the effect of being able to shift the distance measurement range time. ランプ波形の変形例を示す図である。It is a figure which shows the modification of a ramp waveform. 処理周期ごとに等間隔で発射遅延値がずらされる処理例について説明する図である。FIG. 7 is a diagram illustrating a processing example in which firing delay values are shifted at equal intervals in each processing cycle. レーザ照射タイミングの制御方法とTOF結果の処理方法について説明する図である。FIG. 3 is a diagram illustrating a method of controlling laser irradiation timing and a method of processing TOF results. 処理周期ごとに所定のパターンで発射遅延値がずらされる処理について説明するフローチャートである。12 is a flowchart illustrating a process in which a firing delay value is shifted in a predetermined pattern every processing cycle. 処理周期ごとに所定のパターンで発射遅延値をずらした場合におけるDNLが測定精度に与える影響がキャンセルされることによる効果について説明する図である。FIG. 7 is a diagram illustrating the effect of canceling the influence of DNL on measurement accuracy when the firing delay value is shifted in a predetermined pattern for each processing cycle. レンジ外ToFの影響によるゴーストヒストグラムの形状を説明する第1の例を示す図である。FIG. 6 is a diagram showing a first example illustrating the shape of a ghost histogram due to the influence of out-of-range ToF. レンジ外ToFの影響によるゴーストヒストグラムの形状を説明する第2の例を示す図である。FIG. 7 is a diagram showing a second example illustrating the shape of a ghost histogram due to the influence of out-of-range ToF. 本技術を適用したコンピュータの一実施の形態の構成例を示すブロック図である。1 is a block diagram showing a configuration example of an embodiment of a computer to which the present technology is applied.

以下、本技術を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。 Hereinafter, specific embodiments to which the present technology is applied will be described in detail with reference to the drawings.

<測定装置の構成例>
図1は、本技術を適用した測定装置の一実施の形態の構成例を示すブロック図である。
<Example of configuration of measuring device>
FIG. 1 is a block diagram showing a configuration example of an embodiment of a measuring device to which the present technology is applied.

図1に示す測定装置11は、例えば、測距対象物に向かってパルス状のレーザ光を出力してから、そのレーザ光が測距対象物で反射して戻ってくる反射光のパルスを受光するまでの時間を測定することで、測距対象物との距離を測定する。なお、図1では、パルスが4つのレーザ光を測距対象物に対して出力しても、測距対象物との間が遠距離である場合には、破線で示す3つのパルスは戻らずに、反射光として1つのパルスが戻ってくる程度であることを表している。 The measuring device 11 shown in FIG. 1, for example, outputs a pulsed laser beam toward an object to be measured, and then receives a pulse of reflected light that is reflected back from the object to be measured. The distance to the target object is measured by measuring the time it takes to reach the distance. In Figure 1, even if a laser beam with four pulses is output to the object to be measured, if the object is far away, the three pulses indicated by the broken lines will not return. This means that only one pulse returns as reflected light.

図1に示すように、測定装置11は、発射タイミング信号生成部12、レーザドライバ13、受光素子14、TDC15、タイミング指示部16、演算部17、ヒストグラム生成部18、および距離算出部19を備えて構成される。また、TDC15は、カウンタ21およびラッチ22を有している。例えば、測定装置11では、各ブロックが完全に同期している場合には、各ブロックで同期して処理周期を開始することができる。または、測定装置11では、各ブロックが完全に同期していない場合には、処理周期の開始を知らせる信号が、破線の矢印で示すようにTDC15から発射タイミング信号生成部12およびタイミング指示部16に供給される。 As shown in FIG. 1, the measurement device 11 includes a firing timing signal generation section 12, a laser driver 13, a light receiving element 14, a TDC 15, a timing instruction section 16, a calculation section 17, a histogram generation section 18, and a distance calculation section 19. It consists of Further, the TDC 15 has a counter 21 and a latch 22. For example, in the measuring device 11, if each block is completely synchronized, each block can start a processing cycle in synchronization. Alternatively, in the measuring device 11, if the blocks are not completely synchronized, a signal notifying the start of the processing cycle is sent from the TDC 15 to the firing timing signal generation unit 12 and the timing instruction unit 16 as shown by the dashed arrow. Supplied.

発射タイミング信号生成部12は、測定装置11から出力されるレーザ光によるパルスを発射する発射タイミングを指示するTxパルス信号を生成して、レーザドライバ13に供給する。このとき、発射タイミング信号生成部12は、タイミング指示部16から供給される発射遅延値に従って、処理周期を開始するタイミングから発射タイミングを遅延させることができる。 The emission timing signal generation unit 12 generates a Tx pulse signal that instructs the emission timing for emitting pulses of laser light output from the measurement device 11 and supplies it to the laser driver 13 . At this time, the firing timing signal generation section 12 can delay the firing timing from the timing at which the processing cycle starts, according to the firing delay value supplied from the timing instruction section 16.

レーザドライバ13は、発射タイミング信号生成部12から供給されるTxパルス信号に従って、図示しないレーザ発光素子を駆動し、発射タイミングに基づいてパルス状となるレーザ光を出力させる。 The laser driver 13 drives a laser light emitting element (not shown) according to the Tx pulse signal supplied from the emission timing signal generation section 12, and outputs pulsed laser light based on the emission timing.

受光素子14は、例えば、SPAD(single photon avalanche diode)であり、パルス状のレーザ光が測距対象物で反射して戻ってきた反射光を受光して、その反射光の波形を示すRxパルス信号を、TDC15のラッチ22に供給する。 The light-receiving element 14 is, for example, a SPAD (single photon avalanche diode), and receives the reflected light of the pulsed laser light reflected by the object to be measured, and generates an Rx pulse indicating the waveform of the reflected light. The signal is supplied to the latch 22 of the TDC 15.

TDC(Time-to-Digital Conversion)15は、測定装置11から出力されたレーザ光が、測距対象物で反射して戻ってくるまでの時間をディジタル値に変換する。即ち、カウンタ21が、処理周期の開始に合わせてカウントコードのカウントアップを開始し、ラッチ22が、受光素子14から供給されるRxパルス信号が示すパルスのタイミングでカウンタ21からカウントコードを取り込んで出力する。 A TDC (Time-to-Digital Conversion) 15 converts the time it takes for the laser beam output from the measurement device 11 to be reflected by an object to be measured and returned to a digital value. That is, the counter 21 starts counting up the count code at the start of the processing cycle, and the latch 22 takes in the count code from the counter 21 at the timing of the pulse indicated by the Rx pulse signal supplied from the light receiving element 14. Output.

タイミング指示部16は、処理周期の開始からパルスの発射タイミングを遅らせる時間を示す発射遅延値を、発射タイミング信号生成部12および演算部17に供給して、測定装置11からパルスを発射する発射タイミングを指示する。そして、タイミング指示部16は、処理周期ごとに、発射遅延値を変更することができる。これにより、測定装置11では、処理周期ごとに、処理周期の開始から異なる発射タイミングでパルスが発射されることになる。 The timing instruction unit 16 supplies a firing delay value indicating the time to delay the pulse firing timing from the start of the processing cycle to the firing timing signal generating unit 12 and the calculation unit 17, and determines the firing timing at which the pulse is fired from the measuring device 11. instruct. The timing instruction unit 16 can change the firing delay value for each processing cycle. As a result, in the measuring device 11, pulses are emitted at different emission timings from the start of the processing cycle for each processing cycle.

ここで、以下、本実施の形態では、タイミング指示部16により指示される発射遅延値に従って、パルスを発射させる発射タイミングを処理周期ごとに変更することを、パルスモジュレーションと称する。 Hereinafter, in this embodiment, changing the firing timing at which pulses are fired every processing cycle according to the firing delay value instructed by the timing instruction unit 16 is referred to as pulse modulation.

演算部17は、TDC15のラッチ22から供給されるカウントコードから、タイミング指示部16から供給される発射遅延値を減算する演算を行い、その演算により算出された値をToF値としてヒストグラム生成部18に供給する。即ち、測定装置11では、処理周期の開始から発射遅延値に従って遅れた発射タイミングでパルスが発射されるように、パルス状のレーザ光が出力される。そのため、演算部17が、受光素子14が反射光のパルスを受光したタイミングを示すカウントコードから発射遅延値を減算することで、レーザ光が測距対象物との間を往復する飛行時間に対応するToF値を求めることができる。 The calculation unit 17 performs a calculation to subtract the firing delay value supplied from the timing instruction unit 16 from the count code supplied from the latch 22 of the TDC 15, and uses the value calculated by the calculation as a ToF value to the histogram generation unit 18. supply to. That is, the measuring device 11 outputs a pulsed laser beam so that the pulse is emitted at a firing timing delayed according to the firing delay value from the start of the processing cycle. Therefore, the calculation unit 17 subtracts the launch delay value from the count code indicating the timing at which the light receiving element 14 receives the pulse of reflected light, thereby corresponding to the flight time of the laser beam to and from the object to be measured. The ToF value can be found.

ヒストグラム生成部18は、演算部17によって算出されたToF値のヒストグラムを生成する。例えば、測定装置11では、複数の処理周期が繰り返して行われ、ヒストグラム生成部18は、処理周期が繰り返された分の複数のToF値を用いてヒストグラムを生成する。そして、ヒストグラム生成部18は、ある1つのToF値がピークを示していることが特定されるようなヒストグラムが生成されると、そのピークを示すToF値を距離算出部19に供給する。 The histogram generation unit 18 generates a histogram of the ToF values calculated by the calculation unit 17. For example, in the measuring device 11, a plurality of processing cycles are repeatedly performed, and the histogram generation unit 18 generates a histogram using a plurality of ToF values corresponding to the repeated processing cycles. When a histogram is generated in which it is specified that a certain ToF value indicates a peak, the histogram generation unit 18 supplies the ToF value indicating the peak to the distance calculation unit 19.

距離算出部19は、ヒストグラム生成部18から供給されるToF値を用い、光の速度に基づいて測距対象物との距離を算出する。 The distance calculation unit 19 uses the ToF value supplied from the histogram generation unit 18 to calculate the distance to the object to be measured based on the speed of light.

ここで、図2を参照して、測定装置11における処理周期、および、パルスの発射タイミングについて説明する。 Here, with reference to FIG. 2, the processing cycle in the measuring device 11 and the pulse emission timing will be explained.

図2に示すTDC RAMPは、TDC15のカウンタ21がカウントするカウントコードを可視化したランプ波形を表しており、カウンタ21は、処理周期ごとに、カウントコード0からカウントアップを繰り返して行う。そして、測定装置11では、TDC RAMPで示されるように、カウンタ21は、処理周期が開始したタイミングから遅延することなく(0レイテンシで)、カウントアップを開始する。 TDC RAMP shown in FIG. 2 represents a ramp waveform that visualizes the count code counted by the counter 21 of the TDC 15, and the counter 21 repeatedly counts up from count code 0 in each processing cycle. Then, in the measuring device 11, the counter 21 starts counting up without delay (with 0 latency) from the timing at which the processing cycle starts, as indicated by TDC RAMP.

従って、測定装置11では、処理周期の切り替わり時にTDC RAMPが停止することがなく、カウンタ21によるカウントが継続して行われ、カウントコードは0にリセットされるがカウントが停止することはない。これにより、測定装置11では、ある処理周期においてパルスが出力されたタイミングで開始される測距レンジ時間(ToF range)を、次の処理周期に重複させることが可能となる。なお、測距レンジは、測距対象物との間の距離を測距の対象としたときに、その距離が含まれる一定の距離幅を表しており、測距レンジとの間で光が往復する飛行時間の幅を、以下、測距レンジ時間と称する。 Therefore, in the measuring device 11, the TDC RAMP does not stop when the processing cycle changes, and the counter 21 continues counting, and although the count code is reset to 0, the counting does not stop. Thereby, in the measuring device 11, it becomes possible to overlap the ranging range time (ToF range) that starts at the timing when a pulse is output in a certain processing cycle in the next processing cycle. Note that the distance measurement range represents a certain range of distance that includes the distance between the distance measurement target and the distance measurement target, and the distance measurement range is a fixed distance range that includes the distance between the distance measurement target and the distance measurement target. The width of the flight time is hereinafter referred to as the distance measurement range time.

また、測定装置11では、処理周期を開始するタイミングでパルスが発射されるのではなく、処理周期の開始から発射遅延値DLYに従って遅れた発射タイミングでパルスが発射される。このため、測定装置11では、演算部17が、反射光のパルスを検出したタイミングにおけるカウントコードから、発射遅延値DLYを減算する演算によって、測距対象物との距離を光が往復する時間に対応するToF値を求めることができる。 Furthermore, in the measuring device 11, the pulse is not emitted at the timing at which the processing cycle starts, but at a timing delayed from the start of the processing cycle according to the emission delay value DLY. Therefore, in the measuring device 11, the calculation unit 17 subtracts the launch delay value DLY from the count code at the timing when the pulse of the reflected light is detected, and calculates the time it takes for the light to travel back and forth between the distance and the object to be measured. The corresponding ToF value can be determined.

さらに、測定装置11では、タイミング指示部16は、上述したようなパルスモジュレーションを行うことで、処理周期ごとに異なる発射遅延値DLYを発射タイミング信号生成部12に供給する。即ち、図2に示すように、発射遅延値DLY1および発射遅延値DLY2が異なっており、処理周期ごとに、処理周期の開始からパルスが発射されるまでの間隔が一定とならないように調整される。 Further, in the measuring device 11, the timing instruction section 16 performs pulse modulation as described above to supply a different firing delay value DLY for each processing cycle to the firing timing signal generating section 12. That is, as shown in FIG. 2, the firing delay value DLY1 and the firing delay value DLY2 are different, and are adjusted for each processing cycle so that the interval from the start of the processing cycle until the pulse is emitted is not constant. .

以上のように構成される測定装置11は、処理周期の切り替わり時にカウンタ21によるカウントが継続して行われ、発射遅延値に従ってパルスを発射させる発射タイミングを処理周期ごとに異なるものとすることができる。これにより、測定装置11は、後述するように、測距レンジ時間を重複させたときに生じるゴースト(誤測距)の影響を分散させることができる。従って、測定装置11は、従来のように、例えば、測距レンジ時間を重複させることができず、パルスモジュレーション用のオーバヘッド時間を設けるような構成よりも、より短時間で測距対象物との距離を測定することができる。 In the measuring device 11 configured as described above, the counter 21 continues counting when the processing cycle changes, and the firing timing for emitting pulses can be made different for each processing cycle according to the firing delay value. . Thereby, the measuring device 11 can disperse the influence of ghosts (erroneous distance measurement) that occur when the distance measurement range times overlap, as will be described later. Therefore, the measuring device 11 can reach the object to be measured in a shorter time than a conventional configuration in which, for example, the distance measuring range time cannot be overlapped and an overhead time for pulse modulation is provided. Distance can be measured.

<測距処理の処理例>
図3に示すフローチャートを参照して、測定装置11において実行される測距処理について説明する。
<Example of distance measurement processing>
The distance measurement process executed in the measuring device 11 will be described with reference to the flowchart shown in FIG.

例えば、測距処理を開始するように制御が行われると1回目の処理周期が開始され、ステップS11において、カウンタ21は、カウントコードのカウントアップを開始する。 For example, when control is performed to start distance measurement processing, the first processing cycle is started, and in step S11, the counter 21 starts counting up the count code.

ステップS12において、タイミング指示部16は、処理周期の開始からパルスの発射タイミングを遅らせる時間を示す発射遅延値を、発射タイミング信号生成部12および演算部17に供給する。 In step S12, the timing instruction unit 16 supplies the firing timing signal generation unit 12 and the calculation unit 17 with a firing delay value indicating the time to delay the pulse firing timing from the start of the processing cycle.

ステップS13において、発射タイミング信号生成部12は、ステップS12でタイミング指示部16から供給される発射遅延値に従って処理周期開始から遅延した発射タイミングでパルスの発射を指示するTxパルス信号をレーザドライバ13に供給する。これにより、レーザドライバ13は、図示しないレーザ発光素子を駆動し、Txパルス信号が示す発射タイミングに従ってパルスを発射するパルス状のレーザ光を出力させる。 In step S13, the firing timing signal generation unit 12 sends a Tx pulse signal to the laser driver 13 instructing the laser driver 13 to emit a pulse at a firing timing delayed from the start of the processing cycle according to the firing delay value supplied from the timing instruction unit 16 in step S12. supply Thereby, the laser driver 13 drives a laser light emitting element (not shown) to output pulsed laser light that emits pulses according to the emission timing indicated by the Tx pulse signal.

ステップS14において、受光素子14は、ステップS13で出力されたパルス状のレーザ光の反射光を受光し、その反射光の波形を示すRxパルス信号をラッチ22に供給する。これにより、ラッチ22は、受光素子14から供給されるRxパルス信号が示すパルスのタイミングでカウンタ21からカウントコードを取り込み、演算部17に供給する。 In step S14, the light receiving element 14 receives the reflected light of the pulsed laser light outputted in step S13, and supplies the latch 22 with an Rx pulse signal indicating the waveform of the reflected light. Thereby, the latch 22 takes in the count code from the counter 21 at the timing of the pulse indicated by the Rx pulse signal supplied from the light receiving element 14, and supplies it to the calculation section 17.

ステップS15において、演算部17は、ステップS14でラッチ22から供給されるカウントコードから、ステップS12でタイミング指示部16から供給される発射遅延値を減算する演算を行うことでToF値を求め、ヒストグラム生成部18に供給する。 In step S15, the calculation unit 17 calculates the ToF value by subtracting the firing delay value supplied from the timing instruction unit 16 in step S12 from the count code supplied from the latch 22 in step S14, and calculates the ToF value. It is supplied to the generation unit 18.

ステップS16において、ヒストグラム生成部18は、繰り返して行われるステップS15で演算部17から供給される複数のToF値を用いてヒストグラムを生成する。 In step S16, the histogram generation unit 18 generates a histogram using the plurality of ToF values supplied from the calculation unit 17 in step S15, which is performed repeatedly.

ステップS17において、ヒストグラム生成部18は、直前のステップS16で生成したヒストグラムにおいてToF値のピークが特定されたか否か、例えば、所定のToF値においてピークを示すようなヒストグラムが生成されたか否かを判定する。 In step S17, the histogram generation unit 18 determines whether a peak of the ToF value has been identified in the histogram generated in the immediately preceding step S16, for example, whether a histogram showing a peak at a predetermined ToF value has been generated. judge.

ステップS17において、ヒストグラム生成部18が、直前のステップS16で生成したヒストグラムにおいてToF値のピークが特定されていないと判定した場合、処理はステップS11に戻る。このとき、カウンタ21がカウントコードの最大値までカウントアップを行って、その次にカウントするタイミングでカウントコードを0にリセットして、以下同様に、2回目以降の処理周期が繰り返して行われる。 In step S17, if the histogram generation unit 18 determines that the peak of the ToF value is not identified in the histogram generated in the immediately preceding step S16, the process returns to step S11. At this time, the counter 21 counts up to the maximum value of the count code, resets the count code to 0 at the next counting timing, and the second and subsequent processing cycles are repeated in the same manner.

一方、ステップS17において、ヒストグラム生成部18が、直前のステップS16で生成したヒストグラムにおいてToF値のピークが特定されたと判定した場合、処理はステップS18に進む。即ち、所定のToF値においてピークを示すようなヒストグラムが生成されるまで、処理周期が繰り返される。 On the other hand, if the histogram generation unit 18 determines in step S17 that the peak of the ToF value has been identified in the histogram generated in the immediately preceding step S16, the process proceeds to step S18. That is, the processing cycle is repeated until a histogram is generated that shows a peak at a predetermined ToF value.

ステップS18において、ヒストグラム生成部18は、ヒストグラムにおいてピークとして特定されたToF値を距離算出部19に供給する。そして、距離算出部19が、そのToF値を用いて測距対象物との距離を算出した後、処理は終了される。 In step S18, the histogram generation unit 18 supplies the ToF value identified as a peak in the histogram to the distance calculation unit 19. After the distance calculation unit 19 calculates the distance to the object to be measured using the ToF value, the process ends.

以上のような測定処理により測定装置11は、より短時間で高精度に測距対象物との距離を測定することができる。 Through the measurement processing described above, the measuring device 11 can measure the distance to the object to be measured with high accuracy in a shorter time.

例えば、測定装置11は、パルスモジュレーションを行うことによって、図4を参照して後述するように、測距対象物との距離に従った真のToF値とは異なるToF値(以下、ゴーストのToF値と称する)が求められることによる悪影響を抑制することができる。これにより、測距対象物との距離の測定に必要な時間を短縮することができる。 For example, by performing pulse modulation, the measurement device 11 generates a ToF value (hereinafter referred to as a ghost ToF value) that is different from the true ToF value according to the distance to the object to be measured, as described later with reference to FIG. It is possible to suppress the negative effects caused by the requirement of a value (referred to as a value). Thereby, the time required to measure the distance to the object to be measured can be shortened.

また、測定装置11は、処理周期の切り替わり時にカウンタ21によるカウントを継続して行うことによって、測距レンジ時間を重複して設定することが可能となり、図5を参照して後述するように、1回の処理周期内で、パルスの発射回数が2回以上となるレーザ光を用いて測距処理を行うことができる。これにより、より多くのToF値を短時間で求めることができ、より早くヒストグラムにおけるピークを特定することができる。 Furthermore, by continuously performing counting by the counter 21 at the time of switching the processing cycle, the measuring device 11 can set the ranging range time repeatedly, and as will be described later with reference to FIG. Distance measurement processing can be performed using a laser beam in which pulses are emitted two or more times within one processing cycle. As a result, more ToF values can be obtained in a short time, and peaks in the histogram can be identified more quickly.

また、測定装置11は、パルスモジュレーションを行うことによって、図6および図7を参照して後述するように、DNLが測定精度に与える影響がキャンセルされることになり、より測定精度の向上を図ることができる。 In addition, by performing pulse modulation, the measuring device 11 cancels the influence of DNL on measurement accuracy, as will be described later with reference to FIGS. 6 and 7, and further improves measurement accuracy. be able to.

また、測定装置11は、パルスモジュレーションを行うことによって、図8乃至図11を参照して後述するように、処理周期に同期した外乱電波によるノイズの影響を抑制することができ、より測定精度の向上を図ることができる。 Furthermore, by performing pulse modulation, the measuring device 11 can suppress the influence of noise caused by disturbance radio waves synchronized with the processing cycle, as will be described later with reference to FIGS. 8 to 11, and can further improve measurement accuracy. You can improve your performance.

また、測定装置11は、処理周期の切り替わり時にカウンタ21によるカウントを継続して行うことによって、処理周期を跨いで測距レンジ時間を設定することが可能となり、図12を参照して後述するように、測距レンジ時間をシフトすることができる。 Furthermore, by continuously performing counting with the counter 21 when the processing cycle is switched, the measuring device 11 can set the ranging range time across the processing cycle, as will be described later with reference to FIG. 12. The distance measurement range time can be shifted accordingly.

<測距処理の効果>
図4乃至図12を参照して、上述したような測定装置11の測距処理により得られる効果について説明する。
<Effects of distance measurement processing>
With reference to FIGS. 4 to 12, the effects obtained by the distance measurement processing of the measuring device 11 as described above will be explained.

図4は、測定装置11において、測距レンジ時間の外で検出された反射光のパルスに起因するゴーストのToF値の発生を抑制する効果について説明する図である。 FIG. 4 is a diagram illustrating the effect of suppressing the occurrence of a ghost ToF value caused by a pulse of reflected light detected outside the distance measurement range time in the measuring device 11.

図4には、循環するように繰り返される処理周期#1乃至#3が示されている。そして、それぞれの処理周期が開始するタイミングからカウンタ21によるカウントアップが開始され、1回の処理周期では、カウントコード0からカウントコード100までがカウントされる。また、1回の処理周期に対応する時間に一致するように、即ち、カウンタ21によってカウントコード100をカウントするのに要する時間に一致するように、測距レンジ時間が設定される。 FIG. 4 shows processing cycles #1 to #3 that are repeated in a circular manner. Then, the counter 21 starts counting up from the timing when each processing cycle starts, and counts from count code 0 to count code 100 in one processing cycle. Further, the ranging range time is set to match the time corresponding to one processing cycle, that is, to match the time required for the counter 21 to count the count code 100.

そして、測定装置11は、上述したように、発射遅延値に従ってパルスを発射させる発射タイミングを処理周期ごとに変更するパルスモジュレーションを行うように構成されている。従って、図4に示す例では、処理周期#1では、処理周期開始から発射遅延値20でパルスが発射され、処理周期#2では、処理周期開始から発射遅延値10でパルスが発射され、処理周期#3では、処理周期開始から発射遅延値30でパルスが発射されている。 As described above, the measuring device 11 is configured to perform pulse modulation in which the firing timing at which pulses are fired is changed every processing cycle according to the firing delay value. Therefore, in the example shown in FIG. 4, in processing cycle #1, a pulse is emitted with a firing delay value of 20 from the start of the processing cycle, and in processing cycle #2, a pulse is emitted with a firing delay value of 10 from the start of the processing cycle; In cycle #3, pulses are emitted with an emission delay value of 30 from the start of the processing cycle.

これに応じ、処理周期#1の発射遅延値20で発射されたパルスに応じた測距レンジ時間は、処理周期#1のカウントコード20から処理周期#2のカウントコード20までとなる。また、処理周期#2の発射遅延値10で発射されたパルスに応じた測距レンジ時間は、処理周期#2のカウントコード10から処理周期#3のカウントコード10までとなる。このとき、処理周期#1の発射遅延値20で発射されたパルスに応じた測距レンジ時間と、処理周期#2の発射遅延値10で発射されたパルスに応じた測距レンジ時間とは、処理周期#2のカウントコード10からカウントコード20までの間で重複することになる。 Accordingly, the ranging range time corresponding to the pulse emitted with the emission delay value 20 of the processing cycle #1 is from the count code 20 of the processing cycle #1 to the count code 20 of the processing cycle #2. Further, the ranging range time corresponding to the pulse emitted with the firing delay value 10 in the processing cycle #2 is from the count code 10 in the processing cycle #2 to the count code 10 in the processing cycle #3. At this time, the ranging range time corresponding to the pulse emitted with a firing delay value of 20 in processing cycle #1 and the ranging range time corresponding to the pulse emitted with a firing delay value of 10 in processing cycle #2 are as follows. There will be overlap between count code 10 and count code 20 in processing cycle #2.

まず、図4に示されるTDC15から出力されるカウントコードのケース1(TDCout case1)について説明する。例えば、ケース1では、処理周期#1においてカウントコード25が出力され、処理周期#2においてカウントコード15が出力され、処理周期#3においてカウントコード35が出力されている。 First, case 1 (TDCout case 1) of the count code output from the TDC 15 shown in FIG. 4 will be explained. For example, in case 1, count code 25 is output in processing cycle #1, count code 15 is output in processing cycle #2, and count code 35 is output in processing cycle #3.

従って、処理周期#1のカウントコード25で検出された反射光が、処理周期#1の発射遅延値20で発射されたパルスが反射したものであるとした場合、カウントコード25から発射遅延値20を減算してToF値5が求められる。同様に、処理周期#2のカウントコード15で検出された反射光が、処理周期#2の発射遅延値10で発射されたパルスが反射したものであるとした場合、カウントコード15から発射遅延値10を減算してToF値5が求められる。さらに、処理周期#3のカウントコード35で検出された反射光が、処理周期#3の発射遅延値30で発射されたパルスが反射したものであるとした場合、カウントコード35から発射遅延値30を減算してToF値5が求められる。 Therefore, if the reflected light detected by the count code 25 of processing cycle #1 is the reflected pulse emitted with the launch delay value 20 of processing cycle #1, then the launch delay value 20 is determined from the count code 25. ToF value 5 is obtained by subtracting . Similarly, if the reflected light detected at count code 15 in processing cycle #2 is a reflected pulse emitted at launch delay value 10 in processing cycle #2, then the launch delay value is determined from count code 15. A ToF value of 5 is obtained by subtracting 10. Furthermore, if the reflected light detected by the count code 35 in the processing cycle #3 is a pulse emitted with the launch delay value 30 in the processing cycle #3, then the launch delay value 30 is determined from the count code 35. ToF value 5 is obtained by subtracting .

その後、同様の処理周期が繰り返して行われ、それらの処理周期で求められるToF値のヒストグラムを生成すると、ToF値5がピークを示すことになる。 Thereafter, similar processing cycles are repeated, and when a histogram of ToF values obtained in these processing cycles is generated, a ToF value of 5 shows a peak.

ところで、処理周期#2のカウントコード15で検出された反射光は、処理周期#1の発射遅延値20で発射されたパルスに応じた測距レンジ時間と、処理周期#2の発射遅延値10で発射されたパルスに応じた測距レンジ時間とが重複した範囲となっている。そのため、どちらの測距レンジ時間を適用するべきか判別することはできない。 By the way, the reflected light detected by the count code 15 in the processing cycle #2 has a ranging range time corresponding to the pulse emitted with the firing delay value 20 in the processing cycle #1 and a firing delay value 10 in the processing cycle #2. The distance measurement range time corresponding to the pulse emitted in the range overlaps. Therefore, it is not possible to determine which distance measurement range time should be applied.

例えば、処理周期#1の発射遅延値20で発射されたパルスに対する測距レンジ時間を適用した場合、処理周期#2におけるカウントコード15は、処理周期#1の開始からカウントを継続するとカウントコード115に対応し、処理周期#1の発射遅延値20を減算してToF値95が求められる。 For example, when applying the ranging range time to a pulse emitted with a firing delay value of 20 in processing cycle #1, a count code of 15 in processing cycle #2 will become a count code of 115 if counting continues from the start of processing cycle #1. Corresponding to this, a ToF value of 95 is obtained by subtracting the firing delay value of 20 for processing cycle #1.

しかしながら、測定装置11では、上述したようなパルスモジュレーションが行われるため、ゴーストのToF値95は、真のToF値5のように一定の値を示すことはなく、処理周期ごとに発射遅延値を変更するのに応じて散らばって分散される。なお、このとき、ノイズについての変化はない。 However, since the measurement device 11 performs pulse modulation as described above, the ghost ToF value 95 does not show a constant value like the true ToF value 5, and the launch delay value is changed every processing cycle. Scattered and distributed as changes occur. Note that at this time, there is no change in noise.

このように、測定装置11では、ゴーストのToF値が散らばることによって、ゴーストのToF値が求められることによる悪影響を抑制することができ、より短時間で真のToF値がピークを示すヒストグラムを生成することができる。従って、測定装置11は、測距対象物との距離の測定に必要な時間を短縮することができる。 In this way, the measuring device 11 can suppress the negative effects caused by determining the ToF value of the ghost by scattering the ToF value of the ghost, and generate a histogram in which the true ToF value peaks in a shorter time. can do. Therefore, the measuring device 11 can shorten the time required to measure the distance to the object to be measured.

また、図4に示されるTDC15から出力されるカウントコードのケース2(TDCout case2)について説明する。例えば、ケース2では、処理周期#1においてカウントコードが出力されず、処理周期#2においてカウントコード60が出力され、処理周期#3においてカウントコード50が出力されている。 Further, case 2 (TDCout case 2) of the count code output from the TDC 15 shown in FIG. 4 will be explained. For example, in case 2, no count code is output in processing cycle #1, count code 60 is output in processing cycle #2, and count code 50 is output in processing cycle #3.

従って、処理周期#2のカウントコード60で検出された反射光が、処理周期#1の発射遅延値20で発射されたパルスが反射したものであるとした場合、処理周期#2のカウントコード60(処理周期#1の開始からカウントコード160)から発射遅延値20を減算してToF値140が求められる。同様に、処理周期#3のカウントコード50で検出された反射光が、処理周期#2の発射遅延値10で発射されたパルスが反射したものであるとした場合、処理周期#3のカウントコード50(処理周期#2の開始からカウントコード150)から発射遅延値10を減算してToF値140が求められる。 Therefore, if the reflected light detected by the count code 60 of processing cycle #2 is the reflected light of the pulse emitted with the firing delay value 20 of processing cycle #1, then the reflected light detected by the count code 60 of processing cycle #2 The ToF value 140 is obtained by subtracting the firing delay value 20 from the count code 160 from the start of processing cycle #1. Similarly, if the reflected light detected at the count code 50 of processing cycle #3 is the reflected pulse emitted at the firing delay value 10 of processing cycle #2, then the count code of processing cycle #3 ToF value 140 is obtained by subtracting the firing delay value 10 from 50 (count code 150 from the start of processing cycle #2).

その後、同様の処理周期が繰り返して行われ、それらの処理周期で求められるToF値のヒストグラムを生成すると、ToF値140がピークを示すことになる。 After that, similar processing cycles are repeated, and when a histogram of ToF values obtained in these processing cycles is generated, a ToF value of 140 shows a peak.

ところで、処理周期#2のカウントコード60で検出された反射光が、処理周期#2の発射遅延値10で発射されたパルスが反射したものであるとした場合、処理周期#2のカウントコード60から発射遅延値10を減算してToF値50が求められる。同様に、処理周期#3のカウントコード50で検出された反射光が、処理周期#3の発射遅延値30で発射されたパルスが反射したものであるとした場合、処理周期#3のカウントコード50から発射遅延値30を減算してToF値20が求められる。しかしながら、これらのToF値50およびToF値20は、上述したようなパルスモジュレーションが行われ、処理周期ごとに発射遅延値が変更するのに伴って散らばってしまい、一定のToF値を取ることはない。即ち、これらのToF値50およびToF値20は、ゴーストのToF値であると判断することができる。 By the way, if the reflected light detected by the count code 60 of the processing cycle #2 is the reflected light of the pulse emitted with the firing delay value 10 of the processing cycle #2, then the count code 60 of the processing cycle #2 ToF value 50 is obtained by subtracting firing delay value 10 from . Similarly, if the reflected light detected at the count code 50 of processing cycle #3 is a reflected pulse emitted at the firing delay value 30 of processing cycle #3, then the count code of processing cycle #3 The ToF value 20 is obtained by subtracting the firing delay value 30 from 50. However, these ToF values 50 and 20 are scattered as the pulse modulation described above is performed and the firing delay value changes every processing cycle, and they do not take a constant ToF value. . In other words, these ToF values 50 and 20 can be determined to be ghost ToF values.

このように、測定装置11では、ゴーストのToF値が散らばることによって、ゴーストのToF値が求められることによる悪影響を抑制することができ、より短時間で真のToF値がピークを示すヒストグラムを生成することができる。従って、測定装置11は、測距対象物との距離の測定に必要な時間を短縮することができる。 In this way, the measuring device 11 can suppress the negative effects caused by determining the ToF value of the ghost by scattering the ToF value of the ghost, and generate a histogram in which the true ToF value peaks in a shorter time. can do. Therefore, the measuring device 11 can shorten the time required to measure the distance to the object to be measured.

また、測定装置11では、1回の処理周期に対応する時間に一致するように測距レンジ時間を設定することができ、例えば、1回の処理周期に対応する時間を測距レンジ時間より長く設定する(例えば、オーバヘッド時間を設ける)必要がある構成と比較して、より短時間で測距を行うことができる。 In addition, in the measuring device 11, the ranging range time can be set to match the time corresponding to one processing cycle. For example, the time corresponding to one processing cycle can be set to be longer than the ranging range time. Compared to a configuration that requires setting (for example, providing overhead time), distance measurement can be performed in a shorter time.

また、図5を参照して、測定装置11において、1回の処理周期内で、パルスの発射回数が2回以上となるレーザ光を用いて測距処理を行うことができることによる効果について説明する。 Furthermore, with reference to FIG. 5, the effect of being able to perform distance measurement processing in the measuring device 11 using a laser beam that emits pulses two or more times within one processing cycle will be explained. .

例えば、通常、1回の処理周期内で、パルスの発射回数が1回となるレーザ光が出力される。これに対し、測定装置11では、測距レンジ時間を重複して設定することが可能であり、1回の処理周期内で、パルスの発射回数が2回以上となるレーザ光を出力することができる。 For example, normally, a laser beam is output with one pulse emitted within one processing cycle. On the other hand, in the measuring device 11, it is possible to set the distance measuring range times overlappingly, and it is possible to output a laser beam in which the pulse is emitted twice or more within one processing cycle. can.

図5には、1回の処理周期内で、パルスの発射回数が4回となるレーザ光の一例が示されている。また、それぞれパルスの発射タイミングから、処理周期に対応する時間(100カウント)の測距レンジ時間が設定されている。 FIG. 5 shows an example of a laser beam in which pulses are emitted four times within one processing cycle. Further, a distance measuring range time corresponding to the processing cycle (100 counts) is set from the pulse emission timing.

また、図5に示す例では、処理周期#1において、発射遅延値20で1回目のパルスが発射され、発射遅延値25で2回目のパルスが発射され、発射遅延値30で3回目のパルスが発射され、発射遅延値35で4回目のパルスが発射されている。同様に、処理周期#2において、発射遅延値10で1回目のパルスが発射され、発射遅延値20で2回目のパルスが発射され、発射遅延値69で3回目のパルスが発射され、発射遅延値77で4回目のパルスが発射されている。また、処理周期#3において、発射遅延値7で1回目のパルスが発射され、発射遅延値15で2回目のパルスが発射され、発射遅延値22で3回目のパルスが発射され、発射遅延値27で4回目のパルスが発射されている。 In addition, in the example shown in FIG. 5, in processing cycle #1, the first pulse is emitted with a firing delay value of 20, the second pulse is fired with a firing delay value of 25, and the third pulse is fired with a firing delay value of 30. is fired, and the fourth pulse is fired with a firing delay value of 35. Similarly, in processing cycle #2, the first pulse is fired with a firing delay value of 10, the second pulse is fired with a firing delay value of 20, the third pulse is fired with a firing delay value of 69, and the firing delay The fourth pulse is emitted with a value of 77. In addition, in processing cycle #3, the first pulse is fired with a firing delay value of 7, the second pulse is fired with a firing delay value of 15, the third pulse is fired with a firing delay value of 22, and the firing delay value The fourth pulse was fired at 27.

これに対し、反射光のパルスは、処理周期#1のカウントコード80、カウントコード85、カウントコード90、およびカウントコード95で検出されている。同様に、反射光のパルスは、処理周期#2のカウントコード70、およびカウントコード80で検出されている。また、反射光のパルスは、処理周期#3のカウントコード29、カウントコード37、カウントコード67、カウントコード75、およびカウントコード82で検出されている。 On the other hand, the pulses of reflected light are detected by count code 80, count code 85, count code 90, and count code 95 of processing cycle #1. Similarly, pulses of reflected light are detected by count code 70 and count code 80 in processing cycle #2. Further, the pulses of the reflected light are detected by the count code 29, count code 37, count code 67, count code 75, and count code 82 of processing cycle #3.

そして、測定装置11では、反射光のパルスが検出されるカウントコードごとに、そのカウントコードが含まれる複数の測距レンジ時間が開始されるタイミングである発射遅延値それぞれを、そのカウントコードから減算してToF値を求める演算が行われる。 Then, for each count code in which a pulse of reflected light is detected, the measurement device 11 subtracts each launch delay value, which is the timing at which a plurality of ranging range times including that count code are started, from that count code. Then, calculation is performed to obtain the ToF value.

例えば、処理周期#1のカウントコード80で検出された反射光のパルスについては、処理周期#1のカウントコード80は、4つの測距レンジ時間に含まれている。そこで、処理周期#1のカウントコード80が含まれる4つの測距レンジ時間が開始されるタイミングである発射遅延値(20,25,30,35)を、処理周期#1のカウントコード80から減算して、ToF値60、ToF値55、ToF値50、およびToF値45が求められる。 For example, regarding the pulse of reflected light detected by the count code 80 of the processing cycle #1, the count code 80 of the processing cycle #1 is included in four ranging range times. Therefore, the firing delay values (20, 25, 30, 35), which are the timings at which the four ranging range times that include count code 80 of processing cycle #1 start, are subtracted from count code 80 of processing cycle #1. As a result, a ToF value of 60, a ToF value of 55, a ToF value of 50, and a ToF value of 45 are obtained.

また、処理周期#2のカウントコード70で検出された反射光のパルスについては、処理周期#2のカウントコード70は、3つの測距レンジ時間に含まれている。そこで、処理周期#2のカウントコード70が含まれる3つの測距レンジ時間が開始されるタイミングである発射遅延値(10,20,69)を、処理周期#2のカウントコード70から減算して、ToF値60、ToF値50、およびToF値1が求められる。 Further, regarding the pulse of reflected light detected by the count code 70 of the processing cycle #2, the count code 70 of the processing cycle #2 is included in the three ranging range times. Therefore, the firing delay value (10, 20, 69), which is the timing at which the three ranging range times including count code 70 of processing cycle #2 are started, is subtracted from count code 70 of processing cycle #2. , ToF value 60, ToF value 50, and ToF value 1 are determined.

また、処理周期#3のカウントコード29で検出された反射光のパルスについては、処理周期#3のカウントコード29は、6つの測距レンジ時間に含まれている。そこで、処理周期#3のカウントコード29が含まれる6つの測距レンジ時間が開始されるタイミングである発射遅延値(処理周期#2の69,77、処理周期#3の7,15,22,27)を、処理周期#3のカウントコード29(または、処理周期#2で対応するカウントコード129)から減算して、ToF値22、ToF値14、ToF値7、ToF値2、ToF値60、およびToF値52が求められる。 Further, regarding the pulse of reflected light detected by the count code 29 of the processing cycle #3, the count code 29 of the processing cycle #3 is included in the six ranging range times. Therefore, the firing delay value (69, 77 in processing cycle #2, 7, 15, 22, 27) from the count code 29 of processing cycle #3 (or the corresponding count code 129 of processing cycle #2), ToF value 22, ToF value 14, ToF value 7, ToF value 2, ToF value 60 , and ToF value 52 are determined.

また、処理周期#3のカウントコード75で検出された反射光のパルスについては、処理周期#3のカウントコード75は、5つの測距レンジ時間に含まれている。そこで、処理周期#3のカウントコード75が含まれる5つの測距レンジ時間が開始されるタイミングである発射遅延値(処理周期#2の77、処理周期#3の7,15,22,27)を、処理周期#3のカウントコード75(または、処理周期#2で対応するカウントコード175)から減算して、ToF値68、ToF値60、ToF値53、ToF値48、およびToF値98が求められる。 Further, regarding the pulse of reflected light detected by the count code 75 of the processing cycle #3, the count code 75 of the processing cycle #3 is included in the five ranging range times. Therefore, the firing delay value (77 in processing cycle #2, 7, 15, 22, 27 in processing cycle #3) is the timing at which the five ranging range times that include count code 75 in processing cycle #3 start. is subtracted from the count code 75 in processing cycle #3 (or the corresponding count code 175 in processing cycle #2) to obtain ToF value 68, ToF value 60, ToF value 53, ToF value 48, and ToF value 98. Desired.

このように、反射光のパルスが検出されるカウントコードごとに、そのカウントコードが含まれる複数の測距レンジ時間が開始されるタイミングである発射遅延値それぞれを、そのカウントコードから減算して求められるToF値には、真のToF値60が含まれている。また、真のToF値60以外のToF値は、処理周期ごとに発射遅延値を変更するのに応じて散らばって分散される。従って、このような演算により求められる全てのToF値から生成されるヒストグラムにおいて、真のToF値60がピークを示すことになる。 In this way, for each count code in which a pulse of reflected light is detected, each firing delay value, which is the timing at which multiple ranging range times that include that count code start, is subtracted from that count code. The ToF values shown include the true ToF value of 60. Further, ToF values other than the true ToF value 60 are scattered and distributed in accordance with changing the firing delay value for each processing cycle. Therefore, in the histogram generated from all the ToF values obtained by such calculation, the true ToF value of 60 will show the peak.

従って、測定装置11では、1回の処理周期で、パルスの発射回数が2回以上となるレーザ光を出力しても、それぞれのパルスが検出されたカウントコードから既知の発射遅延値を減算する演算を行うことでToF値を求めることができる。これにより、測定装置11は、より多くのToF値を短時間で求めてヒストグラムにおけるピークを特定することができるので、測距処理に必要な時間の短縮を図ることができる。 Therefore, even if the measuring device 11 outputs a laser beam that emits pulses twice or more in one processing cycle, the known firing delay value is subtracted from the count code in which each pulse is detected. The ToF value can be determined by performing calculations. As a result, the measuring device 11 can obtain more ToF values in a short time and identify the peak in the histogram, thereby reducing the time required for distance measurement processing.

図6を参照して、測定装置11において、DNLが測定精度に与える影響がキャンセルされることによる効果について説明する。 With reference to FIG. 6, the effect of canceling the influence of DNL on measurement accuracy in the measurement device 11 will be described.

図6には、5個のフリップフロップ回路を有して構成され、32値のカウントコードを出力するカウンタ21の構成例が示されている。また、図6には、カウンタ21から出力されるカウントコードを表す波形、並びに、1カウントごとのDNLおよびINL(Integral Non-Linearity)の成分が示されている。図示するように、DNLおよびINLの成分は、処理周期ごとに、同一のカウントコードでは同じ大きさとなっている。 FIG. 6 shows an example of the configuration of a counter 21 that includes five flip-flop circuits and outputs a 32-value count code. Further, FIG. 6 shows a waveform representing a count code output from the counter 21, as well as DNL and INL (Integral Non-Linearity) components for each count. As shown in the figure, the DNL and INL components have the same magnitude for the same count code in each processing cycle.

そして、上述したように、測定装置11では、処理周期ごとに異なる発射遅延値に従って、処理周期開始から遅れたタイミング(発光ToF)でパルスが発射される。従って、反射光のパルスが検出されるタイミング(図6では、白抜きの矢印の先端が示すタイミング)も、処理周期ごとに異なるものとなり、それぞれのタイミングにおいてラッチ22に取り込まれるカウントコードも異なるものとなる。その結果、処理周期ごとのカウントコードに含まれるDNLの成分も異なるものとなることより、DNLが測距精度に与える影響をキャンセルすることができる。 Then, as described above, in the measuring device 11, a pulse is emitted at a timing delayed from the start of the processing cycle (emission ToF) according to a different emission delay value for each processing cycle. Therefore, the timing at which the pulse of reflected light is detected (the timing indicated by the tip of the white arrow in FIG. 6) also differs for each processing cycle, and the count code taken into the latch 22 at each timing also differs. becomes. As a result, the DNL components included in the count code for each processing cycle are different, so that the influence of DNL on distance measurement accuracy can be canceled.

例えば、従来のように、処理周期が開始するタイミングでパルスが発射される場合には、反射光のパルスが検出されるタイミングは処理周期に関わらず同一となり、そのタイミングでラッチ22に取り込まれるカウントコードも同じものとなる。そのため、従来、処理周期ごとのカウントコードに含まれるDNLの成分が、直接的に、測距精度に影響を与えることになっていた。 For example, when a pulse is emitted at the timing when a processing cycle starts, as in the conventional case, the timing at which a pulse of reflected light is detected is the same regardless of the processing cycle, and the count is taken into the latch 22 at that timing. The code will also be the same. Therefore, in the past, the DNL component included in the count code for each processing cycle directly affected the distance measurement accuracy.

これに対し、測定装置11では、測定周期ごとのカウントコードに含まれるDNLの成分が異なるものとなり、それらの成分が平均化されることになるため、DNLが直接的に測定精度に与える影響がキャンセルされることになる。従って、測定装置11は、より測定精度の向上を図ることができる。 On the other hand, in the measuring device 11, the DNL components included in the count code for each measurement cycle are different, and these components are averaged, so the direct influence of DNL on measurement accuracy is reduced. It will be cancelled. Therefore, the measuring device 11 can further improve measurement accuracy.

さらに、図7に示すように、上位ビットと下位ビットとを分ける構成にすることで、より確実に、DNLが測定精度に与える影響のキャンセルすることができる。 Furthermore, as shown in FIG. 7, by configuring the upper bits and lower bits to be separated, the influence of DNL on measurement accuracy can be canceled more reliably.

図7には、図6に示したカウントコードを表す波形に加えて、上位桁の1ビットのカウンタが設けられた例が示されている。即ち、32値のカウントコード(下位ビット)に、上位の1ビットを加えることで64値のカウントコードを表現することができる。 FIG. 7 shows an example in which a high-order 1-bit counter is provided in addition to the waveform representing the count code shown in FIG. That is, by adding one high-order bit to a 32-value count code (lower bit), a 64-value count code can be expressed.

例えば、カウンタの遷移位置がDNLの周期に影響するため、この上位桁を遷移位置とは無関係に構成することによって、64値の処理周期内で32値のDNLサイクルが2周期現れることになる。例えば、上位桁は、冗長ビットを持たせることや、ラッチ22での直接カウントなどによって構成することができる。 For example, since the transition position of the counter affects the DNL cycle, by configuring the upper digits independently of the transition position, two 32-value DNL cycles will appear within a 64-value processing cycle. For example, the upper digits can be configured by providing redundant bits or by direct counting with the latch 22.

このように、64値の処理周期内で32値についてパルスモジュレーションを行うと、DNLの平均化を実現することができ、より確実に、DNLが測定精度に与える影響がキャンセルされる。従って、測定装置11は、さらなる測定精度の向上を図ることができる。 In this way, by performing pulse modulation for 32 values within a 64-value processing cycle, it is possible to achieve averaging of DNL, and the influence of DNL on measurement accuracy is more reliably canceled. Therefore, the measuring device 11 can further improve measurement accuracy.

図8乃至図11を参照して、処理周期に同期した外乱電波によるノイズの影響を抑制することによる効果について説明する。 The effect of suppressing the influence of noise caused by disturbance radio waves synchronized with the processing cycle will be described with reference to FIGS. 8 to 11.

例えば、図8に示すように、外乱電波が処理周期に同期(外乱電波の周波数f=1/処理周期)している場合、その外乱電波を定在波としてカウントが変調してしまい、外乱電波によるノイズの影響によってヒストグラムに疑似ピークが発生することがある。従って、この場合、パルスモジュレーションを行わずに処理周期ごとに一定の発射タイミングでパルスを発射していると、反射波のパルスを受信したタイミングを示すカウントコードのピークよりも、疑似ピークが高くなるような影響を受けることがある。 For example, as shown in Figure 8, when the disturbance radio wave is synchronized with the processing cycle (frequency of disturbance radio wave = 1/processing cycle), the count is modulated by using the disturbance radio wave as a standing wave, and the disturbance radio wave Pseudo peaks may occur in the histogram due to the influence of noise. Therefore, in this case, if pulses are emitted at a fixed emission timing every processing cycle without pulse modulation, the pseudo peak will be higher than the peak of the count code that indicates the timing at which the reflected wave pulse is received. It may be affected like this.

これに対し、図9の左側に示すように、パルスモジュレーションによって処理周期ごとに異なる発射タイミングでパルスを発射すると、それぞれの発射タイミングに従って、測距レンジ時間が異なるタイミングで開始されることになる。このため、外乱電波が処理周期に同期している場合でも、測距レンジ時間ごとに、外乱電波によるノイズの影響によってヒストグラムに発生する疑似ピークにズレが発生することになる。 On the other hand, as shown on the left side of FIG. 9, if pulses are emitted at different emission timings for each processing cycle by pulse modulation, the ranging range time will start at different timings according to each emission timing. For this reason, even if the disturbance radio waves are synchronized with the processing cycle, the pseudo peaks that occur in the histogram will shift due to the influence of noise caused by the disturbance radio waves for each ranging range time.

従って、処理周期の全域にわたってパルスの発射タイミングを変更させる全域パルスモジュレーションを行い、異なる測距レンジ時間のヒストグラムを足し合わせることによって、図9の右側に示すように、外乱電波の影響を完全に平均化して疑似ピークを消失させることができる。つまり、レーザ光が測距対象物で反射した反射波のパルスを受信したタイミングを示すカウントコードだけがピークとして残ることになる。 Therefore, by performing full-range pulse modulation that changes the pulse emission timing over the entire processing period and adding together the histograms of different ranging range times, the influence of the disturbance radio waves can be completely averaged out, as shown on the right side of Figure 9. can be used to eliminate pseudo peaks. In other words, only the count code that indicates the timing at which the pulse of the reflected wave of the laser beam reflected by the object to be measured remains as a peak.

例えば、測定装置11では、処理周期に同期した外乱電波がある場合には、その外乱電波による電磁誘導を介してタイミング指示部16を起動し、処理周期ごとに異なる発射タイミングでパルスを発射させるパルスモジュレーションが行われるようにしてもよい。 For example, in the measuring device 11, when there is a disturbance radio wave synchronized with a processing cycle, the timing instruction section 16 is activated through electromagnetic induction by the disturbance radio wave, and a pulse is generated to emit a pulse at a different emission timing for each processing cycle. Modulation may also be performed.

なお、全域パルスモジュレーションが行われない場合には、外乱電波の影響は完全には平均化されないことになる。即ち、図10に示すように、処理周期の全域にわたってパルスの発射タイミングを変更させずに、パルスの発射タイミングを変更させる範囲(LTのmodulation範囲)が処理周期より狭い場合には、それぞれのパルスを起点に、パルスの発射タイミングを変更させる範囲での積分(移動平均)による平均化が行われることになる。従って、外乱電波の影響を完全に平均化して、疑似ピークを消失させるためには、全域パルスモジュレーションを行うことが望ましい。 Note that if full-area pulse modulation is not performed, the influence of disturbance radio waves will not be completely averaged out. In other words, as shown in FIG. 10, if the range in which the pulse emission timing is changed (LT modulation range) is narrower than the processing cycle without changing the pulse emission timing over the entire processing cycle, each pulse Starting from , averaging is performed by integration (moving average) over a range in which the pulse emission timing is changed. Therefore, in order to completely average out the influence of disturbance radio waves and eliminate pseudo peaks, it is desirable to perform full-range pulse modulation.

また、全域パルスモジュレーションを行うことができない場合には、図11に示すように、任意の処理周期においてカウンタ21がカウントするカウントコードの最大値を変えることで、処理周期と同期する外乱電波の影響を抑制することができる。即ち、カウンタ21がカウントするカウントコードの最大値を変えるのに伴って処理周期のタイミングが変更されることになり、処理周期の位相を外乱電波からズレさせることによって、外乱電波の影響が抑制されることになる。なお、この場合、図11に示すように処理周期が長くなるようにカウントコードの最大値を変えてもいいし、逆に、処理周期が短くなるようにカウントコードの最大値を変えてもよい。 In addition, if full range pulse modulation cannot be performed, as shown in FIG. 11, by changing the maximum value of the count code counted by the counter 21 in any processing cycle, the influence of disturbance radio waves synchronized with the processing cycle can be adjusted. can be suppressed. That is, as the maximum value of the count code counted by the counter 21 is changed, the timing of the processing cycle is changed, and by shifting the phase of the processing cycle from the disturbance radio wave, the influence of the disturbance radio wave is suppressed. That will happen. In this case, as shown in FIG. 11, the maximum value of the count code may be changed to lengthen the processing cycle, or conversely, the maximum value of the count code may be changed to shorten the processing cycle. .

このように、測定装置11は、処理周期に同期した外乱電波によるノイズの影響を抑制することができ、反射波のパルスを受信したタイミングを示すカウントコードがピークとなるようなヒストグラムを正確に生成することができる。これにより、測定装置11は、より測定精度の向上を図ることができる。 In this way, the measuring device 11 can suppress the influence of noise caused by disturbance radio waves synchronized with the processing cycle, and can accurately generate a histogram in which the count code indicating the timing at which the pulse of the reflected wave is received has a peak. can do. Thereby, the measuring device 11 can further improve measurement accuracy.

図12は、どの発射タイミングを起点とするかによって測距レンジ時間をシフトすることができる効果を説明する図である。 FIG. 12 is a diagram illustrating the effect of being able to shift the ranging range time depending on which firing timing is used as the starting point.

図12には、図4と同様に、循環するように繰り返される処理周期#1乃至#3が示されている。そして、処理周期#1では、処理周期開始から発射遅延値20でパルスが発射され、処理周期#2では、処理周期開始から発射遅延値10でパルスが発射され、処理周期#3では、処理周期開始から発射遅延値30でパルスが発射されている。また、処理周期#1においてカウントコードが出力されず、処理周期#2においてカウントコード60が出力され、処理周期#3においてカウントコード50が出力されている。 Similar to FIG. 4, FIG. 12 shows processing cycles #1 to #3 that are repeated in a circular manner. Then, in processing cycle #1, a pulse is emitted with a firing delay value of 20 from the start of the processing cycle, in processing cycle #2, a pulse is emitted with a firing delay value of 10 from the start of the processing cycle, and in processing cycle #3, a pulse is emitted with a firing delay value of 10 from the start of the processing cycle. Pulses are being emitted with a firing delay value of 30 from the start. Further, the count code is not output in the processing cycle #1, the count code 60 is output in the processing cycle #2, and the count code 50 is output in the processing cycle #3.

このとき、処理周期#2のカウントコード60で検出された反射光のパルスについて、処理周期#2の発射遅延値10を起点とするとToF値50が求められる。また、処理周期#3のカウントコード50で検出された反射光のパルスについて、処理周期#3の発射遅延値30を起点とするとToF値20が求められる。従って、このような発射タイミングを起点とすると、これらのToF値50およびToF値20は、ゴーストであると判断することができる。 At this time, a ToF value of 50 is determined for the pulse of reflected light detected by the count code 60 of the processing cycle #2, using the firing delay value 10 of the processing cycle #2 as the starting point. Further, for the pulse of the reflected light detected by the count code 50 of the processing cycle #3, a ToF value of 20 is determined using the firing delay value 30 of the processing cycle #3 as the starting point. Therefore, if such firing timing is used as a starting point, these ToF values of 50 and ToF values of 20 can be determined to be ghosts.

一方、処理周期#2のカウントコード60で検出された反射光のパルスについて、処理周期#1の発射遅延値20を起点とするとToF値140が求められる。また、処理周期#3のカウントコード50で検出された反射光のパルスについて、処理周期#2の発射遅延値10を起点とするとToF値140が求められる。従って、このような発射タイミングを起点とすると、一定のToF値を得られるため、このToF値140が求められるような発射タイミングを起点として測距レンジ時間をシフトすることができる。 On the other hand, for the pulse of the reflected light detected by the count code 60 in the processing cycle #2, a ToF value of 140 is determined using the firing delay value 20 in the processing cycle #1 as the starting point. Further, for the pulse of the reflected light detected by the count code 50 in the processing cycle #3, a ToF value of 140 is determined using the firing delay value 10 in the processing cycle #2 as the starting point. Therefore, since a constant ToF value can be obtained using such a firing timing as a starting point, it is possible to shift the ranging range time using the firing timing at which this ToF value of 140 is obtained as a starting point.

このように、測定装置11は、一定のToF値が求められるような測距レンジ時間の起点とする発射タイミングに、測距レンジ時間をシフトすることができる。 In this way, the measuring device 11 can shift the ranging range time to the firing timing that is the starting point of the ranging range time at which a constant ToF value can be obtained.

以上のように、測定装置11は、図4乃至図12を参照して説明したように、より短時間で高精度に測距対象物との距離を測定することができる。 As described above, the measuring device 11 can measure the distance to the object to be measured with high accuracy in a shorter time, as described with reference to FIGS. 4 to 12.

なお、本実施の形態では、図13のAに示すように、1処理周期ごとにカウントアップを繰り返すようなランプ波形を用いて説明を行ったが、これ以外にカウントを停止することなく循環するランプ波形を用いてもよい。 In addition, in this embodiment, as shown in A of FIG. 13, explanation was given using a ramp waveform in which the count-up is repeated for each processing cycle, but in addition to this, the ramp waveform is used in which the count is cycled without stopping. A ramp waveform may also be used.

例えば、図13のBに示すように、1処理周期ごとにカウントダウンを繰り返すようなランプ波形や、図13のCに示すように、カウントアップの処理周期とカウントダウンの処理周期とが交互になるようなランプ波形などを用いることができる。また、図13のDに示すように、全ての処理周期の間ではカウントは停止せずに、ある処理周期の間にカウントの停止区間が存在するようなランプ波形を用いてもよい。また、図13のEに示すようなマルチスロープのランプ波形(図13のEに示す例では、2つの波形を組み合わせることで休みなく循環するランプ波形)を用いてもよい。 For example, as shown in FIG. 13B, a ramp waveform that repeats the countdown every processing cycle, or as shown in FIG. A ramp waveform or the like can be used. Furthermore, as shown in FIG. 13D, a ramp waveform may be used in which counting does not stop during all processing cycles, but there is a counting stop section during a certain processing cycle. Alternatively, a multi-slope ramp waveform as shown in E in FIG. 13 (in the example shown in E in FIG. 13, a ramp waveform that cycles continuously by combining two waveforms) may be used.

<所定のパターンの発射遅延値>
上述したように、測定装置11は、パルスモジュレーションを行うことによって処理周期ごとに発射遅延値を異ならせることができ、例えば、発射遅延値がランダムとなるように設定することができる。または、測定装置11は、処理周期ごとに所定のパターンで発射遅延値がずらされるように設定してもよい。
<Fire delay value of predetermined pattern>
As described above, the measurement device 11 can vary the firing delay value for each processing cycle by performing pulse modulation, and for example, can set the firing delay value to be random. Alternatively, the measuring device 11 may be set so that the firing delay value is shifted in a predetermined pattern every processing cycle.

そこで、図14乃至図19を参照して、処理周期ごとに所定のパターンで発射遅延値がずらされる処理例について説明する。 Therefore, a processing example in which the firing delay value is shifted in a predetermined pattern every processing cycle will be described with reference to FIGS. 14 to 19.

図14には、前処理周期に対して発光タイミングを等間隔(所定のパターン)でずらした発射タイミングで4つのパルスが発射される一例が示されている。 FIG. 14 shows an example in which four pulses are emitted at emission timings that are shifted at equal intervals (predetermined pattern) with respect to the preprocessing period.

このように、発光タイミングを等間隔でずらすことで、前処理周期での発光に起因するレンジ外ToF(測距レンジ時間の外で検出された反射光のパルスに起因するゴーストのToF値)は、ヒストグラムを生成すると等間隔にずれて積算されることになる。従って、測定装置11では、その等間隔(所定のパターン)に基づいたヒストグラム処理を行うことで、レンジ外ToFの形状を予測して、フィルタリングなどを施すことができる。 In this way, by shifting the light emission timing at equal intervals, the out-of-range ToF caused by light emission in the preprocessing cycle (the ToF value of ghosts caused by pulses of reflected light detected outside the ranging range time) can be reduced. , when a histogram is generated, the values are accumulated at equal intervals. Therefore, in the measuring device 11, by performing histogram processing based on the equal intervals (predetermined pattern), it is possible to predict the shape of the out-of-range ToF and perform filtering or the like.

図15を参照して、レーザ照射タイミングの制御方法とTOF結果の処理方法について説明する。 A method of controlling laser irradiation timing and a method of processing TOF results will be described with reference to FIG. 15.

図15には、発射遅延値DLY1と発射遅延値DLY2とで交互に変化させるパターンの一例が示されている。即ち、タイミング指示部16は、発射遅延値DLY1と発射遅延値DLY2とが交互になるパターンでパルスの発光タイミングをずらすように、発射タイミング信号生成部12に発射遅延値を供給する。そして、演算部17は、TDC15のラッチ22から供給されるカウントコードから、タイミング指示部16から供給される発射遅延値DLY1と発射遅延値DLY2とを交互に減算する演算を行い、その演算により算出されたToF値をヒストグラム生成部18に供給する。 FIG. 15 shows an example of a pattern in which the firing delay value DLY1 and the firing delay value DLY2 are alternately changed. That is, the timing instruction unit 16 supplies the firing delay value to the firing timing signal generating unit 12 so as to shift the emission timing of the pulse in a pattern in which the firing delay value DLY1 and the firing delay value DLY2 alternate. Then, the calculation unit 17 performs an operation of alternately subtracting the firing delay value DLY1 and the firing delay value DLY2 supplied from the timing instruction unit 16 from the count code supplied from the latch 22 of the TDC 15, and calculates by this operation. The calculated ToF value is supplied to the histogram generation section 18.

このようなパターンに従って、ヒストグラム生成部18により生成されるヒストグラムは、レンジ外ToFに応じて図示するような2つのピークが発生する。即ち、レンジ内であれば、ヒストグラム形状には1つのピークが発生するのに対し、レンジ外であれば、2つのピークが発生することになる。なお、図15の下側には、より実際に近いヒストグラム形状が示されている。 In accordance with such a pattern, the histogram generated by the histogram generation unit 18 has two peaks as shown in the figure depending on the out-of-range ToF. That is, if it is within the range, one peak will occur in the histogram shape, whereas if it is outside the range, two peaks will occur. Note that the lower side of FIG. 15 shows a more realistic histogram shape.

そして、ここで示す例では、ヒストグラム生成部18は、発射遅延値の2倍の2ピークはレンジ外ToFによるヒストグラム形状と予測することができ、その予測に基づいてレンジ外ToFのヒストグラムを抽出することができる。 In the example shown here, the histogram generation unit 18 can predict that the two peaks that are twice the launch delay value are histogram shapes due to out-of-range ToF, and extract the histogram of out-of-range ToF based on this prediction. be able to.

さらに、測定装置11では、ヒストグラム生成部18は、レンジ外ToFのヒストグラムに対する演算処理を行うことができる。例えば、ヒストグラム生成部18は、レンジ外ToFによるヒストグラム形状の重心を別に求める演算処理や、レンジ外ToFに起因する部分を除去する演算処理、レンジ外ToFによるヒストグラム形状の重心を操作する演算処理(例えば、非ROIへ重心を移動する操作などなど)を行うことができる。もちろん、ヒストグラム生成部18は、これら以外の演算処理を採用してもよい。 Furthermore, in the measuring device 11, the histogram generation unit 18 can perform arithmetic processing on the histogram of the out-of-range ToF. For example, the histogram generation unit 18 performs calculation processing to separately obtain the center of gravity of the histogram shape due to the out-of-range ToF, calculation processing to remove a portion due to the out-of-range ToF, calculation processing to manipulate the center of gravity of the histogram shape due to the out-of-range ToF ( For example, operations such as moving the center of gravity to a non-ROI can be performed. Of course, the histogram generation unit 18 may employ calculation processing other than these.

図16は、処理周期ごとに所定のパターンで発射遅延値がずらされる処理について説明するフローチャートである。 FIG. 16 is a flowchart illustrating a process in which the firing delay value is shifted in a predetermined pattern every processing cycle.

ステップS21において、タイミング指示部16は、パルスの発光タイミングを所定のパターン(例えば、図15に示したような交互のパターン)で変化させるような発射遅延値を発射タイミング信号生成部12に供給する。これにより、発射タイミング信号生成部12は、発射遅延値に従って、処理周期を開始するタイミングから遅延した発射タイミングを変化させたTxパルス信号を生成し、レーザドライバ13は、Txパルス信号に従ってパルス状のレーザ光を出力する。 In step S21, the timing instruction unit 16 supplies the firing timing signal generating unit 12 with a firing delay value that changes the pulse emission timing in a predetermined pattern (for example, an alternating pattern as shown in FIG. 15). . As a result, the firing timing signal generation unit 12 generates a Tx pulse signal in which the firing timing is delayed from the timing to start the processing cycle according to the firing delay value, and the laser driver 13 generates a pulsed pulse signal according to the Tx pulse signal. Outputs laser light.

ステップS22において、ヒストグラム生成部18は、演算部17から供給されるToF値のヒストグラムを生成する際に、パルスの発光タイミングを変化させた所定のパターンに基づいて、レンジ外ToFのヒストグラム形状(例えば、図15に示したような2つのピーク)を予測する。 In step S22, when the histogram generation unit 18 generates a histogram of the ToF values supplied from the calculation unit 17, the histogram shape of the out-of-range ToF (for example, , two peaks as shown in FIG. 15).

ステップS23において、ヒストグラム生成部18は、ステップS22で予測したレンジ外ToFのヒストグラム形状から、レンジ外ToFのヒストグラムを抽出(フィルタリング)する。 In step S23, the histogram generation unit 18 extracts (filters) the histogram of the out-of-range ToF from the histogram shape of the out-of-range ToF predicted in step S22.

ステップS24において、ヒストグラム生成部18は、ステップS23で抽出したレンジ外ToFのヒストグラムに対して、上述したような各種の演算処理を行い、その後、処理は終了される。 In step S24, the histogram generation unit 18 performs various calculation processes as described above on the out-of-range ToF histogram extracted in step S23, and then the process ends.

図17は、上述の図6と同様に、処理周期ごとに所定のパターンで発射遅延値をずらした場合におけるDNLが測定精度に与える影響がキャンセルされることによる効果について説明する図である。 Similar to FIG. 6 described above, FIG. 17 is a diagram illustrating the effect of canceling the influence of DNL on measurement accuracy when the firing delay value is shifted in a predetermined pattern for each processing cycle.

図17に示すように、同じDNLおよびINLが繰り返し現れ、繰返し周期でINL=0となる。そして、パルスモジュレーションを行うことによって、同じToF値が、TDC15から出力される異なるカウントコードから取得される。即ち、同じToF値を取得するのに、異なるDNLをもつTDC15の出力の影響を分散することができる。 As shown in FIG. 17, the same DNL and INL appear repeatedly, and INL=0 at each repetition period. Then, by performing pulse modulation, the same ToF value is obtained from different count codes output from the TDC 15. That is, even though the same ToF value is obtained, the influence of the outputs of the TDCs 15 having different DNLs can be dispersed.

なお、図17では、カウンタ21のエッジ間の時間差がLSBであり、時間誤差がDNLである。また、下位カウンタの繰り返し周期(32 LSB)でINLは0であり、パルスの発射タイミングに応じて32通りのDNL平均は0になる。このように、DNLを平均化するために発射タイミングを変化させることが必要であり、発射タイミングの発射遅延値を所定パターンでずらすことで、レンジ外ToFの影響によるゴーストヒストグラムの形状を極力、変化させないようにすることができる。 Note that in FIG. 17, the time difference between edges of the counter 21 is LSB, and the time error is DNL. Further, INL is 0 in the repetition period (32 LSB) of the lower counter, and the average of 32 DNLs becomes 0 depending on the pulse emission timing. In this way, it is necessary to change the firing timing in order to average the DNL, and by shifting the firing delay value of the firing timing in a predetermined pattern, we can minimize the shape of the ghost histogram due to the influence of out-of-range ToF. You can prevent this from happening.

ここで、図18および図19を参照して、レーザ照射タイミングの遅延およびDNLの関係と、レンジ外ToFの影響によるゴーストヒストグラムの形状とについて説明する。なお、図18および図19では、説明の簡易化のために5binの平均化(図17では32binの平均化)が図示されている。 Here, with reference to FIGS. 18 and 19, the relationship between the delay in laser irradiation timing and DNL, and the shape of the ghost histogram due to the influence of the out-of-range ToF will be described. Note that in FIGS. 18 and 19, averaging of 5 bins (in FIG. 17, averaging of 32 bins) is illustrated for the sake of simplification of explanation.

図18には、10から14まで1処理周期ごとに1ずつ増加した後に14から10まで1処理周期ごとに1ずつ減少するようなパターンで発射遅延値がずらされる第1の例が示されている。 FIG. 18 shows a first example in which the firing delay value is shifted in a pattern such that it increases by 1 every processing period from 10 to 14 and then decreases by 1 every processing period from 14 to 10. There is.

このようなパターンで発射遅延値をずらした場合、レンジ外ToFの照射N回目とN+1回目との差、レンジ外ToFの照射N+1回目とN+2回目との差、レンジ外ToFの照射N+2回目とN+3回目との差、および、レンジ外ToFの照射N+3回目とN+4回目との差は、それぞれ-1となる。また、レンジ外ToFの照射N+4回目とN+5回目との差は、0となる。さらに、レンジ外ToFの照射N+5回目とN+6回目との差、レンジ外ToFの照射N+6回目とN+7回目との差、レンジ外ToFの照射N+7回目とN+8回目との差、および、レンジ外ToFの照射N+8回目とN+9回目との差は、それぞれ+1となる。 If the firing delay value is shifted in such a pattern, the difference between the Nth and N+1st irradiations of out-of-range ToF, the difference between the N+1st and N+2nd irradiations of out-of-range ToF, and the difference between the N+2nd and N+3 irradiations of out-of-range ToF. The difference from the irradiation time and the difference between the N+3rd and N+4th irradiation of out-of-range ToF are -1, respectively. Furthermore, the difference between the N+4th and N+5th out-of-range ToF irradiations is 0. Furthermore, the difference between the N+5th and N+6th irradiation of the out-of-range ToF, the difference between the N+6th and N+7th irradiation of the out-of-range ToF, the difference between the N+7th and N+8th irradiation of the out-of-range ToF, and the difference between the out-of-range ToF irradiation N+7th and N+8th, The difference between the N+8th irradiation and the N+9th irradiation is +1.

従って、図示するように、-1および+1の2つのピークが発生し、レンジ外ToFの中央値である0で低くなるようなヒストグラム形状となる。なお、発射遅延値を変化させなかった場合には、破線で示すようなピークのヒストグラム形状となる。 Therefore, as shown in the figure, two peaks of −1 and +1 occur, and the histogram shape becomes low at 0, which is the median value of the out-of-range ToF. Note that if the firing delay value is not changed, the histogram will have a peak shape as shown by the broken line.

図19には、10から14まで3処理周期ごとに1ずつ増加した後に14から10まで3処理周期ごとに1ずつ減少するようなパターンで発射遅延値がずらされる第2の例が示されている。 FIG. 19 shows a second example in which the firing delay value is shifted in a pattern such that it increases by 1 every 3 processing cycles from 10 to 14 and then decreases by 1 every 3 processing cycles from 14 to 10. There is.

このようなパターンで発射遅延値をずらした場合、レンジ外ToFの照射N+2回目とN+3回目との差、レンジ外ToFの照射N+5回目とN+6回目との差、レンジ外ToFの照射N+8回目とN+9回目との差、および、レンジ外ToFの照射N+11回目とN+12回目との差は、それぞれ-1となる。また、レンジ外ToFの照射N+18回目とN+19回目との差、レンジ外ToFの照射N+21回目とN+22回目との差、レンジ外ToFの照射N+24回目とN+25回目との差、および、レンジ外ToFの照射N+27回目とN+28回目との差は、それぞれ+1となる。そして、それ以外では、0となる。 If the firing delay value is shifted in such a pattern, the difference between the N+2nd and N+3rd irradiation of out-of-range ToF, the difference between the N+5th and N+6th irradiation of out-of-range ToF, and the difference between the N+8th and N+9th irradiation of out-of-range ToF. The difference from the irradiation time and the difference between the N+11th and N+12th irradiation of out-of-range ToF are -1, respectively. Also, the difference between the N+18th and N+19th irradiation of out-of-range ToF, the difference between the N+21st and N+22nd irradiation of out-of-range ToF, the difference between the N+24th and N+25th irradiation of out-of-range ToF, and the difference between out-of-range ToF irradiation N+24th and N+25th. The difference between the N+27th irradiation and the N+28th irradiation is +1. In other cases, it becomes 0.

従って、図示するように、発射遅延値を変化させる頻度が小さくなると特定のToF値の頻度が高くなるようなヒストグラム形状となる。なお、発射遅延値を変化させなかった場合には、破線で示すようなピークのヒストグラム形状となる。即ち、発射遅延値を変化させる頻度によって、レンジ外ToFの中央値である0の高さの増減をコントロールすることができる。 Therefore, as shown in the figure, the histogram shape becomes such that the frequency of changing the firing delay value decreases, and the frequency of a specific ToF value increases. Note that if the firing delay value is not changed, the histogram will have a peak shape as shown by the broken line. That is, the increase or decrease in the height of 0, which is the median value of the out-of-range ToF, can be controlled by changing the frequency of changing the firing delay value.

このように、発射タイミングの発射遅延値を所定パターンでずらすことで、レンジ外ToFの影響によるゴーストヒストグラムの形状を極力、変化させないようにすることができる。例えば、発射タイミングの発射遅延値をランダムにずらした場合には分散されるため、このようなヒストグラム形状とならない。 In this way, by shifting the firing delay value of the firing timing in a predetermined pattern, it is possible to prevent the shape of the ghost histogram from changing due to the influence of the out-of-range ToF as much as possible. For example, if the firing delay value of the firing timing is randomly shifted, the histogram shape will not be obtained because the firing timing will be dispersed.

<コンピュータの構成例>
次に、上述した一連の処理(測定方法)は、ハードウェアにより行うこともできるし、ソフトウェアにより行うこともできる。一連の処理をソフトウェアによって行う場合には、そのソフトウェアを構成するプログラムが、汎用のコンピュータ等にインストールされる。
<Computer configuration example>
Next, the series of processes (measuring method) described above can be performed by hardware or software. When a series of processes is performed using software, the programs that make up the software are installed on a general-purpose computer or the like.

図20は、上述した一連の処理を実行するプログラムがインストールされるコンピュータの一実施の形態の構成例を示すブロック図である。 FIG. 20 is a block diagram showing a configuration example of an embodiment of a computer in which a program that executes the series of processes described above is installed.

プログラムは、コンピュータに内蔵されている記録媒体としてのハードディスク105やROM103に予め記録しておくことができる。 The program can be recorded in advance on the hard disk 105 or ROM 103 as a recording medium built into the computer.

あるいはまた、プログラムは、ドライブ109によって駆動されるリムーバブル記録媒体111に格納(記録)しておくことができる。このようなリムーバブル記録媒体111は、いわゆるパッケージソフトウェアとして提供することができる。ここで、リムーバブル記録媒体111としては、例えば、フレキシブルディスク、CD-ROM(Compact Disc Read Only Memory),MO(Magneto Optical)ディスク,DVD(Digital Versatile Disc)、磁気ディスク、半導体メモリ等がある。 Alternatively, the program can be stored (recorded) in a removable recording medium 111 driven by the drive 109. Such a removable recording medium 111 can be provided as so-called package software. Here, examples of the removable recording medium 111 include a flexible disk, a CD-ROM (Compact Disc Read Only Memory), an MO (Magneto Optical) disk, a DVD (Digital Versatile Disc), a magnetic disk, and a semiconductor memory.

なお、プログラムは、上述したようなリムーバブル記録媒体111からコンピュータにインストールする他、通信網や放送網を介して、コンピュータにダウンロードし、内蔵するハードディスク105にインストールすることができる。すなわち、プログラムは、例えば、ダウンロードサイトから、ディジタル衛星放送用の人工衛星を介して、コンピュータに無線で転送したり、LAN(Local Area Network)、インターネットといったネットワークを介して、コンピュータに有線で転送することができる。 In addition to installing the program on the computer from the removable recording medium 111 as described above, the program can also be downloaded to the computer via a communication network or broadcasting network and installed on the built-in hard disk 105. In other words, a program can be transferred wirelessly from a download site to a computer via an artificial satellite for digital satellite broadcasting, or transferred by wire to a computer via a network such as a LAN (Local Area Network) or the Internet. be able to.

コンピュータは、CPU(Central Processing Unit)102を内蔵しており、CPU102には、バス101を介して、入出力インタフェース110が接続されている。 The computer has a built-in CPU (Central Processing Unit) 102, and an input/output interface 110 is connected to the CPU 102 via a bus 101.

CPU102は、入出力インタフェース110を介して、ユーザによって、入力部107が操作等されることにより指令が入力されると、それに従って、ROM(Read Only Memory)103に格納されているプログラムを実行する。あるいは、CPU102は、ハードディスク105に格納されたプログラムを、RAM(Random Access Memory)104にロードして実行する。 The CPU 102 executes a program stored in a ROM (Read Only Memory) 103 when a command is input by the user through the input/output interface 110 by operating the input unit 107 or the like. . Alternatively, the CPU 102 loads a program stored in the hard disk 105 into the RAM (Random Access Memory) 104 and executes the program.

これにより、CPU102は、上述したフローチャートにしたがった処理、あるいは上述したブロック図の構成により行われる処理を行う。そして、CPU102は、その処理結果を、必要に応じて、例えば、入出力インタフェース110を介して、出力部106から出力、あるいは、通信部108から送信、さらには、ハードディスク105に記録等させる。 Thereby, the CPU 102 performs processing according to the flowchart described above or processing performed according to the configuration of the block diagram described above. Then, the CPU 102 outputs the processing result from the output unit 106 or transmits it from the communication unit 108 via the input/output interface 110, or records it on the hard disk 105, as necessary.

なお、入力部107は、キーボードや、マウス、マイク等で構成される。また、出力部106は、LCD(Liquid Crystal Display)やスピーカ等で構成される。 Note that the input unit 107 includes a keyboard, a mouse, a microphone, and the like. Further, the output unit 106 is configured with an LCD (Liquid Crystal Display), a speaker, and the like.

ここで、本明細書において、コンピュータがプログラムに従って行う処理は、必ずしもフローチャートとして記載された順序に沿って時系列に行われる必要はない。すなわち、コンピュータがプログラムに従って行う処理は、並列的あるいは個別に実行される処理(例えば、並列処理あるいはオブジェクトによる処理)も含む。 Here, in this specification, the processing that a computer performs according to a program does not necessarily need to be performed in chronological order in the order described as a flowchart. That is, the processing that a computer performs according to a program includes processing that is performed in parallel or individually (for example, parallel processing or processing using objects).

また、プログラムは、1のコンピュータ(プロセッサ)により処理されるものであっても良いし、複数のコンピュータによって分散処理されるものであっても良い。さらに、プログラムは、遠方のコンピュータに転送されて実行されるものであっても良い。 Furthermore, the program may be processed by one computer (processor) or may be distributed and processed by multiple computers. Furthermore, the program may be transferred to a remote computer and executed.

さらに、本明細書において、システムとは、複数の構成要素(装置、モジュール(部品)等)の集合を意味し、すべての構成要素が同一筐体中にあるか否かは問わない。したがって、別個の筐体に収納され、ネットワークを介して接続されている複数の装置、及び、1つの筐体の中に複数のモジュールが収納されている1つの装置は、いずれも、システムである。 Furthermore, in this specification, a system refers to a collection of multiple components (devices, modules (components), etc.), regardless of whether all the components are located in the same casing. Therefore, multiple devices housed in separate casings and connected via a network, and a single device with multiple modules housed in one casing are both systems. .

また、例えば、1つの装置(または処理部)として説明した構成を分割し、複数の装置(または処理部)として構成するようにしてもよい。逆に、以上において複数の装置(または処理部)として説明した構成をまとめて1つの装置(または処理部)として構成されるようにしてもよい。また、各装置(または各処理部)の構成に上述した以外の構成を付加するようにしてももちろんよい。さらに、システム全体としての構成や動作が実質的に同じであれば、ある装置(または処理部)の構成の一部を他の装置(または他の処理部)の構成に含めるようにしてもよい。 Furthermore, for example, the configuration described as one device (or processing section) may be divided and configured as a plurality of devices (or processing sections). Conversely, the configurations described above as a plurality of devices (or processing units) may be configured as one device (or processing unit). Furthermore, it is of course possible to add configurations other than those described above to the configuration of each device (or each processing section). Furthermore, part of the configuration of one device (or processing unit) may be included in the configuration of another device (or other processing unit) as long as the configuration and operation of the entire system are substantially the same. .

また、例えば、本技術は、1つの機能を、ネットワークを介して複数の装置で分担、共同して処理するクラウドコンピューティングの構成をとることができる。 Further, for example, the present technology can take a cloud computing configuration in which one function is shared and jointly processed by a plurality of devices via a network.

また、例えば、上述したプログラムは、任意の装置において実行することができる。その場合、その装置が、必要な機能(機能ブロック等)を有し、必要な情報を得ることができるようにすればよい。 Furthermore, for example, the above-described program can be executed on any device. In that case, it is only necessary that the device has the necessary functions (functional blocks, etc.) and can obtain the necessary information.

また、例えば、上述のフローチャートで説明した各ステップは、1つの装置で実行する他、複数の装置で分担して実行することができる。さらに、1つのステップに複数の処理が含まれる場合には、その1つのステップに含まれる複数の処理は、1つの装置で実行する他、複数の装置で分担して実行することができる。換言するに、1つのステップに含まれる複数の処理を、複数のステップの処理として実行することもできる。逆に、複数のステップとして説明した処理を1つのステップとしてまとめて実行することもできる。 Further, for example, each step explained in the above flowchart can be executed by one device or can be shared and executed by a plurality of devices. Furthermore, when one step includes multiple processes, the multiple processes included in that one step can be executed by one device or can be shared and executed by multiple devices. In other words, multiple processes included in one step can be executed as multiple steps. Conversely, processes described as multiple steps can also be executed together as one step.

なお、コンピュータが実行するプログラムは、プログラムを記述するステップの処理が、本明細書で説明する順序に沿って時系列に実行されるようにしても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで個別に実行されるようにしても良い。つまり、矛盾が生じない限り、各ステップの処理が上述した順序と異なる順序で実行されるようにしてもよい。さらに、このプログラムを記述するステップの処理が、他のプログラムの処理と並列に実行されるようにしても良いし、他のプログラムの処理と組み合わせて実行されるようにしても良い。 Note that in a program executed by a computer, the processing of the steps described in the program may be executed in chronological order according to the order described in this specification, in parallel, or in a manner in which calls are made. It may also be configured to be executed individually at necessary timings such as at certain times. In other words, the processing of each step may be executed in a different order from the order described above, unless a contradiction occurs. Furthermore, the processing of the step of writing this program may be executed in parallel with the processing of other programs, or may be executed in combination with the processing of other programs.

なお、本明細書において複数説明した本技術は、矛盾が生じない限り、それぞれ独立に単体で実施することができる。もちろん、任意の複数の本技術を併用して実施することもできる。例えば、いずれかの実施の形態において説明した本技術の一部または全部を、他の実施の形態において説明した本技術の一部または全部と組み合わせて実施することもできる。また、上述した任意の本技術の一部または全部を、上述していない他の技術と併用して実施することもできる。 It should be noted that the plurality of techniques described in this specification can be implemented independently, unless a contradiction occurs. Of course, it is also possible to implement any plurality of the present techniques in combination. For example, part or all of the present technology described in any embodiment can be implemented in combination with part or all of the present technology described in other embodiments. Furthermore, part or all of any of the present techniques described above can be implemented in combination with other techniques not described above.

<構成の組み合わせ例>
なお、本技術は以下のような構成も取ることができる。
(1)
所定の処理周期ごとに繰り返して、レーザ光のパルスを発射する発射タイミングを指示する信号を生成する発射タイミング信号生成部と、
前記レーザ光が測距対象物で反射して戻ってきた反射光におけるパルスを受光したタイミングを示すカウントコードのカウントを、前記処理周期の切り替わり時に継続して行うカウンタと、
前記処理周期の開始から前記発射タイミングを遅延させる時間を示す発射遅延値を、前記処理周期ごとに異ならせて前記発射タイミング信号生成部に指示するタイミング指示部と
を備える測定装置。
(2)
前記反射光におけるパルスを受光したタイミングを示す前記カウントコードから、前記タイミング指示部により指示される前記発射遅延値を減算して、前記測距対象物との間で光が往復する飛行時間を測定した値に対応する測定値を演算する演算部を
さらに備える上記(1)に記載の測定装置。
(3)
前記処理周期が繰り返して行われるたびに前記演算部により求められる前記測定値のヒストグラムを生成し、そのヒストグラムにおいてピークを示す前記測定値を特定するまで、前記処理周期を繰り返して行わせるヒストグラム生成部
をさらに備える上記(2)に記載の測定装置。
(4)
前記測距対象物との間の距離を測距の対象としたときに、その距離が含まれる一定の距離幅を表す測距レンジとの間で光が往復する飛行時間の幅である測距レンジ時間を前記処理周期の時間と一致させ、前記処理周期の開始より遅延させた前記発射タイミングから前記測距レンジ時間を開始させる
上記(2)に記載の測定装置。
(5)
前記発射タイミング信号生成部は、1回の前記処理周期内で、パルスの発射回数が2回以上となる前記レーザ光を出力させ、
前記演算部は、前記反射光のパルスが検出される前記カウントコードごとに、そのカウントコードが含まれる複数の前記測距レンジ時間が開始されるタイミングである前記発射遅延値それぞれを、そのカウントコードから減算して前記測定値を求める演算を行う
上記(4)に記載の測定装置。
(6)
前記カウンタがカウントするカウントコードを下位ビットとし、前記カウンタによるカウントとは分けて上位ビットをカウントする構成を設ける
上記(1)から(5)までのいずれかに記載の測定装置。
(7)
前記タイミング指示部は、前記処理周期の全域にわたって前記レーザ光によるパルスの発射タイミングを変更させる
上記(1)から(6)までのいずれかに記載の測定装置。
(8)
前記カウンタは、任意の前記処理周期において前記カウントコードの最大値を変えることで、その処理周期の長さを変更する
上記(1)から(7)までのいずれかに記載の測定装置。
(9)
一定の前記測定値が求められる前記測距レンジ時間の起点とする前記発射タイミングに、前記測距レンジ時間がシフトされる
上記(4)に記載の測定装置。
(10)
前記タイミング指示部は、前記処理周期ごとにランダムに変化するように前記発射遅延値を変更する
上記(3)に記載の測定装置。
(11)
前記タイミング指示部は、前記処理周期ごとに所定のパターンで変化するように前記発射遅延値を変更する
上記(3)に記載の測定装置。
(12)
前記測距対象物との間の距離を測距の対象としたときに、その距離が含まれる一定の距離幅を表す測距レンジとの間で光が往復する飛行時間の幅を測距レンジ時間とし、
前記ヒストグラム生成部は、前記発射遅延値が変化する所定のパターンに基づいて、前記測距レンジ時間の外で検出された反射光のパルスに起因するゴーストの測定値のヒストグラム形状を予測し、前記ゴーストの測定値のヒストグラム形状を抽出する
上記(11)に記載の測定装置。
(13)
前記ヒストグラム生成部は、前記ゴーストの測定値のヒストグラム形状に対する所定の演算処理を行う
上記(12)に記載の測定装置。
(14)
測定装置が、
所定の処理周期ごとに繰り返して、レーザ光のパルスを発射する発射タイミングを指示する信号を生成することと、
前記レーザ光が測距対象物で反射して戻ってきた反射光におけるパルスを受光したタイミングを示すカウントコードのカウントを、前記処理周期の切り替わり時に継続して行うことと、
前記処理周期の開始から前記発射タイミングを遅延させる時間を示す発射遅延値を、前記処理周期ごとに異ならせて指示することと
を含む測定方法。
(15)
測定装置のコンピュータに、
所定の処理周期ごとに繰り返して、レーザ光のパルスを発射する発射タイミングを指示する信号を生成することと、
前記レーザ光が測距対象物で反射して戻ってきた反射光におけるパルスを受光したタイミングを示すカウントコードのカウントを、前記処理周期の切り替わり時に継続して行うことと、
前記処理周期の開始から前記発射タイミングを遅延させる時間を示す発射遅延値を、前記処理周期ごとに異ならせて指示することと
を含む測定処理を実行させるためのプログラム。
<Example of configuration combinations>
Note that the present technology can also have the following configuration.
(1)
a firing timing signal generation unit that repeatedly generates a signal instructing firing timing for firing pulses of laser light at each predetermined processing cycle;
a counter that continuously counts a count code indicating the timing of receiving a pulse in the reflected light that is reflected by the laser beam and returned from the object to be measured at the time of switching of the processing cycle;
and a timing instruction unit that instructs the firing timing signal generation unit to set a firing delay value indicating a time by which the firing timing is delayed from the start of the processing cycle to be different for each processing cycle.
(2)
Subtracting the launch delay value instructed by the timing instruction section from the count code indicating the timing at which the pulse in the reflected light is received, and measuring the flight time for the light to travel back and forth between the object and the object to be measured. The measuring device according to (1) above, further comprising a calculation unit that calculates a measured value corresponding to the measured value.
(3)
a histogram generation unit that generates a histogram of the measured values obtained by the calculation unit each time the processing cycle is repeated, and causes the processing cycle to be repeatedly performed until the measurement value that shows a peak in the histogram is identified; The measuring device according to (2) above, further comprising:
(4)
Distance measurement, which is the width of the flight time for light to travel back and forth between the distance measurement range that represents a certain range of distance that includes the distance to the object to be measured. The measuring device according to (2) above, wherein the range time is made to coincide with the time of the processing cycle, and the ranging range time is started from the firing timing delayed from the start of the processing cycle.
(5)
The emission timing signal generation unit outputs the laser light such that the number of pulse emission is two or more times within one processing cycle,
For each of the count codes in which the pulses of the reflected light are detected, the calculation unit calculates each of the launch delay values, which are the timings at which the plurality of ranging range times including the count codes are started, based on the count code. The measuring device according to (4) above, wherein the measuring device performs an operation to obtain the measured value by subtracting from .
(6)
The measuring device according to any one of (1) to (5) above, wherein a count code counted by the counter is a lower bit, and a configuration is provided in which the upper bit is counted separately from the count by the counter.
(7)
The measuring device according to any one of (1) to (6) above, wherein the timing instruction section changes the emission timing of the laser beam pulse over the entire processing period.
(8)
The measuring device according to any one of (1) to (7), wherein the counter changes the length of the processing cycle by changing the maximum value of the count code in any of the processing cycles.
(9)
The measuring device according to (4) above, wherein the ranging range time is shifted to the firing timing, which is the starting point of the ranging range time for which the constant measurement value is calculated.
(10)
The measuring device according to (3) above, wherein the timing instruction unit changes the firing delay value so as to change randomly every processing cycle.
(11)
The measuring device according to (3) above, wherein the timing instruction unit changes the firing delay value so as to change in a predetermined pattern every processing cycle.
(12)
When the distance to the distance measurement target is the distance measurement target, the distance measurement range is the width of the flight time for light to travel back and forth between the distance measurement range that represents a certain range of distance that includes that distance. time and
The histogram generation unit predicts a histogram shape of a measured value of a ghost caused by a pulse of reflected light detected outside the ranging range time based on a predetermined pattern in which the launch delay value changes, and The measuring device according to (11) above, which extracts a histogram shape of a ghost measurement value.
(13)
The measuring device according to (12), wherein the histogram generation unit performs predetermined calculation processing on the histogram shape of the measured value of the ghost.
(14)
The measuring device is
Repeating every predetermined processing cycle to generate a signal instructing the timing of emitting a pulse of laser light;
Continuing to count a count code indicating the timing of receiving a pulse in the reflected light that is reflected by the laser beam and returned from the object to be measured at the time of switching of the processing cycle;
A measuring method comprising: instructing a firing delay value indicating a time to delay the firing timing from the start of the processing cycle to be different for each processing cycle.
(15)
In the computer of the measuring device,
Repeating every predetermined processing cycle to generate a signal instructing the timing of emitting a pulse of laser light;
Continuing to count a count code indicating the timing of receiving a pulse in the reflected light that is reflected by the laser beam and returned from the object to be measured at the time of switching of the processing cycle;
A program for executing measurement processing, the program comprising: instructing a firing delay value indicating a time by which the firing timing is delayed from the start of the processing cycle to be different for each processing cycle.

なお、本実施の形態は、上述した実施の形態に限定されるものではなく、本開示の要旨を逸脱しない範囲において種々の変更が可能である。また、本明細書に記載された効果はあくまで例示であって限定されるものではなく、他の効果があってもよい。 Note that this embodiment is not limited to the embodiment described above, and various changes can be made without departing from the gist of the present disclosure. Moreover, the effects described in this specification are merely examples and are not limited, and other effects may also be present.

11 測定装置, 12 発射タイミング信号生成部, 13 レーザドライバ, 14 受光素子, 15 TDC, 16 タイミング指示部, 17 演算部, 18 ヒストグラム生成部, 19 距離算出部, 21 カウンタ, 22 ラッチ 11 measurement device, 12 emission timing signal generation section, 13 laser driver, 14 light receiving element, 15 TDC, 16 timing instruction section, 17 calculation section, 18 histogram generation section, 19 distance calculation section, 21 counter, 22 latch

Claims (15)

所定の処理周期ごとに繰り返して、レーザ光のパルスを発射する発射タイミングを指示する信号を生成する発射タイミング信号生成部と、
前記レーザ光が測距対象物で反射して戻ってきた反射光におけるパルスを受光したタイミングを示すカウントコードのカウントを、前記処理周期の切り替わり時に継続して行うカウンタと、
前記処理周期の開始から前記発射タイミングを遅延させる時間を示す発射遅延値を、前記処理周期ごとに異ならせて前記発射タイミング信号生成部に指示するタイミング指示部と
を備える測定装置。
a firing timing signal generation unit that repeatedly generates a signal instructing firing timing for firing pulses of laser light at each predetermined processing cycle;
a counter that continuously counts a count code indicating the timing of receiving a pulse in the reflected light that is reflected by the laser beam and returned from the object to be measured at the time of switching of the processing cycle;
and a timing instruction unit that instructs the firing timing signal generation unit to set a firing delay value indicating a time by which the firing timing is delayed from the start of the processing cycle to be different for each processing cycle.
前記反射光におけるパルスを受光したタイミングを示す前記カウントコードから、前記タイミング指示部により指示される前記発射遅延値を減算して、前記測距対象物との間で光が往復する飛行時間を測定した値に対応する測定値を演算する演算部を
さらに備える請求項1に記載の測定装置。
Subtracting the launch delay value instructed by the timing instruction section from the count code indicating the timing at which the pulse in the reflected light is received, and measuring the flight time for the light to travel back and forth between the object and the object to be measured. The measuring device according to claim 1, further comprising a calculation unit that calculates a measured value corresponding to the measured value.
前記処理周期が繰り返して行われるたびに前記演算部により求められる前記測定値のヒストグラムを生成し、そのヒストグラムにおいてピークを示す前記測定値を特定するまで、前記処理周期を繰り返して行わせるヒストグラム生成部
をさらに備える請求項2に記載の測定装置。
a histogram generation unit that generates a histogram of the measured values obtained by the calculation unit each time the processing cycle is repeated, and causes the processing cycle to be repeatedly performed until the measurement value that shows a peak in the histogram is identified; The measuring device according to claim 2, further comprising:
前記測距対象物との間の距離を測距の対象としたときに、その距離が含まれる一定の距離幅を表す測距レンジとの間で光が往復する飛行時間の幅である測距レンジ時間を前記処理周期の時間と一致させ、前記処理周期の開始より遅延させた前記発射タイミングから前記測距レンジ時間を開始させる
請求項2に記載の測定装置。
Distance measurement, which is the width of the flight time for light to travel back and forth between the distance measurement range that represents a certain range of distance that includes the distance to the object to be measured. The measuring device according to claim 2, wherein the range time is made to coincide with the time of the processing cycle, and the ranging range time is started from the firing timing delayed from the start of the processing cycle.
前記発射タイミング信号生成部は、1回の前記処理周期内で、パルスの発射回数が2回以上となる前記レーザ光を出力させ、
前記演算部は、前記反射光のパルスが検出される前記カウントコードごとに、そのカウントコードが含まれる複数の前記測距レンジ時間が開始されるタイミングである前記発射遅延値それぞれを、そのカウントコードから減算して前記測定値を求める演算を行う
請求項4に記載の測定装置。
The emission timing signal generation unit outputs the laser light such that the number of pulse emission is two or more times within one processing cycle,
For each of the count codes in which the pulses of the reflected light are detected, the calculation unit calculates each of the launch delay values, which are the timings at which the plurality of ranging range times including the count codes are started, based on the count code. The measuring device according to claim 4, wherein the measuring device performs an operation to obtain the measured value by subtracting from .
前記カウンタがカウントするカウントコードを下位ビットとし、前記カウンタによるカウントとは分けて上位ビットをカウントする構成を設ける
請求項1に記載の測定装置。
The measuring device according to claim 1, further comprising a configuration in which a count code counted by the counter is used as lower bits, and higher bits are counted separately from counting by the counter.
前記タイミング指示部は、前記処理周期の全域にわたって前記レーザ光によるパルスの発射タイミングを変更させる
請求項1に記載の測定装置。
The measuring device according to claim 1, wherein the timing instruction section changes the emission timing of the laser beam pulse throughout the processing cycle.
前記カウンタは、任意の前記処理周期において前記カウントコードの最大値を変えることで、その処理周期の長さを変更する
請求項1に記載の測定装置。
The measuring device according to claim 1, wherein the counter changes the length of the processing cycle by changing the maximum value of the count code in any of the processing cycles.
一定の前記測定値が求められる前記測距レンジ時間の起点とする前記発射タイミングに、前記測距レンジ時間がシフトされる
請求項4に記載の測定装置。
The measuring device according to claim 4, wherein the ranging range time is shifted to the firing timing, which is the starting point of the ranging range time for which the constant measurement value is calculated.
前記タイミング指示部は、前記処理周期ごとにランダムに変化するように前記発射遅延値を変更する
請求項3に記載の測定装置。
The measuring device according to claim 3, wherein the timing instruction section changes the firing delay value so that it changes randomly for each processing cycle.
前記タイミング指示部は、前記処理周期ごとに所定のパターンで変化するように前記発射遅延値を変更する
請求項3に記載の測定装置。
The measuring device according to claim 3, wherein the timing instruction unit changes the firing delay value so as to change in a predetermined pattern every processing cycle.
前記測距対象物との間の距離を測距の対象としたときに、その距離が含まれる一定の距離幅を表す測距レンジとの間で光が往復する飛行時間の幅を測距レンジ時間とし、
前記ヒストグラム生成部は、前記発射遅延値が変化する所定のパターンに基づいて、前記測距レンジ時間の外で検出された反射光のパルスに起因するゴーストの測定値のヒストグラム形状を予測し、前記ゴーストの測定値のヒストグラム形状を抽出する
請求項11に記載の測定装置。
When the distance to the distance measurement target is the distance measurement target, the distance measurement range is the width of the flight time for light to travel back and forth between the distance measurement range that represents a certain range of distance that includes that distance. time and
The histogram generation unit predicts a histogram shape of a measured value of a ghost caused by a pulse of reflected light detected outside the ranging range time based on a predetermined pattern in which the launch delay value changes, and The measuring device according to claim 11, wherein a histogram shape of a measured value of a ghost is extracted.
前記ヒストグラム生成部は、前記ゴーストの測定値のヒストグラム形状に対する所定の演算処理を行う
請求項12に記載の測定装置。
The measuring device according to claim 12, wherein the histogram generation unit performs predetermined calculation processing on a histogram shape of the measured value of the ghost.
測定装置が、
所定の処理周期ごとに繰り返して、レーザ光のパルスを発射する発射タイミングを指示する信号を生成することと、
前記レーザ光が測距対象物で反射して戻ってきた反射光におけるパルスを受光したタイミングを示すカウントコードのカウントを、前記処理周期の切り替わり時に継続して行うことと、
前記処理周期の開始から前記発射タイミングを遅延させる時間を示す発射遅延値を、前記処理周期ごとに異ならせて指示することと
を含む測定方法。
The measuring device is
Repeating every predetermined processing cycle to generate a signal instructing the timing of emitting a pulse of laser light;
Continuing to count a count code indicating the timing of receiving a pulse in the reflected light that is reflected by the laser beam and returned from the object to be measured at the time of switching of the processing cycle;
A measuring method comprising: instructing a firing delay value indicating a time to delay the firing timing from the start of the processing cycle to be different for each processing cycle.
測定装置のコンピュータに、
所定の処理周期ごとに繰り返して、レーザ光のパルスを発射する発射タイミングを指示する信号を生成することと、
前記レーザ光が測距対象物で反射して戻ってきた反射光におけるパルスを受光したタイミングを示すカウントコードのカウントを、前記処理周期の切り替わり時に継続して行うことと、
前記処理周期の開始から前記発射タイミングを遅延させる時間を示す発射遅延値を、前記処理周期ごとに異ならせて指示することと
を含む測定処理を実行させるためのプログラム。
In the computer of the measuring device,
Repeating every predetermined processing cycle to generate a signal instructing the timing of emitting a pulse of laser light;
Continuing to count a count code indicating the timing of receiving a pulse in the reflected light that is reflected by the laser beam and returned from the object to be measured at the time of switching of the processing cycle;
A program for executing measurement processing, the program comprising: instructing a firing delay value indicating a time by which the firing timing is delayed from the start of the processing cycle to be different for each processing cycle.
JP2020074371A 2019-07-16 2020-04-17 Measuring device, measuring method, and program Active JP7383558B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2020/025982 WO2021010176A1 (en) 2019-07-16 2020-07-02 Measurement device, measurement method, and program
US17/597,406 US20220276341A1 (en) 2019-07-16 2020-07-02 Measurement device, measurement method, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019130868 2019-07-16
JP2019130868 2019-07-16

Publications (2)

Publication Number Publication Date
JP2021018231A JP2021018231A (en) 2021-02-15
JP7383558B2 true JP7383558B2 (en) 2023-11-20

Family

ID=74565980

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020074371A Active JP7383558B2 (en) 2019-07-16 2020-04-17 Measuring device, measuring method, and program

Country Status (1)

Country Link
JP (1) JP7383558B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2022264504A1 (en) * 2021-06-15 2022-12-22
WO2023127990A1 (en) * 2021-12-29 2023-07-06 주식회사 에스오에스랩 Lidar apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120162632A1 (en) 2010-12-22 2012-06-28 Stmicroelectronics (Research & Development) Limited Real-Time Processing Method and System
JP2017125682A (en) 2016-01-11 2017-07-20 株式会社デンソー Laser radar device and surroundings monitoring system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0921873A (en) * 1995-07-04 1997-01-21 Koito Mfg Co Ltd Distance measuring device
JPH10253759A (en) * 1997-03-10 1998-09-25 Omron Corp Range finder
JP3935560B2 (en) * 1997-07-02 2007-06-27 オリンパス株式会社 Distance measuring device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120162632A1 (en) 2010-12-22 2012-06-28 Stmicroelectronics (Research & Development) Limited Real-Time Processing Method and System
JP2017125682A (en) 2016-01-11 2017-07-20 株式会社デンソー Laser radar device and surroundings monitoring system

Also Published As

Publication number Publication date
JP2021018231A (en) 2021-02-15

Similar Documents

Publication Publication Date Title
CN108535703B (en) Signal interference prevention system for frequency modulated continuous wave radar altimeter
JP7383558B2 (en) Measuring device, measuring method, and program
US10983212B2 (en) Distance measurement device
US10241197B2 (en) Method of preparing histograms of a sensor signal from an array of sensors, in particular proximity sensors, and corresponding device
EP3285087A1 (en) Sensor arrangement and method for determining time-of-flight
JP2018021764A (en) Time of flight type distance measurement device
CN107526062B (en) Radar signal processing apparatus and method
JPWO2017061104A1 (en) Imaging apparatus and solid-state imaging device used therefor
JP2009068896A (en) Equivalent time sampling radar
JP5741508B2 (en) Distance and speed measuring device
JP2017125682A (en) Laser radar device and surroundings monitoring system
KR20210089735A (en) Analog-to-digital converter
JP2020056698A (en) Distance measuring imaging device
WO2021010176A1 (en) Measurement device, measurement method, and program
JP2019158894A (en) Laser radar device and surroundings monitoring system
US6628374B2 (en) Distance measurement apparatus
CN110554397A (en) Distance image generation camera and distance image generation method
US9606228B1 (en) High-precision digital time-of-flight measurement with coarse delay elements
JP4198639B2 (en) Interrupt generation circuit
CN113518894B (en) Optical distance measuring device
US11422227B2 (en) Methods of detecting objects in environments using coexisting radar devices
US11965963B2 (en) Laser radar
JP2010197118A (en) Distance measuring device
JP2940260B2 (en) Distance measuring device and method
KR101645104B1 (en) Frequency sequency creating method and frequency sequency creating apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230302

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231010

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231108

R150 Certificate of patent or registration of utility model

Ref document number: 7383558

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150