JP2000193879A - Distance measuring equipment - Google Patents

Distance measuring equipment

Info

Publication number
JP2000193879A
JP2000193879A JP37034398A JP37034398A JP2000193879A JP 2000193879 A JP2000193879 A JP 2000193879A JP 37034398 A JP37034398 A JP 37034398A JP 37034398 A JP37034398 A JP 37034398A JP 2000193879 A JP2000193879 A JP 2000193879A
Authority
JP
Japan
Prior art keywords
distance measuring
panel
distance
light
pair
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.)
Withdrawn
Application number
JP37034398A
Other languages
Japanese (ja)
Inventor
Takashi Kindaichi
剛史 金田一
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.)
Olympus Corp
Original Assignee
Olympus Optical 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP37034398A priority Critical patent/JP2000193879A/en
Publication of JP2000193879A publication Critical patent/JP2000193879A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Measurement Of Optical Distance (AREA)
  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve distance measuring accuracy by detecting a stain on a panel or an abnormality with high accuracy without increasing the cost and the space. SOLUTION: A distance measuring equipment in which a pair of beams from an object are respectively incident on a pair of line sensors through a panel 15 forming a part of accessories, and the distance to the object is obtained based on a pair of output from the line sensors, is provided with a CPU 18 to evaluate the parameter to indicate the relative degree of agreement of a pair of outputs from the line sensors specified times, and display parts 26, 27 to detect and inform an abnormal condition related to distance measuring in response to the result of the evaluation.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、外光パッシブ方式
の測距装置に係り、特にカメラの外装の一部をなし上記
測距装置の窓として機能するパネルが汚れたことを検出
し、警告する機能を有する測距装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an external light passive distance measuring device, and more particularly, to detecting that a panel which forms a part of the exterior of a camera and functions as a window of the distance measuring device becomes dirty and warns the user. The present invention relates to a distance measuring device having a function of performing

【0002】[0002]

【従来の技術】近年、カメラについては、ユーザーのニ
ーズに答えるべく、低価格化や小型軽量化、ズームの高
倍率化(撮影レンズの長焦点距離化)等が急速に進めら
れている。かかる技術進展の背景下では、測距装置は高
精度化が余儀なく要求されることになるが、その高精度
を追求すると、カメラの外装の一部をなし測距装置の窓
となるパネルの汚れの測距精度への影響が無視できない
ものとなる。
2. Description of the Related Art In recent years, in order to meet the needs of users, the cost, size, and weight of the camera, and the magnification of the zoom (lengthening the focal length of the photographing lens) have been rapidly advanced. Under the background of such technological progress, it is indispensable to increase the accuracy of the distance measuring device. However, in pursuit of the high accuracy, the contamination of a panel which forms a part of the exterior of the camera and serves as a window of the distance measuring device. The effect on the distance measurement accuracy cannot be ignored.

【0003】このような問題に鑑みて、従来より種々の
技術開発がなされている。
In view of such problems, various technical developments have been made conventionally.

【0004】即ち、例えば特開平7−146353号公
報では、パネルに対して光を投光する投光手段と、上記
パネルにより反射された光を受光する受光手段と、を具
備し、上記受光手段により得られた受光信号より、パネ
ルの汚れを起因とするパネルの拡散反射率の変化を検出
し、パネルの汚れを検出することを特徴の一つとする距
離測定装置に関する技術が開示されている。
[0004] That is, for example, Japanese Patent Application Laid-Open No. Hei 7-146353 discloses a light-emitting device including a light-emitting means for emitting light to a panel, and a light-receiving means for receiving light reflected by the panel. A technique related to a distance measuring device characterized by detecting a change in the diffuse reflectance of the panel due to the contamination of the panel from the received light signal obtained by the method and detecting the contamination of the panel is disclosed.

【0005】さらに、特開平7−146354号公報で
は、投光手段と受光手段とを具備し、パネルの内部に光
を透過させるような構成をとり、このときの透過光量の
変化を上記受光手段で検出し、パネルの汚れを検出する
ことを特徴の一つとするカメラに関する技術が開示され
ている。
Further, Japanese Patent Application Laid-Open No. Hei 7-146354 discloses a structure in which a light projecting means and a light receiving means are provided to transmit light inside the panel. There is disclosed a technology relating to a camera, which is characterized in that it is one of the features to detect the dirt on the panel.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来技術では、カメラに搭載する場合を想定すると、測距
装置自体が非常にコスト高となり、その制御や構成等も
複雑となり、更には、測距装置が占めるカメラ内スペー
スは増大していた。
However, in the above prior art, assuming that the distance measuring device is mounted on a camera, the distance measuring device itself becomes very expensive, and its control and configuration become complicated. The space occupied by the device in the camera was increasing.

【0007】即ち、上記した従来技術は、測距装置の高
精度化という点においては成果があるものの、上述した
ような近年のユーザーのニーズのうち低価格化や小型軽
量化の問題を解決することができなかった。
That is, although the above-mentioned prior art has been successful in improving the accuracy of a distance measuring apparatus, it solves the above-mentioned problems of recent users, such as low price and small size and light weight. I couldn't do that.

【0008】本発明は、上記問題に鑑みてなされたもの
で、その目的とするところは、新たな構成を付加するこ
となく、測距動作毎に得られる情報を有効利用すること
で、換言すれば、ソフトウェア上の情報処理の工夫によ
り、コストアップやスペースの増大をもたらすことな
く、パネルの汚れを検出して所定の警告をすることを可
能とし、パネルの汚れを起因とする誤測距の未然防止を
図り、測距精度や信頼性を向上させた測距装置を提供す
ることにある。
[0008] The present invention has been made in view of the above problems, and an object of the present invention is to effectively utilize information obtained for each distance measurement operation without adding a new configuration. For example, by devising information processing on software, it is possible to detect panel dirt and give a predetermined warning without increasing costs and increasing space, and to prevent erroneous ranging due to panel dirt. It is an object of the present invention to provide a distance measuring device which is prevented from occurring and has improved distance measuring accuracy and reliability.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、本発明の第1の態様では、外装部品の一部をなす透
光パネルと受光光学系とを介して、被写体からの対の光
を対のラインセンサにそれぞれ入射させ、このラインセ
ンサからの対の出力に基いて被写体までの距離を求める
測距装置であって、上記ラインセンサからの対の出力の
相対的一致度を表すパラメータを所定回数にわたって評
価する評価手段と、この評価手段の評価結果に応答し
て、測距動作に係る異常な状態を検知して告知する手段
とを具備したことを特徴とする測距装置が提供される。
In order to achieve the above object, according to a first aspect of the present invention, a pair of objects from a subject is transmitted through a light-transmitting panel and a light-receiving optical system forming a part of an exterior part. A distance measuring device that causes light to be incident on a pair of line sensors and calculates a distance to a subject based on the output of the pair from the line sensor, and indicates a relative coincidence between the pair of outputs from the line sensor. A distance measuring device comprising: an evaluation unit that evaluates a parameter a predetermined number of times; and a unit that detects and notifies an abnormal state related to a distance measurement operation in response to an evaluation result of the evaluation unit. Provided.

【0010】そして、第2の態様では、上記第1の態様
において、上記測距動作に係る異常な状態は、上記透光
パネルの表面が汚れた状態、および上記透光パネルの表
面が障害物で覆われた状態を含むことを特徴とする測距
装置が提供される。
According to a second aspect, in the first aspect, the abnormal state related to the distance measuring operation is such that the surface of the light-transmitting panel is dirty and the surface of the light-transmitting panel is an obstacle. A distance measuring device is provided, which includes a state covered with a distance.

【0011】更には、第3の態様では、上記第1の態様
において、上記測距動作に係る異常な状態の告知は、測
距動作用の表示手段を兼用してなされることを特徴とす
る測距装置が提供される。
Further, in a third aspect, in the first aspect, the notification of the abnormal state relating to the distance measuring operation is made by also using a display means for the distance measuring operation. A ranging device is provided.

