JP5190721B2 - Distance image generator - Google Patents

Distance image generator Download PDF

Info

Publication number
JP5190721B2
JP5190721B2 JP2012107826A JP2012107826A JP5190721B2 JP 5190721 B2 JP5190721 B2 JP 5190721B2 JP 2012107826 A JP2012107826 A JP 2012107826A JP 2012107826 A JP2012107826 A JP 2012107826A JP 5190721 B2 JP5190721 B2 JP 5190721B2
Authority
JP
Japan
Prior art keywords
light
distance image
photoelectric conversion
distance
light source
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.)
Expired - Fee Related
Application number
JP2012107826A
Other languages
Japanese (ja)
Other versions
JP2012185171A (en
Inventor
良平 池野
任史 河田
文雄 久保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Stanley Electric Co Ltd
Original Assignee
Stanley Electric Co Ltd
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 Stanley Electric Co Ltd filed Critical Stanley Electric Co Ltd
Priority to JP2012107826A priority Critical patent/JP5190721B2/en
Publication of JP2012185171A publication Critical patent/JP2012185171A/en
Application granted granted Critical
Publication of JP5190721B2 publication Critical patent/JP5190721B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、距離画像生成装置に係り、特により精度の高い距離画像を生成することができる距離画像生成装置に関する。   The present invention relates to a distance image generation device, and more particularly to a distance image generation device capable of generating a distance image with higher accuracy.

従来、距離画像センサ(CCDタイプやCMOSタイプがある)を用いていわゆる距離画像を生成する装置が知られている(例えば特許文献1)。   2. Description of the Related Art Conventionally, an apparatus that generates a so-called distance image using a distance image sensor (there is a CCD type or a CMOS type) is known (for example, Patent Document 1).

この特許文献1に記載の距離画像生成装置は、所定の発光周波数で強度変調された光を空間に放射する発光源、発光源が放射した光の反射光を受光し受光強度に対応する信号レベルの受光信号を出力する複数個の光電変換部を備える距離画像センサとしてのイメージセンサ等を備えている。この特許文献1に記載の距離画像生成装置においては、変調周期内に反射光を受光して電荷に変換し、この変換した電荷に基づいて所定演算を行うことにより、変調光と反射光との位相差を算出し、距離画像を生成している。   The distance image generation device described in Patent Document 1 emits light whose intensity is modulated at a predetermined light emission frequency into a space, receives a reflected light of light emitted from the light source, and receives a signal level corresponding to the received light intensity. And an image sensor as a distance image sensor including a plurality of photoelectric conversion units that output the received light signal. In the distance image generating device described in Patent Document 1, reflected light is received and converted into electric charges within a modulation period, and a predetermined calculation is performed based on the converted electric charges. A phase difference is calculated and a distance image is generated.

特開2004−32682号公報JP 2004-32682 A

しかしながら、特許文献1に記載の距離画像生成装置においては、発光源の光量が一定であるため、距離画像の精度に大きな影響を及ぼす可能性がある。   However, in the distance image generation device described in Patent Document 1, since the light amount of the light emission source is constant, there is a possibility of greatly affecting the accuracy of the distance image.

例えば、変調光源が暗すぎる場合、変調光源以外の背景光に比べ変調光源からの変調光の比率が極端に少なくなることによってSN比が下がり、計測距離の誤差が多くなる。また、変調光源が明るすぎる場合は、撮像素子に蓄積する電荷が飽和してしまい、距離計測が行えなくなる。   For example, when the modulated light source is too dark, the ratio of the modulated light from the modulated light source becomes extremely smaller than the background light other than the modulated light source, so that the SN ratio is lowered and the measurement distance error is increased. On the other hand, if the modulated light source is too bright, the charge accumulated in the image sensor is saturated and distance measurement cannot be performed.

また、光は光源からの距離の二乗に反比例して減衰するため、例えば室内のような比較的対象物までの距離が近く、計測距離範囲が限られている場合は、変調光源の光量が一定であっても測定結果に大きな変動が起こることは少ない。しかし、屋外、例えば車両前方の距離を測定するような場合、対象物は道路や風景、歩行者、先行車、対向車などであり、それらの距離は数メートルから無限遠にまで変化する。ゆえに、近距離の対象物と遠距離の対象物でそれぞれ変調光源の最適な光量は異なると考えられるため、変調光源の光量が動的に変化することが望ましい。   In addition, since light attenuates in inverse proportion to the square of the distance from the light source, the light quantity of the modulated light source is constant when the distance to the object is relatively close, such as indoors, and the measurement distance range is limited. Even so, the measurement results are unlikely to fluctuate greatly. However, when measuring the distance in the outdoors, for example, in front of the vehicle, the objects are roads, landscapes, pedestrians, preceding vehicles, oncoming vehicles, and the like, and their distances change from several meters to infinity. Therefore, it is considered that the optimum light amount of the modulated light source is different between the object at a short distance and the object at a long distance, so it is desirable that the light amount of the modulated light source is dynamically changed.

さらに、同じ距離に存在する対象物の距離を計測する場合であっても、対象物の反射率によって反射光の強度が変わるため、変調光源の光量を変化させたほうが望ましい。   Furthermore, even when measuring the distance of an object existing at the same distance, the intensity of the reflected light varies depending on the reflectance of the object, so it is desirable to change the light amount of the modulated light source.

本発明は、このような事情に鑑みてなされたものであり、発光源の光量を変化させることにより、より精度の高い距離画像を生成することができる距離画像生成装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a distance image generation apparatus capable of generating a distance image with higher accuracy by changing the light amount of a light emitting source. To do.

本発明は上記課題を解決するために、請求項1に記載の発明は、対象空間に変調した変調光を照射する発光源と、前記発光源から照射され対象空間内の対象物で反射した反射光を受光して電荷に変換する複数の光電変換素子、前記光電変換素子ごとに設けられた複数の電荷蓄積部、及び、前記発光源の変調に同期して、前記光電変換素子により変換された電荷を前記複数の電荷蓄積部に振り分ける手段と、を備えた撮像素子と、前記複数の電荷蓄積部に蓄積された電荷に基づいて所定演算を行い、画素値が距離値である距離画像を生成する距離画像生成部と、前記発光源の変調光の光量を調整する光量調整手段と、前記複数の電荷蓄積部に蓄積された電荷に基づいて、前記発光源から照射され対象空間内の対象物で反射した反射光成分の振幅値を演算する演算手段と、前記演算手段により予め定められた範囲外の反射光成分の振幅値が演算された前記光電変換素子の数をカウントするカウント手段と、を備え、前記光量調整手段は、前記カウント手段によりカウントされた光電変換素子の数が一定数を越えた時、前記発光源の変調光の光量を下げるように調整することを特徴とする。   In order to solve the above problems, the present invention provides a light source that emits modulated light that is modulated onto a target space, and a reflection that is irradiated from the light source and reflected by an object in the target space. A plurality of photoelectric conversion elements that receive light and convert it into charges, a plurality of charge storage units provided for each of the photoelectric conversion elements, and converted by the photoelectric conversion elements in synchronization with modulation of the light emission source An image sensor comprising: means for distributing charges to the plurality of charge storage units; and performing a predetermined calculation based on the charges stored in the plurality of charge storage units to generate a distance image in which pixel values are distance values A distance image generating unit, a light amount adjusting unit that adjusts the amount of modulated light of the light source, and an object in the target space that is irradiated from the light source based on charges accumulated in the plurality of charge storage units Of reflected light component reflected by Calculating means, and a counting means for counting the number of the photoelectric conversion elements for which the amplitude value of the reflected light component outside the range predetermined by the calculating means is calculated, the light amount adjusting means, When the number of photoelectric conversion elements counted by the counting means exceeds a certain number, adjustment is made so as to reduce the amount of modulated light of the light emitting source.

請求項1に記載の発明によれば、光量調整手段により発光源の変調光の光量の調整(増減等)が可能である。発光源の変調光の光量を調整することにより、対象物の距離が変化した場合や様々な反射率の対象物を対象とした場合でも、反射した変調光の光量を最適に保つことができるので、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。また、発光源の変調光の光量が常に一定ではないので、余計な発光電力を抑えることも可能となる(特に光量が減少する方向に調整される場合)。   According to the first aspect of the present invention, the light amount of the modulated light from the light source can be adjusted (increased or decreased) by the light amount adjusting means. By adjusting the amount of modulated light from the light source, the amount of reflected modulated light can be optimally maintained even when the distance of the object changes or when objects with various reflectivities are targeted. Thus, it is possible to improve the distance detection accuracy and generate a more accurate distance image. In addition, since the amount of modulated light from the light source is not always constant, it is possible to suppress unnecessary light emission power (particularly when the amount of light is adjusted to decrease).

また、請求項1に記載の発明によれば、カウント手段によりカウントされた光電変換素子の数に基づいて、発光源の変調光の光量を調整する。例えば、予め定められた範囲以上の反射光成分の振幅値が演算された光電変換素子の数が一定数を越えると、発光源の変調光の光量が明るすぎると判断して発光源の変調光の光量を下げるように調整する。これによっても、反射した変調光の光量を最適に保つことができるので、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   According to the first aspect of the present invention, the amount of modulated light from the light source is adjusted based on the number of photoelectric conversion elements counted by the counting means. For example, if the number of photoelectric conversion elements for which the amplitude value of the reflected light component exceeding a predetermined range is calculated exceeds a certain number, it is determined that the amount of modulated light from the light source is too bright and the modulated light from the light source Adjust to reduce the amount of light. Also by this, the amount of reflected modulated light can be kept optimal, so that it is possible to improve distance detection accuracy and generate a more accurate distance image.

請求項2に記載の発明は、請求項1に記載の発明において、前記距離画像生成部により生成された距離画像から背景以外の対象物を抽出する抽出手段をさらに備えており、前記カウント手段は、前記抽出手段により抽出された対象物に対応する前記光電変換素子に対して前記カウントする処理を行うことを特徴とする。   The invention according to claim 2 further includes an extraction means for extracting an object other than a background from the distance image generated by the distance image generation unit according to the invention according to claim 1, wherein the counting means The counting process is performed on the photoelectric conversion element corresponding to the object extracted by the extraction unit.

請求項2に記載の発明によれば、背景以外の対象物のみを抽出し、その抽出された対象物に対応する光電変換素子に対してカウント処理した光電変換素子の数に基づいて、発光源の変調光の光量を調整する。これにより、その対象物に最適な発光源の変調光の光量に保つことができるので、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   According to the second aspect of the present invention, based on the number of photoelectric conversion elements obtained by extracting only the objects other than the background and counting the photoelectric conversion elements corresponding to the extracted objects, Adjust the amount of modulated light. As a result, the amount of modulated light of the light source that is optimal for the object can be maintained, so that it is possible to improve distance detection accuracy and generate a more accurate distance image.

請求項3に記載の発明は、請求項1に記載の発明において、前記距離画像生成部により生成された距離画像から予め定められた距離範囲内の対象物を抽出する抽出手段をさらに備えており、前記カウント手段は、前記抽出手段により抽出された対象物に対応する前記光電変換素子に対して前記カウントする処理を行うことを特徴とする。   The invention described in claim 3 is the invention described in claim 1, further comprising an extracting means for extracting an object within a predetermined distance range from the distance image generated by the distance image generating unit. The counting means performs the counting process on the photoelectric conversion element corresponding to the object extracted by the extraction means.

請求項3に記載の発明によれば、検出したい距離範囲にある対象物のみを抽出し、その抽出された対象物に対応する光電変換素子に対してカウント処理した光電変換素子の数に基づいて、発光源の変調光の光量を調整する。これにより、その対象物に最適な発光源の変調光の光量に保つことができるので、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   According to the third aspect of the present invention, based on the number of photoelectric conversion elements obtained by extracting only the objects within the distance range to be detected and counting the photoelectric conversion elements corresponding to the extracted objects. The amount of modulated light from the light source is adjusted. As a result, the amount of modulated light of the light source that is optimal for the object can be maintained, so that it is possible to improve distance detection accuracy and generate a more accurate distance image.

請求項4に記載の発明は、請求項1から3のいずれかに記載の発明において、前記光量調整手段は、フレーム時間毎に前記発光源の変調光の光量を変化させることを特徴とする。   According to a fourth aspect of the present invention, in the invention according to any one of the first to third aspects, the light amount adjusting means changes a light amount of the modulated light of the light source every frame time.

請求項4に記載の発明によれば、フレーム時間毎に発光源の変調光の光量を変化させるので、広い距離範囲の対象物、複数の距離範囲の対象物、反射率の異なる複数の対象物についても精度良く検出することが可能になる。また、複数の対象物の距離を精度良く測定することが可能になる。これにより、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   According to the fourth aspect of the present invention, since the amount of modulated light of the light source is changed every frame time, an object in a wide distance range, an object in a plurality of distance ranges, and a plurality of objects having different reflectances Can be detected with high accuracy. Moreover, it becomes possible to measure the distance of a several target object with sufficient precision. Thereby, it is possible to improve the distance detection accuracy and to generate a distance image with higher accuracy.

請求項5に記載の発明は、請求項1に記載の発明において、前記発光源は、対象空間に変調した変調光を照射する複数の発光体を備えており、前記複数の発光体は、複数の領域に分割されており、前記複数の光電変換素子は、前記複数の領域に対応して複数の光電変換素子エリアに分割されており、前記光量調整手段は、前記分割された光電変換素子エリアごとに、前記カウント手段によりカウントされた前記光電変換素子の数に基づいて、該分割された光電変換素子エリアに対応するエリアを照射する発光体の変調光の光量を調整することを特徴とする。   According to a fifth aspect of the present invention, in the first aspect of the present invention, the light emission source includes a plurality of light emitters that irradiate modulated light onto a target space, and the plurality of light emitters includes a plurality of light emitters. The plurality of photoelectric conversion elements are divided into a plurality of photoelectric conversion element areas corresponding to the plurality of areas, and the light amount adjusting means is divided into the divided photoelectric conversion element areas. Each time, the amount of modulated light of the illuminant that irradiates an area corresponding to the divided photoelectric conversion element area is adjusted based on the number of the photoelectric conversion elements counted by the counting means. .

請求項5に記載の発明によれば、発光源の変調光の光量を光電変換素子エリア(画像領域)ごとに最適に調整できるので、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。また、発光源の変調光の光量が常に一定ではないので、余計な発光電力を抑えることも可能となる(特に光量が減少する方向に調整される場合)。   According to the fifth aspect of the present invention, the amount of modulated light of the light source can be optimally adjusted for each photoelectric conversion element area (image region), so that it is possible to improve the distance detection accuracy and improve the accuracy of the distance image. Generation is possible. In addition, since the amount of modulated light from the light source is not always constant, it is possible to suppress unnecessary light emission power (particularly when the amount of light is adjusted to decrease).

また、請求項5に記載の発明によれば、分割された光電変換素子エリアごとに、カウント手段によりカウントされた光電変換素子の数に基づいて、発光源の変調光の光量を調整する。例えば、ある分割された光電変換素子エリアにおいて、予め定められた範囲以上の反射光成分の振幅値が演算された光電変換素子の数が一定数を越えると、発光源の変調光の光量が明るすぎると判断してその光電変換素子エリアに対応する照射エリアの発光体の変調光の光量を下げるように調整する。これによっても、発光源の変調光の光量を光電変換素子エリア(画像領域)ごとに最適に調整できるので、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   According to the fifth aspect of the present invention, the amount of modulated light of the light source is adjusted for each divided photoelectric conversion element area based on the number of photoelectric conversion elements counted by the counting means. For example, in a certain divided photoelectric conversion element area, if the number of photoelectric conversion elements for which the amplitude value of the reflected light component exceeding a predetermined range is calculated exceeds a certain number, the amount of modulated light from the light source is bright. Therefore, it is determined that the amount of modulated light of the light emitter in the irradiation area corresponding to the photoelectric conversion element area is lowered. This also makes it possible to optimally adjust the amount of modulated light from the light source for each photoelectric conversion element area (image region), thereby improving the distance detection accuracy and generating a more accurate distance image.

請求項6に記載の発明は、請求項5に記載の発明において、前記距離画像生成部により生成された距離画像から背景以外の対象物を抽出する抽出手段をさらに備えており、前記カウント手段は、前記抽出手段により抽出された対象物に対応する前記光電変換素子に対して前記カウントする処理を行うことを特徴とする。   The invention described in claim 6 further comprises an extracting means for extracting an object other than a background from the distance image generated by the distance image generating section in the invention according to claim 5, wherein the counting means The counting process is performed on the photoelectric conversion element corresponding to the object extracted by the extraction unit.

請求項6に記載の発明によれば、背景以外の対象物のみを抽出し、その抽出された対象物に対応する光電変換素子に対してカウント処理した光電変換素子の数に基づいて、発光源の変調光の光量を調整する。これにより、その対象物に最適な発光源の変調光の光量に保つことができるので、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   According to the sixth aspect of the present invention, based on the number of photoelectric conversion elements obtained by extracting only the objects other than the background and counting the photoelectric conversion elements corresponding to the extracted objects, Adjust the amount of modulated light. As a result, the amount of modulated light of the light source that is optimal for the object can be maintained, so that it is possible to improve distance detection accuracy and generate a more accurate distance image.

請求項7に記載の発明は、請求項5に記載の発明において、前記距離画像生成部により生成された距離画像から予め定められた距離範囲内の対象物を抽出する抽出手段をさらに備えており、前記カウント手段は、前記抽出手段により抽出された対象物に対応する前記光電変換素子に対して前記カウントする処理を行うことを特徴とする。   The invention according to claim 7 is the invention according to claim 5, further comprising an extraction means for extracting an object within a predetermined distance range from the distance image generated by the distance image generation unit. The counting means performs the counting process on the photoelectric conversion element corresponding to the object extracted by the extraction means.

請求項7に記載の発明によれば、検出したい距離範囲にある対象物のみを抽出し、その抽出された対象物に対応する光電変換素子に対してカウント処理した光電変換素子の数に基づいて、発光源の変調光の光量を調整する。これにより、その対象物に最適な発光源の変調光の光量に保つことができるので、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   According to the invention described in claim 7, based on the number of photoelectric conversion elements obtained by extracting only objects within a distance range to be detected and counting the photoelectric conversion elements corresponding to the extracted objects. The amount of modulated light from the light source is adjusted. As a result, the amount of modulated light of the light source that is optimal for the object can be maintained, so that it is possible to improve distance detection accuracy and generate a more accurate distance image.

本発明によれば、発光源の変調光の光量を変化させることにより、より精度の高い距離画像を生成することができる距離画像生成装置を提供することが可能となる。   ADVANTAGE OF THE INVENTION According to this invention, it becomes possible to provide the distance image generation apparatus which can produce | generate a distance image with higher precision by changing the light quantity of the modulated light of a light emission source.

本発明の第一実施形態である距離画像生成装置のブロック図である。1 is a block diagram of a distance image generation apparatus that is a first embodiment of the present invention. FIG. 距離画像を生成する原理を説明するための図である。It is a figure for demonstrating the principle which produces | generates a distance image. 外乱光がほとんどなく、対象物が遠い、もしくは、対象物の反射率が極端に小さい場合に起こりうる、変調光と入射光の関係を表す図である。It is a figure showing the relationship between modulated light and incident light which may occur when there is almost no disturbing light, the object is far away, or the reflectance of the object is extremely small. 本発明の第一実施形態である距離画像生成装置の動作例1を説明するためのフローチャートである。It is a flowchart for demonstrating the operation example 1 of the distance image generation apparatus which is 1st embodiment of this invention. 外乱光が多く、対象物の反射率が高い場合に起こりうる、変調光と入射光の関係を表す図である。It is a figure showing the relationship between modulated light and incident light which can occur when there is much disturbance light and the reflectance of a target object is high. 本発明の第一実施形態である距離画像生成装置の動作例2を説明するためのフローチャートである。It is a flowchart for demonstrating the operation example 2 of the distance image generation apparatus which is 1st embodiment of this invention. 外乱光が比較的多く、対象物が遠い、もしくは、対象物の反射率が極端に小さい場合に起こりうる、変調光と入射光の関係を表す図である。It is a figure showing the relationship between modulated light and incident light which may occur when disturbance light is relatively large, the object is far away, or the reflectance of the object is extremely small. 本発明の第一実施形態である距離画像生成装置の動作例4を説明するためのフローチャートである。It is a flowchart for demonstrating the operation example 4 of the distance image generation apparatus which is 1st embodiment of this invention. 本発明の第一実施形態である距離画像生成装置の動作例5を説明するためのフローチャートである。It is a flowchart for demonstrating the operation example 5 of the distance image generation apparatus which is 1st embodiment of this invention. 本発明の第一実施形態である距離画像生成装置の動作例5を説明するためのフローチャートである。It is a flowchart for demonstrating the operation example 5 of the distance image generation apparatus which is 1st embodiment of this invention. 本発明の第一実施形態である距離画像生成装置の動作例6を説明するためのフローチャートである。It is a flowchart for demonstrating the operation example 6 of the distance image generation apparatus which is 1st embodiment of this invention. 本発明の第一実施形態である距離画像生成装置の動作例6を説明するためのフローチャートである。It is a flowchart for demonstrating the operation example 6 of the distance image generation apparatus which is 1st embodiment of this invention. 本発明の第一実施形態である距離画像生成装置の動作例7を説明するためのフローチャートである。It is a flowchart for demonstrating the operation example 7 of the distance image generation apparatus which is 1st embodiment of this invention. 本発明の第二実施形態である距離画像生成装置の光源の正面図である。It is a front view of the light source of the distance image generation apparatus which is 2nd embodiment of this invention. 自動車前方に搭載した第二実施形態の距離画像生成装置により撮像した画像例である。It is the example of an image imaged by the distance image generation device of the second embodiment mounted in front of the automobile.

〔第一実施形態〕
以下、本発明の第一実施形態である距離画像生成装置について図面を参照しながら説明する。
[First embodiment]
Hereinafter, a distance image generating apparatus according to a first embodiment of the present invention will be described with reference to the drawings.

〔距離画像生成装置の構成〕
まず、第一実施形態である距離画像生成装置の構成について説明する。
[Configuration of Distance Image Generation Device]
First, the configuration of the distance image generation apparatus according to the first embodiment will be described.

図1は、第一実施形態である距離画像生成装置のブロック図である。図1に示すように、距離画像生成装置1は、光飛行時間型距離画像センサ10(以下、距離画像センサ10という)を備えている。距離画像センサ10は、光源11、撮像素子15、制御部16、及び、距離画像生成部17等を備えている。   FIG. 1 is a block diagram of a distance image generation apparatus according to the first embodiment. As shown in FIG. 1, the distance image generation device 1 includes an optical time-of-flight distance image sensor 10 (hereinafter referred to as a distance image sensor 10). The distance image sensor 10 includes a light source 11, an image sensor 15, a control unit 16, a distance image generation unit 17, and the like.

光源11は、対象空間に変調した光(例えば、正弦波もしくは矩形波等で高速に変調させた赤外光もしくは可視光)を照射する発光源であり、LED等の高速変調が可能なデバイスが用いられる。   The light source 11 is a light emitting source that irradiates light modulated in a target space (for example, infrared light or visible light modulated at high speed with a sine wave or a rectangular wave). Used.

撮像素子15は、光源11から照射され対象空間内の対象物で反射した反射光を含む入射光14を受光して電荷に変換する複数の光電変換素子(画素ともいう)、この光電変換素子ごとに設けられた複数の電荷蓄積部、及び、光源11の変調に同期して、光電変換素子により変換された電荷を複数の電荷蓄積部に振り分ける手段等を備えている(いずれも図示せず)。   The imaging element 15 receives a plurality of photoelectric conversion elements (also referred to as pixels) that receive incident light 14 including reflected light that is irradiated from the light source 11 and reflected by an object in the target space, and converts the incident light 14 into charges. Provided with a plurality of charge storage units, and means for distributing the charges converted by the photoelectric conversion elements to the plurality of charge storage units in synchronization with the modulation of the light source 11 (all not shown). .

制御部16は、光源11と撮像素子15を同期制御するためのものであり、撮像素子15は、制御部16の同期信号に従って、光電変換素子により変換された電荷を複数の電荷蓄積部に高速に振り分ける。   The control unit 16 is for controlling the light source 11 and the image pickup device 15 in synchronization. The image pickup device 15 rapidly transfers charges converted by the photoelectric conversion elements to a plurality of charge storage units according to the synchronization signal of the control unit 16. Sort out.

距離画像生成部17は、振り分けられた電荷に基づいて所定演算を行い、発光源との位相差を算出し、画素値が距離値である距離画像を生成する。   The distance image generation unit 17 performs a predetermined calculation based on the distributed charges, calculates a phase difference with the light emission source, and generates a distance image whose pixel value is a distance value.

〔距離画像を生成する原理〕
次に、距離画像を生成する原理について説明する。
[Principle for generating range images]
Next, the principle of generating a distance image will be described.

図2は、距離画像を生成する原理を説明するための図である。図2中、正弦波21は光源11の変調光を表しており、正弦波22は撮像素子15の入射光を表している。正弦波21と正弦波22との位相差φは、光の対象物までの飛行時間によって生じる遅延を表している。   FIG. 2 is a diagram for explaining the principle of generating a distance image. In FIG. 2, the sine wave 21 represents the modulated light of the light source 11, and the sine wave 22 represents the incident light of the image sensor 15. The phase difference φ between the sine wave 21 and the sine wave 22 represents a delay caused by the time of flight to the object of light.

図2では、光源11の変調の1周期を4つの期間に分けて4つの電荷蓄積部に電荷を振り分けている。それぞれの期間をT1、T2、T3、T4とし、それぞれの期間に蓄積する電荷量をC1、C2、C3、C4とすると、位相差φは、次の式で表される。   In FIG. 2, one cycle of modulation of the light source 11 is divided into four periods, and the charges are distributed to the four charge storage units. If each period is T1, T2, T3, and T4, and the amount of charge accumulated in each period is C1, C2, C3, and C4, the phase difference φ is expressed by the following equation.

光の速度は既知であるから、この位相差φを求めることで対象物までの距離が求まり、画素値が距離値である距離画像を生成することが可能となる。   Since the speed of light is known, the distance to the object can be obtained by obtaining this phase difference φ, and a distance image whose pixel value is a distance value can be generated.

なお、一般的な画像データとして用いる電荷量平均Aは、次の式で表される。   The charge amount average A used as general image data is expressed by the following equation.

また、対象物で反射した変調光成分の振幅量Bは、次の式で表される。   The amplitude amount B of the modulated light component reflected by the object is expressed by the following equation.

一般的に発光源の変調周波数は数十MHzであり、よって変調の1周期は数十ns程度である。そのため、距離画像を得るためには数百〜数十万周期の電荷蓄積時間を要する。   In general, the modulation frequency of the light source is several tens of MHz, and therefore one period of modulation is about several tens of ns. Therefore, in order to obtain a distance image, a charge accumulation time of several hundred to several hundred thousand cycles is required.

〔距離画像生成装置の動作〕
次に、上記構成の距離画像生成装置1の動作について図面を参照しながら説明する。
[Operation of Distance Image Generation Device]
Next, the operation of the distance image generating apparatus 1 having the above configuration will be described with reference to the drawings.

〔距離画像生成装置の動作例1〕
図3は、外乱光がほとんどなく、対象物が遠い、もしくは、対象物の反射率が極端に小さい場合に起こりうる、変調光と入射光の関係を表している。
[Operation Example 1 of Distance Image Generating Device]
FIG. 3 shows the relationship between the modulated light and the incident light that can occur when there is almost no disturbing light, the object is far away, or the reflectance of the object is extremely small.

図3では、光源11から照射される変調光31に対して入射光32の光量が非常に小さので、撮像素子15において蓄積される電荷も少なくなる。蓄積される電荷が少なくなると、フォトンショットノイズ等の影響が大きくなり、位相差φの算出誤差が大きくなる。   In FIG. 3, since the amount of incident light 32 is very small with respect to the modulated light 31 emitted from the light source 11, the charge accumulated in the image pickup device 15 is also reduced. As the accumulated charge decreases, the influence of photon shot noise and the like increases, and the calculation error of the phase difference φ increases.

この入射光の光量が小さいことに起因する位相差φの算出誤差を防止又は低減するべく、図3に示した状況下では、距離画像生成装置1は図4に示すように動作する。   In order to prevent or reduce the calculation error of the phase difference φ due to the small amount of incident light, the distance image generating device 1 operates as shown in FIG. 4 under the situation shown in FIG.

図4は、距離画像生成装置1の動作例1を説明するためのフローチャートである。以下の処理は、主に、制御部16又はこれとは別に設けられた制御部(図示せず)が行う。   FIG. 4 is a flowchart for explaining an operation example 1 of the distance image generating apparatus 1. The following processing is mainly performed by the control unit 16 or a control unit (not shown) provided separately from the control unit 16.

まず、光源11は、制御部16の同期信号に従って、対象空間に変調した光を照射する(ステップS10)。撮像素子15は、その光源11から照射され対象空間内の対象物で反射した反射光を含む入射光を受光し、光電変換素子により電荷に変換し、制御部16の同期信号に従って、その変換された電荷を複数の電荷蓄積部に振り分ける(ステップS11)。距離画像生成部17は、この振り分けられた電荷に基づいて所定演算(上記式1の演算)を行い、発光源との位相差φを算出し、画素値が距離値である距離画像を生成する。   First, the light source 11 irradiates the target space with modulated light according to the synchronization signal of the control unit 16 (step S10). The image sensor 15 receives incident light including reflected light irradiated from the light source 11 and reflected by an object in the target space, converts the incident light into charges by the photoelectric conversion element, and converts the incident light according to the synchronization signal of the control unit 16. The charged charges are distributed to a plurality of charge storage units (step S11). The distance image generation unit 17 performs a predetermined calculation (calculation of the above formula 1) based on the distributed charges, calculates a phase difference φ with the light emission source, and generates a distance image whose pixel value is a distance value. .

次に、制御部16は、少なくとも一つの電荷蓄積部に規定値(予め定められた値。閾値。)以下の電荷が蓄積された光電変換素子の数をカウントする(ステップS12)(本発明のカウント手段に相当)。制御部16は、このカウントされた光電変換素子の数が一定数を超えると(ステップS13:Yes)、光源11の光量が暗いと判断して光源11の光量を上げるように制御する(ステップS14)。以後、ステップS10からステップS14の処理を繰り返す。   Next, the control unit 16 counts the number of photoelectric conversion elements in which charges equal to or less than a specified value (predetermined value, threshold) are stored in at least one charge storage unit (step S12) (in the present invention). Equivalent to counting means). When the counted number of photoelectric conversion elements exceeds a certain number (step S13: Yes), the control unit 16 determines that the light amount of the light source 11 is dark and performs control to increase the light amount of the light source 11 (step S14). ). Thereafter, the processing from step S10 to step S14 is repeated.

