JPH0968643A - Range finder system and autofocusing camera - Google Patents

Range finder system and autofocusing camera

Info

Publication number
JPH0968643A
JPH0968643A JP22180395A JP22180395A JPH0968643A JP H0968643 A JPH0968643 A JP H0968643A JP 22180395 A JP22180395 A JP 22180395A JP 22180395 A JP22180395 A JP 22180395A JP H0968643 A JPH0968643 A JP H0968643A
Authority
JP
Japan
Prior art keywords
photoelectric conversion
conversion element
distance
time
integration
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
JP22180395A
Other languages
Japanese (ja)
Inventor
Kenji Nakamura
研史 中村
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP22180395A priority Critical patent/JPH0968643A/en
Priority to US08/697,568 priority patent/US5808291A/en
Publication of JPH0968643A publication Critical patent/JPH0968643A/en
Priority to US09/084,089 priority patent/US5939705A/en
Pending legal-status Critical Current

Links

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a range finder system and an autofocusing camera equipped with the system capable of surely and rapidly performing range-finding by changing integral time in accordance with the brightness of an image formed on a line sensor for range finder. SOLUTION: A photoelectric conversion element 33 constituting left and right line sensors 31 and 32 is provided with a latch part 33c for outputting a latch signal when potential rising due to charge storage reaches a specified value. The elapsed time from starting the charge storage till inputting the latch signal is measured by counters 34 and 35. The brightness of the brightest part of the image on the line sensors 31 and 32 is detected based on the time when the first latch signal is inputted in the counters 34 and 35. When the latch signal exceeds specified minimum integral time, the integration is finished at that time, and when the signal does not exceed it, the integration is finished in the minimum integral time.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、受光素子に結像す
る1対の像の位置から測距対象までの距離を検出する測
距システムおよびそれを用いたオートフォーカスカメラ
に関するものであり、特に、受光素子の積分時間の設定
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distance measuring system for detecting a distance from a position of a pair of images formed on a light receiving element to a distance measuring object and an autofocus camera using the distance measuring system. , Relating to the setting of the integration time of the light receiving element.

【0002】[0002]

【従来の技術】従来よりオートフォーカスカメラでは、
被写体からの光を1対のラインセンサに導いて2つの像
を形成し、それらの像位置の差から被写体までの距離を
検出して撮影レンズの焦点調節を行っている。具体的に
は、測距用の光学系により被写体からの光を光電変換素
子から成る1対のラインセンサに導いて結像させ、光電
変換素子の蓄積電荷を2つのラインセンサ間で画素ごと
に比較する相関演算を行って、2つの被写体像の距離を
検出する。2つの被写体像の距離は、測距用光学系とラ
インセンサとの間隔等の測距系の幾何的条件および被写
体までの距離に依存して定まるものであり、逆に、2つ
の被写体像の距離が求められると、測距系の幾何的条件
からから被写体までの距離が算出される。こうして算出
した被写体までの距離に応じて撮影レンズの焦点位置を
調節するモーターを制御することにより、被写体に対し
て自動的に焦点調節が行われる。
2. Description of the Related Art Conventionally, in autofocus cameras,
The light from the subject is guided to a pair of line sensors to form two images, and the distance to the subject is detected from the difference between the image positions to adjust the focus of the photographing lens. Specifically, the optical system for distance measurement guides the light from the subject to a pair of line sensors composed of photoelectric conversion elements to form an image, and the accumulated charge of the photoelectric conversion elements for each pixel between the two line sensors. A correlation calculation for comparison is performed to detect the distance between the two subject images. The distance between the two object images is determined depending on the geometric conditions of the distance measuring system such as the distance between the distance measuring optical system and the line sensor and the distance to the object. When the distance is obtained, the distance to the subject is calculated from the geometric condition of the distance measuring system. The focus is automatically adjusted for the subject by controlling the motor that adjusts the focus position of the taking lens according to the distance to the subject calculated in this way.

【0003】一眼レフカメラの自動焦点調節において
は、撮影レンズを透過して入射した光を1対のラインセ
ンサに導いて、1対の被写体像を結像させる。通常、こ
れら2つの像の距離が合焦時の距離に一致するように、
撮影レンズの焦点調節モーターを駆動する。この場合、
被写体までの距離を算出することなく直接自動焦点調節
がなされることになるが、必要に応じて、検出した被写
体像間距離および測距系の幾何的条件から被写体までの
距離を算出することも行われる。
In automatic focus adjustment of a single-lens reflex camera, the light that has passed through the taking lens and is incident is guided to a pair of line sensors to form a pair of subject images. Normally, the distance between these two images should match the distance when focusing,
Drives the focus adjustment motor of the taking lens. in this case,
Automatic focus adjustment will be performed directly without calculating the distance to the subject, but if necessary, the distance to the subject can be calculated from the detected subject-to-image distance and the geometric conditions of the ranging system. Done.

【0004】本出願人は、測距演算の詳しい方法につい
て公開特許公報・昭59−126517号に示した。
The applicant of the present invention has disclosed a detailed method of distance measurement calculation in Japanese Patent Laid-Open Publication No. 59-126517.

【0005】[0005]

【発明が解決しようとする課題】上記の方法で被写体ま
での距離を算出するためには、ラインセンサに結像した
像がある程度以上の明るさを有していることが必須の条
件である。像が一様に暗いと、相関演算の信頼性が低く
なり、被写体像間距離を求めることが不可能となる。こ
のようなときは、被写体に対して正しく焦点を合わせる
ことができなくなるから、ラインセンサの受光量をある
程度以上にする必要がある。
In order to calculate the distance to the subject by the above method, it is an essential condition that the image formed on the line sensor has a certain level of brightness. If the image is uniformly dark, the reliability of the correlation calculation becomes low, and it becomes impossible to obtain the distance between the subject images. In such a case, it becomes impossible to properly focus on the subject, and thus it is necessary to set the light receiving amount of the line sensor to a certain level or more.

【0006】このため従来では、光電変換と電荷の蓄積
を行う時間すなわち積分時間を、平均的な明るさの被写
体が十分な明るさの像となるように所定の値に設定して
いた。そして、所定時間の積分を終了後、全光電変換素
子の蓄積電荷を演算装置に読み出し、相関演算やコント
ラスト演算を行うと同時に受光光量が十分であるか否か
を判定していた。
Therefore, conventionally, the time for performing photoelectric conversion and charge accumulation, that is, the integration time, is set to a predetermined value so that an image of an object having an average brightness becomes an image of sufficient brightness. Then, after the integration for a predetermined time is completed, the accumulated charges of all the photoelectric conversion elements are read out to the arithmetic unit to perform the correlation calculation and the contrast calculation, and at the same time, it is determined whether or not the received light amount is sufficient.

【0007】ところがこの方法では、積分時間が一定で
あるため、被写体が平均以上に明るいときにはよいが、
暗い被写体の場合は積分時間内に十分な光量を受光でき
ず、測距不能になりがちである。また、光電変換素子電
位の演算装置への転送、すなわち蓄積電荷の読み出しが
常時行われることになる。このため、光量不足であると
判断するまでに要する時間が長くなり、光量不足に対処
する措置が遅れがちであった。たとえば、光量不足の時
に自動的に補助光を発光するように設定されたシステム
では、補助光の発光が遅れることになる。コントラスト
不足検出の遅延は、オートフォーカスカメラにおいて
は、移動する被写体に対する焦点調節の追従性の低下を
招き、自動焦点調節の機能の低下をもたらす要因となる
ものである。
In this method, however, since the integration time is constant, it is good when the subject is brighter than average.
In the case of a dark subject, a sufficient amount of light cannot be received within the integration time, and distance measurement tends to be impossible. Also, the transfer of the photoelectric conversion element potential to the arithmetic unit, that is, the reading of the accumulated charge is always performed. For this reason, it takes a long time to determine that the light amount is insufficient, and the measures for dealing with the insufficient light amount tend to be delayed. For example, in a system in which the auxiliary light is automatically emitted when the amount of light is insufficient, the emission of the auxiliary light is delayed. In contrast, in the autofocus camera, the delay in detection of insufficient contrast causes a decrease in the followability of focus adjustment with respect to a moving subject, which causes a decrease in the function of automatic focus adjustment.

【0008】また、被写体が十分明るいときには、設定
されている所定の積分時間よりも短い時間の積分で、測
距を行うのに十分な明るさの像が得られる。このような
とき、積分を所定時間継続することは無駄であり、測距
処理の遅延をもたらすことになる。
Further, when the subject is sufficiently bright, an image having a sufficient brightness for distance measurement can be obtained by integration for a time shorter than a predetermined integration time that has been set. In such a case, it is useless to continue the integration for a predetermined time, which causes a delay in the distance measuring process.