【0012】上記第1乃至第3の態様によれば以下の作
用が奏される。
According to the above-described first to third aspects, the following operations are provided.

【0013】即ち、本発明の第1の態様では、評価手段
により、ラインセンサからの対の出力の相対的一致度を
表すパラメータが所定回数にわたって評価され、告知手
段により、上記評価手段の評価結果に応答して、測距動
作に係る異常な状態が検知されて告知されることにな
る。
That is, in the first aspect of the present invention, the parameter representing the relative coincidence of the pair output from the line sensor is evaluated a predetermined number of times by the evaluation means, and the notification result of the evaluation means is evaluated by the notification means. , An abnormal state related to the distance measuring operation is detected and notified.

【0014】第2の態様では、上記第1の態様におい
て、上記測距動作に係る異常な状態には、上記透光パネ
ルの表面が汚れた状態、および上記透光パネルの表面が
障害物で覆われた状態が含まれる。
According to a second aspect, in the first aspect, the abnormal condition relating to the distance measuring operation includes a condition in which the surface of the light-transmitting panel is dirty and a surface in which the light-transmitting panel is obstructed. Includes covered state.

【0015】第3の態様では、上記第1の態様におい
て、上記測距動作に係る異常な状態の告知は、測距動作
用の表示手段を兼用してなされる。
[0015] In a third aspect, in the first aspect, the notification of the abnormal state relating to the distance measuring operation is performed by also using the display means for the distance measuring operation.

【0016】[0016]

【発明の実施の形態】以下、図面を参照して、本発明の
実施の形態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0017】先ず、図1は、本発明の第1の実施の形態
に係る測距装置を採用したカメラの構成を示すブロック
図である。
FIG. 1 is a block diagram showing a configuration of a camera employing a distance measuring apparatus according to a first embodiment of the present invention.