以上のように、本動作例1においては、ステップS12でカウントされた光電変換素子の数が一定数を超えると(ステップS13:Yes)、光源11の光量が暗いと判断して光源11の光量を上げる(ステップS14)。これにより、入射光(反射した変調光)の光量を最適に保つことができるので、入射光の光量が小さいことに起因する位相差φの算出誤差の防止又は低減が可能となる。これにより、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   As described above, in this operation example 1, when the number of photoelectric conversion elements counted in step S12 exceeds a certain number (step S13: Yes), it is determined that the light amount of the light source 11 is dark, and the light amount of the light source 11 (Step S14). Thereby, since the light quantity of incident light (reflected modulated light) can be kept optimal, it is possible to prevent or reduce the calculation error of the phase difference φ due to the small quantity of incident light. Thereby, it is possible to improve the distance detection accuracy and to generate a distance image with higher accuracy.

〔距離画像生成装置の動作例2〕
図5は、外乱光が多く、対象物の反射率が高い場合に起こりうる、変調光と入射光の関係を表している。
[Operation Example 2 of Distance Image Generating Device]
FIG. 5 shows the relationship between the modulated light and the incident light that can occur when there is a lot of disturbance light and the reflectance of the object is high.

図5中、正弦波41は光源11から照射される変調光を表しており、正弦波42は入射光を表している。ここで直線43は撮像素子15において蓄積される電荷が飽和する光量を表している。正弦波42が直線43を上回る期間では、撮像素子15において蓄積される電荷が飽和してそれ以上増えず、結果、位相差φを算出した際に誤差となる。   In FIG. 5, a sine wave 41 represents modulated light emitted from the light source 11, and a sine wave 42 represents incident light. Here, a straight line 43 represents the amount of light that saturates the charge accumulated in the image sensor 15. In a period in which the sine wave 42 exceeds the straight line 43, the charge accumulated in the image sensor 15 is saturated and does not increase any more, resulting in an error when the phase difference φ is calculated.

