JP2024011621A - Distance image capturing device and distance image capturing method - Google Patents

Distance image capturing device and distance image capturing method Download PDF

Info

Publication number
JP2024011621A
JP2024011621A JP2022113790A JP2022113790A JP2024011621A JP 2024011621 A JP2024011621 A JP 2024011621A JP 2022113790 A JP2022113790 A JP 2022113790A JP 2022113790 A JP2022113790 A JP 2022113790A JP 2024011621 A JP2024011621 A JP 2024011621A
Authority
JP
Japan
Prior art keywords
distance image
measurement
charge
distance
accumulation
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.)
Pending
Application number
JP2022113790A
Other languages
Japanese (ja)
Inventor
聡 高橋
Satoshi Takahashi
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.)
Toppan Holdings Inc
Original Assignee
Toppan Holdings Inc
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 Toppan Holdings Inc filed Critical Toppan Holdings Inc
Priority to JP2022113790A priority Critical patent/JP2024011621A/en
Priority to PCT/JP2023/026120 priority patent/WO2024014547A1/en
Publication of JP2024011621A publication Critical patent/JP2024011621A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Optical Radar Systems And Details Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform correspondence according to a tendency of a multi-pass.
SOLUTION: A distance image capturing device performs first measurement having plural measurements in which a combination of radiation time and storage time is a first condition, a time difference between radiation timing being a reference and storage timing is a first time difference and the time differences between the radiation timing and the storage timing with the first time difference as the reference are different from each other, performs second measurement having the plural measurements in which a combination of the radiation time and the storage time is a second condition, the time difference between the radiation timing being the reference and the storage timing is a second time difference and the time differences between the radiation timing and the storage timing with the second time difference as the reference are different from each other, performs the measurement in which any of the second condition and the second time difference is different from that of the first measurement in the second measurement, and calculates a distance to a subject on the basis of a tendency of a feature amount based on an electric charge amount stored in the first measurement and the second measurement.
SELECTED DRAWING: Figure 1
COPYRIGHT: (C)2024,JPO&INPIT

Description

本発明は、距離画像撮像装置、及び距離画像撮像方法に関する。 The present invention relates to a distance image capturing device and a distance image capturing method.

光の速度が既知であることを利用し、空間(測定空間)における光の飛行時間に基づいて測定器と対象物との距離を測定する、タイム・オブ・フライト(Time of Flight、以下「TOF」という)方式の距離画像撮像装置が実現されている(例えば、特許文献1参照)。このような距離画像撮像装置では、光パルスを照射した時点から被写体に反射した反射光が戻ってくるまでの遅延時間を、反射光を撮像素子に入射させて反射光の光量に応じた電荷を複数の電荷蓄積部に振り分けて蓄積させることによって求め、遅延時間と光速とを用いて被写体までの距離を計算する。 Time of Flight (TOF) uses the fact that the speed of light is known to measure the distance between a measuring instrument and an object based on the flight time of light in space (measurement space). A distance image imaging device based on the above method has been realized (see, for example, Patent Document 1). In such distance image capturing devices, the delay time from the time when a light pulse is irradiated until the reflected light that has reflected from the subject returns is determined by making the reflected light enter the image sensor and generating a charge according to the amount of reflected light. The charge is determined by distributing and accumulating the charge in a plurality of charge storage units, and the distance to the subject is calculated using the delay time and the speed of light.

特許第4235729号公報Patent No. 4235729

距離画像撮像装置では、光パルスの光源と物体との間を直接往復した直接波(シングルパス)を画素が受光することを想定して距離を算出する演算式が定義されている。しかしながら、物体のコーナー部や、物体の表面が凹凸構造となっている部分などにおいて光パルスが多重反射し、直接波と間接波とが混在したマルチパスが受光される場合がある。このようなマルチパスを受光した場合、シングルパスを受光したとみなして距離を算出してしまうと、測定距離に誤差が生じてしまう。
一方、距離画像撮像装置では、測距範囲を広げるために被写体までの距離に応じて光パルスを照射する時間(照射時間)及び電荷蓄積部に電荷を蓄積させる時間(蓄積時間)を変更する場合がある。照射時間及び蓄積時間が変更されると、画素が受光するマルチパスの傾向が異なる可能性があり、このようなマルチパスの傾向に応じた対応を行うことが困難であった。
In a distance image capturing device, an arithmetic expression for calculating a distance is defined on the assumption that a pixel receives a direct wave (single pass) that directly travels back and forth between a light source of a light pulse and an object. However, there are cases where the optical pulse is multiple-reflected at the corners of the object, or where the surface of the object has an uneven structure, and a multipath including a mixture of direct waves and indirect waves is received. When such multipath light is received, if the distance is calculated by assuming that a single path has been received, an error will occur in the measured distance.
On the other hand, in distance image capturing devices, in order to widen the distance measurement range, the time for emitting light pulses (irradiation time) and the time for accumulating charge in the charge storage section (accumulation time) are changed depending on the distance to the subject. There is. When the irradiation time and accumulation time are changed, there is a possibility that the tendency of multipath light received by a pixel differs, and it has been difficult to take measures according to such a tendency of multipath.

本発明は、上記の課題に基づいてなされたものであり、マルチパスの傾向に応じた対応を行うことができる距離画像撮像装置、及び距離画像撮像方法を提供することを目的とする。 The present invention has been made based on the above-mentioned problem, and an object of the present invention is to provide a distance image capturing device and a distance image capturing method that can take measures according to the tendency of multipath.

本発明の距離画像撮像装置は、被写体に光パルスを照射する光源部と、入射した光に応じた電荷を発生する光電変換素子及び電荷を蓄積する複数の電荷蓄積部を具備する画素と、前記光パルスを照射する照射タイミングに同期させた蓄積タイミングで前記電荷蓄積部のそれぞれに電荷を振り分けて蓄積させる画素駆動回路と、前記電荷蓄積部の各々に蓄積される電荷量に基づいて前記被写体までの距離を算出する距離画像処理部と、を備え、前記距離画像処理部は、前記光パルスを照射する照射時間と前記電荷蓄積部のそれぞれに電荷を振り分けて蓄積させる蓄積時間の組合せが第1条件であり、基準となる前記照射タイミングと前記蓄積タイミングとの時間差が第1時間差であり、前記第1時間差を基準として前記照射タイミングと前記蓄積タイミングとの時間差が互いに異なる複数の測定からなる第1測定を行い、前記照射時間と前記蓄積時間の組合せが第2条件であり、基準となる前記照射タイミングと前記蓄積タイミングとの時間差が第2時間差であり、前記第2時間差を基準として前記照射タイミングと前記蓄積タイミングとの時間差が互いに異なる複数の測定からなる第2測定を行い、前記第2測定では、前記第2条件又は前記第2時間差の何れか一方が前記第1測定とは異なる測定を行い、前記第1測定及び前記第2測定のそれぞれにて蓄積された電荷量に基づく特徴量を抽出し、前記特徴量の傾向に基づいて前記被写体までの距離を算出する、距離画像撮像装置。 The distance image imaging device of the present invention includes a pixel including a light source unit that irradiates a subject with a light pulse, a photoelectric conversion element that generates charges according to incident light, and a plurality of charge storage units that accumulate charges, and a pixel drive circuit that distributes and accumulates charges in each of the charge accumulation sections at an accumulation timing synchronized with the irradiation timing of irradiating the light pulse; and a pixel drive circuit that distributes and accumulates charges in each of the charge accumulation sections; and a distance image processing unit that calculates a distance between the distance image processing unit and the distance image processing unit, wherein the distance image processing unit has a first combination of an irradiation time for irradiating the light pulse and an accumulation time for distributing and accumulating charges in each of the charge accumulation units. The condition is that the time difference between the irradiation timing and the accumulation timing, which is a reference, is a first time difference, and the first time difference is a first time difference, and a first time difference is made of a plurality of measurements in which the time difference between the irradiation timing and the accumulation timing is different from each other with respect to the first time difference. 1 measurement is performed, the combination of the irradiation time and the accumulation time is a second condition, the time difference between the reference irradiation timing and the accumulation timing is a second time difference, and the irradiation is performed based on the second time difference. A second measurement is performed that includes a plurality of measurements in which the time difference between the timing and the accumulation timing is different from each other, and in the second measurement, either the second condition or the second time difference is different from the first measurement. A distance image imaging device that extracts a feature amount based on the amount of charge accumulated in each of the first measurement and the second measurement, and calculates a distance to the subject based on a tendency of the feature amount. .

本発明の距離画像撮像装置では、前記距離画像処理部は、前記第2測定では、前記第2時間差が前記第1測定と同じであり、前記第2条件が前記第1測定とは異なる測定を行う。 In the distance image imaging device of the present invention, the distance image processing unit may perform a measurement in which the second time difference is the same as in the first measurement and the second condition is different from the first measurement in the second measurement. conduct.

本発明の距離画像撮像装置では、前記距離画像処理部は、前記第2測定では、前記第2時間差が前記第1測定と異なり、前記第2条件が前記第1測定と同じである測定を行う。 In the distance image imaging device of the present invention, the distance image processing unit performs a measurement in which the second time difference is different from the first measurement and the second condition is the same as the first measurement in the second measurement. .

本発明の距離画像撮像装置では、前記距離画像処理部は、前記光パルスの反射光がシングルパスにて前記画素に受光されたか、前記光パルスの反射光がマルチパスにて前記画素に受光されたかを判定するマルチパス判定を行い、前記マルチパス判定の結果に応じて前記被写体までの距離を算出する。 In the distance image imaging device of the present invention, the distance image processing unit may be configured to determine whether the reflected light of the light pulse is received by the pixel in a single pass, or the reflected light of the light pulse is received by the pixel in multiple passes. A multi-pass determination is performed to determine whether or not the distance is high, and the distance to the subject is calculated according to the result of the multi-pass determination.

本発明の距離画像撮像装置では、前記距離画像処理部は、前記照射時間と前記蓄積時間の組み合わせ毎に、前記反射光がシングルパスで前記画素に受光された場合における前記照射タイミングと前記蓄積タイミングとの時間差と前記特徴量とが対応付けられているルックアップテーブルを参照し、前記ルックアップテーブルの傾向と前記特徴量の傾向との類似度合いに基づいて、前記マルチパス判定を行う。 In the distance image imaging device of the present invention, the distance image processing unit may be arranged to determine the irradiation timing and the accumulation timing when the reflected light is received by the pixel in a single pass for each combination of the irradiation time and the accumulation time. The multipath determination is performed based on the degree of similarity between the tendency of the lookup table and the tendency of the feature amount by referring to a lookup table in which the time difference between the time difference and the feature amount is associated with the feature amount.

本発明の距離画像撮像装置では、前記ルックアップテーブルは、前記光パルスの形状、及び、前記照射時間と前記蓄積時間の組合せ毎に複数作成され、前記距離画像処理部は、複数の前記ルックアップテーブルのうち、前記第1測定及び前記第2測定の測定条件のそれぞれに対応する前記ルックアップテーブルを用いて、前記マルチパス判定を行う。 In the distance image imaging device of the present invention, a plurality of lookup tables are created for each combination of the shape of the light pulse and the irradiation time and the accumulation time, and the distance image processing unit is configured to create a plurality of lookup tables for each combination of the shape of the light pulse and the irradiation time and the accumulation time, and the distance image processing unit Among the tables, the multipath determination is performed using the lookup table corresponding to each of the measurement conditions of the first measurement and the second measurement.

本発明の距離画像撮像装置では、前記特徴量は、前記電荷蓄積部のそれぞれに蓄積された電荷量のうち、少なくとも前記光パルスの反射光に対応する電荷量を用いて算出される値である。 In the distance image imaging device of the present invention, the feature amount is a value calculated using at least the amount of charge corresponding to the reflected light of the light pulse, out of the amount of charge accumulated in each of the charge storage sections. .

本発明の距離画像撮像装置では、前記画素には、第1電荷蓄積部、第2電荷蓄積部、第3電荷蓄積部、及び第4電荷蓄積部が設けられ、前記距離画像処理部は、前記第1電荷蓄積部、前記第2電荷蓄積部、前記第3電荷蓄積部、又は前記第4電荷蓄積部の少なくともいずれかに前記光パルスの反射光に対応する電荷が蓄積されるタイミングにて、前記第1電荷蓄積部、前記第2電荷蓄積部、前記第3電荷蓄積部、前記第4電荷蓄積部の順に電荷を蓄積させ、前記特徴量は、前記第1電荷蓄積部、前記第2電荷蓄積部、前記第3電荷蓄積部、及び前記第4電荷蓄積部のそれぞれに蓄積された電荷量を変数とする複素数である。 In the distance image imaging device of the present invention, the pixel is provided with a first charge storage section, a second charge storage section, a third charge storage section, and a fourth charge storage section, and the distance image processing section is configured to At a timing when a charge corresponding to the reflected light of the optical pulse is accumulated in at least one of the first charge accumulation section, the second charge accumulation section, the third charge accumulation section, or the fourth charge accumulation section, Charges are accumulated in the order of the first charge accumulation section, the second charge accumulation section, the third charge accumulation section, and the fourth charge accumulation section, and the feature amount is determined by the first charge accumulation section, the second charge accumulation section, and the second charge accumulation section. It is a complex number whose variable is the amount of charge stored in each of the storage section, the third charge storage section, and the fourth charge storage section.

本発明の距離画像撮像装置では、前記特徴量は、前記第1電荷蓄積部に蓄積された第1電荷量と前記第3電荷蓄積部に蓄積された第3電荷量との差分である第1変数を実部とし、前記第2電荷蓄積部に蓄積された第2電荷量と前記第4電荷蓄積部に蓄積された第4電荷量との差分である第2変数を虚部とする複素数で表される値である。 In the distance image imaging device of the present invention, the feature amount is a first charge amount that is a difference between a first charge amount accumulated in the first charge storage section and a third charge amount accumulated in the third charge storage section. A complex number whose real part is a variable and whose imaginary part is a second variable that is the difference between the second amount of charge stored in the second charge storage section and the fourth amount of charge stored in the fourth charge storage section. is the value represented.

本発明の距離画像撮像装置では、前記距離画像処理部は、前記第1測定及び前記第2測定において、前記蓄積タイミングに対して前記照射タイミングを遅らせることにより、前記照射タイミングと前記蓄積タイミングとの時間差が互いに異なる複数の測定を行う。 In the distance image imaging device of the present invention, the distance image processing section delays the irradiation timing with respect to the accumulation timing in the first measurement and the second measurement, thereby adjusting the irradiation timing and the accumulation timing. Perform multiple measurements with different time differences.

本発明の距離画像撮像装置では、前記距離画像処理部は、シングルパスかマルチパスかを判定することなく前記被写体までの距離を算出する仮測定を行い、前記仮測定において算出された距離に応じて前記第1条件及び前記第2条件の少なくとも一方を決定する。 In the distance image imaging device of the present invention, the distance image processing unit performs a temporary measurement to calculate the distance to the subject without determining whether the image is a single pass or a multipass, and according to the distance calculated in the temporary measurement. and determining at least one of the first condition and the second condition.

本発明の距離画像撮像装置では、前記距離画像処理部は、前記仮測定において算出された距離に応じて、前記被写体が比較的近くに存在すると判定する場合、前記第2条件における前記照射時間と前記蓄積時間の組合せが前記第1条件よりも短い時間となるように前記第2条件を決定し、前記被写体が比較的遠くに存在すると判定する場合、前記第2条件における前記照射時間と前記蓄積時間の組合せが前記第1条件よりも長い時間となるように前記第2条件を決定する。 In the distance image imaging device of the present invention, when determining that the subject is relatively close according to the distance calculated in the provisional measurement, the distance image processing unit may adjust the irradiation time under the second condition to When the second condition is determined such that the combination of the accumulation times is shorter than the first condition, and it is determined that the subject is relatively far away, the irradiation time and the accumulation under the second condition are determined such that the combination of the accumulation times is shorter than the first condition. The second condition is determined such that the combination of times is longer than the first condition.

本発明の距離画像撮像装置では、前記距離画像処理部は、シングルパスかマルチパスかを判定することなく前記被写体までの距離を算出する仮測定を行い、前記仮測定において算出された距離に応じて前記第2時間差を決定する。 In the distance image imaging device of the present invention, the distance image processing unit performs a temporary measurement to calculate the distance to the subject without determining whether the image is a single pass or a multipass, and according to the distance calculated in the temporary measurement. and determining the second time difference.

本発明の距離画像撮像装置では、前記距離画像処理部は、前記第2測定において算出した距離を、前記第2時間差に基づく距離に応じて補正し、補正後の距離を前記被写体までの距離とする。 In the distance image capturing device of the present invention, the distance image processing section corrects the distance calculated in the second measurement according to the distance based on the second time difference, and sets the corrected distance to the distance to the subject. do.

本発明の距離画像撮像装置では、前記距離画像処理部は、前記ルックアップテーブルの傾向と、前記複数の測定のそれぞれの前記特徴量の傾向との類似度合いを示す指標値を算出し、前記指標値は、前記複数の測定のそれぞれから算出される前記特徴量である第1特徴量と、前記ルックアップテーブルにおいて前記複数の測定のそれぞれに対応する前記特徴量である第2特徴量との差分を、前記第2特徴量の絶対値で正規化した差分正規化値について、前記複数の測定のそれぞれの前記差分正規化値を加算した加算値であり、前記距離画像処理部は、前記指標値が閾値を超えない場合に前記反射光がシングルパスにて前記画素に受光されたと判定し、前記指標値が前記閾値を超える場合に前記反射光がマルチパスにて前記画素に受光されたと判定する。 In the distance image imaging device of the present invention, the distance image processing unit calculates an index value indicating the degree of similarity between the tendency of the lookup table and the tendency of the feature amount of each of the plurality of measurements, and The value is the difference between the first feature quantity, which is the feature quantity calculated from each of the plurality of measurements, and the second feature quantity, which is the feature quantity, corresponding to each of the plurality of measurements in the lookup table. is an added value obtained by adding the difference normalized values of each of the plurality of measurements to the difference normalized value normalized by the absolute value of the second feature amount, and the distance image processing unit calculates the index value If does not exceed a threshold, it is determined that the reflected light has been received by the pixel in a single pass, and if the index value exceeds the threshold, it is determined that the reflected light has been received by the pixel in a multi-pass. .

本発明の距離画像撮像装置では、前記距離画像処理部は、前記反射光がマルチパスで前記画素に受光されたと判定した場合、マルチパスに含まれる光の経路のそれぞれに対応する距離を、最小二乗法を用いることにより算出する。 In the distance image imaging device of the present invention, when the distance image processing unit determines that the reflected light is received by the pixel in a multipath, the distance image processing unit minimizes the distance corresponding to each of the light paths included in the multipath. Calculated using the square method.

本発明の距離画像撮像装置では、前記距離画像処理部は、前記仮測定において算出された距離に応じて、前記第1測定及び前記第2測定において前記光パルスを照射する強度を制御する。 In the distance image imaging device of the present invention, the distance image processing section controls the intensity of irradiating the light pulse in the first measurement and the second measurement, depending on the distance calculated in the temporary measurement.

本発明の距離画像撮像装置では、前記光電変換素子によって発生された電荷を排出する電荷排出部を更に備え、前記距離画像処理部は、前記蓄積タイミングとは異なるタイミングでは、前記光電変換素子によって発生された電荷が前記電荷排出部によって排出されるように制御する。 The distance image imaging device of the present invention further includes a charge discharging unit that discharges the charges generated by the photoelectric conversion element, and the range image processing unit discards the charges generated by the photoelectric conversion element at a timing different from the accumulation timing. control is performed so that the discharged charges are discharged by the charge discharging section.

本発明の距離画像撮像方法は、被写体に光パルスを照射する光源部と、入射した光に応じた電荷を発生する光電変換素子及び電荷を蓄積する複数の電荷蓄積部を具備する画素と、前記光パルスを照射する照射タイミングに同期させた蓄積タイミングで前記電荷蓄積部のそれぞれに電荷を振り分けて蓄積させる画素駆動回路と、前記電荷蓄積部の各々に蓄積される電荷量に基づいて前記被写体までの距離を算出する距離画像処理部と、を備える距離画像撮像装置が行う距離画像撮像方法であって、前記距離画像処理部は、前記光パルスを照射する照射時間と前記電荷蓄積部のそれぞれに電荷を振り分けて蓄積させる蓄積時間の組合せが第1条件であり、基準となる前記照射タイミングと前記蓄積タイミングとの時間差が第1時間差であり、前記第1時間差を基準として前記照射タイミングと前記蓄積タイミングとの時間差が互いに異なる複数の測定からなる第1測定を行い、前記照射時間と前記蓄積時間の組合せが第2条件であり、基準となる前記照射タイミングと前記蓄積タイミングとの時間差が第2時間差であり、前記第2時間差を基準として前記照射タイミングと前記蓄積タイミングとの時間差が互いに異なる複数の測定からなる第2測定を行い、前記第2測定では、前記第2条件又は前記第2時間差の何れか一方が前記第1測定とは異なる測定を行い、前記第1測定及び前記第2測定のそれぞれにて蓄積された電荷量に基づく特徴量を抽出し、前記特徴量の傾向に基づいて前記被写体までの距離を算出する。 The distance image imaging method of the present invention includes a pixel including a light source section that irradiates a subject with a light pulse, a photoelectric conversion element that generates charges according to incident light, and a plurality of charge storage sections that accumulate charges; a pixel drive circuit that distributes and accumulates charges in each of the charge accumulation sections at an accumulation timing synchronized with the irradiation timing of irradiating the light pulse; and a pixel drive circuit that distributes and accumulates charges in each of the charge accumulation sections; A distance image imaging method carried out by a distance image imaging device comprising: a distance image processing unit that calculates a distance of the charge storage unit; A first condition is a combination of accumulation times for distributing and accumulating charges, a time difference between the reference irradiation timing and the accumulation timing is a first time difference, and the irradiation timing and the accumulation are determined based on the first time difference. A first measurement consisting of a plurality of measurements with different time differences from each other is performed, a combination of the irradiation time and the accumulation time is a second condition, and a time difference between the reference irradiation timing and the accumulation timing is a second condition. A second measurement is performed that includes a plurality of measurements in which the time difference between the irradiation timing and the accumulation timing is different from each other based on the second time difference, and in the second measurement, the second measurement is performed under the second condition or the second time difference. Either one performs a measurement different from the first measurement, extracts a feature amount based on the amount of charge accumulated in each of the first measurement and the second measurement, and based on the tendency of the feature amount. A distance to the subject is calculated.

本発明によれば、マルチパスの傾向に応じた対応を行うことができる。 According to the present invention, it is possible to take measures according to the tendency of multipath.