【0018】図1に示されるように、リモートコントロ
ール(以下、リモコンと略記する)受光回路20と測光
(以下、AEと略記する)受光回路21の出力は、カメ
ラ全体の制御を司る中央演算処理装置(CPU ;Central
Processing Unit)18の入力に接続されている。そ
して、このCPU18の出力は、表示部26,27、測
距(以下、AFと略記する)補助光発光回路22、AF
部23、ストロボ回路24の入力にそれぞれ接続されて
いる。更に、CPU18は、メカ駆動・制御部19と相
互に通信自在に接続されている。この他、カメラ25に
は、ファインダ光学系14、撮影光学系7、パネル15
等が設けられている。
As shown in FIG. 1, the outputs of a remote control (hereinafter abbreviated as “remote”) light receiving circuit 20 and a photometric (hereinafter abbreviated as “AE”) light receiving circuit 21 are processed by a central processing unit that controls the entire camera. Equipment (CPU; Central
(Processing Unit) 18. The outputs of the CPU 18 are displayed on display units 26 and 27, a distance measuring (hereinafter abbreviated as AF) auxiliary light emitting circuit 22, an AF
The section 23 and the input of the strobe circuit 24 are connected to each other. Further, the CPU 18 is communicably connected to the mechanical drive / control unit 19. In addition, the camera 25 includes a finder optical system 14, an imaging optical system 7, a panel 15
Etc. are provided.

【0019】このような構成において、撮影者により不
図示のレリーズスイッチが押下されると、CPU18は
AF部23に対して測距動作開始を指示する。次いで、
CPU18は、上記AF部23で行われる被写体の輝度
信号の積分動作をモニタし、必要に応じてAF補助光回
路22に補助光発光要求信号を出力し、補助光を点灯さ
せ、再度、AF部23で積分動作を行わせる。
In such a configuration, when the release switch (not shown) is pressed by the photographer, the CPU 18 instructs the AF section 23 to start a distance measuring operation. Then
The CPU 18 monitors the integration operation of the luminance signal of the subject performed by the AF unit 23, outputs an auxiliary light emission request signal to the AF auxiliary light circuit 22 as necessary, turns on the auxiliary light, and At 23, the integration operation is performed.

【0020】上記積分動作が終了すると、CPU18
は、被写体の輝度信号をAF部23より取得し、測距演
算を行い、被写体距離を求める。このとき、被写体距離
を求めるまでをAF部23で実施し、当該被写体距離を
CPU18に対して出力するような構成としても良いこ
とは勿論である。
When the integration operation is completed, the CPU 18
Acquires the luminance signal of the subject from the AF unit 23, performs distance measurement calculation, and obtains the subject distance. At this time, it is a matter of course that the AF unit 23 may execute the processing up to obtaining the subject distance and output the subject distance to the CPU 18.

【0021】続いて、CPU18は、AF受光回路21
を用いて測光を行う。この測光が完了すると露出演算を
行い、シャッタスピード及び絞り値を算出する。また、
ストロボの要/不要を判断し、ストロボ要の場合には発
光光量も算出する。
Subsequently, the CPU 18 controls the AF light receiving circuit 21
Photometry is performed using. When the photometry is completed, an exposure calculation is performed to calculate a shutter speed and an aperture value. Also,
The necessity / unnecessity of the strobe is determined, and in the case of the strobe, the light emission amount is also calculated.

【0022】次に、CPU18は、被写体にピントを合
わせるべく、不図示のフォーカシングレンズの駆動量を
算出し、メカ駆動・制御部19によりフォーカシングレ
ンズの駆動を行う。更に、先に露出演算により算出した
シャッタスピードと絞り値に基づいて不図示のシャッタ
をメカ駆動・制御部19にて駆動し、露光する。このと
き、CPU18は、必要に応じてストロボ回路24に対
してストロボ発光要求信号を出し、ストロボ回路24を
発光させる。
Next, the CPU 18 calculates the driving amount of a focusing lens (not shown) in order to focus on the subject, and drives the focusing lens by the mechanical drive / control unit 19. Furthermore, a shutter (not shown) is driven by the mechanical drive / control unit 19 based on the shutter speed and the aperture value previously calculated by the exposure calculation to perform exposure. At this time, the CPU 18 issues a strobe light emission request signal to the strobe circuit 24 as necessary, and causes the strobe circuit 24 to emit light.

【0023】こうして、一連の露光動作が完了すると、
CPU18は、メカ駆動・制御部19によりフィルムを
1コマ巻き上げ、次回の撮影動作の準備をする。
Thus, when a series of exposure operations is completed,
The CPU 18 winds up the film by one frame by the mechanical drive / control unit 19 and prepares for the next photographing operation.

【0024】尚、上記の他にもカメラの動作としては、
リモコンモード時の動作や撮影光学系7が変換可能(ズ
ーム可能)であれば、撮影光学系7の変換動作等がある
が、これらの詳細な説明は省略する。
The operation of the camera other than the above is as follows.
If the operation in the remote control mode or the photographing optical system 7 can be converted (zoomable), there is a conversion operation of the photographing optical system 7 and the like, but a detailed description thereof will be omitted.

【0025】ここで、図2は第1の実施の形態に係る測
距装置を採用したカメラの正面図である。同図に示され
るように、カメラの正面の所定位置には、AF窓1、フ
ァインダ窓3、AF補助光窓2が横並びで配置されてお
り、更に撮影光学系7の周囲の所定位置に図示の如くA
E窓4、リモコン窓5が配置されている。また、ポップ
アップ式のストロボ窓6は、カメラ本体に収納可能とな
っている。
FIG. 2 is a front view of a camera employing the distance measuring apparatus according to the first embodiment. As shown in the figure, an AF window 1, a finder window 3, and an AF auxiliary light window 2 are arranged side by side at a predetermined position in front of the camera. Like A
An E window 4 and a remote control window 5 are arranged. The pop-up flash window 6 can be stored in the camera body.

【0026】図3は上面よりカメラの外装を透視した様
子を示す図である。
FIG. 3 is a view showing a state where the exterior of the camera is seen through from above.

【0027】この図3に示されるように、パネル15に
はAF窓1、補助光窓2、ファインダ窓3が図示の如く
設けられている。上記AF窓1の後方のカメラ内部に
は、AF光学系8、AF筐体9、AFIC10からなる
AF部23が設けられており、上記ファインダ窓3の後
方のカメラ内部には、ファインダ光学系14が設けられ
ており、上記補助光窓2の後方のカメラ内部には、AF
補助光光学系11、反射傘13、補助光光源12が設け
られている。上記AF光学系8とAF筐体9、AFIC
10は、先に示した図1のAF部23に相当するもので
ある。
As shown in FIG. 3, the panel 15 is provided with an AF window 1, an auxiliary light window 2, and a finder window 3 as shown. An AF section 23 including an AF optical system 8, an AF housing 9, and an AFIC 10 is provided inside the camera behind the AF window 1. A finder optical system 14 is provided inside the camera behind the finder window 3. Is provided inside the camera behind the auxiliary light window 2.
An auxiliary light optical system 11, a reflector 13, and an auxiliary light source 12 are provided. The AF optical system 8, the AF housing 9, the AFIC
Reference numeral 10 corresponds to the AF unit 23 shown in FIG. 1 described above.

【0028】カメラの外装の一部であるパネル15とA
F部23の位置関係、及びAF窓1とAF部23の位置
関係は、図示の通りであり、被写体からの光は、AF窓
1、AF光学系8、AF筐体9を介してAFIC10へ
と導かれるように各部材が配置されている。
Panels 15 and A, which are part of the exterior of the camera,
The positional relationship of the F unit 23 and the positional relationship between the AF window 1 and the AF unit 23 are as illustrated, and light from the subject is transmitted to the AFIC 10 via the AF window 1, the AF optical system 8, and the AF housing 9. Each member is arranged so as to be guided.

【0029】図4には、上記AF部23を更に具現化し
た構成を示し説明する。
FIG. 4 shows a configuration in which the AF unit 23 is further embodied and will be described.

【0030】この図4に示されるように、AF光学系8
は一体形成された一対のレンズで構成されており、AF
筐体9は上記一対のレンズのそれぞれの光路の分割し、
内部での不要な拡散反射を防ぐ様な構造になっている。
As shown in FIG. 4, the AF optical system 8
Is composed of a pair of lenses integrally formed, and AF
The housing 9 divides each optical path of the pair of lenses,
It has a structure that prevents unnecessary diffuse reflection inside.

【0031】被写体からの光を受光し、測距のために用
いる被写体輝度信号を取得するための受光手段であるラ
インセンサ16、ラインセンサ17は、AFIC10に
1チップ上にモノリシックに形成されている。
The line sensor 16 and the line sensor 17, which are light receiving means for receiving light from a subject and obtaining a subject luminance signal used for distance measurement, are monolithically formed on the AFIC 10 on one chip. .

【0032】以上、第1の実施の形態に係るカメラのA
F部23とその周辺の構成を詳細に説明したが、次に測
距の原理を詳細に説明する。
The A of the camera according to the first embodiment is described above.
The configuration of the F section 23 and its periphery has been described in detail. Next, the principle of distance measurement will be described in detail.

【0033】図5には、被写体とAF部23との関係を
示し説明する。
FIG. 5 shows the relationship between the subject and the AF section 23 and will be described.

【0034】同図において、被写体からの光は、パネル
15とAF光学系8を介してラインセンサ16、ライン
センサ17へと導かれる。
In the figure, light from a subject is guided to a line sensor 16 and a line sensor 17 via a panel 15 and an AF optical system 8.

【0035】さらに、図6は上記ラインセンサ17によ
り得られた被写体の輝度情報を示す図である。同図に於
いて、L,C,Rと示したのは、ラインセンサ17を複
数に分割し、それぞれを測距ポイントとして、当該測距
ポイントに対応した方向の複数の被写体距離を求めるこ
とができる「マルチAF」の例である。
FIG. 6 is a diagram showing luminance information of a subject obtained by the line sensor 17. In the figure, L, C, and R are used to divide the line sensor 17 into a plurality of parts, each of which is used as a distance measurement point, to obtain a plurality of object distances in a direction corresponding to the distance measurement point. This is an example of a possible “multi AF”.

【0036】また、図示の被写体の輝度情報(以下、セ
ンサデータとする)は、ラインセンサ17の各セルの受
光光電流の積分の方法によって異なり、明/暗でセンサ
データの大/小が反転することがある。
The luminance information (hereinafter referred to as sensor data) of the illustrated subject differs depending on the method of integrating the received light current of each cell of the line sensor 17, and the magnitude of the sensor data is inverted between bright and dark. May be.

【0037】本実施の形態では、被写体より背景の方が
明るく、明るいセンサデータは小さくなる。また、測距
ポイントCで人物をセンサデータを形成し、測距ポイン
トLで木のセンサデータを形成している。
In this embodiment, the background is brighter than the subject, and the bright sensor data is smaller. Further, sensor data of a person is formed at a distance measuring point C, and sensor data of a tree is formed at a distance measuring point L.

【0038】ここで、上記測距ポイントCで人物までの
距離を求める場合には、測距ポイントCのセンサデータ
の位相差(相対的ずれ量)を求め、三角測量の原理によ
れば、人物までの距離が求まることになる。尚、ここで
は、上記三角測量の原理についての詳細な説明は省略す
る。
Here, when calculating the distance to the person at the distance measuring point C, the phase difference (relative shift amount) of the sensor data at the distance measuring point C is calculated. The distance to is obtained. Here, a detailed description of the principle of the triangulation is omitted.

【0039】次に、図7,8及び図9のフローチャート
を参照して、第1の実施の形態に係る測距装置による測
距動作を詳細に説明する。
Next, the distance measuring operation of the distance measuring apparatus according to the first embodiment will be described in detail with reference to the flowcharts of FIGS.

【0040】AF部23は、CPU18からの測距動作
開始信号を受けて、被写体のセンサデータ(輝度情報)
を取得する為にセンサ積分を行う(ステップS1)。続
いて、CPU18は、AF部23より先に図6に示した
センサデータを取得し(ステップS2)、コントラスト
チェックを行う(ステップS3)。
The AF unit 23 receives a distance measurement operation start signal from the CPU 18 and receives sensor data (luminance information) of the subject.
The sensor integration is performed in order to obtain (1) (Step S1). Subsequently, the CPU 18 acquires the sensor data shown in FIG. 6 before the AF unit 23 (step S2), and performs a contrast check (step S3).

【0041】一般的には、センサデータのMIN値とM
AX値の差を求め、この差が小さい場合がローコントラ
ストであり、測距不能であることが推測できる。かかる
コントラストチェックの結果によっては、チェックした
測距ポイントの残された処理を中断、中止してもよいこ
とは勿論である。
Generally, the MIN value of sensor data and M
The difference between the AX values is obtained, and when the difference is small, the contrast is low, and it can be estimated that the distance cannot be measured. Depending on the result of such a contrast check, it goes without saying that the process in which the checked distance measurement point remains may be interrupted or stopped.

【0042】次いで、センサデータのフレア補正を行う
(ステップS4)。フレア補正は一般的にフレアを原因
とし、ラインセンサ16、ラインセンサ17に入射する
被写体からの光の光量差等を補正するもので、上記いず
れかのラインセンサから取得したセンサデータを一律に
光量差分だけ加算する方法が知られている。
Next, flare correction of the sensor data is performed (step S4). The flare correction generally corrects a light amount difference or the like of light from an object incident on the line sensor 16 or the line sensor 17 due to a flare. A method of adding only the difference is known.

【0043】続いて、相関演算を行う(ステップS
5)。この相関演算は、位相差の整数部を求めるもので
あるが、以下、図7及び図8を参照して説明する。
Subsequently, a correlation operation is performed (step S).
5). This correlation operation is for calculating the integer part of the phase difference, and will be described below with reference to FIGS.