【0009】本発明は、ラインセンサに結像した像の明
るさに応じて積分時間を変化させることにより測距を確
実にかつ迅速に行う測距システム、およびその測距シス
テムを備えたオートフォーカスカメラを提供することを
目的とする。
The present invention provides a distance measuring system that reliably and quickly performs distance measurement by changing the integration time according to the brightness of an image formed on a line sensor, and an autofocus equipped with the distance measuring system. The purpose is to provide a camera.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、本発明では、測距対象からの光を1対の光電変換素
子列に導き、各光電変換素子列が光電変換して蓄積した
電荷の分布を比較することにより測距を行う測距システ
ムにおいて、1対の光電変換素子列のいずれか1つの光
電変換素子の蓄積電荷が所定量に到達するまで、1対の
光電変換素子列の光電変換を継続する。
In order to achieve the above object, in the present invention, light from a distance measuring object is guided to a pair of photoelectric conversion element arrays, and each photoelectric conversion element array is photoelectrically converted and accumulated. In a distance measurement system that performs distance measurement by comparing charge distributions, a pair of photoelectric conversion element arrays until one of the photoelectric conversion element arrays has a predetermined amount of accumulated charge. Continue photoelectric conversion of.

【0011】光電変換素子の蓄積電荷は、光電変換を行
った時間と単位時間当たりの受光光量に依存する。測距
対象が暗いとき、すなわち、光電変換素子列が受光する
単位時間の光量が少ないときに、一定の時間で光電変換
を打ち切ってしまうと、全ての光電変換素子列の蓄積電
荷が低くなって測距を正しく行うことができない。いず
れか1つの光電変換素子の蓄積電荷が所定量に到達する
まで光電変換を継続することにより、たとえ測距対象が
暗い場合でも、測距を正しく行うに足るだけの電荷が光
電変換素子列に蓄積される。
The accumulated charge of the photoelectric conversion element depends on the time of photoelectric conversion and the amount of received light per unit time. When the distance measurement target is dark, that is, when the photoelectric conversion element array receives a small amount of light per unit time, if photoelectric conversion is aborted within a certain period of time, the accumulated charge in all photoelectric conversion element arrays decreases. The distance cannot be measured correctly. By continuing photoelectric conversion until the accumulated charge of one of the photoelectric conversion elements reaches a predetermined amount, even if the distance measurement target is dark, the photoelectric conversion element array has sufficient charges to perform distance measurement correctly. Accumulated.

【0012】また、測距対象からの光を1対の光電変換
素子列に導き、各光電変換素子列が光電変換して蓄積し
た電荷の分布を比較することにより測距を行う測距シス
テムにおいて、1対の光電変換素子列の光電変換を第1
の所定時間以上、かつ前記1対の光電変換素子列のいず
れか1つの光電変換素子の蓄積電荷が所定値に到達する
までまたは第2の所定時間が経過するまで継続し、その
後測距のための電荷分布の比較を行う。
In addition, in a distance measuring system for conducting distance measurement by guiding light from a distance measuring object to a pair of photoelectric conversion element arrays and comparing distributions of electric charges photoelectrically converted and accumulated by each photoelectric conversion element array. 1st photoelectric conversion of a pair of photoelectric conversion element rows
For a predetermined time or more, and until the accumulated charge of any one photoelectric conversion element of the pair of photoelectric conversion element rows reaches a predetermined value or until a second predetermined time elapses, and thereafter for distance measurement The charge distributions of are compared.

【0013】この構成の測距システムでは、光電変換は
少なくとも第1の所定時間の間は行われる。この第1の
所定時間は、測距対象が通常の明るさのとき、測距を正
しく行うことができるように設定する。測距対象が暗
く、第1の所定時間が経過したときにどの光電変換素子
の蓄積電荷も所定量に到達していないときには、いずれ
か1つの光電変換素子の蓄積電荷が所定値に到達する光
電変換を継続する。ただし、第2の所定時間が経過した
ときには光電変換を打ち切る。いずれか1つの光電変換
素子の蓄積電荷が所定値に到達したときには、測距を正
しく行うことが可能な程度に電荷が光電変換素子列に蓄
積されている。また、第2の所定時間で光電変換を打ち
切るため、測距対象からの光が極めて微弱であり測距不
能であるときに、無意味に長時間にわたって光電変換を
することはない。第2の所定時間で光電変換を打ち切っ
たときでも、光電変換素子列に測距を正しく行うことが
可能な程度に電荷が蓄積されている場合がある。
In the distance measuring system having this structure, photoelectric conversion is performed for at least the first predetermined time. The first predetermined time is set so that distance measurement can be performed correctly when the distance measurement target has normal brightness. When the object to be measured is dark and the accumulated charge of any photoelectric conversion element has not reached the predetermined amount when the first predetermined time has elapsed, the photoelectric charge of which the accumulated charge of any one photoelectric conversion element reaches the predetermined value. Continue conversion. However, the photoelectric conversion is terminated when the second predetermined time has elapsed. When the accumulated charge of any one of the photoelectric conversion elements reaches a predetermined value, the charges are accumulated in the photoelectric conversion element array to the extent that distance measurement can be performed correctly. Further, since the photoelectric conversion is stopped in the second predetermined time, when the light from the object to be measured is extremely weak and the distance cannot be measured, the photoelectric conversion is not meaninglessly performed for a long time. Even when the photoelectric conversion is stopped in the second predetermined time, the electric charges may be accumulated in the photoelectric conversion element array to the extent that distance measurement can be correctly performed.

【0014】上記の測距システムにおいて、1対の光電
変換素子列の光電変換を、1対の光電変換素子列それぞ
れのいずれか1つの光電変換素子の蓄積電荷が所定値に
到達するまで、または第2の所定時間が経過するまで継
続する。この構成では、1対の光電変換素子列のうち一
方のみならず両方に、所定量の電荷を蓄積した光電変換
素子が現れたときに光電変換が終了する。したがって両
方の光電変換素子列が測距を正しく行うことができる程
度に電荷を蓄積することになって、測距の信頼度が向上
する。
In the above distance measuring system, the photoelectric conversion of the pair of photoelectric conversion element arrays is performed until the accumulated charge of any one photoelectric conversion element array of the pair of photoelectric conversion element arrays reaches a predetermined value, or It continues until the second predetermined time elapses. In this configuration, the photoelectric conversion ends when a photoelectric conversion element that stores a predetermined amount of electric charge appears in both of the pair of photoelectric conversion element arrays, as well as in both of them. Therefore, both photoelectric conversion element arrays accumulate charges to the extent that distance measurement can be performed correctly, and the reliability of distance measurement is improved.

【0015】測距対象に向けて光を発する発光手段と、
1対の光電変換素子列の蓄積電荷からコントラストを検
出するコントラスト検出手段とを備えて、コントラスト
検出手段によって検出したコントラストが所定値よりも
低いときに、発光手段に発光させた状態で1対の光電変
換素子列の光電変換を反復するようにしてもよい。最初
の光電変換によって十分な量の電荷が蓄積されなかった
ときは、コントラスト不足となって精度よく測距を行う
ことができなくなる。この場合、発光手段が発光して測
距対象を照射するため、その間に再度の光電変換を行う
ことで、正しく測距を行うに十分な量の電荷蓄積がなさ
れる。
Light emitting means for emitting light toward the object to be measured,
A pair of photoelectric conversion element arrays is provided with a contrast detection unit that detects a contrast from the accumulated charges, and when the contrast detected by the contrast detection unit is lower than a predetermined value, the pair of light emitting units emit light. The photoelectric conversion of the photoelectric conversion element array may be repeated. When a sufficient amount of electric charge is not accumulated by the first photoelectric conversion, the contrast becomes insufficient and accurate distance measurement cannot be performed. In this case, since the light emitting means emits light to illuminate the object to be measured, by performing photoelectric conversion again during that time, a sufficient amount of electric charge is accumulated to perform correct distance measurement.

【0016】さらに、オートフォーカスカメラに上記い
ずれかの測距システムを備えて被写体の測距を行い、そ
の結果に基づいて撮影レンズの焦点調節を自動的に行
う。このカメラでは、光電変換素子の光電変換時間が被
写体の暗さに応じて延長されるため、暗い被写体であっ
ても、正しく測距を行うことができる程度の電荷の蓄積
がなされて、焦点調節が正しく行われる。
Further, the autofocus camera is equipped with any one of the above distance measuring systems to measure the distance to the object, and the focus of the photographing lens is automatically adjusted based on the result. In this camera, the photoelectric conversion time of the photoelectric conversion element is extended according to the darkness of the subject, so even if the subject is dark, the charge is accumulated to the extent that correct distance measurement can be performed, and focus adjustment is possible. Is done correctly.