この入射光の光量が大きく撮像素子において蓄積される電荷が飽和することに起因する位相差φの算出誤差を防止又は低減するべく、図5に示した状況下では、距離画像生成装置1は図6に示すように動作する。   In order to prevent or reduce the calculation error of the phase difference φ due to the saturation of the charge accumulated in the image sensor with a large amount of incident light, the distance image generating device 1 is shown in FIG. The operation is as shown in FIG.

図6は、距離画像生成装置1の動作例2を説明するためのフローチャートである。以下の処理は、主に、制御部16又はこれとは別に設けられた制御部(図示せず)が行う。   FIG. 6 is a flowchart for explaining an operation example 2 of the distance image generating apparatus 1. The following processing is mainly performed by the control unit 16 or a control unit (not shown) provided separately from the control unit 16.

まず、光源11は、制御部16の同期信号に従って、対象空間に変調した光を照射する(ステップS20)。撮像素子15は、その光源11から照射され対象空間内の対象物で反射した反射光を含む入射光を受光し、光電変換素子により電荷に変換し、制御部16の同期信号に従って、その変換された電荷を複数の電荷蓄積部に振り分ける(ステップS21)。距離画像生成部17は、この振り分けられた電荷に基づいて所定演算(上記式1の演算)を行い、発光源との位相差φを算出し、画素値が距離値である距離画像を生成する。   First, the light source 11 irradiates the target space with modulated light according to the synchronization signal of the control unit 16 (step S20). The image sensor 15 receives incident light including reflected light irradiated from the light source 11 and reflected by an object in the target space, converts the incident light into charges by the photoelectric conversion element, and converts the incident light according to the synchronization signal of the control unit 16. The charged charges are distributed to a plurality of charge storage units (step S21). The distance image generation unit 17 performs a predetermined calculation (calculation of the above formula 1) based on the distributed charges, calculates a phase difference φ with the light emission source, and generates a distance image whose pixel value is a distance value. .