実施形態の距離画像撮像装置1の概略構成を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of a distance image capturing device 1 according to an embodiment. 実施形態の距離画像センサ32の概略構成を示すブロック図である。It is a block diagram showing a schematic structure of distance image sensor 32 of an embodiment. 実施形態の画素321の構成の一例を示す回路図である。FIG. 3 is a circuit diagram showing an example of the configuration of a pixel 321 according to the embodiment. 実施形態のマルチパスを説明する図である。FIG. 3 is a diagram illustrating multipath according to an embodiment. 実施形態の距離画像処理部4が行う処理を説明する図である。It is a figure explaining the process which the distance image processing part 4 of embodiment performs. 従来の距離画像撮像装置が被写体OBを測定する例を模式的に示す図である。FIG. 2 is a diagram schematically showing an example in which a conventional distance image capturing device measures a subject OB. 従来の距離画像撮像装置が被写体OBを測定する例を模式的に示す図である。FIG. 2 is a diagram schematically showing an example in which a conventional distance image capturing device measures a subject OB. 従来の距離画像撮像装置が被写体OBを測定する例を模式的に示す図である。FIG. 2 is a diagram schematically showing an example in which a conventional distance image capturing device measures a subject OB. 従来の距離画像撮像装置が被写体OBを測定する例を模式的に示す図である。FIG. 2 is a diagram schematically showing an example in which a conventional distance image capturing device measures a subject OB. 第1実施形態の測定方法を説明する図である。It is a figure explaining the measurement method of a 1st embodiment. 第1実施形態の測定方法を説明する図である。It is a figure explaining the measurement method of a 1st embodiment. 第1実施形態の測定方法を説明する図である。It is a figure explaining the measurement method of a 1st embodiment. 第1実施形態の測定方法を説明する図である。It is a figure explaining the measurement method of a 1st embodiment. 実施形態の複素関数CP(φ)の例を示す図である。It is a figure showing an example of complex function CP (phi) of an embodiment. 実施形態の複素関数CP(φ)の例を示す図である。It is a figure showing an example of complex function CP (phi) of an embodiment. 実施形態の距離画像処理部4が行う処理を説明する図である。It is a figure explaining the process which the distance image processing part 4 of embodiment performs. 実施形態の距離画像処理部4が行う処理を説明する図である。It is a figure explaining the process which the distance image processing part 4 of embodiment performs. 実施形態の距離画像処理部4が行う処理を説明する図である。It is a figure explaining the process which the distance image processing part 4 of embodiment performs. 実施形態の距離画像処理部4が行う処理を説明する図である。It is a figure explaining the process which the distance image processing part 4 of embodiment performs. 実施形態の距離画像撮像装置1が行う処理の流れを示すフローチャートである。It is a flowchart showing the flow of processing performed by the distance image imaging device 1 of the embodiment. ルックアップテーブルの例を示す図である。FIG. 3 is a diagram showing an example of a lookup table. 第2実施形態の測定方法を説明する図である。It is a figure explaining the measurement method of 2nd Embodiment. 第2実施形態の測定方法を説明する図である。It is a figure explaining the measurement method of 2nd Embodiment.

以下、実施形態の距離画像撮像装置を、図面を参照しながら説明する。 Hereinafter, a distance image capturing device according to an embodiment will be described with reference to the drawings.

図1は、実施形態の距離画像撮像装置の概略構成を示すブロック図である。距離画像撮像装置1は、例えば、光源部2と、受光部3と、距離画像処理部4とを備える。図1には、距離画像撮像装置1において距離を測定する対象物である被写体OBも併せて示している。 FIG. 1 is a block diagram showing a schematic configuration of a distance image capturing device according to an embodiment. The distance image imaging device 1 includes, for example, a light source section 2, a light receiving section 3, and a distance image processing section 4. FIG. 1 also shows a subject OB, which is an object whose distance is to be measured in the distance image capturing device 1.

光源部2は、距離画像処理部4からの制御に従って、距離画像撮像装置1において距離を測定する対象の被写体OBが存在する測定対象の空間に光パルスPOを照射する。光源部2は、例えば、垂直共振器面発光レーザー(VCSEL:Vertical Cavity Surface Emitting Laser)などの面発光型の半導体レーザーモジュールである。光源部2は、光源装置21と、拡散板22とを備える。 The light source section 2 irradiates a measurement target space in which a subject OB whose distance is to be measured in the distance image capturing apparatus 1 exists with a light pulse PO under control from the distance image processing section 4 . The light source unit 2 is, for example, a surface-emitting semiconductor laser module such as a vertical cavity surface-emitting laser (VCSEL). The light source section 2 includes a light source device 21 and a diffusion plate 22.

光源装置21は、被写体OBに照射する光パルスPOとなる近赤外の波長帯域(例えば、波長が850nm~940nmの波長帯域)のレーザー光を発光する光源である。光源装置21は、例えば、半導体レーザー発光素子である。光源装置21は、タイミング制御部41からの制御に応じて、パルス状のレーザー光を発光する。 The light source device 21 is a light source that emits laser light in a near-infrared wavelength band (for example, a wavelength band of 850 nm to 940 nm) that becomes a light pulse PO that is irradiated onto the subject OB. The light source device 21 is, for example, a semiconductor laser light emitting device. The light source device 21 emits pulsed laser light under control from the timing control section 41.

拡散板22は、光源装置21が発光した近赤外の波長帯域のレーザー光を、被写体OBに照射する面の広さに拡散する光学部品である。拡散板22が拡散したパルス状のレーザー光が、光パルスPOとして出射され、被写体OBに照射される。 The diffuser plate 22 is an optical component that diffuses the laser light in the near-infrared wavelength band emitted by the light source device 21 over a surface that irradiates the subject OB. The pulsed laser light diffused by the diffusion plate 22 is emitted as a light pulse PO and is irradiated onto the object OB.

受光部3は、距離画像撮像装置1において距離を測定する対象の被写体OBによって反射された光パルスPOの反射光RLを受光し、受光した反射光RLに応じた画素信号を出力する。受光部3は、レンズ31と、距離画像センサ32とを備える。 The light receiving unit 3 receives the reflected light RL of the optical pulse PO reflected by the subject OB whose distance is to be measured in the distance image capturing device 1, and outputs a pixel signal according to the received reflected light RL. The light receiving section 3 includes a lens 31 and a distance image sensor 32.

レンズ31は、入射した反射光RLを距離画像センサ32に導く光学レンズである。レンズ31は、入射した反射光RLを距離画像センサ32側に出射して、距離画像センサ32の受光領域に備えた画素に受光(入射)させる。 The lens 31 is an optical lens that guides the incident reflected light RL to the distance image sensor 32. The lens 31 emits the incident reflected light RL to the distance image sensor 32 side, and causes the light to be received (incident) by a pixel provided in a light receiving area of the distance image sensor 32.

距離画像センサ32は、距離画像撮像装置1に用いられる撮像素子である。距離画像センサ32は、二次元の受光領域に複数の画素を備える。距離画像センサ32のそれぞれの画素の中に、1つの光電変換素子と、この1つの光電変換素子に対応する複数の電荷蓄積部と、それぞれの電荷蓄積部に電荷を振り分ける構成要素とが設けられる。つまり、画素は、複数の電荷蓄積部に電荷を振り分けて蓄積させる振り分け構成の撮像素子である。 The distance image sensor 32 is an image sensor used in the distance image imaging device 1. The distance image sensor 32 includes a plurality of pixels in a two-dimensional light receiving area. Each pixel of the distance image sensor 32 is provided with one photoelectric conversion element, a plurality of charge storage sections corresponding to this one photoelectric conversion element, and a component that distributes charge to each charge storage section. . In other words, a pixel is an image sensor having a distribution configuration in which charges are distributed and accumulated in a plurality of charge storage sections.

距離画像センサ32は、タイミング制御部41からの制御に応じて、光電変換素子が発生した電荷をそれぞれの電荷蓄積部に振り分ける。また、距離画像センサ32は、電荷蓄積部に振り分けられた電荷量に応じた画素信号を出力する。距離画像センサ32には、複数の画素が二次元の行列状に配置されており、それぞれの画素の対応する1フレーム分の画素信号を出力する。 The distance image sensor 32 distributes the charges generated by the photoelectric conversion elements to the respective charge storage sections in accordance with the control from the timing control section 41. Further, the distance image sensor 32 outputs a pixel signal according to the amount of charge distributed to the charge storage section. The distance image sensor 32 has a plurality of pixels arranged in a two-dimensional matrix, and outputs pixel signals for one frame to which each pixel corresponds.

距離画像処理部4は、距離画像撮像装置1を制御し、被写体OBまでの距離を算出する。距離画像処理部4は、タイミング制御部41と、距離演算部42と、測定制御部43とを備える。 The distance image processing unit 4 controls the distance image imaging device 1 and calculates the distance to the object OB. The distance image processing section 4 includes a timing control section 41, a distance calculation section 42, and a measurement control section 43.

タイミング制御部41は、測定制御部43の制御に応じて、測定に要する様々な制御信号を出力するタイミングを制御する。ここでの様々な制御信号とは、例えば、光パルスPOの照射を制御する信号、反射光RLを複数の電荷蓄積部に振り分けて蓄積させる信号、1フレームあたりの蓄積回数を制御する信号などである。蓄積回数とは、電荷蓄積部CS(図3参照)に電荷を振り分けて蓄積させる処理を繰返す回数である。この蓄積回数と、電荷を振り分けて蓄積させる処理1回あたりに各電荷蓄積部に電荷を蓄積させる時間幅(蓄積時間幅)の積が露光時間となる。 The timing control section 41 controls the timing of outputting various control signals required for measurement in accordance with the control of the measurement control section 43. The various control signals here include, for example, a signal for controlling the irradiation of the optical pulse PO, a signal for distributing and accumulating the reflected light RL in a plurality of charge storage units, a signal for controlling the number of accumulations per frame, etc. be. The number of times of accumulation is the number of times that the process of distributing and accumulating charges in the charge accumulating section CS (see FIG. 3) is repeated. The exposure time is the product of this number of times of accumulation and the time width (accumulation time width) in which charges are accumulated in each charge accumulation section per process of distributing and accumulating charges.

距離演算部42は、距離画像センサ32から出力された画素信号に基づいて、被写体OBまでの距離を演算した距離情報を出力する。距離演算部42は、複数の電荷蓄積部に蓄積された電荷量に基づいて、光パルスPOを照射してから反射光RLを受光するまでの遅延時間を算出する。距離演算部42は、算出した遅延時間に応じて被写体OBまでの距離を算出する。 The distance calculation unit 42 outputs distance information obtained by calculating the distance to the object OB based on the pixel signal output from the distance image sensor 32. The distance calculation unit 42 calculates the delay time from irradiation of the optical pulse PO to reception of the reflected light RL based on the amount of charge accumulated in the plurality of charge storage units. The distance calculation unit 42 calculates the distance to the object OB according to the calculated delay time.

測定制御部43は、タイミング制御部41を制御する。例えば、測定制御部43は、1フレームの蓄積回数及び蓄積時間幅を設定し、設定した内容で撮像が行われるようにタイミング制御部41を制御する。 The measurement control section 43 controls the timing control section 41. For example, the measurement control unit 43 sets the number of times of accumulation of one frame and the accumulation time width, and controls the timing control unit 41 so that imaging is performed according to the set contents.

このような構成によって、距離画像撮像装置1では、光源部2が被写体OBに照射した近赤外の波長帯域の光パルスPOが被写体OBによって反射された反射光RLを受光部3が受光し、距離画像処理部4が、被写体OBとの距離を測定した距離情報を出力する。 With such a configuration, in the distance image imaging device 1, the light receiving unit 3 receives the reflected light RL, which is the light pulse PO in the near-infrared wavelength band that the light source unit 2 irradiated onto the subject OB, and is reflected by the subject OB. The distance image processing unit 4 outputs distance information obtained by measuring the distance to the object OB.

なお、図1においては、距離画像処理部4を距離画像撮像装置1の内部に備える構成の距離画像撮像装置1を示しているが、距離画像処理部4は、距離画像撮像装置1の外部に備える構成要素であってもよい。 Note that although FIG. 1 shows a distance image imaging device 1 having a configuration in which the distance image processing unit 4 is provided inside the distance image imaging device 1, the distance image processing unit 4 is provided outside the distance image imaging device 1. It may be a component provided.

ここで、図2を用いて、距離画像撮像装置1において撮像素子として用いられる距離画像センサ32の構成について説明する。図2は、実施形態の距離画像撮像装置1に用いられる撮像素子(距離画像センサ32)の概略構成を示すブロック図である。 Here, the configuration of the distance image sensor 32 used as an image sensor in the distance image imaging device 1 will be explained using FIG. 2. FIG. 2 is a block diagram showing a schematic configuration of an image sensor (distance image sensor 32) used in the distance image imaging device 1 of the embodiment.

図2に示すように、距離画像センサ32は、例えば、複数の画素321が配置された受光領域320と、制御回路322と、振り分け動作を有した垂直走査回路323と、水平走査回路324と、画素信号処理回路325とを備える。 As shown in FIG. 2, the distance image sensor 32 includes, for example, a light receiving area 320 in which a plurality of pixels 321 are arranged, a control circuit 322, a vertical scanning circuit 323 having a distribution operation, a horizontal scanning circuit 324, A pixel signal processing circuit 325 is provided.

受光領域320は、複数の画素321が配置された領域であって、図2では、8行8列に二次元の行列状に配置された例を示している。画素321は、受光した光量に相当する電荷を蓄積する。制御回路322は、距離画像センサ32を統括的に制御する。制御回路322は、例えば、距離画像処理部4のタイミング制御部41からの指示に応じて、距離画像センサ32の構成要素の動作を制御する。なお、距離画像センサ32に備えた構成要素の制御は、タイミング制御部41が直接行う構成であってもよく、この場合、制御回路322を省略することも可能である。 The light receiving area 320 is an area in which a plurality of pixels 321 are arranged, and FIG. 2 shows an example in which they are arranged in a two-dimensional matrix of 8 rows and 8 columns. The pixel 321 accumulates charges corresponding to the amount of light received. The control circuit 322 controls the distance image sensor 32 in an integrated manner. The control circuit 322 controls the operations of the components of the distance image sensor 32, for example, in accordance with instructions from the timing control section 41 of the distance image processing section 4. Note that the components included in the distance image sensor 32 may be directly controlled by the timing control section 41, and in this case, the control circuit 322 may be omitted.

垂直走査回路323は、制御回路322からの制御に応じて、受光領域320に配置された画素321を行ごとに制御する回路である。垂直走査回路323は、画素321の電荷蓄積部CSそれぞれに蓄積された電荷量に応じた電圧信号を画素信号処理回路325に出力させる。この場合、垂直走査回路323は、光電変換素子により変換された電荷を画素321の電荷蓄積部それぞれに振り分けて蓄積させる。つまり、垂直走査回路323は、「画素駆動回路」の一例である。 The vertical scanning circuit 323 is a circuit that controls the pixels 321 arranged in the light receiving area 320 row by row in accordance with the control from the control circuit 322. The vertical scanning circuit 323 causes the pixel signal processing circuit 325 to output a voltage signal corresponding to the amount of charge accumulated in each charge accumulation section CS of the pixel 321. In this case, the vertical scanning circuit 323 distributes and accumulates the charges converted by the photoelectric conversion element in each of the charge storage sections of the pixels 321. In other words, the vertical scanning circuit 323 is an example of a "pixel drive circuit."

画素信号処理回路325は、制御回路322からの制御に応じて、それぞれの列の画素321から対応する垂直信号線に出力された電圧信号に対して、予め定めた信号処理(例えば、ノイズ抑圧処理やA/D変換処理など)を行う回路である。 The pixel signal processing circuit 325 performs predetermined signal processing (for example, noise suppression processing) on the voltage signal output from the pixels 321 of each column to the corresponding vertical signal line in accordance with the control from the control circuit 322. This circuit performs A/D conversion processing, etc.).

水平走査回路324は、制御回路322からの制御に応じて、画素信号処理回路325から出力される信号を、水平信号線に順次出力させる回路である。これにより、1フレーム分蓄積された電荷量に相当する画素信号が、水平信号線を経由して距離画像処理部4に順次出力される。 The horizontal scanning circuit 324 is a circuit that sequentially outputs the signals output from the pixel signal processing circuit 325 to the horizontal signal line in accordance with the control from the control circuit 322. As a result, pixel signals corresponding to the amount of charge accumulated for one frame are sequentially output to the distance image processing section 4 via the horizontal signal line.

以下では、画素信号処理回路325がA/D変換処理を行い、画素信号がデジタル信号であるものとして説明する。 In the following description, it is assumed that the pixel signal processing circuit 325 performs A/D conversion processing and the pixel signal is a digital signal.

ここで、図3を用いて、距離画像センサ32に備える受光領域320内に配置された画素321の構成について説明する。図3は、実施形態の距離画像センサ32の受光領域320内に配置された画素321の構成の一例を示す回路図である。図3には、受光領域320内に配置された複数の画素321のうち、1つの画素321の構成の一例を示している。画素321は、4個の画素信号読み出し部を備えた構成の一例である。 Here, the configuration of the pixel 321 arranged in the light receiving area 320 provided in the distance image sensor 32 will be explained using FIG. 3. FIG. 3 is a circuit diagram showing an example of the configuration of a pixel 321 arranged within the light receiving area 320 of the distance image sensor 32 of the embodiment. FIG. 3 shows an example of the configuration of one pixel 321 among the plurality of pixels 321 arranged in the light receiving area 320. The pixel 321 is an example of a configuration including four pixel signal readout sections.

画素321は、1個の光電変換素子PDと、ドレインゲートトランジスタGDと、対応する出力端子Oから電圧信号を出力する3個の画素信号読み出し部RUとを備える。画素信号読み出し部RUのそれぞれは、読み出しゲートトランジスタGと、フローティングディフュージョンFDと、電荷蓄積容量Cと、リセットゲートトランジスタRTと、ソースフォロアゲートトランジスタSFと、選択ゲートトランジスタSLとを備える。それぞれの画素信号読み出し部RUでは、フローティングディフュージョンFDと電荷蓄積容量Cとによって電荷蓄積部CSが構成されている。 The pixel 321 includes one photoelectric conversion element PD, a drain gate transistor GD, and three pixel signal readout units RU that output voltage signals from the corresponding output terminals O. Each of the pixel signal readout units RU includes a readout gate transistor G, a floating diffusion FD, a charge storage capacitor C, a reset gate transistor RT, a source follower gate transistor SF, and a selection gate transistor SL. In each pixel signal readout unit RU, a charge storage unit CS is configured by a floating diffusion FD and a charge storage capacitor C.

なお、図3においては、3個の画素信号読み出し部RUの符号「RU」の後に、「1」~「3」の何れかの数字を付与することによって、それぞれの画素信号読み出し部RUを区別する。また、同様に、3個の画素信号読み出し部RUに備えたそれぞれの構成要素も、それぞれの画素信号読み出し部RUを表す数字を符号の後に示すことによって、それぞれの構成要素が対応する画素信号読み出し部RUを区別して表す。 In addition, in FIG. 3, each pixel signal readout unit RU is distinguished by adding any number from “1” to “3” after the code “RU” of the three pixel signal readout units RU. do. Similarly, each component included in the three pixel signal readout units RU is indicated by a number representing each pixel signal readout unit RU after the code, so that each component can read out the pixel signal to which it corresponds. The unit RU is distinguished from each other.

図3に示した画素321において、出力端子O1から電圧信号を出力する画素信号読み出し部RU1は、読み出しゲートトランジスタG1と、フローティングディフュージョンFD1と、電荷蓄積容量C1と、リセットゲートトランジスタRT1と、ソースフォロアゲートトランジスタSF1と、選択ゲートトランジスタSL1とを備える。画素信号読み出し部RU1では、フローティングディフュージョンFD1と電荷蓄積容量C1とによって電荷蓄積部CS1が構成されている。画素信号読み出し部RU2~RU3も同様の構成である。 In the pixel 321 shown in FIG. 3, the pixel signal readout unit RU1 that outputs a voltage signal from the output terminal O1 includes a readout gate transistor G1, a floating diffusion FD1, a charge storage capacitor C1, a reset gate transistor RT1, and a source follower. It includes a gate transistor SF1 and a selection gate transistor SL1. In the pixel signal readout section RU1, a charge storage section CS1 is configured by a floating diffusion FD1 and a charge storage capacitor C1. The pixel signal reading units RU2 to RU3 also have a similar configuration.

なお、距離画像センサ32に配置される画素の構成は、図3に示したような、3個の画素信号読み出し部RUを備える構成に限定されるものではなく、複数の画素信号読み出し部RUを備えた構成の画素であればよい。つまり、距離画像センサ32に配置される画素に備える画素信号読み出し部RU(電荷蓄積部CS)の数は、2個であってもよいし、4個以上であってもよい。 Note that the configuration of the pixels arranged in the distance image sensor 32 is not limited to the configuration including three pixel signal readout units RU as shown in FIG. 3, but may include a plurality of pixel signal readout units RU. Any pixel with the above configuration may be used. That is, the number of pixel signal readout units RU (charge storage units CS) provided in pixels arranged in the distance image sensor 32 may be two, or may be four or more.

また、図3に示した構成の画素321では、電荷蓄積部CSを、フローティングディフュージョンFDと電荷蓄積容量Cとによって構成する一例を示した。しかし、電荷蓄積部CSは、少なくともフローティングディフュージョンFDによって構成されればよく、画素321が電荷蓄積容量Cを備えない構成であってもよい。 Further, in the pixel 321 having the configuration shown in FIG. 3, an example is shown in which the charge storage section CS is configured by a floating diffusion FD and a charge storage capacitor C. However, the charge storage section CS only needs to be configured by at least the floating diffusion FD, and the pixel 321 may not include the charge storage capacitor C.

また、図3に示した構成の画素321では、ドレインゲートトランジスタGDを備える構成の一例を示したが、光電変換素子PDに蓄積されている(残っている)電荷を破棄する必要がない場合には、ドレインゲートトランジスタGDを備えない構成であってもよい。 In addition, in the pixel 321 having the configuration shown in FIG. 3, an example of the configuration including the drain gate transistor GD is shown, but when there is no need to discard the charge accumulated (remaining) in the photoelectric conversion element PD, may be configured without the drain-gate transistor GD.

光電変換素子PDは、入射した光を光電変換して電荷を発生させ、発生させた電荷を蓄積する埋め込み型のフォトダイオードである。光電変換素子PDの構造は任意であってよい。光電変換素子PDは、例えば、P型半導体とN型半導体とを接合した構造のPNフォトダイオードであってもよいし、P型半導体とN型半導体との間にI型半導体を挟んだ構造のPINフォトダイオードであってもよい。また、光電変換素子PDは、フォトダイオードに限定されるものではなく、例えば、フォトゲート方式の光電変換素子であってもよい。 The photoelectric conversion element PD is an embedded photodiode that photoelectrically converts incident light to generate charges and stores the generated charges. The structure of the photoelectric conversion element PD may be arbitrary. The photoelectric conversion element PD may be, for example, a PN photodiode having a structure in which a P-type semiconductor and an N-type semiconductor are joined, or a PN photodiode having a structure in which an I-type semiconductor is sandwiched between a P-type semiconductor and an N-type semiconductor. It may also be a PIN photodiode. Further, the photoelectric conversion element PD is not limited to a photodiode, and may be a photogate type photoelectric conversion element, for example.

画素321では、光パルスPOを照射する照射タイミングに同期させた蓄積タイミングにおいて入射した光を、光電変換素子PDが電荷に変換し、変換した電荷を4個の電荷蓄積部CSのそれぞれに振り分けて蓄積させる。また、蓄積タイミング以外のタイミングで画素321に入射した光については、光電変換素子PDが変換した電荷をドレインゲートトランジスタGDから排出して、電荷蓄積部CSに蓄積させないようにする。 In the pixel 321, the photoelectric conversion element PD converts the incident light at the accumulation timing synchronized with the irradiation timing of the light pulse PO into electric charge, and distributes the converted electric charge to each of the four charge storage parts CS. Let it accumulate. Furthermore, regarding light incident on the pixel 321 at a timing other than the accumulation timing, the charges converted by the photoelectric conversion element PD are discharged from the drain gate transistor GD to prevent them from being accumulated in the charge accumulation section CS.