【0044】図7に示されるように、1つの測距ポイン
トのセンサデータに対して測距ポイントよりも小さい
(狭い)領域をウィンドとして設定する。無限遠の被写
体に対応するウィンドは図示のとおり、ラインセンサの
内側に位置し、このときのシフト量を0とする。近距離
の被写体に対応するウィンドは無限遠のウィンドに対し
て外側になる。相関演算は無限遠のウィンドをウィンド
の初期位置として、左右ウィンドを交互に外側へシフト
しながら、左右ウィンドのセンサデータの差データF
(n)(又は相関値)を下記式(1)に基づき算出す
る。
As shown in FIG. 7, an area smaller (narrower) than the distance measuring point is set as a window for the sensor data of one distance measuring point. As shown, the window corresponding to the subject at infinity is located inside the line sensor, and the shift amount at this time is set to zero. The window corresponding to an object at a short distance is outside the window at infinity. In the correlation calculation, the difference data F of the sensor data of the left and right windows is obtained by alternately shifting the left and right windows outward with the window at infinity as the initial position of the window.
(N) (or correlation value) is calculated based on the following equation (1).

【0045】[0045]

【数1】 (Equation 1)

【0046】ここで、nはシフト量で、mはウィンドの
センサ数、L(i)及びR(i)はウィンドの左からi
番目のセンサデータである。
Here, n is the shift amount, m is the number of window sensors, and L (i) and R (i) are i from the left of the window.
This is the second sensor data.

【0047】上記相関値F(n)とシフト量nの関係は
図8に示される通りである。
The relationship between the correlation value F (n) and the shift amount n is as shown in FIG.

【0048】かかる相関値F(n)は、左右センサデー
タの一致度のことである。従って、図8のF(n)が最
小値となるシフト量のとき、左右センサデータの一致度
は最も高く、このときのシフト量が被写体距離と相関で
ある。尚、シフト量は被写体距離の逆数に比例する関係
となっている。
The correlation value F (n) is the degree of coincidence between the left and right sensor data. Therefore, when F (n) in FIG. 8 is the shift amount at which the minimum value is obtained, the degree of coincidence between the left and right sensor data is the highest, and the shift amount at this time is correlated with the subject distance. Note that the shift amount has a relationship proportional to the reciprocal of the subject distance.

【0049】続いて、ステップS6では、位相差(前記
シフト量)の小数部までを求める補間演算を行う。かか
る補間演算は、図8の最小値を示すF(n)とその両端
のF(n−1)、F(n+1)を用いて式(2)に基づ
き行う。
Subsequently, in step S6, an interpolation operation for obtaining the decimal part of the phase difference (the shift amount) is performed. Such an interpolation operation is performed based on equation (2) using F (n) indicating the minimum value in FIG. 8 and F (n-1) and F (n + 1) at both ends.

【0050】 F(n−1)>F(n+1)のとき n+0.5×(F(n−1)−f(n+1)/F(n−1)−F(n)) F(n−1)≦F(n+1)のとき n−0.5×(F(n+1)−f(n−1)/F(n+1)−F(n)) ・・・(2) 上記ステップS5,S6の相関演算と補間演算は、一例
且つ公知の技術であり、他の演算方法を採用することが
可能であることは勿論である。
When F (n−1)> F (n + 1), n + 0.5 × (F (n−1) −f (n + 1) / F (n−1) −F (n)) F (n−1) ) ≦ F (n + 1) n−0.5 × (F (n + 1) −f (n−1) / F (n + 1) −F (n)) (2) Correlation of steps S5 and S6 The calculation and the interpolation calculation are examples and known techniques, and it is a matter of course that other calculation methods can be adopted.

【0051】続いて、信頼性判定を行う(ステップS
7)。かかる信頼性判定自体も公知の技術であり、最も
単純な例を示すと、先に示した図8の相関値の最小値F
(n)が所定値に対して大きいか小さいかを判定するも
のである。
Subsequently, the reliability is determined (step S
7). The reliability determination itself is also a known technique. In the simplest example, the minimum value F of the correlation value shown in FIG.
It is to determine whether (n) is larger or smaller than a predetermined value.

【0052】ここで、所定値よりも大きい場合は、左右
センサデータの一致度が低いので、上記ステップS5,
S6の相関演算、補間演算により算出された位相差の信
頼性(確からしさ)が低い。一方、小さい場合は逆に信
頼性が高い。一般的に信頼性が低い場合、その位相差デ
ータを用いた被写体距離の算出は行わずに、他の測距ポ
イント位相差から被写体距離を算出する等の処理をCP
U18は行うが、かかる処理については公知である為、
詳細な説明は省略する。
If the value is larger than the predetermined value, the degree of coincidence between the left and right sensor data is low.
The reliability (probability) of the phase difference calculated by the correlation operation and the interpolation operation in S6 is low. On the other hand, when it is small, the reliability is high. In general, when the reliability is low, a process such as calculating the subject distance from another ranging point phase difference without performing the calculation of the subject distance using the phase difference data is performed by CP.
U18 is performed, but since such processing is known,
Detailed description is omitted.

【0053】尚、信頼性判定についても様々の方法が知
られており、本発明に上記以外の別の方法に係る信頼性
判定を採用することも、複数種類の信頼性判定を用いる
ことも可能である。また、信頼性判定によっては、前述
とは異なり、信頼性判定値の大/小と算出された位相差
の信頼性(確からしさ)の関係が逆になる場合もあり、
信頼性判定(大/小判定)は前述したものがが全てでは
ない。
It should be noted that various methods are also known for reliability judgment, and it is possible to employ a reliability judgment according to another method other than the above in the present invention, or to use a plurality of types of reliability judgments. It is. Also, depending on the reliability determination, unlike the above, the relationship between the magnitude of the reliability determination value and the reliability (probability) of the calculated phase difference may be reversed,
The reliability judgment (large / small judgment) is not the one described above.

【0054】次に、信頼性の高い位相差の算出結果が得
られた場合、上記位相差より1/lデータ(被写体距離
の逆数)を求める(ステップS8)。この位相差と1/
lデータは比例の関係にある(三角測量の原理)。CP
U18は、当該1/lデータを、ピント調節する為のフ
ォーカシングレンズの駆動量に変換する。
Next, when a highly reliable calculation result of the phase difference is obtained, 1/1 data (the reciprocal of the object distance) is obtained from the phase difference (step S8). This phase difference and 1 /
The l data is in a proportional relationship (principle of triangulation). CP
U18 converts the 1 / l data into a driving amount of the focusing lens for adjusting the focus.

【0055】続いて、サブルーチン「パネル汚れ検出」
を実行する(ステップS9)。これは、本発明の特徴部
分である。
Subsequently, a subroutine "panel dirt detection" is performed.
Is executed (step S9). This is a feature of the present invention.

【0056】先に図5に示したような被写体を測距する
場合、パネルに汚れがなければ先に図6に示したような
センサデータが得られる。このとき、測距ポイントCで
位相差を求めると、相関値F(n)は図8に示すように
なる。
When measuring the distance of the subject as shown in FIG. 5, if the panel is not stained, the sensor data as shown in FIG. 6 is obtained. At this time, when the phase difference is obtained at the distance measurement point C, the correlation value F (n) becomes as shown in FIG.

【0057】一方、パネルが汚れていた場合には、図1
0に示すようなセンサデータが得られることになる。こ
のときの相関値F(n)は、図11に示される通りであ
る。パネルの汚れが原因となり、左右のラインセンサの
受光光量のアンバランス等が生じると、左右のセンサデ
ータの一致度は低下し、相関値F(n)の最小値は大き
くなる。本発明では、パネルが汚れてくると相関値F
(n)の最小値が大きくなるという汚れと相関値F
(n)の最小値の関係を利用してパネルの汚れを検出す
ることに特徴を有している。
On the other hand, if the panel is dirty,
Thus, sensor data as shown in FIG. The correlation value F (n) at this time is as shown in FIG. When the panel is contaminated and the received light amounts of the left and right line sensors become unbalanced or the like, the degree of coincidence between the left and right sensor data decreases, and the minimum value of the correlation value F (n) increases. In the present invention, when the panel becomes dirty, the correlation value F
The dirt that the minimum value of (n) becomes large and the correlation value F
It is characterized in that the stain on the panel is detected using the relationship of the minimum value of (n).