【0017】[0017]

【発明の実施の形態】本発明の測距システムをオートフ
ォーカスカメラに適用した実施形態の構成を図1に示
す。カメラ本体1は、左右1対のラインセンサ31、3
2を有する測距用IC(AFIC)3、ラインセンサ3
1、32に被写体からの光をそれぞれ結像させる左右の
レンズ21、22から成る測距用光学系2、マイクロプ
ロセッサより成りAFIC3に接続された測距演算装置
4、撮影レンズ5、および撮影レンズ5の焦点位置を変
化させるレンズ駆動装置6を備えている。ラインセンサ
31、32はそれぞれ複数の光電変換素子を一列に配列
して構成されている。
FIG. 1 shows the configuration of an embodiment in which the distance measuring system of the present invention is applied to an autofocus camera. The camera body 1 includes a pair of left and right line sensors 31, 3
Distance measuring IC (AFIC) 3 having 2 and line sensor 3
A distance measuring optical system 2 composed of left and right lenses 21 and 22 for respectively focusing light from a subject on the lenses 1 and 32, a distance measuring device 4 including a microprocessor and connected to an AFIC 3, a photographing lens 5, and a photographing lens. A lens driving device 6 for changing the focal position of the lens 5 is provided. Each of the line sensors 31 and 32 is configured by arranging a plurality of photoelectric conversion elements in a line.

【0018】撮影レンズ5の後方にはフィルム7が供給
されるようになっており、撮影レンズ5とフィルム7の
間にはシャッタ9が設けられている。シャッタ9は露出
制御装置8によって駆動される。レンズ駆動装置6およ
び露出制御装置8は測距演算装置4によって制御され
る。
A film 7 is supplied behind the taking lens 5, and a shutter 9 is provided between the taking lens 5 and the film 7. The shutter 9 is driven by the exposure control device 8. The lens driving device 6 and the exposure control device 8 are controlled by the distance measurement calculation device 4.

【0019】また、測距演算装置4に接続して、測距用
の補助光を発光する補助光装置10、LEDより成り測
距不能時に点灯して使用者に警告を発する警告装置1
1、および不図示のシャッタレリースボタンに連動する
2つのスイッチS1、S2が備えられている。スイッチ
S1はレリースボタンが半押しされたときに閉結し、ス
イッチS2はレリースボタンがさらに押し込まれたとき
に閉結する。スイッチS1が閉結すると、測距演算装置
4はAFIC3に対してラインセンサ31、32による
光電変換の開始を指示して、測距を開始する。スイッチ
S2が閉結すると、測距演算装置4は露出制御装置8に
対してシャッタ9の開閉を指示し、撮影が行われる。
A warning device 1 which is connected to the distance measurement calculation device 4 and comprises an auxiliary light device 10 which emits auxiliary light for distance measurement and an LED which lights up when distance measurement is impossible and issues a warning to the user.
1 and two switches S1 and S2 which are interlocked with a shutter release button (not shown). The switch S1 is closed when the release button is pressed halfway, and the switch S2 is closed when the release button is further pressed. When the switch S1 is closed, the distance measurement calculation device 4 instructs the AFIC 3 to start photoelectric conversion by the line sensors 31 and 32, and starts distance measurement. When the switch S2 is closed, the distance measurement calculation device 4 instructs the exposure control device 8 to open and close the shutter 9, and photographing is performed.

【0020】測距演算装置4は、ラインセンサ31、3
2の受光光量に応じた時間AFIC3に光電変換を行わ
せた後、光電変換を中止する指示を与える。その後、ラ
インセンサ31、32の各光電変換素子から蓄積電荷に
対応する電位を読み出す。測距演算装置4は、左右のラ
インセンサ間で画素ごとに電位を比較する相関演算を行
って被写体までの距離を算出し、算出した距離に応じて
レンズ駆動装置6を介して撮影レンズ5を駆動する。光
電変換、測距演算およびレンズ駆動の一連の処理は、ス
イッチS1が閉結している間すなわちレリースボタンが
半押しされている間常時反復される。これにより、撮影
レンズ5は、被写体の移動にかかわらず、常に被写体に
対して焦点が合った状態となる。レリースボタンがさら
に押し込まれスイッチS2が閉結すると、露出制御装置
8によってシャッタ9が開かれて被写体光がフィルム7
に結像し、被写体の鮮明な像がフィルム7に記録され
る。
The distance measuring calculation device 4 includes line sensors 31, 3
After causing the AFIC 3 to perform photoelectric conversion for a time corresponding to the received light amount of 2, the instruction to stop the photoelectric conversion is given. After that, the potentials corresponding to the accumulated charges are read from the photoelectric conversion elements of the line sensors 31 and 32. The distance measurement calculation device 4 calculates the distance to the subject by performing a correlation calculation that compares the potentials of the left and right line sensors for each pixel, and determines the taking lens 5 via the lens driving device 6 according to the calculated distance. To drive. A series of processes of photoelectric conversion, distance measurement calculation, and lens driving are constantly repeated while the switch S1 is closed, that is, while the release button is half pressed. As a result, the taking lens 5 is always in focus with respect to the subject regardless of the movement of the subject. When the release button is further pressed and the switch S2 is closed, the shutter 9 is opened by the exposure control device 8 and the subject light is emitted from the film 7.
And a clear image of the subject is recorded on the film 7.

【0021】図2に、AFIC3と測距演算装置4の構
成を示す。図において、実線矢印は処理されるデータの
流れを表し、点線矢印は制御信号の流れを表す。AFI
C3には左右のラインセンサ31、32に加えて、2つ
のカウンタ34、35、およびこれらにクロック信号を
与えるクロック36が設けられている。左右のラインセ
ンサ31、32を構成する光電変換素子33はそれぞ
れ、受光部33a、蓄積部33bおよびラッチ部33c
より成る。受光部33aは受けた光を電荷に変換して蓄
積部33bに出力する。蓄積部33bは受光部33aか
ら与えられた電荷を電位として蓄積していく。ラッチ部
33cは個々の蓄積部33bの電位が上昇して所定値に
達した時にラッチ信号を出力するよう、各蓄積部33b
に対応して設けられている。このような光電変換素子3
3が左右のラインセンサ31、32に128ずつ配列さ
れている。
FIG. 2 shows the configurations of the AFIC 3 and the distance measurement calculation device 4. In the figure, solid arrows represent the flow of data to be processed, and dotted arrows represent the flow of control signals. AFI
In addition to the left and right line sensors 31 and 32, the C3 is provided with two counters 34 and 35 and a clock 36 that supplies a clock signal to these. The photoelectric conversion elements 33 constituting the left and right line sensors 31, 32 are respectively a light receiving section 33a, a storage section 33b and a latch section 33c.
Consisting of The light receiving section 33a converts the received light into an electric charge and outputs it to the storage section 33b. The accumulating portion 33b accumulates the electric charge given from the light receiving portion 33a as a potential. The latch unit 33c outputs the latch signal when the potential of each storage unit 33b rises and reaches a predetermined value.
It is provided corresponding to. Such photoelectric conversion element 3
3 are arranged on the left and right line sensors 31 and 32, respectively.

【0022】測距演算装置4は、スイッチS1の閉結に
よりスタートするタイマー41、ラインセンサ31、3
2による光電変換と電荷蓄積の開始を指示する積分開始
信号INTを発生する積分開始指示回路42、光電変換
と電荷蓄積の終了を指示する積分終了信号TRMを発生
する積分終了指示回路43を備えている。光電変換およ
び電荷蓄積を行う時間すなわち積分時間TEは一定値に
固定されたものではなく、ラインセンサ31、32の受
光光量に応じて、所定の最小積分時間TEminから最大
積分時間TEmaxの範囲内で変えられる。最小積分時間
TEminは、平均的な明るさよりも暗い被写体が十分な
明るさの像となるような値に設定されている。測距演算
回路4は、この積分時間の設定を行う積分時間設定回路
51、および測距のための種々の演算を行う距離演算部
60を備えている。これらの構成と動作については後述
する。
The distance measuring calculation device 4 is started by closing the switch S1, the timer 41, the line sensors 31, 3
2. An integration start instruction circuit 42 for generating an integration start signal INT for instructing the start of photoelectric conversion and charge accumulation by 2 and an integration end instruction circuit 43 for generating an integration end signal TRM for instructing the end of photoelectric conversion and charge accumulation are provided. There is. The time for performing photoelectric conversion and charge accumulation, that is, the integration time TE, is not fixed to a fixed value, but is within a range from a predetermined minimum integration time TEmin to a maximum integration time TEmax depending on the amount of light received by the line sensors 31 and 32. be changed. The minimum integration time TEmin is set to a value such that a subject darker than average brightness becomes an image with sufficient brightness. The distance measurement calculation circuit 4 includes an integration time setting circuit 51 that sets the integration time, and a distance calculation unit 60 that performs various calculations for distance measurement. The configuration and operation of these will be described later.