このようにして蓄積タイミングにおける電荷の蓄積と、蓄積タイミング以外のタイミングにおける電荷の破棄とが、1フレームに渡って繰り返し行われた後、読出し期間が設けられる。読み出し期間では、水平走査回路324により、電荷蓄積部CSのそれぞれに蓄積された、1フレーム分の電荷量に相当する電気信号が、距離演算部42に出力される。 In this way, after the accumulation of charges at the accumulation timing and the discarding of charges at timings other than the accumulation timing are repeatedly performed over one frame, a readout period is provided. During the read period, the horizontal scanning circuit 324 outputs to the distance calculation section 42 an electrical signal corresponding to the amount of charge for one frame, which is accumulated in each of the charge storage sections CS.

このようにして、1フレームにわたり画素321を駆動させることにより、反射光RLに相当する電荷量が、反射光RLが距離画像撮像装置1に入射されるまでの遅延時間Tdに応じた比率で、画素321が備える4つの電荷蓄積部CSうちの2つの電荷蓄積部CSに振り分けて蓄積される。距離演算部42は、このような性質を利用して、以下の式(1)により、遅延時間Tdを算出する。なお、式(1)では、電荷蓄積部CS1及びCS2に蓄積される電荷量のうちの外光成分に相当する電荷量が電荷蓄積部CS3に蓄積された電荷量と同量であることを前提とする。 In this way, by driving the pixel 321 over one frame, the amount of charge corresponding to the reflected light RL is adjusted at a ratio corresponding to the delay time Td until the reflected light RL enters the distance image capturing device 1. The charges are distributed and stored in two of the four charge storage units CS included in the pixel 321. The distance calculation unit 42 uses this property to calculate the delay time Td using the following equation (1). Note that in formula (1), it is assumed that the amount of charge corresponding to the external light component out of the amount of charge accumulated in the charge storage units CS1 and CS2 is the same amount as the amount of charge accumulated in the charge accumulation unit CS3. shall be.

Td=To×(Q2-Q3)/(Q1+Q2-2×Q3) … 式(1)
但し、Toは光パルスPOが照射された期間
Q1は電荷蓄積部CS1に蓄積された電荷量
Q2は電荷蓄積部CS2に蓄積された電荷量
Q3は電荷蓄積部CS3に蓄積された電荷量
Td=To×(Q2-Q3)/(Q1+Q2-2×Q3)...Equation (1)
However, To is the period during which the optical pulse PO was irradiated, Q1 is the amount of charge accumulated in the charge storage section CS1, Q2 is the amount of charge accumulated in the charge accumulation section CS2, and Q3 is the amount of charge accumulated in the charge accumulation section CS3.

距離演算部42は、式(1)で求めた遅延時間Tdに、光速(速度)を乗算させることにより、被写体Sまでの往復の距離を算出する。そして、距離演算部42は、上記で算出した往復の距離を1/2とすることにより、被写体Sまでの距離を求める。 The distance calculation unit 42 calculates the round-trip distance to the subject S by multiplying the delay time Td obtained by equation (1) by the speed of light (velocity). Then, the distance calculation unit 42 calculates the distance to the subject S by halving the round trip distance calculated above.

次に、図4を用いて、実施形態のマルチパスについて説明する。図4は、実施形態のマルチパスについて説明する図である。距離画像撮像装置1では、Lider(Light Detection and Ranging)などと比較して照射範囲の広い光源を使用する。このため、ある程度の範囲を有する空間を一度に測定できるメリットを有する一方で、マルチパスが発生し易いというデメリットを有している。図4の例では、距離画像撮像装置1が測定空間Eに光パルスPOを照射し、直接波W1と、間接波W2との複数の反射波(マルチパス)を受光する様子が模式的に示されている。以下の説明では、マルチパスが2つの反射波により構成される場合を例示して説明する。しかしながらこれに限定されることはなく、マルチパスが3つ以上の反射波により構成されていてもよい。マルチパスが3つ以上の反射波により構成されている場合にも、以下に説明する方法を適用することが可能である。 Next, the multipath of the embodiment will be explained using FIG. 4. FIG. 4 is a diagram illustrating multipath according to the embodiment. The distance image capturing device 1 uses a light source with a wider irradiation range than a Lider (Light Detection and Ranging) or the like. For this reason, while it has the advantage of being able to measure a certain range of space at once, it has the disadvantage of being susceptible to multipath. The example in FIG. 4 schematically shows how the distance image capturing device 1 irradiates the measurement space E with a light pulse PO and receives a plurality of reflected waves (multipaths) including a direct wave W1 and an indirect wave W2. has been done. In the following explanation, a case where a multipath is constituted by two reflected waves will be exemplified and explained. However, the present invention is not limited to this, and the multipath may be composed of three or more reflected waves. The method described below can also be applied when a multipath is composed of three or more reflected waves.

マルチパスを受光した場合、距離画像撮像装置1に受光される反射光の形状(時系列変化)はシングルパスのみを受光した場合とは異なるものとなる。 When multi-pass light is received, the shape (time-series change) of the reflected light received by distance image imaging device 1 is different from that when only single pass light is received.

例えば、シングルパスの場合、距離画像撮像装置1には、光パルスと同じ形状の反射光(直接波W1)が、遅延時間Td遅れて受光される。これに対し、マルチパスの場合、直接波に加え、さらに光パルスと同じ形状の反射光(間接波W2)が遅延時間Td+α遅れて受光される。ここでのαは、直接波W1に対して間接波W2が遅延する時間である。すなわち、マルチパスの場合、距離画像撮像装置1には、光パルスと同じ形状の光が複数、互いに時間差を有しながら加算された状態の反射光が受光される。 For example, in the case of a single pass, reflected light (direct wave W1) having the same shape as the optical pulse is received by the distance image imaging device 1 after a delay time Td. On the other hand, in the case of multipath, in addition to the direct wave, reflected light (indirect wave W2) having the same shape as the optical pulse is received with a delay of Td+α. α here is the time that the indirect wave W2 is delayed with respect to the direct wave W1. That is, in the case of multi-pass, the distance image imaging device 1 receives reflected light in which a plurality of lights having the same shape as the light pulse are added together with a time difference between them.

つまり、マルチパスとシングルパスの場合とでは、異なる形状(時系列変化)の反射光が受光される。上述した式(1)は、遅延時間が、光パルスが光源と物体との間を直接往復するのに要した時間であることを前提とした数式である。すなわち、式(1)では距離画像撮像装置1がシングルパスを受光することを前提としている。このため、距離画像撮像装置1がマルチパスを受光したにもかかわらず、式(1)を用いて距離を算出してしまうと、算出された距離は、実在する被写体OBの位置と対応しない距離となってしまう。このため、算出した距離(測定距離)と実際の距離との差異が乖離してしまい、誤差が発生する要因となる。 That is, in the case of multi-pass and single-pass, reflected light having different shapes (time-series changes) is received. Equation (1) above is a mathematical expression based on the premise that the delay time is the time required for the optical pulse to directly travel back and forth between the light source and the object. That is, equation (1) assumes that the distance image capturing device 1 receives light in a single path. Therefore, if the distance image capturing device 1 calculates the distance using equation (1) even though it receives multipath light, the calculated distance will be a distance that does not correspond to the position of the actual object OB. It becomes. For this reason, the difference between the calculated distance (measured distance) and the actual distance deviates, causing an error.

この対策として、本実施形態では、照射タイミングと蓄積タイミングとの時間差が互いに異なる複数の測定を行う。ここでの照射タイミングは光パルスPOを照射するタイミングである。蓄積タイミングは、電荷蓄積部CSのそれぞれに電荷を蓄積させるタイミングである。 As a countermeasure for this, in this embodiment, a plurality of measurements are performed with different time differences between the irradiation timing and the accumulation timing. The irradiation timing here is the timing at which the optical pulse PO is irradiated. The accumulation timing is the timing at which charges are accumulated in each charge accumulation section CS.

図5は、距離画像処理部4が、照射タイミングと蓄積タイミングとの時間差を変更させながら複数回の測定を行う方法について説明する図である。図5には、光パルスPOが照射されてから遅延時間Td経過後に反射光RLを受光する画素321のタイミングチャートが示されている。 FIG. 5 is a diagram illustrating a method in which the distance image processing unit 4 performs measurements multiple times while changing the time difference between the irradiation timing and the accumulation timing. FIG. 5 shows a timing chart of the pixel 321 that receives the reflected light RL after the delay time Td has elapsed after being irradiated with the optical pulse PO.

図5では、光パルスPOを照射するタイミングを「L」、反射光が受光されるタイミングを「R」、駆動信号TX1のタイミングを「G1」、駆動信号TX2のタイミングを「G2」、駆動信号TX3のタイミングを「G3」、駆動信号RSTDのタイミングを「GD」、の項目名でそれぞれ示している。なお、駆動信号TX1は、読み出しゲートトランジスタG1を駆動させる信号である。駆動信号TX2、TX3についても同様である。 In FIG. 5, the timing of irradiating the optical pulse PO is "L", the timing of receiving the reflected light is "R", the timing of the drive signal TX1 is "G1", the timing of the drive signal TX2 is "G2", and the timing of the drive signal TX1 is "G2". The timing of TX3 is shown as "G3", and the timing of drive signal RSTD is shown as "GD". Note that the drive signal TX1 is a signal that drives the read gate transistor G1. The same applies to drive signals TX2 and TX3.

図5に示すように、距離画像処理部4は、照射タイミングと蓄積タイミングとの時間差を変更させながら複数回(この図の例ではM回)の測定を行う。ここでMは2以上の任意の自然数である。 As shown in FIG. 5, the distance image processing unit 4 performs measurement multiple times (M times in the example shown) while changing the time difference between the irradiation timing and the accumulation timing. Here, M is an arbitrary natural number of 2 or more.

図5の照射時間Toは、光パルスPOを照射する時間幅である。蓄積時間Taは、電荷蓄積部CSのそれぞれに電荷を蓄積させる時間幅である。照射時間Toと蓄積時間Taは同等の時間幅である。同等の時間幅には、照射時間Toと蓄積時間Taが同じ時間幅である場合、及び、照射時間Toが蓄積時間Taよりも所定時間長い場合を含む。ここでの所定時間は、光パルスPOの波形なまり、電荷蓄積部CSに蓄積されるノイズ量などに応じて決定される。 The irradiation time To in FIG. 5 is the time width for irradiating the optical pulse PO. The accumulation time Ta is a time width for accumulating charges in each charge accumulation section CS. The irradiation time To and the accumulation time Ta have the same time width. The equivalent time width includes a case where the irradiation time To and the accumulation time Ta are the same time width, and a case where the irradiation time To is longer than the accumulation time Ta by a predetermined time. The predetermined time here is determined depending on the rounding of the waveform of the optical pulse PO, the amount of noise accumulated in the charge accumulation section CS, and the like.

まず、距離画像処理部4は、1回目の測定を行う。1回目の測定では、照射タイミングと蓄積タイミングとの時間差を0(ゼロ)とする。つまり、1回目の測定では、照射タイミングと蓄積タイミングを同じタイミングとする。距離画像処理部4は、単位蓄積時間UTにおいて、光パルスPOを照射させると同時に電荷蓄積部CS1をオン状態として、以降、電荷蓄積部CS2、CS3を順にオン状態として、電荷蓄積部CS1~CS3のそれぞれに電荷を蓄積させる蓄積処理を行う。このような蓄積処理を、所定の蓄積回数繰り返し行った後、距離画像処理部4は、読出時間RDにおいて電荷蓄積部CSのそれぞれに蓄積された電荷量に相当する信号値を読出す。 First, the distance image processing unit 4 performs the first measurement. In the first measurement, the time difference between the irradiation timing and the accumulation timing is set to 0 (zero). That is, in the first measurement, the irradiation timing and the accumulation timing are set to be the same timing. During the unit accumulation time UT, the distance image processing section 4 turns on the charge storage section CS1 at the same time as irradiating the optical pulse PO, and thereafter turns on the charge storage sections CS2 and CS3 in order, thereby turning on the charge storage sections CS1 to CS3. An accumulation process is performed to accumulate charge in each of the . After repeating such accumulation processing a predetermined number of accumulation times, the distance image processing section 4 reads out a signal value corresponding to the amount of charge accumulated in each of the charge accumulation sections CS during the readout time RD.

次に、距離画像処理部4は、2回目の測定を行う。2回目の測定では、照射タイミングと蓄積タイミングとの時間差を照射遅延時間Dtm2とする。つまり、2回目の測定では、照射タイミングを、蓄積タイミングに対して照射遅延時間Dtm2だけ遅らせる。2回目の測定で照射タイミングが照射遅延時間Dtm2遅れることから、反射光RLは、照射タイミングから(遅延時間Td+照射遅延時間Dtm2)遅れて画素321に受光される。距離画像処理部4は、このような照射遅延時間Dtm2を有する蓄積処理を、所定の蓄積回数繰り返し行った後、読出時間RDにおいて電荷蓄積部CSのそれぞれに蓄積された電荷量に相当する信号値を読出す。 Next, the distance image processing unit 4 performs a second measurement. In the second measurement, the time difference between the irradiation timing and the accumulation timing is set as the irradiation delay time Dtm2. That is, in the second measurement, the irradiation timing is delayed by the irradiation delay time Dtm2 with respect to the accumulation timing. Since the irradiation timing is delayed by the irradiation delay time Dtm2 in the second measurement, the reflected light RL is received by the pixel 321 with a delay of (delay time Td+irradiation delay time Dtm2) from the irradiation timing. After repeating the accumulation process having such an irradiation delay time Dtm2 a predetermined number of accumulation times, the distance image processing unit 4 calculates a signal value corresponding to the amount of charge accumulated in each of the charge accumulation units CS during the readout time RD. Read out.

次に、距離画像処理部4は、(M-1)回目の測定を行う。(M-1)回目の測定では、照射タイミングと蓄積タイミングとの時間差を照射遅延時間Dtm3とする。つまり、(M-1)回目の測定では、照射タイミングを、蓄積タイミングに対して照射遅延時間Dtm3だけ遅らせる。(M-1)回目の測定で照射タイミングが照射遅延時間Dtm3遅れることから、反射光RLは、照射タイミングから(遅延時間Td+照射遅延時間Dtm3)遅れて画素321に受光される。距離画像処理部4は、このような照射遅延時間Dtm3を有する蓄積処理を、所定の蓄積回数繰り返し行った後、読出時間RDにおいて電荷蓄積部CSのそれぞれに蓄積された電荷量に相当する信号値を読出す。 Next, the distance image processing unit 4 performs the (M-1)th measurement. In the (M-1)th measurement, the time difference between the irradiation timing and the accumulation timing is set as the irradiation delay time Dtm3. That is, in the (M-1)th measurement, the irradiation timing is delayed by the irradiation delay time Dtm3 with respect to the accumulation timing. Since the irradiation timing is delayed by the irradiation delay time Dtm3 in the (M-1)th measurement, the reflected light RL is received by the pixel 321 with a delay of (delay time Td+irradiation delay time Dtm3) from the irradiation timing. After repeating the accumulation process having such an irradiation delay time Dtm3 a predetermined number of accumulation times, the distance image processing unit 4 calculates a signal value corresponding to the amount of charge accumulated in each of the charge accumulation units CS during the readout time RD. Read out.

次に、距離画像処理部4は、M回目の測定を行う。M回目の測定では、照射タイミングと蓄積タイミングとの時間差を照射遅延時間Dtm4とする。つまり、M回目の測定では、照射タイミングを、蓄積タイミングに対して照射遅延時間Dtm4だけ遅らせる。M回目の測定で照射タイミングが照射遅延時間Dtm4遅れることから、反射光RLは、照射タイミングから(遅延時間Td+照射遅延時間Dtm4)遅れて画素321に受光される。距離画像処理部4は、このような照射遅延時間Dtm4を有する蓄積処理を、所定の蓄積回数繰り返し行った後、読出時間RDにおいて電荷蓄積部CSのそれぞれに蓄積された電荷量に相当する信号値を読出す。 Next, the distance image processing unit 4 performs the M-th measurement. In the M-th measurement, the time difference between the irradiation timing and the accumulation timing is set as an irradiation delay time Dtm4. That is, in the M-th measurement, the irradiation timing is delayed by the irradiation delay time Dtm4 with respect to the accumulation timing. Since the irradiation timing is delayed by the irradiation delay time Dtm4 in the M-th measurement, the reflected light RL is received by the pixel 321 with a delay of (delay time Td+irradiation delay time Dtm4) from the irradiation timing. After repeating the accumulation process having such an irradiation delay time Dtm4 a predetermined number of accumulation times, the distance image processing unit 4 calculates a signal value corresponding to the amount of charge accumulated in each of the charge accumulation units CS during the readout time RD. Read out.

本実施形態では、距離画像処理部4は、このように、照射タイミングと蓄積タイミングとの時間差を変更させながら複数回の測定を行い、測定を行う毎に電荷蓄積部CSのそれぞれに蓄積された電荷量に基づく特徴量(後述する複素変数CP)を算出する。距離画像処理部4が複素変数CPを算出する具体的な方法は後で詳しく説明する。 In this embodiment, the distance image processing unit 4 performs measurements multiple times while changing the time difference between the irradiation timing and the accumulation timing, and each time the measurement is performed, the distance image processing unit 4 A feature amount (complex variable CP to be described later) based on the amount of charge is calculated. A specific method by which the distance image processing unit 4 calculates the complex variable CP will be described in detail later.

距離画像処理部4は、算出した特徴量に応じて、画素321がシングルパスを受光したか、マルチパスを受光したかを判定する。 The distance image processing unit 4 determines whether the pixel 321 has received single-pass light or multi-pass light according to the calculated feature amount.

距離画像処理部4は、複数の測定のそれぞれに応じて算出した特徴量の傾向が、画素321がシングルパスを受光した場合における特徴量の傾向に類似する場合、画素321がシングルパスを受光したと判定する。例えば、距離画像処理部4は、画素321がシングルパスを受光した場合における、照射タイミングと蓄積タイミングとの時間差を特徴量と対応づけた情報を、データ(後述するルックアップテーブルLUT)として予め記憶させておく。ルックアップテーブルLUTの具体的な内容は後で詳しく説明する。 If the tendency of the feature amount calculated according to each of the plurality of measurements is similar to the tendency of the feature amount when the pixel 321 receives a single pass, the distance image processing unit 4 determines that the pixel 321 has received a single pass. It is determined that For example, the distance image processing unit 4 stores in advance information associating the time difference between the irradiation timing and the accumulation timing with the feature amount when the pixel 321 receives a single pass as data (a lookup table LUT described later). I'll let it happen. The specific contents of the lookup table LUT will be explained in detail later.

距離画像処理部4は、複数の測定のそれぞれについて算出した特徴量の傾向が、ルックアップテーブルLUTの傾向に類似する度合(後述するSD指標)を算出する。距離画像処理部4は、算出したSD指標を閾値と比較することにより、画素321がシングルパスを受光したか否かを判定する。距離画像処理部4がSD指標を算出する具体的な方法は後で詳しく説明する。 The distance image processing unit 4 calculates the degree to which the tendency of the feature amount calculated for each of the plurality of measurements is similar to the tendency of the lookup table LUT (SD index described later). The distance image processing unit 4 determines whether the pixel 321 has received single-pass light by comparing the calculated SD index with a threshold value. A specific method by which the distance image processing unit 4 calculates the SD index will be described in detail later.

これにより、距離画像処理部4は、特徴量の傾向がルックアップテーブルLUTの傾向に類似する場合に画素321がシングルパスを受光したと判定し、特徴量の傾向がルックアップテーブルLUTの傾向に類似しない場合に画素321がマルチパスを受光したと判定することができる。 Thereby, the distance image processing unit 4 determines that the pixel 321 has received a single pass when the trend of the feature amount is similar to the trend of the lookup table LUT, and the trend of the feature amount is similar to the trend of the lookup table LUT. If they are not similar, it can be determined that the pixel 321 has received multipath light.

距離画像処理部4は、画素321がシングルパスを受光したと判定した場合、単一の反射体を想定した関係式、例えば、式(1)を用いて距離を算出する。一方、距離画像処理部4は、画素321がマルチパスを受光したと判定した場合、式(1)を用いず、別の手段で距離を算出する。これにより、距離画像処理部4は、シングルパスを受光したか否かに応じて距離を算出することができ、距離に生じる誤差を低減させることが可能となる。 When the distance image processing unit 4 determines that the pixel 321 has received single-pass light, the distance image processing unit 4 calculates the distance using a relational expression assuming a single reflector, for example, Expression (1). On the other hand, when the distance image processing unit 4 determines that the pixel 321 has received multipath light, the distance image processing unit 4 calculates the distance by another means without using equation (1). Thereby, the distance image processing unit 4 can calculate the distance depending on whether or not a single path has been received, and it is possible to reduce errors occurring in the distance.

しかしながら、このような照射タイミングと蓄積タイミングとの時間差を変更させながら複数回の測定を行おうとすると、被写体OBが存在する位置によってはマルチパスか否かの判定が困難になる場合がある。図6(図6A、図6B)、及び図7(図7A、図7B)を用いて、このようなマルチパスか否かの判定が困難になる場合について説明する。図6及び図7は従来の距離画像撮像装置が被写体OBを測定するタイミングを模式的に示す図である。なお、図6及び図7では、画素321が4つの電荷蓄積部CSを備える構成が図示されている。画素321の構造によって、画素321が備える電荷蓄積部CSの数を変更した場合においても、光パルスPOの照射時間Toや、電荷蓄積部CSへの蓄積時間Taの長さに応じて、上記と同様に、照射タイミングと蓄積タイミングとの時間差を変更させながら複数回の測定を行おうとすると、被写体OBが存在する位置によってはマルチパスか否かの判定が困難になる場合がある。すなわち、画素321が備える電荷蓄積部CSの数に関わらず、マルチパスか否かの判定が困難となる場合がある。 However, if an attempt is made to perform multiple measurements while changing the time difference between the irradiation timing and the accumulation timing, it may be difficult to determine whether or not there is multipath depending on the position where the object OB is present. A case in which it is difficult to determine whether or not there is multipath will be described using FIG. 6 (FIGS. 6A and 6B) and FIG. 7 (FIGS. 7A and 7B). FIGS. 6 and 7 are diagrams schematically showing the timing at which a conventional distance image capturing device measures a subject OB. Note that FIGS. 6 and 7 illustrate a configuration in which the pixel 321 includes four charge storage units CS. Even when the number of charge storage sections CS included in the pixel 321 is changed depending on the structure of the pixel 321, the above may be changed depending on the irradiation time To of the optical pulse PO and the length of the accumulation time Ta in the charge storage section CS. Similarly, if an attempt is made to perform multiple measurements while changing the time difference between the irradiation timing and the accumulation timing, it may be difficult to determine whether or not there is multipath depending on the position where the object OB is present. That is, regardless of the number of charge storage units CS included in the pixel 321, it may be difficult to determine whether or not there is multipath.

なお、以下の説明では、撮像位置から比較的近い位置に存在する被写体OBを「近距離物体」と称する。また、撮像位置から比較的遠い位置に存在する被写体OBを「遠距離物体」と称する。 Note that in the following description, a subject OB that is located relatively close to the imaging position will be referred to as a "near object." Furthermore, a subject OB that is located relatively far from the imaging position is referred to as a "long distance object".

図6Aには、近距離物体を1回目に測定した例が示されている。図6Bには、近距離物体をK回目に測定した例が示されている。Kは、1以上かつM以下の任意の自然数である。 FIG. 6A shows an example in which a short-distance object is measured for the first time. FIG. 6B shows an example in which a close-range object is measured for the Kth time. K is any natural number greater than or equal to 1 and less than or equal to M.

