JPS63172216A - Automatic focus detector - Google Patents

Automatic focus detector

Info

Publication number
JPS63172216A
JPS63172216A JP462387A JP462387A JPS63172216A JP S63172216 A JPS63172216 A JP S63172216A JP 462387 A JP462387 A JP 462387A JP 462387 A JP462387 A JP 462387A JP S63172216 A JPS63172216 A JP S63172216A
Authority
JP
Japan
Prior art keywords
temperature
area
lens
focus detection
focus
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.)
Granted
Application number
JP462387A
Other languages
Japanese (ja)
Other versions
JPH0833511B2 (en
Inventor
Tokuji Ishida
石田 徳治
Toshio Norita
寿夫 糊田
Hiroshi Otsuka
博司 大塚
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 JP462387A priority Critical patent/JPH0833511B2/en
Priority to US07/141,845 priority patent/US4904854A/en
Publication of JPS63172216A publication Critical patent/JPS63172216A/en
Priority to US07/457,898 priority patent/US5049731A/en
Priority to US07/691,486 priority patent/US5086217A/en
Publication of JPH0833511B2 publication Critical patent/JPH0833511B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To execute accurate focus detection by executing the temperature compensation of a defocused value obtained from an interval between images on an image pickup element array in accordance with an interval between lenses in an image reformation lens body corresponding to each image pickup element array. CONSTITUTION:The lens interval Dd2 between at least a pair of image reforming lenses d2 is different from lens intervals Dd1, Dd3 of other pairs of image reforming lenses d1, d3 and changes in the lens intervals at the time of generating a change in temperature are different. A temperature compensating means 3 calculates the temperature compensating values DELTAepsilon1'-DELTAepsilon3' of defocused values in respective focus detecting means in accordance with a detecting temperature (t) based upon a temperature detecting means 2 and the lens intervals Dd1-Dd3 of respective pairs d1-d3 of image reforming lenses. Defocused values DELTAepsilon1-DELTAepsilon3 calculated by a 1st calculating means 1 are compensated at their temperature by a 2nd calculating means 4 based on the temperature compensating values DELTAepsilon1'-DELTAepsilon3'.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、複数の焦点検出領域を有する自動焦点検出装
置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an automatic focus detection device having a plurality of focus detection areas.

(従来の技術) 従来、第4図(a)に示すように、撮影レンズaによっ
て形成される像を一対の再結像レンズd1によって一列
に並んだ撮像素子列e、上に第1及び第2の像として再
形成し、その第1及び第2の像の間隔を前記撮像素子列
e1で検出して撮影レンズaの焦点調節状態を検出する
焦点検出装置が広く用いられている。
(Prior Art) Conventionally, as shown in FIG. 4(a), an image formed by a photographing lens a is captured by a pair of re-imaging lenses d1, which are arranged in a row of image sensors e, with first and second arrays above. A focus detection device is widely used that detects the focus adjustment state of the photographic lens a by detecting the interval between the first and second images using the image sensor array e1.

このような焦点検出装置においては、撮像素子列e1上
の第1及び第2の像の間隔が所定長のときに合焦、所定
長よりも短いときには前ピン、所定長よりも長いときに
は後ピンと判定され、合焦位置からのずれの量はデフォ
ーカス量として出力される。撮像素子列e1上の第1及
び第2の像の間隔Delは、再結像レンズ対d1のレン
ズ間隔D d +が変化すると、それに応じて変化する
。したがって、例えば、再結像レンズ対d、としてプラ
スチックレンズを用いた場合には、温度変化によってレ
ンズ間隔Dd+が変化し、撮像素子列e1上の第1及び
第2の像の間隔De+が変化して、デフォーカス量にも
変化が生じる。そこで、焦点検出装置の温度を検出して
、デフォーカス量を検出温度に応じて補正することが提
案されている(特開昭60−235110号公報参照)
In such a focus detection device, in-focus occurs when the interval between the first and second images on the image sensor array e1 is a predetermined length, front focus occurs when the interval is shorter than the predetermined length, and rear focus occurs when the interval is longer than the predetermined length. The amount of deviation from the in-focus position is determined and output as a defocus amount. The distance Del between the first and second images on the image sensor array e1 changes in response to a change in the lens distance D d + of the re-imaging lens pair d1. Therefore, for example, when a plastic lens is used as the re-imaging lens pair d, the lens distance Dd+ changes due to temperature change, and the distance De+ between the first and second images on the image sensor array e1 changes. Therefore, the amount of defocus also changes. Therefore, it has been proposed to detect the temperature of the focus detection device and correct the defocus amount according to the detected temperature (see Japanese Patent Laid-Open No. 60-235110).
.

(発明が解決しようとする問題点) 第5図に示すように、撮影画面の中央に横長の焦点検出
領域(A)、両側に縦長の焦点検出領域(B)、(C)
を有する3領域での自動焦点検出を行う場合において、
上記3つの焦点検出領域(A)、(B)。
(Problems to be Solved by the Invention) As shown in Figure 5, there is a horizontally long focus detection area (A) in the center of the photographic screen, and vertically long focus detection areas (B) and (C) on both sides.
When performing automatic focus detection in three areas with
The above three focus detection areas (A) and (B).

(C)に対応するCCD撮像素子列e2 + ” I 
+ e :lは、第2図に示すように、1チツプ上に構
成される。このCCDチップにおいて、画面両側の焦点
検出領域(B)又は(C)に対応するCCD撮像素子列
el 、e3の長さを、画面中央の焦点検出領域(A>
に対応するCCD撮像素子列e2の長さよりも短くすれ
ば、この長さの差の分だけ焦点検出モジュールを小形化
できると共に、CCD撮像素子列el+e:lからのデ
ータダンプの時間を短縮することができると考えられる
。このためには、第2図に示すように、両側の再結像レ
ンズ対d、、d3のレンズ間隔Dd、、Dd、を、中央
の再結像レンズ対d2のレンズ間隔Dd2よりも短くし
、それに応じて、必要となるCCD撮像素子列el+e
3の素子数を決めれば良い。ところが、このような場合
に温度上昇が生ずれば、各再結像レンズ対cll 、d
2.d3を同一部材で構成していても、レンズ間隔の相
違により、温度上昇に伴う像間隔の変化量は相違するこ
とになる。また、各再結像レンズ対cL 、d2.d3
が同一部材で構成されていない場合には、熱膨張率が同
一でないので、やはり各焦点検出領域毎に温度上昇に伴
う像間隔の変化量が相違することになる。
CCD image sensor array e2 + "I corresponding to (C)
+e:l is constructed on one chip as shown in FIG. In this CCD chip, the length of the CCD image sensor array el, e3 corresponding to the focus detection area (B) or (C) on both sides of the screen is determined by the length of the focus detection area (A>
By making the length shorter than the length of the CCD image sensor array e2 corresponding to the CCD image sensor array e2, the focus detection module can be made smaller by this difference in length, and the time for data dump from the CCD image sensor array el+e:l can be shortened. It is thought that it can be done. For this purpose, as shown in FIG. 2, the lens distances Dd, , Dd of the re-imaging lens pairs d, , d3 on both sides are made shorter than the lens distance Dd2 of the central re-imaging lens pair d2. , correspondingly, the required CCD image sensor array el+e
It is sufficient to decide the number of elements of 3. However, if a temperature rise occurs in such a case, each re-imaging lens pair cll, d
2. Even if d3 is made of the same material, the amount of change in the image distance due to temperature rise will be different due to the difference in the lens distance. Also, each re-imaging lens pair cL, d2. d3
If they are not made of the same material, the thermal expansion coefficients are not the same, so the amount of change in the image interval due to temperature rise will also differ for each focus detection area.

本発明はこのような点に鑑みてなされたものであり、そ
の目的とするところは、複数の焦点検出領域について再
結像レンズ対のレンズ間隔が同じでなくても、各焦点検
出領域についてのデフォーカス量の温度補償を可能とし
た自動焦点検出装置を提供するにある。
The present invention has been made in view of these points, and an object of the present invention is to provide information on each focus detection area even if the lens spacing of the re-imaging lens pair is not the same for a plurality of focus detection areas. An object of the present invention is to provide an automatic focus detection device that enables temperature compensation of the amount of defocus.

〈問題点を解決するための手段) 本発明に係る自動焦点検出装置にあっては、上記の目的
を達成するために、第2図に示すように、撮影レンズa
によって形成される像を一対の再結像レンズcl、 、
d2.d3によって一列に並んだ撮像素子列e+ 、e
2.e2上に第1及び第2の像として再形成し、第1及
び第2の像の像間隔を前記撮像素子列el 、e2、e
、の出力から検出して撮影レンズaの焦点調節状態を検
出する焦点検出ユニットを複数個備え、少なくとも一対
の再結像レンズd2のレンズ間隔Dd2が他の再結像レ
ンズ対d、 、d、のレンズ間隔Dd、。
<Means for Solving the Problems> In order to achieve the above object, in the automatic focus detection device according to the present invention, as shown in FIG.
The image formed by a pair of re-imaging lenses cl, ,
d2. Image sensor rows e+ and e arranged in a line by d3
2. e2 as the first and second images, and the image interval between the first and second images is set to the image sensor arrays el, e2, e.
, a plurality of focus detection units are provided to detect the focus adjustment state of the photographing lens a by detecting the focus adjustment state of the photographing lens a by detecting the output of the lens a, and the lens interval Dd2 of at least one pair of reimaging lenses d2 is different from that of the other reimaging lens pairs d, , d, lens spacing Dd,.

Dd3とは異なる焦点検出装置であって、第1図に示す
ように、各撮像素子列el+e2+e3の出力から検出
した該撮像素子列eI+e2+e3上の第1及び第2の
像の像間隔に応じてデフォーカス量Δε1.Δε2゜Δ
ε3を算出する第1の算出手段(1)と、再結像レンズ
対cL 、d2.diの近傍の温度tを検出する温度検
出手段(2)と、温度検出手段(2)によって検出され
た温度tと各再結像レンズ対d、 、d、 、d3のレ
ンズ間隔Dd、、Dd2.Dd3とに応じて各焦点検出
領域毎のデフォーカス量の温度補償量Δε8°、Δε2
′。
This is a focus detection device different from the Dd3, and as shown in FIG. Focus amount Δε1. Δε2゜Δ
A first calculation means (1) for calculating ε3, and a pair of re-imaging lenses cL, d2. temperature detection means (2) for detecting the temperature t in the vicinity of di; and the temperature t detected by the temperature detection means (2) and the lens distance Dd, , Dd2 of each re-imaging lens pair d, , d, , d3. .. Temperature compensation amount Δε8°, Δε2 of defocus amount for each focus detection area according to Dd3
'.

Δε3°を求める温度補償手段(3)と、第1の算出手
段(1)にて得られたデフォーカス量Δε1.Δε2、
△ε3と温度補償手段(3)にて得られた温度補償量Δ
ε1゛、Δε2′、Δε3°とから温度補償されたデフ
ォーカス量Δε、+Δε、′、Δε2+Δε2′、Δε
3+△ε3′を求める第2の算出手段(4)とを設けて
成るものである。
Temperature compensating means (3) for calculating Δε3° and defocus amount Δε1. obtained by first calculation means (1). Δε2,
Δε3 and temperature compensation amount Δ obtained by temperature compensation means (3)
Temperature-compensated defocus amount Δε, +Δε,′, Δε2+Δε2′, Δε from ε1゛, Δε2′, Δε3°
3+Δε3'.

ただし、上記構成における記号等は説明のために記載し
たものであり、本発明の範囲を限定する意図ではない。
However, the symbols etc. in the above structure are described for explanation purposes and are not intended to limit the scope of the present invention.

(作用) 本発明にあっては、少なくとも一対の再結像レンズd2
のレンズ間隔Dd2が他の再結像レンズ対d、。
(Function) In the present invention, at least one pair of re-imaging lenses d2
The lens distance Dd2 is another re-imaging lens pair d,.

d、のレンズ間隔D d + 、 D d 3とは異な
っており、温度変化が生じたときのレンズ間隔の変化量
は異なる。温度検出手段(1)による検出温度tと各再
結像レンズ対d+、d2.d3のレンズ間隔D d、 
、D d2.D d。
The lens spacings D d + and D d d are different from each other, and the amount of change in the lens spacing when a temperature change occurs is different. The temperature t detected by the temperature detection means (1) and each re-imaging lens pair d+, d2. d3 lens spacing D d,
, D d2. D d.

とに応じて各焦点検出領域毎のデフォーカス量の温度補
償量Δε、′、Δε2°、Δε、°が温度補償手段(3
)によって求められる。第1の算出手段(1)により算
出されたデフォーカス量ΔεhΔε2.Δε3は、第2
の算出手段(4)において、前記温度補償量Δε1°、
Δε2“、Δε3′によって温度補償される。
The temperature compensation amount Δε,′, Δε2°, Δε,° of the defocus amount for each focus detection area is determined by the temperature compensation means (3
) is determined by The defocus amount ΔεhΔε2 calculated by the first calculation means (1). Δε3 is the second
In the calculation means (4), the temperature compensation amount Δε1°,
The temperature is compensated by Δε2'' and Δε3'.

なお、温度検出手段(2)による検出温度は、各再結像
レンズ対d+ 、d2.dsの温度1..12.13が
略同−であると考えて、1箇所の温度tのみを検出する
ことが簡便であるが、各再結像レンズ対d、、d2.d
3の温度1..1..13を個別に検出しても構わない
Note that the temperature detected by the temperature detection means (2) is determined by each re-imaging lens pair d+, d2 . ds temperature 1. .. Although it is convenient to detect only the temperature t at one location, considering that 12.13 are approximately the same, each re-imaging lens pair d, d2 . d
3 temperature 1. .. 1. .. 13 may be detected individually.

また、焦点検出領域の数は、3つに限定されるものでは
なく、2つ以上の任意の数として良いことは言うまでも
ない。
Furthermore, it goes without saying that the number of focus detection areas is not limited to three, and may be any number greater than or equal to two.

(実施例) 以下、本発明の実施例について説明する。(Example) Examples of the present invention will be described below.

第2図は本発明の一実施例に係る自動焦点検出=7− 装置の概略構成を示す斜視図である。図において、aは
撮影レンズ、bは焦点面である。b′は焦点面近傍に配
置される視野絞りであり、矩形開口部b1′。
FIG. 2 is a perspective view showing a schematic configuration of an automatic focus detection device according to an embodiment of the present invention. In the figure, a is a photographing lens, and b is a focal plane. b' is a field stop arranged near the focal plane, and has a rectangular opening b1'.

b2“、b3′を有している。CI + (” 21 
e 3はコンデンサレンズ、d、 、d2.d、は再結
像レンズ対、el +62 +23は再結像レンズ焦点
面に配されたCCD撮像素子列である。fは絞りマスク
であり、長円形の開口部fl+f2.f+を有している
。矩形開口部b“1によって視野が限定された像は、コ
ンデンサレンズc1を通過し、再結像レンズ対d、によ
りCCDCD撮像素子列上に2つの像として投影される
。視野絞りb2’ 、b3″の像は同様に、コンデンサ
レンズc2+03及び再結像レンズ対d2.d3により
CCD撮像素子列e2+e3上に投影される。
b2", b3'. CI + (" 21
e3 is a condenser lens, d, , d2. d is a pair of re-imaging lenses, and el +62 +23 is a CCD image sensor array arranged at the focal plane of the re-imaging lens. f is an aperture mask and has an oval opening fl+f2. It has f+. The image whose field of view is limited by the rectangular aperture b"1 passes through the condenser lens c1 and is projected as two images onto the CCDCD image sensor array by the re-imaging lens pair d. Field stops b2' and b3 '' image is similarly formed by the condenser lens c2+03 and reimaging lens pair d2. The image is projected onto the CCD image sensor array e2+e3 by d3.

ここで、再結像レンズ対cL 、d2.dsの各レンズ
間隔をDdl、Dd2.Dcl、とする。本実施例では
、X方向に配されなCCDCD撮像素子列上2べて、X
方向に配されたCCD撮像素子列el+e3の長さを短
く設定しており、これによって、CCD撮像素子列の面
積の縮小化、データ出力に要するトータル8一 時間の短縮を図っている。
Here, the re-imaging lens pair cL, d2. Let the respective lens intervals of ds be Ddl, Dd2. Let it be Dcl. In this embodiment, all two CCDCD image sensor rows arranged in the X direction are
The length of the CCD image sensor array el+e3 arranged in the direction is set short, thereby reducing the area of the CCD image sensor array and the total 8 hours required for data output.

このことを第3図(a)(b)によって説明する。CC
D撮像素子列は必要な数(斜線部)のみを作るのではな
く、斜線を施していない白く示した部分をも含めてライ
ンとして作製する。したがって、例えば必要な素子の数
が(e2の数)>(elの数)である場合に、再結像レ
ンズ対d、の間隔を中央のCCDCD撮像素子列用2用
結像レンズ対d2の間隔と同じにすると、CCDCC撮
像素子列は、第3図(a)の実線で示したようになり、
1点鎖線で示した中央のCCDCD撮像素子列上2較す
ると、無駄なCOD画素が増え、大きさも大きくなる。
This will be explained with reference to FIGS. 3(a) and 3(b). C.C.
The D image sensor array is not only created in the required number (hatched area), but also created as a line including the white area that is not shaded. Therefore, for example, when the number of required elements is (number of e2)>(number of el), the interval between the re-imaging lens pair d, and the central CCDCD imaging element array 2 imaging lens pair d2 are If the spacing is the same, the CCDC image sensor array will look like the solid line in Figure 3(a),
Comparing the two upper rows of CCDCD image pickup elements in the center indicated by the dashed line, the number of useless COD pixels increases and the size also increases.

また、データ入力の際は、白く示した部分も入力するの
で、データ入力の時間が長く掛かる。しかし、このとき
は像間隔が中央のCCDCD撮像素子列上2合と同一な
ので、各領域毎の1ピツチ当たりのデフォーカス量は同
一となり、補正は不要となる。
Furthermore, when inputting data, the portions shown in white must also be entered, so it takes a long time to input the data. However, in this case, since the image interval is the same as that of the upper two rows of CCDCD image pickup elements in the center, the amount of defocus per pitch for each region is the same, and no correction is necessary.

第3図(b)は像間隔を短くすべく再結像レンズ対d、
のレンズ間距離を短くしたものであり、これにより、C
ODの無駄が少なくなり、小形化が図れる。また、デー
タ入力の際の入力時間も短くなる。さらに、結像光学系
の小形化も図れる。しかし、このときには、同一デフォ
ーカス量に対する像間隔が中央のCCDCD撮像素子列
上2合と異なるので、これに対する補正が必要となる。
FIG. 3(b) shows a pair of re-imaging lenses d, in order to shorten the image interval.
The distance between the lenses is shortened, and as a result, C
OD waste is reduced and downsizing can be achieved. In addition, the input time for data input is also shortened. Furthermore, it is possible to downsize the imaging optical system. However, in this case, since the image interval for the same amount of defocus is different from that on the central CCDCD image sensor row, correction for this is required.

以上のことから、再結像レンズ対d、、d2.d3の各
レンズ間隔はDd2≧D d、 = D d3とし、C
CD撮像素子列el+e’l上に結像される像の基本像
間隔をCCDCD撮像素子列上2も短く設計して、像間
隔については補正することが望ましい。
From the above, the re-imaging lens pairs d, d2. The distance between each lens of d3 is Dd2≧D d, = D d3, and C
It is desirable to design the basic image interval of the images formed on the CD image sensor array el+e'l to be short on the CCDC CD image sensor array 2, and to correct the image interval.

第4図(a)は再結像レンズ対d1のレンズ間隔をDd
、として設計されており、合焦時にCCDCD撮像素子
列上1上像される像の間隔はDe、となる。
FIG. 4(a) shows the lens distance of the re-imaging lens pair d1 as Dd.
, and the interval between the images that are imaged one above the CCDCD image sensor array at the time of focusing is De.

第4図(b)は再結像レンズ対d2のレンズ間隔をDd
2として設計されており、合焦時にCCDCD撮像素子
列上2上像される像の間隔はDe2となる。第2図と同
様に、aは撮像レンズ、bは焦点面、d、 、d2は再
結像レンズ対、e+、e2は再結像レンズ焦点面上のC
CD撮像素子列であり、このCCD撮像素子列el+e
2上に投影された像を光電変換して合焦検出に用いる。
FIG. 4(b) shows the lens distance of the re-imaging lens pair d2 as Dd.
2, and the interval between the two images on the CCDCD image sensor array at the time of focusing is De2. Similarly to Fig. 2, a is the imaging lens, b is the focal plane, d, , d2 are the re-imaging lens pair, and e+, e2 are C on the re-imaging lens focal plane.
This is a CD image sensor array, and this CCD image sensor array el+e
The image projected onto 2 is photoelectrically converted and used for focus detection.

このように、再結像レンズ対d、 、d2のレンズ間隔
Dd、、Dd2を別個に設定した場合、同一デフォーカ
ス量に対して像間隔の増減量△Del+ΔDe2の値は
異なる。また、再結像レンズ対d1、d3を同一の設計
で、D d+ = D d*となるように作成した場合
においても、作業上において、その実際値にはばらつき
が生じる。また、CCD撮像素子列そのもののピッチ間
隔がばらつく場合もある。
In this way, when the lens distances Dd, , Dd2 of the re-imaging lens pair d, , , d2 are set separately, the values of the image distance increase/decrease ΔDel+ΔDe2 are different for the same amount of defocus. Furthermore, even when the pair of re-imaging lenses d1 and d3 are created with the same design so that D d+ = D d*, the actual values will vary due to work. Furthermore, the pitch interval of the CCD image sensor array itself may vary.

そこで、測距検出感度く1ピツチ当たりのデフォーカス
量)を各領域別に設定するのが望ましい。
Therefore, it is desirable to set the distance measurement detection sensitivity (defocus amount per pitch) for each region.

また、温度上昇によりこれらの再結像レンズ対d3.d
2.d3のレンズ間隔D d + 、 D d 2 、
 D d :lは変化し、たとえ再結像レンズ対dl、
d2.d3が熱膨張率の一致した同一部材で作製されよ
うとも、常温時のレンズ間隔D d + 、D d 2
 、 D d 3が異なれば、温度上昇によるレンズ間
隔の変化ΔDT(L、ΔDTd2.ΔDTd3はそれぞ
れ異なり、そのレンズ間隔の変化による像間隔の変化Δ
DTe + +ΔD7e2.ΔDTe3の値はそれぞれ
異なることになる。特に、プラスチックレンズを用いた
ときには、温度による熱膨張は顕著に現れる。そこで、
各領域別に温度補償係数を設定することが望ましい。
Also, due to the temperature rise, these re-imaging lens pairs d3. d
2. Lens spacing of d3 D d + , D d 2 ,
D d :l varies, even if the reimaging lens vs. dl,
d2. Even if d3 is made of the same material with the same coefficient of thermal expansion, the lens distances D d + and D d 2 at room temperature
, D d3 are different, the change in lens spacing ΔDT(L, ΔDTd2.ΔDTd3) due to temperature rise is different, and the change in image spacing due to the change in lens spacing ΔDT(L, ΔDTd2.ΔDTd3 is different)
DTe + +ΔD7e2. The values of ΔDTe3 will be different. In particular, when a plastic lens is used, thermal expansion due to temperature becomes noticeable. Therefore,
It is desirable to set a temperature compensation coefficient for each region.

また、光学系モジュールと、CCD撮像素子とは製造工
程上で位置調整を行いながら接着結合される。この際、
両者の平行度に誤差が生しると、第4図(c)に示すよ
うに、再結像レンズ対d+ 、d3が全く同様に作製さ
れた場合にも基本像間隔Den。
Furthermore, the optical system module and the CCD image sensor are adhesively bonded while adjusting their positions during the manufacturing process. On this occasion,
If an error occurs in the parallelism between the two, as shown in FIG. 4(c), even if the re-imaging lens pair d+ and d3 are manufactured in exactly the same way, the basic image distance Den will change.

De3に差が生じる。このような差を補正するために、
焦点検出用の各領域、各ブロック毎に異なるZ軸調整量
を設定することが望ましい。
A difference occurs in De3. In order to compensate for such differences,
It is desirable to set a different Z-axis adjustment amount for each focus detection area and each block.

第5図は、本実施例の焦点検出装置を用いたカメラのフ
ァインダー内表示を示している。この例では、撮影画面
(S)に対して画面中央部の実線で示す3つの領域(A
)、(B)、(C)の被写体に対して焦点検出を行うこ
とができる。図中点線で示している長方形の枠は、焦点
検出を行っている領域を撮影者に示すべく表示されるも
のであり、その表示素子としては液晶を使用し、焦点板
(図示せず)の位置に置かれている。この焦点検出領域
の表示は、自動焦点検出(以下A F (A uto 
F ocus>と言う)時と、レンズ駆動を行わない焦
点検出(以下FA (F ocus A id)と言う
〉のみの時とて切換可能になっており、大きな枠はAP
時、小さな枠はFA時に表示される。詳しくは後述する
。撮影画面(S)の外に示されている(L a) 、 
(L 1〕) 、 (L c>の表示は、焦点検出状態
を示し、合焦時には(L +) )、前ピン時には(L
a)、後ピン時には(Lc)がそれぞれ点灯し、焦点検
出不能時には、(La)、(Lc)の両方が点滅表示さ
れる。
FIG. 5 shows a viewfinder display of a camera using the focus detection device of this embodiment. In this example, three areas (A
), (B), and (C) can be subjected to focus detection. The rectangular frame indicated by the dotted line in the figure is displayed to show the photographer the area where focus detection is being performed. placed in position. The display of this focus detection area is based on automatic focus detection (hereinafter referred to as AF).
It is possible to switch between FA (Focus Aid) and only focus detection without lens drive (hereinafter referred to as FA (Focus Aid)).
A small frame is displayed during FA. The details will be described later. (L a) shown outside the shooting screen (S),
The display of (L 1]) and (L c> indicates the focus detection state; when in focus, it is (L +)), and when the front focus is (L
a), (Lc) lights up when the rear focus is achieved, and both (La) and (Lc) blink when the focus cannot be detected.

第6図(a)は、この焦点検出装置に用いられるCCD
の受光部(受光部と蓄積部と転送部を含めてCCDと呼
ぶことにする)を示している。第5図の各領域(A)、
(B)、(C)に対して、基準部及び参照部を夫々設け
ており、また、夫々の基準部の長手方向の側部の一方に
、CCDの蓄積部への積分時間を制御する為のモニター
用の受光素子(MA)、(MB)、(MC)を設けてい
る。各領域(A)、(B)、(C)の基準部及び参照部
の画素数(Xハ勺は、領域(A)では(44,52)、
領域(B)では(34゜44)、領域(C)では<34
.44 >となっている。
FIG. 6(a) shows the CCD used in this focus detection device.
The light receiving section (hereinafter referred to as a CCD including the light receiving section, storage section, and transfer section) is shown. Each area (A) in Figure 5,
For (B) and (C), a reference part and a reference part are respectively provided, and one side of each reference part in the longitudinal direction is used to control the integration time to the storage part of the CCD. Light receiving elements (MA), (MB), and (MC) for monitoring are provided. The number of pixels in the standard and reference parts of each area (A), (B), and (C) is (44, 52) in area (A),
(34°44) in region (B), <34 in region (C)
.. 44 >.

これらは、全てワンチンプ上に形成されている。These are all formed on one chimp.

本実施例における焦点検出装置では、上述の3つの領域
のCCDの基準部を複数に分割し、この分割した基準部
と参照部の全てとを比較して焦点検出を行う。各領域で
は分割したことによる焦点検出の結果のうち、カメラか
ら最近の被写体にピン1〜が合うように、最も後ピンの
データを各領域の焦点検出データとし、さらに各領域の
焦点検出データの内、最も後ピンのデータをカメラの焦
点検出データとする。
In the focus detection device of this embodiment, the reference portion of the CCD in the three regions described above is divided into a plurality of parts, and the divided reference part and all of the reference parts are compared to perform focus detection. In each area, among the focus detection results obtained by dividing, the data of the rearmost focus is used as the focus detection data of each area, so that the most recent subject from the camera is focused on the subject from focus 1, and then the data of the focus detection data of each area is Among them, the data of the rearmost focus is used as the camera's focus detection data.

この分割する範囲及び分割した領域のデフォーカス範囲
を第7図、第8図及び第6図(1〕)に示し、説明する
。第7図は、第5図に示した撮影画面上での焦点検出領
域を拡大したものである。焦点検出領域(A )、(B
 )、(C)は、第6図(a)に示した基準部の領域で
ある。尚、第7図において、各領域に示している数値は
、第6図(a)に示したCODの画素の3つ置きの差分
データをとった差分の数を示す(差分データは、2つ又
は1つ置きても良い。但し、このとき上記数値は異なる
。)。したかって、各領域における基準部と参照部の数
(X。
The range to be divided and the defocus range of the divided area are shown in FIG. 7, FIG. 8, and FIG. 6 (1), and will be explained. FIG. 7 is an enlarged view of the focus detection area on the photographic screen shown in FIG. Focus detection area (A), (B
) and (C) are the areas of the reference portion shown in FIG. 6(a). In addition, in FIG. 7, the numerical values shown in each area indicate the number of differences obtained by taking the difference data of every third COD pixel shown in FIG. Alternatively, you may place one. However, in this case, the above values will be different.) Therefore, the number of reference parts and reference parts in each region (X.

Y)は領域(A)では(40,48)、領域(B)、(
C)では(30,40)となる。各領域での分割である
が、領域(A)では3つに分け、左端の差分データから
(1〜20)、(11〜30)、(21〜40)とし、
夫々(A 1 )、(A 2 )、(A 3 )とする
。領域(B)、(C)では、上端の差分データがら(1
〜20)、(11〜30)の2つとし、夫々(B 1 
)、(B 2 )、(CI )、(C2)とする。
Y) is (40,48) in area (A), (40, 48) in area (B), (
In C), it becomes (30, 40). As for the division in each area, in area (A) it is divided into three, starting from the leftmost difference data (1-20), (11-30), (21-40),
Let them be (A 1 ), (A 2 ), and (A 3 ), respectively. In areas (B) and (C), the difference data at the top end is (1
~20) and (11~30), respectively (B 1
), (B 2 ), (CI ), and (C2).

この位相差方式の焦点検出では、基準部と参照部との像
が一致した時の像間隔が所定の数よりも大きいときには
後ピン、小さいときには前ピン、所定の数で合焦となる
。したがって、分割した領域でのデフォーカス範囲は各
領域の光学中心から離れた領域はど後ピン側を受は持つ
ことになる。
In this phase difference method focus detection, when the images of the reference part and the reference part match, when the image interval is larger than a predetermined number, the rear focus is on, and when it is smaller than the front focus, the image is in focus at the predetermined number. Therefore, in the defocus range of the divided regions, the region far from the optical center of each region has the rear pin side.

差分データをとった後を示す第6図(1〕)に基づいて
具体的に説明すると、第6図(b)は、領域(A)の基
準部と参照部とを示し、今、分割した領域(A2)のデ
フォーカス範囲を考える。このとき合焦となるのは、参
照部において、左端から15番目−15= から34番目の像と、領域(A2)の像とが一致したと
きである。これより像の一致が参照部の左になると前ピ
ンとなり、このとき最大の前ピンのずれデータ数(以下
ずれピッチという)は14、像の一致が参照部の右にな
ると後ピンとなり、このとき最大の後ピンのずれピッチ
は14となる。他の各領域での分割したデフォーカス範
囲も同様であり、これを第8図に示すと、領域(A1)
では、前ピン側ずれピッチが4、後ピン側ずれピッチが
24、領域(A3)では、前ピン側ずれピッチが24、
後ピン側ずれピッチが4である。領域(B)、(C)に
ついては、領域(B 1 )、(CI >では前ピン側
ずれピッチが5、後ピン側ずれピッチが15、領域(B
2>、(C2>では前ピン側ずれピッチが15、後ピン
側ずれピッチが5となる。
To give a concrete explanation based on FIG. 6 (1) which shows the difference data after taking it, FIG. 6 (b) shows the reference part and the reference part of the area (A), Consider the defocus range of area (A2). At this time, focus is achieved when the 15th - 15 = 34th image from the left end matches the image of the area (A2) in the reference section. From this, when the images match to the left of the reference part, it becomes front focus, and at this time, the maximum number of front focus deviation data (hereinafter referred to as deviation pitch) is 14, and when the images match to the right of the reference part, it becomes back focus, and this Then, the maximum rear pin deviation pitch is 14. The same is true for the divided defocus ranges in each of the other areas, and this is shown in Figure 8. Area (A1)
In this case, the front pin side deviation pitch is 4, the rear pin side deviation pitch is 24, and in area (A3), the front pin side deviation pitch is 24,
The rear pin side deviation pitch is 4. For regions (B) and (C), in region (B 1 ) and (CI >, the front pin side deviation pitch is 5, the rear pin side deviation pitch is 15, and the area (B
2>, (C2>, the front pin side deviation pitch is 15, and the rear pin side deviation pitch is 5.

第10図は、焦点検出及び焦点調節を行う為に用いられ
る回路構成を示す。(μC)は焦点検出及び焦点調節に
必要とされる演算及び制御を行うマイクロコンピュータ
(以下マイコンと言う)である。
FIG. 10 shows the circuit configuration used to perform focus detection and focus adjustment. (μC) is a microcomputer (hereinafter referred to as microcomputer) that performs calculations and controls necessary for focus detection and focus adjustment.

(DISPI)は第5図に示したファインダー白衣示の
うち、撮影画面(S)内の焦点検出領域を表示する表示
部、(DISPn)は第5図に示したファインダー内表
示のうち、撮影画面(S)外の焦点状態を表示する表示
部である。(TEMPDET)はカメラ内部の再結像レ
ンズ対の近傍に置かれた温度検出素子(図示せず1例え
ばサーミスタ〉によって温度を測定する温度検出装置で
ある。(M OC)は焦点調節に用いられるモータを制
御するモータ制御装置、(M)はその焦点調節用のモー
タ、(ENC)はモータ(M)の回転を検出するエンコ
ーダである。(LE)は不図示の交換レンズ内の回路で
あり、焦点調節に必要なデータを記憶している。
(DISPI) is the display part that displays the focus detection area in the photographing screen (S) of the viewfinder white coat display shown in Figure 5, and (DISPn) is the display part that displays the focus detection area in the viewfinder display shown in Figure 5. (S) A display unit that displays the outside focus state. (TEMPDET) is a temperature detection device that measures temperature with a temperature detection element (not shown, e.g. a thermistor) placed near the re-imaging lens pair inside the camera. (MOC) is used for focus adjustment. A motor control device that controls the motor; (M) is a motor for adjusting its focus; (ENC) is an encoder that detects the rotation of the motor (M); (LE) is a circuit in an interchangeable lens (not shown); , stores data necessary for focus adjustment.

(L E A)、(L E B )、(L E C)は
、定常光のみては暗くて焦点検出が行えないときに、第
5図に示した領域(A )、(B )、(C)に夫々近
赤外の光を照射する発光ダイオードである。(F 1 
)、(F 2 )、(F 3 )は被写体に特定のパタ
ーンを形成する為に設けられたフィルターであり、(F
l)は縦縞のランタムなパターン、(F2)、(F3)
は横縞のランダムなパターンが夫々形成されている。(
Trl)〜(Tr3)は、各発光ダイオード(LEA)
〜(L E C)を駆動するためのトランジスタである
(L E A), (L E B ), and (L E C) are the areas (A), (B), and (L E C) shown in FIG. C) are light emitting diodes that irradiate near-infrared light, respectively. (F 1
), (F 2 ), and (F 3 ) are filters provided to form a specific pattern on the subject;
l) is a random pattern of vertical stripes, (F2), (F3)
A random pattern of horizontal stripes is formed respectively. (
Trl) to (Tr3) are each light emitting diode (LEA)
This is a transistor for driving ~(LEC).

次に焦点検出に用いられるCCDの制御回路について説
明する。(CKTA)、(CKTB)、(CKTC)は
、第6図(a)に示した夫々のCCDの組(基準部及び
参照部)に対応する制御回路であり、各回路とも同じ機
能を行う回路であり、同一構成なので、回路図としては
(CKTA)のみを詳細に記し、他の回路の図示及び説
明の詳細は省略する。
Next, a CCD control circuit used for focus detection will be explained. (CKTA), (CKTB), and (CKTC) are control circuits corresponding to each set of CCDs (reference section and reference section) shown in FIG. 6(a), and each circuit performs the same function. Since they have the same configuration, only (CKTA) will be described in detail in the circuit diagram, and detailed illustrations and explanations of other circuits will be omitted.

尚、外部回路く例えばマイコン(μC))との信号線は
すべての回路(CKTA)〜(CKTC)について記す
Note that signal lines with external circuits such as microcontrollers (μC) are described for all circuits (CKTA) to (CKTC).

まず、CCDの制御のうち、CCDの受光部と蓄積部の
積分時間に関して説明する。回路(CKTA)において
、(MA)は上述したモニター用の受光部、(C1)は
積分用のコンデンサ、(SA)は積分を制御する為のス
イッチで、マイコン(μC)からのワンショットの積分
開始信号によって、一旦ONし、そしてOFFした後、
積分が開始される。(B1)はコンデンサ(C1)の電
圧をバッファするバッファ回路、(COMPI)は積分
された電圧を基準電圧(Vref)と比較し、積分終了
信号を出力するコンパレータである。(ORI)は、コ
ンパレータ(COMPI)或いはマイコン(μC)から
の積分終了信号を入力し、ワンショット回路(O3l)
に信号を出力するオア回路である。ワンショット回路(
○Sl)は、CCDの蓄積部のデータを、CCDシフト
レジスタに転送するためのゲートにワンショット信号(
IED)を出力し、蓄積部のデータをCCDシフトレジ
スタに転送させ、積分を終了させる。(B2)は、バッ
ファ(B1)を介して得られるコンデンサ(C1)の電
圧をバッファするためのバッファで、(M D E )
はこのバッファ(B2)からの電圧信号を入力し、その
電圧に応じてシフトレジスタの信号の増幅率を決定する
AGC用のデジタルデータを作成するモニターデータ作
成回路で、ワンショット回路(O3I)からのワンショ
ット信号で、データをラッチする。尚、CCDの受光用
素子の一つ一つは、上述のモニター用受光素子(MA)
、コンデンサ(C1)、スイッチ(SA)と同一の構成
となっており、マイコン(μC)の端子(○P11)の
信号によって積分が開始される。
First, in the control of the CCD, the integration time of the light receiving section and the accumulation section of the CCD will be explained. In the circuit (CKTA), (MA) is the light receiving part for the monitor mentioned above, (C1) is the capacitor for integration, and (SA) is the switch for controlling the integration, which handles one-shot integration from the microcontroller (μC). After being turned on and then turned off by the start signal,
Integration begins. (B1) is a buffer circuit that buffers the voltage of the capacitor (C1), and (COMPI) is a comparator that compares the integrated voltage with a reference voltage (Vref) and outputs an integration end signal. (ORI) inputs the integration end signal from the comparator (COMPI) or microcontroller (μC), and one-shot circuit (O3l)
This is an OR circuit that outputs a signal to One-shot circuit (
○Sl) is a one-shot signal (
IED), the data in the storage section is transferred to the CCD shift register, and the integration is completed. (B2) is a buffer for buffering the voltage of the capacitor (C1) obtained via the buffer (B1), and (M D E )
is a monitor data creation circuit that inputs the voltage signal from this buffer (B2) and creates digital data for AGC that determines the amplification factor of the shift register signal according to the voltage. The data is latched using the one-shot signal. In addition, each of the light receiving elements of the CCD is the above-mentioned monitor light receiving element (MA).
, a capacitor (C1), and a switch (SA), and integration is started by a signal from the terminal (○P11) of the microcomputer (μC).

次に、CCDジフトレジスタに転送されたデータがマイ
コン(μC)に入力されるまでの動作を説明する。CC
Dシフトレジスタに転送されたデータは、アンド回路(
ANI)を介して送られてくるタロツクφ1がCCDシ
フトレジスタに入力されるまでCCDシフトレジスタに
保持され、このクロックが入力されると、これに同期し
て順次データが出力され、マイコン(μC)からの信号
により制御されるアナログスイッチ(A S 1 )を
介して、利得を制御する利得制御回路(A G C:A
uto Ga1n Control)に入力される。こ
の利得制御回路(AGC)は、シフトレジスタから出力
されるアナログ信号(DTA)を所定値以上にするため
に用いられる。その利得としてはX2.X4.X8のみ
を使用しており、マイコン(μC)からの利得信号(出
力端子(Ot3)からの信号)によって、利得が決めら
れる。利得制御回路(A c、 c )により利得制御
されなデータは、A/D変換回路(A/D)でデジタル
データに変換され、マイコン(μC)は、この変換され
たデジタルデータを入力する。図中のアンド回路(AN
2)は、回路(CKTA)のコンパレータ(COMPI
>の信号、及び、回路(CTKB)、(CK T C)
のコンパレータ(図示せず、COMPIと同様の働きを
する)の信号を入力し、マイコン(μC)に全てのCC
Dへの積分動作が終了したことを示す積分終了信号を出
力する。
Next, the operation until the data transferred to the CCD shift register is input to the microcomputer (μC) will be explained. C.C.
The data transferred to the D shift register is passed through an AND circuit (
Tarock φ1 sent via ANI) is held in the CCD shift register until it is input to the CCD shift register. When this clock is input, data is sequentially output in synchronization with this clock and sent to the microcontroller (μC). A gain control circuit (A G C: A
autoGa1n Control). This gain control circuit (AGC) is used to increase the analog signal (DTA) output from the shift register to a predetermined value or higher. The gain is X2. X4. Only X8 is used, and the gain is determined by the gain signal from the microcomputer (μC) (signal from the output terminal (Ot3)). Data whose gain is controlled by the gain control circuit (A c, c ) is converted into digital data by an A/D conversion circuit (A/D), and the microcomputer (μC) inputs this converted digital data. The AND circuit (AN
2) is the comparator (COMPI) of the circuit (CKTA).
> signals and circuits (CTKB), (CKTC)
Input the signal of the comparator (not shown, which works in the same way as COMPI) to the microcontroller (μC), and
An integration end signal indicating that the integration operation for D has ended is output.

次に、スイッチ(Sl)〜(B5)について説明する。Next, the switches (Sl) to (B5) will be explained.

(Sl)はレリーズ釦(図示せず)の第1ストロークの
押下でONする常開スイッチであり、このスイッチのO
Nで後述する焦点検出が開始される。
(Sl) is a normally open switch that is turned ON when the release button (not shown) is pressed on the first stroke;
At N, focus detection, which will be described later, is started.

(B2)は、AFとFAとを切り換える状態切換スイッ
チであり、ONのときAF、OFFのときFAとなる。
(B2) is a state changeover switch that switches between AF and FA, and when it is ON, it is AF, and when it is OFF, it is FA.

(B3)は、レンズの繰り出し或いは繰り込み時におい
て、夫々の終端に到達したときにONするレンズ終端検
出スイッチである。(B4)は、縦位置かどうか、さら
には縦a位置か縦す位置かを検出し、第5図のファイン
ダー内表示において、領域(B)が下側のときにa側に
スイッチがONし、領域(C)が下側のときに1〕側に
スイッチがONする。
(B3) is a lens end detection switch that is turned ON when each end is reached when the lens is extended or retracted. (B4) detects whether it is in the vertical position or not, and whether it is in the vertical a position or the vertical position, and when the area (B) is on the lower side in the viewfinder display in Fig. 5, the switch is turned on to the a side. , when the area (C) is on the lower side, the switch is turned on to the 1] side.

この為のスイッチ(S4)の構成を第9図に示すと、(
P)は導体からなり、下側に重りをつけた一種の振り子
(但し、摩擦は大きくして、不用意に振れないようにす
る必要がある)てあり、他端がG N Dに接地しであ
る。斜線で示した(E a) 、 (E b)の領域は
電極で、常時は抵抗を介して電源■により「11」レベ
ルにプルアップされているが、上記振り子(P)が電極
(E a) 、 (E 13>に接触したときには、「
L」レベルにプルタウンされる。
The configuration of the switch (S4) for this purpose is shown in FIG.
P) is made of a conductor and is a kind of pendulum with a weight attached to the bottom (however, it is necessary to increase the friction so that it does not swing accidentally), and the other end is grounded to G N D. It is. The shaded areas (E a) and (E b) are electrodes, which are normally pulled up to the "11" level by the power supply ■ via a resistor. ), (E13>, when it comes into contact with
Pull town to "L" level.

第10図に戻り、スイッチ(S5)は合焦後も被写体の
動きに追随して焦点調節を行うコンティニュアスAPモ
ードと、狙った被写体に一度合焦すると焦点調節を終了
するワンショットAFモードとを切り換える状態切換ス
イッチであり、ONのときコンティニュアスAPモード
となる。
Returning to Figure 10, the switch (S5) is for continuous AP mode, which adjusts the focus by following the movement of the subject even after focusing, and one-shot AF mode, which stops the focus adjustment once the target subject is in focus. This is a state changeover switch that switches between the two modes, and when turned on, the continuous AP mode is activated.

以上から構成される焦点検出及び焦点調節装置の動作を
第11図以降に示したマイコン(μC)のフローチャー
トを参照して説明する。
The operation of the focus detection and focus adjustment device constructed as described above will be explained with reference to the flowcharts of the microcomputer (μC) shown in FIG. 11 and subsequent figures.

スイッチ(Sl)がONすると、マイコン(μC)の割
込入力端子(INTI)に、rH,レベルから「L」レ
ベルへと変化する信号が入力され、これにより、マイコ
ン(μC)は第11図に示す割込処理(■NTSI)を
実行する。まず、マイコン(μC)は使用される全フラ
グ及び変数をリセットし、デフォーカス量をモータの回
転数に変換する変換係数をレンズから入力する(ステッ
プ#5.#7)。そして出力端子(OR3>、(OR3
)、(OR3)をずべて「H」レベルとすることにより
、CCDの蓄積部及び転送部であるCODシフトレジス
タにマイコン(μC)の動作以前に蓄えられた電荷を排
除すべく、転送部を空転送する(これをCCDイニシャ
ライズと呼ぶ)(ステップ#10)。尚、クロックφ1
は図示していないが、この割込のフローに入った後は停
止することなく動いている。
When the switch (Sl) is turned on, a signal that changes from the rH level to the "L" level is input to the interrupt input terminal (INTI) of the microcomputer (μC), thereby causing the microcomputer (μC) to Execute the interrupt processing (■NTSI) shown in FIG. First, the microcomputer (μC) resets all flags and variables used, and inputs a conversion coefficient for converting the amount of defocus into the number of revolutions of the motor from the lens (steps #5 and #7). And the output terminals (OR3>, (OR3
) and (OR3) are set to "H" level, the transfer section is activated in order to eliminate the charge accumulated in the COD shift register, which is the storage section and transfer section of the CCD, before the operation of the microcomputer (μC). An empty transfer is performed (this is called CCD initialization) (step #10). In addition, clock φ1
Although not shown in the figure, after entering the flow of this interrupt, it continues to operate without stopping.

次にマイコン(μC)は、AFモードであるが否かを入
力端子(IF5)の信号レベルによって判定し、AFモ
ードであればステップ#25に進み、第5図に示したA
Pの焦点検出領域を表示すべく、出力端子(Otl)か
ら表示部(DISPI)に信号を出力し、ステップ#3
0に進む。一方、FAモードと判定すれば、第5図に示
したFAの焦点検出領域を表示すべく、表示部(DIS
PI)に信号を出力し、ステップ#50に進む。
Next, the microcomputer (μC) determines whether or not it is in AF mode based on the signal level of the input terminal (IF5), and if it is in AF mode, it proceeds to step #25 and selects the
In order to display the focus detection area of P, a signal is output from the output terminal (Otl) to the display unit (DISPI), and step #3
Go to 0. On the other hand, if the FA mode is determined, the display section (DIS) displays the FA focus detection area shown in FIG.
PI) and proceeds to step #50.

このように、APモードとFAモードとで焦点検出領域
を変える、特にFAモード時に焦点検出領域を中央部に
限定するのは以下の理由による。
The reason why the focus detection area is changed between the AP mode and the FA mode, and in particular, the focus detection area is limited to the center in the FA mode, is as follows.

一般にFAモードを用いる場き、撮影者はファインダー
内を視認しながら撮影画面の中の特定の被写体にピント
を会わせる。この場合、FAモード時に広い視野に対し
て焦点検出領域を設定すると、その視野に含まれる主被
写体(写したい被写体)以外のものにより、焦点検出値
がずれる。このような現象は焦点検出領域が広ければ広
いほど起こりやすい。本実施例のような多数の領域につ
いての焦点検出動作を行う場きは尚さらである。例えば
本実施例では、領域(A>の比較的遠い被写体にピント
をきわせたいにも拘わらず、領域(B)又は領域(C)
に比較的近い被写体がある場合、この近い被写体につい
ての焦点検出の情報を表示することになる。したがって
、このような現象を防止するために、比較的焦点検出領
域を小さくするべく焦点検出領域を領域(A>のみに限
定する。これは領域(A)の分割した領域(A2)だけ
ても良く、領域の表示もこれに対応させて小さくすれば
良い。一方、AFモードでは、焦点検出領域が広いため
に、上記の問題、つまり領域(A)の被写体にピントを
合わせたいが、領域(B)又は領域(C)内の比較的近
い被写体にピントが合うという問題は残るが、一方では
広い範囲にわたって焦点検出を行うことができるため、
自由な撮影構図が行えるといった利点もある。
Generally, when using the FA mode, the photographer focuses on a specific subject on the shooting screen while visually checking the viewfinder. In this case, if a focus detection area is set for a wide field of view in the FA mode, the focus detection value will shift due to objects other than the main subject (the subject to be photographed) included in the field of view. Such a phenomenon is more likely to occur as the focus detection area becomes wider. This is especially true when performing focus detection operations for a large number of areas as in this embodiment. For example, in this embodiment, although it is desired to focus on a relatively distant subject in area (A>), in area (B) or area (C)
If there is a subject relatively close to , focus detection information for this close subject will be displayed. Therefore, in order to prevent such a phenomenon, the focus detection area is limited to only the area (A>) in order to make the focus detection area relatively small. The display of the area should be made smaller to accommodate this.On the other hand, in AF mode, the focus detection area is wide, so you can solve the above problem, that is, if you want to focus on the subject in area (A), Although the problem of focusing on a relatively close subject in area B) or area (C) remains, on the other hand, focus detection can be performed over a wide range, so
Another advantage is that you can freely compose your shots.

第11図のフローチャートに戻り、AFモードでは領域
の表示を行わせた後、マイコン(μC)は、暗くて焦点
検出不能であったときに発光させる補助光の発光要求を
示す補助光フラグ(補助光F)がセットされているが否
かを判定する(ステップ#30〉。補助光フラグ(補助
光F)がセットされていない時には、ステップ#50に
進み、一方、フラグ(補助光F)がセットされていると
きには補助光を発光させるべくステップ#35以下のフ
ローに進む。本実施例ての補助光の発光には2種類ある
。1つはレンズを停止した状態で補助光を3つ光らせる
ものてあり、この3つの補助光は上述したように各領域
毎の補助光である。もう1つは、上記補助光を3つとも
光らせたかやはり焦点検出不能であったときに、レンズ
を駆動しながら所定のタイミングて領域(A)に対応す
る補助光のみを光らせ、焦点検出可能な被写体を捜す。
Returning to the flowchart in Fig. 11, in the AF mode, after displaying the area, the microcomputer (μC) sends an auxiliary light flag (auxiliary light flag) indicating a request to emit the auxiliary light when it is dark and the focus cannot be detected. It is determined whether the auxiliary light flag (Auxiliary light F) is set (Step #30). If the auxiliary light flag (Auxiliary light F) is not set, the process proceeds to Step #50; If it is set, proceed to the flow from step #35 onwards in order to emit the auxiliary light.There are two types of auxiliary light emission in this embodiment.One is to emit three auxiliary lights with the lens stopped. As mentioned above, these three auxiliary lights are auxiliary lights for each area.The other is to drive the lens when all three auxiliary lights are emitted or the focus cannot be detected. While doing so, at a predetermined timing, only the auxiliary light corresponding to area (A) is illuminated to search for a subject whose focus can be detected.

このように補助光を光らせる制御を異ならせている理由
は、カメラのように電池を電源とする装置において、レ
ンズ駆動用のモータを駆動しながら3つもの補助光を光
らせると、発光ダイオード1つ当たり数101oA〜1
00IIIAの電流を消費するので、電池にとって負担
が大きく、電圧の低下を招き、回路の誤動作を起こし兼
ねないからである。特に精度を要する焦点検出ては、電
圧変動又は電圧低下により誤動作てはないが、検出デー
タのばらつきが生じやすく、検出精度に悪影響を及ぼず
。測光回路がある場合にも同様で、測光回路の輝度デー
タがばらつきやすくなる。これらの誤動作及びデータの
ばらつきを少なくするI\く、レンズを駆動するときに
は、領域(A)に対応する補助光のみを光らせている。
The reason why the control for lighting the auxiliary lights is different in this way is that in a device that uses batteries as a power source, such as a camera, if three auxiliary lights are lit while driving the lens drive motor, one light emitting diode Number of hits 101oA ~ 1
This is because the current of 00IIIA is consumed, which puts a heavy burden on the battery, leading to a drop in voltage and possibly causing malfunction of the circuit. Focus detection, which particularly requires precision, does not malfunction due to voltage fluctuations or voltage drops, but it does tend to cause variations in detection data, which does not adversely affect detection accuracy. The same is true when there is a photometric circuit, and the luminance data of the photometric circuit tends to vary. In order to reduce these malfunctions and data variations, only the auxiliary light corresponding to area (A) is illuminated when driving the lens.

また、このことは電流消費を少なくすることにも役立っ
ている。
This also helps reduce current consumption.

第11図のステップ#35ては、レンズ駆動停止時にセ
ットされ、レンズ駆動開始時にリセッ1〜される3つの
補助光を光らせることを示すフラグ(3BEF)がセッ
トされているかを判定し、このフラグがセットされてい
る場合には出力端子(OP 8 )、(OP 9 )、
(OPI0)をrH,レベルにして3つの発光ダイオー
ド(LEA)、(LEB)、(LEC)により補助光を
発光させ(ステップ#40)、一方、フラグ(38EP
)がセットされていない場合には、出力端子(OPIO
)のみをrHJレベルにして、領域(A>に対応する発
光ダイオード(LEA)を発光させ(ステップ#45)
、両方共発光ダイオードを発光制御した後、ステップ#
50に進む。
In step #35 of FIG. 11, it is determined whether a flag (3BEF) indicating that three auxiliary lights are to be emitted is set, which is set when the lens drive is stopped and reset when the lens drive is started. is set, the output terminals (OP 8 ), (OP 9 ),
(OPI0) is set to rH, the three light emitting diodes (LEA), (LEB), and (LEC) emit auxiliary light (step #40), while the flag (38EP
) is not set, the output terminal (OPIO
) only to the rHJ level, and the light emitting diode (LEA) corresponding to the area (A>) emits light (step #45).
, after controlling both light emitting diodes to emit light, step #
Go to 50.

ステップ#50では、マイコン(μC)はCCDへの積
分を開始させるべく、出力端子(OPII)からワンシ
ョット信号を出力する。次に積分時間測定用のタイマー
をリセット・スタートさせ、補助光フラグ(補助光F)
がセットされているか否かを判定する(ステップ#55
,60)。補助光フラグ(補助光F)がセットされてい
ないとき、即ち、補助光が発光されていないときは、ス
テップ#95に進み、APモードであるかを入力端子(
IF6)の信号レベルによって判定する。APモードて
あれば、ステップ#100に進み、全領域での積分が終
了したことを示す信号がアンド回路(AN2)から入力
しなかを判定し、入力していない場合には20 m5e
c経過したかを判定する(ステップ# 110)、 2
0m5ec経過していない場合にはステップ#95に戻
り積分を続ける。20m5ec経過した場合には、全て
の領域での積分を終了させるべく出力端子(OPI)か
ら[正ルベルの信号を出力し、ステップ#120に進む
直ステップ#115)。ステップ#100て、全領域で
の積分が終了したときには、ステップ#120に進み、
焦点検出計算に移る。ステップ#95でFAモードであ
ると判定した場合、マイコン(μC)は領域(A)の積
分が終了したかを、入力端子(IPI)の信号レベルに
よって判定しくステップ#105)、終了している場合
にはステップ#120に進む。一方、領域(A)の積分
が終了していない場合には、ステップ#110に進み、
上述と同様の制御を行う。
In step #50, the microcomputer (μC) outputs a one-shot signal from the output terminal (OPII) to start integration to the CCD. Next, reset and start the timer for measuring the integral time, and set the auxiliary light flag (auxiliary light F).
is set (step #55)
, 60). When the auxiliary light flag (auxiliary light F) is not set, that is, when the auxiliary light is not emitted, the process advances to step #95, and the input terminal (
The determination is made based on the signal level of IF6). If it is in AP mode, proceed to step #100, and determine whether a signal indicating that integration in the entire area has been completed is input from the AND circuit (AN2), and if not, 20 m5e
Determine whether c has elapsed (step #110), 2
If 0 m5ec has not elapsed, the process returns to step #95 and continues integration. If 20 m5ec has elapsed, the output terminal (OPI) outputs a positive level signal and proceeds to step #120 to end the integration in all regions (direct step #115). At step #100, when the integration over the entire region is completed, proceed to step #120,
Let's move on to focus detection calculations. If it is determined in step #95 that the mode is FA mode, the microcomputer (μC) determines whether the integration of area (A) has been completed based on the signal level of the input terminal (IPI) (step #105). If so, proceed to step #120. On the other hand, if the integration of region (A) has not been completed, the process proceeds to step #110;
The same control as above is performed.

補助光発光が行われたときには、ステップ#60におい
て、補助光フラグ(補助光F)がセットされているので
、ステップ#65に進む。ここで20m5ec経過する
のを待ち、20m5ec経過すると、ステップ#70に
進み、全領域の積分が終了したかを入力端子(IF5)
により判定する。ここで補助光発光時にも、2Qmse
cまでに全領域の積分が終了したかを判定する理由を述
べると、実施例では、補助光モードによるコンティニュ
アスAPを行っている。したがって、動く被写体を追い
かけて、A Pを行っていると、撮影場面が変化し、最
初暗かったところが明るくなる場合があり、補助光を光
らせる必要がなくなる。このようなときに連続して補助
光を光らずことは電力の浪費であり、これを無くずため
である。
When the auxiliary light is emitted, the auxiliary light flag (auxiliary light F) is set in step #60, so the process advances to step #65. Here, wait for 20m5ec to elapse, and when 20m5ec has elapsed, proceed to step #70 and check the input terminal (IF5) to see if the integration of the entire area has been completed.
Determine by. Here, even when the auxiliary light is emitted, 2Qmse
The reason for determining whether the integration of the entire area has been completed by c is as follows. In the embodiment, continuous AP is performed using the auxiliary light mode. Therefore, when following a moving subject and performing AP, the shooting scene may change and an initially dark area may become brighter, eliminating the need to use the auxiliary light. Not continuously emitting the auxiliary light in such a case is a waste of power, and the purpose is to eliminate this.

このため、ステップ#70て全領域の積分終了を入力端
子(IF5)により検出すると、暗いことを示すフラグ
(LLF)をリセットして(ステップ#75)、ステッ
プ#90に進む。ステップ#70で全領域の積分が終了
していないと判定したときには、ステップ#80て8Q
 m5ec経過するのを待ち、3 Q +n5ec経過
した後、ステップ#85で積分終了信号を出力端子(O
PI)より出力して、積分を終了させ(20m5ec〜
80 m5ecの間に全領域の積分が終了している場合
もある)、ステップ#90で端子(○P 10)、(O
R3>、(OR3)を「L」レベルにして補助光発光停
止信号とし、補助光発光を停止させる。
Therefore, when the completion of integration for the entire area is detected at step #70 by the input terminal (IF5), the flag (LLF) indicating darkness is reset (step #75), and the process proceeds to step #90. If it is determined in step #70 that the integration of the entire area has not been completed, step #80
Wait for m5ec to elapse, and after 3 Q +n5ec have elapsed, the integration end signal is sent to the output terminal (O
PI) and complete the integration (20m5ec~
In some cases, the integration of the entire area is completed within 80 m5ec), and in step #90, the terminal (○P 10), (O
R3>, (OR3) is set to "L" level to serve as an auxiliary light emission stop signal, and auxiliary light emission is stopped.

次にマイコン(μC)は、上記タイマーをストップさせ
(ステップ#120)、データ入力(データダンプ)を
実行する。このデータダンプのザブルーチンを第23図
に示して説明する。まず領域(A)のアナログデータの
出力を所定値以上にするへく、AGCAデータを回路(
MDE)から入力端子(Itl)を介して入力し、これ
を出力端子(Ot3)を介して利得制御回路(A G 
C’)に出力する(ステップ#3000,3005>。
Next, the microcomputer (μC) stops the timer (step #120) and executes data input (data dump). This data dump subroutine is shown in FIG. 23 and will be explained. First, in order to make the output of analog data in area (A) more than a predetermined value, the AGCA data is transferred to the circuit (
G
C') (steps #3000, 3005>).

そして領域(A)の転送部からデータを入力するために
、マイコン(μC)は端子(OR3)、(OR2)をr
r−i、ルベルにし、夫々、アナログスイッチ(ASI
)をON、アンド回路(ANI)を信号通過状態とする
(ステップ#3010、#3015)。そして、マイコ
ン(μC)は、領域(A)のデータの入力を開始する(
ステップ#3020)。必要なデータ数の入力を終える
と、データ入力を停止し、端子(OR3)、(OR5)
を「L」レベルにし、アンド回路(ANI)を信号通過
阻止状態、アナログスイッチ(ASI)をOFFとする
(ステップ#3025〜ステップ#3040)。
In order to input data from the transfer section of area (A), the microcomputer (μC) connects terminals (OR3) and (OR2) to r
r-i, rubel, and analog switches (ASI), respectively.
) is turned on, and the AND circuit (ANI) is set to a signal passing state (steps #3010 and #3015). Then, the microcomputer (μC) starts inputting data in area (A) (
Step #3020). When you have finished inputting the required number of data, stop data input and connect terminals (OR3) and (OR5).
is set to "L" level, the AND circuit (ANI) is set to a signal passage blocking state, and the analog switch (ASI) is set to OFF (steps #3025 to #3040).

以下、領域(B)、領域(C)においても同様の動作を
行う。制御信号及び入出力データは異なるが、同様の動
作なのて説明は省略するくステップ#3045〜#31
25)。領域(B)、領域(C)のデータ入力が終了す
ると、リターンする。
Hereinafter, similar operations are performed in area (B) and area (C). Although the control signals and input/output data are different, the operations are similar, so the explanation will be omitted. Steps #3045 to #31
25). When the data input for areas (B) and (C) is completed, the process returns.

第11図のフローに戻って、すべての領域のデータ入力
を終え、マイコンは各領域(A)、(B)、(C)につ
いて、基準部及び参照部とも3つおきの差分データを演
算し、これを記憶する(ステップ#1、30〜#140
)。尚、上記差分のとっていないデータも別途保存して
おく。各領域のシフト数を記憶するためのレジスタ(J
 A R)、(J B R)、(JCR)に−30を代
入しておく(ステップ#145〜155)。この値で、
(−)は前ピン側を示し、30というのはこの検出装置
では取り得ない値であり、後の被写体の距離の遠近判定
に用いる。
Returning to the flow shown in Figure 11, after completing the data input for all areas, the microcomputer calculates the difference data for every third area for each area (A), (B), and (C) for both the standard part and the reference part. , memorize this (steps #1, 30 to #140
). Note that the data for which the above differences have not been taken is also saved separately. A register (J
-30 is assigned to AR), (JBR), and (JCR) (steps #145 to #155). With this value,
(-) indicates the front focus side, and 30 is a value that cannot be taken by this detection device, and is used for later determination of the distance of the subject.

次に焦点検出不能を示すフラグ(LCF)をセットする
(ステップ#160)。後述の焦点検出時に焦点検出が
可能な時には、このフラグ(LCF)はリセットされる
。次に、マイコン(μC)は各領域のデフぢ−カス量を
記憶するためのレジスタ(DA R,)、(D B R
>、(D CR)に、−K Eを記憶させる(ステップ
#165〜#175)。ここて−K Eは、前ピン側で
この検出装置では取り得ない数値を示し、最もカメラか
ら近い被写体を検出するときに用いられる(詳しくは後
述する)。
Next, a flag (LCF) indicating that focus cannot be detected is set (step #160). This flag (LCF) is reset when focus detection is possible during focus detection, which will be described later. Next, the microcomputer (μC) registers (DAR,) and (DBR) for storing the amount of differential in each area.
>, -KE is stored in (DCR) (steps #165 to #175). Here, -KE indicates a value that cannot be obtained by this detection device on the front focus side, and is used when detecting the subject closest to the camera (details will be described later).

次に、マイコン(μC)は第12図に示すフローに進み
、領域(A)についての焦点検出演算を行う。
Next, the microcomputer (μC) proceeds to the flow shown in FIG. 12 and performs focus detection calculations for area (A).

まず領域(A)の内の第7図に示す領域(A1)につい
ての焦点検出演算を行う。マイコン(μC)は領域(A
1)の生データ(差分データを取る前のデータ)からピ
ーク値PALを検出しくステップ#180)、このピー
ク値PALが所定値K Pよりも大きいかを判定する(
ステップ#185)。ピーク値PALが所定値K Pよ
りも大きいときには、焦点検出を行うのに信頼できるデ
ータとし、ステップ#190へ進んで、領域(A1)の
基準部のコントラストCAIを、 CA 1 = Σl  ai−a−i+11i = 1 によって求める(ステップ#190)、上式において、
a、は基準部の差分データを示す。1は差分デ−タの左
からの画数の順番である。そしてこの値CAIが所定値
K Cよりも大きいか、即ちコントラストが焦点検出を
行うのに充分か否かを判定する(ステップ#195)。
First, a focus detection calculation is performed for the area (A1) shown in FIG. 7 within the area (A). The microcomputer (μC) is in the area (A
1) Detect the peak value PAL from the raw data (data before taking the difference data) (step #180), and determine whether this peak value PAL is larger than the predetermined value KP (step #180).
Step #185). When the peak value PAL is larger than the predetermined value KP, it is determined that the data is reliable for performing focus detection, and the process proceeds to step #190, where the contrast CAI of the reference portion of the area (A1) is calculated as CA 1 = Σl ai-a -i+11i = 1 (step #190), in the above equation,
a indicates the difference data of the reference part. 1 is the order of the number of strokes from the left of the difference data. Then, it is determined whether this value CAI is larger than a predetermined value KC, that is, whether the contrast is sufficient for focus detection (step #195).

コントラスト値CALが所定値K Cよりも大きいとき
は、焦点検出を行うのに充分なデータとして、ステップ
#200に進む。
When the contrast value CAL is larger than the predetermined value KC, it is determined that the data is sufficient for focus detection, and the process proceeds to step #200.

ステップ#200ては焦点検出不能て、レンズを駆動し
ながら、焦点検出可能領域を捜すモード(以下、ローコ
ンサーチという)であるか否かを判定する。このローコ
ンサーチのモードでないとき、即ちローコンサーチフラ
グ(LC3F)がセットされていないときには、ステッ
プ#205で相関演算を以下の式に基づいて行う。
In step #200, it is determined whether or not focus detection is disabled and the mode is for searching for a focus detectable area while driving the lens (hereinafter referred to as low-contrast search). When it is not in this low con- search mode, that is, when the low con- search flag (LC3F) is not set, correlation calculation is performed in step #205 based on the following equation.

aは基準部の差分データ、a゛は参照部の差分データを
示す。iは差分データの左からの画数の順番である。j
は参照部のシフトを行う数である。
a indicates the difference data of the reference part, and a' indicates the difference data of the reference part. i is the order of the number of strokes from the left of the differential data. j
is the number by which the reference part is shifted.

ステップ#200でローコンサーチ中であると判定され
ると、ステップ#210に進み、レンズ移動方向が判定
され、繰り込み方向を示ずフラグ(MMBF)がセット
されていないとき、即ちレンズ繰り出し方向であるとき
は、ステップ#205へ進み、上述の相関演算を行い、
フラグ(MMBF)がセットされているとき、即ち、レ
ンズ繰り込み方向であるときは、ステップ#215に進
み、相関演算を行う。このステップ#215ての相関演
算は、ステップ#205と比ベシフトする数が異なる。
If it is determined in step #200 that a low contrast search is in progress, the process proceeds to step #210, where the lens moving direction is determined, and if the flag (MMBF) is not set and does not indicate the retracting direction, that is, in the lens extending direction. If yes, proceed to step #205, perform the above correlation calculation,
When the flag (MMBF) is set, that is, when the lens renormalization direction is set, the process proceeds to step #215, and a correlation calculation is performed. The correlation calculation in step #215 differs from step #205 in the number of relative shifts.

以下にこの理由を第8図に基いて説明する。The reason for this will be explained below based on FIG.

第8図に示したように、分割した各領域(Al)。As shown in FIG. 8, each divided area (Al).

(A2>、(A3)ては、夫々デフォーカス範囲(ずら
しピッチ量)が合焦点を基準にして異なる。例えば、領
域(A1)ては前ピン側は4ピツチ、後ピン側が24ピ
ツチとなっている。このような場合に、上述のローコン
サーチを考えると、まずレンズ繰り出し時にはレンズを
繰り出す、即ち、後ピン側(近距離側)の被写体を捜す
べくレンズを繰り出すので、被写体が後ピン側に存在す
れば、これを検出することができる。従って、参照部の
全ての領域に亘って、シフトさせる必要がある。ローコ
ンサーチ中には、j=1〜4は(前ピン側の為)必ずし
も必要でないが、被写体の変化、外光の変化により被写
体が検出できることもあるので、4ピツチ分ぐらいを相
関演算の範囲として残しておく。
For (A2> and (A3)), the defocus range (shift pitch amount) is different based on the in-focus point. For example, in area (A1), the front focus side is 4 pitches and the rear focus side is 24 pitches. In such a case, considering the above-mentioned low-contrast search, first of all, when the lens is extended, the lens is extended to search for the subject on the back focus side (close distance side), so the subject is not in the back focus. If it exists on the front pin side, it can be detected. Therefore, it is necessary to shift it over the entire area of the reference part. Although not necessarily necessary, the subject may be detected due to changes in the subject or changes in external light, so approximately 4 pitches are left as the range for correlation calculation.

一方、レンズを繰り込むローコンサーチの場合、前ピン
側(遠方側)の被写体を捜すべくレンズを繰り込むので
、その前ピンを受は持つ部分の参照部と、相関演算をと
れば良い。従って、この場合、合焦時にはj−5であり
、従ってシフト量は1〜4で良いが、上述と同じ理由で
余裕をみて6〜9の4ピツチ分を付加して計9ピッチ分
のシフトを行う。これによって、時間のかかるローコン
サーチ時における演算時間を少しでも短くし、合焦検出
演算の間隔を短くし、検出能力を高める。
On the other hand, in the case of a low-contrast search in which the lens is retracted, the lens is retracted to search for a subject on the front focus side (far side), so it is sufficient to perform a correlation calculation with the reference part of the part that has the front focus. Therefore, in this case, it is j-5 when in focus, so the shift amount can be 1 to 4, but for the same reason as above, 4 pitches from 6 to 9 are added to give a margin, resulting in a total shift of 9 pitches. I do. As a result, the calculation time during the time-consuming low-contrast search can be shortened as much as possible, the interval between focus detection calculations can be shortened, and the detection capability can be improved.

第12図に戻り、相関演算を終えると、マイコン(μC
)はシフトによって得られた内の最小の相関値(最大相
関度)を得て(ステップ#220)、この離算的な相関
値から、真の最小値を求めるべく、補間演算を行う(ス
テップ#225)。
Returning to Figure 12, after completing the correlation calculation, the microcomputer (μC
) obtains the minimum correlation value (maximum correlation degree) among those obtained by shifting (step #220), and performs an interpolation operation to find the true minimum value from this arithmetic correlation value (step #220). #225).

このサブルーチンを第24図に示し説明すると、求めた
最小値のMAL(j)(これをMA(j)とする)、そ
の前後の値MAI(j−1)(これをMA(j−1)と
する)、MA 1 (j+ 1 )(これをMA(j+
1)とする)を使って、シフト量jからの補正量として
、Xを求め、これを上記求めたjに加えて、真のシフト
量を求める(ステップ#3200〜3210)。
This subroutine is shown in FIG. 24 and will be explained as follows. ), MA 1 (j+ 1 ) (this is MA(j+
1) is used to find X as the correction amount from the shift amount j, and this is added to the above-determined j to find the true shift amount (steps #3200 to 3210).

く尚、補間演算に関しては、本願の主旨ではないので、
説明は省略する。)補間演算によって求めた真のシフト
量jから、この時の最小の相関値MA(j)を求め、こ
れをYMとし、リターンする(ステップ#3215,3
220)。
However, regarding interpolation calculations, this is not the gist of this application, so
Explanation will be omitted. ) Find the minimum correlation value MA(j) at this time from the true shift amount j found by interpolation calculation, set this as YM, and return (step #3215, 3
220).

第12図に戻り、求めたYMをコントラストCA1で規
格化し、この値が所定値KYより小さいか否かを判定す
る(ステップ8230)。所定値KYよりも小さければ
信顆できるデータであり、焦点検出可能であるとして、
ローコンフラグ(LCF)をリセットしくステップ#2
35)、求めたjから5(合焦時のシフト数)を引いて
合焦がらの後ピン量を求め(ステップ#240>、この
jが17より大きいか否かを判定する(ステップ#24
5>。
Returning to FIG. 12, the obtained YM is normalized by the contrast CA1, and it is determined whether this value is smaller than a predetermined value KY (step 8230). If the data is smaller than the predetermined value KY, it is reliable data and the focus can be detected.
Step #2 to reset the low contrast flag (LCF)
35), subtract 5 (shift number at the time of focusing) from the obtained j to obtain the amount of back focus after focusing (step #240>, and determine whether this j is larger than 17 (step #24)
5>.

この判定を行う理由は、本実施例では、上述したように
検出した領域(領域(A)、(B)、(C)及び各分割
した領域)の中で最も近距離側にピントを合わせるよう
にしており、第8図から分かるように分割領域(A1)
の後ピン側が15を超えれば、他の領域と比べて最大の
後ピンとなり、それ以外の領域での演算を行っても無駄
であるので、この無駄を省くべくjの判定を行っている
。今、このjの判定をj〉17としているが、上述のこ
とからも分かるように、実際はj〉15で良く、j〉1
7としているのは、ばらつきを含めた値としているから
であり、16でも15を少し越えたぐらいでも良い。
The reason for this determination is that in this embodiment, the focus is set on the closest distance among the detected areas (areas (A), (B), (C) and each divided area) as described above. As can be seen from Figure 8, the divided area (A1)
If the rear pin side exceeds 15, the rear pin is the largest compared to other areas, and it is useless to perform calculations in other areas, so j is determined in order to avoid this waste. Now, the judgment for j is j>17, but as you can see from the above, in reality, j>15 is sufficient, and j>1
The reason why it is set to 7 is because it is a value that includes variations, so it may be 16 or a little over 15.

ステップ#245でjが17よりも大きいとき、領域(
A)のピッチあたりのデフォーカス量SAをjに掛けて
、デフォーカス量Δεを求める(ステップ#260)。
In step #245, when j is larger than 17, the area (
The defocus amount Δε is determined by multiplying j by the defocus amount SA per pitch in A) (step #260).

このピッチ当たりのデフォーカス量は光学系及び位置m
整により、領域毎に変わる定数である。従って、各カメ
ラ毎にこのデータを用意し、例えばE2PROM(電気
的書き込み消去可能ROM)にメモリーしておけばよい
The amount of defocus per pitch is determined by the optical system and position m
It is a constant that changes from region to region. Therefore, this data may be prepared for each camera and stored in, for example, an E2PROM (electrically programmable and erasable ROM).

次に、マイコン(μC)の温度検出回路から検出温度を
入力しくステップ#270)、温度による焦点検出光学
系の変化に対する基準デフォーカス補正量Δε(1)を
メモリーテーブル(図示せず)から求め、かつ、領域毎
にデフォーカス量の変化が異なるので、領域(A)に応
じた係数1(Aをメモリーテーブルから読み出して基準
デフォーカス量に掛けて、温度tに対する補正のデフォ
ーカス量Δε′を求める(ステップ#275)。次に領
域毎の組立時の光軸方向の誤差を補正する補正量△εA
(Z)と上述の温度による補正量Δε“とデフォーカス
量Δεを加え、正しいデフォーカス量を求め、これをレ
ジスター(DAR>にメモリーする(ステップ#280
,282)。そしてAFモードであるかを判定し、AP
モードであればレンズの駆動制御を行うべく”AP演算
”のフローに進み、FAモートであれば焦点検出の表示
を行うべく゛′表示制御“°のフローに進む(ステップ
#285>。
Next, the detected temperature is input from the temperature detection circuit of the microcomputer (μC) (step #270), and the reference defocus correction amount Δε(1) for changes in the focus detection optical system due to temperature is determined from the memory table (not shown). , and since the change in defocus amount differs for each region, the coefficient 1 (A) corresponding to the region (A) is read out from the memory table and multiplied by the reference defocus amount to calculate the corrected defocus amount Δε′ for the temperature t. (Step #275).Next, the correction amount △εA is calculated to correct the error in the optical axis direction during assembly for each region.
(Z), the above-mentioned temperature correction amount Δε", and defocus amount Δε to find the correct defocus amount, and store this in the register (DAR>) (step #280
, 282). Then, it is determined whether it is in AF mode, and the AP
If it is the mode, the process proceeds to the flow of "AP calculation" to perform lens drive control, and if it is the FA mode, the process proceeds to the flow of "display control" to display focus detection (step #285>).

ステップ#185においてピーク値PALが所定値K 
P以下の時、あるいは、ステップ#195においてコン
トラストCALが所定値K C以下の時、あるいは、ス
テップ#230において、規格値YM/CALが所定値
KY以上のときは、夫々得られたデータが焦点検出を行
うのに信頼できないものとして、領域(A)の分割した
領域(A2)の焦点検出演算を行う。ステップ#245
でjが17以下であるとき、これをレジスタ(JAR)
に記憶し、領域(A2)の焦点検出演算に進む。
In step #185, the peak value PAL is set to a predetermined value K.
When contrast CAL is below P, or when contrast CAL is below a predetermined value KC in step #195, or when standard value YM/CAL is above a predetermined value KY in step #230, the respective obtained data is in focus. A focus detection calculation is performed on a region (A2) obtained by dividing the region (A) as an unreliable object for detection. Step #245
When j is 17 or less, store this in a register (JAR)
Then, the process proceeds to focus detection calculation for area (A2).

この領域(A2)での焦点検出演算は、第13図に示す
ように、領域(A1)の焦点検出演算とほぼ同じである
ので異なる部分を主に説明する。ステップ#290〜ス
テップ#35oにおいては、各種データ、つまり、ピー
ク値データPA2.コントラストデータCA2.規格値
YM/CA2が異なることと、ステップ#320〜33
0が異なる。
The focus detection calculation in this area (A2) is almost the same as the focus detection calculation in the area (A1), as shown in FIG. 13, so the different parts will be mainly explained. In steps #290 to #35o, various data, that is, peak value data PA2. Contrast data CA2. The standard value YM/CA2 is different and steps #320 to 33
0 is different.

各種データが異なることは当然として説明を省略し、ス
テップ#320〜330の説明をする。ステップ#32
0において、レンズ繰り込みを示すフラグ(MMBF)
がセットされているときは、ズラシ量jを1〜19.セ
ットされていないときはj−11〜29とし、基準部の
データは左から11番目乃至30番目の(A2)領域の
20個とすべく基準部画素(ai+k)のkを10とし
ている(但しi=1〜20)。レンズ繰り出し時(MM
BF=0)と、レンズ繰り込み時(MMBF=1)とて
、シフト数が異なるのは、ステップ#205〜215で
説明したのと同様であり、繰り出し時には合焦時のj=
15を境に後ピン開会てと、前ピン側の4ピツチでシフ
ト数j−11〜29、繰り込み時には合焦時のj−15
を境として、後ピン側4ピツチと前ピン開会てでシフト
数j=1〜1つとなる。
It goes without saying that the various data are different, so the explanation will be omitted, and steps #320 to #330 will be explained. Step #32
At 0, a flag indicating lens renormalization (MMBF)
is set, set the shift amount j from 1 to 19. When it is not set, it is set as j-11 to 29, and k of the reference part pixel (ai+k) is set to 10 so that the data in the reference part is 20 in the 11th to 30th (A2) area from the left (however, k is set to 10). i=1-20). When extending the lens (MM
The shift number is different between when the lens is extended (BF=0) and when the lens is retracted (MMBF=1), as explained in steps #205 to #215, and when the lens is extended, j=
Shift number j-11 to 29 at 4 pitches on the front focus side when the rear focus is opened after 15, and j-15 at the time of focus during renormalization.
With 4 pitches on the rear pin side and the opening of the front pin, the number of shifts is j=1 to 1.

ステップ#355においては、合焦からの後ピン量を求
めるべく15(合焦時のシフト数)を減算し、この値が
領域(A1)でのシフト数をメモリーしたレジスタ(J
AR)の内容と比較され(ステップ#360)、このメ
モリーした値よりも大きいときには新たに領域(A2)
のシフト数をレジスタ(JAR)にメモリーしくステッ
プ#365)、小さいときには、このステップ#365
をスキップして、両方ともステップ#370に進む。メ
モリーしたレジスタ(JAR)の値が6よりも大きいと
きには、演算Aのルーチンに進み、6以下のときは、次
の領域(八3)の焦点検出演算に進む。この理由は、領
域(A3)ての後ピンの最大デフォーカスピッチは4で
あるので、この値を越えた場合は領域(A3)で焦点検
出を行っても、無駄だからである。
In step #355, 15 (the number of shifts during focusing) is subtracted to obtain the amount of focus after focusing, and this value is determined by the register (J) that stores the number of shifts in the area (A1).
AR) (step #360), and if it is larger than this memorized value, a new area (A2) is created.
The shift number is stored in the register (JAR) (step #365), and if it is small, this step #365)
, and both proceed to step #370. When the value of the memorized register (JAR) is greater than 6, the routine proceeds to calculation A, and when it is 6 or less, the process proceeds to the focus detection calculation for the next area (83). The reason for this is that since the maximum defocus pitch of the rear focus in area (A3) is 4, if this value is exceeded, it is useless to perform focus detection in area (A3).

今、この境の値を6としているのは、ステップ#245
と同様、焦点検出誤差を含め余裕をみているからである
。ステップ#295.ステップ#305、ステップ#3
45で焦点検出のデータが信頼できないときは、領域(
A3)の焦点検出に進む。
Now, the reason why this boundary value is 6 is step #245
This is because, similarly to the above, there is a margin including focus detection error. Step #295. Step #305, Step #3
45, if the focus detection data is unreliable, the area (
Proceed to A3) focus detection.

次に、領域(A3)の焦点検出演算を第14図のフロー
を参照して説明する。ここてもステップ#380〜ステ
ップ#435においては、各種データは違うものの領域
(A1)の焦点検出演算のフローのステップ#180〜
235と同様の処理をするので異なる部分のみを説明し
、それ以外の説明は省略する。ステップ#410におい
て、レンズ繰り込みを示すフラグ(MMBF>がセット
されていないとき、即ち、レンズ繰り出し時には、後ピ
ン方向の焦点検出を行えば良いのて、合焦時のシフト数
をj−25として、シフト数は後ピン開傘てと前ピン側
4ピツチ分のj−21〜2つとすれば良い(ステップ#
41.5)。一方、フラグ(MMBF)がセットされて
いるとき、即ちレンズ繰り込み時には、前ピン方向の焦
点検出を行う必要があるので、すべての数j−1〜2つ
のシフトを行う〈ステップ#405)。ステップ#43
5からステップ#440に進むと、合焦からの後ピン量
を検出すべくjから25(合焦時のシフト数)を減算し
、この値がレジスタ(JAR)にメモリーしたシ・フト
数よりも大きいかを判定し、大きい場合には、この値を
レジスタ(JAR)にメモリーし、レジスタ(JAR)
にメモリーしたシフト数以下であればステップ#450
をスキップし、両方とも演算Aのルーチンに進む(ステ
ップ#440〜450)。
Next, the focus detection calculation for area (A3) will be explained with reference to the flowchart of FIG. 14. Again, steps #380 to #435 contain different data, but steps #180 to #180 of the focus detection calculation flow for area (A1)
Since the processing is similar to that of 235, only the different parts will be explained and the other explanations will be omitted. In step #410, when the flag indicating lens retraction (MMBF> is not set, that is, when the lens is extended, it is sufficient to perform focus detection in the rear focus direction, and the shift number at the time of focusing is set to j-25. , the number of shifts should be j-21 to 2 for the rear pin opening and 4 pitches on the front pin side (step #
41.5). On the other hand, when the flag (MMBF) is set, that is, when the lens is retracted, it is necessary to perform focus detection in the front focus direction, so all the numbers j-1 to 2 are shifted (step #405). Step #43
5 to step #440, 25 (number of shifts during focusing) is subtracted from j in order to detect the amount of focus after focusing, and this value is greater than the number of shifts stored in the register (JAR). If it is large, this value is stored in the register (JAR) and the register (JAR) is
If it is less than the number of shifts stored in memory, step #450
, and both proceed to the routine of operation A (steps #440 to #450).

ステップ#385.ステップ#395.ステップ#43
0において得られたデータが焦点検出において信頼でき
ないときには、ステップ#455に進み、レンズを駆動
しながら焦点検出可能領域を捜しているモードを示すフ
ラグ(LC3F)がセットされているかを判断し、セッ
トされている場合、ステップ#460に進み、低輝度で
あったことを示すフラグ(LLF)がセットされている
かを判定し、セットされていれば検出不能判定のフロー
に進む。
Step #385. Step #395. Step #43
If the data obtained in step 0 is not reliable for focus detection, the process proceeds to step #455, where it is determined whether a flag (LC3F) indicating a mode in which a focus detectable area is searched while driving the lens is set, and the flag (LC3F) is set. If so, the process proceeds to step #460, and it is determined whether a flag (LLF) indicating low brightness is set. If it is set, the process proceeds to the flow of undetectable determination.

上述したように、レンズを駆動しながら(LC3F=1
)焦点検出領域を捜すべく補助光を光らせるモード(L
LF=1)では、領域(A)(領域(A1 )、(A 
2 )、(A 3 ))のみの焦点検出を行うので、領
域(B)の相関演算には進まない。フラグ(LC3F)
、(LLF)のどちらが一方のフラグがセットされてい
ないときは、ステップ#465に進み、APモードであ
るかを入力端子(IP6)のレベルを検出して判定し、
AFモードと判定すれば領域(B)の相関演算のフロー
に進み、FAモードであれば領域(B)の相関演算を行
わず焦点状態の表示制御のフローに進む。
As mentioned above, while driving the lens (LC3F=1
) Mode that lights up the auxiliary light to search for the focus detection area (L
LF=1), area (A) (area (A1), (A
2) and (A3)), so the correlation calculation for area (B) does not proceed. Flag (LC3F)
, (LLF), if one of the flags is not set, the process advances to step #465, and it is determined whether the mode is AP mode by detecting the level of the input terminal (IP6).
If it is determined that the mode is AF mode, the process proceeds to the correlation calculation flow for area (B), and if it is the FA mode, the process proceeds to the flow for display control of the focus state without performing the correlation calculation for area (B).

次に、第15図の演算Aのルーチンを説明する。Next, the routine of operation A in FIG. 15 will be explained.

レジスタ(JAR)にメモリーされたシフト数jに、領
域(A)の1ピツチ当たりのデフォーカス量SAを掛け
、デフォーカス量△εを求める(ステップ#468.#
470)。温度を温度検出装置(TEMPDET)から
入力し、温度に対する焦点検出光学系の基準デフォーカ
ス補正量Δε(シ)をテーブルから読み出し、領域(A
)でのこの誤差を求めるべく係数I(Aをテーブルから
読み出して基準デフォーカス補正量Δε(1)に掛けて
、温度に対する補正デフォーカス量Δε°を求める(ス
テップ#475.480)。光軸方向の組立誤差ΔεA
(Z)と上記補正量Δε゛とをデフォーカス量△εに加
えて正しいデフォーカス量を求め(ステップ#485)
、これをレジスタ(DAR)に記憶する(ステップ#4
87)。次に、マイコン(μC)はAFモードであるか
否かを、入力端子(IP6)のレベルを検出することに
より判定しくステップ#490)、APモードと判定す
れば、領域(B)の相関演算のフローを示す゛B相関°
”へ、FAモードと判定すれば焦点検出状態を表示する
゛表示制御′°のフローへ進む。
Multiply the shift number j stored in the register (JAR) by the defocus amount SA per pitch in the area (A) to find the defocus amount Δε (step #468.
470). Input the temperature from the temperature detection device (TEMPDET), read out the standard defocus correction amount Δε (shi) of the focus detection optical system for the temperature from the table, and calculate the area (A
), read out the coefficient I (A) from the table and multiply it by the standard defocus correction amount Δε(1) to find the corrected defocus amount Δε° with respect to temperature (step #475.480).Optical axis Directional assembly error ΔεA
(Z) and the above correction amount Δε゛ to the defocus amount Δε to find the correct defocus amount (step #485)
, store this in the register (DAR) (step #4
87). Next, the microcomputer (μC) determines whether or not it is in the AF mode by detecting the level of the input terminal (IP6) (step #490). If it is determined to be in the AP mode, it calculates the correlation in area (B).゛B correlation ° showing the flow of
If it is determined that the mode is FA mode, the process advances to the flow of ``display control'' which displays the focus detection state.

まず゛表示制御“のフローを説明すると、マイコンくμ
C)は焦点検出不能を示すフラグ(LCF)がセットさ
れているか否かを判定し、フラグ(LCF)がセットさ
れているときには、第5図で説明した検出不能表示を表
示部(DISPn)に表示させ(ステップ#525)、
“’FA’”のフローに進む。
First, to explain the flow of "display control", the microcontroller
In C), it is determined whether or not a flag (LCF) indicating that focus cannot be detected is set, and when the flag (LCF) is set, the undetectable display explained in FIG. 5 is displayed on the display unit (DISPn). display (step #525),
Proceed to the flow of "'FA'".

焦点検出不能を示すフラグ(LCF)がセットされてい
ないときにはステップ#500に進み、デフォーカス量
の絶対値1Δε]が、合焦の範囲を示す所定値にε以下
であるか否かを判定し、所定値にε以下であれば表示部
(DISPII>で合焦表示を行わせ(ステップ#52
0)、所定値にεを超えている場き、デフォーカス量が
負であれば前ピンの表示を、デフォーカス量が負でなけ
れば後ピンの表示を表示部(DISPII)に行わせて
“’FA”のフローに進む(ステップ#505〜#51
5)。
If the flag (LCF) indicating that focus cannot be detected is not set, the process proceeds to step #500, and it is determined whether the absolute value 1Δε of the defocus amount is less than or equal to a predetermined value ε indicating the focusing range. , if the predetermined value is less than or equal to ε, the display unit (DISPII>) displays the focus (step #52
0), when the predetermined value exceeds ε, the display unit (DISP II) displays the front focus if the defocus amount is negative, and the rear focus if the defocus amount is negative. Proceed to “'FA” flow (steps #505 to #51
5).

次に、”B相関″のフローを説明する。このフローは領
域(B)の相関演算を行うフローである。マイコン(μ
C)はステップ#53oで、縦a位置であるか否かを入
力端子(I B4)、(I P 3)のレベルを検出し
て判定し、ma粒位置とき、つまり第5図のファインダ
ー内表示において、焦点検出領域(B)側が下に配され
る場合には、領域(B)のような下の位置には、撮影し
たい被写体はほとんど存在しないとして、この領域(B
)での焦点検出は行わないようにしている。この理由は
領域(B)を無視しても、大抵は被写体は領域(A)で
捕らえることができるであろうし、写したい被写体が領
域(A>に存在する場合には、それよりも下の位置では
撮影したい被写体よりもレンズに近い別の被写体が存在
する場合が多く(例えば領域(A)の人物とその足元前
方にある領域(B)の物体)、このようなときには、領
域(B)の近い被写体に焦点がきってしまうことになり
、撮影したい被写体に焦点が合わなくなってしまう。こ
れを防止するためである。そこで、ステップ#53oで
、Nga位置を判定すると、領域(C)の相関演算のフ
ローであるパC相関“′に進む。
Next, the flow of "B correlation" will be explained. This flow is a flow for performing correlation calculation for region (B). Microcomputer (μ
C) is step #53o, in which it is determined whether or not the vertical a position is detected by detecting the levels of the input terminals (I B4) and (I P3). In the display, when the focus detection area (B) side is arranged at the bottom, it is assumed that there is almost no subject to be photographed in the lower position like area (B), and this area (B) is
) focus detection is not performed. The reason for this is that even if you ignore area (B), you can usually capture the subject in area (A), and if the subject you want to photograph is in area (A>), you can capture it in area (A>). In many cases, there is another subject closer to the lens than the subject you want to photograph (for example, a person in area (A) and an object in area (B) in front of the person's feet). This is to prevent this from happening. Therefore, when the Nga position is determined in step #53o, Proceed to PAC correlation "'" which is the flow of correlation calculation.

縦a位置でない場合には、ステップ#545に進むが、
ステップ#545〜#600までは、領域(B1)の相
関演算を行っており、この間のステップの処理は、領域
(A1)のステップ#180〜#235と同様の処理で
あるので、異なる部分のみを説明し、それ以外は説明を
省略する。ステップ#575において、レンズ繰り込み
を示すフラグ<MMBF)がセットされてないときには
、参照部の全領域と相関演算を行う(ステップ#570
)。
If it is not in the vertical a position, proceed to step #545, but
In steps #545 to #600, a correlation calculation is performed for area (B1), and the processing in the steps between these steps is the same as steps #180 to #235 for area (A1), so only the different parts are will be explained, and other explanations will be omitted. In step #575, if the flag indicating lens renormalization <MMBF) is not set, a correlation calculation is performed with the entire area of the reference part (step #570
).

これは、上述したように領域(B1)が後ピン側を受は
持つためである。一方、フラグ(MMBF)がセットさ
れているときには、合焦時のズラシ量j−6を中心に前
ピン開傘てと、(余裕をみて)後ピン側4とし、j=1
〜10の範囲で参照部と相関演算を行う(ステップ#5
80)。
This is because the region (B1) has the rear pin side as described above. On the other hand, when the flag (MMBF) is set, the front focus is opened centering on the shift amount j-6 at the time of focusing, and the rear focus is set to 4 (with a margin), and j = 1.
Perform correlation calculation with the reference part in the range of ~10 (step #5
80).

ステップ#550で、ピーク値FBIが所定値K P以
下のとき、ステップ#560でコントラストCB1が所
定値K C以下のとき、ステップ#595で規格値YM
/CB1が所定値K Y以上のときには、(B2)領域
の相関演算に進む。ステップ#605では、シフト量j
から6を引き、後ピン量を演算し、これをレジスタ(J
BR)にメモリーし、これが7より大きいかを判定する
(ステップ#610,615)。シフト量jが7より大
きいときには、(B2)領域での相関演算を行っても無
駄であるので、デフォーカス量を演算すべく“演算B′
′のルーチンに進む。ステップ#615でのj〉7とい
うのは本来j>6で良いが、誤差を含んでj〉7として
いる。これは、領域(A)でのステップ#245の判定
と同様である。そして、ステップ#615で、jが7以
下であるときには(B2)領域の相関演算に進む。
In step #550, when the peak value FBI is less than or equal to the predetermined value KP, and in step #560 when the contrast CB1 is less than or equal to the predetermined value KC, in step #595, the standard value YM
When /CB1 is greater than or equal to the predetermined value KY, the process proceeds to the correlation calculation in area (B2). In step #605, the shift amount j
Subtract 6 from , calculate the back pin amount, and store this in the register (J
BR), and it is determined whether this is greater than 7 (steps #610, 615). When the shift amount j is larger than 7, it is useless to perform the correlation calculation in the area (B2), so "operation B'" is performed to calculate the defocus amount.
’ routine. j>7 in step #615 should originally be j>6, but it is set to j>7 to include an error. This is similar to the determination in step #245 in area (A). Then, in step #615, if j is 7 or less, the process proceeds to the correlation calculation for the area (B2).

第16図に(B2)領域の相関演算を示す。ステップ#
620〜ステップ#680は、(B1)領域でのステッ
プ#545〜600までの相関演算と同様であるので、
異なる部分のみを説明する。ステップ#655でレンズ
繰り込みを示すフラグ(MMBF)がセットされている
ときには、参照部の全てと相関演算を行い(ステップ#
650)、フラグ(MMBF)がセットされていないと
きには、合焦時のj−16からの後ピンを示す領域(j
=21まで)と、前ピン側4ピツチの領域を含むj−1
2〜21の範囲で参照部と相関演算を行う(ステップ#
660)。ステップ#625でピーク値PB2が所定値
K P以下のとき、ステップ#635でコントラストC
B2が所定値KC以下のとき、ステップ#675で規格
値YM/CB2が所定値KY以」二のときには、焦点検
出の信頼性が低いとして領域(C)の相関演算に進む。
FIG. 16 shows the correlation calculation for region (B2). Step #
Since steps 620 to #680 are the same as the correlation calculations from steps #545 to #600 in the (B1) area,
Only the different parts will be explained. When the flag (MMBF) indicating lens renormalization is set in step #655, a correlation calculation is performed with all reference parts (step #655).
650), and when the flag (MMBF) is not set, the area (j
= up to 21) and j-1 including the area of 4 pitches on the front pin side
Correlation calculation is performed with the reference part in the range of 2 to 21 (step #
660). When the peak value PB2 is less than or equal to the predetermined value KP in step #625, the contrast C is determined in step #635.
When B2 is less than the predetermined value KC, in step #675, if the standard value YM/CB2 is less than the predetermined value KY, it is determined that the reliability of focus detection is low and the process proceeds to correlation calculation for area (C).

ステップ#685では、合焦時のj=16をjから減算
し、レジスタ(JBR)にメモリーされている値jと比
較し、レジスタ(JBR)にメモリーされている値より
も大きいときは、減算して得た値jをレジスタ(JBR
)にメモリーしくステップ#695)、一方、メモリー
されている値よりも小さいときには、ステップ#695
をスキップして゛演算B゛のルーチンに進む(ステップ
#690.#695)。
In step #685, j = 16 at the time of focus is subtracted from j, and compared with the value j stored in the register (JBR). If it is larger than the value stored in the register (JBR), the subtraction is performed. The obtained value j is stored in the register (JBR
), step #695), while if it is smaller than the memorized value, step #695)
is skipped and the routine proceeds to "operation B" (steps #690 and #695).

°゛演算B′のルーチンでは、レジスタ(JBR)にメ
モリーされた値をjとし、領域(B)の1−ピッチ当た
りのデフォーカス量SBをメモリーテーブルから読み出
し、jに掛け、デフォーカス量(△ε)を求める(ステ
ップ#700.#715)。温度検出装置(TEMPD
ET)から入力端子(Itl)を介して測定温度を入力
し、測定温度に応じた基準デフォーカス補正量Δε(1
)をテーブルから読み出して、領域(B)での温度係数
KBを上記基準デフォーカス補正量△ε(1)に掛けて
、補正のデフォーカス量△ε゛を求める(ステップ#7
20.#725)。次に、デフォーカス量Δε、上記求
めた補正量Δε′、組立時の光軸方向の誤差を補正する
ための補正量ΔεB(z)をメモリーテーブルから読み
出して、これらを全て加えて、新たにデフォーカス量Δ
εを求め、レジスタ(DBR)にこの補正量をメモリー
し、領域(C)の相関演算に進む(ステップ#730.
#735)。
In the routine of operation B', the value stored in the register (JBR) is set to j, the defocus amount SB per 1-pitch of the area (B) is read from the memory table, multiplied by j, and the defocus amount ( Δε) (steps #700 and #715). Temperature detection device (TEMPD)
The measured temperature is input from the input terminal (Itl) from ET), and the reference defocus correction amount Δε(1
) is read out from the table, and the above reference defocus correction amount △ε(1) is multiplied by the temperature coefficient KB in area (B) to obtain the corrected defocus amount △ε゛ (Step #7
20. #725). Next, read out the defocus amount Δε, the correction amount Δε′ obtained above, and the correction amount ΔεB(z) for correcting the error in the optical axis direction during assembly from the memory table, add them all, and create a new Defocus amount Δ
Calculate ε, store this correction amount in the register (DBR), and proceed to correlation calculation for region (C) (step #730.
#735).

領域(C)の相関演算では、まずカメラの位置が縦1〕
位置であるか否かを判定する(ステップ#740)。縦
す位置である場合には、領域(C)が被写体の下側に来
るのて、これを焦点検出の対象から除くべく領域(C)
の相関演算を行わないで、検出不能判定のルーチンに進
む。縦す位置でない場合には、(C1)領域及び(C2
)領域の相関演算を行う。
In the correlation calculation for area (C), first the camera position is vertical 1]
It is determined whether or not it is the current position (step #740). If the camera is in the vertical position, the area (C) will be below the subject, so the area (C) will be removed to exclude it from the focus detection target.
The process proceeds to a routine for determining undetectability without performing the correlation calculation. If it is not in the vertical position, the (C1) area and (C2
) performs a correlation calculation for the area.

これをステップ#745〜#920に示すが、第7図か
らも分かるように、領域(C)は領域(B)と画面セン
ターを中心に左右対称、上下同一であるので、その焦点
検出のアルゴリズムがステップ#545〜#735とほ
ぼ同一となる(但し、変数、演算結果、レジスタ等、領
域毎に異なる値は別である。)。したがってステップ#
745〜#920の説明は省く。異なる部分は領域(B
)で焦点検出のデータが信頼できない場合、あるいは、
焦点検出が終わった後は、領域(C)に進んだのに対し
、領域(C)では上記2つの場合に焦点検出が不能であ
るか否かを判定する゛′検出不能判定′”のルーチンに
進む点である。
This is shown in steps #745 to #920, but as can be seen from FIG. 7, area (C) is symmetrical with area (B) about the center of the screen, and is vertically identical, so the algorithm for detecting the focus is almost the same as steps #545 to #735 (with the exception of variables, calculation results, registers, and other values that differ from region to region). Therefore step #
Explanation of steps 745 to #920 will be omitted. The different parts are areas (B
), the focus detection data is unreliable, or
After focus detection is completed, the process advances to area (C), and in area (C), a routine called ``'Detection undetectable determination'' is performed to determine whether or not focus detection is impossible in the above two cases. This is the point where we move on.

第19図にこの゛検出不能判定“のルーチンを示ず。マ
イコン(μC)はステップ#925において、焦点検出
が可能であったか否かを焦点検出不能を示すフラグ(L
CF)で判定する。このフラグ(LCF)は焦点検出開
始時にセットされ、各領域において焦点検出可能である
場合にリセットされるフラグであるから、このフラグ(
LCF)がリセットされている時には、最も後ピンの領
域を判定する゛領域判定パのルーチンに進む。一方、フ
ラグ(LCF)がセットされているときには、領域(A
)〜(C〉の領域について、全て焦点検出不能(信頼性
が低い)としてステップ#930に進む。
FIG. 19 does not show the routine for "determining undetectability." In step #925, the microcomputer (μC) determines whether or not focus detection was possible using the flag (L) indicating that focus detection is not possible.
CF). This flag (LCF) is set at the start of focus detection and is reset when focus detection is possible in each area.
When the LCF) has been reset, the process proceeds to the ``area determination routine'' which determines the area of the rearmost pin. On the other hand, when the flag (LCF) is set, the area (A
) to (C>), the focus is determined to be undetectable (low reliability) and the process proceeds to step #930.

ステップ#930では、今回の焦点検出において、補助
光発光を行ったか否かを補助光フラグ(補助光F)で判
定する。まずこの補助光フラグ(補助光F)がセットさ
れていない場合、即ち定常光のみでの焦点検出を行った
場合について説明する。
In step #930, it is determined based on the auxiliary light flag (auxiliary light F) whether or not the auxiliary light has been emitted in the current focus detection. First, a case where this auxiliary light flag (auxiliary light F) is not set, that is, a case where focus detection is performed using only steady light will be explained.

ステップ#935〜945では各領域(A)〜(C)で
のAGCデータが、4を超えるか否かを判定し、いずれ
も4を超えていない場合には、定常光での焦点検出が行
えるとして低輝度を示すフラグ(LLF)、補助光フラ
グ(補助光F)をリセットする(ステップ#950,9
60)。(尚、このフラグの′すセットは、後述のステ
ップ#1000から進んで来たときに意味をなす。)そ
して、レンズを駆動しながら焦点検出可能な領域を捜す
゛ローコンスキャン”のフローに進む。ステップ#93
5〜ステップ#945において、領域(A)〜(C)の
うち、いずれか一つの領域てもAGCデータが4を超え
るときには、ステップ#965に進む。ステップ#96
5では、前回の焦点検出の結果が合焦であったか否かを
判定し、合焦でないとき(合焦フラグがセットされてい
ないとき)には、変数N1をOにリセットし、低輝度を
示すフラグ(L L F )をセットする(ステップ#
980.985)。上記変数N1はコンティニュアスモ
ードで補助光を発光させてき焦となった場きに、き前後
の補助光発光を焦点検出毎に行わず、複数回の焦点検出
毎に一回行うためのものである(詳細は後述)。
In steps #935 to 945, it is determined whether the AGC data in each area (A) to (C) exceeds 4, and if none exceeds 4, focus detection using constant light can be performed. The flag (LLF) indicating low brightness and the auxiliary light flag (auxiliary light F) are reset (step #950, 9
60). (In addition, the setting of this flag becomes meaningful when proceeding from step #1000 described later.) Then, in the flow of "low-contrast scan" that searches for a focus detectable area while driving the lens. Proceed. Step #93
5 to Step #945, if the AGC data in any one of the areas (A) to (C) exceeds 4, the process proceeds to Step #965. Step #96
In step 5, it is determined whether or not the previous focus detection result was in focus, and if it is not in focus (the focus flag is not set), variable N1 is reset to O to indicate low brightness. Set the flag (LLF) (step #
980.985). The variable N1 above is for when the auxiliary light is emitted in continuous mode and the focus is reached, the auxiliary light is not emitted before and after each focus detection, but once every multiple focus detections. (Details will be described later).

次に、レンズを駆動しながら焦点検出可能な領域を捜す
ローコンスキャンの禁止を示すフラグ(LSIF)がセ
ットされているが否を判定する(ステップ#990)。
Next, it is determined whether a flag (LSIF) indicating prohibition of low contrast scan, which searches for a focus detectable area while driving the lens, is set (step #990).

このローコンスキャンの禁止は、所定動作を行ったが焦
点検出可能領域が得られなかったときにセットされるも
のであり、このフラグがセットされているときには、補
助光の発光を禁止している。その理由は、一度無点検出
不能と判断された後(補助光発光でのローコンスキャン
は行った後)、補助光を光らせた焦点検出を行っても無
駄であり、電流消費のみが多くなるだけだからである。
This prohibition of low contrast scan is set when a focus detectable area cannot be obtained after performing a specified operation, and when this flag is set, the emission of the auxiliary light is prohibited. . The reason for this is that once it has been determined that no-point detection is impossible (after low-contrast scanning with the auxiliary light), it is useless to perform focus detection with the auxiliary light on, and only increases current consumption. This is because only

この理由からローコンスキャンの禁止を示すフラグ(L
SIF)がセットされている時には、ステップ#995
からの補助光発光モードに進まず、補助光を発光しない
焦点検出を行うべく(補助光Fは0になっている)”A
P“のルーチンに進む。ステップ#990において、フ
ラグ(LSIF)がセットされていないときには補助光
フラグ(補助光F)をセットし、モータ停止を行い、3
ビームによる焦点検出を行うために、3ヒーム用フラグ
(38EF)をセットして、”AF”のフローに進む(
ステップ#995.#996.#997)。
For this reason, a flag (L
SIF) is set, step #995
In order to perform focus detection without emitting the auxiliary light without proceeding to the auxiliary light emission mode from ``A'' (the auxiliary light F is set to 0).
Proceed to the routine P". In step #990, if the flag (LSIF) is not set, the auxiliary light flag (auxiliary light F) is set, the motor is stopped, and 3
In order to perform focus detection using the beam, set the 3-beam flag (38EF) and proceed to the "AF" flow (
Step #995. #996. #997).

ステップ#965において、前回が合焦状態であった場
合、変数N1に1を加えて、5になったか否かを判定す
る(ステップ#970.#975)。
In step #965, if the previous focus was in focus, 1 is added to the variable N1, and it is determined whether the value becomes 5 (steps #970 and #975).

変数N1が5てあればステップ#98oに進み、変数N
1をリセットして、上述のフローに進み、変数N1が5
でなければ”AF”のルーチンに進む。
If the variable N1 is 5, proceed to step #98o and set the variable N1 to 5.
1, proceed to the above flow, and set variable N1 to 5.
Otherwise, proceed to the "AF" routine.

これによって合焦後の発光が焦点検出6回毎に1回の割
合で行われ、電流消費を少なくしている。
As a result, light emission after focusing is performed once every six focus detections, reducing current consumption.

ステップ#930で補助光フラグ(補助光F)がセット
されているときは、ステップ#1000へ進み、低輝度
を示すフラグ(LLF)がセットされているか否かを判
定し、セットされていないときには、ステップ#950
に進み、補助光モードから抜は出す。一方、フラグ(L
LF>がセットされているときには、3ビーム用補助光
を示すフラグ(3BEF)をリセットして(ステップ#
1oo5)、ローコンスキャンのフローに進む。
When the auxiliary light flag (auxiliary light F) is set in step #930, the process proceeds to step #1000, where it is determined whether or not the low brightness flag (LLF) is set. , step #950
Proceed to , and remove from auxiliary light mode. On the other hand, the flag (L
LF> is set, reset the flag (3BEF) indicating the 3-beam auxiliary light (step #
1oo5), proceed to the low contrast scan flow.

次に、ローコンスキャンのフローチャートを第20図に
示して説明する。まずマイコン(μC)は、ローコンス
キャンを示すフラグ(LC3F)をセットし、モータの
駆動量を制御するためのカウンターNに最大値(−回の
焦点検出に駆動する量(エンコーグからのパルス数)よ
りも大きい値であれば良い)を入れる。これにより、ロ
ーコンスキャン時の焦点検出において、焦点検出不能に
かかわらずレンズが停止することを防止する(ステップ
#1010、#1015)。
Next, a flowchart of the low contrast scan will be described with reference to FIG. 20. First, the microcomputer (μC) sets a flag (LC3F) indicating low contrast scan, and sets the counter N for controlling the drive amount of the motor to the maximum value (- amount of drive for focus detection (number of pulses from encoder)). ). This prevents the lens from stopping in focus detection during low contrast scanning, even if focus cannot be detected (steps #1010, #1015).

次に、レンズが駆動範囲の終端に存在するか否かをスイ
ッチ(S3)がONしているか否で判定し、OFFの場
合、即ち終端に存在していないときには、ローコンスキ
ャン禁止を示すフラグ(LSIF)がセットされている
か否かを判定する(ステップ#1020.1025)。
Next, it is determined whether the lens exists at the end of the drive range by checking whether the switch (S3) is ON or not, and if it is OFF, that is, when it does not exist at the end, a flag indicating low contrast scan prohibition is set. It is determined whether (LSIF) is set (steps #1020 and 1025).

フラグ(LSIF)がセットされているときには、ロー
コンスキャンを行わず、”AF”のフローに進む。フラ
グ(LSIF)がセットされていないとき、レンズ繰り
込みを示すフラグ(MMBF)がセットされているか否
かを判定し、セットされているときにはレンズ繰り込み
、セットされていないときにはレンズ繰り出しの制御を
示す信号、及び、モータの回転速度をハイスピード(H
igh 5peed、図中“旧s p e e d ”
と略記)に制御する信号をモータ制御回路(MOC,)
に出力し、モータ制御回路(M OC>は入力した制御
信号に応してモータを制御する(ステップ#1030〜
1045)。次にモータ駆動中を示すフラグ(MDF)
をセットし、焦点検出状態を示す表示を消灯すべく、表
示部(DISPII)に制御信号を出力し、AF’“の
ルーチンに進む(ステップ#1047.#1050)。
When the flag (LSIF) is set, the low contrast scan is not performed and the process proceeds to the "AF" flow. When the flag (LSIF) is not set, it is determined whether or not the flag (MMBF) indicating lens retraction is set, and if it is set, the lens is retracted, and if it is not set, it is a signal indicating control of lens extension. , and set the motor rotation speed to high speed (H
igh 5peed, “old speed” in the diagram
Motor control circuit (MOC,)
The motor control circuit (MOC) controls the motor according to the input control signal (steps #1030 to
1045). Next, a flag (MDF) indicating that the motor is being driven
is set, a control signal is output to the display section (DISP II) to turn off the display indicating the focus detection state, and the process proceeds to the AF''' routine (steps #1047 and #1050).

ステップ#1020において、終端を検出すると、マイ
コン(μC)はモータ停止の信号をモータ制御回路(M
 OC)に出力し、モータ停止を示すべくフラグ(MD
F)をリセットする(ステップ#1055、#]、05
7)。次にローコンスキャン禁止を示ずフラグ(LSI
F)がセットされているか否かを判定しくステップ#1
060)、セットされている場合には、ローコンスキャ
ンを行わず“’AF”のルーチンに進み、セットされて
いない場きはステップ#1065に進む。ステップ#1
065では、レンズ繰り込みを示すフラグ(MMBF)
がセットされているか否かを判定する。そして、フラグ
(MMBF)がセットされていないときには、終端に至
るまでのレンズ駆動が繰り出してあったことを示すので
、引き続いて繰り込みの制御を行うべく、フラグ(MM
BF>をセットして、ステップ#1040に進み、モー
タの制御を行う。ステップ#1065において、フラグ
(MMBF)がセット  、されているときには、レン
ズの繰り込み、繰り出しの2つの制御を行っても、焦点
検出可能領域を検出できないとして、次回の焦点検出時
の補助光の発光を禁止すべく補助光フラグ(補助光F)
をリセットし、ローコンスキャンの禁止を示すフラグ(
LSIF)をセットして、次回のローコンスキャンを禁
止し、焦点検出不能表示を表示部(D I 5PIE)
に行わせる(ステップ#1075〜#1085)。
In step #1020, when the termination is detected, the microcomputer (μC) sends a motor stop signal to the motor control circuit (M
OC) and flag (MD) to indicate motor stop.
F) reset (step #1055, #], 05
7). Next, a flag (LSI
Step #1: Determine whether F) is set.
060), if set, the process proceeds to the "'AF" routine without performing a low contrast scan; if not set, the process proceeds to step #1065. Step #1
In 065, a flag indicating lens renormalization (MMBF)
Determine whether or not is set. When the flag (MMBF) is not set, it indicates that the lens drive has been extended to the end, so in order to continue to control the retraction, the flag (MMBF) is set.
BF> is set, the process proceeds to step #1040, and the motor is controlled. In step #1065, if the flag (MMBF) is set, it is assumed that the focus detectable area cannot be detected even if the lens is retracted and extended, and the auxiliary light is emitted at the next focus detection. Fill-in light flag (fill-in light F) to prohibit
and resets the flag indicating prohibition of low contrast scan (
LSIF), prohibits the next low contrast scan, and displays focus detection failure on the display (DI 5PIE).
(Steps #1075 to #1085).

次にマイコン(μC)は、コンティニュアスモードであ
るか否かを、スイッチ(S5)の状態から判定して、コ
ンティニュアスモードであれば、続いて焦点検出を行う
べく、”AF’“のルーチンに進み、コンティニュアス
モードでなければ、次回の割り込み、具体的には再度の
スイッチ(Sl)のONを=59− 待つ。
Next, the microcomputer (μC) determines whether or not it is continuous mode based on the state of the switch (S5), and if it is continuous mode, it selects "AF" to perform focus detection next. If the mode is not continuous mode, the process proceeds to the routine 59- and waits for the next interrupt, specifically, for the switch (Sl) to be turned on again.

次に焦点検出可能であったときに得られた各領域のデフ
ォーカス量のうち、どの領域のデフォーカス量を選択す
るかの説明を、第21図に示す゛領域判定“のルーチン
を用いて説明する。この焦点検出装置では上述のように
、カメラからの距離が最も近い被写体にピントを合わす
ようになっており、これには最も後ピン側のデフォーカ
ス量、即ち、最大のデフォーカス量を選択すれば良い。
Next, we will explain which area's defocus amount to select from among the defocus amounts of each area obtained when focus detection is possible, using the ``area determination'' routine shown in Figure 21. As mentioned above, this focus detection device focuses on the subject closest to the camera. All you have to do is choose.

“′領域判定°′のルーチンでは、ステップ#1095
゜#1100.#1115において最大のデフォーカス
量を検出し、最大のデフォーカス量が検出された領域の
デフォーカス量を、デフォーカス量(DF〉とし、レン
ズ駆動量を求める゛’AF演算パ演算パーチンに進む(
ステップ#1095〜#1120)。
In the routine of “'area determination °’, step #1095
゜#1100. In #1115, the maximum defocus amount is detected, the defocus amount of the area where the maximum defocus amount is detected is set as the defocus amount (DF), and the process proceeds to the AF calculation part calculation part to calculate the lens drive amount. (
Steps #1095 to #1120).

”AP演算′″のルーチンでは、焦点検出可能であるの
で、レンズ繰り込みを示すフラグ(MMBF)。
Since focus detection is possible in the "AP calculation" routine, a flag (MMBF) indicating lens renormalization is used.

ローコンスキャンの禁止を示すフラグ(LSIF>。A flag (LSIF>) indicating prohibition of low contrast scan.

ローコンスキャンを示すフラグ(LC9F)をリセット
し、3ビームの補助光発光を行うフラグ(3B6O− EF)をセットする(ステップ#1125〜#1140
)。次に、上記求めたデフォーカス量(DF)に、モー
タの回転数に変換するための係数■ぐLを掛け、モータ
の回転数Nを求める(ステップ#1145)。
Reset the flag (LC9F) indicating low contrast scan and set the flag (3B6O-EF) for emitting 3-beam auxiliary light (steps #1125 to #1140
). Next, the defocus amount (DF) obtained above is multiplied by a coefficient ≧L for converting to the motor rotation speed to obtain the motor rotation speed N (step #1145).

次に、モータが駆動中であるか否かを、モータ駆動中を
示すフラグ(MDF)によって判定しくステップ#11
50)、このフラグ(MDF)がセットされていないと
き(レンズが停止しているとき)には、上記求めたモー
タの回転数の絶対値INIが合焦範囲を示す所定値I(
18以内であるかを判定しくステップ#1155)、所
定値以内であれば合焦であるとし、合焦フラグ(合焦F
)をセットし、合焦表示を表示部(DISPII)に行
わせ、補助光発光を禁止すべく補助光フラグ(補助光F
)をリセットする(ステップ#1160〜ステップ#1
170)。そして、コンティニュアスモードであるか否
かを判定し、コンティニュアスモードであれば、“’A
P”のルーチンに戻って、焦点検出を繰り返し、コンテ
ィニュアスモードでなければ割込待ちとするくステップ
#1175)。
Next, it is determined whether or not the motor is being driven using a flag (MDF) indicating that the motor is being driven.Step #11
50), when this flag (MDF) is not set (when the lens is stopped), the absolute value INI of the motor rotation speed determined above is set to a predetermined value I(
If it is within a predetermined value, it is determined that the focus is in focus, and the focus flag (focus F
), set the focus display on the display (DISPII), and set the auxiliary light flag (auxiliary light F) to prohibit the auxiliary light emission.
) (Step #1160 to Step #1
170). Then, it is determined whether or not it is continuous mode, and if it is continuous mode, “'A
Returning to the routine of "P", focus detection is repeated, and if the mode is not continuous mode, the process waits for an interrupt (step #1175).

ステップ# l ]、 50てモータが駆動中であると
き(フラグ(MDF)がセットされているとき)、ある
いは、ステップ# 11.55でき魚状態にないとき(
回転数の絶対値INIが所定値に+Nを超えるとき)に
は、ステップ#1180に進み、合焦を示すフラグ〈合
焦F〉をリセットする。
Step #l], 50, when the motor is running (when the flag (MDF) is set), or when step #11.55 is not in the ready state (
When the absolute value INI of the rotational speed exceeds a predetermined value +N), the process proceeds to step #1180, and a flag <focus F> indicating focus is reset.

次に回転数の絶対値IN+が合焦の近傍の範囲であるか
を示す所定値I(d以下であるがを判定し、所定値Kt
+z以下であれば、モータの回転速度をロースピード(
I、our 5peed、図中” L o s p e
 e d ”と略記)とする信号を、所定値に+iZを
超えればハイスピードとする信号を、モータ制御回路(
M OC)に出力し、モータ駆動中を示すフラグ(MD
F)をセットする(ステップ#1185〜1200)。
Next, a predetermined value I (d) indicating whether the absolute value IN+ of the rotation speed is within a range near focus is determined, and a predetermined value Kt
If it is below +z, the motor rotation speed is set to low speed (
I, our 5peed, "Lospe" in the picture
The motor control circuit (abbreviated as ``e d'') is used to generate a signal that causes high speed if it exceeds a predetermined value +iZ.
A flag (MD) indicating that the motor is being driven is output to
F) (steps #1185 to 1200).

そして、今回の焦点検出が補助光を用いて行われたもの
かを、補助光フラグ(補助光F)がセットされているが
否かで判定し、セットされていれば割込を待ち、セット
されていないときは、焦点検出を行うべくAF”のフロ
ーに進む。これによって焦点検出可能かつ補助光発光時
ではレンズの駆動中は焦点検出を行わないようにしてい
る。
Then, it is determined whether the current focus detection was performed using an auxiliary light by checking whether or not the auxiliary light flag (auxiliary light F) is set, and if it is set, it waits for an interrupt and sets it. If not, the process proceeds to the AF" flow to perform focus detection. This allows focus detection, and when the auxiliary light is emitted, focus detection is not performed while the lens is being driven.

次に、エンコーダ回路(E N C)がらのパルスが来
る毎に割り込みを行う’INTENC”のフローを第2
2図に示し、モータ駆動中のモータの制御及び焦点検出
の制御を説明する。まず、マイコン(μC)は、このフ
ローに入る毎に回転数(N)がら1を引く(ステップ#
1210)。次にローコンスキャン中であるか否かをフ
ラグ(LC8F)によって判定し、ローコンスキャン中
(LC8F=1)であればステップ#1270に進み、
レンズが終端にあるか否かをスイッチ(S3)によって
判定する。
Next, the flow of 'INTENC', which interrupts every time a pulse from the encoder circuit (E N C) comes, is changed to the second flow.
2, motor control and focus detection control during motor drive will be explained. First, the microcomputer (μC) subtracts 1 from the number of revolutions (N) every time it enters this flow (step #
1210). Next, it is determined by the flag (LC8F) whether or not low contrast scanning is in progress, and if low contrast scanning is in progress (LC8F=1), the process proceeds to step #1270;
A switch (S3) determines whether the lens is at the end.

終端でなければリターンし、終端であればモータを停止
する信号を出力して、この停止を示すべく、フラグ(M
DF)をリセットしてリターンする(ステップ#127
5.1280>。ステップ#1215において、ローコ
ンスキャンを示すフラグ(LC3F)がセットされてい
ないときには、ステップ#1220に進み、回転数の絶
対値INIが合焦の近傍を示す所定値I(NZ以内であ
るかを判定し、所定値I(NZを越える場合には、ステ
ップ#1260てハイスピード(高速度)でモータを制
御する信号をモータ制御回路(M OC)に出力し、ス
テップ#1265に進む。一方、所定値内であれば、ス
テップ#1225でロースピード(低速度)でモータを
制御する信号をモータ制御回路(M OC)に出力し、
変数N h< oになったか否かを判定する(ステップ
#1230>。変数Nが0になっていない場合にはステ
ップ#1265に進み、補助光発光の焦点検出であった
かを補助光フラグ(補助光F)によって判定し、補助光
フラグがセットされている場合には、補助光が発光され
たとして割込みを待ち、セットされていない場合は、割
込みのあったステップにリターンする。
If it is not the end, it returns, and if it is the end, it outputs a signal to stop the motor, and a flag (M
DF) and return (Step #127
5.1280>. In step #1215, if the flag (LC3F) indicating low contrast scan is not set, the process proceeds to step #1220 and checks whether the absolute value INI of the rotation speed is within a predetermined value I (NZ) indicating the vicinity of focus. If the predetermined value I (NZ) is exceeded, a signal for controlling the motor at high speed is output to the motor control circuit (MOC) in step #1260, and the process proceeds to step #1265.On the other hand, If it is within the predetermined value, a signal for controlling the motor at low speed is output to the motor control circuit (MOC) in step #1225,
Determine whether the variable N h < o (step #1230>. If the variable N is not 0, proceed to step #1265, and check whether the focus detection was for the auxiliary light emission or not using the auxiliary light flag (auxiliary light flag). If the auxiliary light flag is set, it is assumed that the auxiliary light has been emitted and an interrupt is awaited; if the auxiliary light flag is not set, the process returns to the step where the interrupt occurred.

ステップ#1230において、変数Nが0になると、モ
ータを停止する制御信号をモータ制御回路(M OC)
に出力し、フラグ(MDF)をリセットする(ステップ
#1235.1240)。次に、補助光発光の焦点検出
であったがを、補助光フラグ(補助光F)によって判定
しくステップ#1245)、セットされている場合には
、補助光発光時の焦点検出として、ステップ#1250
に進み、低輝度を示すフラグ(L L F )がセット
されているか否かを判定し、セットされていない場合に
は、補助光フラグ(補助光F)をリセットしくステップ
#1255)、フラグ(LLF)がセットされていると
きにはステップ#1255をスキップして、両方とも焦
点検出を行うべく”AF“′のフローに進む。一方、ス
テップ#1245で補助光フラグ(補助光F)がセット
されていないときは、割込のあったステップにリターン
する。
In step #1230, when the variable N becomes 0, a control signal to stop the motor is sent to the motor control circuit (MOC).
and reset the flag (MDF) (steps #1235 and 1240). Next, the focus detection for the auxiliary light emission is determined by the auxiliary light flag (auxiliary light F) (step #1245), and if it is set, the focus detection for the auxiliary light emission is determined in step #1245). 1250
Step #1255), it is determined whether or not the flag indicating low brightness (LLF) is set, and if it is not set, the auxiliary light flag (auxiliary light F) is reset. When LLF) is set, step #1255 is skipped and the flow proceeds to "AF" to perform focus detection in both cases. On the other hand, if the auxiliary light flag (auxiliary light F) is not set in step #1245, the process returns to the step where the interruption occurred.

以下に変形例を示す。上記実施例においては、縦位置の
場合、縦a位置ならば領域(B)、縦す位置ならば領域
(C)の相関演算を夫々行わなかったが、別法として縦
位置であっても両相間演算を行い、111a位置におい
て、領域(B)のデフォーカス量が最大てあり、かつ領
域(B)のデフォーカス量と領域(A)又は(C)のう
ち、後ピン側に大きいデフォーカス量との差の絶対値が
所定値以下のときは、この領域(B)のデフォーカス量
△ε8と、領域(A)又は(C)のうぢの後ピン側の大
きい方のデフォーカス量MへX (ΔεA、△ε。)と
の両方を用U)で、デフォーカス量△εを、 Δ ε −K ・ Δ εB+ (1−K)  ・ M
AX(Δ εA、Δ ε。)(0<K<1> としても良い。縦1)位置においても同様に、領域(C
)のデフォーカス量が最大であり、かつ領域(C)のデ
フォーカス量と領域(A>又は(B)のうち、後ピン側
に大きいデフォーカス量との差の絶対値が所定値以下の
ときは、 Δ ε −K ・ 八 εC+(1−K)・ MAX(
Δ εへ、△ εB)としても良い。
A modified example is shown below. In the above embodiment, in the case of the vertical position, the correlation calculation was not performed for the area (B) if the vertical position is a, and the correlation calculation of the area (C) if the vertical position is not performed, but as an alternative, even if the vertical position is Phase-to-phase calculation is performed, and at position 111a, the defocus amount of area (B) is the maximum, and between the defocus amount of area (B) and area (A) or (C), the defocus amount is larger on the rear focus side. When the absolute value of the difference with the amount is less than a predetermined value, the defocus amount △ε8 of this area (B) and the larger defocus amount on the rear focus side of the area (A) or (C) Using both (ΔεA, Δε.), the defocus amount Δε is expressed as Δ ε −K ・ Δ εB+ (1−K) ・ M
Similarly, at the AX (Δ εA, Δ ε.) (0<K<1>. Vertical 1) position, the area (C
) has the maximum defocus amount, and the absolute value of the difference between the defocus amount of area (C) and the defocus amount that is larger on the rear focus side of area (A> or (B)) is less than or equal to a predetermined value. When, Δ ε −K ・8 εC+(1−K)・MAX(
Δ ε to Δ εB).

これは両場合についても、被写体が存在する可能性があ
るからであり、この場合に単一領域のみを採用して、デ
フォーカス量を用いることは危険であるので、上記の領
域(B)、(C)の一方と、それ以外のデフォーカス量
の大きい方との2つを用いてデフォーカス量としている
。これを実施するには第15図のステップ#530.第
17図のステップ#740を削除し、第21図の゛領域
判定”のルーチンを第25図のようにすれば良い。ここ
では、上記式におけるKを(1/2)としている。
This is because there is a possibility that a subject exists in both cases, and in this case it is dangerous to adopt only a single area and use the defocus amount, so the above area (B), One of (C) and the other larger defocus amount are used as the defocus amount. To do this, follow step #530 of FIG. Step #740 in FIG. 17 may be deleted and the routine for "region determination" in FIG. 21 may be changed to the one shown in FIG. 25. Here, K in the above equation is set to (1/2).

第25図のフローにおいて、領域(A)が最大のデフォ
ーカス量であるとき、つまりDAR(≠−K E )≧
DBR≧DCRであるとき、ステップ#3300、ステ
ップ#3305.ステップ#3310と進み、領域(A
)のデフォーカス量が用いられる。DBR≦DAR<D
CRであるとき、ステップ#3300.#3305.#
3315と進む。ステップ#3315において、Hb位
置てないと判定されたときには、領域(C)のデフォー
カス量が用いられる(ステップ#3325)、[l)位
置である場合に、領域(A)のデフォーカス量がDAR
−−K Eであるとき、即ち、焦点検出不能のときには
、やはり領域(C)のデフォーカス量を用いる。
In the flow of FIG. 25, when area (A) has the maximum amount of defocus, that is, DAR(≠−K E )≧
When DBR≧DCR, step #3300, step #3305. Proceed to step #3310, area (A
) is used. DBR≦DAR<D
If CR, step #3300. #3305. #
Proceed to 3315. In step #3315, if it is determined that the Hb position is not located, the defocus amount of area (C) is used (step #3325); if it is at the [l) position, the defocus amount of area (A) is used. D.A.R.
--KE When it is E, that is, when the focus cannot be detected, the defocus amount of area (C) is still used.

D A R=−K Eでないときには、領域(C)と領
域(A)との差の絶対値が所定値K D F以下かを判
定し、所定値K D F以下のときには、デフォーカス
量DFとしては、DF−(1/2)(DAR+DCR)
を用いる(ステップ#3320〜#3323)。
When D A R = -K E, it is determined whether the absolute value of the difference between area (C) and area (A) is less than a predetermined value K D F, and when it is less than a predetermined value K D F, the defocus amount DF is determined. As, DF-(1/2)(DAR+DCR)
(Steps #3320 to #3323).

所定値K D Fを越えるときには、デフォーカス量と
して、領域(A)のデフォーカス量を用いる。
When the predetermined value K DF is exceeded, the defocus amount of area (A) is used as the defocus amount.

D CR> D B R> D A Rのとき、ステッ
プ#3300 、# 3330 、# 3335と進み
、ステップ#3335て縦す位置でないと判定されたと
きには、領域(C)のデフォーカス量が用いられる。縦
す位置であるときには、領域(B)と領域(C)とのデ
フォーカス量の差の絶対値が所定値K D F以下かを
判定し、所定値以下のときにはデフォーカス量として、
DF= 1/2(DBR+DCR)を用いる(ステップ
#3340.#3342)。所定値KDFを越えるとき
には、デフォーカス量として領域(B)のデフォーカス
量を用いる。
When D CR > D B R > D A R, the process proceeds to steps #3300, #3330, and #3335, and when it is determined in step #3335 that it is not in the vertical position, the defocus amount of area (C) is used. . When it is in the vertical position, it is determined whether the absolute value of the difference in defocus amount between area (B) and area (C) is less than or equal to a predetermined value KDF, and when it is less than or equal to the predetermined value, the defocus amount is determined as
Use DF=1/2 (DBR+DCR) (steps #3340. #3342). When the predetermined value KDF is exceeded, the defocus amount of area (B) is used as the defocus amount.

DBRが最大のデフォーカス量のとき、ステップ#33
00.#3330.#3345と進み、ステップ#33
45で縦a位置でないと判定されたとき、領域(B)の
デフォーカス量が用いられる。
When DBR is at the maximum defocus amount, step #33
00. #3330. Proceed to #3345 and step #33
When it is determined in step 45 that the vertical position is not a position, the defocus amount of area (B) is used.

DBRが最大デフォーカス量で、ma位置のときにDB
R,≧D CR> D A Rであり、かつl DCR
−DBRlが所定値K D F以下であれば、デフォ一
カス量(DF)はDF=(1/2)(DBR+DCR)
が用いられる。D B R> D A R≧DCRであ
るときには、ステップ13355で、領域(A>のデフ
ォーカス量がD A R= −K Eであるかを判定さ
れ、D A R=−K Eであるときには、領域(A)
When DBR is at the maximum defocus amount and at the ma position, DB
R, ≧D CR> D A R, and l DCR
- If DBRl is less than the predetermined value K D F, the defocus amount (DF) is DF = (1/2) (DBR + DCR)
is used. When DBR>DAR≧DCR, it is determined in step 13355 whether the defocus amount of the area (A> is DAR=-KE, and when DAR=-KE, , area (A)
.

(C)共に焦点検出不能として、領域(B)のデフォー
カス量が用いられ、DAR≠−K Eであれば、領域(
A)と領域(B)とのデフォーカス量の差の絶対値が所
定値K D F以下であるかを判定し、所定値KDF以
下であれば、DF−(1/2)(DAR+DBR)が用
いられ、所定値K D Fを越えれば、DF=DBRが
用いられる(ステップ#3360゜#3362)。尚、
Kは(1/2)に限らない。
(C) Assuming that focus cannot be detected in both areas, the defocus amount of area (B) is used, and if DAR≠-KE, area (
It is determined whether the absolute value of the difference in defocus amount between A) and area (B) is less than or equal to a predetermined value KDF, and if it is less than or equal to the predetermined value KDF, DF-(1/2)(DAR+DBR) is determined. If the predetermined value K D F is exceeded, DF=DBR is used (steps #3360 and #3362). still,
K is not limited to (1/2).

さらに、光軸方向の補正であるが、実施例では、焦点検
出領域毎に行ったが、各領域毎に分割したブロック毎に
行えば、さらに焦点検出の精度が上がることは言うまで
もない。
Furthermore, although correction in the optical axis direction is performed for each focus detection area in the embodiment, it goes without saying that the accuracy of focus detection can be further improved if correction is performed for each block divided into each area.

温度の変化によるデフォーカス量の補正において、温度
変化に対する基準のデフォーカス量を求め、各領域ごと
に異なる係数をこの基準のデフす−カス量に掛けて補正
のデフォーカス量を求めるのではなく、補正のデフォー
カス量を記憶しているメモリーチーフルを用意して、求
めたデフォーカス量をこのメモリーテーブルを用いて補
正して真のデフォーカス量を求めても良い。
When correcting the amount of defocus due to temperature changes, instead of finding the standard defocus amount for temperature changes and multiplying this standard amount of defocus by a different coefficient for each area to find the corrected defocus amount. , a memory table storing the corrected defocus amount may be prepared, and the obtained defocus amount may be corrected using this memory table to obtain the true defocus amount.

(発明の効果) 本発明は上述のように、撮像素子列上の像間隔から得ら
れたデフォーカス量を、各撮像素子列に対応する再結像
レンズ対のレンズ間隔に応じて温度補償しているので、
再結像レンズ対のレンズ間隔の相違によるレンズ間隔の
熱膨張量の差異があっても、正確な焦点検出を行うこと
ができるという効果がある。
(Effects of the Invention) As described above, the present invention temperature-compensates the defocus amount obtained from the image spacing on the image sensor array according to the lens spacing of the re-imaging lens pair corresponding to each image sensor array. Because
Even if there is a difference in the amount of thermal expansion between the lenses of the pair of re-imaging lenses due to a difference in the distance between the lenses, there is an effect that accurate focus detection can be performed.

なお、実施例の説明において述べたように、各再結像レ
ンズ対の温度が略同−であると仮定して、1箇所のみに
ついて温度検出を行うようにすれば、構成が簡単になる
ものである。
As mentioned in the explanation of the embodiment, the configuration can be simplified by assuming that the temperatures of each pair of re-imaging lenses are approximately the same and detecting the temperature at only one location. It is.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の詳細な説明するためのブロック図、第
2図は本発明の一実施例に係る自動焦点検出装置の概略
構成を示す斜視図、第3図(a)(1))及び第4図(
a)乃至(c)は同上の動作説明図、第5図は同上のフ
ァインダー内表示を示す正面図、第6図(a)(1))
は同上に用いるCCDチップの詳細を示す説明図、第7
図は同上のCCDチップにおける基準部の分割領域を示
す説明図、第8図は同上の分割領域についてのシフト量
を示す説明図、第9図は同上に用いる位置検出装置の概
略構成図、第10図は同上に用いる制御回路の回路図、
第11図乃至第25図は同上の動作説明のためのフロー
チャートである。 (1)は第1の算出手段、(2)は温度検出手段、(3
)は温度補償手段、(4)は第2の算出手段、aは撮像
レンズ、d、 、d2.d3は再結像レンズ対、el 
、e2、e3は撮像素子列である。
FIG. 1 is a block diagram for explaining the present invention in detail, FIG. 2 is a perspective view showing a schematic configuration of an automatic focus detection device according to an embodiment of the present invention, and FIG. 3 (a) (1)) and Figure 4 (
a) to (c) are explanatory diagrams of the same operation as above, Fig. 5 is a front view showing the display in the finder as above, Fig. 6 (a) (1))
7 is an explanatory diagram showing details of the CCD chip used in the above.
The figure is an explanatory diagram showing the divided areas of the reference part in the CCD chip same as the above, FIG. 8 is an explanatory diagram showing the shift amount for the divided areas same as the above, FIG. Figure 10 is a circuit diagram of the control circuit used in the above.
FIGS. 11 to 25 are flowcharts for explaining the operation of the same. (1) is the first calculation means, (2) is the temperature detection means, (3
) is a temperature compensation means, (4) is a second calculation means, a is an imaging lens, d, , d2. d3 is a reimaging lens pair, el
, e2, and e3 are image sensor arrays.

Claims (4)

【特許請求の範囲】[Claims] (1)撮影レンズによって形成される像を一対の再結像
レンズによって一列に並んだ撮像素子列上に第1及び第
2の像として再形成し、第1及び第2の像の像間隔を前
記撮像素子列の出力から検出して撮影レンズの焦点調節
状態を検出する焦点検出ユニットを複数個備え、少なく
とも一対の再結像レンズのレンズ間隔が他の再結像レン
ズ対のレンズ間隔とは異なる焦点検出装置であって、各
撮像素子列の出力から検出した該撮像素子列上の第1及
び第2の像の像間隔に応じてデフォーカス量を算出する
第1の算出手段と、再結像レンズ対近傍の温度を検出す
る温度検出手段と、温度検出手段によって検出された温
度と各再結像レンズ対のレンズ間隔とに応じて各焦点検
出領域毎のデフォーカス量の温度補償量を求める温度補
償手段と、第1の算出手段にて得られたデフォーカス量
と温度補償手段にて得られた温度補償量とから温度補償
されたデフォーカス量を求める第2の算出手段とを設け
て成ることを特徴とする自動焦点検出装置。
(1) The image formed by the photographing lens is re-formed as first and second images on the array of image sensors arranged in a row by a pair of re-imaging lenses, and the image interval between the first and second images is adjusted. A plurality of focus detection units are provided for detecting the focus adjustment state of the photographing lens by detecting from the output of the image sensor array, and the lens interval of at least one pair of re-imaging lenses is different from the lens interval of the other pair of re-imaging lenses. A first calculating means for calculating a defocus amount according to an image interval between a first image and a second image on the image sensor array detected from the output of each image sensor array; Temperature detection means for detecting the temperature near the imaging lens pair, and a temperature compensation amount for the defocus amount for each focus detection area according to the temperature detected by the temperature detection means and the lens interval of each re-imaging lens pair. temperature compensation means for calculating the temperature compensation amount, and a second calculation means for calculating the temperature compensated defocus amount from the defocus amount obtained by the first calculation means and the temperature compensation amount obtained by the temperature compensation means. An automatic focus detection device comprising:
(2)温度検出手段は、1箇所のみについて温度検出を
行う検出手段であることを特徴とする特許請求の範囲第
1項記載の自動焦点検出装置。
(2) The automatic focus detection device according to claim 1, wherein the temperature detection means is a detection means that detects temperature at only one location.
(3)温度補償手段は、温度によって変化する各再結像
レンズ対のレンズ間隔に応じた温度補償量を記憶してい
る記憶手段と、温度検出手段によって検出された温度と
各焦点検出ユニットの検出する領域とに応じて記憶手段
から温度補償量を選択する選択手段とを有することを特
徴とする特許請求の範囲第1項記載の自動焦点検出装置
(3) The temperature compensation means includes a storage means that stores a temperature compensation amount corresponding to the lens spacing of each re-imaging lens pair that changes depending on the temperature, and a temperature detection means that stores the temperature detected by the temperature detection means and 2. The automatic focus detection apparatus according to claim 1, further comprising a selection means for selecting an amount of temperature compensation from a storage means in accordance with the area to be detected.
(4)温度補償手段は、温度によって変化する基本デフ
ォーカス量と各再結像レンズ対のレンズ間隔に応じた補
償係数とを記憶している記憶手段と、温度検出手段によ
って検出された温度と各焦点検出ユニットの検出する領
域とに応じて、記憶手段に記憶されている基本のデフォ
ーカス量と補償係数とから温度補償量を算出する算出手
段とを有することを特徴とする特許請求の範囲第1項記
載の自動焦点検出装置。
(4) The temperature compensation means includes a storage means that stores a basic defocus amount that changes depending on temperature and a compensation coefficient corresponding to the lens interval of each re-imaging lens pair, and a temperature detected by the temperature detection means. Claims characterized by comprising: calculation means for calculating the temperature compensation amount from the basic defocus amount and compensation coefficient stored in the storage means according to the area detected by each focus detection unit. The automatic focus detection device according to item 1.
JP462387A 1987-01-12 1987-01-12 Automatic focus detection device Expired - Lifetime JPH0833511B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP462387A JPH0833511B2 (en) 1987-01-12 1987-01-12 Automatic focus detection device
US07/141,845 US4904854A (en) 1987-01-12 1988-01-11 Automatic focus detecting device having deviation compensation
US07/457,898 US5049731A (en) 1987-01-12 1989-12-27 Automatic focus control device having a plurality of focus detection areas
US07/691,486 US5086217A (en) 1987-01-12 1991-04-25 Automatic focus control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP462387A JPH0833511B2 (en) 1987-01-12 1987-01-12 Automatic focus detection device

Publications (2)

Publication Number Publication Date
JPS63172216A true JPS63172216A (en) 1988-07-15
JPH0833511B2 JPH0833511B2 (en) 1996-03-29

Family

ID=11589177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP462387A Expired - Lifetime JPH0833511B2 (en) 1987-01-12 1987-01-12 Automatic focus detection device

Country Status (1)

Country Link
JP (1) JPH0833511B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3923205A1 (en) * 1988-07-15 1990-02-01 Yazaki Corp Small junction box for motor vehicle wiring installation - has pattern of conducting strips fitting into corresp. grooves in insulating substrate and sealed watertight by covers
US4907867A (en) * 1987-06-04 1990-03-13 U.S. Philips Corp. Varifocal optical system and associated electro-mechanical control
WO1997043596A1 (en) * 1996-05-15 1997-11-20 Keymed (Medical & Industrial Equipment) Ltd. Digital measuring scope with thermal compensation

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5013291B2 (en) * 2007-11-20 2012-08-29 オリンパスイメージング株式会社 Focus detection device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4907867A (en) * 1987-06-04 1990-03-13 U.S. Philips Corp. Varifocal optical system and associated electro-mechanical control
DE3923205A1 (en) * 1988-07-15 1990-02-01 Yazaki Corp Small junction box for motor vehicle wiring installation - has pattern of conducting strips fitting into corresp. grooves in insulating substrate and sealed watertight by covers
WO1997043596A1 (en) * 1996-05-15 1997-11-20 Keymed (Medical & Industrial Equipment) Ltd. Digital measuring scope with thermal compensation
US6100972A (en) * 1996-05-15 2000-08-08 Keymed (Medical & Industrial Equipment) Ltd. Digital measuring scope with thermal compensation

Also Published As

Publication number Publication date
JPH0833511B2 (en) 1996-03-29

Similar Documents

Publication Publication Date Title
JP4963569B2 (en) Imaging system and lens unit
US5049731A (en) Automatic focus control device having a plurality of focus detection areas
US5856664A (en) Automatic focusing apparatus for detecting and correcting focus state of image optical system
JP6489817B2 (en) Imaging apparatus and control method thereof
EP0926528A2 (en) Optical apparatus with focus adjusting function and focus adjustment control circuit
US11375101B2 (en) Image capturing apparatus, control method thereof, and storage medium
JP2007264299A (en) Focus adjustment device
US9906709B2 (en) Image pickup apparatus having image pickup element including a plurality of pixels, each pixel including a plurality of photodiodes corresponding to microlens, lens unit to be removably mounted on image pick up apparatus, and methods of controlling image pickup apparatus and lens unit
JP2000028902A (en) Camera with range-finding device
JPS63172209A (en) Automatic focus detector
JPS63172216A (en) Automatic focus detector
JP2006154465A (en) Focus detecting device and control method therefor
JP5211680B2 (en) Autofocus device, autofocus method selection method, and program
JP4649836B2 (en) Camera system
JPS63172215A (en) Automatic focus detector
JP2001305422A (en) Range finder
US5086217A (en) Automatic focus control device
JPH06130288A (en) Focus detecting device
JP7435085B2 (en) Automatic focus detection device, automatic focus detection method, and automatic focus detection program
JP2016218428A (en) Imaging apparatus and control method thereof
JP2511919B2 (en) Automatic focus detection device
JP2511920B2 (en) Camera with automatic focus detection
JP2002107145A (en) Range finder and adjuster therefor
JPS63172247A (en) Automatic focus detector
JP2776436B2 (en) Automatic focus detection device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term