【0023】シャッタレリースボタンが半押しされスイ
ッチS1が閉結すると、タイマー41は計時動作を開始
するとともに、積分開始指示回路42に信号発生を指令
する信号を与える。また、タイマー41は、最小積分時
間TEminと最大積分時間TEmaxを記憶しており、計時
開始と同時に最大積分時間TEmaxを積分時間TEに設
定する。この積分時間TEは積分時間設定回路51から
与えられる信号により、最小積分時間TEminに切り換
えられる。タイマー41は、積分時間TEが経過した時
に、積分終了指示回路43に信号発生を指令する信号を
与える。
When the shutter release button is half-depressed and the switch S1 is closed, the timer 41 starts the time counting operation and gives a signal for instructing the integration start instruction circuit 42 to generate a signal. Further, the timer 41 stores the minimum integration time TEmin and the maximum integration time TEmax, and sets the maximum integration time TEmax to the integration time TE at the same time as the start of timing. This integration time TE is switched to the minimum integration time TEmin by the signal given from the integration time setting circuit 51. The timer 41 gives a signal for instructing the integration end instruction circuit 43 to generate a signal when the integration time TE has elapsed.

【0024】積分開始指示回路42はタイマー41から
の指令信号により、左右ラインセンサ31、32に積分
開始信号INTを与える。この積分開始信号INTはカ
ウンタ34、35にも与えられて、カウンタ34、35
はクロック36からのクロック信号に基づく計時を開始
する。
The integration start instruction circuit 42 gives an integration start signal INT to the left and right line sensors 31, 32 in response to a command signal from the timer 41. The integration start signal INT is also given to the counters 34 and 35, and the counters 34 and 35
Starts timing based on the clock signal from the clock 36.

【0025】積分開始信号INTにより、全ての光電変
換素子33の蓄積部33bは蓄積している電荷を放電し
て電位を0にする初期化を行い、受光部33aは光電変
換を開始する。受光部33aが光電変換を行うことによ
り生じた電荷は蓄積部33bに与えられて、蓄積部33
bの電位は受光部33aが受光した光量に応じて上昇し
ていく。蓄積部33bの電位が所定の電位V0に到達す
るとラッチ部33cからラッチ信号が出力される。受光
部33aによる光電変換と蓄積部33bによる電荷蓄積
は、ラッチ部33cからのラッチ信号出力後も継続され
る。
In response to the integration start signal INT, the accumulating portions 33b of all photoelectric conversion elements 33 are initialized to discharge the accumulated charges to zero the potential, and the light receiving portion 33a starts photoelectric conversion. The charges generated by the photoelectric conversion of the light receiving unit 33a are given to the storage unit 33b, and the storage unit 33b
The potential of b increases according to the amount of light received by the light receiving unit 33a. When the potential of the storage section 33b reaches a predetermined potential V0, the latch signal is output from the latch section 33c. The photoelectric conversion by the light receiving section 33a and the charge accumulation by the accumulating section 33b are continued even after the latch signal is output from the latch section 33c.

【0026】左ラインセンサ31の全光電変換素子33
からのラッチ信号はカウンタ34に入力され、右ライン
センサ35の全光電変換素子33からのラッチ信号はカ
ウンタ35に入力される。これらのカウンタ34、35
は、積分開始信号INTによって積分開始と同時に計時
を開始しており、ラッチ信号が入力された時に、積分開
始時からの経過時間を計測することができる。
All photoelectric conversion elements 33 of the left line sensor 31
A latch signal from the photoelectric conversion elements 33 of the right line sensor 35 is input to the counter 35. These counters 34, 35
Starts timing simultaneously with the start of integration by the integration start signal INT, and when a latch signal is input, the elapsed time from the start of integration can be measured.

【0027】カウンタ34は、左ラインセンサ31から
入力されるラッチ信号の数を計数し、所定数のラッチ信
号が入力された時にそれまでの経過時間TL1を積分時
間設定回路51に出力する。カウンタ35は、同様に、
右ラインセンサ32から入力されるラッチ信号を計数
し、所定数のラッチ信号が入力された時にそれまでの経
過時間TR1を積分時間設定回路51に出力する。本実
施形態においては、カウンタ34、35は最初のラッチ
信号が入力された時に経過時間TL1、TR1を出力す
るように設定されている。これらの経過時間TL1およ
びTR1は、左右ラインセンサ31、32それぞれにお
ける最も明るい部位すなわち受光光量の最も多い光電変
換素子の蓄積電荷が所定量に到達するのに要した時間を
表す。図4に像の明るさと経過時間の関係、および最小
積分時間TEminと最大積分時間TEmaxの関係を示す。
The counter 34 counts the number of latch signals input from the left line sensor 31, and when a predetermined number of latch signals are input, outputs the elapsed time TL1 until then to the integration time setting circuit 51. The counter 35 similarly
The number of latch signals input from the right line sensor 32 is counted, and when a predetermined number of latch signals are input, the elapsed time TR1 until then is output to the integration time setting circuit 51. In this embodiment, the counters 34 and 35 are set to output the elapsed times TL1 and TR1 when the first latch signal is input. These elapsed times TL1 and TR1 represent the time required for the accumulated charge of the brightest part of each of the left and right line sensors 31, 32, that is, the photoelectric conversion element having the largest amount of received light, to reach a predetermined amount. FIG. 4 shows the relationship between the image brightness and the elapsed time, and the relationship between the minimum integration time TEmin and the maximum integration time TEmax.

【0028】積分時間設定回路51は最小積分時間TE
minを記憶しており、カウンタ34、35から経過時間
TL1、TR1を与えられたときに、それぞれを最小積
分時間TEminと比較する。そして、経過時間TL1、
TR1のうち最初に与えられた方がTEminよりも小さ
いときに、積分時間TEを最小積分時間TEminに変更
する指示信号をタイマー41に与える。これにより、タ
イマー41は最小積分時間TEminが経過したときに、
積分終了指示回路43に対して積分終了信号TRMの発
生を指令することになる。一方、経過時間TL1、TR
1のうち最初に与えられた方がTEmin以上であったと
きは、積分終了信号TRMの発生を指令する信号を直ち
に積分終了指示回路43に対して直接与える。
The integration time setting circuit 51 has a minimum integration time TE.
min is stored, and when the elapsed times TL1 and TR1 are given from the counters 34 and 35, each is compared with the minimum integration time TEmin. Then, the elapsed time TL1,
When one of TR1 which is given first is smaller than TEmin, an instruction signal for changing the integration time TE to the minimum integration time TEmin is given to the timer 41. As a result, the timer 41 is configured so that when the minimum integration time TEmin elapses,
The integration end instruction circuit 43 is instructed to generate the integration end signal TRM. On the other hand, the elapsed time TL1, TR
When the one which is given first out of 1 is equal to or more than TEmin, a signal for instructing the generation of the integration end signal TRM is immediately given directly to the integration end instruction circuit 43.

【0029】積分終了指示回路43は、タイマー41ま
たは積分時間設定回路51からの信号を受けると、積分
終了信号TRMを全ての光電変換素子33に与える。こ
の積分終了信号TRMにより、各光電変換素子33の受
光部33aは光電変換を中止する。また、蓄積部33b
は蓄積電荷に対応する電位を距離演算部60に出力す
る。
Upon receiving the signal from the timer 41 or the integration time setting circuit 51, the integration end instruction circuit 43 gives the integration end signal TRM to all the photoelectric conversion elements 33. By the integration end signal TRM, the light receiving unit 33a of each photoelectric conversion element 33 stops photoelectric conversion. In addition, the storage unit 33b
Outputs a potential corresponding to the accumulated charge to the distance calculation unit 60.