図6の遅延時間Tdkは、光パルスPOを照射してから反射光RLが受光されるまでの遅延時間であり、図5の遅延時間Tdよりも短い時間である。すなわち、図6では、撮像位置から比較的近い位置に存在する近距離物体を測定する場合の例が示されている。また、図6Bの照射遅延時間Dtmkは、K回目の測定における蓄積タイミングに対する照射タイミングの時間差を示す。 The delay time Tdk in FIG. 6 is the delay time from irradiation of the optical pulse PO until the reflected light RL is received, and is shorter than the delay time Td in FIG. 5. That is, FIG. 6 shows an example of measuring a short-distance object that is located relatively close to the imaging position. Further, the irradiation delay time Dtmk in FIG. 6B indicates the time difference between the irradiation timing and the accumulation timing in the K-th measurement.

近距離物体の場合、反射光RLの光量は、遠距離物体を測定する場合と比較して大きくなる。また、シングルパスとマルチパスとの光路差が小さい場合、シングルパスとマルチパスは、ほぼ同時か、或いは僅かな時間差で画素321に受光される。このため、画素321がシングルパスを受光した場合における特徴量の傾向と、マルチパスを受光した場合における特徴量の傾向との差異が小さくなり、シングルパスか否かの判定が困難になる場合がある。 In the case of a short-distance object, the amount of reflected light RL is larger than in the case of measuring a long-distance object. Further, when the optical path difference between the single pass and the multipath is small, the single pass and the multipath are received by the pixel 321 almost simultaneously or with a slight time difference. Therefore, the difference between the tendency of the feature amount when the pixel 321 receives single-pass light and the tendency of the feature amount when the pixel 321 receives multi-pass light becomes small, and it may be difficult to determine whether the pixel 321 receives single-pass light or not. be.

図7Aには、遠距離物体を1回目に測定した例が示されている。図7Bには、遠距離物体をK回目に測定した例が示されている。図7の遅延時間Tdeは、光パルスPOを照射してから反射光RLが受光されるまでの遅延時間であり、図5の遅延時間Tdよりも長い時間である。すなわち、図7では、撮像位置から比較的遠い位置に存在する遠距離物体を測定する場合の例が示されている。 FIG. 7A shows an example in which a long-distance object is measured for the first time. FIG. 7B shows an example in which a long-distance object is measured for the Kth time. The delay time Tde in FIG. 7 is the delay time from irradiation of the optical pulse PO until the reflected light RL is received, and is longer than the delay time Td in FIG. 5. That is, FIG. 7 shows an example of measuring a long-distance object that is located relatively far from the imaging position.

遠距離物体の場合、遅延時間Tdeが大きいことから、K回目の測定において画素321が反射光RLを受光するタイミングが、蓄積タイミングから外れてしまい、反射光RLに相当する電荷が電荷蓄積部CSに蓄積されない可能性がある。この場合、シングルパスか否かを判定するための特徴量を算出することが困難となる。 In the case of a long-distance object, since the delay time Tde is large, the timing at which the pixel 321 receives the reflected light RL in the K-th measurement deviates from the accumulation timing, and the charge corresponding to the reflected light RL is transferred to the charge storage section CS. may not be accumulated. In this case, it becomes difficult to calculate the feature amount for determining whether or not there is a single pass.

このような被写体OBが存在する位置によってマルチパスか否かの判定が困難になるという課題に対し、第1実施形態では、照射時間及び蓄積時間の組合せを変えた複数回の測定をそれぞれ行うようにした。 In order to solve the problem that it is difficult to determine whether or not multipath is occurring depending on the position where the object OB exists, the first embodiment has a method of performing multiple measurements with different combinations of irradiation time and accumulation time. I made it.

第1実施形態において、距離画像処理部4は、第1測定と第2測定を行う。第1測定は、照射時間と蓄積時間の組合せが第1条件であり、基準となる照射タイミングと蓄積タイミングとの時間差が第1時間差であり、第1時間差を基準として照射タイミングと蓄積タイミングとの時間差が互いに異なる複数の測定である。第2測定は、照射時間と蓄積時間の組合せが、第1条件とは異なる第2条件であり、基準となる照射タイミングと蓄積タイミングとの時間差が第2時間差であり、第2時間差を基準として照射タイミングと蓄積タイミングとの時間差が互いに異なる複数の測定である。
なお、本実施形態では、第1時間差は0(ゼロ)に設定される。すなわち、本実施形態では、基準となる照射タイミングと蓄積タイミングとの時間差が0(ゼロ)であり、基準とする初回(1回目)の照射タイミングと蓄積タイミングが同じタイミングとなる。
また、本実施形態では、第2時間差は、第1時間差と同じ値に設定される。すなわち、本実施形態では、第2測定において、基準となる照射タイミングと蓄積タイミングとの時間差が0(ゼロ)であり、基準とする初回(1回目)の照射タイミングと蓄積タイミングが同じタイミングとなる。
しかしながらこれに限定されることはない。第1時間差は0(ゼロ)でなくともよく、任意に設定されてよい。
In the first embodiment, the distance image processing unit 4 performs a first measurement and a second measurement. In the first measurement, the first condition is the combination of the irradiation time and the accumulation time, the time difference between the reference irradiation timing and the accumulation timing is the first time difference, and the difference between the irradiation timing and the accumulation timing based on the first time difference is the first condition. These are multiple measurements with different time differences. In the second measurement, the combination of irradiation time and accumulation time is a second condition different from the first condition, the time difference between the reference irradiation timing and the accumulation timing is the second time difference, and the second time difference is used as the reference. These are a plurality of measurements in which the time difference between the irradiation timing and the accumulation timing is different from each other.
Note that in this embodiment, the first time difference is set to 0 (zero). That is, in this embodiment, the time difference between the reference irradiation timing and the accumulation timing is 0 (zero), and the reference initial (first) irradiation timing and accumulation timing are the same timing.
Furthermore, in this embodiment, the second time difference is set to the same value as the first time difference. That is, in the present embodiment, in the second measurement, the time difference between the reference irradiation timing and the accumulation timing is 0 (zero), and the reference initial (first) irradiation timing and accumulation timing are the same timing. .
However, it is not limited to this. The first time difference does not have to be 0 (zero) and may be set arbitrarily.

例えば、距離画像処理部4は、基準となる照射時間と蓄積時間の組合せ、例えば、図5の照射時間Toと蓄積時間Taの組合せを第1条件とする。
近距離物体を測定する場合、距離画像処理部4は、第1条件よりも短い照射時間と蓄積時間の組合せ、例えば、後述する図8の照射時間Tokと蓄積時間Takの組合せを第2条件とする。
遠距離物体を測定する場合、距離画像処理部4は、第1条件よりも長い照射時間と蓄積時間の組合せ、例えば、後述する図9の照射時間Toeと蓄積時間Taeの組合せを第2条件とする。
For example, the distance image processing unit 4 sets a reference combination of irradiation time and accumulation time, for example, the combination of irradiation time To and accumulation time Ta in FIG. 5, as the first condition.
When measuring a short-distance object, the distance image processing unit 4 sets a combination of an irradiation time and an accumulation time shorter than the first condition, for example, a combination of an irradiation time Tok and an accumulation time Tak in FIG. 8, which will be described later, as a second condition. do.
When measuring a long-distance object, the distance image processing unit 4 sets a combination of an irradiation time and an accumulation time longer than the first condition, for example, a combination of an irradiation time Toe and an accumulation time Tae in FIG. 9, which will be described later, as a second condition. do.

また、距離画像処理部4は、第1条件に対応するルックアップテーブルである第1ルックアップテーブルLUT、及び、第2条件に対応するルックアップテーブルである第2ルックアップテーブルLUTを予め記憶しておく。 Further, the distance image processing unit 4 stores in advance a first lookup table LUT, which is a lookup table corresponding to the first condition, and a second lookup table LUT, which is a lookup table corresponding to the second condition. I'll keep it.

距離画像処理部4は、第1測定において、測定毎に、電荷蓄積部CSに蓄積された電荷量に基づく特徴量を算出する。第1測定における複数回の測定を行った後、距離画像処理部4は、測定毎に算出した特徴量の傾向と第1ルックアップテーブルLUTの傾向との類似度合いとして、第1SD指標を算出する。 In the first measurement, the distance image processing unit 4 calculates a feature quantity based on the amount of charge accumulated in the charge accumulation unit CS for each measurement. After performing multiple measurements in the first measurement, the distance image processing unit 4 calculates a first SD index as the degree of similarity between the tendency of the feature amount calculated for each measurement and the tendency of the first lookup table LUT. .

距離画像処理部4は、第2測定において、測定毎に、電荷蓄積部CSに蓄積された電荷量に基づく特徴量を算出する。第2測定における複数回の測定を行った後、距離画像処理部4は、算出した特徴量の傾向と第2ルックアップテーブルLUTの傾向との類似度合いとして、第2SD指標を算出する。 In the second measurement, the distance image processing unit 4 calculates a feature quantity based on the amount of charge accumulated in the charge accumulation unit CS for each measurement. After performing a plurality of measurements in the second measurement, the distance image processing unit 4 calculates a second SD index as the degree of similarity between the tendency of the calculated feature amount and the tendency of the second lookup table LUT.

距離画像処理部4は、第1SD指標、及び第2SD指標を用いて、被写体OBまでの距離を算出する。 The distance image processing unit 4 calculates the distance to the object OB using the first SD index and the second SD index.

例えば、距離画像処理部4は、第1SD指標と閾値とを比較し、第1SD指標が、画素321がシングルパスを受光したことを示す場合、式(1)を用いて、距離を算出する。
一方、距離画像処理部4は、第1SD指標と閾値とを比較し、第1SD指標が、画素321がマルチパスを受光したことを示す場合、第2SD指標と閾値とを比較する。ここで、第1SD指標に対応する閾値と、第2SD指標に対応する閾値とは同じ値であってもよいし、異なる値であってもよい。距離画像処理部4は、第2SD指標が、画素321がシングルパスを受光したことを示す場合、式(1)を用いて、距離を算出する。距離画像処理部4は、第2SD指標が、画素321がマルチパスを受光したことを示す場合、式(1)を用いることなく、別の手段、例えば、後述するような最小二乗法を用いて距離を算出する。
For example, the distance image processing unit 4 compares the first SD index with a threshold value, and when the first SD index indicates that the pixel 321 has received single-pass light, calculates the distance using equation (1).
On the other hand, the distance image processing unit 4 compares the first SD index and the threshold, and when the first SD index indicates that the pixel 321 has received multipath light, the distance image processing unit 4 compares the second SD index and the threshold. Here, the threshold value corresponding to the first SD index and the threshold value corresponding to the second SD index may be the same value or may be different values. When the second SD index indicates that the pixel 321 has received single-pass light, the distance image processing unit 4 calculates the distance using equation (1). When the second SD index indicates that the pixel 321 has received multipath light, the distance image processing unit 4 uses another means, for example, the least squares method as described below, without using equation (1). Calculate distance.

ここで、図8(図8A、図8B)、及び図9(図9A、図9B)を用いて、第1実施形態において近距離物体及び遠距離物体を測定する方法について説明する。図8及び図9は第1実施形態の距離画像撮像装置1が被写体OBを測定するタイミングを模式的に示す図である。 Here, a method for measuring a short-distance object and a long-distance object in the first embodiment will be described using FIGS. 8 (FIGS. 8A and 8B) and FIG. 9 (FIGS. 9A and 9B). 8 and 9 are diagrams schematically showing the timing at which the distance image imaging device 1 of the first embodiment measures the subject OB.

図8Aには、第2測定において近距離物体を1回目に測定した例が示されている。図8Bには、第2測定において近距離物体をK回目に測定した例が示されている。 FIG. 8A shows an example in which a short distance object is measured for the first time in the second measurement. FIG. 8B shows an example in which a close-range object is measured for the Kth time in the second measurement.

図8の照射時間Tokは、照射時間Toよりも短い時間幅である。蓄積時間Takは、蓄積時間Taよりも短い時間幅である。照射時間Tokと蓄積時間Takは同程度の時間幅である。 The irradiation time Tok in FIG. 8 has a shorter time width than the irradiation time To. The accumulation time Tak has a shorter time width than the accumulation time Ta. The irradiation time Tok and the accumulation time Tak have approximately the same time width.

第2測定において照射時間と蓄積時間を短く設定することにより、測定できる距離の範囲が狭まるが、近距離物体を測定することを前提としていることから、さほど問題とはならない。一方、照射時間と蓄積時間を短く設定することにより、測定の精度を向上させることが可能である。そして、照射時間と蓄積時間を短く設定することにより、複数の測定を行う際に、電荷蓄積部CSに蓄積される電荷量を照射時間と蓄積時間を短くしない場合と比較すると、シングルパスと異なるタイミングで受光するマルチパスを分離しやすくなり、画素321がシングルパスを受光した場合とマルチパスを受光した場合とにおいて、特徴量の傾向に差が出やすくなる。 By setting the irradiation time and accumulation time short in the second measurement, the measurable distance range is narrowed, but this does not pose much of a problem since it is assumed that a short distance object is to be measured. On the other hand, by setting the irradiation time and accumulation time short, it is possible to improve measurement accuracy. By setting the irradiation time and accumulation time short, when performing multiple measurements, the amount of charge accumulated in the charge storage section CS is different from that of a single pass when compared with the case where the irradiation time and accumulation time are not shortened. It becomes easier to separate multipaths that receive light at different timings, and a difference in the tendency of the feature amount tends to appear when the pixel 321 receives light from a single path and when it receives light from a multipath.

また、仮に、第1測定において反射光RLの光量が大きく、電荷蓄積部CSに蓄積された電荷量が電荷蓄積部CSの蓄積容量の上限を超えて電荷量が計測できなくなる飽和が発生した場合であっても、第2測定において照射時間と蓄積時間を短く設定することにより飽和し難くすることができる。 Also, if the amount of reflected light RL is large in the first measurement and the amount of charge accumulated in the charge storage section CS exceeds the upper limit of the storage capacity of the charge storage section CS, saturation occurs where the amount of charge cannot be measured. However, by setting the irradiation time and accumulation time short in the second measurement, saturation can be made difficult.

図9Aには、第2測定において遠距離物体を1回目に測定した例が示されている。図9Bには、第2測定において遠距離物体をK回目に測定した例が示されている。 FIG. 9A shows an example in which a long-distance object is measured for the first time in the second measurement. FIG. 9B shows an example in which a distant object is measured for the Kth time in the second measurement.

図9の照射時間Toeは、照射時間Toよりも長い時間幅である。蓄積時間Taeは、蓄積時間Taよりも長い時間幅である。照射時間Toeと蓄積時間Taeは同程度の時間幅である。 The irradiation time Toe in FIG. 9 has a longer time width than the irradiation time To. The accumulation time Tae has a longer time width than the accumulation time Ta. The irradiation time Toe and the accumulation time Tae have approximately the same time width.

第2測定において照射時間と蓄積時間を長く設定することにより、測定できる距離の範囲を広げることができ、照射タイミングを遅らせたK回目の測定においても、反射光RLに対応する電荷が電荷蓄積部CSに蓄積されるようにすることが可能である。したがって、第2測定における複数回の測定のそれぞれから特徴量を算出することができ、画素321がシングルパスを受光した場合とマルチパスを受光した場合とを判定することが可能となる。 By setting the irradiation time and accumulation time long in the second measurement, it is possible to widen the measurable distance range, and even in the K-th measurement in which the irradiation timing is delayed, the charge corresponding to the reflected light RL remains in the charge storage section. It is possible to store the information in the CS. Therefore, the feature amount can be calculated from each of the plurality of measurements in the second measurement, and it is possible to determine whether the pixel 321 receives single-pass light or multi-pass light.

さらに、第2測定において照射時間と蓄積時間を長く設定することにより、電荷蓄積部CSに蓄積される電荷量を増加させることができる。遠距離物体を測定する場合、近距離物体と比較して反射光RLの光量が小さい。このため、電荷蓄積部CSに蓄積される電荷量が小さく、ノイズの影響を受けやすくなり、測定誤差の要因となっていた。これに対し、第1実施形態では、電荷蓄積部CSに蓄積される電荷量を増加させることができ、ノイズの影響を低減させることが可能となる。 Furthermore, by setting the irradiation time and accumulation time to be long in the second measurement, it is possible to increase the amount of charge accumulated in the charge accumulation section CS. When measuring a long-distance object, the amount of reflected light RL is smaller than that of a short-distance object. For this reason, the amount of charge stored in the charge storage section CS is small, making it susceptible to noise and causing measurement errors. In contrast, in the first embodiment, it is possible to increase the amount of charge stored in the charge storage section CS, and it is possible to reduce the influence of noise.

このように、距離画像処理部4は、第1測定と第2測定を行い、第1測定及び第2測定のそれぞれにて蓄積された電荷量に基づく特徴量を抽出し、特徴量の傾向に基づいて被写体OBまでの距離を算出する。これにより、照射時間と蓄積時間の組合せを変更させた第2測定を行うことができ、電荷蓄積部CSに蓄積される電荷量を減少又は増加させることができる。したがって、蓄積回数を変更しなくとも、飽和を回避するオートエクスポージャ(自動露出)と測定可能な距離を広げるHDR(High Dynamic Range)を実現可能とすると共に、シングルパスとマルチパスとの判定をし易くして、測定精度を向上させることができる。 In this way, the distance image processing unit 4 performs the first measurement and the second measurement, extracts the feature amount based on the amount of charge accumulated in each of the first measurement and the second measurement, and determines the tendency of the feature amount. Based on this, the distance to the object OB is calculated. Thereby, it is possible to perform a second measurement with a different combination of irradiation time and accumulation time, and it is possible to decrease or increase the amount of charge accumulated in the charge accumulation section CS. Therefore, without changing the number of accumulations, it is possible to achieve auto-exposure (auto exposure) that avoids saturation and HDR (High Dynamic Range) that extends measurable distance, as well as to make the determination between single-pass and multi-pass. This makes it easier to measure and improve measurement accuracy.

ここで、距離画像処理部4が特徴量を算出する方法、ルックアップテーブルLUTの内容、及びSD指標を算出する方法について説明する。 Here, the method by which the distance image processing unit 4 calculates the feature amount, the contents of the lookup table LUT, and the method by which the SD index is calculated will be explained.

距離画像処理部4は、電荷蓄積部CSのそれぞれに蓄積された電荷量に基づいて、以下の式(2)に示す複素変数CPを算出する。複素変数CPは「特徴量」の一例である。 The distance image processing unit 4 calculates a complex variable CP shown in the following equation (2) based on the amount of charge accumulated in each of the charge accumulation units CS. The complex variable CP is an example of a "feature amount."

CP=(Q1-Q2)+j(Q2-Q3) … 式(2)
ただし、jは虚数単位
Q1は電荷蓄積部CS1に蓄積された電荷量
Q2は電荷蓄積部CS2に蓄積された電荷量
Q3は電荷蓄積部CS3に蓄積された電荷量
CP=(Q1-Q2)+j(Q2-Q3)...Equation (2)
However, j is an imaginary unit
Q1 is the amount of charge accumulated in charge storage section CS1
Q2 is the amount of charge accumulated in charge storage section CS2
Q3 is the amount of charge accumulated in charge storage section CS3

また、距離画像処理部4は、式(2)に示す複素変数CPを、式(3)を用いて位相(2πfτ)の関数GFとして表す。ここでの位相(2πfτ)は光パルスPOの照射タイミングに対する遅延時間τを、光パルスPOの周期(1/f=2To)に対する位相遅延で示すものである。式(3)では、距離Lにある被写体OBからの反射光のみ、すなわちシングルパスが受光されたことを前提とする。関数GFは「特徴量」の一例である。 Further, the distance image processing unit 4 expresses the complex variable CP shown in equation (2) as a function GF of phase (2πfτ A ) using equation (3). The phase (2πfτ A ) here indicates the delay time τ A with respect to the irradiation timing of the optical pulse PO as a phase delay with respect to the period (1/f=2To) of the optical pulse PO. Equation (3) assumes that only the reflected light from the object OB A at the distance LA, ie, a single path, is received. The function GF is an example of a "feature amount."

CP=D×GF(2πfτ) … 式(3)
ただし、Dは距離Lにある被写体OBからの反射光の強度(定数)
τは距離Lにある被写体OBまで光が往復するのに要する時間
τ=2L/c
cは光速
CP= DA ×GF( 2πfτA )...Equation (3)
However, DA is the intensity (constant) of the reflected light from the object OB A at distance LA
τ A is the time required for light to travel back and forth to object OB A at distance LA
τ A =2L A /c
c is the speed of light

式(3)において、位相0(ゼロ)~2πに対応する関数GFの値を求めることができれば、距離画像撮像装置1に受光され得る全てのシングルパスを規定することができる。そこで、距離画像処理部4は、式(3)に示す複素変数CPについて位相φの複素関数CP(φ)を定義し、式(4)のように表す。φは、式(3)における複素変数CPの位相を0(ゼロ)とした場合の位相変化量である。 In equation (3), if the value of the function GF corresponding to phases 0 (zero) to 2π can be determined, all single paths that can be received by the distance image capturing device 1 can be defined. Therefore, the distance image processing unit 4 defines a complex function CP(φ) of phase φ for the complex variable CP shown in Equation (3), and expresses it as shown in Equation (4). φ is the amount of phase change when the phase of the complex variable CP in equation (3) is set to 0 (zero).

CP(φ)=D×GF(2πfτ-φ) … 式(4)
ただし、Dは距離Lにある被写体OBからの反射光の強度
τは距離Lにある被写体OBまで光が往復するのに要する時間
τ=2L/c
cは光速
φは位相
CP (φ) = D A × GF (2πfτ A −φ) … Equation (4)
However, DA is the intensity of reflected light from the object OB A at distance LA
τ A is the time required for light to travel back and forth to object OB A at distance LA
τ A =2L A /c
c is the speed of light
φ is the phase

ここで複素関数CP(φ)のふるまい(位相の変化に伴う複素数の変化)について、図10、図11を用いて説明する。図10、図11は、実施形態の複素関数CP(φ)の例を示す図である。図10の横軸は位相x、縦軸は関数GF(x)の値である。図10において実線は複素関数CP(φ)の実部、点線は複素関数CP(φ)の虚部の値をそれぞれ示している。図11には、図10の関数GF(x)を複素平面に示した例が示されている。図11の横軸は実軸、縦軸は虚軸を示している。図10、及び図11の関数GF(x)に、信号の強度に相当する定数(D)を乗じた値が複素関数CP(φ)となる。 Here, the behavior of the complex function CP(φ) (change in complex number due to change in phase) will be explained using FIGS. 10 and 11. 10 and 11 are diagrams showing examples of the complex function CP(φ) of the embodiment. The horizontal axis in FIG. 10 is the phase x, and the vertical axis is the value of the function GF(x). In FIG. 10, the solid line indicates the real part of the complex function CP(φ), and the dotted line indicates the value of the imaginary part of the complex function CP(φ). FIG. 11 shows an example of the function GF(x) in FIG. 10 shown on a complex plane. In FIG. 11, the horizontal axis represents the real axis, and the vertical axis represents the imaginary axis. The value obtained by multiplying the function GF(x) in FIGS. 10 and 11 by a constant (D A ) corresponding to the signal strength becomes the complex function CP(φ).

複素関数CP(φ)の変化は、光パルスPOの形状(時系列変化)に応じて決定される。図10には、例えば、光パルスPOが矩形波である場合の複素関数CP(φ)において位相の変化に伴う軌跡が示されている。 The change in the complex function CP(φ) is determined according to the shape (time-series change) of the optical pulse PO. FIG. 10 shows, for example, a trajectory associated with a change in phase in the complex function CP(φ) when the optical pulse PO is a rectangular wave.