次に、制御部16は、少なくとも一つの電荷蓄積部に規定値(予め定められた値。閾値。)以上の電荷が蓄積された光電変換素子の数をカウントする(ステップS22)(本発明のカウント手段に相当)。あるいは、対象物で反射した変調光成分の振幅量Bに規定範囲(予め定められた値。閾値。)を設け、制御部16は、規定範囲以上の反射光成分の振幅値Bが演算された光電変換素子の数をカウントする(ステップS22)。制御部16は、このカウントされた光電変換素子の数が一定数を超えると(ステップS23:Yes)、光源11の光量が明るすぎると判断して光源11の光量を下げるように制御する(ステップS24)。以後、ステップS10からステップS14の処理を繰り返す。   Next, the control unit 16 counts the number of photoelectric conversion elements in which charges equal to or greater than a predetermined value (predetermined value, threshold) are stored in at least one charge storage unit (step S22) (in the present invention). Equivalent to counting means). Alternatively, a predetermined range (predetermined value, threshold) is provided for the amplitude amount B of the modulated light component reflected by the object, and the control unit 16 calculates the amplitude value B of the reflected light component that is equal to or greater than the specified range. The number of photoelectric conversion elements is counted (step S22). When the counted number of photoelectric conversion elements exceeds a certain number (step S23: Yes), the control unit 16 determines that the light amount of the light source 11 is too bright and performs control to decrease the light amount of the light source 11 (step S23). S24). Thereafter, the processing from step S10 to step S14 is repeated.

以上のように、本動作例2においては、ステップS22でカウントされた光電変換素子の数が一定数を超えると(ステップS23:Yes)、光源11の光量が明るすぎると判断して光源11の光量を下げる(ステップS24)。これにより、入射光(反射した変調光)の光量を最適に保つことができるので、入射光の光量が大きく撮像素子15において蓄積される電荷が飽和することに起因する位相差φの算出誤差の防止又は低減(すなわち距離検出精度の向上)が可能となる。これにより、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   As described above, in this operation example 2, when the number of photoelectric conversion elements counted in step S22 exceeds a certain number (step S23: Yes), the light amount of the light source 11 is determined to be too bright. The amount of light is decreased (step S24). As a result, the amount of incident light (reflected modulated light) can be kept optimal, so that the calculation error of the phase difference φ caused by the amount of incident light being large and the charge accumulated in the image sensor 15 being saturated. It is possible to prevent or reduce (that is, improve the distance detection accuracy). Thereby, it is possible to improve the distance detection accuracy and to generate a distance image with higher accuracy.

〔距離画像生成装置の動作例3〕
図7は、外乱光が比較的多く、対象物が遠い、もしくは、対象物の反射率が極端に小さい場合に起こりうる、変調光と入射光の関係を表している。図7中、正弦波51は光源から照射される変調光を表しており、正弦波52は入射光を表している。入射光52の光量は十分だが、対象物で反射した変調光成分が非常に少ないため、上記式1にて位相差φを求める際、(C1−C3)、(C2−C4)の値が小さくなる。そのため、C1、C2、C3、C4にほんの少しのノイズがのると、位相差φの値が大きく変動する可能性がある。
[Operation Example 3 of Distance Image Generating Device]
FIG. 7 shows the relationship between the modulated light and the incident light that can occur when the amount of disturbance light is relatively large and the object is far away, or the reflectance of the object is extremely small. In FIG. 7, a sine wave 51 represents modulated light emitted from a light source, and a sine wave 52 represents incident light. Since the amount of incident light 52 is sufficient, but the modulated light component reflected by the object is very small, the values of (C1-C3) and (C2-C4) are small when the phase difference φ is obtained by the above equation 1. Become. Therefore, if only a little noise is applied to C1, C2, C3, and C4, the value of the phase difference φ may greatly vary.

この入射光52の光量は十分だが、対象物で反射した変調光成分が非常に少ないことに起因する位相差φの値の変動を防止又は低減するべく、図7に示した状況下では、動作例2と同様、距離画像生成装置1は図6に示したように動作する。   In order to prevent or reduce fluctuations in the value of the phase difference φ due to the fact that the amount of incident light 52 is sufficient, but the modulated light component reflected by the object is very small, the operation is performed under the situation shown in FIG. As in Example 2, the distance image generating apparatus 1 operates as shown in FIG.

すなわち、本動作例3においては、ステップS22でカウントされた光電変換素子の数が一定数を超えると(ステップS23:Yes)、光源11の光量が明るすぎると判断して光源11の光量を下げる(ステップS24)。これにより、入射光52の光量は十分だが、対象物で反射した変調光成分が非常に少ないことに起因する位相差φの値の変動の防止又は低減(すなわち距離検出精度の向上)が可能となる。これにより、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   That is, in this operation example 3, when the number of photoelectric conversion elements counted in step S22 exceeds a certain number (step S23: Yes), it is determined that the light amount of the light source 11 is too bright and the light amount of the light source 11 is decreased. (Step S24). As a result, although the amount of incident light 52 is sufficient, it is possible to prevent or reduce the variation in the value of the phase difference φ due to the very small amount of modulated light component reflected by the object (that is, improve the distance detection accuracy). Become. Thereby, it is possible to improve the distance detection accuracy and to generate a distance image with higher accuracy.

〔距離画像生成装置の動作例4〕
撮像している対象物が一定の場合、光源11の光量と、上記式3で求めた振幅量Bは、理論上は比例する。よって、全ての光電変換素子の振幅量Bの平均値もしくは標準偏差を算出し、その値が規定範囲内に収まるように、光源11の光量を増減させてもよい。この場合、距離画像生成装置1は図8に示すように動作する。
[Operation Example 4 of Distance Image Generating Device]
When the object being imaged is constant, the light amount of the light source 11 and the amplitude amount B obtained by the above equation 3 are theoretically proportional. Therefore, the average value or standard deviation of the amplitude amount B of all the photoelectric conversion elements may be calculated, and the light amount of the light source 11 may be increased or decreased so that the value falls within the specified range. In this case, the distance image generating apparatus 1 operates as shown in FIG.

図8は、距離画像生成装置1の動作例4を説明するためのフローチャートである。以下の処理は、主に、制御部16又はこれとは別に設けられた制御部(図示せず)が行う。   FIG. 8 is a flowchart for explaining an operation example 4 of the distance image generating apparatus 1. The following processing is mainly performed by the control unit 16 or a control unit (not shown) provided separately from the control unit 16.

まず、光源11は、制御部16の同期信号に従って、対象空間に変調した光を照射する(ステップS30)。撮像素子15は、その光源11から照射され対象空間内の対象物で反射した反射光を含む入射光を受光し、光電変換素子により電荷に変換し、制御部16の同期信号に従って、その変換された電荷を複数の電荷蓄積部に振り分ける(ステップS31)。距離画像生成部17は、この振り分けられた電荷に基づいて所定演算(上記式1の演算)を行い、発光源との位相差φを算出し、画素値が距離値である距離画像を生成する。   First, the light source 11 irradiates the target space with modulated light according to the synchronization signal of the control unit 16 (step S30). The image sensor 15 receives incident light including reflected light irradiated from the light source 11 and reflected by an object in the target space, converts the incident light into charges by the photoelectric conversion element, and converts the incident light according to the synchronization signal of the control unit 16. The charged charges are distributed to a plurality of charge storage units (step S31). The distance image generation unit 17 performs a predetermined calculation (calculation of the above formula 1) based on the distributed charges, calculates a phase difference φ with the light emission source, and generates a distance image whose pixel value is a distance value. .

次に、制御部16は、全ての光電変換素子の振幅量Bの平均値もしくは標準偏差を算出(ステップS32)する。制御部16は、その値が規定範囲内(予め定められた範囲内)に収まるように、光源11の光量を増減調整する(ステップS33:No、ステップS34)。以後、ステップS30からステップS34の処理を繰り返す。   Next, the control unit 16 calculates the average value or standard deviation of the amplitude amounts B of all the photoelectric conversion elements (step S32). The control unit 16 increases or decreases the light amount of the light source 11 so that the value falls within a specified range (within a predetermined range) (step S33: No, step S34). Thereafter, the processing from step S30 to step S34 is repeated.