【0030】積分時間設定回路51およびタイマー41
が上記のように動作することにより、ラインセンサ3
1、32は少なくとも最小積分時間TEminの間光電変
換と電荷蓄積を行うとともに、一方の最明部の光電変換
素子が所定量の電荷を蓄積するまで積分が継続され、蓄
積電荷が所定量に到達した時点で積分が打ち切られるこ
とになる。左右ラインセンサ31、32のどの光電変換
素子33も最大積分時間TEmax内に所定量の電荷を蓄
積しなかったときは、ラッチ信号が出力されず経過時間
TL1、TR1が積分時間設定回路51に与えられない
から、タイマー41の積分時間TEは変更されない。し
たがって、タイマー41は最大積分時間TEmax経過時
に積分終了信号TRMの発生を指令する信号を積分終了
指示回路43に与えることになって、積分は最大積分時
間TEmaxいっぱい行われる。
Integration time setting circuit 51 and timer 41
By operating as described above, the line sensor 3
1 and 32 perform photoelectric conversion and charge accumulation for at least the minimum integration time TEmin, and integration is continued until one photoelectric conversion element in the brightest part accumulates a predetermined amount of charge, and the accumulated charge reaches a predetermined amount. At that point, the integration will be terminated. When none of the photoelectric conversion elements 33 of the left and right line sensors 31, 32 has accumulated a predetermined amount of charge within the maximum integration time TEmax, no latch signal is output and the elapsed times TL1, TR1 are given to the integration time setting circuit 51. Therefore, the integration time TE of the timer 41 is not changed. Therefore, the timer 41 gives a signal for instructing the generation of the integration end signal TRM to the integration end instruction circuit 43 when the maximum integration time TEmax has elapsed, and the integration is performed for the maximum integration time TEmax.

【0031】距離演算部60は、AD変換器61、6
2、RAM63、64、差分変換回路65、66、RA
M67、68、コントラスト演算回路69、測距可否判
定回路70、相関演算回路71および被写体距離演算回
路72より成る。左ラインセンサ31の各光電変換素子
33からの出力電位はAD変換器61によって順次ディ
ジタル値に変換され、変換後の128画素の値VL1
VL128がRAM63に格納される。右ラインセンサ3
2の光電変換素子33からの出力電位も同様にAD変換
器62によって順次ディジタル値に変換され、変換後の
128画素の値VR1〜VR128がRAM64に格納され
る。
The distance calculation unit 60 includes AD converters 61 and 6
2, RAM 63, 64, difference conversion circuits 65, 66, RA
M67, 68, a contrast calculation circuit 69, a distance measurement possibility determination circuit 70, a correlation calculation circuit 71, and a subject distance calculation circuit 72. The output potential from each photoelectric conversion element 33 of the left line sensor 31 is sequentially converted into a digital value by the AD converter 61, and the converted value of 128 pixels VL 1 to
The VL 128 is stored in the RAM 63. Right line sensor 3
Similarly, the output potential from the second photoelectric conversion element 33 is also sequentially converted into a digital value by the AD converter 62, and the converted VR pixel values VR 1 to VR 128 are stored in the RAM 64 .

【0032】差分変換回路65は、RAM63の画素値
を読み出して4画素ごとに差をとって(ALj=VLj+4
−VLj、j=1,2,・・・,124)、その差分値AL1〜AL124
をRAM67に格納する。差分変換回路66も同様にR
AM64の画素値を4画素ごとに差をとり(ARj=V
j+4−VRj、j=1,2,・・・,124)、差分値AR1〜AR
124をRAM68に格納する。このようにして差分値を
求めることはフィルタ処理と呼ばれ、この処理により左
右ラインセンサ31、32の感度差が除去されて、相関
演算の信頼性が向上する。
The difference conversion circuit 65 reads out the pixel value of the RAM 63 and takes the difference every 4 pixels (AL j = VL j + 4).
-VL j , j = 1,2, ..., 124), and their difference values AL 1 to AL 124
Is stored in the RAM 67. The difference conversion circuit 66 is also R
The pixel value of AM64 is taken every 4 pixels (AR j = V
R j + 4 −VR j , j = 1,2, ..., 124), difference values AR 1 to AR
124 is stored in the RAM 68. Obtaining the difference value in this way is called a filter process, and the sensitivity difference between the left and right line sensors 31 and 32 is removed by this process, and the reliability of the correlation calculation is improved.

【0033】コントラスト演算回路69は式(1)の演
算を行ってコントラスト値Cを算出する。
The contrast calculation circuit 69 calculates the contrast value C by performing the calculation of equation (1).

【0034】[0034]

【数1】 [Equation 1]

【0035】測距可否判定回路70は算出されたコント
ラスト値Cに基づいて測距が可能であるか否かを判定す
る。具体的には、コントラスト値Cを所定値C0と比較
して、コントラスト値Cが所定値C0以上であるときに
測距可能と判断し、コントラスト値Cが所定値C0未満
であるときに、コントラスト不足により相関演算の信頼
性が低く、測距不能であると判断する。
The distance measurement availability determination circuit 70 determines whether or not distance measurement is possible based on the calculated contrast value C. Specifically, the contrast value C is compared with a predetermined value C0, it is determined that distance measurement is possible when the contrast value C is a predetermined value C0 or more, and when the contrast value C is less than the predetermined value C0, Due to the shortage, it is determined that the reliability of the correlation calculation is low and the distance cannot be measured.

【0036】測距可否判定回路70は、測距不能と判断
したときに、警告装置11のLEDを点滅させて使用者
にコントラスト不足であることを知らせるとともに、タ
イマー41に再スタートを指示する信号RSTを与えて
ラインセンサ31、32による光電変換と電荷蓄積を再
度行わせる。このとき、測距可否判定回路52は補助光
装置10を発光させて、被写体を照射する。被写体全体
が暗く、最大積分時間TEmaxの間積分を行っても十分
な光量を受光することができなかった場合、このように
測距用補助光を被写体に照射することにより測距が可能
になる。補助光を点灯させて再度光電変換と電荷蓄積を
行っても、算出したコントラスト値Cが所定値C0に満
たないときは、警告装置11のLEDを継続して点灯さ
せて使用者に測距不能であることを知らせ、撮影レンズ
5の焦点を無限遠に合わせるようにレンズ駆動装置6を
制御する。
When it is determined that the distance cannot be measured, the distance measurement availability determination circuit 70 blinks the LED of the warning device 11 to notify the user that the contrast is insufficient and a signal for instructing the timer 41 to restart. RST is given to cause the line sensors 31 and 32 to perform photoelectric conversion and charge accumulation again. At this time, the distance measurement availability determination circuit 52 causes the auxiliary light device 10 to emit light to illuminate the subject. When the entire subject is dark and a sufficient amount of light cannot be received even if the integration is performed for the maximum integration time TEmax, distance measurement can be performed by irradiating the subject with the auxiliary light for distance measurement in this way. . Even if the auxiliary light is turned on and photoelectric conversion and charge accumulation are performed again, if the calculated contrast value C is less than the predetermined value C0, the LED of the warning device 11 is continuously turned on and the user cannot measure the distance. Then, the lens driving device 6 is controlled so that the taking lens 5 is focused at infinity.

【0037】測距可能と判断したとき、測距可否判定回
路70は相関演算回路71に相関演算の開始を指令す
る。相関演算回路71は、RAM67とRAM68の画
素値の相関を求めるために、式(2)の演算を行う。こ
こで求められるH(m,k)は比較した左右像の一致度を
表すものであり、値が小さいほど一致度が高いことを意
味する。
When it is determined that the distance measurement is possible, the distance measurement availability determination circuit 70 commands the correlation calculation circuit 71 to start the correlation calculation. The correlation calculation circuit 71 calculates the equation (2) in order to obtain the correlation between the pixel values of the RAM 67 and the RAM 68. H (m, k) obtained here represents the degree of coincidence between the compared left and right images, and the smaller the value, the higher the degree of coincidence.

【0038】[0038]

【数2】 [Equation 2]

【0039】ここでは、RAM67の画素AL3〜AL
122を40画素ずつの3ブロック(AL3〜AL42)、
(AL43〜AL82)、(AL83〜AL122)に分割し、
それぞれをRAM68の40画素より成り1画素ずつず
れた85ブロック(AR1〜AR40)〜(AR85〜AR
124)と比較している。算出したH(1,1)〜H(3,85)
の255の値は被写体距離演算回路72に与えられる。
Here, the pixels AL 3 to AL of the RAM 67 are
122 blocks in 3 blocks of 40 pixels each (AL 3 to AL 42 ),
Divide into (AL 43 to AL 82 ), (AL 83 to AL 122 ),
85 blocks (AR 1 to AR 40 ) to (AR 85 to AR, each consisting of 40 pixels of RAM 68 and shifted by 1 pixel
124 ). Calculated H (1,1) ~ H (3,85)
The value of 255 is given to the subject distance calculation circuit 72.

【0040】被写体距離演算回路72は、相関演算回路
71から与えられたH(1,1)〜H(3,85)のうち値が
最小のものH(m1,k1)を見い出す。ここで見い出され
たm1、k1は、RAM67の3ブロックのうちの第m1
のブロックと、RAM68の第k1画素から始まるブロ
ックが最もよく一致していることを示すものである。次
いで、このH(m1,k1)とH(m1,k1-1)、H(m1,k1+
1)を用いて補間処理を行い、最大の一致度H0(m1,k
0)となるkの値k0を算出する。そして、光電変換素子
33の配列ピッチおよび左右ラインセンサ31、32の
設置間隔を考慮して、第m1目のブロックの最初の画素
番号(40・m1−37=3、43または83)とk0の
値からラインセンサ31、32の像の最もよく一致して
いる部位の間隔を算出する。こうして算出した像間隔と
測距用光学系2とラインセンサ31、32の間隔等の測
距系の幾何的条件とから、被写体までの距離を算出す
る。
The subject distance calculating circuit 72 finds the one H (m1, k1) having the smallest value among H (1,1) to H (3,85) given from the correlation calculating circuit 71. The m1 and k1 found here are the m1th of the three blocks in the RAM 67.
And the block starting from the k1 pixel of the RAM 68 is the best match. Next, this H (m1, k1) and H (m1, k1-1), H (m1, k1 +
1) is used for interpolation processing, and the maximum matching score H0 (m1, k
The value k0 of k that is 0) is calculated. In consideration of the arrangement pitch of the photoelectric conversion elements 33 and the installation intervals of the left and right line sensors 31 and 32, the first pixel number (40 · m1−37 = 3, 43 or 83) of the m1st block and k0 From the value, the distance between the parts of the images of the line sensors 31 and 32 that best match each other is calculated. The distance to the subject is calculated from the image distance thus calculated and the geometric conditions of the distance measuring system such as the distance between the distance measuring optical system 2 and the line sensors 31 and 32.

【0041】被写体距離演算回路72は、算出した被写
体距離をレンズ駆動装置6に出力する。レンズ駆動装置
6は与えられた被写体距離に対応する撮影レンズ5の焦
点位置を算出して、撮影レンズ5の焦点位置を設定す
る。こうしてオートフォーカスがなされる。
The subject distance calculation circuit 72 outputs the calculated subject distance to the lens driving device 6. The lens driving device 6 calculates the focal position of the photographing lens 5 corresponding to the given subject distance and sets the focal position of the photographing lens 5. In this way, autofocus is performed.

【0042】以上の測距処理の流れを、図3のフローチ
ャートに示す。シャッタレリースボタンの半押しによっ
て測距処理が始まり(ステップ#100)、タイマー4
1は積分時間TEとして最大積分時間TEmaxを設定す
る(#105)。また、積分開始信号INTによって光
電変換と電荷の蓄積が開始される(#110)。積分開
始後、左右ラインセンサ31、32の最明部の電位が所
定電位V0に到達したか否かを、カウンタ34、35か
らの経過時間TL1、TR1の出力により常時監視する
(#115)。
The flow of the above distance measurement processing is shown in the flowchart of FIG. The distance measurement process starts when the shutter release button is pressed halfway (step # 100), and the timer 4
1 sets the maximum integration time TEmax as the integration time TE (# 105). Further, photoelectric conversion and charge accumulation are started by the integration start signal INT (# 110). After the integration is started, whether or not the potentials of the brightest parts of the left and right line sensors 31 and 32 have reached the predetermined potential V0 is constantly monitored by the outputs of the elapsed times TL1 and TR1 from the counters 34 and 35 (# 115).

【0043】経過時間TL1またはTR1が検知された
ときは、その値を最小積分時間TEminと比較する(#
120)。経過時間TL1またはTR1が最小積分時間
TEminよりも小さいときには、積分時間TEを最小積
分時間TEminに変更して(#125)、ステップ#1
15に戻る。経過時間TL1またはTR1が最小積分時
間TEmin以上のときには、積分を直ちに終了する(#
130)。
When the elapsed time TL1 or TR1 is detected, the value is compared with the minimum integration time TEmin (#
120). When the elapsed time TL1 or TR1 is smaller than the minimum integration time TEmin, the integration time TE is changed to the minimum integration time TEmin (# 125), and step # 1
Return to 15. When the elapsed time TL1 or TR1 is longer than the minimum integration time TEmin, the integration is immediately terminated (#
130).

【0044】ステップ#115において、経過時間TL
1、TR1が検知されなかったときには、設定されてい
る積分時間TEを経過したか否かを判定する(#13
5)。未だ積分時間TEが経過していないときにはステ
ップ#115に戻り、経過していたときには、積分を終
了する。
At step # 115, the elapsed time TL
When 1 and TR1 are not detected, it is determined whether the set integration time TE has elapsed (# 13).
5). If the integration time TE has not yet elapsed, the process returns to step # 115, and if it has elapsed, the integration ends.

【0045】光電変換と電荷の蓄積を終了(#140)
した後、ラインセンサ31、32の光電変換素子の電位
すなわち画素値を測距演算部60に読み出す(#14
5)。次いで隣接画素の画素値の差からコントラストを
算出する(#150)。算出したコントラスト値Cを所
定値C0と比較することにより、信頼性のある相関演算
を行い得るか否かを判断する(#155)。
Completion of photoelectric conversion and charge accumulation (# 140)
After that, the potential of the photoelectric conversion elements of the line sensors 31 and 32, that is, the pixel value is read out to the distance measurement calculation unit 60 (# 14).
5). Next, the contrast is calculated from the difference between the pixel values of the adjacent pixels (# 150). By comparing the calculated contrast value C with a predetermined value C0, it is determined whether or not reliable correlation calculation can be performed (# 155).

【0046】コントラスト値Cが所定値C0よりも小さ
いときには、コントラスト不足で信頼性が低くなると判
断して、その電荷蓄積において補助光を発光したか否か
を判定する(#160)。補助光を発光していなかった
ときは、使用者にコントラスト不足であることを警告し
(#165)、補助光を発光させて(#170)、光電
変換と電荷蓄積を再度行う(#105)。ステップ#1
60の判定で、補助光を発光していたときには、測距不
能であることを使用者に警告し(#175)、撮影レン
ズ5の焦点を無限遠に合わせる(#180)。その後、
#ステップ105に戻り光電変換と電荷蓄積を再開す
る。コントラスト値Cが所定値C0以上のときには、信
頼性高く被写体距離を算出し得ると判断して、2つのラ
インセンサの像の相関演算を行い(#185)、被写体
距離を算出し(#190)、撮影レンズ5を被写体に対
して焦点が合うように駆動する(#195)。
When the contrast value C is smaller than the predetermined value C0, it is determined that the reliability is low due to insufficient contrast, and it is determined whether or not auxiliary light is emitted in the charge accumulation (# 160). When the auxiliary light is not emitted, the user is warned that the contrast is insufficient (# 165), the auxiliary light is emitted (# 170), and photoelectric conversion and charge accumulation are performed again (# 105). . Step # 1
If the auxiliary light is emitted in the determination of 60, the user is warned that distance measurement is impossible (# 175), and the taking lens 5 is focused on infinity (# 180). afterwards,
# Return to step 105 to restart photoelectric conversion and charge accumulation. When the contrast value C is equal to or greater than the predetermined value C0, it is determined that the subject distance can be calculated with high reliability, and the correlation calculation of the images of the two line sensors is performed (# 185) to calculate the subject distance (# 190). , The photographing lens 5 is driven so that the subject is in focus (# 195).

【0047】こうして、被写体の明るさに応じた積分時
間の設定と測距がなされる。被写体が明るいときには、
最小積分時間TEminまたはそれに近い時間で積分が終
了し、測距を速やかに行うことができる。被写体が暗い
ときは、暗さの程度に応じて積分時間が延長されるか
ら、測距を精度よくかつその精度を実現し得る最小の積
分時間で行うことができる。ただし、極めて長い時間積
分を行わなければ測距できないほど被写体が暗い場合、
被写体が移動することを考慮すると、積分時間の無制限
の延長は無意味である。最大積分時間TEmaxを設けた
ことにより、このような無意味な積分は回避される。
Thus, the integration time is set and the distance is measured according to the brightness of the subject. When the subject is bright,
The integration is completed at the minimum integration time TEmin or a time close thereto, and distance measurement can be performed quickly. When the subject is dark, the integration time is extended according to the degree of darkness, so that distance measurement can be performed accurately and with the minimum integration time that can realize the precision. However, if the subject is too dark to measure the distance without performing integration for an extremely long time,
Considering that the subject moves, the unlimited extension of the integration time is meaningless. By providing the maximum integration time TEmax, such meaningless integration is avoided.

【0048】なお、本実施形態では、左右ラインセンサ
31、32の一方の光電変換素子の電位が所定値V0に
到達した時点で積分を打ち切る場合について説明した
が、左右ラインセンサの両方の光電変換素子の電位が所
定値V0に到達するまで積分を継続するようにしてもよ
い。その場合、積分時間設定回路51は、経過時間TL
1、TR1のうち遅く与えられた方に基づいて積分時間
の変更を行う。すなわち、遅い方の経過時間TL1また
はTR1が最小積分時間TEminよりも小さいときに、
積分時間TEを最小積分時間TEminに変更する指示信
号をタイマー41に与え、TEmin以上のときに、積分
終了信号TRMの発生を指令する信号を直ちに積分終了
指示回路43に与える。このように積分時間を設定する
と、両方のラインセンサ31、32が確実に所定量以上
の光を受光することになり、測距のための相関演算の信
頼性が向上し、より精度よく被写体距離を求めることが
可能になる。
In this embodiment, the case where the integration is terminated when the potential of one photoelectric conversion element of the left and right line sensors 31 and 32 reaches the predetermined value V0 has been described. The integration may be continued until the potential of the element reaches the predetermined value V0. In that case, the integration time setting circuit 51 determines the elapsed time TL.
The integration time is changed based on whichever of 1 and TR1 is given later. That is, when the later elapsed time TL1 or TR1 is smaller than the minimum integration time TEmin,
An instruction signal for changing the integration time TE to the minimum integration time TEmin is given to the timer 41, and when TEmin or more, a signal for giving an instruction to generate the integration end signal TRM is immediately given to the integration end instruction circuit 43. When the integration time is set in this way, both line sensors 31 and 32 reliably receive a predetermined amount of light or more, and the reliability of the correlation calculation for distance measurement is improved, and the subject distance is more accurately measured. It becomes possible to ask.

【0049】また、カウンタ34、35は最初のラッチ
信号が入力された時に、経過時間TL1、TR1を出力
するように設定したが、たとえば、30番目のラッチ信
号が入力されたときにそれまでの経過時間をTL1、T
R1として出力するようにしてもよい。このように設定
すると、全光電変換素子のうち約1/4が所定の電位に
到達したときに積分を終了することになり、ラインセン
サ31、32上の像のある程度の範囲が所定値以上の明
るさとなる。また、ノイズ発生等の何らかの原因で1つ
の光電変換素子がラッチ信号を発しても、直ちに積分が
打ち切られることがなく、積分時間の誤設定が回避され
る。
The counters 34 and 35 are set so as to output the elapsed times TL1 and TR1 when the first latch signal is input. For example, when the 30th latch signal is input, the counters up to that time are input. Elapsed time is TL1, T
You may make it output as R1. With this setting, the integration ends when about 1/4 of all the photoelectric conversion elements reach the predetermined potential, and the range of the images on the line sensors 31 and 32 exceeds a predetermined value. It becomes bright. Further, even if one photoelectric conversion element issues a latch signal due to some cause such as noise generation, the integration is not immediately terminated, and erroneous setting of the integration time is avoided.

【0050】さらに、最小積分時間TEminの経過以
降、所定電位V0に到達した光電変換素子が出現したと
き直ちに積分を終了するのではなく、所定の期間ΔTE
だけ積分時間TEを延長する(TE+ΔTE)ようにし
てもよい。この場合、最大積分時間TEmaxを超えない
範囲で延長するものとする。
Furthermore, after the lapse of the minimum integration time TEmin, the integration is not immediately terminated when a photoelectric conversion element that has reached the predetermined potential V0 appears, but a predetermined period ΔTE.
Alternatively, the integration time TE may be extended (TE + ΔTE). In this case, it shall be extended within a range not exceeding the maximum integration time TEmax.

【0051】[0051]

【発明の効果】本発明の測距システムによるときは、光
電変換素子列の光電変換の時間が測距対象の暗さに応じ
て延長されるため、測距対象の明暗にかかわらず、常に
精度よく測距を行うことができる。また、測距対象が明
るいときは光電変換の時間を不必要に延長することがな
いため、速やかに測距を行うことができる。
According to the distance measuring system of the present invention, since the photoelectric conversion time of the photoelectric conversion element array is extended according to the darkness of the distance measuring object, the accuracy is always maintained regardless of whether the distance measuring object is bright or dark. The distance can be measured well. Further, when the distance measurement target is bright, the photoelectric conversion time is not unnecessarily extended, so that the distance measurement can be performed quickly.

【0052】請求項2の測距システムでは、測距対象が
明るいときには、第1の所定時間で最小限の光電変換が
打ち切られることになり、測距に要する時間が短い。ま
た、測距対象が暗くなるにつれて光電変換の時間は延長
されるため、測距対象が多少暗くても、十分な電荷が蓄
積されて精度よく測距を行うことができる。また、光電
変換は第2の所定時間で打ち切られるため、測距対象が
極めて暗く測距不能である場合に、無意味に長時間光電
変換を行うことが回避される。光電変換を第2の所定時
間で打ち切ったときでも、ある程度の電荷が光電変換素
子列に蓄積されて測距可能なこともあり、この場合は、
測距を行うことができる。
In the distance measuring system according to the second aspect, when the distance measuring object is bright, the minimum photoelectric conversion is cut off in the first predetermined time, and the time required for distance measuring is short. In addition, since the photoelectric conversion time is extended as the target object becomes darker, even if the target object is somewhat darker, sufficient electric charge can be accumulated and the distance can be accurately measured. Further, since the photoelectric conversion is terminated in the second predetermined time, it is possible to avoid performing the photoelectric conversion for a long time without meaning when the object to be measured is extremely dark and cannot be measured. Even when the photoelectric conversion is terminated in the second predetermined time, a certain amount of charge may be accumulated in the photoelectric conversion element array and distance measurement can be performed. In this case,
Distance measurement can be performed.

【0053】請求項3の測距システムでは、両方の光電
変換素子列が測距に十分な量の電荷を蓄積したときに光
電変換が終了するため、測距の信頼度が向上する。
In the distance measuring system according to the third aspect, photoelectric conversion is completed when both photoelectric conversion element arrays have accumulated a sufficient amount of electric charge for distance measurement, so that reliability of distance measurement is improved.

【0054】請求項4の測距システムによるときは、測
距対象が暗く第2の所定時間で光電変換が打ち切られる
ことによりコントラスト不足となったときに、発光手段
の光によって測距対象が照明されるため、再度の光電変
換において測距に十分な電荷を蓄積することができる。
再度の光電変換は、測距対象が照明されているため、第
2の所定時間が経過するまでに終了する可能性が高い。
したがって、測距対象が暗い場合や夜間であっても、短
時間で精度よく測距を行うことができる。
According to the distance measuring system of claim 4, when the object to be measured is dark and photoelectric conversion is cut off in the second predetermined time, resulting in insufficient contrast, the object to be measured is illuminated by the light of the light emitting means. Therefore, it is possible to accumulate sufficient charges for distance measurement in the photoelectric conversion again.
Since the distance measurement target is illuminated, the photoelectric conversion is likely to be completed again by the second predetermined time.
Therefore, even when the distance measurement target is dark or at night, distance measurement can be accurately performed in a short time.

【0055】請求項5のオートフォーカスカメラでは、
暗い被写体であっても、精度よく測距を行うことがで
き、ピントの合った像を撮影することが可能である。ま
た、光電変換は測距に必要な最小限の時間に抑えられる
ため、焦点調節を迅速に行うことができて、移動する被
写体に対しても撮影レンズの焦点位置は迅速に追従す
る。また、測距システムに発光手段を設けた構成では、
きわめて暗い被写体であっても、短時間で精度よく測距
を行うことができる。
In the autofocus camera according to claim 5,
Even for a dark subject, distance measurement can be accurately performed, and a focused image can be taken. Further, since the photoelectric conversion can be suppressed to the minimum time required for distance measurement, focus adjustment can be performed quickly, and the focus position of the taking lens can quickly follow a moving subject. Also, in the configuration in which the light emitting means is provided in the distance measuring system,
Even an extremely dark subject can be accurately measured in a short time.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明の一実施形態であるオートフォーカス
カメラの概略構成を示す図。
FIG. 1 is a diagram showing a schematic configuration of an autofocus camera according to an embodiment of the present invention.

【図2】 測距用ICおよび測距演算装置の構成と信号
の流れを示す図。
FIG. 2 is a diagram showing a configuration and a signal flow of a ranging IC and a ranging calculation device.

【図3】 測距処理の流れを示すフローチャート。FIG. 3 is a flowchart showing the flow of distance measurement processing.

【図4】 ラインセンサ像の明るさとラインセンサを構
成する光電変換素子の電位が所定電位に到達するのに要
する時間の関係を示す図。
FIG. 4 is a diagram showing the relationship between the brightness of a line sensor image and the time required for the potential of a photoelectric conversion element forming the line sensor to reach a predetermined potential.

【符号の説明】[Explanation of symbols]

1 オートフォーカスカメラ本体 2 測距用光学系 3 測距用IC 4 測距演算装置 5 撮影レンズ 6 レンズ駆動装置 7 フィルム 8 露出制御装置 9 シャッタ 10 補助光装置 (発光手段) 11 警告装置 21、22 測距用レンズ 31 左ラインセンサ 32 右ラインセンサ 33 光電変換素子 33a 受光部 33b 蓄積部 33c ラッチ部 34、35 カウンタ 36 クロック 41 タイマー 42 積分開始指示回路 43 積分終了指示回路 51 積分時間設定回路 60 距離演算部 61、62 AD変換器 63、64 RAM 65、66 差分変換回路 67、68 RAM 69 コントラスト演算回路 (コントラスト
検出手段) 70 測距可否判定回路 71 相関演算回路 72 被写体距離演算回路 S1、S2 スイッチ、 TL1、TR1 経過時間 TE 積分時間 TEmin 最小積分時間 (第1の所定時間) TEmax 最大積分時間 (第2の所定時間)
1 Auto Focus Camera Main Body 2 Distance Measuring Optical System 3 Distance Measuring IC 4 Distance Measuring Arithmetic Device 5 Photographing Lens 6 Lens Driving Device 7 Film 8 Exposure Control Device 9 Shutter 10 Auxiliary Light Unit (Light Emitting Device) 11 Warning Device 21, 22 Distance measuring lens 31 Left line sensor 32 Right line sensor 33 Photoelectric conversion element 33a Light receiving part 33b Accumulating part 33c Latch part 34, 35 Counter 36 Clock 41 Timer 42 Integration start instruction circuit 43 Integration end instruction circuit 51 Integration time setting circuit 60 Distance Calculation unit 61, 62 AD converter 63, 64 RAM 65, 66 Difference conversion circuit 67, 68 RAM 69 Contrast calculation circuit (contrast detection means) 70 Distance measurement availability determination circuit 71 Correlation calculation circuit 72 Subject distance calculation circuit S1, S2 switch , TL1, TR1 elapsed time E integration time TEmin minimum integration time (first predetermined time) TEmax maximum integration time (second predetermined time)

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 測距対象からの光を1対の光電変換素子
列に導き、各光電変換素子列が光電変換して蓄積した電
荷の分布を比較することにより測距を行う測距システム
において、 前記1対の光電変換素子列のいずれか1つの光電変換素
子の蓄積電荷が所定量に到達するまで、前記1対の光電
変換素子列の光電変換を継続することを特徴とする測距
システム。
1. A distance measuring system for measuring a distance by guiding light from a distance measuring object to a pair of photoelectric conversion element arrays, and comparing distributions of charges accumulated by photoelectric conversion of each photoelectric conversion element array. A distance measuring system, wherein photoelectric conversion of the pair of photoelectric conversion element rows is continued until the accumulated charge of any one photoelectric conversion element row of the pair of photoelectric conversion element rows reaches a predetermined amount. .
【請求項2】 測距対象からの光を1対の光電変換素子
列に導き、各光電変換素子列が光電変換して蓄積した電
荷の分布を比較することにより測距を行う測距システム
において、 前記1対の光電変換素子列の光電変換を第1の所定時間
以上、かつ前記1対の光電変換素子列のいずれか1つの
光電変換素子の蓄積電荷が所定量に到達するまでまたは
第2の所定時間が経過するまで継続し、その後測距のた
めの電荷分布の比較を行うことを特徴とする測距システ
ム。
2. A distance measuring system for measuring a distance by guiding light from a distance measuring object to a pair of photoelectric conversion element arrays and comparing distributions of charges accumulated by photoelectric conversion of the photoelectric conversion element arrays. , The photoelectric conversion of the pair of photoelectric conversion element rows is performed for a first predetermined time or more, and the accumulated charge of any one photoelectric conversion element of the pair of photoelectric conversion element rows reaches a predetermined amount, or second The distance measuring system is characterized in that the charge distribution is continued until a predetermined time of, and then the charge distributions for distance measurement are compared.
【請求項3】 前記1対の光電変換素子列の光電変換
を、前記1対の光電変換素子列それぞれのいずれか1つ
の光電変換素子の蓄積電荷が所定量に到達するまで、ま
たは前記第2の所定時間が経過するまで継続することを
特徴とする請求項2に記載の測距システム。
3. The photoelectric conversion of the pair of photoelectric conversion element arrays is performed until the accumulated charge of any one photoelectric conversion element of each of the pair of photoelectric conversion element arrays reaches a predetermined amount, or the second conversion. The distance measuring system according to claim 2, wherein the distance measuring system is continued until a predetermined time of (3) elapses.
【請求項4】 測距対象に向けて光を発する発光手段
と、前記1対の光電変換素子列の蓄積電荷からコントラ
ストを検出するコントラスト検出手段とを備えて、前記
コントラスト検出手段によって検出したコントラストが
所定値よりも低いときに、前記発光手段に発光させた状
態で前記1対の光電変換素子列の光電変換を反復するこ
とを特徴とする請求項2または請求項3に記載の測距シ
ステム。
4. The contrast detected by the contrast detecting means, comprising: a light emitting means for emitting light toward an object to be distance-measured; and a contrast detecting means for detecting the contrast from the accumulated charges of the pair of photoelectric conversion element arrays. 4. The distance measuring system according to claim 2, wherein the photoelectric conversion of the pair of photoelectric conversion element rows is repeated in a state where the light emitting means emits light when is smaller than a predetermined value. .
【請求項5】 請求項1ないし請求項4のいずれかに記
載の測距システムを備えて被写体の測距を行い、その結
果に基づいて撮影レンズの焦点調節を自動的に行うこと
を特徴とするオートフォーカスカメラ。
5. The distance measuring system according to claim 1 is provided to measure the distance to an object, and the focus of the photographing lens is automatically adjusted based on the result. An autofocus camera.
JP22180395A 1995-08-30 1995-08-30 Range finder system and autofocusing camera Pending JPH0968643A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP22180395A JPH0968643A (en) 1995-08-30 1995-08-30 Range finder system and autofocusing camera
US08/697,568 US5808291A (en) 1995-08-30 1996-08-28 Image information detection system and optical equipment using the system
US09/084,089 US5939705A (en) 1995-08-30 1998-05-26 Image information detection system and optical equipment using the system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22180395A JPH0968643A (en) 1995-08-30 1995-08-30 Range finder system and autofocusing camera

Publications (1)

Publication Number Publication Date
JPH0968643A true JPH0968643A (en) 1997-03-11

Family

ID=16772448

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22180395A Pending JPH0968643A (en) 1995-08-30 1995-08-30 Range finder system and autofocusing camera

Country Status (1)

Country Link
JP (1) JPH0968643A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09133857A (en) * 1995-11-08 1997-05-20 Nikon Corp Focus detection device and method of adjusting focus detection device
JPH1028163A (en) * 1997-03-21 1998-01-27 Sony Corp Telephone equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09133857A (en) * 1995-11-08 1997-05-20 Nikon Corp Focus detection device and method of adjusting focus detection device
JPH1028163A (en) * 1997-03-21 1998-01-27 Sony Corp Telephone equipment

Similar Documents

Publication Publication Date Title
JP4346926B2 (en) Strobe photographing system and imaging apparatus
JP3963568B2 (en) Camera autofocus device
US4952963A (en) Focus detection apparatus for camera
US7773872B2 (en) Camera having a function of predicting a future image plane position from a change in a plurality of past image plane positions and of time detection, a photographic lens to be mounted on the same, and a camera system
US6222996B1 (en) Camera with distance measuring apparatus for preferentially controlling passive and active type AF system
US7385640B2 (en) Camera system, lens apparatus and camera
US7496290B2 (en) Multipoint autofocus system and camera having multipoint autofocus system
US5845155A (en) Multipoint autofocusing system
US5808291A (en) Image information detection system and optical equipment using the system
JP2004258431A (en) Flash photography system
US5721977A (en) Distance measuring apparatus of camera improved in measuring process
JPH0968643A (en) Range finder system and autofocusing camera
US5408291A (en) AF camera having a display for displaying a plurality of modes
JPH0961704A (en) Range-finding system and autofocusing camera
JP4063924B2 (en) Camera autofocus device
JP2000171685A (en) Focus detector
EP0754963A1 (en) Flash photography system
JP5171124B2 (en) Focus adjustment device, imaging device, and focus adjustment method
US4816858A (en) Automatic focusing cameras
JPH0961702A (en) Range-finding system and autofocusing camera
EP0578174B1 (en) Photometer with adjustable dynamic range for a photographic camera
JP3055961B2 (en) Autofocus device
JP4245708B2 (en) Ranging device
JP2003084194A (en) Camera
JPH09211306A (en) Range-finding system