位相x=0(つまり、遅延時間Td=0)においては、電荷蓄積部CS1に反射光に対応する電荷の全てが蓄積され、電荷蓄積部CS2、CS3には反射光に対応する電荷が蓄積されない。このため、関数GF(x=0)の実部(Q1-Q2)が最大値maxとなり、虚部(Q2-Q3)が0(ゼロ)となる。maxは全反射光に対応する電荷量に相当する信号値である。位相x=π/2(つまり、遅延時間Td=照射時間To)においては、電荷蓄積部CS2に反射光に対応する電荷の全てが蓄積され、電荷蓄積部CS1、CS3には反射光に対応する電荷が蓄積されない。このため、関数GF(x=π/2)の実部(Q1-Q2)が最小値(-max)となり、虚部(Q2-Q3)が最大値maxとなる。位相x=π(つまり、遅延時間Td=照射時間To×2)においては、電荷蓄積部CS3に反射光に対応する電荷の全てが蓄積され、電荷蓄積部CS1、CS2には反射光に対応する電荷が蓄積されない。このため、関数GF(x=π)の実部(Q1-Q2)が0(ゼロ)となり、虚部(Q2-Q3)が最小値(-max)となる。 At phase x=0 (that is, delay time Td=0), all the charges corresponding to the reflected light are accumulated in the charge storage section CS1, and no charges corresponding to the reflected light are accumulated in the charge accumulation sections CS2 and CS3. . Therefore, the real part (Q1-Q2) of the function GF (x=0) becomes the maximum value max, and the imaginary part (Q2-Q3) becomes 0 (zero). max is a signal value corresponding to the amount of charge corresponding to total reflection light. At phase x = π/2 (that is, delay time Td = irradiation time To), all the charges corresponding to the reflected light are accumulated in the charge storage part CS2, and the charges corresponding to the reflected light are stored in the charge storage parts CS1 and CS3. No charge is accumulated. Therefore, the real part (Q1-Q2) of the function GF (x=π/2) becomes the minimum value (-max), and the imaginary part (Q2-Q3) becomes the maximum value max. At phase x = π (that is, delay time Td = irradiation time To x 2), all the charges corresponding to the reflected light are accumulated in the charge storage part CS3, and the charges corresponding to the reflected light are stored in the charge storage parts CS1 and CS2. No charge is accumulated. Therefore, the real part (Q1-Q2) of the function GF (x=π) becomes 0 (zero), and the imaginary part (Q2-Q3) becomes the minimum value (-max).

図11に示すように、複素平面においては、位相x=0で関数GF(x=0)は座標(max、0)、位相x=π/2で関数GF(x=π/2)は座標(-max、max)、位相x=πで関数GF(x=π)は座標(0、-max)となる。 As shown in Fig. 11, in the complex plane, when the phase x=0, the function GF (x=0) has the coordinate (max, 0), and when the phase x=π/2, the function GF (x=π/2) has the coordinate (-max, max), phase x=π, and function GF (x=π) has coordinates (0, -max).

距離画像処理部4は、図10、図11に示すような関数GF(x)のふるまい(位相の変化に伴う複素数の変化)の傾向に基づいて、画素321がシングルパスを受光したか、マルチパスを受光したかを判定する。距離画像処理部4は、測定にて算出した複素関数CP(φ)変化の傾向が、シングルパスにおける関数GF(x)の変化の傾向と一致する場合、画素321がシングルパスを受光したと判定する。一方、距離画像処理部4は、測定にて算出した複素関数CP(φ)変化の傾向が、シングルパスにおける関数GF(x)の変化の傾向と一致しない場合、画素321がマルチパスを受光したと判定する。 The distance image processing unit 4 determines whether the pixel 321 receives single-pass light or multi-pass light based on the tendency of the behavior of the function GF(x) (change in complex number due to change in phase) as shown in FIGS. 10 and 11. Determine whether a path has been received. The distance image processing unit 4 determines that the pixel 321 has received a single pass when the tendency of change in the complex function CP(φ) calculated by measurement matches the tendency of change in the function GF(x) in a single pass. do. On the other hand, if the tendency of the change in the complex function CP(φ) calculated by measurement does not match the tendency of change in the function GF(x) in a single pass, the distance image processing unit 4 determines that the pixel 321 has received multipath light. It is determined that

例えば、距離画像処理部4は、1回目の測定にて、複素関数CP(0)を算出する。距離画像処理部4は、2回目の測定に基づいて、複素関数CP(φ1)を算出する。位相φ1は、照射遅延時間Dtm2に相当する位相(2πf×Dtm2)である。fは光パルスPOの照射周波数(頻度)である。距離画像処理部4は、(M-1)回目の測定に基づいて、複素関数CP(φ2)を算出する。位相φ2は、照射遅延時間Dtm3に相当する位相(2πf×Dtm3)である。距離画像処理部4は、M回目の測定に基づいて、複素関数CP(φ3)を算出する。位相φ3は、照射遅延時間Dtm4に相当する位相(2πf×Dtm4)である。 For example, the distance image processing unit 4 calculates the complex function CP(0) in the first measurement. The distance image processing unit 4 calculates the complex function CP(φ1) based on the second measurement. The phase φ1 is a phase (2πf×Dtm2) corresponding to the irradiation delay time Dtm2. f is the irradiation frequency (frequency) of the optical pulse PO. The distance image processing unit 4 calculates the complex function CP(φ2) based on the (M-1)th measurement. The phase φ2 is a phase (2πf×Dtm3) corresponding to the irradiation delay time Dtm3. The distance image processing unit 4 calculates the complex function CP(φ3) based on the M-th measurement. The phase φ3 is a phase (2πf×Dtm4) corresponding to the irradiation delay time Dtm4.

ここで、図12~図15を用いて、距離画像処理部4が、シングルパスを受光したか、マルチパスを受光したかを判定する具体的な方法について説明する。図12~図15には、図11同様に、横軸が実軸、縦軸が虚軸の複素平面に示されている。 Here, a specific method for determining whether the distance image processing unit 4 receives single-pass light or multi-pass light will be described using FIGS. 12 to 15. Similar to FIG. 11, FIGS. 12 to 15 are shown on a complex plane in which the horizontal axis is the real axis and the vertical axis is the imaginary axis.

距離画像処理部4は、例えば、図12に示すように、複素平面においてルックアップテーブルLUTと、実測点P1~P3をプロットする。ルックアップテーブルLUTは、画素321がシングルパスを受光した場合における関数GF(x)とその位相xとを対応づけた情報である。ルックアップテーブルLUTは、例えば、予め測定され、記憶部(不図示)に記憶されている。実測点P1~P3は測定により算出された複素関数CP(φ)の値である。距離画像処理部4は、図12に示すように、ルックアップテーブルLUTの変化の傾向と、実測点P1~P3の変化の傾向が一致する場合に、測定において画素321がシングルパスを受光したと判定する。 For example, as shown in FIG. 12, the distance image processing unit 4 plots the lookup table LUT and the measured points P1 to P3 on a complex plane. The lookup table LUT is information that associates the function GF(x) with its phase x when the pixel 321 receives single-pass light. The lookup table LUT is, for example, measured in advance and stored in a storage unit (not shown). The actual measurement points P1 to P3 are the values of the complex function CP(φ) calculated by measurement. As shown in FIG. 12, the distance image processing unit 4 determines that the pixel 321 has received a single pass in the measurement when the change trend in the lookup table LUT matches the change trend at the actual measurement points P1 to P3. judge.

距離画像処理部4は、図13に示すように、複素平面においてルックアップテーブルLUTと、実測点P1#~P3#をプロットする。ルックアップテーブルLUTは、図12におけるルックアップテーブルLUTと同様である。実測点P1#~P3#は、図12とは異なる測定空間における測定により算出された複素関数CP(φ)の値である。距離画像処理部4は、図13に示すように、ルックアップテーブルLUTの変化の傾向と、実測点P1#~P3#の変化の傾向が一致しない場合に、測定において画素321がマルチパスを受光したと判定する。 As shown in FIG. 13, the distance image processing unit 4 plots the lookup table LUT and the actual measurement points P1# to P3# on a complex plane. The lookup table LUT is similar to the lookup table LUT in FIG. 12. Actual measurement points P1# to P3# are values of the complex function CP(φ) calculated by measurement in a measurement space different from that in FIG. As shown in FIG. 13, the distance image processing unit 4 determines whether the pixel 321 receives multipath light during measurement when the trend of change in the lookup table LUT and the trend of change at the actual measurement points P1# to P3# do not match. It is determined that the

ここで、距離画像処理部4が、ルックアップテーブルLUTの傾向と、実測点P1~P3の傾向とが一致するか否かを判定(一致判定)する。ここで、距離画像処理部4が、スケール調整、及びSD指標を用いて、一致判定を行う方法について説明する。 Here, the distance image processing unit 4 determines whether the trend of the lookup table LUT matches the trend of the actual measurement points P1 to P3 (match determination). Here, a method in which the distance image processing unit 4 performs a match determination using scale adjustment and an SD index will be described.

(スケール調整について)
ここで、距離画像処理部4は、必要に応じてスケール調整を行う。スケール調整とは、ルックアップテーブルLUTのスケール(複素数の絶対値)と、実測点Pのスケール(複素数の絶対値)とが同じ値となるように調整する処理である。式(4)に示すように、複素関数CP(φ)は、関数GF(x)に定数Dを乗算した値である。定数Dは、受光する反射光の光量に応じて決定される一定値である。すなわち、定数Dは、光パルスPOの照射時間、照射強度、及び1フレームあたりの振り分け回数などに応じて、測定毎に決定される値となる。このため、実測点Pは、ルックアップテーブルLUTの対応点と比較して、原点を基準として定数Dだけ拡大(或いは縮小)された座標となる。
(About scale adjustment)
Here, the distance image processing unit 4 performs scale adjustment as necessary. Scale adjustment is a process of adjusting the scale (absolute value of a complex number) of the lookup table LUT and the scale (absolute value of a complex number) of the actual measurement point P to be the same value. As shown in equation (4), the complex function CP(φ) is the value obtained by multiplying the function GF(x) by the constant DA . The constant DA is a constant value determined according to the amount of reflected light received. That is, the constant DA is a value determined for each measurement depending on the irradiation time, irradiation intensity, and number of distributions per frame of the optical pulse PO. Therefore, the actual measurement point P has coordinates that are expanded (or reduced) by a constant DA with the origin as a reference, compared to the corresponding point in the lookup table LUT.

このような場合、距離画像処理部4は、ルックアップテーブルLUTの変化の傾向と、実測点P1~P3の変化の傾向が一致するか判定し易くするために、スケール調整を行う。 In such a case, the distance image processing unit 4 performs scale adjustment to make it easier to determine whether the trend of change in the lookup table LUT matches the trend of change at the actual measurement points P1 to P3.

距離画像処理部4は、図14に示すように、実測点P1~P3のうちの特定の実測点P(例えば、実測点P1)を抽出する。距離画像処理部4は、抽出した実測点を、原点を基準として定数D倍した、スケール調整後の実測点Ps(例えば、実測点P1s)が、ルックアップテーブルLUT上の点となるようにスケール調整を行う。そして、距離画像処理部4は、残りの実測点P(例えば、実測点P2、P3)についても、同じ乗算値(定数D)を乗算した値を、スケール調整後の実測点Ps(例えば、実測点P2s、P3s)とする。 As shown in FIG. 14, the distance image processing unit 4 extracts a specific measured point P (for example, measured point P1) among the measured points P1 to P3. The distance image processing unit 4 scales the extracted actual measurement point so that the actual measurement point Ps after scale adjustment (for example, actual measurement point P1s), which is obtained by multiplying the extracted actual measurement point by a constant D with the origin as a reference, becomes a point on the lookup table LUT. Make adjustments. Then, the distance image processing unit 4 multiplies the remaining actual measurement points P (for example, actual measurement points P2, P3) by the same multiplication value (constant D) to the actual measurement point Ps after scale adjustment (for example, actual measurement points points P2s, P3s).

なお、距離画像処理部4は、スケール調整を行わなくとも特定の実測点P(例えば、実測点P1)がルックアップテーブルLUT上の点となる場合にはスケール調整は不要である。この場合、距離画像処理部4は、スケール調整を省略することができる。 Note that even if the distance image processing unit 4 does not perform scale adjustment, if the specific actual measurement point P (for example, actual measurement point P1) becomes a point on the lookup table LUT, the scale adjustment is not necessary. In this case, the distance image processing unit 4 can omit scale adjustment.

(SD指標を用いた一致判定について)
ここで、図15を用いて、SD指標を用いた一致判定について説明する。図15には複素平面が示されており、横軸が実軸、縦軸が虚軸を示している。図15には、画素321がシングルパスを受光した場合における関数GF(x)を示すルックアップテーブルLUT、及びルックアップテーブルLUT上の点G(x0)、G(x0+Δφ)、G(x0+2Δφ)が示されている。また、図15には、実測点として複素関数CP(0)、CP(1)、CP(2)が示されている。
(About matching determination using SD index)
Here, matching determination using the SD index will be explained using FIG. 15. FIG. 15 shows a complex plane, with the horizontal axis representing the real axis and the vertical axis representing the imaginary axis. FIG. 15 shows a lookup table LUT indicating the function GF(x) when the pixel 321 receives single-pass light, and points G(x0), G(x0+Δφ), and G(x0+2Δφ) on the lookup table LUT. It is shown. Further, in FIG. 15, complex functions CP(0), CP(1), and CP(2) are shown as actual measurement points.

距離画像処理部4は、まず、測定により得られた複素関数CP(n)と始点を一致させた関数GG(n)を作成(定義)する。nは測定番号を示す自然数である。例えば、複数の測定のうち1回目の測定においては(n=0)、複数の測定のうち2回目の測定においては(n=1)、…、NN回目の測定においては(n=NN-1)となる。 The distance image processing unit 4 first creates (defines) a function GG(n) whose starting point matches the complex function CP(n) obtained by measurement. n is a natural number indicating a measurement number. For example, in the first measurement among multiple measurements (n = 0), in the second measurement among multiple measurements (n = 1), ..., in the NNth measurement (n = NN-1). ).

関数GG(x)は、測定により得られた複素関数CP(n)の始点と一致するように関数GF(x)の位相をシフトさせた関数である。例えば、距離画像処理部4は、式(5)に示すように、1回目の測定により得られた複素関数CP(n=0)に相当する位相量(x)を初期位相とし、初期位相をシフトさせた関数GG(x)を作成する。式(5)におけるxは初期位相、nは測定番号、Δφは測定毎の位相シフト量を示す。 The function GG(x) is a function obtained by shifting the phase of the function GF(x) so as to match the starting point of the complex function CP(n) obtained by measurement. For example, as shown in equation (5), the distance image processing unit 4 sets the phase amount (x 0 ) corresponding to the complex function CP (n=0) obtained in the first measurement as the initial phase, and sets the initial phase to A function GG(x) is created by shifting . In equation (5), x 0 is the initial phase, n is the measurement number, and Δφ is the amount of phase shift for each measurement.

Figure 2024011621000002
Figure 2024011621000002

距離画像処理部4は、次に、式(6)に示すように、複素関数CP(n)と関数GG(x)と差分を示す関数SD(n)を作成(定義)する。式(6)におけるnは測定番号を示す。 Next, the distance image processing unit 4 creates (defines) a complex function CP(n), a function GG(x), and a function SD(n) indicating the difference, as shown in equation (6). n in formula (6) indicates a measurement number.

Figure 2024011621000003
Figure 2024011621000003

そして、距離画像処理部4は、式(7)に示すように、関数SD(n)を用いて、複素関数CP(n)と関数GG(x)とが類似する度合を示すSD指標を算出する。式(7)におけるnは測定番号、NNは測定回数を示す。なお、ここで定義したSD指標は、一例である。SD指標は、複素関数CP(n)と、関数GG(n)における複素平面上での解離度を、単一の実数に置換えたものであり、関数GF(x)の函数形などに応じて、函数形が調節可能であることは勿論である。SD指標は、少なくとも、複素関数CP(n)と、関数GG(n)における複素平面上での解離度を示す指標であればよく、任意に定義されてよい。 Then, the distance image processing unit 4 uses the function SD(n) to calculate an SD index indicating the degree of similarity between the complex function CP(n) and the function GG(x), as shown in equation (7). do. n in equation (7) is the measurement number, and NN indicates the number of measurements. Note that the SD index defined here is an example. The SD index replaces the degree of dissociation on the complex plane of the complex function CP(n) and the function GG(n) with a single real number. , the functional form is of course adjustable. The SD index may be arbitrarily defined as long as it is an index indicating at least the degree of dissociation on the complex plane between the complex function CP(n) and the function GG(n).

Figure 2024011621000004
Figure 2024011621000004

距離画像処理部4は、算出したSD指標を所定の閾値と比較する。距離画像処理部4は、SD指標が所定の閾値を超えない場合、画素321がシングルパスを受光したと判定する。一方、距離画像処理部4は、SD指標が所定の閾値を超える場合、画素321がマルチパスを受光したと判定する。 The distance image processing unit 4 compares the calculated SD index with a predetermined threshold value. The distance image processing unit 4 determines that the pixel 321 has received single-pass light if the SD index does not exceed a predetermined threshold. On the other hand, when the SD index exceeds a predetermined threshold value, the distance image processing unit 4 determines that the pixel 321 has received multipath light.

ここで、距離画像処理部4が、判定結果に応じて測定距離を算出する方法について説明する。ここでの判定結果とは、シングルパスを受光したか、マルチパスを受光したかを判定した結果である。 Here, a method for the distance image processing unit 4 to calculate the measured distance according to the determination result will be described. The determination result here is the result of determining whether single-path light or multi-path light was received.

シングルパスを受光した場合、距離画像処理部4は、式(8)を用いて測定距離を算出する。式(8)におけるnは測定番号、xは初期位相、nは測定番号、Δφは測定毎の位相シフト量を示す。なお、式(8)における内部距離は、画素321の構造などに応じて任意に設定されてよい。例えば、センサの受光面を距離の原点とするなどのセンサに対する距離の設定位置や、センサの光電変換等の性能に起因した補正距離である内部距離を特に考慮しない場合、内部距離=0とする。 When receiving single-pass light, the distance image processing unit 4 calculates the measured distance using equation (8). In equation (8), n indicates the measurement number, x0 indicates the initial phase, n indicates the measurement number, and Δφ indicates the phase shift amount for each measurement. Note that the internal distance in equation (8) may be arbitrarily set depending on the structure of the pixel 321 and the like. For example, if you do not take into account the setting position of the distance to the sensor, such as setting the light receiving surface of the sensor as the origin of the distance, or the internal distance, which is a correction distance due to the performance of the sensor's photoelectric conversion, etc., the internal distance is set to 0. .

Figure 2024011621000005
Figure 2024011621000005

或いは、距離画像処理部4は、画素321がシングルパスを受光したと判定した場合、式(1)に基づいて遅延時間Tdを算出し、算出した遅延時間Tdを用いて測定距離を算出するようにしてもよい。 Alternatively, when the distance image processing unit 4 determines that the pixel 321 has received a single path, the distance image processing unit 4 calculates the delay time Td based on equation (1), and calculates the measured distance using the calculated delay time Td. You may also do so.

マルチパスを受光した場合、距離画像処理部4は、式(9)に示すように、測定により得られた複素関数CPを、複数(ここでは2つ)の経路から到来した反射光の和として表す。式(9)におけるDは距離Lにある被写体OBからの反射光の強度である。xは距離Lにある被写体OBまで光が往復するのに要する位相である。nは測定番号である。Δφは測定毎の位相シフト量を示す。Dは距離Lにある被写体OBからの反射光の強度である。xは距離Lにある被写体OBまで光が往復するのに要する位相である。 When receiving multipath light, the distance image processing unit 4 calculates the complex function CP obtained by measurement as the sum of the reflected lights arriving from multiple (here, two) paths, as shown in equation (9). represent. DA in equation (9) is the intensity of the reflected light from the object OB A located at the distance LA. xA is the phase required for the light to travel back and forth to the object OB A located at the distance LA. n is the measurement number. Δφ indicates the amount of phase shift for each measurement. DB is the intensity of reflected light from the object OB B located at the distance LB. x B is the phase required for the light to travel back and forth to the object OB B located at the distance LB.

Figure 2024011621000006
Figure 2024011621000006

距離画像処理部4は、式(10)に示す差分Jを最小にする{位相x、x、及び強度D、D}の組合せを決定する。差分Jは式(9)における複素関数CP(n)と関数Gとの差分の絶対値の二乗和に相当する。距離画像処理部4は、例えば、最小二乗法などを適用することにより、{位相x、x、及び強度D、D}の組合せを決定する。 The distance image processing unit 4 determines a combination of {phases x A , x B and intensities D A , D B } that minimizes the difference J shown in equation (10). The difference J corresponds to the sum of squares of the absolute values of the differences between the complex function CP(n) and the function G in equation (9). The distance image processing unit 4 determines the combination of {phases x A , x B and intensities D A , D B } by applying the least squares method, for example.

Figure 2024011621000007
Figure 2024011621000007

なお、上記では、ルックアップテーブルLUTを用いて、シングルパスを受光したか、マルチパスを受光したかを判定する場合を例に説明した。しかしながらこれに限定されない。距離画像処理部4は、ルックアップテーブルLUTの代わりに、関数GF(x)を示す数式を用いてもよい。 Note that in the above description, a case has been described as an example in which a look-up table LUT is used to determine whether single-pass light or multi-pass light is received. However, it is not limited to this. The distance image processing unit 4 may use a formula representing the function GF(x) instead of the lookup table LUT.

関数GF(x)を示す数式とは、例えば、位相の範囲に応じて定義される数式である。図11の例であれば、位相xについて(0≦x≦2/π)の範囲において関数GF(x)は傾き(-1/2)、切片(max/2)の一次関数として定義される。また(2/π0<x≦π)の範囲において関数GF(x)は傾き(-2)、切片(-max)の一次関数として定義される。 The formula representing the function GF(x) is, for example, a formula defined according to the phase range. In the example of Fig. 11, the function GF(x) is defined as a linear function with a slope (-1/2) and an intercept (max/2) in the range (0≦x≦2/π) for the phase x. . Further, in the range (2/π0<x≦π), the function GF(x) is defined as a linear function with a slope (-2) and an intercept (-max).

また、ルックアップテーブルLUTは、シングルパスのみが受光される環境で行った実際の測定結果に基づいて作成されたものであってもよいし、シミュレーション等による算出結果に基づいて作成されたものであってもよい。 Further, the look-up table LUT may be created based on actual measurement results conducted in an environment where only a single pass is received, or may be created based on calculation results from a simulation or the like. There may be.

また、上記では、式(2)に示す複素変数CPを用いる場合を例示して説明したが、これに限定されることはない。複素変数CPは、少なくとも、反射光RLに応じた電荷量を蓄積する電荷蓄積部CSに蓄積された電荷量を用いて算出される変数であればよい。例えば、実部と虚部を入れ替えた複素変数CP2=(Q2-Q3)+j(Q1-Q2)であってもよいし、実部と虚部の組合せを変更した複素変数CP3=(Q1-Q3)+j(Q2-Q3)などであってもよい。 Moreover, although the case where the complex variable CP shown in Formula (2) is used has been described above as an example, the present invention is not limited to this. The complex variable CP may be a variable calculated using at least the amount of charge accumulated in the charge storage section CS that accumulates the amount of charge according to the reflected light RL. For example, the complex variable CP2=(Q2-Q3)+j(Q1-Q2) may be obtained by swapping the real and imaginary parts, or the complex variable CP3=(Q1-Q3) may be obtained by changing the combination of the real and imaginary parts. )+j(Q2-Q3), etc.