以上のように、本動作例4においては、距離画像の精度に影響する振幅量Bが、距離画像を求めるのに適切な範囲にある光電変換素子数(画素数ともいう)を最大にできるため、より精度の良い距離画像を得ることが可能となる。   As described above, in the fourth operation example, the amplitude amount B that affects the accuracy of the distance image can maximize the number of photoelectric conversion elements (also referred to as the number of pixels) in an appropriate range for obtaining the distance image. Thus, it is possible to obtain a distance image with higher accuracy.

〔距離画像生成装置の動作例5〕
距離画像生成装置1を室内等で固定して使用する場合、背景の輝度や距離が固定であることが多い。そのような状況で背景以外の対象物を検出する際に、背景以外の対象物のみを抽出することで、その対象物の距離画像の精度を上げることが可能である。
[Operation Example 5 of Distance Image Generating Device]
When the distance image generating device 1 is used in a room or the like, the background brightness and distance are often fixed. In detecting the object other than the background in such a situation, it is possible to improve the accuracy of the distance image of the object by extracting only the object other than the background.

例えば、背景以外の対象物の反射率が背景の反射率に比べ非常に大きい場合、もしくは対象物が背景に比べ非常に近い場合、背景の距離画像を得る時の光源11の光量のままでは、背景以外の対象物からの反射光が大きく、前記した撮像素子15において蓄積される電荷の飽和等が発生し、精度の良い距離画像が得られない可能性がある。逆に背景以外の対象物の反射率が背景の反射率に比べ非常に小さい場合も同様に精度の良い距離画像が得られない可能性がある。   For example, if the reflectance of an object other than the background is very large compared to the reflectance of the background, or if the object is very close to the background, the light amount of the light source 11 when obtaining the background distance image remains as follows: There is a possibility that the reflected light from the object other than the background is large, the charge accumulated in the image pickup device 15 is saturated, and a distance image with high accuracy cannot be obtained. Conversely, when the reflectance of the object other than the background is very small compared to the reflectance of the background, there is a possibility that a highly accurate distance image cannot be obtained.

よって、距離画像生成部17により生成された距離画像から、背景以外の対象物を抽出し、その抽出された対象物に対応する光電変換素子(画素ともいう)に対して図4や図6と同様の処理を行い、光源11の光量を制御することで、対象物の距離精度を上げることができる。この場合、距離画像生成装置1は図9、図10に示すように動作する。   Therefore, an object other than the background is extracted from the distance image generated by the distance image generation unit 17, and the photoelectric conversion elements (also referred to as pixels) corresponding to the extracted object are illustrated in FIGS. By performing the same processing and controlling the light quantity of the light source 11, the distance accuracy of the object can be increased. In this case, the distance image generating apparatus 1 operates as shown in FIGS.

図9、図10は、距離画像生成装置の動作例5を説明するためのフローチャートである。以下の処理は、主に、制御部16又はこれとは別に設けられた制御部(図示せず)が行う。   9 and 10 are flowcharts for explaining an operation example 5 of the distance image generating apparatus. The following processing is mainly performed by the control unit 16 or a control unit (not shown) provided separately from the control unit 16.

まず、光源11は、制御部16の同期信号に従って、対象空間に変調した光を照射する(ステップS40)。撮像素子15は、その光源11から照射され対象空間内の対象物で反射した反射光を含む入射光を受光し、光電変換素子により電荷に変換し、制御部16の同期信号に従って、その変換された電荷を複数の電荷蓄積部に振り分ける(ステップS41)。距離画像生成部17は、この振り分けられた電荷に基づいて所定演算(上記式1の演算)を行い、発光源との位相差φを算出し、画素値が距離値である距離画像を生成する(ステップS42)。   First, the light source 11 irradiates the modulated light into the target space according to the synchronization signal of the control unit 16 (step S40). The image sensor 15 receives incident light including reflected light irradiated from the light source 11 and reflected by an object in the target space, converts the incident light into charges by the photoelectric conversion element, and converts the incident light according to the synchronization signal of the control unit 16. The charged charges are distributed to a plurality of charge storage units (step S41). The distance image generation unit 17 performs a predetermined calculation (calculation of the above formula 1) based on the distributed charges, calculates a phase difference φ with the light emission source, and generates a distance image whose pixel value is a distance value. (Step S42).

次に、制御部16は、ステップS42で生成された距離画像から背景以外の対象物を抽出する(ステップS43)。背景以外の対象物を抽出する方法としては、背景の距離画像をメモリに保存しておき、逐次その距離画像と比較する。そして、背景とは異なる距離値を算出した画素を対象物とみなす。この際に、異常に小さい、もしくは大きい対象物を排除することで誤検出を防ぐことが可能である。   Next, the control unit 16 extracts objects other than the background from the distance image generated in step S42 (step S43). As a method for extracting an object other than the background, a background distance image is stored in a memory and sequentially compared with the distance image. And the pixel which calculated the distance value different from a background is considered as a target object. At this time, it is possible to prevent erroneous detection by eliminating an abnormally small or large object.

次に、制御部16は、ステップS43で抽出された対象物に対応する光電変換素子(画素ともいう)のうち、少なくとも一つの電荷蓄積部に規定値(予め定められた値。閾値。)以下の電荷が蓄積された光電変換素子の数をカウントする(ステップS44)。制御部16は、このカウントされた光電変換素子の数が一定数を超えると(ステップS45:Yes)、光源11の光量が暗いと判断して光源11の光量を上げるように制御する(ステップS46)。以後、ステップS40からステップS46の処理を繰り返す。   Next, the control unit 16 has a predetermined value (predetermined value, threshold) or less in at least one charge storage unit among the photoelectric conversion elements (also referred to as pixels) corresponding to the object extracted in step S43. The number of photoelectric conversion elements in which the charges are accumulated is counted (step S44). When the counted number of photoelectric conversion elements exceeds a certain number (step S45: Yes), the control unit 16 determines that the light amount of the light source 11 is dark and performs control to increase the light amount of the light source 11 (step S46). ). Thereafter, the processing from step S40 to step S46 is repeated.

あるいは、図10に示すように、制御部16は、ステップS43で抽出された対象物に対応する光電変換素子(画素ともいう)のうち、少なくとも一つの電荷蓄積部に規定値(予め定められた値。閾値。)以上の電荷が蓄積された光電変換素子の数をカウントする(ステップS47)。制御部16は、このカウントされた光電変換素子の数が一定数を超えると(ステップS48:Yes)、光源11の光量が明るすぎると判断して光源11の光量を下げるように制御する(ステップS49)。以後、ステップS40からステップS49の処理を繰り返す。   Alternatively, as illustrated in FIG. 10, the control unit 16 sets a predetermined value (predetermined in advance) in at least one charge storage unit among the photoelectric conversion elements (also referred to as pixels) corresponding to the target object extracted in step S43. Value.threshold.) The number of photoelectric conversion elements in which the above charges are accumulated is counted (step S47). When the counted number of photoelectric conversion elements exceeds a certain number (step S48: Yes), the control unit 16 determines that the light amount of the light source 11 is too bright and performs control to reduce the light amount of the light source 11 (step S48). S49). Thereafter, the processing from step S40 to step S49 is repeated.

以上のように、本動作例5においては、背景以外の対象物のみを抽出し(ステップS43)、その抽出された対象物に対応する光電変換素子に対してカウント処理(ステップS44、ステップS47)した光電変換素子の数に基づいて、発光源の光量を調整する(ステップS45:Yes、ステップS46、ステップS48:Yes、ステップS49)。これにより、その対象物に最適な光源11の光量に保つことができるので、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   As described above, in this operation example 5, only the objects other than the background are extracted (step S43), and the counting process is performed on the photoelectric conversion elements corresponding to the extracted objects (steps S44 and S47). Based on the number of the photoelectric conversion elements, the light amount of the light emitting source is adjusted (step S45: Yes, step S46, step S48: Yes, step S49). Thereby, since the light quantity of the light source 11 that is optimal for the object can be maintained, it is possible to improve distance detection accuracy and to generate a distance image with higher accuracy.

〔距離画像生成装置の動作例6〕
距離画像生成装置1を屋外等で使用する場合、もしくは距離画像生成装置を自動車等の移動体に取り付けて使用する場合等、対象物の距離が大きく変化する状況で使用する際に、検出したい距離範囲を設定することで、その範囲内にある対象物の距離検出精度を上げることが可能である。
[Operation Example 6 of Distance Image Generating Device]
When using the distance image generating device 1 outdoors, or when using the distance image generating device attached to a moving body such as an automobile, the distance to be detected when used in a situation where the distance of the object changes greatly. By setting the range, it is possible to increase the distance detection accuracy of an object within the range.

例えば、自動車の前方に取り付けて、走行時の前方障害物を監視する場合、近距離に障害物が存在しない時には、光源11の光量を上げて、遠距離の対象物まで精度よく距離計測できるようにする。しかし、近距離に対象物が存在する時には、その対象物からの反射光量が大きくなり、検出精度に影響を及ぼす可能性がある。   For example, when the vehicle is mounted in front of an automobile and monitoring a front obstacle when traveling, when there is no obstacle at a short distance, the light amount of the light source 11 can be increased to accurately measure a distance to a far object. To. However, when an object is present at a short distance, the amount of light reflected from the object increases, which may affect detection accuracy.

よって、任意の距離範囲を定め、距離画像生成部17により生成された距離画像から、その距離範囲にある対象物を抽出し、検出したい距離範囲にある対象物に最適な光源11の光量に制御することで、計測距離精度を高めることができる。   Therefore, an arbitrary distance range is determined, and an object within the distance range is extracted from the distance image generated by the distance image generation unit 17, and the light quantity of the light source 11 optimum for the object within the distance range to be detected is controlled. By doing so, the measurement distance accuracy can be increased.

例えば、自動車の前方監視において、前方に障害物が存在しない場合は、遠距離まで測定するために光源の光量を上げる。前方に障害物が存在してその障害物が一定距離以内に近づいてきた場合には、その障害物に注視する必要があるため、光源の光量をその障害物の距離に適した光量に調節する。この場合、距離画像生成装置は図11、図12に示すように動作する。   For example, when there is no obstacle ahead in monitoring the front of an automobile, the amount of light from the light source is increased to measure up to a long distance. If there is an obstacle ahead and the obstacle approaches within a certain distance, it is necessary to keep an eye on the obstacle, so adjust the light amount of the light source to a light amount suitable for the distance of the obstacle . In this case, the distance image generating apparatus operates as shown in FIGS.

図11、図12は、距離画像生成装置1の動作例6を説明するためのフローチャートである。以下の処理は、主に、制御部16又はこれとは別に設けられた制御部(図示せず)が行う。   FIGS. 11 and 12 are flowcharts for explaining an operation example 6 of the distance image generating apparatus 1. The following processing is mainly performed by the control unit 16 or a control unit (not shown) provided separately from the control unit 16.