【0058】次に、図12のフローチャートを参照し
て、図9のステップS9で実行されるサブルーチン「パ
ネルの汚れ検出」のシーケンスを詳細に説明する。
Next, the sequence of the subroutine "panel dirt detection" executed in step S9 in FIG. 9 will be described in detail with reference to the flowchart in FIG.

【0059】信頼性判定値を更新する(ステップS1
0)。具体的には、不図示のEEPROM等の不揮発性
メモリに更新格納する。CPU18は、このEEPRO
M等からデータをRAMに呼び出し、演算処理するのが
通常である。
The reliability determination value is updated (step S1)
0). Specifically, the data is updated and stored in a non-volatile memory such as an EEPROM (not shown). The CPU 18 uses this EEPRO
Normally, data is called from the M or the like to the RAM and arithmetic processing is performed.

【0060】この信頼性判定値の更新は、図13に示さ
れるように、始めはCPU18のRAMに過去n回の測
距動作に関係した信頼性判定値がEEPROMより格納
されている。そして、測距動作が実行されると、一番古
い信頼性判定値S(n)は廃棄し、S(n−1)〜S
(2)のRAMの格納位置を図の様にシフトすると、更
に今回の測距動作に関係する最新の信頼性判定値がS
(1)としてRAMへ格納され、これらの信頼性判定値
はEEPROMにデータを退避させる。
As shown in FIG. 13, the reliability judgment value is updated from the EEPROM in the RAM of the CPU 18 at first with respect to the reliability judgment values related to the past n times of the distance measuring operation. When the ranging operation is performed, the oldest reliability determination value S (n) is discarded, and S (n−1) to S (n−1)
When the storage position of the RAM of (2) is shifted as shown in the figure, the latest reliability determination value related to the current distance measurement operation is further changed to S.
These reliability judgment values are stored in the RAM as (1), and the data is saved in the EEPROM.

【0061】次いで、過去の信頼性判定値の平均値を求
める(ステップS11)。
Next, an average value of past reliability judgment values is obtained (step S11).

【0062】この平均値は、過去n回分の平均値でデー
タを常に更新するので、一般的には移動平均と呼ばれて
おり、例えば、株価の変動等を示す指標としても用いら
れている。続いて、警告用フラグを一旦クリアし(ステ
ップS12)、上記移動平均値と所定値を比較し(ステ
ップS13)、所定値よりも大きい場合は、警告用フラ
グをセットする(ステップS14)。ここで、移動平均
値と所定値との大/小比較は、前述したように信頼性判
定の方法により種々の変形例があり、上記のものに限定
されないことは勿論である。また、複数の信頼性判定値
の移動平均値を複数の所定値と比較し、パネルの汚れを
判断することもできる。
Since this average value is constantly updated with the average value of the past n times, it is generally called a moving average, and is also used as an index indicating, for example, a change in stock price. Subsequently, the warning flag is once cleared (step S12), and the moving average value is compared with a predetermined value (step S13). If the moving average value is larger than the predetermined value, the warning flag is set (step S14). Here, the magnitude comparison between the moving average value and the predetermined value includes various modified examples depending on the reliability determination method as described above, and it is needless to say that the present invention is not limited to the above. Further, it is also possible to compare the moving average value of the plurality of reliability determination values with the plurality of predetermined values and determine the stain on the panel.

【0063】次に、上記のようにしてパネルの汚れを検
出した場合の警告方法を説明する。先ずは警告表示の概
要であるが、本実施の形態では、合焦表示用のAFLE
Dを兼用して、警告表示を行う。この警告用に専用の表
示部材を設けてもよいことは勿論である。AFLED
は、通常、合焦時点灯で非合焦時は点滅、測距動作実行
していない時消灯される。警告表示はAFLEDの点滅
により行い、非合焦時の表示とは点滅周波数を変える。
パネルの汚れを撮影者に積極的にアピールする為に、カ
メラの電源がON状態で測距動作を実行していないとき
にAFLEDを点滅させる。パネルが汚れていても、合
焦すればAFLEDは合焦表示に切換える。非合焦時も
AFLEDは非合焦表示に切換える。この表示方法は、
様々なバリエーションが考えられ、例えばパネルが汚れ
ていて、非合焦だった場合は、パネルの汚れの警告表示
のままにしてもよいことは勿論である。
Next, a warning method when the dirt on the panel is detected as described above will be described. First, an outline of the warning display will be described. In the present embodiment, AFLE for in-focus display is used.
A warning display is performed using D as well. It goes without saying that a dedicated display member may be provided for this warning. AFLED
Is normally turned on when focused, blinks when out of focus, and turned off when the distance measurement operation is not being performed. The warning display is performed by blinking the AFLED, and the blinking frequency is changed from the display at the time of out-of-focus.
The AFLED blinks when the power of the camera is ON and the distance measurement operation is not being performed in order to actively appeal to the photographer of the stain on the panel. Even if the panel is dirty, the AFLED switches to the in-focus display if it is in focus. Even when out of focus, the AFLED switches to out of focus display. This display method
Various variations are conceivable. For example, when the panel is dirty and out of focus, the warning display of the dirt on the panel may be left as it is.

【0064】以下、図14乃至図16のフローチャート
を参照して、本実施の形態に係る測距装置を採用したカ
メラ全体の動作を説明する。
The operation of the entire camera employing the distance measuring apparatus according to the present embodiment will be described below with reference to the flowcharts of FIGS.

【0065】図14に示されるように、カメラは電池出
し入れによりリセットがかかると、まずCPU18は初
期設定を行う(ステップS21)。この初期設定には、
過去の信頼性判定値等をEEPROM等の不揮発性メモ
リよりCPU18の揮発性メモリであるRAMへ読み込
む動作も含まれる。続いて、電気形の初期設定を行う
(ステップS22)。インターフェイスICの初期化等
がそれである。
As shown in FIG. 14, when the camera is reset by inserting and removing the battery, first, the CPU 18 performs an initial setting (step S21). This initial configuration includes
An operation of reading a past reliability determination value or the like from a non-volatile memory such as an EEPROM into a RAM, which is a volatile memory of the CPU 18, is also included. Subsequently, the initial setting of the electric type is performed (step S22). That is the initialization of the interface IC.

【0066】次いで、メカ初期設定を行う(ステップS
23)。ここでは、切換えクラッチの状態設定やメカポ
ジション検出等を行う。続いて、SW検出し(ステップ
S24)、ステップS25以降では、SW検出の結果に
応じて分岐する。即ち、SW入力がなければステップS
26でCPU18がhalt状態になる。割込み発生で
再びステップS24へ戻り、1つの処理ループを形成す
る。
Next, mechanical initial setting is performed (step S).
23). Here, setting of the state of the switching clutch, detection of the mechanical position, and the like are performed. Subsequently, the switch is detected (step S24), and after step S25, the process branches depending on the result of the SW detection. That is, if there is no SW input, step S
At 26, the CPU 18 enters the halt state. When an interrupt occurs, the process returns to step S24 to form one processing loop.

【0067】上記ステップS25でパワーSWがONが
検出されていると、メカ設定1の動作を実行する(ステ
ップS27)。このメカ設定1では、例えばカメラのボ
ディ内に収納された撮影光学系7を撮影可能状態(Wi
de)にセットアップする等の動作を行うことになる。
If the power SW is detected to be ON in step S25, the operation of mechanism setting 1 is executed (step S27). In the mechanical setting 1, for example, the photographing optical system 7 housed in the body of the camera can be photographed (Wi
An operation such as setup in de) is performed.

【0068】続いて、サブルーチン「表示設定」を実行
する(ステップS28)。
Subsequently, a subroutine "display setting" is executed (step S28).