また、上記では、図5において、電荷蓄積部CSをオン状態とするタイミング(蓄積タイミング)を固定とし、光パルスPOを照射する照射タイミングを遅らせる場合を例示して説明したが、これに限定されることはない。複数の測定において、蓄積タイミングと照射タイミングが少なくとも相対的に変化すればよく、例えば、照射タイミングを固定し、蓄積タイミングを早めるようにしてもよいのは勿論である。また、上記では、関数SD(n)が式(6)で定義される場合を例に説明した。しかしながら、これに限定されることはない。関数SD(n)は、少なくとも、複素関数CP(n)と、関数GG(n)における複素平面上での差分を示す関数であればよく、任意に定義されてよい。 Further, in the above description, the timing of turning on the charge storage unit CS (accumulation timing) is fixed in FIG. 5, and the irradiation timing of irradiating the optical pulse PO is delayed. It never happens. In a plurality of measurements, it is only necessary that the accumulation timing and the irradiation timing change at least relatively. For example, it is of course possible to fix the irradiation timing and advance the accumulation timing. Furthermore, in the above description, the case where the function SD(n) is defined by equation (6) has been described as an example. However, it is not limited to this. The function SD(n) may be arbitrarily defined as long as it is a function indicating at least the difference between the complex function CP(n) and the function GG(n) on the complex plane.

ここで、図16を用いて実施形態の距離画像撮像装置1が行う処理の流れを説明する。図16は実施形態の距離画像撮像装置1が行う処理の流れを示すフローチャートである。 Here, the flow of processing performed by the distance image imaging device 1 of the embodiment will be described using FIG. 16. FIG. 16 is a flowchart showing the flow of processing performed by the distance image capturing device 1 of the embodiment.

(ステップS10)
距離画像処理部4は、仮測定を行う。仮測定は、第1測定及び第2測定とは別に行う測定であり、シングルパスか否かに関わらず、式(1)を用いて距離を算出する測定である。仮測定において、照射時間、照射タイミング、蓄積時間、及び蓄積タイミングのそれぞれは任意に設定されてよいが、例えば、図5の1回目の測定と同じ値に設定される。
(ステップS11)
距離画像処理部4は、仮測定により算出した距離に基づいて、第1条件及び第2条件を決定する。
例えば、距離画像処理部4は、仮測定により算出した距離に基づいて被写体OBが近距離物体であると判定した場合、第2条件における照射時間及び蓄積時間を、第1条件よりも短い時間となるようにする。距離画像処理部4は、仮測定により算出した距離に基づいて被写体OBが遠距離物体であると判定した場合、第2条件における照射時間及び蓄積時間を、第1条件よりも長い時間となるようにする。
また、距離画像処理部4は、仮測定により算出した距離に基づいて被写体OBが遠距離物体であると判定した場合、M回目の測定において、反射光RLに相当する電荷が電荷蓄積部CSに蓄積されるように、第1条件における照射時間及び蓄積時間を決定するようにしてもよい。
(ステップS12)
距離画像処理部4は、第1条件を設定する。第1条件は、例えば、予め設定された基準とする照射時間To及び蓄積時間Taである。或いは、ステップS11において、第1条件における照射時間及び蓄積時間が決定された場合、第1条件は、その決定された値となる。
(ステップS13)
距離画像処理部4は、第1測定を行い、各測定に対応する特徴量を算出する。距離画像処理部4は、測定を行う度に、その測定で得られた電荷蓄積部CSに蓄積された電荷量に対応する信号値を用いて、特徴量としての複素関数CP(n)を算出する。
(ステップS14)
距離画像処理部4は、第1SD指標を算出する。距離画像処理部4は、第1測定において算出した特徴量のそれぞれと第1ルックアップテーブルLUTと用いて、特徴量の警告と第1ルックアップテーブルLUTの傾向との類似度合いとしての第1SD指標を算出する。
(ステップS15)
距離画像処理部4は、第2条件を設定する。第2条件は、例えば、ステップS11において決定された照射時間及び蓄積時間である。
(ステップS16)
距離画像処理部4は、第2測定を行い、各測定に対応する特徴量を算出する。距離画像処理部4は、測定を行う度に、その測定で得られた電荷蓄積部CSに蓄積された電荷量に対応する信号値を用いて、特徴量としての複素関数CP(n)を算出する。
(ステップS17)
距離画像処理部4は、第2SD指標を算出する。距離画像処理部4は、第2測定において算出した特徴量のそれぞれと第2ルックアップテーブルLUTと用いて、特徴量の傾向と第2ルックアップテーブルLUTの傾向との類似度合いとしての第2SD指標を算出する。
(ステップS18)
距離画像処理部4は、第1SD指標及び第2SD指標に基づいて距離を算出する。例えば、距離画像処理部4は、第1SD指標と閾値とを比較し、第1SD指標が、画素321がシングルパスを受光したことを示す場合、式(1)を用いて、距離を算出する。一方、距離画像処理部4は、第1SD指標と閾値とを比較し、第1SD指標が、画素321がマルチパスを受光したことを示す場合、第2SD指標と閾値とを比較する。ここで、第1SD指標に対応する閾値と、第2SD指標に対応する閾値とは同じ値であってもよいし、異なる値であってもよい。距離画像処理部4は、第2SD指標が、画素321がシングルパスを受光したことを示す場合、式(1)を用いて、距離を算出する。距離画像処理部4は、第2SD指標が、画素321がマルチパスを受光したことを示す場合、式(1)を用いることなく、別の手段にて距離を算出する。
(Step S10)
The distance image processing unit 4 performs provisional measurements. The provisional measurement is a measurement that is performed separately from the first measurement and the second measurement, and is a measurement that calculates the distance using equation (1) regardless of whether it is a single pass or not. In the provisional measurement, each of the irradiation time, irradiation timing, accumulation time, and accumulation timing may be set arbitrarily, but is set to the same value as the first measurement in FIG. 5, for example.
(Step S11)
The distance image processing unit 4 determines the first condition and the second condition based on the distance calculated by the temporary measurement.
For example, when the distance image processing unit 4 determines that the subject OB is a short-distance object based on the distance calculated by provisional measurement, the distance image processing unit 4 sets the irradiation time and accumulation time under the second condition to be shorter than the first condition. I will make it happen. When the distance image processing unit 4 determines that the subject OB is a long-distance object based on the distance calculated by the temporary measurement, the distance image processing unit 4 sets the irradiation time and accumulation time under the second condition to be longer than the first condition. Make it.
Further, when the distance image processing unit 4 determines that the subject OB is a long-distance object based on the distance calculated by the temporary measurement, the charge corresponding to the reflected light RL is transferred to the charge storage unit CS in the M-th measurement. The irradiation time and accumulation time under the first condition may be determined so that the light is accumulated.
(Step S12)
The distance image processing unit 4 sets a first condition. The first condition is, for example, an irradiation time To and an accumulation time Ta that are set in advance as a reference. Alternatively, if the irradiation time and accumulation time under the first condition are determined in step S11, the first condition becomes the determined value.
(Step S13)
The distance image processing unit 4 performs first measurements and calculates feature amounts corresponding to each measurement. Each time the distance image processing unit 4 performs a measurement, the distance image processing unit 4 calculates a complex function CP(n) as a feature amount using the signal value corresponding to the amount of charge accumulated in the charge accumulation unit CS obtained by the measurement. do.
(Step S14)
The distance image processing unit 4 calculates a first SD index. The distance image processing unit 4 uses each of the feature quantities calculated in the first measurement and the first lookup table LUT to generate a first SD index as a degree of similarity between the warning of the feature quantity and the tendency of the first lookup table LUT. Calculate.
(Step S15)
The distance image processing unit 4 sets the second condition. The second condition is, for example, the irradiation time and accumulation time determined in step S11.
(Step S16)
The distance image processing unit 4 performs second measurements and calculates feature amounts corresponding to each measurement. Each time the distance image processing unit 4 performs a measurement, the distance image processing unit 4 calculates a complex function CP(n) as a feature amount using the signal value corresponding to the amount of charge accumulated in the charge accumulation unit CS obtained by the measurement. do.
(Step S17)
The distance image processing unit 4 calculates a second SD index. The distance image processing unit 4 uses each of the feature quantities calculated in the second measurement and the second lookup table LUT to determine a second SD index as a degree of similarity between the tendency of the feature quantity and the tendency of the second lookup table LUT. Calculate.
(Step S18)
The distance image processing unit 4 calculates the distance based on the first SD index and the second SD index. For example, the distance image processing unit 4 compares the first SD index with a threshold value, and when the first SD index indicates that the pixel 321 has received single-pass light, calculates the distance using equation (1). On the other hand, the distance image processing unit 4 compares the first SD index and the threshold, and when the first SD index indicates that the pixel 321 has received multipath light, the distance image processing unit 4 compares the second SD index and the threshold. Here, the threshold value corresponding to the first SD index and the threshold value corresponding to the second SD index may be the same value or may be different values. When the second SD index indicates that the pixel 321 has received single-pass light, the distance image processing unit 4 calculates the distance using equation (1). When the second SD index indicates that the pixel 321 has received multipath light, the distance image processing unit 4 calculates the distance by another means without using equation (1).

以上説明したように、第1実施形態の距離画像撮像装置1では、第1測定及び第2測定を行い、第1測定及び第2測定のそれぞれにて蓄積された電荷量に基づく特徴量を抽出する。距離画像処理部4は、第1測定では、照射時間及び蓄積時間の組合せが第1条件であり、基準となる照射タイミングと蓄積タイミングとの時間差が第1時間差であり、第1時間差を基準として照射タイミングと蓄積タイミングとの時間差が互いに異なる複数の測定を行う。距離画像処理部4は、第2測定では、照射時間及び蓄積時間の組合せが第2条件であり、基準となる照射タイミングと蓄積タイミングとの時間差が第2時間差であり、第2時間差を基準として照射タイミングと蓄積タイミングとの時間差が互いに異なる複数の測定を行う。
距離画像処理部4は、第2測定では、第2条件又は第2時間差の何れか一方が、第1測定とは異なる測定を行う。例えば、距離画像処理部4は、第2測定では、第2条件が第1測定と異なり、第2時間差が第1測定と同じとする測定を行う。
距離画像処理部4は、抽出した特徴量の傾向に基づいて被写体OBまでの距離を算出する。これにより、第1実施形態の距離画像撮像装置1では、第1条件、及び、照射時間及び蓄積時間の組合せを変更した第2条件それぞれについて複数回の測定を行うことができ、照射時間及び蓄積時間の組合せが異なる条件下におけるマルチパスの傾向を探ることが可能となる。したがって、第1測定において反射光RLがマルチパスの特徴を有するか判定が困難となり精度よく距離を算出できない場合であっても、第2測定において照射時間及び蓄積時間の組合せを変えることにより判定を行うことが可能となり精度よく距離を算出することが可能となる。したがって、マルチパスの傾向に応じた対応を行うことができる。
As explained above, the distance image imaging device 1 of the first embodiment performs the first measurement and the second measurement, and extracts the feature amount based on the amount of charge accumulated in each of the first measurement and the second measurement. do. In the first measurement, the distance image processing unit 4 determines that in the first measurement, the combination of the irradiation time and the accumulation time is the first condition, the time difference between the reference irradiation timing and the accumulation timing is the first time difference, and the first time difference is used as the reference. A plurality of measurements with different time differences between irradiation timing and accumulation timing are performed. In the second measurement, the distance image processing unit 4 determines that in the second measurement, the combination of the irradiation time and the accumulation time is the second condition, the time difference between the reference irradiation timing and the accumulation timing is the second time difference, and the second time difference is used as the reference. A plurality of measurements with different time differences between irradiation timing and accumulation timing are performed.
In the second measurement, the distance image processing unit 4 performs a measurement in which either the second condition or the second time difference is different from the first measurement. For example, in the second measurement, the distance image processing unit 4 performs a measurement in which the second condition is different from the first measurement and the second time difference is the same as the first measurement.
The distance image processing unit 4 calculates the distance to the object OB based on the tendency of the extracted feature amount. As a result, the distance image capturing device 1 of the first embodiment can perform measurements multiple times under each of the first condition and the second condition in which the combination of the irradiation time and accumulation time is changed. It becomes possible to explore multipath trends under conditions with different time combinations. Therefore, even if it is difficult to determine whether the reflected light RL has multipath characteristics in the first measurement and the distance cannot be calculated accurately, the determination can be made by changing the combination of irradiation time and accumulation time in the second measurement. This makes it possible to calculate distances with high accuracy. Therefore, it is possible to take measures according to the tendency of multipath.

また、第1実施形態の距離画像撮像装置1では、反射光RLがシングルパスにて画素321に受光されたか、反射光RLがマルチパスにて画素321に受光されたかを判定するマルチパス判定を行う。距離画像処理部4は、マルチパス判定の結果に応じて被写体OBまでの距離を算出する。これにより、第1実施形態の距離画像撮像装置1では、マルチパス判定の結果に応じて精度よく距離を算出することが可能となる。 Further, the distance image capturing device 1 of the first embodiment performs a multi-pass determination to determine whether the reflected light RL is received by the pixel 321 in a single pass or the reflected light RL is received by the pixel 321 in a multi-pass. conduct. The distance image processing unit 4 calculates the distance to the object OB according to the result of the multipath determination. Thereby, in the distance image imaging device 1 of the first embodiment, it becomes possible to accurately calculate the distance according to the result of the multipath determination.

また、第1実施形態の距離画像撮像装置1では、距離画像処理部4は、照射時間と蓄積時間の組み合わせ毎に、ルックアップテーブルLUTを参照する。ルックアップテーブルLUTには、反射光RLがシングルパスで画素321に受光された場合における、照射タイミングと蓄積タイミングとの時間差と特徴量とが対応付けられている。距離画像処理部4は、ルックアップテーブルLUTの傾向と、特徴量の傾向との類似度合いに基づいて、マルチパス判定を行う。これにより、第1実施形態の距離画像撮像装置1では、ルックアップテーブルLUTを用いて容易にマルチパス判定を行うことが可能となる。 Further, in the distance image imaging device 1 of the first embodiment, the distance image processing unit 4 refers to the lookup table LUT for each combination of irradiation time and accumulation time. The lookup table LUT associates the time difference between the irradiation timing and the accumulation timing with the feature amount when the reflected light RL is received by the pixel 321 in a single pass. The distance image processing unit 4 performs multipath determination based on the degree of similarity between the tendency of the lookup table LUT and the tendency of the feature amount. Thereby, in the distance image imaging device 1 of the first embodiment, it becomes possible to easily perform multipath determination using the lookup table LUT.

また、第1実施形態の距離画像撮像装置1では、ルックアップテーブルLUTは、光パルスPOの形状、及び、照射時間と蓄積時間の組合せ毎に複数作成される。距離画像処理部4は、複数のルックアップテーブルのうち、第1測定及び第2測定の測定条件のそれぞれに対応するルックアップテーブルを用いて、マルチパス判定を行う。これにより、第1実施形態の距離画像撮像装置1では、測定条件に応じて適切なルックアップテーブルLUT選択することができ、精度よく判定することができる。 Further, in the distance image imaging device 1 of the first embodiment, a plurality of lookup tables LUT are created for each combination of the shape of the optical pulse PO and the irradiation time and accumulation time. The distance image processing unit 4 performs multipath determination using lookup tables corresponding to the measurement conditions of the first measurement and the second measurement among the plurality of lookup tables. Thereby, in the distance image imaging device 1 of the first embodiment, it is possible to select an appropriate lookup table LUT according to the measurement conditions, and it is possible to perform accurate determination.

また、第1実施形態の距離画像撮像装置1では、特徴量は、電荷蓄積部CSのそれぞれに蓄積された電荷量のうち、少なくとも反射光RLに対応する電荷量を用いて算出される値である。これにより、第1実施形態の距離画像撮像装置1では、反射光RLが受光される状況に基づいてマルチパス判定を行うことが可能となる。 Further, in the distance image capturing device 1 of the first embodiment, the feature amount is a value calculated using at least the amount of charge corresponding to the reflected light RL among the amount of charge accumulated in each of the charge storage sections CS. be. Thereby, in the distance image imaging device 1 of the first embodiment, it becomes possible to perform multipath determination based on the situation in which the reflected light RL is received.

また、上述した第1実施形態では、画素321が3つの電荷蓄積部CSを備える場合を例に説明した。しかしながら、これに限定されない。画素321が4つの電荷蓄積部CSを備える場合にも適用することができる。この場合、特徴量は、電荷蓄積部CS1~CS4のそれぞれに蓄積された電荷量を変数とする複素数である。例えば、特徴量は、電荷量Q1とQ3の差分を実部とし、電荷量Q2とQ4の差分を虚部とする複素数で表される値である。具体的に、距離画像処理部4は、電荷蓄積部CSのそれぞれに蓄積された電荷量に基づいて、以下の式(11)に示す複素変数CPを算出する。 Furthermore, in the first embodiment described above, the case where the pixel 321 includes three charge storage sections CS was explained as an example. However, it is not limited to this. The present invention can also be applied to a case where the pixel 321 includes four charge storage sections CS. In this case, the feature amount is a complex number whose variable is the amount of charge stored in each of the charge storage units CS1 to CS4. For example, the feature amount is a value expressed by a complex number whose real part is the difference between the charge amounts Q1 and Q3, and whose imaginary part is the difference between the charge amounts Q2 and Q4. Specifically, the distance image processing unit 4 calculates a complex variable CP shown in the following equation (11) based on the amount of charge accumulated in each of the charge storage units CS.

CP=(Q1-Q3)+j(Q2-Q4) … 式(11)
ただし、jは虚数単位
Q1は電荷蓄積部CS1に蓄積された電荷量
Q2は電荷蓄積部CS2に蓄積された電荷量
Q3は電荷蓄積部CS3に蓄積された電荷量
Q4は電荷蓄積部CS4に蓄積された電荷量
CP=(Q1-Q3)+j(Q2-Q4)...Equation (11)
However, j is an imaginary unit
Q1 is the amount of charge accumulated in charge storage section CS1
Q2 is the amount of charge accumulated in charge storage section CS2
Q3 is the amount of charge accumulated in charge storage section CS3
Q4 is the amount of charge accumulated in charge storage section CS4

これにより、第1実施形態の距離画像撮像装置1では、外光成分を除去した電荷量、すなわち反射光RLに対応する電荷量を用いて特徴量を算出することができる。したがって、外光成分を含むノイズを除去することができ、精度よくマルチパス判定を行うことが可能となる。 Thereby, in the distance image imaging device 1 of the first embodiment, the feature amount can be calculated using the amount of charge from which the external light component is removed, that is, the amount of charge corresponding to the reflected light RL. Therefore, noise including external light components can be removed, and multipath determination can be performed with high accuracy.

また、第1実施形態の距離画像撮像装置1では、距離画像処理部4は、第1測定及び第2測定において、蓄積タイミングに対して照射タイミングを遅らせることにより、蓄積タイミングに対する照射タイミングの時間差が互いに異なる複数の測定を行う。これにより、第1実施形態の距離画像撮像装置1では、画素321を駆動させるタイミングを変更することなく、光パルスPOを照射するタイミングのみを変更させることにより、容易に複数回の測定を行うことができる。 Further, in the distance image imaging device 1 of the first embodiment, the distance image processing unit 4 delays the irradiation timing with respect to the accumulation timing in the first measurement and the second measurement, thereby reducing the time difference between the irradiation timing with respect to the accumulation timing. Perform multiple measurements that are different from each other. As a result, the distance image imaging device 1 of the first embodiment can easily perform multiple measurements by changing only the timing of irradiating the optical pulse PO without changing the timing of driving the pixel 321. Can be done.

また、第1実施形態の距離画像撮像装置1では、距離画像処理部4は、シングルパスかマルチパスかを判定することなく被写体までの暫定の距離を算出する仮測定を行い、仮測定において算出された距離に応じて、第1条件及び第2条件の少なくとも一方を決定する。これにより、第1実施形態の距離画像撮像装置1では、仮測定にて測定した暫定の距離に応じて第1条件及び第2条件の少なくとも一方を決定することができ、被写体OBまでのおおよその距離に応じて第1条件及び第2条件を設定でき、精度よくマルチパス判定を行うことができる第1測定又は第2測定を行うことが可能となる。 In addition, in the distance image imaging device 1 of the first embodiment, the distance image processing unit 4 performs temporary measurement to calculate a provisional distance to the subject without determining whether it is single pass or multipass, and calculates the distance in the temporary measurement. At least one of the first condition and the second condition is determined according to the determined distance. Thereby, in the distance image imaging device 1 of the first embodiment, at least one of the first condition and the second condition can be determined according to the provisional distance measured in the temporary measurement, and the approximate distance to the subject OB can be determined. The first condition and the second condition can be set according to the distance, and it becomes possible to perform the first measurement or the second measurement that allows accurate multipath determination.

また、第1実施形態の距離画像撮像装置1では、距離画像処理部4は、仮測定において算出された距離に応じて、被写体OBが比較的近くに存在する近距離物体であると判定する場合、第2条件における照射時間と蓄積時間の組合せが、第1条件よりも短い時間となるように第2条件を決定する。これにより、第1実施形態の距離画像撮像装置1では、被写体OBが近距離物体である場合には電荷蓄積部CSの飽和を抑制するオートエクスポージャを実現させると共に、マルチパス判定を行いやすくすることができる。一方、距離画像処理部4は、被写体OBが比較的遠くに存在する遠距離物体と判定する場合、第2条件における照射時間と蓄積時間の組合せが第1条件よりも長い時間となるように第2条件を決定する。これにより、被写体OBが遠距離物体である場合には測定可能な範囲を拡大させHDRを実現させると共に、マルチパス判定を行いやすくすることが可能となる。 Further, in the distance image capturing device 1 of the first embodiment, when the distance image processing unit 4 determines that the subject OB is a short-distance object that exists relatively nearby, according to the distance calculated in the temporary measurement. , the second condition is determined such that the combination of irradiation time and accumulation time under the second condition is shorter than the first condition. As a result, in the distance image capturing device 1 of the first embodiment, when the subject OB is a short-distance object, auto-exposure that suppresses saturation of the charge storage unit CS is realized, and multipath determination is facilitated. be able to. On the other hand, when determining that the subject OB is a long-distance object that exists relatively far away, the distance image processing unit 4 sets the irradiation time and accumulation time under the second condition to be longer than the first condition. 2. Determine conditions. As a result, when the subject OB is a long-distance object, it is possible to expand the measurable range, realize HDR, and make it easier to perform multipath determination.

また、上述した第1実施形態では、画素321がシングルパスを受光したと判定された場合に式(1)を用いて被写体OBまでの距離を算出する場合を例示して説明した。しかしながら、これに限定されない。式(1)では、照射タイミングと蓄積タイミングが同じタイミング、つまり照射遅延時間が0(ゼロ)であることを前提としている。このため、複数回の測定のうち、2回目以降の測定結果を用いて距離を算出する場合には、式(1)をそのまま適用することができない。2回目以降の測定結果を用いて距離を算出する場合、距離画像処理部4は、照射遅延時間に応じた補正を行う。 Furthermore, in the first embodiment described above, the case where the distance to the object OB is calculated using equation (1) when it is determined that the pixel 321 has received single-pass light has been described as an example. However, it is not limited to this. Equation (1) assumes that the irradiation timing and the accumulation timing are the same, that is, the irradiation delay time is 0 (zero). Therefore, when calculating the distance using the second and subsequent measurement results among a plurality of measurements, equation (1) cannot be applied as is. When calculating the distance using the second and subsequent measurement results, the distance image processing unit 4 performs correction according to the irradiation delay time.