まず、光源11は、制御部16の同期信号に従って、対象空間に変調した光を照射する(ステップS50)。撮像素子15は、その光源11から照射され対象空間内の対象物で反射した反射光を含む入射光を受光し、光電変換素子により電荷に変換し、制御部16の同期信号に従って、その変換された電荷を複数の電荷蓄積部に振り分ける(ステップS51)。距離画像生成部17は、この振り分けられた電荷に基づいて所定演算(上記式1の演算)を行い、発光源との位相差φを算出し、画素値が距離値である距離画像を生成する(ステップS52)。   First, the light source 11 irradiates the modulated light into the target space according to the synchronization signal of the control unit 16 (step S50). The image sensor 15 receives incident light including reflected light irradiated from the light source 11 and reflected by an object in the target space, converts the incident light into charges by the photoelectric conversion element, and converts the incident light according to the synchronization signal of the control unit 16. The charged charges are distributed to a plurality of charge storage units (step S51). The distance image generation unit 17 performs a predetermined calculation (calculation of the above formula 1) based on the distributed charges, calculates a phase difference φ with the light emission source, and generates a distance image whose pixel value is a distance value. (Step S52).

次に、制御部16は、ステップS52で生成された距離画像から予め定められた任意の距離範囲にある対象物を抽出する(ステップS53)。任意の距離範囲にある対象物を抽出する方法としては、予め定められた任意の距離範囲内にある画素を対象物とみなすことが考えられる。この際に、異常に小さい、もしくは大きい対象物を排除することで誤検出を防ぐことが可能である。   Next, the control part 16 extracts the target object in arbitrary distance ranges predetermined from the distance image produced | generated by step S52 (step S53). As a method for extracting an object within an arbitrary distance range, it is conceivable to consider pixels within an arbitrary predetermined distance range as an object. At this time, it is possible to prevent erroneous detection by eliminating an abnormally small or large object.

次に、制御部16は、ステップS53で抽出された対象物に対応する光電変換素子(画素ともいう)のうち、少なくとも一つの電荷蓄積部に規定値(予め定められた値。閾値。)以下の電荷が蓄積された光電変換素子の数をカウントする(ステップS54)。制御部16は、このカウントされた光電変換素子の数が一定数を超えると(ステップS55:Yes)、光源11の光量が暗いと判断して光源11の光量を上げるように制御する(ステップS56)。   Next, the control unit 16 has a predetermined value (predetermined value, threshold) or less in at least one charge storage unit among the photoelectric conversion elements (also referred to as pixels) corresponding to the object extracted in step S53. The number of photoelectric conversion elements in which the charges are accumulated is counted (step S54). When the counted number of photoelectric conversion elements exceeds a certain number (step S55: Yes), the control unit 16 determines that the light amount of the light source 11 is dark and performs control to increase the light amount of the light source 11 (step S56). ).

あるいは、図12に示すように、制御部16は、ステップS53で抽出された対象物に対応する光電変換素子(画素)のうち、少なくとも一つの電荷蓄積部に規定値(予め定められた値。閾値。)以上の電荷が蓄積された光電変換素子の数をカウントする(ステップS57)。制御部16は、このカウントされた光電変換素子の数が一定数を超えると(ステップS58:Yes)、光源11の光量が明るすぎると判断して光源11の光量を下げるように制御する(ステップS59)。以後、ステップS50からステップS59の処理を繰り返す。   Alternatively, as illustrated in FIG. 12, the control unit 16 sets a predetermined value (a predetermined value) in at least one charge storage unit among the photoelectric conversion elements (pixels) corresponding to the object extracted in step S <b> 53. Threshold value.) The number of photoelectric conversion elements in which the above charges are accumulated is counted (step S57). When the counted number of photoelectric conversion elements exceeds a certain number (step S58: Yes), the control unit 16 determines that the light amount of the light source 11 is too bright and performs control to reduce the light amount of the light source 11 (step S58). S59). Thereafter, the processing from step S50 to step S59 is repeated.

以上のように、本動作例6においては、検出したい距離範囲にある対象物を抽出し(ステップS53)、その抽出された対象物に対応する光電変換素子に対してカウント処理(ステップS54、ステップS57)した光電変換素子の数に基づいて、発光源の光量を調整する(ステップS55:Yes、ステップS56、ステップS58:Yes、ステップS59)。これにより、その距離範囲にある対象物に最適な光源11の光量に保つことができるので、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   As described above, in the present operation example 6, the object within the distance range to be detected is extracted (step S53), and the count process is performed on the photoelectric conversion element corresponding to the extracted object (step S54, step S54). Based on the number of photoelectric conversion elements S57), the light amount of the light emitting source is adjusted (Step S55: Yes, Step S56, Step S58: Yes, Step S59). As a result, the light quantity of the light source 11 that is optimal for the object within the distance range can be maintained, so that it is possible to improve the distance detection accuracy and to generate a distance image with higher accuracy.

なお、屋外のような広い場所を撮像すると、近距離の道路から無限遠まで幅広い距離範囲の対象物が写ってしまう。この場合、空が写る画像上部、もしくは自動車の一部や道路が写る画像下部を排除するなど、画像上での対象範囲を予め絞ってもよい。   Note that if a wide place such as the outdoors is imaged, an object in a wide distance range from a short distance road to infinity is captured. In this case, the target range on the image may be narrowed down in advance, for example, by removing the upper part of the image showing the sky or the lower part of the image showing a part of a car or a road.

距離画像から任意の対象距離範囲内にある物体を対象物とみなすようにしてもよい。この際に、検出した対象物の大きさに制約を設けることで、誤検出を防ぐことも可能である。また、形状で絵制約を設けてもよい。   You may make it consider the object in arbitrary target distance ranges from a distance image as a target object. At this time, it is possible to prevent erroneous detection by providing a restriction on the size of the detected object. Moreover, you may provide picture restrictions by a shape.

〔距離画像生成装置の動作例7〕
対象距離範囲が複数ある場合、もしくは異なる距離、反射率を持つ複数の対象物がある場合等で、光源11の光量が1種類では対象物の距離を精度良く測定できない場合、フレーム間で複数の光量を順次変化させることで、これらの複数の対象物の距離を精度良く測定することが可能になる。
[Operation Example 7 of Distance Image Generating Device]
When there are a plurality of target distance ranges, or when there are a plurality of objects having different distances and reflectivities, etc., when the amount of light from the light source 11 cannot be measured with high accuracy, the distance between the objects cannot be accurately measured. By sequentially changing the amount of light, it is possible to accurately measure the distance between the plurality of objects.

例えば、0〜30mを対象測定範囲とした場合で、0〜15m、15〜30mでは、最適な光源11の光量が異なる場合、1種類の光源11の光量では精度の良い距離計測ができない可能性がある。そのような場合、フレーム毎に0〜15m、15〜30mに適した光源11の光量を切り替えて距離計測することで、広い距離範囲の対象物を精度良く検出することが可能になる。ここで1フレームとは、1つの距離画像を得る時間のことで、この場合、0〜15m、15〜30mの2フレーム時間で1つの距離画像を生成する。この場合、距離画像生成装置は図13に示すように動作する。   For example, when the target measurement range is 0 to 30 m, and the optimal light amount of the light source 11 is different from 0 to 15 m and 15 to 30 m, there is a possibility that accurate distance measurement cannot be performed with the light amount of one type of light source 11. There is. In such a case, it is possible to accurately detect objects in a wide distance range by switching the light amount of the light source 11 suitable for 0 to 15 m and 15 to 30 m for each frame and measuring the distance. Here, one frame is a time for obtaining one distance image. In this case, one distance image is generated in two frame times of 0 to 15 m and 15 to 30 m. In this case, the distance image generating apparatus operates as shown in FIG.

図13は、距離画像生成装置の動作例7を説明するためのフローチャートである。以下の処理は、主に、制御部16又はこれとは別に設けられた制御部(図示せず)が行う。   FIG. 13 is a flowchart for explaining an operation example 7 of the distance image generating apparatus. The following processing is mainly performed by the control unit 16 or a control unit (not shown) provided separately from the control unit 16.

まず、光源11は、制御部16の同期信号に従って、対象空間に変調した光を、0〜15mに適した光量で照射する(ステップS60、S61)。撮像素子15は、その光源11から照射された対象空間内の対象物で反射した反射光を含む入射光を受光し、光電変換素子により電荷に変換し、制御部16の同期信号に従って、その変換された電荷を複数の電荷蓄積部に振り分ける(ステップS62)。   First, the light source 11 irradiates light modulated in the target space with a light amount suitable for 0 to 15 m in accordance with the synchronization signal of the control unit 16 (steps S60 and S61). The imaging device 15 receives incident light including reflected light reflected by the object in the target space irradiated from the light source 11, converts the incident light into charges by the photoelectric conversion element, and converts the light according to the synchronization signal of the control unit 16. The generated charges are distributed to a plurality of charge storage units (step S62).

1フレーム時間が経過すると(ステップS63:Yes)、光源11は、制御部16の同期信号に従って、対象空間に変調した光を、15〜30mに適した光量で照射する(ステップS64、S65)。撮像素子15は、その光源11から照射された対象空間内の対象物で反射した反射光を含む入射光を受光し、光電変換素子により電荷に変換し、制御部16の同期信号に従って、その変換された電荷を複数の電荷蓄積部に振り分ける(ステップS66)。   When one frame time has elapsed (step S63: Yes), the light source 11 irradiates the modulated light into the target space with a light amount suitable for 15 to 30 m in accordance with the synchronization signal of the control unit 16 (steps S64 and S65). The imaging device 15 receives incident light including reflected light reflected by the object in the target space irradiated from the light source 11, converts the incident light into charges by the photoelectric conversion element, and converts the light according to the synchronization signal of the control unit 16. The generated charges are distributed to a plurality of charge storage units (step S66).

そして、1フレーム時間が経過すると(ステップS67:Yes)、距離画像生成部17は、ステップS62で振り分けられた電荷に基づいて所定演算を行うことにより得られた0〜15m内の対象物の距離値、及び、ステップS66で振り分けられた電荷に基づいて所定演算を行うことにより得られた15〜30m内の対象物の距離値を含む距離画像を生成する(ステップS68)。以後、ステップS60からステップS68の処理を繰り返す。   And when 1 frame time passes (step S67: Yes), the distance image generation part 17 will be the distance of the target object within 0-15m obtained by performing a predetermined calculation based on the electric charge distributed at step S62. A distance image including a distance value of an object within 15 to 30 m obtained by performing a predetermined calculation based on the value and the charge distributed in step S66 is generated (step S68). Thereafter, the processing from step S60 to step S68 is repeated.