【0069】以下、図15のフローチャートを参照し
て、このサブルーチン「表示設定」の動作を詳細に説明
する。
Hereinafter, the operation of this subroutine "display setting" will be described in detail with reference to the flowchart of FIG.

【0070】先ず、カメラのモードをLCDに表示する
(ステップS40)。次いで、コマ数を同じくLCDに
表示する(ステップS41)。更に日付、時間等をLC
Dに表示する(ステップS42)。そして、パネル汚れ
警告フラグをモニタし(ステップS43)、フラグが0
ならばパネルは汚れていないので、AFLEDを消灯す
る(ステップS44)。フラグが1ならばパネルが汚れ
ているので、AFLEDを8Hzで点滅させ、ユーザー
に警告する(ステップS45)。この8Hzは点滅周波
数の一例にすぎない。こうした一連の処理の後、図14
のステップS29にリターンする。
First, the mode of the camera is displayed on the LCD (step S40). Next, the number of frames is displayed on the LCD (step S41). Date, time, etc. LC
D is displayed (step S42). Then, the panel dirt warning flag is monitored (step S43), and the flag becomes 0.
If so, the panel is not dirty, and the AFLED is turned off (step S44). If the flag is 1, the panel is dirty, and the AFLED is blinked at 8 Hz to warn the user (step S45). This 8 Hz is only an example of the blinking frequency. After such a series of processing, FIG.
The process returns to step S29.

【0071】再び、図14の説明に戻る。Returning to the description of FIG.

【0072】続いて、SW検出2を実行する(ステップ
S29)。このSW検出2の結果によりステップS30
〜S31の処理に分岐する。
Subsequently, SW detection 2 is executed (step S29). Based on the result of SW detection 2, step S30
The process branches to steps S31 to S31.

【0073】ステップS31でパワーオフの場合には、
電源オフの準備等のメカ動作と各表示の点灯を行った後
に(ステップS32)、ステップS24に戻る。ステッ
プS30で1stレリーズ処理へ分岐する場合は、測距
動作をする(ステップS33)。この測距動作は前述で
説明したとおりである。
If the power is off in step S31,
After performing mechanical operations such as preparation for power-off and lighting of each display (step S32), the process returns to step S24. When branching to the first release process in step S30, a distance measurement operation is performed (step S33). This distance measuring operation is as described above.

【0074】次いで、測光をして(ステップS34)、
サブルーチン「測距・測光結果表示」を実行する(ステ
ップS35)。
Next, photometry is performed (step S34).
The subroutine "distance measurement / photometry result display" is executed (step S35).

【0075】以下、図16のフローチャートを参照し
て、サブルーチン「測距・測光結果表示」のシーケンス
を説明する。
The sequence of the subroutine "distance measurement / photometry result display" will be described below with reference to the flowchart of FIG.

【0076】先ず、合焦か否か判断し(ステップS5
1)、合焦の場合は、AFLEDを点灯し(ステップS
52)、非合焦の場合は、AFLEDを2Hzで点滅す
る(ステップS53)。但し、2Hzは点滅周波数の一
例であり、また、パネル汚れ警告がある場合には、警告
のままにしてもよいし、他のバリエーションも考えられ
る。次いで、ストロボの要/不要により分岐し(ステッ
プS54)、STLEDを点灯させる(ステップS5
5)。ストロボ未充電で点滅も考えられるが、説明を簡
単にする為、その記述は省略している。
First, it is determined whether or not focus is achieved (step S5).
1) In the case of focusing, the AF LED is turned on (step S)
52), if out of focus, the AFLED blinks at 2 Hz (step S53). However, 2 Hz is an example of the blinking frequency, and if there is a panel dirt warning, the warning may be left as it is, or other variations may be considered. Next, the process branches depending on the necessity / unnecessity of the strobe (step S54), and the STLED is turned on (step S5).
5). Although flashing may be considered when the strobe is not charged, the description is omitted for simplicity.

【0077】次いで、2ndレリーズが入るのを待ち
(ステップS56)。AFLED、STLEDを消灯す
る(ステップS57)。上記ステップS56は、2nd
レリーズが入らない又は1stレリーズが離されるなど
すると、無限ループとなるが、あくまでも発明の説明に
用いる例であり、簡単の便宜上、上記の様なシーケンス
としたものである。上記一例のシーケンスの後、図14
のステップS36にリターンすることとなる。
Then, it waits until the second release is entered (step S56). The AFLED and the STLED are turned off (step S57). The step S56 is the 2nd
When the release is not entered or the first release is released, an infinite loop is formed. However, this is merely an example used for the description of the invention, and the above-described sequence is used for convenience. After the above example sequence, FIG.
Will return to step S36.

【0078】再び図14の説明に戻る。Returning to the description of FIG.

【0079】続いて、レンズ駆動し(ステップS3
6)、露光し(ステップS37)、フィルム巻き上げし
(ステップS38)、上記ステップS28に戻れば1コ
マの撮影が終了したことになる。
Subsequently, the lens is driven (step S3).
6) Exposure (step S37), film winding (step S38), and returning to step S28, one frame has been photographed.

【0080】尚、警告表示の解除方法については、図示
しないが、複数SWの自動押しをもって解除としてもよ
いし、専用の解除SWを設けてもよい。
Although the method of canceling the warning display is not shown, it may be canceled by automatically pressing a plurality of SWs, or a dedicated canceling SW may be provided.

【0081】また、解除手段がなくても本実施の形態に
おいては、パネルの汚れをきれいにすれば、いずれ警告
表示は消えるはずである。警告表示のついたり消えたり
が頻繁に繰り返すハンチング状態を防ぐために、一度警
告表示をすると、パネルの汚れ判定値である所定値を第
2の所定量だけ変化させてもよい。
In the present embodiment, even if there is no releasing means, if the panel is cleaned, the warning display will eventually disappear. In order to prevent a hunting state in which the warning display is repeatedly turned on and off, once the warning display is made, the predetermined value which is the stain determination value of the panel may be changed by a second predetermined amount.

【0082】次に、本発明の第2の実施の形態を説明す
る。
Next, a second embodiment of the present invention will be described.

【0083】上記した第1の実施の形態では、パネルが
汚れるに従い、信頼性判定値が大きくなる例の説明をし
たが、信頼性判定値は、本来測距が可能か否かを判定す
るためのものであり、被写体により変化する。従って、
測距不可能な被写体の信頼性判定値まで含めて、移動平
均を求めるとパネル汚れ検出を誤る可能性が生じるの
で、測距不能時の信頼性判定値をパネル汚れ検出用のデ
ータから除外したものが以下に詳述する第2の実施の形
態である。
In the above-described first embodiment, an example has been described in which the reliability determination value increases as the panel becomes dirty. However, the reliability determination value is used to determine whether or not distance measurement can be performed. And varies depending on the subject. Therefore,
If the moving average is obtained including the reliability determination value of the subject whose distance cannot be measured, the possibility of erroneous panel dirt detection may occur.Therefore, the reliability determination value when distance measurement is not possible is excluded from the panel dirt detection data. This is the second embodiment described in detail below.

【0084】図17はローコントラストの被写体のセン
サデータの一例を示す図であり、例えパネルが汚れてい
ても、センサデータの絶対量が小さいため、左右のセン
サデータの一致度が悪くても信頼性判定値は小さくなる
ことが判る。
FIG. 17 is a diagram showing an example of sensor data of a low-contrast subject. Even if the panel is dirty, the absolute amount of the sensor data is small, so that even if the degree of coincidence between the left and right sensor data is poor, the reliability is low. It can be seen that the sex judgment value becomes smaller.

【0085】図18はシフト量と相関値F(n)の関係
図であり、図19はAF窓1を指等で隠してしまった指
掛りのときのセンサデータである。
FIG. 18 is a diagram showing the relationship between the shift amount and the correlation value F (n), and FIG. 19 shows sensor data when the AF window 1 is covered with a finger or the like.

【0086】この場合のシフト量と相関値F(n)との
関係はパネルが汚れたときの図11に示す例のようにな
る場合もある。更に、太陽の近くの物を写真に撮影しよ
うとして、極端なフレアが生じた場合にも同様になるこ
とがある。
In this case, the relationship between the shift amount and the correlation value F (n) may be as shown in FIG. 11 when the panel is dirty. Furthermore, the same may occur when an extreme flare occurs when an attempt is made to photograph an object near the sun.

【0087】以上の様にパネル汚れ検出に用いるのにふ
さわしくない信頼性判定値があり、本実施の形態では、
これらの影響を除外する。
As described above, there is a reliability judgment value that is not suitable for use in panel contamination detection. In this embodiment,
Exclude these effects.

【0088】以下、図20のフローチャートを参照し
て、パネル汚れ検出のシーケンスを説明する。先ず、コ
ントラストが所定値よりも大きいか、フレア補正量が所
定値よりも大きいか、信頼性判定値が所定値よりも大き
いかを判断することで、測距可能か不能かを判断し(ス
テップS100乃至S102)、測距不能であると判断
された場合はリターンする。一方、測距可能でると判断
された場合の処理(ステップS103乃至S107)に
ついては、前述した第1の実施の形態(図12のステッ
プS10〜S14)と同様であるので、重複する説明は
省略する。
Hereinafter, the sequence of panel dirt detection will be described with reference to the flowchart of FIG. First, it is determined whether the distance measurement is possible or impossible by determining whether the contrast is larger than a predetermined value, whether the flare correction amount is larger than the predetermined value, or whether the reliability determination value is larger than the predetermined value (step S1). In S100 to S102), if it is determined that distance measurement is impossible, the process returns. On the other hand, the processing when it is determined that distance measurement is possible (steps S103 to S107) is the same as in the above-described first embodiment (steps S10 to S14 in FIG. 12), and thus redundant description will be omitted. I do.

【0089】以上説明したように、本発明によれば、コ
ストアップやスペースの増大を生ずることなく、高精度
のパネルの汚れ検出や異常検出を実現し、更にはこのパ
ネルの汚れや異常が生じた場合にその旨を警告し、これ
により誤測距を未然に防ぎ測距精度の信頼性を向上させ
た測距装置を提供することができる。
As described above, according to the present invention, high-precision panel dirt detection and abnormality detection can be realized without increasing the cost and space, and furthermore, the panel dirt and abnormality can be generated. In such a case, a warning is given to that effect, whereby an erroneous distance measurement is prevented beforehand, and a distance measuring device with improved reliability of distance measurement accuracy can be provided.

【0090】尚、本発明の上記実施の形態には以下の発
明が含まれる。
The above embodiments of the present invention include the following inventions.

【0091】(1)カメラ外装の一部を構成する透光パ
ネルと受光レンズとを介して、被写体からの光を少なく
とも一対のラインセンサに導き、このラインセンサの出
力に基いて、被写体までの距離を求める測距装置を含む
カメラであって、上記測距装置は、測距演算結果の信頼
性を判定する信頼性判定手段と、上記信頼性判定手段の
判定結果に基いて、上記透光パネルの異常を検出する異
常検出手段と、を備え、上記異常検出手段の検出結果に
応答して、測距動作に係る異常を警告するようにしたこ
とを特徴とするカメラ。
(1) Light from a subject is guided to at least a pair of line sensors via a light-transmitting panel and a light-receiving lens which constitute a part of the camera exterior, and based on the output of the line sensors, the light from the subject to the subject is detected. A camera including a distance measuring device for obtaining a distance, wherein the distance measuring device includes: a reliability determining unit that determines reliability of a distance measurement operation result; An abnormality detecting means for detecting an abnormality of the panel, wherein the camera is adapted to warn of an abnormality relating to the distance measuring operation in response to a detection result of the abnormality detecting means.

【0092】(2)上記異常検出手段は、所定回数の過
去の測距動作に対応する信頼性判定値の移動平均値に基
いて、上記透光パネルの異常を検出することを特徴とす
る上記(1)記載のカメラ。
(2) The abnormality detecting means detects an abnormality of the translucent panel based on a moving average value of reliability judgment values corresponding to a predetermined number of past distance measuring operations. The camera according to (1).

【0093】上記態様によれば、上記信頼性判定手段に
おける信頼性判定値を所定量蓄積し、記憶保持すること
により、所定複数回の過去の測距動作に対応した信頼性
判定値の平均値(移動平均値)を求める。そして、この
信頼性判定値の移動平均値の算出を継続してモニタする
ことにより、測距装置の測距精度又は信頼性の劣化を検
出することが可能となり、換言すればカメラの前記パネ
ルの汚れを検出することが可能となる。尚、パネルの汚
れを検出すると、所定の警告を発し、ユーザーに対して
カメラのメンテナンスを促すことになる。
According to the above aspect, the reliability judgment value of the reliability judgment means is accumulated and stored in a predetermined amount, so that the average value of the reliability judgment values corresponding to a plurality of predetermined past distance measurement operations is obtained. (Moving average value). By continuously monitoring the calculation of the moving average value of the reliability determination value, it is possible to detect deterioration in the ranging accuracy or reliability of the ranging device. In other words, it is possible to detect the deterioration of the panel of the camera. Dirt can be detected. When a stain on the panel is detected, a predetermined warning is issued to urge the user to maintain the camera.

【0094】[0094]

【発明の効果】以上詳述したように、本発明によれば、
新たな構成を付加することなく、測距動作毎に得られる
情報を有効利用することで、換言すれば、ソフトウェア
上の情報処理の工夫により、コストアップやスペースの
増大をもたらすことなく、パネルの汚れを検出して所定
の警告をすることを可能とし、パネルの汚れを起因とす
る誤測距の未然防止を図り、測距精度や信頼性を向上さ
せた測距装置を提供することができる。
As described in detail above, according to the present invention,
By effectively utilizing the information obtained for each ranging operation without adding a new configuration, in other words, by devising information processing on software, the cost and space of the panel can be reduced without increasing the cost and space. It is possible to provide a distance measuring device that can detect dirt and give a predetermined warning, prevent erroneous distance measurement due to dirt on the panel, and improve distance measurement accuracy and reliability. .

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

【図1】本発明の第1の実施の形態に係る測距装置を採
用したカメラの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a camera employing a distance measuring device according to a first embodiment of the present invention.

【図2】第1の実施の形態に係る測距装置を採用したカ
メラの正面図である。
FIG. 2 is a front view of a camera employing the distance measuring device according to the first embodiment.

【図3】上面よりカメラの外装を透視した様子を示す図
である。
FIG. 3 is a diagram showing a state in which the exterior of the camera is seen through from above.

【図4】AF部23を更に具現化した構成を示す図であ
る。
FIG. 4 is a diagram showing a configuration in which an AF unit 23 is further embodied.

【図5】被写体とAF部23との関係を示す図である。FIG. 5 is a diagram illustrating a relationship between a subject and an AF unit 23.

【図6】ラインセンサ17により得られた被写体の輝度
情報を示す図である。
6 is a diagram showing luminance information of a subject obtained by a line sensor 17. FIG.

【図7】ラインセンサ16,17のシフト量の推移を示
す図である。
FIG. 7 is a diagram showing changes in shift amounts of line sensors 16 and 17;

【図8】相関値F(n)とシフト量nとの関係を示す図
である。
FIG. 8 is a diagram illustrating a relationship between a correlation value F (n) and a shift amount n.

【図9】第1の実施の形態に係る測距装置による測距動
作を詳細に説明するためのフローチャートである。
FIG. 9 is a flowchart for explaining in detail a distance measuring operation by the distance measuring apparatus according to the first embodiment.

【図10】パネルが汚れていた場合に得られるセンサデ
ータの様子を示す図である。
FIG. 10 is a diagram showing a state of sensor data obtained when the panel is dirty.

【図11】図10の場合に得られる相関値F(n)を示
す図である。
11 is a diagram showing a correlation value F (n) obtained in the case of FIG.