つまり、第1実施形態の距離画像撮像装置1では、距離画像処理部4は、複数回の測定のそれぞれに基づく距離を、複数回の測定のそれぞれの時間差に基づく距離に応じて補正し、補正後の距離を、被写体OBまでの距離とする。これにより、2回目以降の測定結果を用いて距離を算出した場合であっても、正しい距離を算出することができる。 That is, in the distance image imaging device 1 of the first embodiment, the distance image processing unit 4 corrects the distance based on each of the plurality of measurements according to the distance based on the time difference between the plurality of measurements, and The latter distance is the distance to the object OB. Thereby, even if the distance is calculated using the second and subsequent measurement results, it is possible to calculate the correct distance.

また、第1実施形態の距離画像撮像装置1では、距離画像処理部4は、SD指標を算出する。SD指標は、ルックアップテーブルLUTの傾向と、複数の測定のそれぞれの特徴量の傾向との類似度合いを示す指標値である。SD指標は、式(7)で示される。つまり、SD指標は、複数の測定のそれぞれから算出される複素関数CP(n)(第1特徴量)と、ルックアップテーブルLUTにおいて対応する関数GG(n)(第2特徴量)との差分を、第2特徴量の絶対値で正規化した差分正規化値について、複数の測定のそれぞれの差分正規化値を加算した加算値である。距離画像処理部4は、SD指標が閾値を超えない場合に、反射光RLがシングルパスにて画素321に受光されたと判定する。一方、距離画像処理部4は、SD指標が閾値を超える場合に、反射光RLがマルチパスにて画素321に受光されたと判定する。これにより、第1実施形態の距離画像撮像装置1では、SD指標と閾値とを比較するという簡単な方法でマルチパス判定を行うことができる。 Further, in the distance image imaging device 1 of the first embodiment, the distance image processing unit 4 calculates the SD index. The SD index is an index value that indicates the degree of similarity between the tendency of the lookup table LUT and the tendency of each feature amount of a plurality of measurements. The SD index is expressed by equation (7). In other words, the SD index is the difference between the complex function CP(n) (first feature quantity) calculated from each of a plurality of measurements and the corresponding function GG(n) (second feature quantity) in the lookup table LUT. is the sum of the normalized difference values of a plurality of measurements with respect to the normalized difference value normalized by the absolute value of the second feature amount. The distance image processing unit 4 determines that the reflected light RL has been received by the pixel 321 in a single pass when the SD index does not exceed the threshold value. On the other hand, when the SD index exceeds the threshold value, the distance image processing unit 4 determines that the reflected light RL has been received by the pixel 321 through multipath. Thereby, in the distance image imaging device 1 of the first embodiment, multipath determination can be performed by a simple method of comparing the SD index and the threshold value.

また、第1実施形態の距離画像撮像装置1では、距離画像処理部4は、反射光RLがマルチパスで画素321に受光されたと判定した場合、マルチパスに含まれる光の経路のそれぞれに対応する距離を、最小二乗法を用いることにより算出する。これにより、第1実施形態の距離画像撮像装置1では、マルチパスのそれぞれの経路について、最も確からしい経路を決定することができ、マルチパスのそれぞれに対応する距離を算出することが可能となる。 In addition, in the distance image imaging device 1 of the first embodiment, when the distance image processing unit 4 determines that the reflected light RL is received by the pixel 321 in a multipath manner, the distance image processing unit 4 corresponds to each of the light paths included in the multipath. Calculate the distance by using the least squares method. As a result, the distance image capturing device 1 according to the first embodiment can determine the most probable route for each multipath, and can calculate the distance corresponding to each multipath. .

また、上述した第1実施形態では、光パルスPOの強度が一定であることを前提とした。しかしながら、これに限定されない。距離画像処理部4は、光パルスを照射する光の強度(以下、光強度という)を制御するようにしてもよい。例えば、距離画像処理部4は、近距離物体を測定する場合、第2測定において照射時間及び蓄積時間を短くすると共に、光強度を弱くする。これにより、距離画像処理部4は、飽和を抑制すると共に、消費電力を抑制することができる。或いは、距離画像処理部4は、遠距離物体を測定する場合、第2測定において照射時間及び蓄積時間を長くすると共に、光強度を強くする。これにより、距離画像処理部4は、ショットノイズを低減させると共に、マルチパスの分離精度を向上させることができる。 Furthermore, in the first embodiment described above, it is assumed that the intensity of the optical pulse PO is constant. However, it is not limited to this. The distance image processing unit 4 may control the intensity of light that irradiates the light pulse (hereinafter referred to as light intensity). For example, when measuring a short-distance object, the distance image processing unit 4 shortens the irradiation time and accumulation time and weakens the light intensity in the second measurement. Thereby, the distance image processing unit 4 can suppress saturation and power consumption. Alternatively, when measuring a distant object, the distance image processing unit 4 lengthens the irradiation time and accumulation time and increases the light intensity in the second measurement. Thereby, the distance image processing unit 4 can reduce shot noise and improve multipath separation accuracy.

また、第1実施形態の距離画像撮像装置1では、ドレインゲートトランジスタGD(電荷排出部)を備える。距離画像処理部4は、1フレーム期間において、蓄積タイミングとは異なるタイミングにおいて、光電変換素子PD子によって発生された電荷が、ドレインゲートトランジスタGDによって排出されるように制御する。これにより、第1実施形態の距離画像撮像装置1では、光パルスPOの反射光RLを受光することが想定されていない時間区間において、外光成分に応じた電荷が蓄積され続けることを回避することができる。 Further, the distance image imaging device 1 of the first embodiment includes a drain gate transistor GD (charge discharge section). The distance image processing unit 4 controls the charge generated by the photoelectric conversion element PD so that it is discharged by the drain gate transistor GD at a timing different from the accumulation timing in one frame period. Thereby, in the distance image imaging device 1 of the first embodiment, it is avoided that charges corresponding to the external light component continue to be accumulated in a time period in which the reflected light RL of the optical pulse PO is not expected to be received. be able to.

このように、SP方式においては、単位蓄積時間UTにおいて、反射光RLを受光することが想定されていない時間区間にはドレインゲートトランジスタGDをオン状態にして電荷の排出を行う。これにより、光パルスPOの反射光RLを受光することが想定されていない時間区間において、外光成分に応じた電荷が蓄積され続けることを回避する。 In this manner, in the SP method, the drain gate transistor GD is turned on to discharge charges during a time period in which the reflected light RL is not expected to be received in the unit storage time UT. This prevents charges corresponding to the external light component from continuing to accumulate in a time period in which the reflected light RL of the optical pulse PO is not expected to be received.

一方、光パルスPOが連続的に照射される、所謂コンティニアスウェイブ方式(以下、CW方式という)では、単位蓄積時間UTにおいて電荷を電荷蓄積部CSに蓄積させる度に電荷の排出を行うことはない。これは、CW方式においては、常時、反射光RLを受光していることから、反射光RLを受光することが想定されていない時間区間が存在しないためである。CW方式においては、1フレームにおいて単位蓄積時間UTを複数回繰り返す処理が実行されている時間区間においては、光電変換素子PDに接続されたリセットゲートトランジスタなどの電荷排出部はオフ状態に制御され、電荷の排出を行わない。そして、1フレームにおいて読出時間RDが到来すると、電荷蓄積部CSのそれぞれに蓄積された電荷量を読み出した後、リセットゲートトランジスタなどの電荷排出部がオン状態に制御され、電荷の排出が行われる。また、上記の説明では、光電変換素子PDに電荷排出部が接続された機構を例に説明したがこれに限定されない。光電変換素子PDに電荷排出部が存在せず、フローティングディフュージョンFDに電荷排出部が接続されたリセットゲートトランジスタを用いる機構などであってもよい。 On the other hand, in the so-called continuous wave method (hereinafter referred to as CW method) in which the optical pulse PO is continuously irradiated, it is not possible to discharge the charge every time the charge is accumulated in the charge storage part CS in the unit accumulation time UT. do not have. This is because in the CW system, since the reflected light RL is always received, there is no time period in which the reflected light RL is not expected to be received. In the CW method, during a time period in which the process of repeating the unit storage time UT multiple times in one frame is executed, a charge discharge unit such as a reset gate transistor connected to the photoelectric conversion element PD is controlled to be in an off state, Do not discharge charge. Then, when the read time RD arrives in one frame, the amount of charge accumulated in each of the charge storage sections CS is read out, and then a charge discharge section such as a reset gate transistor is controlled to be in an on state, and the charge is discharged. . Further, in the above description, the mechanism in which the charge discharge section is connected to the photoelectric conversion element PD was explained as an example, but the present invention is not limited to this. A mechanism may also be used in which the photoelectric conversion element PD does not have a charge discharge part and a reset gate transistor is used in which the charge discharge part is connected to the floating diffusion FD.

本実施形態では、SP方式を採用していることから、距離画像撮像装置1の画素321がドレインゲートトランジスタGDを備える。これにより、CW方式により1フレームにおいて継続的に電荷を蓄積させる場合と比較して誤差を低減させることができるため、電荷量のSN比(信号成分に対する誤差の比率)を高めることが可能である。したがって、積算回数を増やしても誤差が積算され難いために、電荷蓄積部CSに蓄積される電荷量の精度を維持することができ、特徴量を精度よく算出することができる。 In this embodiment, since the SP method is adopted, the pixel 321 of the distance image capturing device 1 includes a drain gate transistor GD. As a result, it is possible to reduce errors compared to the case where charges are continuously accumulated in one frame using the CW method, so it is possible to increase the S/N ratio (ratio of error to signal component) of the amount of charge. . Therefore, even if the number of integrations is increased, it is difficult to accumulate errors, so the accuracy of the amount of charge stored in the charge storage section CS can be maintained, and the feature amount can be calculated with high accuracy.

また、上述した第1実施形態では、照射時間Toと蓄積時間Taは同等の時間幅であること、同等の時間幅には、照射時間Toが蓄積時間Taよりも所定時間長い場合を含むことを説明した。照射時間Toが蓄積時間Taよりも所定時間長い場合の効果について補足する。 Furthermore, in the first embodiment described above, it is assumed that the irradiation time To and the accumulation time Ta have the same time width, and that the equivalent time width includes a case where the irradiation time To is longer than the accumulation time Ta by a predetermined time. explained. The effect when the irradiation time To is longer than the accumulation time Ta by a predetermined time will be supplemented.

ここで、一例として、反射光RLが受光されたタイミング(以下、受光タイミングという)と、電荷蓄積部CS2がオン状態になるタイミング(以下、第2蓄積タイミングという)が一致する場合を考える。 Here, as an example, consider a case where the timing at which the reflected light RL is received (hereinafter referred to as light reception timing) coincides with the timing at which the charge storage section CS2 turns on (hereinafter referred to as second accumulation timing).

この場合、光パルスPOの形状が理想的な矩形形状である場合には、電荷蓄積部CS2のみに反射光RLに対応する電荷が蓄積され、電荷蓄積部CS1及びCS3には、反射光RLに対応する電荷が蓄積されない。しかしながら、実際の光パルスPOの形状は、波形なまりがあり、理想的な矩形形状にならない。この場合、光パルスPOの照射時間が、見かけ上、蓄積時間よりも短くなってしまう場合がある。照射時間が蓄積時間より短い場合、受光タイミングと第2蓄積タイミングが一致していれば、電荷蓄積部CS2のみに反射光RLに対応する電荷が蓄積される。しかし、その後、被写体OBまでの距離が変化して、受光タイミングが第2蓄積タイミングより遅れた場合であっても、照射時間が蓄積時間より短いために電荷蓄積部CS2のみに反射光RLに相当する電荷が蓄積される状態が続いてしまうことになる。このような場合に、距離を算出する精度が劣化してしまう可能性がある。 In this case, if the shape of the optical pulse PO is an ideal rectangular shape, charges corresponding to the reflected light RL are accumulated only in the charge storage section CS2, and charges corresponding to the reflected light RL are accumulated in the charge accumulation sections CS1 and CS3. No corresponding charge is accumulated. However, the actual shape of the optical pulse PO has a rounded waveform and does not have an ideal rectangular shape. In this case, the irradiation time of the optical pulse PO may appear to be shorter than the accumulation time. When the irradiation time is shorter than the accumulation time, if the light reception timing and the second accumulation timing match, charges corresponding to the reflected light RL are accumulated only in the charge accumulation section CS2. However, even if the distance to the subject OB changes after that and the light reception timing is delayed from the second accumulation timing, the irradiation time is shorter than the accumulation time, so the reflected light RL only hits the charge accumulation part CS2. This results in a continued state in which charges accumulate. In such a case, the accuracy of calculating the distance may deteriorate.

これに対し、照射時間Toを、蓄積時間Taよりも長く設定すると、受光タイミングと第2蓄積タイミングが一致した場合であっても、電荷蓄積部CS2のみならず、電荷蓄積部CS3にも反射光RLに対応する電荷が蓄積される。このため、受光タイミングが第2蓄積タイミングより遅れた場合には、その遅れに応じた電荷量を電荷蓄積部CS3に蓄積させることができ、距離を算出する精度が劣化を抑制することができる。 On the other hand, if the irradiation time To is set longer than the accumulation time Ta, even if the light reception timing and the second accumulation timing match, the reflected light will be reflected not only in the charge storage part CS2 but also in the charge storage part CS3. Charge corresponding to RL is accumulated. Therefore, when the light reception timing is delayed from the second accumulation timing, an amount of charge corresponding to the delay can be accumulated in the charge accumulation section CS3, and deterioration of the accuracy of distance calculation can be suppressed.

図17は、照射時間Toを蓄積時間Taよりも長く設定した場合におけるルックアップテーブルLUT#の例を示す図である。図17に示すように、照射時間Toを蓄積時間Taよりも長く設定した場合、ルックアップテーブルが、位相x=π/2の地点において急峻に変化する形状から、連続的に変化し続ける丸みを帯びた形状となる。位相x=π/2の地点において急峻に変化すると、位相x=π/2の近傍において測定の精度が低下しやすい。一方、照射時間Toを蓄積時間Taよりも長く設定することにより、位相x=π/2の地点において連続的に変化するため、測定の精度が低下することを抑制することができる。 FIG. 17 is a diagram showing an example of the lookup table LUT# when the irradiation time To is set longer than the accumulation time Ta. As shown in FIG. 17, when the irradiation time To is set longer than the accumulation time Ta, the lookup table changes the shape from a sharply changing shape at the point of phase x = π/2 to a continuously changing roundness. It has a tinged shape. If the phase changes sharply at the point where x=π/2, the measurement accuracy tends to decrease near the phase x=π/2. On the other hand, by setting the irradiation time To to be longer than the accumulation time Ta, since the phase changes continuously at the point where x=π/2, it is possible to suppress a decrease in measurement accuracy.

次に、第2実施形態について説明する。第2実施形態では、第2測定において、第2条件(照射時間と蓄積時間の組合せ)を第1測定と同じ条件とする一方、第2時間差(基準とする照射タイミングと蓄積タイミングとの時間差)を第1測定と異なる条件とする、 Next, a second embodiment will be described. In the second embodiment, in the second measurement, the second condition (combination of irradiation time and accumulation time) is the same as the first measurement, while the second time difference (time difference between reference irradiation timing and accumulation timing) is set. under different conditions from the first measurement,

ここで、図18(図18A、図18B)を用いて、第2実施形態において遠距離物体を測定する方法について説明する。図18は第2実施形態の距離画像撮像装置1が被写体OBを測定するタイミングを模式的に示す図である。 Here, a method for measuring a long-distance object in the second embodiment will be described using FIG. 18 (FIGS. 18A and 18B). FIG. 18 is a diagram schematically showing the timing at which the distance image imaging device 1 of the second embodiment measures the object OB.

図18Aには、第2測定において遠距離物体を1回目に測定した例が示されている。図18Bには、第2測定において遠距離物体をK回目に測定した例が示されている。 FIG. 18A shows an example in which a long-distance object is measured for the first time in the second measurement. FIG. 18B shows an example in which a distant object is measured for the Kth time in the second measurement.

図18の照射時間Toは、図7の照射時間Toと同じ時間幅である。蓄積時間Taは、図7の蓄積時間Taと同じ時間幅である。照射時間Toと蓄積時間Taは同程度の時間幅である。 The irradiation time To in FIG. 18 has the same time width as the irradiation time To in FIG. The accumulation time Ta has the same time width as the accumulation time Ta in FIG. The irradiation time To and the accumulation time Ta have approximately the same time width.

図18に示すように、第2測定の1回目(初回)の測定において、照射タイミングに対して蓄積タイミングを時間Tds遅らせる。すなわち、距離画像処理部4は、第2時間差として、時間Tdsを設定する。第2時間差である時間Tdsを基準として、以降の測定において、照射タイミングと蓄積タイミングとの時間差を、時間Tdsを基準として、異なる時間差としながら複数の測定を行う。 As shown in FIG. 18, in the first (initial) measurement of the second measurement, the accumulation timing is delayed by a time Tds with respect to the irradiation timing. That is, the distance image processing unit 4 sets the time Tds as the second time difference. Using time Tds, which is the second time difference, as a reference, in subsequent measurements, a plurality of measurements are performed while setting different time differences between the irradiation timing and the accumulation timing with time Tds as the reference.

このように、基準とする1回目の照射タイミングと蓄積タイミングの時間差を時間Tdsとすることにより、第2測定のK回目の測定において、照射タイミングを、1回目の測定に対して照射遅延時間Dtmk遅らせた場合においても、反射光RLに対応する電荷が、電荷蓄積部CSに蓄積されるようにすることができる。 In this way, by setting the time difference between the reference first irradiation timing and accumulation timing as the time Tds, in the Kth measurement of the second measurement, the irradiation timing is changed to the irradiation delay time Dtmk with respect to the first measurement. Even in the case of delay, the charges corresponding to the reflected light RL can be accumulated in the charge accumulation section CS.

なお、測定において、1回目の測定から、このような蓄積タイミングを時間Tds遅らせた条件で測定を行う場合、近距離物体に反射した反射光RLに対応する電荷を電荷蓄積部CSに蓄積させることができなくなってしまい、近距離物体までの距離を測定することが困難となる。 Note that when performing measurements under conditions in which the accumulation timing is delayed by a time Tds from the first measurement, charges corresponding to the reflected light RL reflected from a nearby object must be accumulated in the charge accumulation section CS. This makes it difficult to measure the distance to nearby objects.

この対策として、本実施形態では、第1測定及び第2測定とは別に、仮測定を行う。仮測定は、第1測定及び第2測定とは別に行う測定であり、シングルパスか否かに関わらず、式(1)を用いて距離を算出する測定である。仮測定において、照射時間、照射タイミング、蓄積時間、及び蓄積タイミングのそれぞれは任意に設定されてよいが、例えば、図5の1回目の測定と同じ値に設定される。 As a countermeasure for this, in this embodiment, a temporary measurement is performed separately from the first measurement and the second measurement. The provisional measurement is a measurement that is performed separately from the first measurement and the second measurement, and is a measurement that calculates the distance using equation (1) regardless of whether it is a single pass or not. In the provisional measurement, each of the irradiation time, irradiation timing, accumulation time, and accumulation timing may be set arbitrarily, but is set to the same value as the first measurement in FIG. 5, for example.

例えば、距離画像処理部4は、仮測定により算出した距離に基づいて被写体OBが近距離物体であると判定した場合、第2測定において、照射タイミングと蓄積タイミングとの時間差0(ゼロ)を基準とした複数の測定を行う。 For example, when the distance image processing unit 4 determines that the subject OB is a short-distance object based on the distance calculated by provisional measurement, in the second measurement, the time difference between the irradiation timing and the accumulation timing is 0 (zero) as a reference. Perform multiple measurements.

一方、距離画像処理部4は、仮測定により算出した距離に基づいて被写体OBが遠距離物体であると判定した場合、第2測定において、照射タイミングと蓄積タイミングとの時間差が時間Tdsである関係を基準とした、複数の測定を行う。 On the other hand, when the distance image processing unit 4 determines that the subject OB is a long-distance object based on the distance calculated by the temporary measurement, in the second measurement, the distance image processing unit 4 determines that the time difference between the irradiation timing and the accumulation timing is the time Tds. Perform multiple measurements based on .

第2測定において、照射タイミングと蓄積タイミングとの時間差が時間Tdsである関係を基準とした複数の測定を行った場合、距離画像処理部4は、第2測定において算出した距離を、第2時間差に基づく距離に応じて補正し、補正後の距離を被写体OBまでの距離とする。 In the second measurement, when a plurality of measurements are performed based on the relationship in which the time difference between the irradiation timing and the accumulation timing is the time Tds, the distance image processing unit 4 calculates the distance calculated in the second measurement by using the second time difference. The corrected distance is corrected according to the distance based on , and the corrected distance is taken as the distance to the object OB.

以上説明したように、第2実施形態の距離画像撮像装置1では、第1測定及び第2測定を行う。距離画像処理部4は、第2測定では、第2条件が第1測定と同じ条件であり、第2時間差が第1測定と異なる測定を行う。これにより、第2実施形態の距離画像撮像装置1では、第1測定において第1時間差を基準とした複数回の測定を行い、第2測定において第1時間差とは異なる第2時間差を基準とした複数回の測定を行うことができ、第1測定及び第2測定のそれぞれの複数回の測定において基準となる時間差(照射タイミングと蓄積タイミングとの時間差)が異なるようにすることができる。 As explained above, the distance image imaging device 1 of the second embodiment performs the first measurement and the second measurement. In the second measurement, the distance image processing unit 4 performs a measurement in which the second condition is the same as the first measurement, and the second time difference is different from the first measurement. As a result, in the distance image imaging device 1 of the second embodiment, multiple measurements are performed using the first time difference as a reference in the first measurement, and a second time difference different from the first time difference is used as a reference in the second measurement. The measurement can be performed a plurality of times, and the reference time difference (time difference between the irradiation timing and the accumulation timing) can be made different in each of the first measurement and the second measurement.

したがって、被写体OBが遠距離物体である場合など、第1測定におけるK回目の測定において反射光RLに対応する電荷が電荷蓄積部CSに蓄積されないような場合であっても、第2測定においては、K回目の測定においても反射光RLに対応する電荷が電荷蓄積部CSに蓄積させることが可能となる。したがって、精度よく距離を算出することが可能となる。 Therefore, even if the charge corresponding to the reflected light RL is not accumulated in the charge storage part CS in the K-th measurement in the first measurement, such as when the subject OB is a long-distance object, in the second measurement , K-th measurement also allows charges corresponding to the reflected light RL to be accumulated in the charge accumulation section CS. Therefore, it becomes possible to calculate the distance with high accuracy.

また、第2実施形態の距離画像撮像装置1では、距離画像処理部4は、シングルパスかマルチパスかを判定することなく被写体までの暫定の距離を算出する仮測定を行う。距離画像処理部4は、仮測定において算出された距離に応じて、第2時間差を決定する。これにより、第2実施形態の距離画像撮像装置1では、仮測定にて測定した暫定の距離に応じて第2時間差を決定することができ、被写体OBまでのおおよその距離に応じて、第2測定における複数の測定の全てにおいて反射光RLに対応する電荷が電荷蓄積部CSに蓄積されるように調整することができ、精度よく測定を行うことが可能となる。 Further, in the distance image imaging device 1 of the second embodiment, the distance image processing unit 4 performs provisional measurement to calculate a provisional distance to the subject without determining whether it is single pass or multipass. The distance image processing unit 4 determines the second time difference according to the distance calculated in the temporary measurement. As a result, in the distance image capturing device 1 of the second embodiment, the second time difference can be determined according to the provisional distance measured in the temporary measurement, and the second time difference can be determined according to the approximate distance to the subject OB. Adjustment can be made so that the charge corresponding to the reflected light RL is accumulated in the charge storage section CS in all of the plurality of measurements, and it becomes possible to perform measurements with high accuracy.

また、第2実施形態の距離画像撮像装置1では第2測定において、照射タイミングと蓄積タイミングとの時間差が時間Tdsである関係を基準とした複数の測定を行った場合、距離画像処理部4は、第2測定において算出した距離を、第2時間差(時間Tds)に基づく距離に応じて補正し、補正後の距離を被写体OBまでの距離とする。これにより、第2測定において、照射タイミングと蓄積タイミングとの時間差が0(ゼロ)ではない場合であっても、正しい距離を算出することができる。
なお、仮測定を行う場合において、測定する度に毎回仮測定を行わなくてもよい。具体的には、仮測定、第1測定、及び第2測定の順に、毎回の測定を繰り返さなくてもよい。例えば、被写体OBが測定領域における一定の範囲内に存在している場合、仮測定を省略して、第1測定と2測定のセット、又は第2測定だけを行うことによって距離を算出するようにしてもよい。一方、前回の測定から一定時間が経過した場合、或いは、被写体OBが測定領域の外に移動した場合など、特定の条件を満たす場合、例えば、仮測定、仮測定と第1測定のセット、又は第1測定の何れかを行い、その後に第2測定を行うようにしてもよい。
Further, in the second measurement, in the distance image imaging device 1 of the second embodiment, when a plurality of measurements are performed based on the relationship in which the time difference between the irradiation timing and the accumulation timing is the time Tds, the distance image processing unit 4 , the distance calculated in the second measurement is corrected according to the distance based on the second time difference (time Tds), and the corrected distance is set as the distance to the object OB. Thereby, in the second measurement, even if the time difference between the irradiation timing and the accumulation timing is not 0 (zero), it is possible to calculate the correct distance.
Note that when performing temporary measurements, it is not necessary to perform temporary measurements every time. Specifically, it is not necessary to repeat each measurement in the order of provisional measurement, first measurement, and second measurement. For example, if the object OB exists within a certain range in the measurement area, the distance can be calculated by omitting the temporary measurement and performing a set of the first and second measurements, or only the second measurement. You can. On the other hand, if certain conditions are met, such as when a certain period of time has passed since the previous measurement, or when the subject OB has moved outside the measurement area, for example, provisional measurement, a set of provisional measurement and first measurement, or Either one of the first measurements may be performed and then the second measurement may be performed.

上述した実施形態における距離画像撮像装置1、距離画像処理部4の全部または一部をコンピュータで実現するようにしてもよい。その場合、この機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよく、FPGA等のプログラマブルロジックデバイスを用いて実現されるものであってもよい。 All or part of the distance image imaging device 1 and the distance image processing section 4 in the embodiments described above may be realized by a computer. In that case, a program for realizing this function may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read into a computer system and executed. Note that the "computer system" herein includes hardware such as an OS and peripheral devices. Furthermore, the term "computer-readable recording medium" refers to portable media such as flexible disks, magneto-optical disks, ROMs, and CD-ROMs, and storage devices such as hard disks built into computer systems. Furthermore, a "computer-readable recording medium" refers to a storage medium that dynamically stores a program for a short period of time, such as a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. It may also include a device that retains a program for a certain period of time, such as a volatile memory inside a computer system that is a server or client in that case. Further, the above-mentioned program may be one for realizing a part of the above-mentioned functions, or may be one that can realize the above-mentioned functions in combination with a program already recorded in the computer system. It may also be realized using a programmable logic device such as an FPGA.

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 Although the embodiments of the present invention have been described above in detail with reference to the drawings, the specific configuration is not limited to these embodiments, and includes designs within the scope of the gist of the present invention.

1…距離画像撮像装置
2…光源部
3…受光部
32…距離画像センサ
321…画素
42…距離演算部
CS…電荷蓄積部
PO…光パルス
RL…反射光
Dt…ドット光
L…ライン光
1...Distance image imaging device 2...Light source section 3...Light receiving section 32...Distance image sensor 321...Pixel 42...Distance calculation section CS...Charge storage section PO...Light pulse RL...Reflected light Dt...Dot light L...Line light

Claims (19)

被写体に光パルスを照射する光源部と、
入射した光に応じた電荷を発生する光電変換素子及び電荷を蓄積する複数の電荷蓄積部を具備する画素と、前記光パルスを照射する照射タイミングに同期させた蓄積タイミングで前記電荷蓄積部のそれぞれに電荷を振り分けて蓄積させる画素駆動回路と、
前記電荷蓄積部の各々に蓄積される電荷量に基づいて前記被写体までの距離を算出する距離画像処理部と、
を備え、
前記距離画像処理部は、
前記光パルスを照射する照射時間と前記電荷蓄積部のそれぞれに電荷を振り分けて蓄積させる蓄積時間の組合せが第1条件であり、基準となる前記照射タイミングと前記蓄積タイミングとの時間差が第1時間差であり、前記第1時間差を基準として前記照射タイミングと前記蓄積タイミングとの時間差が互いに異なる複数の測定からなる第1測定を行い、
前記照射時間と前記蓄積時間の組合せが第2条件であり、基準となる前記照射タイミングと前記蓄積タイミングとの時間差が第2時間差であり、前記第2時間差を基準として前記照射タイミングと前記蓄積タイミングとの時間差が互いに異なる複数の測定からなる第2測定を行い、
前記第2測定では、前記第2条件又は前記第2時間差の何れか一方が前記第1測定とは異なる測定を行い、
前記第1測定及び前記第2測定のそれぞれにて蓄積された電荷量に基づく特徴量を抽出し、前記特徴量の傾向に基づいて前記被写体までの距離を算出する、
距離画像撮像装置。
a light source unit that irradiates light pulses to the subject;
A pixel including a photoelectric conversion element that generates a charge according to incident light and a plurality of charge storage sections that accumulate charge, and each of the charge storage sections at an accumulation timing synchronized with the irradiation timing of irradiating the light pulse. a pixel drive circuit that distributes and accumulates charge,
a distance image processing unit that calculates a distance to the subject based on the amount of charge accumulated in each of the charge accumulation units;
Equipped with
The distance image processing section
A first condition is a combination of an irradiation time for irradiating the light pulse and an accumulation time for distributing and accumulating charges in each of the charge storage sections, and a time difference between the reference irradiation timing and the accumulation timing is the first time difference. and performing a first measurement consisting of a plurality of measurements in which the time difference between the irradiation timing and the accumulation timing is different from each other based on the first time difference,
The combination of the irradiation time and the accumulation time is a second condition, the time difference between the reference irradiation timing and the accumulation timing is a second time difference, and the irradiation timing and the accumulation timing are set based on the second time difference. Perform a second measurement consisting of a plurality of measurements with different time differences from each other,
In the second measurement, either the second condition or the second time difference is a measurement that is different from the first measurement,
extracting a feature amount based on the amount of charge accumulated in each of the first measurement and the second measurement, and calculating a distance to the subject based on a tendency of the feature amount;
Distance image imaging device.
前記距離画像処理部は、
前記第2測定では、前記第2時間差が前記第1測定と同じであり、前記第2条件が前記第1測定とは異なる測定を行う、
請求項1に記載の距離画像撮像装置。
The distance image processing section
In the second measurement, the second time difference is the same as the first measurement, and the second condition is different from the first measurement.
The distance image imaging device according to claim 1.
前記距離画像処理部は、
前記第2測定では、前記第2時間差が前記第1測定と異なり、前記第2条件が前記第1測定と同じである測定を行う、
請求項1に記載の距離画像撮像装置。
The distance image processing section
In the second measurement, the second time difference is different from the first measurement, and the second condition is the same as the first measurement.
The distance image imaging device according to claim 1.
前記距離画像処理部は、前記光パルスの反射光がシングルパスにて前記画素に受光されたか、前記光パルスの反射光がマルチパスにて前記画素に受光されたかを判定するマルチパス判定を行い、前記マルチパス判定の結果に応じて前記被写体までの距離を算出する、
請求項1に記載の距離画像撮像装置。
The distance image processing unit performs a multi-pass determination to determine whether the reflected light of the optical pulse is received by the pixel in a single pass or the reflected light of the optical pulse is received by the pixel in multiple passes. , calculating a distance to the subject according to the result of the multipath determination;
The distance image imaging device according to claim 1.
前記距離画像処理部は、前記照射時間と前記蓄積時間の組み合わせ毎に、前記反射光がシングルパスで前記画素に受光された場合における前記照射タイミングと前記蓄積タイミングとの時間差と前記特徴量とが対応付けられているルックアップテーブルを参照し、前記ルックアップテーブルの傾向と前記特徴量の傾向との類似度合いに基づいて、前記マルチパス判定を行う、
請求項4に記載の距離画像撮像装置。
The distance image processing unit calculates, for each combination of the irradiation time and the accumulation time, the time difference between the irradiation timing and the accumulation timing when the reflected light is received by the pixel in a single pass, and the feature amount. referring to the associated lookup table and performing the multipath determination based on the degree of similarity between the tendency of the lookup table and the tendency of the feature amount;
The distance image imaging device according to claim 4.
前記ルックアップテーブルは、前記光パルスの形状、及び、前記照射時間と前記蓄積時間の組合せ毎に複数作成され、
前記距離画像処理部は、複数の前記ルックアップテーブルのうち、前記第1測定及び前記第2測定の測定条件のそれぞれに対応する前記ルックアップテーブルを用いて、前記マルチパス判定を行う、
請求項5に記載の距離画像撮像装置。
A plurality of lookup tables are created for each combination of the shape of the light pulse and the irradiation time and the accumulation time,
The distance image processing unit performs the multipath determination using the lookup table corresponding to each of the measurement conditions of the first measurement and the second measurement among the plurality of lookup tables.
The distance image imaging device according to claim 5.
前記特徴量は、前記電荷蓄積部のそれぞれに蓄積された電荷量のうち、少なくとも前記光パルスの反射光に対応する電荷量を用いて算出される値である、
請求項1に記載の距離画像撮像装置。
The feature quantity is a value calculated using at least an amount of charge corresponding to the reflected light of the optical pulse, out of the amount of charge accumulated in each of the charge storage sections,
The distance image imaging device according to claim 1.
前記画素には、第1電荷蓄積部、第2電荷蓄積部、第3電荷蓄積部、及び第4電荷蓄積部が設けられ、
前記距離画像処理部は、前記第1電荷蓄積部、前記第2電荷蓄積部、前記第3電荷蓄積部、又は前記第4電荷蓄積部の少なくともいずれかに前記光パルスの反射光に対応する電荷が蓄積されるタイミングにて、前記第1電荷蓄積部、前記第2電荷蓄積部、前記第3電荷蓄積部、前記第4電荷蓄積部の順に電荷を蓄積させ、
前記特徴量は、前記第1電荷蓄積部、前記第2電荷蓄積部、前記第3電荷蓄積部、及び前記第4電荷蓄積部のそれぞれに蓄積された電荷量を変数とする複素数である、
請求項1に記載の距離画像撮像装置。
The pixel is provided with a first charge storage section, a second charge storage section, a third charge storage section, and a fourth charge storage section,
The distance image processing unit is configured to charge at least one of the first charge storage unit, the second charge storage unit, the third charge storage unit, or the fourth charge storage unit, the charge corresponding to the reflected light of the optical pulse. Accumulating charges in the order of the first charge accumulation section, the second charge accumulation section, the third charge accumulation section, and the fourth charge accumulation section at the timing when the charge accumulation section is accumulated;
The feature quantity is a complex number whose variable is the amount of charge accumulated in each of the first charge accumulation section, the second charge accumulation section, the third charge accumulation section, and the fourth charge accumulation section,
The distance image imaging device according to claim 1.
前記特徴量は、前記第1電荷蓄積部に蓄積された第1電荷量と前記第3電荷蓄積部に蓄積された第3電荷量との差分である第1変数を実部とし、前記第2電荷蓄積部に蓄積された第2電荷量と前記第4電荷蓄積部に蓄積された第4電荷量との差分である第2変数を虚部とする複素数で表される値である、
請求項8に記載の距離画像撮像装置。
The feature quantity has a first variable, which is the difference between the first charge amount accumulated in the first charge accumulation section and the third charge amount accumulated in the third charge accumulation section, as a real part, and the second a value expressed as a complex number whose imaginary part is a second variable that is the difference between the second amount of charge accumulated in the charge storage section and the fourth amount of charge accumulated in the fourth charge storage section;
The distance image imaging device according to claim 8.
前記距離画像処理部は、前記第1測定及び前記第2測定において、前記蓄積タイミングに対して前記照射タイミングを遅らせることにより、前記照射タイミングと前記蓄積タイミングとの時間差が互いに異なる複数の測定を行う、
請求項1に記載の距離画像撮像装置。
The distance image processing unit performs a plurality of measurements in which the time difference between the irradiation timing and the accumulation timing is different by delaying the irradiation timing with respect to the accumulation timing in the first measurement and the second measurement. ,
The distance image imaging device according to claim 1.
前記距離画像処理部は、シングルパスかマルチパスかを判定することなく前記被写体までの距離を算出する仮測定を行い、前記仮測定において算出された距離に応じて前記第1条件及び前記第2条件の少なくとも一方を決定する、
請求項2に記載の距離画像撮像装置。
The distance image processing unit performs provisional measurement to calculate the distance to the object without determining whether it is a single pass or multipass, and sets the first condition and the second condition according to the distance calculated in the provisional measurement. determining at least one of the conditions;
The distance image imaging device according to claim 2.
前記距離画像処理部は、前記仮測定において算出された距離に応じて、前記被写体が比較的近くに存在すると判定する場合、前記第2条件における前記照射時間と前記蓄積時間の組合せが前記第1条件よりも短い時間となるように前記第2条件を決定し、前記被写体が比較的遠くに存在すると判定する場合、前記第2条件における前記照射時間と前記蓄積時間の組合せが前記第1条件よりも長い時間となるように前記第2条件を決定する、
請求項11に記載の距離画像撮像装置。
When determining that the subject is relatively close according to the distance calculated in the provisional measurement, the distance image processing unit determines that the combination of the irradiation time and the accumulation time in the second condition is equal to the first If the second condition is determined to be shorter than the first condition and it is determined that the subject is relatively far away, the combination of the irradiation time and the accumulation time in the second condition is shorter than the first condition. determining the second condition so that the second condition is also a long time;
The distance image imaging device according to claim 11.
前記距離画像処理部は、シングルパスかマルチパスかを判定することなく前記被写体までの距離を算出する仮測定を行い、前記仮測定において算出された距離に応じて前記第2時間差を決定する、
請求項3に記載の距離画像撮像装置。
The distance image processing unit performs a provisional measurement to calculate the distance to the object without determining whether the shot is a single pass or a multipass, and determines the second time difference according to the distance calculated in the provisional measurement.
The distance image imaging device according to claim 3.
前記距離画像処理部は、前記第2測定において算出した距離を、前記第2時間差に基づく距離に応じて補正し、補正後の距離を前記被写体までの距離とする、
請求項13に記載の距離画像撮像装置。
The distance image processing unit corrects the distance calculated in the second measurement according to the distance based on the second time difference, and sets the corrected distance as the distance to the subject.
The distance image imaging device according to claim 13.
前記距離画像処理部は、前記ルックアップテーブルの傾向と、前記複数の測定のそれぞれの前記特徴量の傾向との類似度合いを示す指標値を算出し、
前記指標値は、前記複数の測定のそれぞれから算出される前記特徴量である第1特徴量と、前記ルックアップテーブルにおいて前記複数の測定のそれぞれに対応する前記特徴量である第2特徴量との差分を、前記第2特徴量の絶対値で正規化した差分正規化値について、前記複数の測定のそれぞれの前記差分正規化値を加算した加算値であり、
前記距離画像処理部は、前記指標値が閾値を超えない場合に前記反射光がシングルパスにて前記画素に受光されたと判定し、前記指標値が前記閾値を超える場合に前記反射光がマルチパスにて前記画素に受光されたと判定する、
請求項5に記載の距離画像撮像装置。
The distance image processing unit calculates an index value indicating the degree of similarity between the tendency of the lookup table and the tendency of the feature amount of each of the plurality of measurements,
The index value includes a first feature quantity that is the feature quantity calculated from each of the plurality of measurements, and a second feature quantity that is the feature quantity that corresponds to each of the plurality of measurements in the lookup table. is an additive value obtained by adding the normalized difference values of each of the plurality of measurements to the normalized difference value obtained by normalizing the difference of by the absolute value of the second feature amount,
The distance image processing unit determines that the reflected light is received by the pixel in a single pass when the index value does not exceed the threshold, and determines that the reflected light is received by the pixel in a single pass when the index value exceeds the threshold. determining that light has been received by the pixel,
The distance image imaging device according to claim 5.
前記距離画像処理部は、前記反射光がマルチパスで前記画素に受光されたと判定した場合、マルチパスに含まれる光の経路のそれぞれに対応する距離を、最小二乗法を用いることにより算出する、
請求項4に記載の距離画像撮像装置。
When the distance image processing unit determines that the reflected light is received by the pixel in a multipath, the distance image processing unit calculates a distance corresponding to each of the light paths included in the multipath by using a least squares method.
The distance image imaging device according to claim 4.
前記距離画像処理部は、前記仮測定において算出された距離に応じて、前記第1測定及び前記第2測定において前記光パルスを照射する強度を制御する、
請求項11に記載の距離画像撮像装置。
The distance image processing unit controls the intensity of irradiating the light pulse in the first measurement and the second measurement according to the distance calculated in the temporary measurement.
The distance image imaging device according to claim 11.
前記光電変換素子によって発生された電荷を排出する電荷排出部を更に備え、
前記距離画像処理部は、前記蓄積タイミングとは異なるタイミングでは、前記光電変換素子によって発生された電荷が前記電荷排出部によって排出されるように制御する、
請求項1に記載の距離画像撮像装置。
Further comprising a charge discharge part that discharges the charge generated by the photoelectric conversion element,
The distance image processing unit controls the charge generated by the photoelectric conversion element to be discharged by the charge discharge unit at a timing different from the accumulation timing.
The distance image imaging device according to claim 1.
被写体に光パルスを照射する光源部と、入射した光に応じた電荷を発生する光電変換素子及び電荷を蓄積する複数の電荷蓄積部を具備する画素と、前記光パルスを照射する照射タイミングに同期させた蓄積タイミングで前記電荷蓄積部のそれぞれに電荷を振り分けて蓄積させる画素駆動回路と、前記電荷蓄積部の各々に蓄積される電荷量に基づいて前記被写体までの距離を算出する距離画像処理部と、を備える距離画像撮像装置が行う距離画像撮像方法であって、
前記距離画像処理部は、
前記光パルスを照射する照射時間と前記電荷蓄積部のそれぞれに電荷を振り分けて蓄積させる蓄積時間の組合せが第1条件であり、基準となる前記照射タイミングと前記蓄積タイミングとの時間差が第1時間差であり、前記第1時間差を基準として前記照射タイミングと前記蓄積タイミングとの時間差が互いに異なる複数の測定からなる第1測定を行い、
前記照射時間と前記蓄積時間の組合せが第2条件であり、基準となる前記照射タイミングと前記蓄積タイミングとの時間差が第2時間差であり、前記第2時間差を基準として前記照射タイミングと前記蓄積タイミングとの時間差が互いに異なる複数の測定からなる第2測定を行い、
前記第2測定では、前記第2条件又は前記第2時間差の何れか一方が前記第1測定とは異なる測定を行い、
前記第1測定及び前記第2測定のそれぞれにて蓄積された電荷量に基づく特徴量を抽出し、前記特徴量の傾向に基づいて前記被写体までの距離を算出する、
距離画像撮像方法。
A light source unit that irradiates a light pulse to a subject, a pixel that includes a photoelectric conversion element that generates a charge according to the incident light, and a plurality of charge storage units that accumulate the charge, and a pixel that is synchronized with the irradiation timing that irradiates the light pulse. a pixel drive circuit that allocates and accumulates charges in each of the charge storage sections at the specified accumulation timing; and a distance image processing section that calculates a distance to the subject based on the amount of charge accumulated in each of the charge storage sections. A distance image capturing method performed by a distance image capturing device comprising:
The distance image processing section
A first condition is a combination of an irradiation time for irradiating the light pulse and an accumulation time for distributing and accumulating charges in each of the charge storage sections, and a time difference between the reference irradiation timing and the accumulation timing is the first time difference. and performing a first measurement consisting of a plurality of measurements in which the time difference between the irradiation timing and the accumulation timing is different from each other based on the first time difference,
The combination of the irradiation time and the accumulation time is a second condition, the time difference between the reference irradiation timing and the accumulation timing is a second time difference, and the irradiation timing and the accumulation timing are set based on the second time difference. Perform a second measurement consisting of a plurality of measurements with different time differences from each other,
In the second measurement, either the second condition or the second time difference is a measurement that is different from the first measurement,
extracting a feature amount based on the amount of charge accumulated in each of the first measurement and the second measurement, and calculating a distance to the subject based on a tendency of the feature amount;
Distance image imaging method.
JP2022113790A 2022-07-15 2022-07-15 Distance image capturing device and distance image capturing method Pending JP2024011621A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022113790A JP2024011621A (en) 2022-07-15 2022-07-15 Distance image capturing device and distance image capturing method
PCT/JP2023/026120 WO2024014547A1 (en) 2022-07-15 2023-07-14 Distance image capturing device, and distance image capturing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022113790A JP2024011621A (en) 2022-07-15 2022-07-15 Distance image capturing device and distance image capturing method

Publications (1)

Publication Number Publication Date
JP2024011621A true JP2024011621A (en) 2024-01-25

Family

ID=89621709

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022113790A Pending JP2024011621A (en) 2022-07-15 2022-07-15 Distance image capturing device and distance image capturing method

Country Status (1)

Country Link
JP (1) JP2024011621A (en)

Similar Documents

Publication Publication Date Title
US10801886B2 (en) SPAD detector having modulated sensitivity
JP5107440B2 (en) 3D active image processing device
US10928492B2 (en) Management of histogram memory for a single-photon avalanche diode detector
JP2021513087A (en) Methods and systems for high resolution long range flash LIDAR
CN110869804A (en) Early-late pulse counting for light emission depth sensors
JP2019505814A (en) Adaptive optical rader receiver
TWI780462B (en) Distance video camera device and distance video camera method
US20220035010A1 (en) Methods and systems for power-efficient subsampled 3d imaging
US20210109224A1 (en) Strobing flash lidar with full frame utilization
WO2022158603A1 (en) Distance image capturing device and distance image capturing method
JP2024011621A (en) Distance image capturing device and distance image capturing method
CN213091889U (en) Distance measuring system
WO2024014547A1 (en) Distance image capturing device, and distance image capturing method
WO2022154073A1 (en) Range imaging device and range imaging method
WO2023033170A1 (en) Distance image capturing device and distance image capturing method
WO2023228981A1 (en) Distance image capturing apparatus, and distance image capturing method
US20230243928A1 (en) Overlapping sub-ranges with power stepping
US20230082977A1 (en) Apparatus and method for time-of-flight sensing of a scene
US20230221442A1 (en) Lidar Clocking Schemes For Power Management
WO2022138832A1 (en) Distance image capturing device and distance image capturing method
WO2023234253A1 (en) Distance image capturing device and distance image capturing method
JP2022162392A (en) Distance image pickup device and distance image pickup method
WO2022016448A1 (en) Indirect tof sensor, stacked sensor chip, and method for measuring distance to object using the same
JP2022191793A (en) Distance image pickup device and distance image pickup method
JP2022183614A (en) Distance image photographing device and distance image photographing method