以上のように、本動作例7においては、フレーム毎に0〜15m、15〜30mに適した光源11の光量を切り替えて距離計測することで(ステップS60、S64)、広い距離範囲の対象物を精度良く検出することが可能になる。また、複数の対象物の距離を精度良く測定することが可能になる。これにより、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。   As described above, in the seventh operation example, by measuring the distance by switching the light amount of the light source 11 suitable for 0 to 15 m and 15 to 30 m for each frame (steps S60 and S64), the object in a wide distance range. Can be detected with high accuracy. Moreover, it becomes possible to measure the distance of a several target object with sufficient precision. Thereby, it is possible to improve the distance detection accuracy and to generate a distance image with higher accuracy.

なお、本動作例では2種類の距離範囲に分割したが、2種類以上の範囲に分割しても良い。また、距離範囲別ではなく、複数の反射率を持つ対象物別、複数の距離を持つ対象物別に光量の種類を分割しても良い。   In this operation example, the distance is divided into two types of distance ranges, but may be divided into two or more types of ranges. Also, the type of light quantity may be divided not for each distance range but for each object having a plurality of reflectances and each object having a plurality of distances.

以上説明したように、本実施形態の距離画像生成装置1によれば、発光源11の光量を変化させるように構成したので、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。また、発光源11の光量が常に一定ではないので、余計な発光電力を抑えることも可能となる(特に光量が減少する方向に調整される場合)。   As described above, according to the distance image generation device 1 of the present embodiment, since the light amount of the light source 11 is changed, the distance detection accuracy is improved and the distance image is generated with higher accuracy. It becomes possible. In addition, since the light amount of the light source 11 is not always constant, it is possible to suppress excessive light emission power (particularly when the light amount is adjusted in a direction in which the light amount decreases).

〔第二実施形態〕
次に、本発明の第二実施形態である距離画像生成装置について図面を参照しながら説明する。
[Second Embodiment]
Next, a distance image generating apparatus according to a second embodiment of the present invention will be described with reference to the drawings.

〔距離画像生成装置の構成〕
外で車両前方の距離を測定する場合、一般的に画像上部は空などの比較的距離が遠いものが撮像され、逆に画像下部は、道路もしくは自車両の一部など比較的距離が近いものが多く撮像される。よって、画像上の位置毎に光量が可変であることが望ましい。
[Configuration of Distance Image Generation Device]
When measuring the distance in front of the vehicle outside, generally the upper part of the image is taken at a relatively far distance, such as the sky, and conversely the lower part of the image is at a relatively close distance such as a road or part of the host vehicle. Many images are taken. Therefore, it is desirable that the amount of light is variable for each position on the image.

本実施形態の距離画像生成装置は、画像上の位置毎に発光源11の光量を可変にできるようにしたものであり、第一実施形態の距離画像生成装置1と略同様の構成であるが、次の点が相違する。   The distance image generation apparatus of the present embodiment is configured so that the light amount of the light source 11 can be varied for each position on the image, and has a configuration substantially similar to that of the distance image generation apparatus 1 of the first embodiment. The following points are different.

図14は、本発明の第二実施形態である距離画像生成装置の光源の正面図である。   FIG. 14 is a front view of the light source of the distance image generating apparatus according to the second embodiment of the present invention.

第一に、図14に示すように、発光源11が、対象空間に変調した光を照射する複数のLED等の発光体11a(図14では108個の発光体11aを例示)で構成されている点が異なる。図14では、複数の発光体11aを、複数の領域61〜69に分割し、それぞれの領域61〜69の発光体11aに異なる照射エリアを持たせている。   First, as shown in FIG. 14, the light source 11 is composed of a plurality of light emitters 11 a such as LEDs that irradiate modulated light into the target space (108 light emitters 11 a are illustrated in FIG. 14). Is different. In FIG. 14, the plurality of light emitters 11a are divided into a plurality of regions 61 to 69, and the light emitters 11a in the respective regions 61 to 69 have different irradiation areas.

第二に、それぞれの領域61〜69の発光体11aの光量を独立して調整できるように構成されている点が異なる。なお、この光量の調整は、第一実施形態と同様、主に、制御部16又はこれとは別に設けられた制御部(図示せず)が行う。   The second difference is that the light quantity of the light emitters 11a in the respective regions 61 to 69 can be adjusted independently. In addition, adjustment of this light quantity is mainly performed by the control part 16 or the control part (not shown) provided separately from this similarly to 1st embodiment.

第三に、複数の光電変換素子(画素ともいう)を、それぞれの領域61〜69の発光体11aの異なる照射エリアに対応して複数の光電変換素子エリアに分割している点。図15では、複数の光電変換素子エリア71〜79に分割している点が異なる。   Third, a plurality of photoelectric conversion elements (also referred to as pixels) are divided into a plurality of photoelectric conversion element areas corresponding to different irradiation areas of the light emitters 11a in the respective regions 61 to 69. FIG. 15 is different in that it is divided into a plurality of photoelectric conversion element areas 71 to 79.

第四に、第一実施形態で説明した距離画像生成装置1の動作例1〜7に示した処理を、光電変換素子エリア71〜79ごとに行い、光電変換素子エリア71〜79に対応する領域61〜69ごとに、発光体11aの光量を独立して制御する点が異なる。   Fourth, the processing shown in the operation examples 1 to 7 of the distance image generation device 1 described in the first embodiment is performed for each of the photoelectric conversion element areas 71 to 79, and the area corresponding to the photoelectric conversion element areas 71 to 79. The point which controls the light quantity of the light-emitting body 11a independently for every 61-69 differs.

他の点については第一実施形態と同様である。   Other points are the same as in the first embodiment.

図15は、自動車前方に搭載した本実施形態の距離画像生成装置により撮像した画像である。図15中、符号700は画像全体を示しており、符号71〜79はそれぞれ発光体11aの分割エリア61〜69の照射範囲に対応している。ここで、前述した光量を調整するための演算画素範囲を図15の分割範囲71〜79に対応して分割する。   FIG. 15 is an image captured by the distance image generation device of the present embodiment mounted in front of the automobile. In FIG. 15, reference numeral 700 denotes the entire image, and reference numerals 71 to 79 correspond to the irradiation ranges of the divided areas 61 to 69 of the light emitter 11a, respectively. Here, the above-described calculation pixel range for adjusting the light quantity is divided corresponding to the division ranges 71 to 79 in FIG.

一般的に画像上部は空などの比較的距離が遠いものが撮像されるため、光量は大きくなる。逆に画像下部は道路などの比較的近距離の対象物が撮像されるため、画像下部に比べ光量は小さくなると予想される。   In general, the upper part of the image is picked up from a relatively far distance such as the sky, so the amount of light increases. Conversely, the lower part of the image captures an object at a relatively short distance, such as a road, so that the amount of light is expected to be smaller than the lower part of the image.

本実施形態では、図15の符号73、76、79で示す領域は比較的近距離のため、光源11からの変調光の反射成分が多い。この場合、例えば、光電変換素子エリア71〜79ごとに図6の処理を行い、カウントされた光電変換素子の数が一定数を超えた光電変換素子エリア(例えば光電変換素子エリア73、76、70)に対応する領域(例えば領域63、66、69)の発光体11a光量を下げる。   In the present embodiment, the regions indicated by reference numerals 73, 76, and 79 in FIG. 15 have a relatively short distance, so that there are many reflection components of the modulated light from the light source 11. In this case, for example, the process of FIG. 6 is performed for each of the photoelectric conversion element areas 71 to 79, and the photoelectric conversion element areas in which the counted number of photoelectric conversion elements exceeds a certain number (for example, photoelectric conversion element areas 73, 76, and 70). ) In the region corresponding to (for example, the regions 63, 66, and 69), the light amount of the light emitter 11a is decreased.

一方、図15の符号71、74、77で示す領域は、主に空などの遠距離のものが写っているため、対応する領域61、64、67の光量を上げる必要がある。この場合、例えば、光電変換素子エリア71〜79ごとに図4の処理を行い、カウントされた光電変換素子の数が一定数を超えた光電変換素子エリア(例えば光電変換素子エリア71、74、77)に対応する領域(例えば領域61、64、67)の発光体11aの光量を上げる。なお、図15のように信号機などが写っている光電変換素子エリアについては、図4又は図6の処理により対応する領域の発光体11aの光量を調節する。   On the other hand, since the areas indicated by reference numerals 71, 74, and 77 in FIG. 15 mainly include objects at a long distance such as the sky, it is necessary to increase the amount of light in the corresponding areas 61, 64, and 67. In this case, for example, the process of FIG. 4 is performed for each of the photoelectric conversion element areas 71 to 79, and the number of photoelectric conversion elements counted exceeds a certain number (for example, photoelectric conversion element areas 71, 74, and 77). ) In the region corresponding to (for example, the regions 61, 64, 67) is increased. For the photoelectric conversion element area in which a traffic light or the like is shown as shown in FIG. 15, the light amount of the light emitter 11a in the corresponding region is adjusted by the processing of FIG. 4 or FIG.

本実施形態では分割エリアが9つの例について説明したが本発明はこれに限定されない。分割エリアは9つよりも多くてもよいし、9つより少なくてもよい。また、光源11の照射領域と撮像素子の分割領域の対応がとれていれば、光源11の分割数と光電変換素子の分割数が異なっていても良い。   In the present embodiment, an example in which there are nine divided areas has been described, but the present invention is not limited to this. There may be more than nine divided areas or fewer than nine. Further, the number of divisions of the light source 11 and the number of divisions of the photoelectric conversion element may be different as long as the correspondence between the irradiation region of the light source 11 and the division region of the image sensor is taken.

以上説明したように、本実施形態の距離画像生成装置によれば、発光源11(発光体11a)の光量を光電変換素子エリア(画像領域)ごとに最適に調整できるので、距離検出精度の向上、及び、より精度の高い距離画像の生成が可能となる。また、発光源11(発光体11a)の光量が常に一定ではないので、余計な発光電力を抑えることも可能となる(特に光量が減少する方向に調整される場合)。   As described above, according to the distance image generation apparatus of the present embodiment, the light amount of the light source 11 (light emitter 11a) can be optimally adjusted for each photoelectric conversion element area (image area), so that the distance detection accuracy is improved. Further, it is possible to generate a distance image with higher accuracy. In addition, since the light amount of the light source 11 (light emitter 11a) is not always constant, it is possible to suppress unnecessary light emission power (particularly when the light amount is adjusted in the direction in which the light amount decreases).

上記実施形態はあらゆる点で単なる例示にすぎない。これらの記載によって本発明は限定的に解釈されるものではない。本発明はその精神又は主要な特徴から逸脱することなく他の様々な形で実施することができる。   The above embodiment is merely an example in all respects. The present invention is not construed as being limited to these descriptions. The present invention can be implemented in various other forms without departing from the spirit or main features thereof.