【図12】図9のステップS9で実行されるサブルーチ
ン「パネルの汚れ検出」のシーケンスを詳細に説明する
ためのフローチャートである。
12 is a flowchart for explaining in detail a sequence of a subroutine “panel dirt detection” executed in step S9 of FIG. 9;

【図13】信頼性判定値の更新の過程を説明するための
図である。
FIG. 13 is a diagram for explaining a process of updating a reliability determination value.

【図14】第1の実施の形態に係る測距装置を採用した
カメラの動作を説明するためのフローチャートである。
FIG. 14 is a flowchart for explaining the operation of a camera employing the distance measuring device according to the first embodiment.

【図15】図14のステップS28で実行されるサブル
ーチン「表示設定」のシーケンスを説明するためのフロ
ーチャートである。
FIG. 15 is a flowchart illustrating a sequence of a subroutine “display setting” executed in step S28 of FIG. 14;

【図16】図14のステップS35で実行されるサブル
ーチン「測距・測光結果表示」のシーケンスを説明する
ためのフローチャートである。
FIG. 16 is a flowchart for explaining a sequence of a subroutine “distance measurement / photometry result display” executed in step S35 of FIG. 14;

【図17】ローコントラストの被写体のセンサデータの
一例を示す図である。
FIG. 17 is a diagram illustrating an example of sensor data of a low-contrast subject;

【図18】シフト量と相関値F(n)との関係を示す図
である。
FIG. 18 is a diagram illustrating a relationship between a shift amount and a correlation value F (n).

【図19】AF窓1を指等で隠してしまった指掛りのと
きのセンサデータを示す図である。
FIG. 19 is a diagram showing sensor data when a finger rests on the AF window 1 with the finger or the like hidden.

【図20】パネル汚れ検出のシーケンスを説明するため
のフローチャートである。
FIG. 20 is a flowchart illustrating a sequence of panel dirt detection.

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

1 AF窓 2 AF補助光窓 3 ファインダ窓 4 AE窓 5 リモコン窓 6 ストロボ窓 7 撮影光学系 8 AF光学系 9 AF筐体 10 AFIC 11 AF補助光光学系 12 補助光光源 13 反射傘 14 ファインダ光学系 15 パネル 16 ラインセンサ 17 ラインセンサ 18 CPU 19 メカ駆動・制御部 20 リモコン受光回路 21 AE受光回路 22 AF補助光発光回路 23 AF部 24 ストロボ回路 25 カメラ 26 表示部 27 表示部 REFERENCE SIGNS LIST 1 AF window 2 AF auxiliary light window 3 Finder window 4 AE window 5 Remote control window 6 Strobe window 7 Shooting optical system 8 AF optical system 9 AF housing 10 AFIC 11 AF auxiliary light optical system 12 Auxiliary light source 13 Reflector 14 Finder optics System 15 Panel 16 Line sensor 17 Line sensor 18 CPU 19 Mechanical drive / control unit 20 Remote control light receiving circuit 21 AE light receiving circuit 22 AF auxiliary light emitting circuit 23 AF unit 24 Strobe circuit 25 Camera 26 Display unit 27 Display unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 外装部品の一部をなす透光パネルと受光
光学系とを介して、被写体からの対の光を対のラインセ
ンサにそれぞれ入射させ、このラインセンサからの対の
出力に基いて被写体までの距離を求める測距装置であっ
て、 上記ラインセンサからの対の出力の相対的一致度を表す
パラメータを所定回数にわたって評価する評価手段と、 この評価手段の評価結果に応答して、測距動作に係る異
常な状態を検知して告知する手段と、を具備したことを
特徴とする測距装置。
1. A pair of light from a subject is incident on a pair of line sensors via a translucent panel and a light receiving optical system which form a part of an exterior component, and based on a pair output from the line sensor. A distance measuring device for calculating a distance to a subject, wherein said evaluation means evaluates a parameter representing a relative degree of coincidence of a pair of outputs from said line sensor over a predetermined number of times, and responds to the evaluation result of said evaluation means. And a means for detecting and informing an abnormal state relating to the distance measuring operation.
【請求項2】 上記測距動作に係る異常な状態は、上記
透光パネルの表面が汚れた状態、および上記透光パネル
の表面が障害物で覆われた状態を含むことを特徴とする
請求項1記載の測距装置。
2. The abnormal state related to the distance measuring operation includes a state in which the surface of the translucent panel is dirty, and a state in which the surface of the translucent panel is covered with an obstacle. Item 7. The distance measuring device according to Item 1.
【請求項3】 上記測距動作に係る異常な状態の告知
は、測距動作用の表示手段を兼用してなされることを特
徴とする請求項1記載の測距装置。
3. The distance measuring apparatus according to claim 1, wherein the notification of the abnormal state related to the distance measuring operation is made also by a display means for the distance measuring operation.
JP37034398A 1998-12-25 1998-12-25 Distance measuring equipment Withdrawn JP2000193879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP37034398A JP2000193879A (en) 1998-12-25 1998-12-25 Distance measuring equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP37034398A JP2000193879A (en) 1998-12-25 1998-12-25 Distance measuring equipment

Publications (1)

Publication Number Publication Date
JP2000193879A true JP2000193879A (en) 2000-07-14

Family

ID=18496668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP37034398A Withdrawn JP2000193879A (en) 1998-12-25 1998-12-25 Distance measuring equipment

Country Status (1)

Country Link
JP (1) JP2000193879A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003057531A (en) * 2001-08-10 2003-02-26 Seiko Precision Inc Method and device for phase difference detection, range finder, and image pickup device
US6829434B2 (en) 2001-12-10 2004-12-07 Fuji Photo Optical Co., Ltd. Distance measuring apparatus
JP2005010353A (en) * 2003-06-18 2005-01-13 Seiko Precision Inc Projector
US7499097B2 (en) 2004-02-25 2009-03-03 Casio Computer Co., Ltd. Electronic camera equipped with an automatic focusing function
US7973852B2 (en) 2006-06-30 2011-07-05 Sony Corporation Auto-focus apparatus, image capture apparatus, and auto-focus method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003057531A (en) * 2001-08-10 2003-02-26 Seiko Precision Inc Method and device for phase difference detection, range finder, and image pickup device
US6829434B2 (en) 2001-12-10 2004-12-07 Fuji Photo Optical Co., Ltd. Distance measuring apparatus
JP2005010353A (en) * 2003-06-18 2005-01-13 Seiko Precision Inc Projector
US7499097B2 (en) 2004-02-25 2009-03-03 Casio Computer Co., Ltd. Electronic camera equipped with an automatic focusing function
US7973852B2 (en) 2006-06-30 2011-07-05 Sony Corporation Auto-focus apparatus, image capture apparatus, and auto-focus method

Similar Documents

Publication Publication Date Title
US6308015B1 (en) Camera having automatic focusing device
US6263164B1 (en) Distance measuring apparatus
JPH10311999A (en) Camera
JP4630649B2 (en) camera
JP2000193879A (en) Distance measuring equipment
JP5003121B2 (en) Focus adjustment device, focus adjustment method, and camera
JPH08271784A (en) Optical instrument with function of detecting line of sight
JP5171124B2 (en) Focus adjustment device, imaging device, and focus adjustment method
JPH08285580A (en) Rangefinder
US6097893A (en) Optical device
JP3548393B2 (en) Camera with automatic focusing device and focus measuring device therefor
JP3559622B2 (en) Gaze detection device and optical apparatus having gaze detection device
JP3912853B2 (en) camera
JP4550211B2 (en) camera
JP2006146081A (en) Ranging device and imaging apparatus
JP2001154083A (en) Range finder
JP4350207B2 (en) Ranging device
JP3793403B2 (en) Ranging device
JP3746944B2 (en) Ranging device
JPH07333492A (en) Range finder for camera
JP2002072069A (en) Automatic multipoint focus detector
JP3374526B2 (en) Camera ranging device
JP3206122B2 (en) Focus detection device
JP2006146058A (en) Photometry apparatus for camera
JP3411835B2 (en) Active ranging device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060307