1…距離画像生成装置、10…光飛行時間型距離画像センサ(距離画像センサ)、11…光源、11a…発光体、14…入射光、15…撮像素子、16…制御部、17…距離画像生成部、61〜69…分割エリア、71〜79…光電変換素子エリア、φ…位相差   DESCRIPTION OF SYMBOLS 1 ... Distance image production | generation apparatus, 10 ... Optical time-of-flight type distance image sensor (distance image sensor), 11 ... Light source, 11a ... Luminescent body, 14 ... Incident light, 15 ... Image sensor, 16 ... Control part, 17 ... Distance image Generation part, 61-69 ... division | segmentation area, 71-79 ... photoelectric conversion element area, (phi) ... phase difference

Claims (7)

対象空間に変調した変調光を照射する発光源と、
前記発光源から照射され対象空間内の対象物で反射した反射光を受光して電荷に変換する複数の光電変換素子、前記光電変換素子ごとに設けられた複数の電荷蓄積部、及び、前記発光源の変調に同期して、前記光電変換素子により変換された電荷を前記複数の電荷蓄積部に振り分ける手段と、を備えた撮像素子と、
前記複数の電荷蓄積部に蓄積された電荷に基づいて所定演算を行い、画素値が距離値である距離画像を生成する距離画像生成部と、
前記発光源の変調光の光量を調整する光量調整手段と、
前記複数の電荷蓄積部に蓄積された電荷に基づいて、前記発光源から照射され対象空間内の対象物で反射した反射光成分の振幅値を演算する演算手段と、
前記演算手段により予め定められた範囲外の反射光成分の振幅値が演算された前記光電変換素子の数をカウントするカウント手段と、
を備え、
前記光量調整手段は、前記カウント手段によりカウントされた光電変換素子の数が一定数を越えたとき、前記発光源の変調光の光量を下げるように調整することを特徴とする距離画像生成装置。
A light source that emits modulated light to the target space;
A plurality of photoelectric conversion elements that receive reflected light irradiated from the light emitting source and reflected by an object in a target space and convert it into charges, a plurality of charge storage units provided for each of the photoelectric conversion elements, and the light emission Means for distributing the charges converted by the photoelectric conversion elements to the plurality of charge storage units in synchronization with the modulation of the source, and
A distance image generation unit that performs a predetermined calculation based on the charges accumulated in the plurality of charge accumulation units and generates a distance image in which a pixel value is a distance value;
A light amount adjusting means for adjusting a light amount of the modulated light of the light source;
An arithmetic means for calculating an amplitude value of a reflected light component irradiated from the light source and reflected by an object in a target space based on the charges accumulated in the plurality of charge accumulating units;
Counting means for counting the number of the photoelectric conversion elements in which the amplitude value of the reflected light component outside the predetermined range is calculated by the calculating means;
With
The distance image generating apparatus according to claim 1, wherein the light amount adjusting unit adjusts the light amount of the modulated light of the light source when the number of photoelectric conversion elements counted by the counting unit exceeds a certain number.
前記距離画像生成部により生成された距離画像から背景以外の対象物を抽出する抽出手段をさらに備えており、
前記カウント手段は、前記抽出手段により抽出された対象物に対応する前記光電変換素子に対して前記カウントする処理を行うことを特徴とする請求項1に記載の距離画像生成装置。
An extraction means for extracting an object other than the background from the distance image generated by the distance image generation unit;
The range image generating apparatus according to claim 1, wherein the counting unit performs the counting process on the photoelectric conversion element corresponding to the object extracted by the extracting unit.
前記距離画像生成部により生成された距離画像から予め定められた距離範囲内の対象物を抽出する抽出手段をさらに備えており、
前記カウント手段は、前記抽出手段により抽出された対象物に対応する前記光電変換素子に対して前記カウントする処理を行うことを特徴とする請求項1に記載の距離画像生成装置。
An extraction means for extracting an object within a predetermined distance range from the distance image generated by the distance image generation unit;
The range image generating apparatus according to claim 1, wherein the counting unit performs the counting process on the photoelectric conversion element corresponding to the object extracted by the extracting unit.
前記光量調整手段は、フレーム時間毎に前記発光源の変調光の光量を変化させることを特徴とする請求項1から3のいずれかに記載の距離画像生成装置。   4. The distance image generating apparatus according to claim 1, wherein the light amount adjusting unit changes a light amount of the modulated light of the light emitting source every frame time. 5. 前記発光源は、対象空間に変調した変調光を照射する複数の発光体を備えており、
前記複数の発光体は、複数の領域に分割されており、
前記複数の光電変換素子は、前記複数の領域に対応して複数の光電変換素子エリアに分割されており、
前記光量調整手段は、前記分割された光電変換素子エリアごとに、前記カウント手段によりカウントされた前記光電変換素子の数に基づいて、該分割された光電変換素子エリアに対応するエリアを照射する発光体の変調光の光量を調整することを特徴とする請求項1に記載の距離画像生成装置。
The light-emitting source includes a plurality of light emitters that irradiate modulated light in a target space,
The plurality of light emitters are divided into a plurality of regions,
The plurality of photoelectric conversion elements are divided into a plurality of photoelectric conversion element areas corresponding to the plurality of regions,
The light amount adjusting unit emits light for irradiating an area corresponding to the divided photoelectric conversion element area based on the number of the photoelectric conversion elements counted by the counting unit for each divided photoelectric conversion element area. The distance image generating apparatus according to claim 1, wherein the amount of modulated light of the body is adjusted.
前記距離画像生成部により生成された距離画像から背景以外の対象物を抽出する抽出手段をさらに備えており、
前記カウント手段は、前記抽出手段により抽出された対象物に対応する前記光電変換素子に対して前記カウントする処理を行うことを特徴とする請求項5に記載の距離画像生成装置。
An extraction means for extracting an object other than the background from the distance image generated by the distance image generation unit;
The distance image generating apparatus according to claim 5, wherein the counting unit performs the counting process on the photoelectric conversion element corresponding to the object extracted by the extracting unit.
前記距離画像生成部により生成された距離画像から予め定められた距離範囲内の対象物を抽出する抽出手段をさらに備えており、
前記カウント手段は、前記抽出手段により抽出された対象物に対応する前記光電変換素子に対して前記カウントする処理を行うことを特徴とする請求項5に記載の距離画像生成装置。
An extraction means for extracting an object within a predetermined distance range from the distance image generated by the distance image generation unit;
The distance image generating apparatus according to claim 5, wherein the counting unit performs the counting process on the photoelectric conversion element corresponding to the object extracted by the extracting unit.
JP2012107826A 2012-05-09 2012-05-09 Distance image generator Expired - Fee Related JP5190721B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012107826A JP5190721B2 (en) 2012-05-09 2012-05-09 Distance image generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012107826A JP5190721B2 (en) 2012-05-09 2012-05-09 Distance image generator

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007081763A Division JP5190663B2 (en) 2007-03-27 2007-03-27 Distance image generator

Publications (2)

Publication Number Publication Date
JP2012185171A JP2012185171A (en) 2012-09-27
JP5190721B2 true JP5190721B2 (en) 2013-04-24

Family

ID=47015349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012107826A Expired - Fee Related JP5190721B2 (en) 2012-05-09 2012-05-09 Distance image generator

Country Status (1)

Country Link
JP (1) JP5190721B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5190663B2 (en) * 2007-03-27 2013-04-24 スタンレー電気株式会社 Distance image generator
JP6846708B2 (en) * 2017-03-30 2021-03-24 パナソニックIpマネジメント株式会社 Image recognition device and distance image generation method
WO2020013570A1 (en) * 2018-07-09 2020-01-16 엘지이노텍 주식회사 Method and device for outputting light

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05264719A (en) * 1992-03-19 1993-10-12 Nec Corp Laser rader apparatus
JP3183598B2 (en) * 1993-12-14 2001-07-09 三菱電機株式会社 Obstacle detection device
JP2001280951A (en) * 2000-03-31 2001-10-10 Omron Corp Optical displacement gage
JP4000760B2 (en) * 2000-08-28 2007-10-31 松下電工株式会社 Optical displacement measuring device
JP4363296B2 (en) * 2004-10-01 2009-11-11 パナソニック電工株式会社 Distance image sensor
JP4200328B2 (en) * 2005-04-18 2008-12-24 パナソニック電工株式会社 Spatial information detection system
JP5665159B2 (en) * 2007-02-23 2015-02-04 パナソニックIpマネジメント株式会社 Distance image sensor
JP4993084B2 (en) * 2007-03-20 2012-08-08 株式会社Ihi Laser monitoring device
JP5190663B2 (en) * 2007-03-27 2013-04-24 スタンレー電気株式会社 Distance image generator
JP2008241434A (en) * 2007-03-27 2008-10-09 Stanley Electric Co Ltd Distance image generation device

Also Published As

Publication number Publication date
JP2012185171A (en) 2012-09-27

Similar Documents

Publication Publication Date Title
JP5190663B2 (en) Distance image generator
US20210181317A1 (en) Time-of-flight-based distance measurement system and method
JP6676866B2 (en) Ranging imaging device and solid-state imaging device
US11624835B2 (en) Processing of LIDAR images
CN111025317B (en) Adjustable depth measuring device and measuring method
JP2009192499A (en) Apparatus for generating distance image
CN111830530B (en) Distance measuring method, system and computer readable storage medium
US20180299552A1 (en) Accurate photo detector measurements for lidar
US20180259647A1 (en) Imaging device and solid-state imaging element used in same
CN110709722B (en) Time-of-flight camera
JP6020547B2 (en) Image acquisition apparatus and method
WO2014097539A1 (en) Device for three-dimensional measurement, and method for three-dimensional measurement
JP6435513B2 (en) Ranging imaging apparatus, ranging method thereof, solid-state imaging device
CN111025321B (en) Variable-focus depth measuring device and measuring method
JP2010175435A (en) Three-dimensional information detecting apparatus and three-dimensional information detecting method
CN111766596A (en) Distance measuring method, system and computer readable storage medium
CN111796295B (en) Collector, manufacturing method of collector and distance measuring system
JP2012225807A (en) Distance image camera and distance image synthesis method
JP2006046959A (en) Image processing device
JP5190721B2 (en) Distance image generator
JP2020020612A (en) Distance measuring device, method for measuring distance, program, and mobile body
KR20120043843A (en) The three-dimensional imaging pulsed laser radar system using Geiger-mode avalanche photo-diode focal plane array and Auto-focusing method for the same
JP2020160044A (en) Distance measuring device and distance measuring method
JP2018021776A (en) Parallax calculation system, mobile body, and program
JP6776692B2 (en) Parallax calculation system, mobiles and programs

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130104

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130117

R150 Certificate of patent or registration of utility model

Ref document number: 5190721

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160208

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees