JPH0496028A - Camera - Google Patents

Camera

Info

Publication number
JPH0496028A
JPH0496028A JP21267590A JP21267590A JPH0496028A JP H0496028 A JPH0496028 A JP H0496028A JP 21267590 A JP21267590 A JP 21267590A JP 21267590 A JP21267590 A JP 21267590A JP H0496028 A JPH0496028 A JP H0496028A
Authority
JP
Japan
Prior art keywords
lens
focus
subroutine
zoom
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP21267590A
Other languages
Japanese (ja)
Inventor
Kenji Ishibashi
賢司 石橋
Yoshihiro Hara
吉宏 原
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 JP21267590A priority Critical patent/JPH0496028A/en
Priority to US07/743,241 priority patent/US5319411A/en
Publication of JPH0496028A publication Critical patent/JPH0496028A/en
Priority to US08/233,943 priority patent/US5386262A/en
Priority to US08/324,962 priority patent/US5576791A/en
Priority to US08/705,690 priority patent/US5687404A/en
Priority to US08/705,907 priority patent/US5832313A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To detect a focus even when an object is out of a range finding area, etc., by detecting the focus by executing zooming to a wide side in the case that the focus cannot be detected caused by low contrast scanning. CONSTITUTION:When a focus detection start switch is turned on, the focus is detected by a range-finding part 2. In the case that the focus cannot be detected as the result, the focus is repeatedly detected while a lens group for focusing (AF lens) LF is driven. Then, in the case that the focus cannot be detected further as the result and the focus detection start switch is continuously turned on, the focus is repeatedly detected while a zoom lens group LA is driven toward the wide side. Thus, a viewing angle is changed at the time of photographing. However, the focus is detected within a fixed range even in the case that the object is out of the range finding area or the contrast of the object itself is insufficient.

Description

【発明の詳細な説明】 の 本発明は、ズーミング機能を有し自動的に焦点合わせを
行なうカメラに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a camera having a zooming function and automatically focusing.

従j(辺」【術− 従来、撮影レンズを通過した光束をCCD等の光センサ
で受けて焦点状態を検出し、その検出の結果得られたデ
フォーカス量に基づいて自動的に焦点合わせ(TTL方
式によって自動的に焦点合わせ)を行なうカメラが商品
化されている。このようなカメラでは、通常、焦点状態
を検出するには−足載上のコントラストが必要であり、
焦点状態を検出するのに必要なコントラストが得られな
い場合には焦点検出不能となる。
Traditionally, the light flux that has passed through the photographic lens is received by a light sensor such as a CCD, the focus state is detected, and the focus is automatically adjusted based on the amount of defocus obtained as a result of the detection. Cameras that automatically perform focusing using the TTL method have been commercialized.In such cameras, contrast on the footrest is usually required to detect the focus state.
If the contrast necessary to detect the focus state cannot be obtained, focus cannot be detected.

これに対し、コントラスト不足で焦点検出不能となった
場合に、焦点ll1115用レンズ群を駆動しながら焦
点検出(測距)を繰り返す(ローコンスキャンを行なう
)ように構成されたカメラが考えられている。この構成
は、焦点m節用レンズ群の位置が被写体に合焦するレン
ズ位置がら大きく離れているためにコントラスト不足と
なっている場合に効果があるが、被写体が測距エリアか
ら外れていたり被写体自体のコントラストが不足してい
る場合等には対応できない。
In contrast, a camera is being considered that is configured to repeat focus detection (distance measurement) (perform low-contrast scan) while driving the focus II1115 lens group when focus detection becomes impossible due to lack of contrast. There is. This configuration is effective when there is insufficient contrast because the position of the focal point m-node lens group is far away from the lens position that focuses on the subject. This method cannot be used in cases where the contrast is insufficient.

他方、特開昭63−17420号では、焦点検出不能を
示す信号に応答してワイド側へズーミングを行ないつつ
焦点検出を継続させるように構成されたカメラについて
開示されている。この構成によれば、被写体が測距エリ
アがら外れていたり被写体自体のコントラストが不足し
ている場合にも対応できるが、ズーミングによって画角
が大きく変化して撮影者に違和感を与える等の問題が生
じることがある。
On the other hand, Japanese Patent Laid-Open No. 63-17420 discloses a camera configured to continue focus detection while zooming to the wide side in response to a signal indicating that focus detection is impossible. This configuration can handle cases where the subject is outside the distance measurement area or the subject itself lacks contrast, but there are problems such as the angle of view changes greatly due to zooming, giving the photographer a sense of discomfort. This may occur.

が       と そこで、本発明はこのような問題を解決し、焦点検出の
ためのズーミングによる画角の変化をできるだけ抑えつ
つ、合焦状態から大きく外れている場合や被写体自体の
コントラストが不足している場合にも焦点検出が可能と
なるカメラを提供することを目的とする。
However, the present invention solves these problems and suppresses changes in the angle of view due to zooming for focus detection as much as possible, while still allowing the camera to capture images that are far out of focus or where the contrast of the subject itself is insufficient. It is an object of the present invention to provide a camera that can perform focus detection even when

ための 上記目的を達成するため、本発明のカメラでは、ズーミ
ング機能を有し、焦点検出開始スイッチと焦点検出手段
と焦点11IxrJ用レンズ群駆動手段とを用いてTT
L方式により自動的に焦点合わせを行なうカメラにおい
て、 ズームレンズ群駆動手段と、 前記焦点検出開始スイッチがオンされると、前記焦点検
出手段によって焦点検出を行ない、その結果焦点検出が
できない場合に焦点検出不能信号を出力する焦点検出不
能信号出力手段と、前記焦点検出不能信号が出力された
場合に、前記焦点調節用レンズ群駆動手段によって焦点
調節用レンズ群を駆動しながら、前記焦点検出手段によ
って焦点検出を繰り返し、その結果なお焦点検出ができ
ない場合にローコンスキャン完了信号を出力するローコ
ンスキャン完了信号出力手段と、前記ローコンスキャン
完了信号が出力された後も引き続いて前記焦点検出開始
スイッチがオンされている場合に、前記ズームレンズ群
駆動手段によってワイド側に向かってズーミングしなが
ら、前記焦点検出手段によって焦点検出を繰り返すよう
に制御する制御手段と、 を備えた構成としている。
In order to achieve the above object, the camera of the present invention has a zooming function, and uses a focus detection start switch, a focus detection means, and a focus 11IxrJ lens group driving means.
In a camera that automatically performs focusing using the L method, when the zoom lens group driving means and the focus detection start switch are turned on, the focus detection means performs focus detection, and if the focus cannot be detected as a result, the focus is changed. a focus detection impossible signal output means for outputting a focus detection impossible signal; and when the focus detection impossible signal is output, the focus detection means drives the focus adjustment lens group by the focus adjustment lens group driving means a low contrast scan completion signal output means that outputs a low contrast scan completion signal when focus detection is still not possible after repeating focus detection; and a focus detection start switch that continues to output a low contrast scan completion signal even after the low contrast scan completion signal is output. and a control means for controlling the focus detection means to repeat focus detection while the zoom lens group drive means zooms toward the wide side when the focus detection means is turned on.

立ニー月− このような構成によれば、焦点検出開始スイッチがオン
されると焦点検出が行なわれ、その結果焦点検出が不能
の場合に、焦点調節用レンズ群を駆動しながら焦点検出
が繰り返される。そして、その結果なお焦点検出不能で
あり、かつ、引き続いて焦点検出開始スイッチがオンさ
れている場合に、ズームレンズ群をワイド側に向かって
駆動しながら焦点検出が繰り返される。
With this configuration, focus detection is performed when the focus detection start switch is turned on, and if focus detection is not possible as a result, focus detection is repeated while driving the focus adjustment lens group. It will be done. As a result, if focus detection is still not possible and the focus detection start switch is subsequently turned on, focus detection is repeated while driving the zoom lens group toward the wide-angle side.

(以下余白) 里1目涛 以下、本発明の一実施例として、モータにより焦点距離
変化させることが可能な交換レンズを備えた一眼レフカ
メラシステムにつし)で説明する。
(The following is a blank space.) As an embodiment of the present invention, a single-lens reflex camera system equipped with an interchangeable lens whose focal length can be changed by a motor will be described below.

第1図に本システムのブロック図を示す。この図に示す
ように、カメラボディ側は、測距部(2)力)らのデー
タをボディ制御部(1)に入力して焦点合わせをするた
めのレンズ駆動量を算出し、焦点調節用レンズ群駆動制
御部(3)にてモータ(Ml)に通電することにより、
焦点調節用レンズ群(以下rAFレンズ」という) (
LF)を駆動して自動的に焦点合わせを行なう機能と、
ボディデータ出力部(4)及びレンズデータ入力部(5
)により、レンズ側と交信してレンズをボディの意志で
動作させる機能とを有している。
Figure 1 shows a block diagram of this system. As shown in this figure, the camera body inputs data from the distance measuring unit (2) to the body control unit (1) to calculate the lens drive amount for focusing, and By energizing the motor (Ml) in the lens group drive control section (3),
Focus adjustment lens group (hereinafter referred to as rAF lens) (
A function that automatically focuses by driving the LF),
Body data output section (4) and lens data input section (5)
), it has the function of communicating with the lens side and operating the lens according to the body's will.

また、レンズ側は、ズームリング操作検知手段(10)
において操作が検知されたとき【マ、ズームレンズ群駆
動制御部(7)にてモータ(M3)に通電することによ
り、ズームレンズ群(Lo)を駆動してズーミングを行
なう機能(以下「パワーズーム」とItう)と、ボディ
データ入力部(8)及びレンズデータ出力部(9)にて
ボディと交信することにより、レンズのデータをボディ
に出力する機能と、ボディからのデータに従って動作す
る機能とを有している。
Also, on the lens side, there is a zoom ring operation detection means (10).
When an operation is detected at ''), a function to output lens data to the body by communicating with the body through the body data input section (8) and lens data output section (9), and a function to operate according to the data from the body. It has

次に、ボディとレンズの外部構成について説明する。Next, the external configuration of the body and lens will be explained.

第2図(a)は本発明を適用したカメラボディ(BD)
の外部構成を示しており、同図(b)は上記カメラボデ
ィ(BD)に交換自在に装着される交換レンズ(LE)
の外部構成を示している。以下、各部の名称と機能につ
いて第2図に基づいて簡単に説明する。
Figure 2(a) shows a camera body (BD) to which the present invention is applied.
The figure (b) shows the external configuration of the interchangeable lens (LE) that is replaceably attached to the camera body (BD).
shows the external configuration of. Hereinafter, the names and functions of each part will be briefly explained based on FIG. 2.

(11)はメインスイッチ(S、)を0N10FFさせ
るためのスライダであり、このスライダ(11)がON
の位置にあるときにカメラボディ(BD)は動作可能状
態となり、OFFの位置にあるときにはカメラボディ(
BD)は動作不能状態となる。
(11) is a slider for turning the main switch (S,) 0N10FF, and this slider (11) is
The camera body (BD) is ready for operation when it is in the OFF position, and the camera body (BD) is ready for operation when it is in the OFF position.
BD) becomes inoperable.

(12)はレリーズボタンであり、1段目の押し込みで
後述の撮影準備スイッチ(Sl)がONされて、測光・
露出演算・AF(自動焦点合わせ)の各動作を開始する
。また、2段目の押し込みで後述のレリーズスイッチ(
S2)がONされて、露出制御動作を開始する。
(12) is the release button, and when it is pressed to the first step, the shooting preparation switch (Sl), which will be described later, is turned on, and the metering and
Start each operation of exposure calculation and AF (automatic focusing). In addition, by pressing the second step, you can also use the release switch (described later).
S2) is turned on to start the exposure control operation.

(13)はワイドビューキーであり、撮影前(レリーズ
前)に実際の撮影領域よりも広いファインダの視野を得
るためのキーである。すなわち、このキーは、後述の撮
影フレーム(FD2)内(第5図)に見えていた撮影領
域がフィルムに結像する範囲に一致するようにレリーズ
時にズームアツプする機能(以下、この機能を「ワイド
ビュー」という)を0N10FFするために使用される
(13) is a wide view key, which is used to obtain a finder field of view wider than the actual shooting area before shooting (before release). In other words, this key is used to zoom up the camera at the time of release so that the shooting area visible within the shooting frame (FD2) (Fig. 5), which will be described later, coincides with the range that is imaged on the film. 0N10FF).

(14)はボディ表示部であトハ シャッター速度や絞
り値、スイッチ類の情報、電池の警告マーク等を表示す
る。また、第5図に示すファインダ内表示部では、シャ
ッター速度(FD4)、  撮影フレーム(FD2)等
の表示を行なう。
(14) is the body display that displays information such as shutter speed, aperture value, switch information, and a battery warning mark. Further, the display section in the viewfinder shown in FIG. 5 displays the shutter speed (FD4), photographic frame (FD2), etc.

(15)はマウントロックビンである。交換レンズ(L
E)が装着され、マウントロック状態にあれば、後述の
レンズ装着スイッチ(SLE)がOFFとなシバそれ以
外のときにはレンズ装着スイッチ(SLE)はONにな
っている。
(15) is a mount lock bin. Interchangeable lens (L
E) is attached and the mount is locked, the lens attachment switch (SLE), which will be described later, is turned off. Otherwise, the lens attachment switch (SLE) is turned on.

(16)はAFカブラであり、カメラボディ(BD)内
のAFモータの回転に基づいて回転駆動される。
(16) is an AF coverr, which is rotationally driven based on the rotation of the AF motor within the camera body (BD).

(17)は絞り込みレバーであり、カメラボディ(BD
)で求められた絞り込み段数分だけ交換レン2”(LE
)の絞りを絞り込むためのレバーである。
(17) is the aperture lever and the camera body (BD
2” (LE
) is a lever for narrowing down the aperture.

(18)はオートワイドキーであり、オートワイドの機
能を○N10FFするために使用される。ここで、オー
トワイドとは、通常の自動焦点合わせの動作において焦
点検出ができない場合、又は、ローコンスキャンが完了
しても焦点検出可能とならない場合に、自動的にワイド
方向にズーミングしながら測距を繰り返すことをいう。
(18) is an auto wide key, which is used to turn the auto wide function ○N10FF. Here, auto wide is used to automatically zoom in the wide direction when focus cannot be detected during normal auto focusing, or when focus cannot be detected even after low contrast scanning is completed. It means repeating the distance.

そして、ローコンスキャンとは、測距において焦点状態
を検出するのに必要なコントラストが得られないときく
以下、この状態を「ローコン」という)、AFレンズを
駆動しながら測距を繰り返すことをいう。
Low contrast scanning refers to repeating distance measurement while driving the AF lens when the contrast necessary to detect the focus state is not obtained during distance measurement (hereinafter referred to as "low contrast"). say.

なお、焦点検出とは以下の■〜■の動作を総称したもの
であり、本実施例では測距と同じ意味に用いるものとす
る。
Note that focus detection is a general term for the following operations (1) to (4), and in this embodiment, it is used to mean the same as distance measurement.

■ローコンか否かを検出する。■Detect whether it is low contrast or not.

■ローコンでなければ焦点状態を検出する。■Detects the focus state if the contrast is not low.

すなわち、焦点ずれ量(デフォーカス量)を検出し、合
焦状態が否かを判断する。
That is, the amount of focus shift (defocus amount) is detected, and it is determined whether or not the focus state is reached.

■合焦状態でなければ、前記デフォーカス量に基づいて
、合焦状態となるAFレンズの位置、又は、合焦状態に
するために必要なAFレンズの駆動パルス数を算出する
(2) If it is not in focus, the position of the AF lens that will be in focus or the number of drive pulses for the AF lens required to bring it into focus is calculated based on the defocus amount.

そして、本実施例で焦点検出不能となるのはローコン時
のみとし、低輝度のために焦点検出不能となる場合等は
、ローコンによる焦点検出不能の場合と区別して別途対
応することができるので、以下の説明では考慮しないも
のとする。
In this embodiment, the focus cannot be detected only during low contrast, and cases where focus cannot be detected due to low brightness can be treated separately from cases where focus cannot be detected due to low contrast. This will not be considered in the following explanation.

次に、交換レンズ(LE)における各部の名称と機能に
ついて説明する。
Next, the names and functions of each part in the interchangeable lens (LE) will be explained.

(25)はマウントロック溝、(26)はAFカプラ、
(27)は絞り込みレバーである。カメラボディ(BD
)に交換レンズ(LE)を装着すると、カメラボディ(
BD)のマウントロックビン(15)がマウントロック
溝(25)に係合し、ボディ側のAFカプラ(16)の
凸部がレンズ側のAFカプラ(26)の凹部に係合し、
ボディ側のAFモータの回転がAFカブラ(16)(2
6)を介してレンズ側に伝わり、AFレンズが移動して
焦点合わせが行なわれる。さらに、レンズ側の端子(J
、)〜(J8)がボディ側の端子(J++)〜(J+s
)と接続される。また、絞り込みレバー(17)がレン
ズ側の絞り込みレバー(27)と係合し、ボディ側の絞
り込みレバー(17)の移動分だけレンズ側の絞り込み
レバー(27)が追従して移動し、絞り開口が絞り込み
レバー(17) (27)の移動分に対応する値に制御
される。
(25) is the mount lock groove, (26) is the AF coupler,
(27) is the aperture lever. Camera body (BD
) When you attach an interchangeable lens (LE) to the camera body (
The mount lock bin (15) of the BD) engages with the mount lock groove (25), the convex part of the AF coupler (16) on the body side engages with the concave part of the AF coupler (26) on the lens side,
The rotation of the AF motor on the body side is AF cover (16) (2)
6) to the lens side, and the AF lens moves to perform focusing. Furthermore, the terminal on the lens side (J
, ) to (J8) are terminals on the body side (J++) to (J+s
) is connected. Further, the aperture lever (17) engages with the aperture lever (27) on the lens side, and the aperture lever (27) on the lens side follows and moves by the amount of movement of the aperture lever (17) on the body side. is controlled to a value corresponding to the movement of the aperture levers (17) (27).

(28)はレンズ表示部であり、焦点距離等を表示する
(28) is a lens display section that displays focal length and the like.

(80)は操作環(ズームリング)であり、パワーズー
ムの方向や速度を指定するために回転操作される。
Reference numeral (80) denotes an operating ring (zoom ring), which is rotated to specify the direction and speed of power zoom.

次に、カメラシステムの回路構成について説明する。Next, the circuit configuration of the camera system will be explained.

第3図はカメラボディ(BD)に内蔵されたボディ内回
路の回路図である。まず、この図に基づいてボディ内回
路について説明する。
FIG. 3 is a circuit diagram of the in-body circuit built into the camera body (BD). First, the in-body circuit will be explained based on this diagram.

(μC1)はカメラ全体の制御や種々の演算を行なうボ
ディ内マイクロコンピュータ(以下「ボディ内マイコン
」という)である。
(μC1) is an in-body microcomputer (hereinafter referred to as "in-body microcomputer") that controls the entire camera and performs various calculations.

(AFc T )は焦点検出用受光回路であシバ 光電
荷を所定時間蓄積する焦点検出用の積分形光センサとし
てのCODと、CODの駆動回路と、CCDの出力を処
理しA/D変換してボディ内マイコン(μC1)に供給
(以下、 「データダンプ」又は単に「ダンプ」という
)する回路とを備えておシバ データバスを介してボデ
ィ内マイコン(μC1)と接続されている。この焦点検
出用受光回路(AFCT)により、測距エリアに存在す
る被写体の焦点ずれ量(デフォーカス量)に関する情報
が得られる。
(AFc T ) is a light receiving circuit for focus detection, which includes a COD as an integral type photosensor for focus detection that accumulates photocharge for a predetermined period of time, a drive circuit for the COD, and a circuit that processes the output of the CCD and performs A/D conversion. It is connected to the in-body microcomputer (μC1) via a data bus. This focus detection light receiving circuit (AFCT) provides information regarding the amount of defocus (defocus amount) of the object present in the distance measurement area.

(LM)はファインダ光路中に設けられた測光回路であ
り、その測光値をA/D変換してボディ内マイコン(μ
C1)へ輝度情報として与える。
(LM) is a photometric circuit installed in the viewfinder optical path, and the photometric value is A/D converted and the in-body microcontroller (μ
C1) as luminance information.

(DX)はフィルム容器に設けれたフィルム感度のデー
タを読み取ってボディ内マイコン(μC1)にシリアル
出力するフィルム感度読取装置である。(DISPC)
はボディ内マイコン(μC1)から表示データ及び表示
制御信号を入力して、カメラ本体上面の表示部(DIS
Pl) (第2図の表示部(14))及びファインダ内
の表示部(DISPz) (第5図)に所定の表示を行
なわせる表示回路である。
(DX) is a film sensitivity reading device that reads film sensitivity data provided in a film container and serially outputs it to the microcomputer (μC1) in the body. (DISPC)
inputs display data and display control signals from the microcomputer (μC1) in the body, and displays the display section (DIS) on the top of the camera body.
This is a display circuit that causes the display section (14) in FIG. 2) and the display section (DISPz) in the finder (FIG. 5) to perform predetermined displays.

ここで、第5図のファインダ内の表示について説明する
。この図において、(FDI)はファインダ枠であり、
実際に被写体を確認することができるエリアを示す。(
FD2)はワイドビューキー(13)の操作によってワ
イドビュー機能が○Nされたときに表示される撮影フレ
ームであり、撮影フレーム内の被写体の撮影が可能とな
る。(FD3)は測距エリアの表示であり、この枠の中
の被写体に対して焦点を合わせることが可能であること
を示す。ただし、実際には、測距エリア(FD3)内に
第9図に示すような測距アイランド(イ)〜(ニ)が設
けられており、これらの測距アイランド内に存在する被
写体に焦点を合わせることになる。(FD4)と(FD
5)はそれぞれシャッター速度と制御絞り値であトハ 
測光演算で得られた値を示す。
Here, the display in the finder of FIG. 5 will be explained. In this figure, (FDI) is the finder frame,
Indicates the area where you can actually see the subject. (
FD2) is a photographing frame that is displayed when the wide view function is turned on by operating the wide view key (13), and it becomes possible to photograph a subject within the photographing frame. (FD3) is a display of the distance measurement area, indicating that it is possible to focus on the subject within this frame. However, in reality, distance measurement islands (A) to (D) as shown in Figure 9 are provided within the distance measurement area (FD3), and the focus is placed on the subject existing within these distance measurement islands. It will be matched. (FD4) and (FD
5) are the shutter speed and control aperture value, respectively.
Indicates the value obtained by photometric calculation.

(LECT)は交換レンズ(LE) (以下、単に「レ
ンズ」ともいう)に内蔵されたレンズ内回路であり、交
換レンズ固有の情報をボディ内マイコン(μC1)に供
給する。このレンズ内回路(LECT )については、
後で詳細に説明する。
(LECT) is an in-lens circuit built into the interchangeable lens (LE) (hereinafter also simply referred to as "lens"), and supplies information specific to the interchangeable lens to the in-body microcomputer (μC1). Regarding this lens internal circuit (LECT),
This will be explained in detail later.

(Ml)はAFモータであり、AFカブラ(16) (
26)を介して交換レンズ(LE)内のAFレンズを駆
動する。
(Ml) is the AF motor, AF coupler (16) (
26) to drive the AF lens in the interchangeable lens (LE).

(MDI)は焦点検出情報に基づいてAFモータ(Ml
)を駆動するモータ駆動回路であり、ボディ内マイコン
(μC1)からの指令によって正転・逆転・停止が制御
される。
(MDI) operates the AF motor (Ml) based on the focus detection information.
), and forward rotation, reverse rotation, and stop are controlled by commands from the microcomputer (μC1) in the body.

(ENC)はAFモータ(Ml)の回転をモニタするた
めのエンコーダであトハ 所定の回転角毎にボディ内マ
イコン(μC1)のカウンタ入力端子(CNT)にパル
スを出力する。ボディ内マイコン(μC1)はこのパル
スをカウントし、AFレンズの速度を制御する。
(ENC) is an encoder for monitoring the rotation of the AF motor (Ml).It outputs a pulse to the counter input terminal (CNT) of the microcomputer (μC1) in the body at every predetermined rotation angle. The in-body microcomputer (μC1) counts these pulses and controls the speed of the AF lens.

(TVci)はボディ内マイコン(μC1)からの制御
信号に基づいてシャッターを制御するシャッター制御回
路である。
(TVci) is a shutter control circuit that controls the shutter based on a control signal from the in-body microcomputer (μC1).

(AVCT)はボディ内マイコン(μC1)からの制御
信号に基づいて絞りを制御する絞り制御回路である。
(AVCT) is an aperture control circuit that controls the aperture based on a control signal from an in-body microcomputer (μC1).

(11!2)はフィルム巻き上げ・巻き戻しと露出制御
機構のチャージを行なうためのモータである。また、(
Mn2)はモータ(M2)をボディ内マイコン(μC1
)からの指令に基づいて駆動するモータ駆動回路である
(11!2) is a motor for winding and rewinding the film and charging the exposure control mechanism. Also,(
Mn2) connects the motor (M2) to the microcomputer (μC1) in the body.
) is a motor drive circuit that drives based on commands from the motor.

次に、電源関係の構成について説明する。Next, the configuration related to the power supply will be explained.

(El)はカメラボディ(BD)の電源となる電池であ
る。
(El) is a battery that serves as a power source for the camera body (BD).

(Tri)は上述した回路の一部に電源を供給する第1
の給電トランジスタである。(Tr2)はレンズ内のズ
ームモータの駆動のための電源を供給するための第2の
給電トランジスタであり、M O’S構成となっている
(Tri) is the first circuit that supplies power to part of the circuit described above.
This is a power supply transistor. (Tr2) is a second power supply transistor for supplying power for driving the zoom motor within the lens, and has an MO'S configuration.

(DD)はボディ内マイコン(μC1)に供給する電圧
(VDD)を安定させるためのDC/DCコンノ\−夕
であり、電源制御端子(PWO)が”High”レベル
のときに動作する。(VDD)はボディ内マイコン(μ
C1)、レンズ内回路(LEc工)、フィルム感度読取
回路(DX)。
(DD) is a DC/DC controller for stabilizing the voltage (VDD) supplied to the microcomputer (μC1) in the body, and operates when the power control terminal (PWO) is at the "High" level. (VDD) is the in-body microcontroller (μ
C1), lens internal circuit (LEc engineering), film sensitivity reading circuit (DX).

及び表示制御回路(DISPC)の動作電源電圧である
and the operating power supply voltage of the display control circuit (DISPC).

(Vcc+)は焦点検出用受光回路(AFct)、  
及び測光回路(LM’)の動作電源電圧であり、電源制
御端子(PWI)から出力される信号の制御下にて電源
電池(El)から給電トランジスタ(Tri)を介して
供給される。(VDD2)はレンズ内のズームモータの
動作電源電圧であり、電源制御端子(PN2)から出力
される信号の制御下にて電源電?I!I(El)から給
電トランジスタ(Tr2)を介して供給される。(Vc
c@)は、モータ駆動回路(MDI)、  シャッター
制御回路(TVCT)、  絞り制御回路(AVcτ)
、及びモータ駆動回路(Mn2)の動作電源電圧であり
、電源電池(El)から直接供給される。
(Vcc+) is a focus detection light receiving circuit (AFct),
and the operating power supply voltage of the photometry circuit (LM'), which is supplied from the power supply battery (El) via the power supply transistor (Tri) under the control of the signal output from the power supply control terminal (PWI). (VDD2) is the operating power supply voltage of the zoom motor inside the lens, and the power supply voltage is controlled by the signal output from the power supply control terminal (PN2). I! It is supplied from I (El) via the power supply transistor (Tr2). (Vc
c@) are motor drive circuit (MDI), shutter control circuit (TVCT), aperture control circuit (AVcτ)
, and the operating power supply voltage of the motor drive circuit (Mn2), and is directly supplied from the power supply battery (El).

(Dl)〜(D3)はDC/DCコンバータ(DD)が
動作を停止しているときに、電圧(VDD)よりも低い
電圧をボディ内マイコン(μC1)に与え、消費電力を
少なくするためのダイオード群である。この低い電圧は
、ボディ内マイコン(μC1)が作動できる最低電源電
圧に設定されており、DC/DCコンバータ(DD)が
動作を停止しているときは、ボディ内マイコン(μC1
)のみが動作可能である。
(Dl) to (D3) are used to reduce power consumption by applying a voltage lower than the voltage (VDD) to the microcontroller (μC1) in the body when the DC/DC converter (DD) is not operating. It is a group of diodes. This low voltage is set to the lowest power supply voltage at which the in-body microcontroller (μC1) can operate, and when the DC/DC converter (DD) has stopped operating, the in-body microcontroller (μC1)
) is operational.

(BCI)は電池(El)の電圧(VCCB)を検出し
て、その検出結果をボディ内マイコン(μC1)に知ら
せるバッテリーチエツク回路である。
(BCI) is a battery check circuit that detects the voltage (VCCB) of the battery (El) and notifies the in-body microcomputer (μC1) of the detection result.

(GNDl)は低消費電力部のグランドラインであり、
レンズとボディの間は端子(JI7)(JT)を介して
接続されている。ボディ内ではアナログ部とディジタル
部は別々のグランドラインにする必要があるが、便宜上
、図面では一本で示している。
(GNDl) is the ground line of the low power consumption section,
The lens and the body are connected via terminals (JI7) (JT). It is necessary to use separate ground lines for the analog section and digital section within the body, but for convenience, only one line is shown in the drawing.

(GND2)は大消費電力部のグランドラインであり、
レンズとボディの間は端子(J18)(J8)を介して
接続されている。
(GND2) is the ground line of the large power consumption section,
The lens and the body are connected via terminals (J18) (J8).

次に、スイッチ類の説明を行なう。Next, the switches will be explained.

(S、u)は広視野モードの有効/無効を切り換えるた
めの常開式ブツシュスイ・ソチであり、前述のワイドビ
ューキー(13)が押圧されたとき(二〇Nされる。
(S, u) is a normally open switch for switching between enabling and disabling the wide view mode, and is turned on when the aforementioned wide view key (13) is pressed (20N).

(s、−)はオートワイド機能の有効/無効を切り換え
るための常開式プツシュスイ・ンチであり、前述のオー
トワイドキー(18)が押圧されたときにCNされる。
(s, -) is a normally open push switch for switching between enabling and disabling the auto wide function, and is turned CN when the auto wide key (18) mentioned above is pressed.

(Sl)はレリーズボタン(12)の1段目の押し下げ
でONされる撮影準備スイッチである。このスイッチ(
Sl)がONになると、ボディ内マイコン(μC1)の
割り込み端子(INTI)に割り込み信号が入力されて
、測光、測距及びAFレンズ駆動等の撮影に必要な準備
動作が行なわれる。
(Sl) is a photographing preparation switch that is turned on when the release button (12) is pressed down to the first step. This switch (
SL) is turned ON, an interrupt signal is input to the interrupt terminal (INTI) of the microcomputer (μC1) in the body, and preparatory operations necessary for photographing such as photometry, distance measurement, and AF lens driving are performed.

(So)はカメラの動作を可能とするためのスライダ(
11)がON位置にあるときにONとなり、OFF位置
にあるときにOFFとなるメインスイッチである。
(So) is the slider (
11) is a main switch that is turned ON when it is in the ON position, and turned OFF when it is in the OFF position.

(PCI)はスイッチ(SM)がONからOFFへ又は
OFFからONへ変化する毎に°“Low”レベルのパ
ルスを出力するパルス発生器である。このパルス発生器
(PCI)の出力は、ボディ内マイコン(μC1)の割
り込み端子(INT2)に割り込み信号として入力され
る。
(PCI) is a pulse generator that outputs a "Low" level pulse every time the switch (SM) changes from ON to OFF or from OFF to ON. The output of this pulse generator (PCI) is input as an interrupt signal to the interrupt terminal (INT2) of the in-body microcomputer (μC1).

(S2)はレリーズボタン(12)の2段目の押し下げ
でONされるレリーズスイッチである。このスイッチ(
S2)がONになると、撮影動作が行なわれる。
(S2) is a release switch that is turned on when the release button (12) is pressed down to the second step. This switch (
When S2) is turned on, a photographing operation is performed.

(S3)はミラーアップが完了するとONされるミラー
アップスイッチであり、シャッター機構がチャージされ
、ミラーダウンするとOFFとなる。
(S3) is a mirror-up switch that is turned ON when the mirror-up is completed, charges the shutter mechanism, and is turned OFF when the mirror is lowered.

(SREI)はカメラボディ(BD)に電池(El)が
装着されたときにOFFとなる電池装着検出スイッチで
ある。電池(El)が装着されて、電池装着検出スイッ
チ(SRE + )がOFFになると、抵抗(R1)を
介してコンデンサ(C1)が充電され、ボディ内マイコ
ン(μC1)のリセット端子(REI)が’Low”レ
ベルから°゛H1gh IIレベルに変化する。すると
、ボディ内マイコン(μC1)は後述のリセットルーチ
ンを実行する。
(SREI) is a battery attachment detection switch that turns OFF when a battery (El) is attached to the camera body (BD). When the battery (El) is installed and the battery installation detection switch (SRE + ) is turned OFF, the capacitor (C1) is charged via the resistor (R1), and the reset terminal (REI) of the microcontroller (μC1) in the body is activated. It changes from the 'Low' level to the °H1gh II level. Then, the microcomputer (μC1) in the body executes a reset routine to be described later.

次に、シリアルデータ交信のための構成について説明す
る。
Next, a configuration for serial data communication will be explained.

測光回路(LM)、  フィルム感度読取回路(DX)
、  及び表示制御回路(DISPC)は、シリアル入
力(SIN)。
Photometry circuit (LM), film sensitivity reading circuit (DX)
, and the display control circuit (DISPC) have serial input (SIN).

シリアル出力(SOOT)、  及びシリアルクロック
(SCK)の各信号ラインを介してボディ内マイコン(
μC1)とシリアルにデータ交信を行なう。そして、ボ
ディ内マイコン(μC1)との交信対象は、チ・ンプセ
レクト端子(C3LM) (C3DX) (C3DIS
P)i:より選択される。
The in-body microcontroller (
Data communication is performed serially with μC1). The targets for communication with the microcomputer (μC1) in the body are the chip select terminals (C3LM) (C3DX) (C3DIS).
P)i: selected from.

すなわち、端子(C3LJI)が°’Low”レベルの
ときには測光回路(LM)が選択され、端子(C3DX
)が’Low” L、iベルのときにはフィルム感度読
取回路(DX)力で選択され、端子(C3DISP)が
”Low”レベルのとき(コ(よ表示制御回路(DIS
PC)が選択される。さら4二、3本のシリアル交信用
の信号ライン(SIN)(SOUT)(SCK)ii端
子(Jt5)(Js) : (Jw)(J−) ; (
JIB)(J6)を介してレンズ内回路(LECT )
と接続されており、レンズ内回路(LEc t )を交
信対象として選択するとき番二番=、端子(C3LE)
をLow”レベルとするものであ)J、この信号は端子
(Js)(Jl3)を介してレンズ内回路(LEcm)
に伝達される。
That is, when the terminal (C3LJI) is at °'Low" level, the photometry circuit (LM) is selected, and the terminal (C3DX
) is 'Low' L, i bell is selected by the film sensitivity reading circuit (DX) output, and when the terminal (C3DISP) is 'Low' level (display control circuit (DIS)
PC) is selected. Furthermore, two or three signal lines for serial communication (SIN) (SOUT) (SCK) ii terminals (Jt5) (Js): (Jw) (J-); (
In-lens circuit (LECT) via JIB) (J6)
When selecting the lens internal circuit (LEc t ) as a communication target, the terminal (C3LE)
This signal is sent to the lens internal circuit (LEcm) via the terminals (Js) (Jl3).
transmitted to.

次ニ、第4図に基づいてレンズ内回路(LEc T )
 iこついて説明する。第4図は交換レンズ(LE)i
二内蔵されたレンズ内回路(LECT)の回路図である
。図中、(μC2)は交換レンズ(LE)に内蔵された
ズームモータの制御やカメラボディ(BD)とのデータ
交信及びモード設定等の制御を行なうためのレンズ内マ
イクロコンピュータ(以下「レンズ内マイコン」という
)である。
Next, the circuit inside the lens (LEc T ) based on Fig. 4
I will explain it in detail. Figure 4 shows the interchangeable lens (LE) i
2 is a circuit diagram of a built-in lens circuit (LECT); FIG. In the figure, (μC2) is an in-lens microcomputer (hereinafter referred to as "in-lens microcomputer") that controls the zoom motor built into the interchangeable lens (LE), data communication with the camera body (BD), mode settings, etc. ”).

ここで、カメラボディ(BD)と接続される端子群(J
l)〜(Js)について説明すると、(Jt)iオズー
ムモ−タ駆動用の電源電圧(VCC2)をボディ側から
レンズ側へ供給するための電源端子、(J2)は上記ズ
ームモータ駆動用以外の電源電圧(VDD)をボディ側
からレンズ側へ供給するための電源端子、(Js)はデ
ータ交信要求を示す信号の入出力用の端子、(J、)は
データ交信用のクロックをボディ側から入力するクロッ
ク端子、(Js)はボディ側からのデータを入力するシ
リアル入力端子、(J6)はボディ側へデータを出力す
るシリアル出力端子、(J7)はモータ駆動用回路以外
の回路のグランド端子、(Js)はモータ駆動用回路の
グランド端子である。
Here, the terminal group (J
To explain l) to (Js), (Jt) i is a power supply terminal for supplying the power supply voltage (VCC2) for driving the zoom motor from the body side to the lens side, (J2) is a power supply terminal for supplying power supply voltage (VCC2) for driving the zoom motor, and (J2) is a power supply terminal for supplying power supply voltage (VCC2) for driving the zoom motor. A power supply terminal for supplying the power supply voltage (VDD) from the body side to the lens side, (Js) is a terminal for input/output of a signal indicating a data communication request, and (J,) is a terminal for inputting/outputting a signal indicating a data communication request. Clock terminal for input, (Js) is a serial input terminal for inputting data from the body side, (J6) is a serial output terminal for outputting data to the body side, (J7) is a ground terminal for circuits other than the motor drive circuit. , (Js) are ground terminals of the motor drive circuit.

交換レンズとボディ間の端子(Js)(Jl3)を介し
て伝達される端子(C3LE)についての信号ラインは
、双方向の信号ラインとなっている。このラインを介し
てボディ内マイコン(μC1)からレンズ内マイコン(
μC2)に信号が伝達されると、レンズ内マイコン(μ
C2)に割り込みが発生し、レンズ内マイコン(μC2
)が起動されるとともにボディとの交信対象として交換
レンズが指定される。一方、このラインを介してレンズ
内マイコン(μC2)からボデイ内マイコン(μC1)
に信号が伝達されると、パルス発生器(μC2) (第
3図)によりボディ内マイコン(μC1)のレンズ割り
込み端子(LEINT)に割り込み信号が入力され、ボ
ディ内マイコン(μC1)が起動される。なお、ボディ
内マイコン(μC1)からレンズ内マイコン(μC2)
へのデータが送信されるときは、ボディ内マイコン(μ
C1)は割り込み(LEINT)を受は付けないように
なっている。
The signal line for the terminal (C3LE) transmitted via the terminal (Js) (Jl3) between the interchangeable lens and the body is a bidirectional signal line. This line connects the microcomputer in the body (μC1) to the microcomputer in the lens (
When the signal is transmitted to the lens microcomputer (μC2),
An interrupt occurs in the lens microcomputer (μC2).
) is activated and the interchangeable lens is designated as the object of communication with the body. On the other hand, via this line, the microcomputer in the lens (μC2) is connected to the microcomputer in the body (μC1).
When the signal is transmitted to , the pulse generator (μC2) (Figure 3) inputs the interrupt signal to the lens interrupt terminal (LEINT) of the in-body microcontroller (μC1), and the in-body microcontroller (μC1) is activated. . In addition, from the microcomputer in the body (μC1) to the microcomputer in the lens (μC2)
When data is sent to the body, the microcontroller (μ
C1) is configured not to accept interrupts (LEINT).

(R8IC)はボディから供給される電圧(VDD)が
レンズ内マイコン(μC2)の正常動作電圧以下になっ
たときに、レンズ内マイコン(μC2)にリセットをか
けるためのリセット用ICである。(R2)(C2)は
レンズ内マイコン(μC2)にリセットをかけるための
リセット用抵抗及びコンデンサである。
(R8IC) is a reset IC for resetting the lens microcomputer (μC2) when the voltage (VDD) supplied from the body becomes lower than the normal operating voltage of the lens microcomputer (μC2). (R2) and (C2) are a reset resistor and a capacitor for resetting the microcomputer (μC2) inside the lens.

(RE2)はレンズ内マイコン(μC2)のリセット端
子であり、ボディからレンズ内回路を駆動するための電
圧(V、)が供給され、抵抗(R2)とコンデンサ(C
2)によって端子(RE)が“Low”レベルから“H
igh゛レベルに変化すると、レンズ内マイコン(μC
2)はリセット動作を行なう。
(RE2) is the reset terminal of the microcomputer (μC2) in the lens, and the voltage (V, ) for driving the circuit in the lens is supplied from the body, and the resistor (R2) and capacitor (C
2), the terminal (RE) changes from “Low” level to “H” level.
When the level changes to high, the microcomputer (μC) inside the lens
2) performs a reset operation.

(ZVEN)は前述の操作環(ズームリング’) (8
0)に連動するズーム速度エンコーダであり、パワーズ
ームのときにはパワーズームの速度及び方向を設定する
(ZVEN) is the aforementioned operation ring (zoom ring') (8
0), and sets the power zoom speed and direction during power zoom.

(M3)はズームレンズ群を駆動するためのズームモー
タである。このズームモータによるズームレンズ群の駆
動により、像点の位置を変えることなく焦点距離を連続
的に変化させることができる。
(M3) is a zoom motor for driving the zoom lens group. By driving the zoom lens group with this zoom motor, the focal length can be continuously changed without changing the position of the image point.

(Mn2)はズームモータ(M3)を駆動するためのモ
ータ駆動回路であり、レンズ内マイコン(μC2)から
与えられるモータ駆動方向及び駆動速度を示す制御信号
に応じてズームモータ(M3)の回転を制御する。また
、レンズ内マイコン(μC2)から与えられるモータ停
止信号やモータ休止信号に応じて、ズームモータ(M3
)の両端短絡や電圧印加停止をそれぞれ行なう。
(Mn2) is a motor drive circuit for driving the zoom motor (M3), which controls the rotation of the zoom motor (M3) according to control signals indicating the motor drive direction and drive speed given from the microcomputer (μC2) inside the lens. Control. In addition, the zoom motor (M3
) and stop applying voltage.

(ENC3)はズームモータ(M3)の回転量を検出す
るためのエンコーダであドパ 焦点距離を検出するとき
にも利用される。
(ENC3) is an encoder for detecting the amount of rotation of the zoom motor (M3), and is also used when detecting the focal length of the zoom motor (M3).

(DSP)はレンズ表示部(28)にレンズ内マイコン
(μC2)からのデータに基づく表示を行なうレンズ内
表示制御回路である。
(DSP) is an in-lens display control circuit that performs display on the lens display section (28) based on data from the in-lens microcomputer (μC2).

(SLE)はレンズ装着検出スイッチであり、交換レン
ズ(LE)がカメラボディ(BD)に装着され、マウン
トロックされたときにOFFとなる。つまり、交換レン
ズ(LE)がカメラボディ(BD)から取り外されると
、スイッチ(SLE)がONとなり、コンデンサ(C2
)の両端が短絡される。これにより、コンデンサ(C2
)に蓄えられていた電荷が放電され、レンズ内マイコン
(μC2)の端子(RE2)は“Low”レベルになる
。その後、交換レンズ(LE)がカメラボディ(BD)
に装着されると、スイッチ(SLE)がOFFになり、
電源ライン(VDD)によりコンデンサ(C2)が充電
され、抵抗(R2)とコンデンサ(C2)とで決まる所
定時間後、端子(RE2)が°’High“レベルに変
化し、前述したように、レンズ内マイコン(μC2)は
リセット動作を行なう。
(SLE) is a lens attachment detection switch, which is turned OFF when the interchangeable lens (LE) is attached to the camera body (BD) and the mount is locked. In other words, when the interchangeable lens (LE) is removed from the camera body (BD), the switch (SLE) is turned on and the condenser (C2
) are shorted. This allows the capacitor (C2
) is discharged, and the terminal (RE2) of the microcomputer (μC2) in the lens becomes "Low" level. After that, the interchangeable lens (LE) becomes the camera body (BD).
When installed, the switch (SLE) turns OFF,
The capacitor (C2) is charged by the power supply line (VDD), and after a predetermined time determined by the resistor (R2) and capacitor (C2), the terminal (RE2) changes to the °'High" level, and as described above, the lens The internal microcomputer (μC2) performs a reset operation.

以上で本実施例のハードウェアについての説明を終えて
、次にソフトウェアについての説明に入る。
This concludes the explanation of the hardware of this embodiment, and then the explanation of the software will begin.

まず、本実施例の特徴となる広視野モードにおける動作
シーフェンスとオートワイドの動作シーフェンスの概要
について、第6図〜第9図を参照しながら説明する。
First, an outline of the operational sea fence in the wide field mode and the automatic wide operational sea fence, which is a feature of this embodiment, will be explained with reference to FIGS. 6 to 9.

186図は広視野モードにおけるシーフェンスチャート
であり、第8図は広視野モードにおけるファインダ内の
像を示す図である。ここで、シーフェンスチャートとは
、カメラにおけるボディとレンズのそれぞれの動作シー
フェンスを、相互の動作の関連及びタイミングがわかる
ようにボディとレンズ間の交信と共に示した図をいう。
FIG. 186 is a sea fence chart in wide field of view mode, and FIG. 8 is a diagram showing an image in the finder in wide field of view mode. Here, the sea fence chart is a diagram showing the movement sea fences of the body and lens in a camera together with the communication between the body and lens so that the relationship and timing of mutual movements can be understood.

この交信については、後でレンズ交信として各交信モー
ド毎に説明する。
This communication will be explained later for each communication mode as lens communication.

第6図において、メインスイッチ(S、)がONされた
後に、ワイドビュースイッチ(S、、)がONされると
、広視野モードに設定されて!J8図(a)に示す撮影
フレーム(μC2)がファインダ内に表示される。
In Fig. 6, when the wide view switch (S, ) is turned on after the main switch (S, ) is turned on, the wide view mode is set! The photographic frame (μC2) shown in FIG. J8 (a) is displayed in the finder.

その後、シーフェンスとして最短でレリーズする場合を
考えて撮影準備スイッチ(Sl)及びレリーズスイッチ
(S2)が同時にONされたとすると、まず、測距及び
測光を行ない、ズームアツプするために現在の焦点距離
f。を1.4倍した目標の焦点距離ftを設定する(本
実施例ではファインダ視野率を140%とする)。次に
、撮影フレーム(FD2)を消して目標焦点距離f+を
レンズ内マイコン(μC2)に転送する(モード■の交
信#C)。目標焦点距離f、を受は取ったレンズ内マイ
コン(μC2)はズーミングを開始し、目標焦点距離f
tまでズーミングを行なう(第8図(b))。このとき
、ボディ側では、一定の時間間隔でレンズ状態を受信す
る交信を行ない、レンズがズーミングを完了するのを待
つ(モード■の交信#d、 #d’ )。ズーミングの
完了を確認じた後は、再測距のためのCCDにおける電
荷蓄積(以下、rCCD積分」又は単に「積分」という
)の開始タイミングを示すデータを転送するモード(I
V)の交信(#a)を行ない、CCD積分を開始する。
After that, if the shooting preparation switch (Sl) and the release switch (S2) are turned on at the same time in order to release the camera at the shortest possible time as a sea fence, first, distance measurement and light metering are performed, and the current focal length f is set in order to zoom up. . The target focal length ft is set by multiplying by 1.4 (in this embodiment, the viewfinder field of view is set to 140%). Next, the photographing frame (FD2) is erased and the target focal length f+ is transferred to the microcomputer (μC2) in the lens (communication #C in mode ■). After receiving the target focal length f, the in-lens microcomputer (μC2) starts zooming and sets the target focal length f.
Zooming is performed up to t (FIG. 8(b)). At this time, the body side performs communication to receive the lens status at regular time intervals and waits for the lens to complete zooming (communications #d and #d' in mode 2). After confirming the completion of zooming, the mode (I
V) communication (#a) is performed, and CCD integration is started.

そのCCD積分の後はデータダンプを行ない、データダ
ンプが完了した時点で、ズーミングによって変化するレ
ンズデータを受信しくモード■の交信#b)、そのレン
ズデータを用いて測距演算及び測光演算を行なう。ここ
で、ズーミングで変化するレンズデータ(この具体的な
内容については後述する)の受信については、ズーミン
グ完了後にレンズから受信しておいてもよい。また、ズ
ーミング完了後に再測距及び再測光を行なう理由は、測
距及び測光の精度を向上させるためである。再測距及び
再測光を終えると、再測距で検出されたデフォーカス量
に対応したAFレンズの駆動を開始し、レリーズ中にA
Fレンズを駆動しながらミラーアップさせて露光する。
After the CCD integration, a data dump is performed, and when the data dump is completed, the lens data that changes due to zooming is received (communication #b) in mode 2, and distance measurement calculation and photometry calculation are performed using that lens data. . Here, lens data that changes during zooming (the specific details of which will be described later) may be received from the lens after zooming is completed. Further, the reason for performing distance measurement and photometry again after completing zooming is to improve the accuracy of distance measurement and photometry. After re-measuring the distance and re-measuring the light, the AF lens is driven according to the amount of defocus detected during the re-measuring, and the AF lens is adjusted during release.
While driving the F lens, the mirror is raised and exposed.

その後、撮影準備スイッチ(Sl)及びレリーズスイッ
チ(S2)が○FFされてから5秒経過した時点で、再
度、広視舒モードに設定し、撮影フレーム(FI)2)
を表示する。この5秒間はボディ内マイコン(μC1)
がスリーブ状態に入るまでの時間であり、5秒間に限ら
なくともよい。ここで、スイッチ(Sl)及び(S2)
の○FF後の5秒間広視野モード設定しないのは、同じ
シーンの連続撮影等の場合に、ズームアツプし続けるこ
とを防止するためである。
After that, when 5 seconds have passed since the shooting preparation switch (Sl) and release switch (S2) were turned FF, the wide viewing mode is set again, and the shooting frame (FI) is set to 2).
Display. During these 5 seconds, the microcomputer (μC1) inside the body
This is the time it takes for the device to enter the sleeve state, and it does not have to be limited to 5 seconds. Here, switches (Sl) and (S2)
The reason why the wide field of view mode is not set for 5 seconds after the FF is to prevent the zoom from continuing to increase when continuously photographing the same scene.

次に、オートワイドの動作シーフェンスについて第7図
及び第9図に基づいて説明する。!@7図はオートワイ
ドのシーフェンスチャートであり、第9図はオートワイ
ド中のファインダ内の像を示す図である。第9図におい
て、(イ)〜(=)は測距アイランドであり、この各測
距アイランド内の被写体に対して測距を行なうことがで
きる。そして、例えば、すべての測距アイランドにおい
て焦点検出可能ならば、最も近い被写体に対して焦点を
合わせるという多点アルゴリズムが用いられる。
Next, the automatic wide operation sea fence will be explained based on FIGS. 7 and 9. ! @Figure 7 is an auto-wide sea fence chart, and Figure 9 is a diagram showing the image in the finder during auto-wide. In FIG. 9, (a) to (=) are distance measurement islands, and distance measurement can be performed for objects within each distance measurement island. Then, for example, a multi-point algorithm is used that focuses on the closest subject if focus can be detected on all distance measurement islands.

第7図に示すシーフェンスはローコンスキャン完了時か
らスタートする例である。ローコンスキャンが完了する
と、まず、現在焦点距離f、から目標焦点距離f1を求
める。この目標焦点距離f、とじては、ズーミングされ
ても撮影者に違和感を与えない程度に設定した方がよく
、本実施例では現在焦点距離f0の0.5倍とする。目
標焦点距離f、を求めたならば、のCD積分開始タイミ
ングを示すデータと目標焦点距離f、をモード(V)の
交信(1’a’ )でレンズ側に転送する。レンズ側は
、目標焦点距離f・を受信すると、その焦点距離f、を
目標としてズーミングを開始する。そのとき、ボディ側
は、ズーミング中に測距を行なうためにCCD積分を開
始し、CCDCD積分−データダンプ了した時点で、C
CD積分開始タイミングでレンズ側において計算された
レンズデータを受信する(モード■の交信#b)。そし
て、そのレンズデータを用いて測距及び測光の演算を行
ない、測距においてローコンであれば、モード(V)の
交信(#a’)、  CCD積分。
The sea fence shown in FIG. 7 is an example that starts from the completion of the low contrast scan. When the low contrast scan is completed, first, the target focal length f1 is determined from the current focal length f. It is better to set the target focal length f to an extent that does not give the photographer a sense of discomfort even when zooming, and in this embodiment, it is set to 0.5 times the current focal length f0. Once the target focal length f is determined, the data indicating the CD integration start timing and the target focal length f are transferred to the lens side through mode (V) communication (1'a'). When the lens side receives the target focal length f, it starts zooming with the focal length f as the target. At that time, the body side starts CCD integration to perform distance measurement during zooming, and when the CCD integration and data dump are completed, the CCD
Lens data calculated on the lens side is received at the CD integration start timing (communication #b in mode ■). Then, distance measurement and photometry calculations are performed using the lens data, and if the distance measurement is low contrast, mode (V) communication (#a') and CCD integration are performed.

データダンプ、モード(Vl)の交信(#b)、  測
距、測光の演算、及びズーミング完了のチエツクを順に
繰り返す。
Data dump, mode (Vl) communication (#b), distance measurement, photometry calculation, and check for zooming completion are repeated in this order.

ここで、上記ズーミング中に焦点検出可能となった場合
を考える。この場合、焦点状態の検出に必要なコントラ
ストが得られた時点で、レンズにズームストップを示す
データを転送する(モード■の交信#e)。レンズ側は
、ズームストップを示すデータを受信すると、ズームレ
ンズ群をブレーキングして停止させる。このとき、ボデ
ィ側では、ズームレンズ群の停止を検知するためにレン
ズ状態を受信するモード(I[[)の交信(#d) (
#d’ )を繰り返し、ズームレンズ群の停止を確認し
た後、AFレンズを駆動して焦点合わせを行なう、第7
図のシーフェンスチャートでは、ズームレンズ群の停止
を確認した交信(#d”)の後、ズーミング中の測距で
得られた測距値(AFレンズの駆動パルス数)に基づい
て焦点合わせのためのAFレンズの駆動を行なっている
が、その測距精度が低い場合には、すぐにAFレンズの
駆動を行なわずに次の測距(モードTV、Vlの交信#
a、#bを含む)で得られる測距値を用いてAFレンズ
の駆動を行なってもよい。
Now, let us consider a case where focus detection becomes possible during the zooming described above. In this case, when the contrast necessary for detecting the focus state is obtained, data indicating the zoom stop is transferred to the lens (communication #e in mode 2). When the lens side receives data indicating zoom stop, it brakes the zoom lens group to stop it. At this time, on the body side, the mode (I[[) communication (#d) (#d) (
After repeating #d') and confirming that the zoom lens group has stopped, drive the AF lens and perform focusing.
In the Sea Fence chart shown in the figure, after communication confirming the stoppage of the zoom lens group (#d"), focusing is performed based on the distance measurement value (the number of driving pulses of the AF lens) obtained during distance measurement during zooming. However, if the distance measurement accuracy is low, the AF lens is not driven immediately and the next distance measurement (mode TV, Vl communication #
The AF lens may be driven using the distance measurement values obtained in (including a and #b).

次に、第7図には示されていないが、前記ズーミング中
に焦点検出可能とならなかった場合について考える。モ
ード(VI)の交信(#b)はズームレンズ群の状態を
表わすデータも含んでいるので、この場合、測光演算の
後のオートワイド中の処理においてズームレンズ群の駆
動状態を確認する。そして、この確認の結果ズームレン
ズ群が停止していれば、目標焦点距離f+までズーミン
グしても焦点検出が不可能であると判断し、オートワイ
ドでの測距をあきらめる。
Next, although not shown in FIG. 7, a case will be considered in which the focus cannot be detected during the zooming. Since the mode (VI) communication (#b) also includes data representing the state of the zoom lens group, in this case, the driving state of the zoom lens group is confirmed in the auto-wide processing after the photometry calculation. If the zoom lens group is stopped as a result of this confirmation, it is determined that focus detection is impossible even if zoomed to the target focal length f+, and distance measurement using auto wide is given up.

以上で本実施例の動作シーフェンスの概要についての説
明を終える。次に、ボディ内マイコン(μC1)及びレ
ンズ内マイコン(μC2)のソフトウェアについて説明
することにより、本実施例の動作について詳説する。な
お、以下の説明におけるレンズ交信の内容を第1表に、
レンズからボディに送られるレンズ状態データを第2表
に、ボディからレンズに送られるボディ状態データを第
3表にそれぞれ示す。また、以下の説明においてフロー
チャートで使用する制御用フラグを第4表に、変数を第
5表にそれぞれ示す。
This completes the explanation of the outline of the operational sea fence of this embodiment. Next, the operation of this embodiment will be explained in detail by explaining the software of the in-body microcomputer (μC1) and the in-lens microcomputer (μC2). The contents of lens communication in the following explanation are shown in Table 1.
Lens status data sent from the lens to the body is shown in Table 2, and body status data sent from the body to the lens is shown in Table 3. Further, in the following explanation, control flags used in flowcharts are shown in Table 4, and variables are shown in Table 5, respectively.

まず、ボディ内マイコン(μC1)のソフトウェアにつ
いて説明する。
First, the software of the in-body microcomputer (μC1) will be explained.

カメラボディ(ED)に電池(El)が装着されると、
第3図に示されたボディ内回路において、電池装着検出
スイッチ(SRET)がOFFとなり、リセット用のコ
ンデンサ(C1)が抵抗(R1)を介して充電され、カ
メラ全体を制御するボディ内マイコン(μC1)のリセ
ット端子(REI)に”Low”レベルから°°旧gh
”レベルへと変化するリセット信号が入力される。
When the battery (El) is installed in the camera body (ED),
In the in-body circuit shown in Figure 3, the battery installation detection switch (SRET) is turned OFF, the reset capacitor (C1) is charged via the resistor (R1), and the in-body microcontroller (SRET) that controls the entire camera is charged. μC1) reset terminal (REI) from “Low” level to °° old gh
``A reset signal that changes to level is input.

このリセット信号の入力により、ボディ内マイコン(μ
C1)は、内部のハードウェアによりクロックの発生を
開始すると共に、DC/DCコンバータ(DD)を動作
させ、駆動可能な電圧(VD、)を供給されて、第10
図に示すリセットルーチンを実行する。
By inputting this reset signal, the in-body microcontroller (μ
C1) starts generating a clock by internal hardware, operates a DC/DC converter (DD), is supplied with a driveable voltage (VD, ), and is connected to the 10th clock.
Execute the reset routine shown in the figure.

なお、後述のスリーブ状態においては、ボディ内マイコ
ン(μC1)のクロックが停止し、DC/DCコンバー
タ(DD)も動作を停止しているが、このスリーブ状態
からの割り込みによる制御では、上述の電池装着時と同
様に、ボディ内マイコン(μC1)の内部ハードウェア
により、クロックの発生及びD C/D Cコンバータ
(DD)の動作を開始する。
Note that in the sleeve state, which will be described later, the clock of the microcomputer (μC1) in the body stops and the DC/DC converter (DD) also stops operating. As in the case of installation, the internal hardware of the in-body microcomputer (μC1) starts clock generation and operation of the DC/DC converter (DD).

第10図のリセットルーチンでは、まず、全ての割り込
みを禁止して、各種のボートやレジスタをリセットし、
リセットルーチンを通ったことを示すフラグ(R3TF
)をセットする(ステップ#5〜#15)。そして、ス
テップ(R20)でメインスイッチ(S、)がONされ
ているか否かを判定する。また、メインスイッチ(S、
X)がONからOFFへ、或いはOFFからONへ変化
したときも、メインスイッチ操作による割り込み(SM
INT)が発生してステップ(R20)から実行される
。ステップ(R20)でメインスイッチ(S、)がON
されているときには、全ての割り込みを許可して、リセ
ットルーチンを通ったことを示すフラグ(R3TF)を
リセットし、各回路及びレンズ側への給電を行なうため
のトランジスタ(Tri)(Tr2)をONすべく、電
源制御端子である出力ボート(PWI)(PW2)をそ
れぞれ“’High”レベルにする(ステップ#25〜
#35)。
The reset routine in Figure 10 first disables all interrupts, resets various boats and registers,
Flag indicating that the reset routine has been passed (R3TF
) (steps #5 to #15). Then, in step (R20), it is determined whether the main switch (S,) is turned on. In addition, the main switch (S,
X) changes from ON to OFF or from OFF to ON, an interrupt (SM
INT) is generated and the process is executed from step (R20). The main switch (S,) is turned on in step (R20)
When it is, all interrupts are enabled, the flag (R3TF) indicating that the reset routine has passed is reset, and the transistor (Tri) (Tr2) for supplying power to each circuit and the lens side is turned on. In order to
#35).

次に、ステップ(R30)でAFレンズ繰り込みのサブ
ルーチンを実行する。このサブルーチンを第11図に示
す。同サブルーチンが呼び出されると、まず、ステップ
(R150)でレンズ交信(■)のサブルーチンを実行
する。
Next, in step (R30), an AF lens renormalization subroutine is executed. This subroutine is shown in FIG. When this subroutine is called, first, in step (R150), a subroutine for lens communication (■) is executed.

レンズ交信(■)は、ボディとレンズとの各種交信モー
ドのうちの、本実施例で説明される新式のレンズ(以下
「新レンズ」という)からのデータを入力する交信モー
ド(■)における交信である。
Lens communication (■) is communication in the communication mode (■) in which data is input from the new lens described in this example (hereinafter referred to as "new lens") among various communication modes between the body and the lens. It is.

ここで、新レンズとは、レンズ内に焦点距離を変化させ
るためのズームモータ(M3)、  及びレンズ内マイ
コン(μC2)を備え、ボディへ転送するデータ数が旧
レンズよりも多いレンズをいう。
Here, the new lens refers to a lens that is equipped with a zoom motor (M3) for changing the focal length and a microcomputer (μC2) inside the lens, and can transfer more data to the body than the old lens.

レンズ交信(■)のサブルーチンを第36図に示す。同
サブルーチンが呼び出されると、まず、交信モードがモ
ード(■)であることを示すデータをセットし、端子(
C8LE)を’Low”レベルとし、レンズにデータ交
信を行なうことを知らせる(ステップ#1120. #
1122)。そして、ステップ(#1125)で2バイ
トのシリアル交信(シリアル入出力)を行なう。このシ
リアル交信では、ボディとレンズは、互いに相手にデー
タをシリアルに出力しながら、相手から送られて来るデ
ータを同時にシリアルに入力する。1バイト目は、ボデ
ィの種類を示すデータをボディから出力する。このとき
、レンズからは意味の無いデータF F H(添字、は
16進数を示す)が出力され、レンズとボディはそれぞ
れ相手から送られて来るデータを入力する。2バイト目
は、レンズの種類を示すデータをレンズから出力する。
The subroutine for lens communication (■) is shown in FIG. When this subroutine is called, it first sets data indicating that the communication mode is mode (■), and then sets the data indicating that the communication mode is mode (■).
C8LE) to 'Low' level to notify the lens that data communication will be performed (step #1120. #
1122). Then, in step (#1125), 2-byte serial communication (serial input/output) is performed. In this serial communication, the body and lens serially output data to each other and simultaneously serially input data sent from the other. The first byte outputs data indicating the type of body from the body. At this time, the lens outputs meaningless data F F H (the subscript indicates a hexadecimal number), and the lens and body each input data sent from the other party. The second byte outputs data indicating the type of lens from the lens.

このとき、ボディからは意味の無いデータF F sが
出力され、レンズとボディはそれぞれ相手から送られて
来るデータを入力する。そして、レンズとの交信モード
がモード(■)であることを示すべく、上記セットした
交信モードの1バイトのデータをレンズにシリアル出力
し、少し待機して、ステップ(#1130)で旧レンズ
か否かを判定する。
At this time, the body outputs meaningless data F F s, and the lens and body each input data sent from the other party. Then, to indicate that the communication mode with the lens is mode (■), 1-byte data of the communication mode set above is serially output to the lens, and after waiting for a while, in step (#1130), the old lens is Determine whether or not.

この判定の結果、旧レンズであれば、レンズから7バイ
トのデータを入力し、端子(C5LE)を“High′
°レベルにしてリターンする(ステップ#1135. 
#1138)。ステップ(#1130)における判定の
結果、新レンズであれば、レンズから11バイトのデー
タ入力し、端子(C8LE)を°”旧ghl“レベルに
してリターンする(ステップ#1132. #1138
)。なお、リターンする前に端子(C3LE)を”)I
igh”レベルにしているのは、このレンズ交信(■)
の終了をレンズに知らせるためであり、他のモードのレ
ンズ交信においても同様の処理を行なっている。
As a result of this judgment, if it is an old lens, input 7 bytes of data from the lens and set the terminal (C5LE) to “High”.
° level and return (Step #1135.
#1138). As a result of the determination in step (#1130), if it is a new lens, input 11 bytes of data from the lens, set the terminal (C8LE) to the °"old ghl" level, and return (steps #1132 and #1138).
). In addition, before returning, connect the terminal (C3LE) to
It is this lens communication (■) that makes it “high” level.
This is to notify the lens of the end of the process, and similar processing is performed in other modes of lens communication.

ここで、本実施例におけるボディとレンズ間の交信デー
タの内容について、第1表を参照して説明する。
Here, the contents of the communication data between the body and the lens in this example will be explained with reference to Table 1.

まず、旧レンズとのレンズ交信(図示せず)では、レン
ズからボディにレンズ固有のデータが送られ、そのデー
タの内容は (i)  開放絞り値AV。
First, in lens communication with the old lens (not shown), lens-specific data is sent from the lens to the body, and the contents of the data are (i) Open aperture value AV.

(ii) H大絞り値AVh□ (iii)デフォーカス量を駆動量に変換するための変
換係数に、 (以下、この変換係数を「駆動量変換係数
」という) (1v)現在焦点距離f。
(ii) H large aperture value AVh□ (iii) A conversion coefficient for converting the defocus amount into a drive amount (hereinafter, this conversion coefficient will be referred to as a "drive amount conversion coefficient") (1v) Current focal length f.

(v)  レンズ装着信号り。N (vi)繰り出し量を距離に変換するための変換係数K
。(以下、この変換係数を「距離変換係数」という) (vii)フィルム面とAFセンサ面の差△SBである
(v) Lens attachment signal. N (vi) Conversion coefficient K for converting the feed amount to distance
. (Hereinafter, this conversion coefficient will be referred to as a "distance conversion coefficient.") (vii) This is the difference ΔSB between the film surface and the AF sensor surface.

他方、新レンズとのレンズ交信には、モード(1)〜(
IX)の交信があり、これらの交信をそれぞれレンズ交
1(I)〜(IX)と呼ぶ。以下、各モードのレンズ交
信について説明する。なお、以下において、レンズから
ボディへ転送されるデータを総称してレンズデータとい
い、レンズの駆動状態等を表わす第2表に示したデータ
を総称してレンズ状態データ、ボディの動作状態やレン
ズ制御用コマンド等を表わす第3表に示したデータを総
称してボディ状態データというものとする。
On the other hand, modes (1) to (
IX), and these communications are called lens interactions 1(I) to (IX), respectively. Lens communication in each mode will be explained below. In the following, the data transferred from the lens to the body will be collectively referred to as lens data, and the data shown in Table 2 that represents the driving status of the lens will be collectively referred to as lens status data. The data shown in Table 3 representing control commands etc. will be collectively referred to as body state data.

レンズ交信(I)では、ボディからレンズにズーム繰り
込みモードを示すデータが送られる。
In lens communication (I), data indicating the zoom retraction mode is sent from the body to the lens.

レンズ交信(II)では、ボディからレンズにズームス
トップを示すデータ(ボディ状態データ)が送られる。
In lens communication (II), data indicating a zoom stop (body state data) is sent from the body to the lens.

レンズ交信(I[l)では、レンズからボディにレンズ
状態を示すデータ(第2表)が送られる。
In lens communication (I[l), data (Table 2) indicating the lens state is sent from the lens to the body.

レンズ交信(IV)では、ボディからレンズにCCD積
分開始タイミングを示すデータ(ボディ状態データ)が
送られる。この交信の直後に、レンズ内マイコン(μC
2)はその時点の焦点距離でのレンズデータ(焦点距離
によって変化するデータ)の計算を開始する。
In lens communication (IV), data (body state data) indicating the CCD integration start timing is sent from the body to the lens. Immediately after this communication, the microcomputer (μC) inside the lens
2) starts calculation of lens data (data that changes depending on the focal length) at the focal length at that time.

レンズ交信(V)では、ボディからレンズにCCD積分
開始タイミングを示すデータ(ボディ状態データ)と (x)目標焦点距離f。
In lens communication (V), data (body state data) indicating the CCD integration start timing from the body to the lens and (x) target focal length f.

が送られる。will be sent.

レンズ交信(Vl)では、レンズからボディに、レンズ
状態データと、その前に実行したモード(IV)又は(
V)の交信時点で計算したレンズのデータであって焦点
距離によって変化するデータが送られる。この後者のデ
ータは、 (iii)駆動量変換係数KL (iv)現在焦点距離f。
In lens communication (Vl), the lens status data and the previously executed mode (IV) or (
Lens data calculated at the time of communication V), which changes depending on the focal length, is sent. This latter data is: (iii) Drive amount conversion coefficient KL (iv) Current focal length f.

(vi)距離変換係数KN (vii)フィルム面とAFセンサ面の差△SBの各デ
ータである。
(vi) Distance conversion coefficient KN (vii) Each data of the difference ΔSB between the film surface and the AF sensor surface.

レンズ交信(■)では、レンズからボディにレンズ固有
の全データが送られる。このデータの内容は、レンズ状
態データと、 (i)  開放絞り値AV。
In lens communication (■), all lens-specific data is sent from the lens to the body. The contents of this data are lens condition data and (i) maximum aperture value AV.

(ii)  最大絞り値AV□、 (iii)駆動量変換係数KL (1v)現在焦点距離f。(ii) Maximum aperture value AV□, (iii) Drive amount conversion coefficient KL (1v) Current focal length f.

(v)  レンズ装着信号Lox (vi)  距離変換係数K、 (vii)フィルム面とAFセンサ面の差△5B(vi
ii)最短焦点距離f0.、 (ix)  最長焦点距離f、、8 である。
(v) Lens attachment signal Lox (vi) Distance conversion coefficient K, (vii) Difference between film surface and AF sensor surface △5B (vi
ii) Shortest focal length f0. , (ix) The longest focal length f,,8.

レンズ交信(■)では、ボディからレンズにパワーズー
ムの許可を示すデータ(ボディ状態データ)が送られる
In lens communication (■), data indicating permission for power zoom (body status data) is sent from the body to the lens.

レンズ交信(IX)では、ボディがらレンズにボディ状
態データと(x)目標焦点距離f、が送られる。
In lens communication (IX), body state data and (x) target focal length f are sent from the body to the lens.

以上の(i)〜(X)の各データはそれぞれ1バイト、
ボディ状態データ及びレンズ状態データはそれぞれ2バ
イトとして入出力されるものである。
Each of the above data (i) to (X) is 1 byte,
The body state data and lens state data are each input and output as 2 bytes.

また、CCD積分開始タイミングを示すデータを転送す
るモード(IV )(V )の交信をして、CCD積分
及びデータダンプをした後にレンズデータ(焦点距離に
よって変化するデータ)を受は取るモード(Vl)の交
信をすると、CCD積分及びデータダンプ中にレンズ内
マイコン(μC2)でレンズデータを計算することが可
能となる。このため、レンズデータの計算待ちを少なく
し、測距に要する時間を短縮することができる。
In addition, modes (IV) and (V) for transmitting data indicating the timing to start CCD integration are communicated, and a mode (Vl) for receiving and taking lens data (data that changes depending on the focal length) after CCD integration and data dumping is performed. ), it becomes possible to calculate lens data with the microcomputer (μC2) inside the lens during CCD integration and data dumping. Therefore, it is possible to reduce the amount of time required to calculate lens data and shorten the time required for distance measurement.

第11図のフローチャートに戻ってステップ(#152
)から説明を続ける。ステップ(#152)では、焦点
合わせを行なうためのAFレンズの駆動量を示すカウン
タNの値を−NLG (絶対値の大きな負の値であり、
最初のビットがOか1かで正負を表わす)とし、ステッ
プ(#155)でAFレンズ駆動のサブルーチンを実行
する。
Returning to the flowchart in FIG. 11, step (#152
) Continue the explanation. In step (#152), the value of the counter N indicating the drive amount of the AF lens for focusing is set to -NLG (a negative value with a large absolute value;
Whether the first bit is O or 1 indicates positive or negative), and in step (#155) the AF lens drive subroutine is executed.

ここで、AFレンズ駆動のモジュール(図示せず)につ
いて説明する。このレンズ駆動のモジュールは、カウン
タ割り込みとタイマ割り込みによりAFレンズの駆動を
制御している。カウンタ割り込みはエンコーダ(ENC
) (第3図)からAFレンズの駆動を示すパルスが入
ってくると発生し、タイマ割り込みはカウンタ割り込み
が行なわれてから一定時間内に次のカウンタ割り込みが
ないときに発生する。そして、このタイマ割り込みによ
りレンズが終端(無限遠端又は最近接端)に達したこと
を検出する。また、このモジュールは駆動前にレンズ駆
動中フラグ(LMVF)をセットして、駆動が終わった
ときにはカウンタ割り込み又はタイマ割り込みによって
フラグ(LMVF)をリセットしてリターンするモジュ
ールである。
Here, the AF lens driving module (not shown) will be explained. This lens drive module controls the drive of the AF lens using counter interrupts and timer interrupts. The counter interrupt is generated by the encoder (ENC).
) (FIG. 3), a timer interrupt is generated when a pulse indicating driving of the AF lens is input, and a timer interrupt is generated when there is no next counter interrupt within a certain period of time after a counter interrupt is performed. Then, by this timer interrupt, it is detected that the lens has reached the terminal end (infinite end or nearest end). Moreover, this module is a module that sets a lens driving flag (LMVF) before driving, and when driving is finished, resets the flag (LMVF) by a counter interrupt or a timer interrupt and returns.

第11図のフローチャートに戻ってステップ(#160
)から説明を続ける。ステップ(#160)ではタイマ
割り込みを可とし、次のステップ(#165)でタイマ
割り込みによりレンズが終端に達したことを示すフラグ
(LEEDF)がセットされるのを待つ。このフラグ(
LEEDF)がセットされていると、レンズが無限遠位
置に繰り込まれたとして、レンズの無限遠位置からの繰
り出し量NFをカウントするカウンタをリセットし、上
記フラグ(LEEDF)をリセットしてリターンする(
ステップ#170. #175)。
Returning to the flowchart in Figure 11, step (#160
) Continue the explanation. In step (#160), a timer interrupt is enabled, and in the next step (#165), a timer interrupt waits for a flag (LEEDF) indicating that the lens has reached the end to be set. This flag (
LEEDF) is set, assuming that the lens is retracted to the infinity position, the counter that counts the amount of lens extension NF from the infinity position is reset, the above flag (LEEDF) is reset, and the process returns. (
Step #170. #175).

第10図のフローチャートに戻ってステップ(#41)
から説明を続ける。ステップ(#4]、)では旧レンズ
か否かを判定し、旧レンズでなければステップ(#45
)へ進んで、ズームレンズ群繰り込みのサブルーチンを
実行する。このズームレンズ群繰り込みのサブルーチン
を第12図に示す、同サブルーチンが呼び出されると、
まず、レンズからのレンズセ゛レクト信号(C8LR)
による割り込み(C8LEINT)を禁止し、レンズ交
信(I)のサブルーチンを実行し、ズームレンズ群繰り
込みモードのデータを出力する(ステップ#180. 
#182) 、  次に、10m5ec間隔でレンズ状
態を調べるレンズ交信(III)を繰り返し、ワイド端
を示すフラグ(WEDF)がセットされていればズーム
繰り込み完了と判断する(ステップ#185〜7119
0)。そして、その10m5ec後にレンズの全データ
を入力するためにレンズ交信(■)を実行し、レンズか
らの割り込み要求(C8LEINT)を許可してリター
ンする(ステップ#192〜$1198)。
Return to the flowchart in Figure 10 and step (#41)
Continue the explanation from. In step (#4], ), it is determined whether the lens is an old lens or not, and if it is not an old lens, step (#45
) to execute the zoom lens group renormalization subroutine. The subroutine for renormalizing the zoom lens group is shown in FIG. 12. When the subroutine is called,
First, the lens select signal (C8LR) from the lens
interrupt (C8LEINT) is prohibited, the lens communication (I) subroutine is executed, and data of the zoom lens group renormalization mode is output (step #180.
#182) Next, lens communication (III) is repeated to check the lens condition at 10m5ec intervals, and if the flag (WEDF) indicating the wide end is set, it is determined that zoom retraction is complete (steps #185 to 7119).
0). Then, after 10 m5 ec, lens communication (■) is executed to input all lens data, the interrupt request (C8LEINT) from the lens is permitted, and the process returns (steps #192 to $1198).

ここで、上記の処理で使用されるレンズ交信(1)及び
(III)のサブルーチンについて説明する。
Here, the subroutines of lens communication (1) and (III) used in the above processing will be explained.

まず、レンズ交信(I)のサブルーチンを第30図に示
す。同サブルーチンが呼び出されると、モード(I)を
示すデータをセットし、端子(C8LE)を°“Low
“レベルとして、ボディとレンズの種類を判別するため
の2バイトのシリアル交信(シリアル入出力)を行なう
(ステップ#1000〜#1012)。次に、モード(
I)を示すために1バイトのデータをレンズにシリアル
出力し、続いて、ズームレンズ群繰り込みを指示する2
バイトのボディ状態データをレンズにシリアル出力し、
端子(C3LE)を“High″レベルとしてリターン
する(ステップ#1015〜#1020)。
First, FIG. 30 shows a subroutine for lens communication (I). When the subroutine is called, data indicating the mode (I) is set and the terminal (C8LE) is set to “Low”.
“As a level, 2-byte serial communication (serial input/output) is performed to determine the type of body and lens (steps #1000 to #1012).Next, the mode (
I) serially outputs 1 byte of data to the lens to indicate 2), and then instructs zoom lens group renormalization.
Outputs the body status data of the bite to the lens serially,
The terminal (C3LE) is set to "High" level and returns (steps #1015 to #1020).

次に、レンズ交信(In)のサブルーチンを第32図に
示す。同サブルーチンが呼び出されると、モード(I[
+)を示すデータをセットし、端子(C8LE)を°“
Low”レベルとして、ボディとレンズの種類を判別す
るための2バイトのシリアル交信(シリアル入出力)を
行なう(ステップ#1040〜#1045)。次に、モ
ード(I)を示すために1バイトのデータをレンズにシ
リアル出力し、続いて、レンズ状態を示す2バイトのデ
ータを入力し、端子(C8LE)を“。
Next, FIG. 32 shows a subroutine for lens communication (In). When the same subroutine is called, mode (I[
+), and connect the terminal (C8LE) to °“
2-byte serial communication (serial input/output) to determine the type of body and lens (steps #1040 to #1045). Next, a 1-byte serial communication is performed to indicate the mode (I). Serially output data to the lens, then input 2 bytes of data indicating the lens status, and connect the terminal (C8LE) to ".

High”レベルとしてリターンする(ステップ#10
48〜$11055)。
Return as “High” level (Step #10
48~$11055).

第10図のフローチャートに戻り、ステップ(#41)
で旧レンズと判定された場合について説明する。
Returning to the flowchart in Figure 10, step (#41)
The case where the lens is determined to be an old lens will be explained.

ステップ(#41)で旧レンズと判定されるとステップ
(#50)へ進み、撮影準備スイッチ(sl)がONさ
れているか否かを判定する。撮影準備スイッチ(sl)
がONされていないときは、ステップ(#63)へ進ん
で広視野モードの判定をするサブルーチンを実行した後
、給電トランジスタ(Tri ) (Tr2)をOFF
すべく電源制御端子(PWI)(P賀2)をそれぞれ“
Low”レベルとし、DC/DCコンバータ(DD)の
動作を停止させるべく電源制御端子(PIlio)を“
’Low”レベルとする(ステップ#63〜#70)。
If it is determined in step (#41) that the lens is an old lens, the process proceeds to step (#50), and it is determined whether or not the photographing preparation switch (sl) is turned on. Shooting preparation switch (sl)
If it is not turned on, proceed to step (#63), execute a subroutine to determine the wide field of view mode, and then turn off the power supply transistor (Tri) (Tr2).
Connect the power supply control terminals (PWI) (Pg2) to “
The power supply control terminal (PIlio) is set to “Low” level and the power supply control terminal (PIlio) is set to “Low” level to stop the operation of the DC/DC converter (DD).
The level is set to 'Low' (steps #63 to #70).

そして、その後スリーブ状態(停止状態)に入る。他方
、ステップ(#50)で撮影準備スイッチ(Sl)がO
Nされていると判定されたときは、ステップ(#52)
へ進んでローコンスキャンを禁止するフラグ(LSIN
F)をリセットし、ステップ(#55)で後述の5IO
Hのサブルーチンを実行する。そして、ステップ(#6
0)でフラグ(SIONF)がセットされているか否か
を判定し、セットされているときはステップ(#55)
へ戻り、セットされていないときはステップ(#63)
へ進む。ここで、フラグ(SIONF)は、撮影準備ス
イッチ(Sl)がONされている間、或いはOFFにな
ってから5秒以上経過していないときにセットされるフ
ラグである。
Then, it enters a sleeve state (stop state). On the other hand, in step (#50) the shooting preparation switch (Sl) is set to O.
If it is determined that it is N, step (#52)
Go to and set the flag (LSIN) that prohibits low-contrast scanning.
F), and in step (#55) perform the 5IO
Execute subroutine H. Then step (#6
0) determines whether the flag (SIONF) is set, and if it is set, step (#55)
Return to step (#63) if it is not set.
Proceed to. Here, the flag (SIONF) is a flag that is set while the photographing preparation switch (Sl) is turned on or when more than 5 seconds have not elapsed since it was turned off.

撮影準備スイッチ(Sl)がOFFされてからONにな
ったときに発生する割り込み(SI INT)では、ス
テップ(#52)からの処理を実行する。また、レンズ
から割り込み端子(LEINT)に割り込み信号が入力
されたときに発生するレンズ割り込み(C8LEINT
)では、レンズからの割り込みがあったことを示すフラ
グ(C8LEF)をステップ(#75)でセットして、
ステップ(#52)からの処理を実行する。
In an interrupt (SI INT) that occurs when the photographing preparation switch (Sl) is turned on after being turned off, processing from step (#52) is executed. Also, the lens interrupt (C8LEINT) that occurs when an interrupt signal is input from the lens to the interrupt terminal (LEINT)
), set the flag (C8LEF) indicating that there was an interruption from the lens in step (#75),
Processing from step (#52) is executed.

ここで、上記ステップ(#63)の広視野モード判定の
サブルーチンを第13図に示す。同サブルーチンが呼び
出されると、ステップ(#200)で広視野モードの有
効/無効を示すワイドビュースイッチ(Swu)がON
されているか否かを判定する。ワイドビュースイッチ(
S、U)がONされていないときは、広視野モードが有
効であることを示すフラグ(WWF)をリセットし、撮
影フレームの表示を0FFL、てリターンする(ステッ
プ#220. #225)。また、ワイドビュースイッ
チ(S、u)がONされていても、現在の焦点距離fn
の1.4倍がレンズの最長焦点距離f、、z、l:りも
大きいときには、1.4倍のズーミングをすることは不
可能なので、広視野モードは無効(@VF=O)とし、
撮影フレームの表示もOFFする(ステップ#205.
 #220. #225)。他方、ステップ(#200
)(1205)で、ワイドビュースイッチ(S、、)が
0N11.4Xf、≦f0.8と判定されたときは、フ
ラグ(WWF)をセットして広視野モードを有効(WW
F=1)とし、撮影フレームをファインダに表示してリ
ターンする(ステップ#210. #215)。
Here, the subroutine for determining the wide field of view mode in step (#63) is shown in FIG. When the same subroutine is called, the wide view switch (Swu), which indicates whether the wide view mode is enabled or disabled, is turned on in step (#200).
Determine whether or not. Wide view switch (
If S, U) are not turned on, the flag (WWF) indicating that the wide field of view mode is valid is reset, the photographed frame is displayed at 0FFL, and the process returns (steps #220 and #225). Also, even if the wide view switch (S, u) is turned on, the current focal length fn
1.4 times the maximum focal length of the lens f, z, l: It is impossible to zoom 1.4 times, so wide field mode is disabled (@VF=O),
The display of the shooting frame is also turned off (step #205.
#220. #225). On the other hand, step (#200
) (1205), when it is determined that the wide view switch (S, , ) is 0N11.4Xf, ≦ f0.8, the flag (WWF) is set to enable wide view mode (WWF).
F=1), the photographed frame is displayed on the finder, and the process returns (steps #210 and #215).

次に、第10図のステップ(#55)の5IOHのサブ
ルーチンを第14図に示す。同サブルーチンが呼び出さ
れると、まず、このサブルーチンを通ったことを示すフ
ラグ(SIONF)をセットし、割り込み(SIINT
)を禁止し、給電トランジスタ(Tri)(Tr2)を
ONすべく電源制御端子(PWI) (PW2)をHi
gh”レベルとし、上記の広視野ズーム判定のサブルー
チン(第13図)を実行する(ステップ#300〜#3
08)。
Next, the 5IOH subroutine of step (#55) in FIG. 10 is shown in FIG. When this subroutine is called, first a flag (SIONF) indicating that this subroutine has been passed is set, and an interrupt (SIINT) is set.
), and set the power control terminal (PWI) (PW2) to Hi to turn on the power supply transistor (Tri) (Tr2).
gh” level and executes the wide-field zoom determination subroutine (Fig. 13) (steps #300 to #3).
08).

ここで、ステップ(#308)において広視野ズーム判
定を毎回性なっている理由(SIONのサブルーチンが
呼び出される毎に行なっている理由)は、撮影準備スイ
ッチ(Sl)がONされている間、或いはOFFになっ
てから5秒以上経過していないときに、ワイドとニース
イッチ(SW、)が0N10FFされても対応するため
である。
Here, the reason why the wide-field zoom judgment is performed every time in step (#308) (the reason why it is performed every time the SION subroutine is called) is that while the shooting preparation switch (Sl) is ON, This is to handle even if the wide and knee switches (SW, ) are turned 0N10FF before 5 seconds or more have passed since they were turned OFF.

ステップ(#308)の広視野ズーム判定を終えると、
レンズからの割り込み要求(C8LEINT)によって
5IOHのサブルーチンを呼び出したか否かをフラグ(
C3LEF)により判定する(ステップ#310)。そ
して、レンズからの割り込みを示すフラグ(C3LEF
)がセットされていれば、ステップ(#315)へ進ん
でレンズINT制御のサブルーチンを実行した後、ステ
ップ(71332)へ進む。
After completing the wide-field zoom judgment in step (#308),
A flag (
C3LEF) (step #310). Then, a flag (C3LEF
) is set, the process advances to step (#315) to execute a subroutine for lens INT control, and then advances to step (71332).

ここで、レンズからの割り込みを制御する上記レンズI
NT制御のサブルーチンを第16図に示す。同サブルー
チンが呼び出されると、レンズからの割り込みを示すフ
ラグ(C3LEF)をリセットし、レンズの全データを
入力するためにレンズ交信(■)を行なう(ステップ#
530. #532)。そして、この交信でレンズから
送られてきたレンズ状態データ(第2表)に含まれるフ
ラグ(RQZMF)をステップ(#534)で判定する
。このフラグ(RQZMF)はパワーズームの許可をレ
ンズがボディに要求することを示すフラグであり、セッ
トされていなければそのままリターンする。他方、フラ
グ(RQZMF)がセットされていた場合には、10m
5ec時間待ちをした後、パワーズームの許可をレンズ
に転送するレンズ交信(■)を実行してリターンする(
ステップ#534〜#538)。
Here, the lens I that controls the interruption from the lens
FIG. 16 shows the NT control subroutine. When this subroutine is called, it resets the flag (C3LEF) indicating an interrupt from the lens, and performs lens communication (■) to input all lens data (step #
530. #532). Then, in step (#534), the flag (RQZMF) included in the lens status data (Table 2) sent from the lens in this communication is determined. This flag (RQZMF) is a flag indicating that the lens requests permission from the body for power zooming, and if it is not set, the process returns as is. On the other hand, if the flag (RQZMF) is set, 10m
After waiting for 5ec, execute lens communication (■) to transfer power zoom permission to the lens and return (
Steps #534 to #538).

ここで、上記の処理で使用されるレンズ交信(■)のサ
ブルーチンを第37図に示す。同サブルーチンが呼び出
されると、まず、モード(■)を示すデータヲセットシ
、端子(C3LE)を°’ Low” レベルとして、
ボディとレンズの種類を判別するための2バイトのシリ
アル交信(シリアル入出力)を行なう(ステップ#11
40〜111145)。次に、モード(■)を示すため
に1バイトのデータをレンズにシリアル出力し、続いて
、パワーズームの許可(パワーズームOK)を示すフラ
グ(MZOKF)をセットした2バイトのボディ状態デ
ータ(第3表)をレンズにシリアル出力し、端子(C3
LE)を°“)ligh”レベルにしてリターンする(
ステップ#114B〜111152)。
Here, FIG. 37 shows a subroutine for lens communication (■) used in the above processing. When this subroutine is called, first, the data indicating the mode (■) is set, the terminal (C3LE) is set to °'Low" level,
Performs 2-byte serial communication (serial input/output) to determine the type of body and lens (step #11
40-111145). Next, 1 byte of data is serially output to the lens to indicate the mode (■), followed by 2 bytes of body status data ( Table 3) is serially output to the lens, and the terminal (C3
LE) to °“)light” level and return (
Steps #114B to 111152).

第14図のフローチャートに戻り、前記ステップ(#3
10)でフラグ(C3LEF)がセットされていないと
判定された場合について説明する。フラグ(C3LEF
)がセットされていなければ、ステップ(#320)へ
進んで撮影準備スイッチ(Sl)がONされているか否
かを判定する。撮影準備スイッチ(Sl)がONされて
いなければ、パワーズーム中又はスイッチ(Sl)をO
FFした後5秒以内の状態であるので、レンズ交信(■
)を実行してレンズデータを入力しくステップ#325
)、ステップ(#332)へ進む。他方、ステップ(#
320)でスイッチ(Sl)がONされていると判定さ
れた場合には、撮影準備状態であるので、AF制御のサ
ブルーチンを実行することにより、測距演算及び焦点合
わせのためのAFレンズの駆動を行なう(ステップ#3
30)。
Returning to the flowchart of FIG. 14, the step (#3
The case where it is determined in 10) that the flag (C3LEF) is not set will be explained. Flag (C3LEF
) is not set, the process proceeds to step (#320) and it is determined whether or not the photographing preparation switch (Sl) is turned on. If the shooting preparation switch (Sl) is not turned on, power zoom is in progress or the switch (Sl) is turned on.
Since the state is within 5 seconds after FF, lens communication (■
) to input the lens data. Step #325
), proceed to step (#332). On the other hand, step (#
If it is determined that the switch (Sl) is ON in step 320), it is ready for shooting, so by executing the AF control subroutine, the AF lens is driven for distance measurement calculation and focusing. (Step #3
30).

このAF制御のサブルーチンを第15図に示す。A subroutine for this AF control is shown in FIG.

同サブルーチンが呼び出されると、まず、CCD積分開
始タイミングをレンズ内マイコン(μC2)に知らせた
り目標焦点距離ftをレンズに転送するTR8のサブル
ーチンを実行する(ステップ#450) 。
When this subroutine is called, first, the subroutine TR8 is executed to notify the in-lens microcomputer (μC2) of the CCD integration start timing and to transfer the target focal length ft to the lens (step #450).

このTR8のサブルーチンは、オートワイド中や、広視
野モードで1.4倍のズーミングをしたときのみレンズ
側とデータの交信をするサブルーチンであるので、最初
は何も実行せずにリターンする。次に、焦点検出用受光
回路(AFcy)内のCODに積分(電荷蓄積)を行な
わせ、CCD積分終了後、ディジタル信号に変換された
データを入力(データダンプ)し、レンズの可変データ
(焦点距離によって変化するデータ)を入力するRCV
のサブルーチンを実行する(ステップ#452. #4
55. $1460)。
This subroutine of TR8 is a subroutine that communicates data with the lens side only during auto-wide or when zooming by 1.4 times in wide-field mode, so it returns without executing anything at first. Next, the COD in the focus detection light receiving circuit (AFcy) performs integration (charge accumulation), and after the CCD integration is completed, the data converted to a digital signal is input (data dump), and the lens variable data (focus RCV to input (data that changes depending on distance)
Execute the subroutine (step #452. #4
55. $1460).

ただし、TR8のサブルーチンでCCD積分開始タイミ
ングを知らせる交信を行なっていないときは、このRC
Vのサブルーチンも何も実行せずにリターンする。この
RCVのサブルーチンは前記TR8のサブルーチンと共
に後述する。
However, if communication notifying the CCD integration start timing is not performed in the TR8 subroutine, this RC
The V subroutine also returns without executing anything. This RCV subroutine will be described later together with the TR8 subroutine.

RCVのサブルーチンからリターンした後はステップ(
$1465)へ進み、測距演算を行なってデフォーカス
量を算出する。この測距演算のサブルーチンを第19図
に示す、同サブルーチンが呼び出されると、まず、ステ
ップ(#600)で各測距アイランド(第9図の(イ)
〜(=))の相関演算を実行するが、この相関演算は本
発明の要旨とすることはないので説明を省略する。この
相関演算を行なった後はステップ(#602)へ進み、
各測距アイランドの測距値のうちどのアイランドの測距
値を採用するかを決定する多点アルゴリズム(例えば、
最も近い被写体を選択する)を実行し、全てのアイラン
ドでローコン(焦点状態の検出に必要なコントラストが
不足)の場合に焦点検出不能とし、少なくとも一つのア
イランドでローコンでなければ焦点検出可能とする。こ
の焦点検出不能か否かの判定をステップ(#605)で
行ない、焦点検出不能ならば、ローコンを示すフラグ(
LCONF)をセットしてリターンする(ステップ71
606)。他方、焦点検出可能と判定された場合には、
ローコンスキャン中を示すフラグ(LSNF)がセット
されているか否かをステップ(#608)で判定し、セ
ットされていればAFレンズが駆動中であるので、レン
ズ停止のサブルーチン(ステップ#609)を実行した
後、ステップ(#610)へ進む。ここで、レンズ停止
のサブルーチン(詳細フローチャートは図示せず)は、
モータ駆動回路(MDI)を制御してAFレンズの駆動
を停止させた後、フラグ(LMVF)をリセットする。
After returning from the RCV subroutine, step (
Proceed to $1465) to perform distance measurement calculations and calculate the amount of defocus. The subroutine for this distance measurement calculation is shown in FIG. 19. When this subroutine is called, first, in step (#600), each distance measurement island
A correlation calculation of ~(=)) is executed, but since this correlation calculation is not the gist of the present invention, its explanation will be omitted. After performing this correlation calculation, proceed to step (#602),
A multi-point algorithm (e.g.,
Select the closest subject), and if all islands have low contrast (the contrast necessary to detect the focus state is insufficient), focus cannot be detected, and if at least one island has low contrast, focus can be detected. . It is determined in step (#605) whether or not this focus cannot be detected. If the focus cannot be detected, a flag indicating low contrast (
LCONF) and return (step 71).
606). On the other hand, if it is determined that focus detection is possible,
It is determined in step (#608) whether or not the flag (LSNF) indicating that low contrast scanning is in progress is set, and if it is set, the AF lens is being driven, so the subroutine to stop the lens is executed (step #609). After executing, the process advances to step (#610). Here, the lens stop subroutine (detailed flowchart is not shown) is as follows:
After controlling the motor drive circuit (MDI) to stop driving the AF lens, the flag (LMVF) is reset.

前記ステップ(#608)での判定の結果、フラグ(L
SNF)がセットされていないときはそのままステップ
(#610)へ進む。
As a result of the determination in the step (#608), the flag (L
SNF) is not set, the process directly advances to step (#610).

ステップ(#610)ではフラグ(LCONF)をリセ
ットし、その後、デフォーカス量を算出し、そのデフォ
ーカス量に、デフォーカス量をAFレンズ駆動パルス数
に変換するための係数KLを乗じて、AFレンズ駆動パ
ルス数N1を求める(ステップ#615〜4618)。
In step (#610), the flag (LCONF) is reset, and then the defocus amount is calculated, and the defocus amount is multiplied by a coefficient KL for converting the defocus amount into the number of AF lens driving pulses, and the AF The number N1 of lens drive pulses is determined (steps #615 to #4618).

次に、ステップ(#620)でデフォーカス量の絶対値
が合焦範囲内か否かを判定する。ここでは、デフォーカ
ス量の絶対値が200μm以内なら合焦範囲内とする。
Next, in step (#620), it is determined whether the absolute value of the defocus amount is within the focusing range. Here, if the absolute value of the defocus amount is within 200 μm, it is considered to be within the focusing range.

この判定の結果、合焦範囲内ならば合焦状態であること
を示すフラグ(AFEF)をセットし、合焦範囲外なら
ばフラグ(AFEF)をリセットしてリターンする(ス
テップ#625.662g)。
As a result of this determination, if it is within the focusing range, a flag (AFEF) indicating that it is in focus is set, and if it is outside the focusing range, the flag (AFEF) is reset and the process returns (step #625.662g). .

第15図のフローチャートに戻って説明を続ける。上記
測距演算のサブルーチン(ステップ#465)からリタ
ーンした後は、ステップ(#478)でオートワイド中
であることを示すフラグ(AWNF)がセットされてい
るか否かを判定する。このフラグ(AWNF)がセット
されていればステップ($1480)でAW中処理のサ
ブルーチンを実行するが、最初は、フラグ(AWNF)
はセットされていないので、そのままステップ(#48
5)へ進む、ステップ(#485)では、広視野モード
でレリーズスイッチ(S2)がONされて以降(以下r
 52ON以降」という)のシーフェンスを実行中であ
ることを示すフラグ(82ONF)がセ・ントされてい
るか否かを判定する。フラグ(32ONF)がセットさ
れていれば、広視野モードにおいて実行されるルーチン
(ステップ#490. #495)を実行してリターン
するが、最初の測距ではフラグ(32ONF)がセット
されていないので、ステップ(#500)へ進んでロー
コン状態であることを示すフラグ(LCONF)がセ・
ントされているか否かを判定する。このフラグ(LCO
NF)がセットされていればステップ(#501)以降
のローコン時の処理を実行するが、この時点ではセット
されていないものとしてステップ(#520)へ進む。
Returning to the flowchart in FIG. 15, the explanation will be continued. After returning from the distance measurement calculation subroutine (step #465), it is determined in step (#478) whether a flag (AWNF) indicating that auto-wide is in progress is set. If this flag (AWNF) is set, the AW processing subroutine is executed in step ($1480), but at first, the flag (AWNF) is set.
is not set, so continue with step (#48)
Proceed to step 5). In step (#485), after the release switch (S2) is turned on in wide-field mode (r
It is determined whether or not a flag (82ONF) indicating that sea fencing is being executed (after "52ON") is set. If the flag (32ONF) is set, the routine executed in wide field mode (steps #490 and #495) will be executed and the process will return, but since the flag (32ONF) is not set during the first distance measurement, , proceed to step (#500) and check that the flag (LCONF) indicating the low contrast state is set.
is being written. This flag (LCO
If NF) is set, the low contrast processing from step (#501) onwards is executed, but at this point it is assumed that it is not set and the process proceeds to step (#520).

ステップ(#520)では、台無状態であることを示す
フラグ(AFEF)がセットされているか否かを判定す
る。そして、フラグ(AFEF)がセットされていれば
合焦のサブルーチン(ステップ#525)を実行し、リ
セットされていれば非合焦のサブルーチン(ステップ7
1528)を実行してリターンする。
In step (#520), it is determined whether a flag (AFEF) indicating a failed state is set. Then, if the flag (AFEF) is set, the focusing subroutine (step #525) is executed, and if the flag (AFEF) is reset, the out-of-focus subroutine (step #525) is executed.
1528) and return.

ここで、上記の合焦、非合焦のサブルーチンについて説
明する。
Here, the above-mentioned focusing/out-of-focus subroutine will be explained.

まず、合焦のサブルーチンを第20図に示す。First, the focusing subroutine is shown in FIG.

同サブルーチンが呼び出されると、レリーズスイッチ(
S2)のONを無効にするためのフラグ(S2INF)
(第14図のステップ#352参照)をリセットして、
ファインダ内の合焦の表示をONしてリターンする(ス
テップ#630. #635) 。
When the same subroutine is called, the release switch (
Flag (S2INF) to disable ON of S2)
(Refer to step #352 in Figure 14).
Turn on the focus display in the finder and return (steps #630 and #635).

次に、非合焦のサブルーチンを第21図に示す。Next, FIG. 21 shows an out-of-focus subroutine.

同サブルーチンが呼び出されると、レリーズスイッチ(
S2)のONを無効にするためのフラグ(S2INF)
をセットし、ファインダ内の合焦の表示をOFFする(
ステップ#640. #642)。続いて、測距演算(
第15図のステップ#465)で算出されたAFレンズ
駆動パルス数N1に従って、レンズ駆動のサブルーチン
を実行した後、タイマ割り込みを許可する(ステップ#
645. #648)、  そして、AFレンズが駆動
中であることを示すフラグ(LMVF)がリセットされ
ているか否かの判定を一定時間間隔で繰り返し実行しな
がら、AFレンズが停止するのを待ち、AFレンズが停
止すればリターンする(ステップ#650. #655
)。ここで、ステップ(#645)のレンズ駆動のサブ
ルーチン(詳細フローチャートは図示せず)は、後述の
ズームレンズ群の駆動における駆動量のサブルーチン(
第41図)に対応するものであり、このサブルーチンに
より、フラグ(IJVF)がセットされて駆動量N1又
はNが設定された後、AFレンズの駆動(AFモータ(
Ml)への通電)が開始される。そして、フラグ(LM
VF)は、前述したように、所定のAFレンズの駆動が
終了すると駆動を制御するカウンタ割り込み又はタイマ
割り込みによってリセットされる。
When the same subroutine is called, the release switch (
Flag (S2INF) to disable ON of S2)
and turn off the focus display in the viewfinder (
Step #640. #642). Next, distance measurement calculation (
After executing the lens drive subroutine according to the number of AF lens drive pulses N1 calculated in step #465 in FIG.
645. #648) Then, while repeatedly determining whether or not the flag (LMVF) indicating that the AF lens is being driven has been reset at regular time intervals, wait for the AF lens to stop, and then If stops, return (step #650. #655
). Here, the lens drive subroutine (detailed flowchart is not shown) in step (#645) is the drive amount subroutine (detailed flowchart is not shown) for driving the zoom lens group, which will be described later.
This subroutine corresponds to FIG. 41), and after the flag (IJVF) is set and the drive amount N1 or N is set, the AF lens is driven (the AF motor (
energization to Ml) is started. And the flag (LM
As described above, when the driving of a predetermined AF lens is completed, it is reset by a counter interrupt or a timer interrupt that controls the driving.

第15図のフローチャートに戻り、ステップ(#500
)でローコン状態を示すフラグ(LCONF)がセ・ン
トされていると判定された場合について説明する。
Returning to the flowchart in Figure 15, step (#500
), it is determined that the flag (LCONF) indicating the low contrast state is set.

このフラグ(LCONF)がセットされていれば、レリ
ーズを不許可とするためにフラグ(S2INF)をセッ
トして(ステップ#501)、ローコンスキャン禁止を
示すフラグ(LSINF)がセットされているか否かを
ステップ(#502)で判定し、フラグ(LSINF)
がまだセットされていなければ、ローコンスキャンのサ
ブルーチン(ステップ11505)を実行してリターン
する。
If this flag (LCONF) is set, a flag (S2INF) is set to disallow release (step #501), and a flag (LSINF) indicating low contrast scan prohibition is set. In step (#502), the flag (LSINF) is set.
If it has not been set yet, the low contrast scan subroutine (step 11505) is executed and the process returns.

ここで、上記ローコンスキャンのサブルーチンを第22
図に示す。同サブルーチンは、AFレンズの位置が被写
体に合焦するレンズ位置から大きく離れた位置にあるた
めにローコンとなっている被写体に焦点合わせをするた
めのルーチンである。
Here, the above low-contrast scan subroutine is executed in the 22nd
As shown in the figure. This subroutine is a routine for focusing on a subject that has low contrast because the AF lens position is far away from the lens position where the subject is focused.

このサブルーチンが呼び出されると、まず、ローコンス
キャン中であることを示すフラグ(LSNF)がセット
されているか否かをステップ(#670)で判定する。
When this subroutine is called, first, it is determined in step (#670) whether or not a flag (LSNF) indicating that low contrast scanning is in progress is set.

最初はセットされていないのでステ・ンプ(#672)
へ進み、フラグ(LSNF)をセットして、レンズ駆動
量Nに正の大きな値NLGを設定し、前記のレンズ駆動
のサブルーチンを実行してリターンする(ステップ#6
72〜#678)。このような動作によりローコンスキ
ャンが開始されるが、ここでは、ローコンスキャン中は
、主にAF制御(自動的に焦点を合わせるための制御)
の動作のみを考えるものとする。
Since it is not set at first, step (#672)
Step #6 sets the flag (LSNF), sets the lens drive amount N to a large positive value NLG, executes the lens drive subroutine, and returns (step #6).
72~#678). Low contrast scanning is started by such an operation, but here, during low contrast scanning, AF control (control for automatically focusing) is mainly used.
Let us consider only the operation of .

上記ローコンスキャン開始のレンズ駆動により、次の測
距は繰り出し方向にAFレンズを駆動しながらの測距と
なる。そして、次の測距演算(第15図のステップ#4
65)で焦点検出が可能となれば、その時点で直ちにA
Fレンズの駆動を停止させ、合焦/非合焦の判定後、焦
点合わせのシーフェンスを実行する(第15図のステッ
プ#520〜#528) 。
By driving the lens at the start of the low-contrast scan, the next distance measurement will be performed while driving the AF lens in the extending direction. Then, the next distance measurement calculation (step #4 in Fig. 15) is performed.
65), if focus detection becomes possible, at that point A
After stopping the driving of the F lens and determining whether the lens is in focus or out of focus, sea fencing for focusing is executed (steps #520 to #528 in FIG. 15).

他方、次の測距の結果、再びローコンと判定されたなら
ば、再度ローコンスキャンのサブルーチンを実行する(
第15図のステップ#501〜#505)。
On the other hand, if the next distance measurement results in a low contrast determination, the low contrast scan subroutine is executed again (
Steps #501 to #505 in FIG. 15).

再度ローコンスキャンのサブルーチンが実行された時点
では、フラグ(LSNF)がセットされているので、A
Fレンズの終端を示すフラグ(LEEDF)がセットさ
れるまで、繰り出し方向にAFレンズを駆動しながら測
距を繰り返す(ステップ#670. #680) 。
When the low contrast scan subroutine is executed again, the flag (LSNF) is set, so A
Distance measurement is repeated while driving the AF lens in the extending direction until the flag (LEEDF) indicating the end of the F lens is set (steps #670 and #680).

そして、ステップ(#670)でフラグ(LEEDF)
がセットされていると判定されたならば、近端か無限遠
端かをステップ(#690)で判定する。最初は繰り出
し方向(近方向)にAFレンズを駆動してし)るので、
Y e sと判定されてステップ($692)へ進み、
レンズ駆動量Nに負の大きな値−NLGを設定して、レ
ンズ駆動を開始する(ステップ#695) 、  この
駆動で【よ繰り込み方向(無限遠方向)にAFレンズを
駆動しながら測距を繰り返すが、その間口−コン状態が
続き、ステップ(11690)で無限遠端(近端でなし
))と判定されたときには、ローコンスキャン中を示す
フラグ(LSNF)をリセットし、ローコンスキャン禁
止を示すフラグ(LSINF)をセットして、このロー
コンスキャンの実行を完了する(ステ・ンプ$1700
. #705)。
Then, in step (#670), the flag (LEEDF) is set.
If it is determined that is set, it is determined in step (#690) whether it is the near end or the infinitely far end. At first, the AF lens is driven in the extending direction (near direction), so
It is determined Yes and proceeds to step ($692),
Set the lens drive amount N to a large negative value -NLG and start lens drive (step #695).With this drive, [distance measurement is repeated while driving the AF lens in the direction of refocusing (toward infinity)] However, if the mouth-con state continues and it is determined in step (11690) that the end is infinite (none at the near end), the flag (LSNF) indicating that low-contrast scanning is in progress is reset, and low-contrast scanning is prohibited. Set the flag (LSINF) to complete the execution of this low contrast scan (step $1700)
.. #705).

第15図のフローチャートに戻って説明を続1する。上
記のようにローコンスキャンでは、焦点検出不能(LC
ONF=1)の間はAFレンズが無限遠端に達するまで
、ステップ(71501)→(#502)→(#505
)の経路を通って、ステップ(#55)→(#60)→
(#55)のループ(第10図)を繰り返し実行する。
Returning to the flowchart of FIG. 15, the explanation will be continued. As mentioned above, in low contrast scanning, focus cannot be detected (LC
ONF=1), steps (71501) → (#502) → (#505) until the AF lens reaches the infinity end.
), step (#55) → (#60) →
The loop (#55) (FIG. 10) is repeatedly executed.

そして、ローコンスキャンが完了しても焦点検出可能と
ならない場合は、ステップ(#502)でローコンスキ
ャン禁止を示すフラグ(LSINF)がセットされてい
ると判定されてステップ(150g)へ進み、オートワ
イド禁止を示すフラグ(AWINF)、オートワイド中
であることを示すフラグ(AWNF)がセットされてい
るか否かを判定する(ステップ#508. #510)
。最初はいずれのフラグもセットされていないので、A
W開始のサブルーチン(ステップ#515)を実行して
リターンすることになる。
If focus detection is not possible even after the low-contrast scan is completed, it is determined in step (#502) that the flag (LSINF) indicating low-contrast scan inhibition is set, and the process proceeds to step (150g). Determine whether the flag indicating auto-wide prohibition (AWINF) and the flag indicating auto-wide operation (AWNF) are set (steps #508 and #510).
. Initially, neither flag is set, so A
The W start subroutine (step #515) is executed and the process returns.

ここで、このAW開始(オートワイド開始)のサブルー
チンを第23図に示す。同サブルーチンが呼び出される
と、オートワイドモードの有効/無効を切り換えるスイ
ッチ(SaW)がONされているか否かを判定し、OF
Fならばオートワイド禁止を示すフラグ(AWINF)
をセットしてリターンする(ステップ$1720. #
’725)。他方、ステップ(#720)でスイッチ(
Saw)がONされていると判定された場合には、目標
焦点距離ftを現在焦点距離f、の1/2に設定し、目
標焦点距離ftとズームレンズの最短焦点距離f、。と
を比較する(ステップ#730. #732)。そして
、L<f−ニーならば目標焦点距離ftを最短焦点距離
fa:nに設定し直した後ステップ(#735)へ進み
、ft≧fm:nならばそのままステップ(#735)
へ進む。
FIG. 23 shows a subroutine for starting AW (starting auto wide). When this subroutine is called, it is determined whether the switch (SaW) for enabling/disabling auto wide mode is ON, and
If F, flag indicating auto wide prohibition (AWINF)
Set and return (step $1720. #
'725). On the other hand, in step (#720) switch (
Saw) is turned on, the target focal length ft is set to 1/2 of the current focal length f, and the target focal length ft is the shortest focal length of the zoom lens. (Steps #730 and #732). Then, if L<f-knee, set the target focal length ft to the shortest focal length fa:n and proceed to step (#735); if ft≧fm:n, continue to step (#735)
Proceed to.

ステップ(#735)ではオートワイド中であることを
示すフラグ(AWNF)をセットし、その後リターンす
る。
In step (#735), a flag (AWNF) indicating that auto-wide is in progress is set, and then the process returns.

以下、オートワイドのシーフェンスについて説明する。The auto wide sea fence will be explained below.

このオートワイドのシーフェンスは、像倍率が大き過ぎ
るためにローコンとなっている場合に、ワイド側にズー
ミングすることにより焦点状態の検出に必要なコントラ
ストを得るためのシーフェンスである。本オートワイド
のシーフェンスも、前述のローコンスキャンと同様に、
主にAF制御について説明する。上記のAW開始のサブ
ルーチン(ステップ#515)によりオートワイドが開
始されたならば、次のAF制御では、オートワイド中で
あることを示すフラグ(AWNF)がセットされた状態
でTR8のサブルーチン(ステップ#450)が呼び出
される。
This auto-wide sea fence is a sea fence for obtaining the contrast necessary for detecting the focus state by zooming to the wide side when the image magnification is too large and the contrast is low. This auto wide sea fence is also similar to the low-con scan mentioned above.
AF control will mainly be explained. Once auto-wide is started by the above AW start subroutine (step #515), in the next AF control, the flag (AWNF) indicating that auto-wide is in progress is set, and the subroutine of TR8 (step #450) is called.

二こで、このTR8のサブルーチンを第17図に示す。FIG. 17 shows this subroutine of TR8.

同サブルーチンが呼び出されると、まず、CCD積分開
始タイミングを示すデータの転送を指示するフラグ(I
TGTF)がセットされているか否かをステップ(#5
50)で判定する。このフラグ(ITGTF)がセット
されているならば、CCD積分開始タイミングをレンズ
に知らせるべくレンズ交信(IV)を実行し、ズーミン
グにより変化するレンズデータを受信することを示すフ
ラグ(RCVF)をセットしてリターンする(ステップ
#555. #56B)。他方、ステップ(#550)
でフラグ(ITGTF)がセットされていないと判定さ
れたならば、ステップ(#560)へ進んでフラグ(A
WNF)がセットされているか否かを判定する。
When this subroutine is called, first, a flag (I
TGTF) is set or not in step (#5
50). If this flag (ITGTF) is set, lens communication (IV) is executed to notify the lens of the CCD integration start timing, and a flag (RCVF) is set to indicate that lens data that changes due to zooming is to be received. and return (step #555. #56B). On the other hand, step (#550)
If it is determined that the flag (ITGTF) is not set, proceed to step (#560) and set the flag (A
WNF) is set.

このフラグ(AWNF)がセットされていれば、ズーム
駆動速度をセットして、CCD積分開始タイミングを示
すデータと目標焦点距離ftをレンズに転送するために
レンズ交信(V)を実行し、レンズデータの受信を示す
フラグ(RC,VF)をセットしてリターンする(ステ
ップ#563. #565. #568)。この交信に
より、レンズ側ではレンズデータの計算及びズーミング
を開始する。これに対し、フラグ(ITGTF)及び(
AWNF)のいずれもがセットされていなければ、レン
ズ交信を実行せずにリターンする。なお、ステップ(#
563)においてズーム駆動速度をボディで設定する理
由は、撮影条件に応じたズーム速度を設定するためであ
る。
If this flag (AWNF) is set, the zoom drive speed is set, lens communication (V) is executed to transfer the data indicating the CCD integration start timing and the target focal length ft to the lens, and the lens data is The flags (RC, VF) indicating reception are set and the process returns (steps #563, #565, and #568). Through this communication, the lens side starts calculation of lens data and zooming. On the other hand, the flag (ITGTF) and (
AWNF) is not set, the process returns without executing lens communication. In addition, step (#
The reason why the zoom drive speed is set by the body in 563) is to set the zoom speed according to the shooting conditions.

次に、ズーミングによって変化するレンズデータを受信
するRCVのサブルーチンを第18図に示す。同サブル
ーチンが呼び出されると、まず、レンズデータの受信を
示すフラグ(RCVF)がセットされているか否かをス
テップ(#570)で判定する。
Next, FIG. 18 shows an RCV subroutine for receiving lens data that changes due to zooming. When this subroutine is called, first, it is determined in step (#570) whether or not a flag (RCVF) indicating reception of lens data is set.

このフラグ(RCVF)がセットされていれば、レンズ
データを受信するためにレンズ交信(Vl)を実行し、
フラグ(RCVF)をリセットしてリターンする(ステ
ップ#575. #580)。他方、フラグ(RCVF
)がセットされていなければ、レンズ交信(Vl)を実
行することなくリターンする。
If this flag (RCVF) is set, lens communication (Vl) is executed to receive lens data,
The flag (RCVF) is reset and the process returns (steps #575 and #580). On the other hand, the flag (RCVF
) is not set, the process returns without executing lens communication (Vl).

ここで、上記の処理で使用されるレンズ交信(■)、 
(V)、  及び(Vl)の各サブルーチンについてマ
ドめて説明する。
Here, the lens communication (■) used in the above processing,
Each of the subroutines (V) and (Vl) will be explained in detail.

レンズ交信(IV)のサブルーチンを第33図に、レン
ズ交信(V)のサブルーチンを第34図に、レンズ交信
(VI)のサブルーチンを第35図に示す。
A subroutine for lens communication (IV) is shown in FIG. 33, a subroutine for lens communication (V) is shown in FIG. 34, and a subroutine for lens communication (VI) is shown in FIG.

これらの各サブルーチンが呼び出されると、まず、それ
ぞれのモード(IV)、  (V)、  及び(Vl)
を示すデータをセットして、端子(C3LE)を“Lo
w”レベルとし、ボディとレンズの種類を判別するため
の2バイトのシリアル入出力を行ない、続いて、それぞ
れのモードを示すために1バイトのデータをレンズにシ
リアル出力する(ステップ#1060〜$11068゜
#1080〜# 1088.  # 1100〜#11
08)。次に、レンズ交信(IV)ではCCD積分開始
タイミングを知らせるための転送であることを示す2バ
イトのボディ状態データをシリアル出力しくステップ#
1070)、レンズ交信(V)ではレンズ交信(TV)
と同様の2バイトのボディ状態の他に1バイトの目標焦
点距離f。
When each of these subroutines is called, the respective modes (IV), (V), and (Vl) are first set.
Set the data indicating “Lo” to the terminal (C3LE).
w” level, performs 2-byte serial input/output to determine the type of body and lens, and then serially outputs 1-byte data to the lens to indicate each mode (step #1060~$ 11068° #1080~#1088. #1100~#11
08). Next, in lens communication (IV), step #
1070), lens communication (TV) in lens communication (V)
In addition to the 2-byte body state similar to 1-byte target focal length f.

のデータをシリアル出力して(ステップ#1o90.#
1092)、端子(C3LE)を’High”レベルに
してリターンする(ステップ#1075. #1095
)。また、レンズ交信(Vl)では、2バイトのレンズ
状態データ(そのレンズ交信(Vl)を実行した時点の
レンズ状態データ)と、ズーミングによって変化する4
バイトのデータ(その前に実行したレンズ交信(TV)
又は(V)の時点での、焦点距離によって変化するレン
ズデータ)をシリアル入力して、端子(C8LE)を°
’High′°レベルとしてリターンする(ステップ#
1110〜#1115)。
Output the data serially (step #1o90.#
1092), set the terminal (C3LE) to 'High' level and return (step #1075. #1095
). In addition, in lens communication (Vl), 2 bytes of lens state data (lens state data at the time when the lens communication (Vl) is executed) and 4 bytes that change due to zooming are used.
Byte data (lens communication (TV) performed before that)
or (V), serially input the lens data that changes depending on the focal length) and connect the terminal (C8LE) to °
Return as 'High'° level (step #
1110~#1115).

第15図のフローチャートに戻ってステ・ツブ(#45
0)から説明を続ける。オートワイド中であることを示
すフラグ(AWNF)がセットされている間は、TR3
のサブルーチン(ステップ#450)でレンズ交信(V
)によりCCD積分開始タイミングを示すデータと目標
焦点距離f、をレンズに転送し、CCD積分及びデータ
ダンプを行なった後、RCVのサブルーチンでレンズ交
信(Vl)によりCCD積分開始時のレンズデータを入
力して、測距演算を実行する(ステップ#450−14
65)。次のステ・ツブ(#478)では、フラグ(A
WNF)がセットされているのでYesと判定され、ス
テップ(#480)へ進んでAW中処理(オートワイド
中処理)のサブルーチンを実行する。
Returning to the flowchart in Figure 15, Step 3 (#45)
The explanation continues from 0). While the flag (AWNF) indicating that auto wide is in progress is set, TR3
In the subroutine (step #450), lens communication (V
) to transfer the data indicating the CCD integration start timing and the target focal length f to the lens, perform CCD integration and data dump, and then input the lens data at the time of CCD integration start through lens communication (Vl) in the RCV subroutine. and executes distance measurement calculation (step #450-14
65). In the next step (#478), the flag (A
WNF) is set, the determination is Yes, and the process proceeds to step (#480) to execute the subroutine of AW mid-processing (auto wide mid-processing).

このAW中処理のサブルーチンを第24図に示す。同サ
ブルーチンが呼び出されると、まず、前記レンズ交信(
Vl)によりレンズから受信したレンズ状態データにお
いて、ズームレンズ群駆動中を示すフラグ(ZMVF)
がセットされているか否かをステップ(#750)で判
定する。このフラグ(ZMVF)がセットされていなけ
れば、ズーム完了(オートワイドを実行しても焦点検出
不能)と判断して、オートワイド中を示すフラグ(AW
NF)をリセットし、オートワイド禁止を示すフラグ(
AWINF)をセットし、CCD積分開始タイミングを
知らせるデータの転送を指示するフラグ(ITGTF)
をセットしてリターンする(ステップ#750. #7
70− #780)。
A subroutine for this AW processing is shown in FIG. When this subroutine is called, first, the lens communication (
In the lens status data received from the lens by Vl), a flag (ZMVF) indicating that the zoom lens group is being driven
It is determined in step (#750) whether or not is set. If this flag (ZMVF) is not set, it is determined that zooming is complete (focus cannot be detected even if auto wide is executed), and the flag (AW
NF) and reset the auto wide prohibition flag (
AWINF) and a flag (ITGTF) that instructs the transfer of data that informs the CCD integration start timing.
Set and return (step #750. #7
70- #780).

これに対し、ステップ(#750)でフラグ(ZMVF
)がセットされていると判定された場合には、ズーミン
グはまだ完了していないので、オートワイドにおけるズ
ーミング中の測距で焦点状態の検出に必要なコントラス
トが得られたか否かをステップ(#755)で判定する
。ステップ(#755)の判定の結果、フラグ(LCO
)IP)がセットされていれば焦点検出不能であったの
で、次の測距を繰り返す。他方、フラグ(LCONF)
がセットされていなければ焦点検出可能となったので、
ズームレンズ群の停止を指示するデータ(ボディ状態デ
ータ)をレンズに出力するレンズ交信(II)を実行し
、レンズ状態を入力するレンズ交信(III)を一定時
間間隔で繰り返し実行しながら、ズームレンズ群駆動中
を示すフラグ(ZMVF)がリセットされるのを待つ(
ステップ#755〜#768)。レンズ交信(I[I)
によりレンズから受信したレンズ状態データにおいてフ
ラグ(ZMVF)がリセットされていれば、ズームレン
ズ群が停止したと判断し、オートワイドを終了すべく、
フラグ(AWNF)をリセット フラグ(AWINF)
をセット、フラグ(ITGTF)をセットしてリターン
する(ステップ#770〜#780)。なお、ステップ
(#780)でCCD積分開始タイミングを知らせるデ
ータの転送を指示するフラグ(ITGTF)をセットす
る理由は、ズーミング終了時にTR8及びRCVのサブ
ルーチン(ステップ#450. #460)を実行して
ズームレンズ群が停止した位置でのレンズデータを入力
するためである。
On the other hand, in step (#750) the flag (ZMVF
) is set, zooming has not yet been completed, so step (# 755). As a result of the determination in step (#755), the flag (LCO
) IP) is set, it means that focus cannot be detected, and the next distance measurement is repeated. On the other hand, the flag (LCONF)
If the focus is not set, the focus can now be detected.
While executing lens communication (II) that outputs data (body status data) that instructs the zoom lens group to stop to the lens, and repeatedly executing lens communication (III) that inputs the lens status at fixed time intervals, the zoom lens Wait for the flag (ZMVF) indicating that group driving is in progress to be reset (
Steps #755 to #768). Lens communication (I[I)
If the flag (ZMVF) is reset in the lens status data received from the lens, it is determined that the zoom lens group has stopped, and in order to end auto wide,
Reset flag (AWNF) Flag (AWINF)
is set, a flag (ITGTF) is set, and the process returns (steps #770 to #780). The reason for setting the flag (ITGTF) instructing the transfer of data that informs the CCD integration start timing in step (#780) is to execute the TR8 and RCV subroutines (steps #450 and #460) at the end of zooming. This is to input lens data at the position where the zoom lens group has stopped.

第15図のフローチャートに戻って説明を続ける。オー
トワイド中は、上記のAW中処理(ステップ#480)
を行ないながら、焦点検出不能(ローコン)の間、ステ
ップ(#501)→(#502)→(#508)→(#
510)の経路を通って、ステップ(#55)→(#6
0)→(#55)のループ(第10図)を繰り返し実行
することにより、測距を繰り返す。そして、オートワイ
ド中に焦点検出可能となった場合は、AW中処理(ステ
ップ$1480 )でズームレンズ群を停止させて通常
の測距に復帰し、焦点合わせのシーフェンスを実行する
(ステップ#520〜#528)。
Returning to the flowchart in FIG. 15, the explanation will be continued. During auto wide, perform the above AW process (step #480)
While doing this, while the focus cannot be detected (low contrast), step (#501) → (#502) → (#508) → (#
510), step (#55) → (#6
The distance measurement is repeated by repeatedly executing the loop (FIG. 10) of 0)→(#55). If focus detection becomes possible during auto wide, the zoom lens group is stopped during AW processing (step #1480), normal distance measurement is resumed, and focus sea fence is executed (step # 520~#528).

以上説明したAF制御のサブルーチン(第15図)にお
いて、82ON以降のシーフェンスを実行中であること
を示すフラグ(32ONF)がセットされている場合は
、ステップ(1485)でYesと判定されてステップ
(#490)へ進むが、このシーフェンスは広視野モー
ドでのみ実行されるので後述することとする。
In the AF control subroutine (Fig. 15) explained above, if the flag (32ONF) indicating that sea fencing is being executed after 82ON is set, it is determined Yes in step (1485) and step The process proceeds to (#490), but since this sea fence is executed only in the wide field of view mode, it will be described later.

二こで、オートワイドのシーフェンスを実行することに
よって得られる効果についてまとめて説明する。fJs
図(a)に示すように、像倍率が大きすぎて被写体が測
距アイランド(イ)〜(ニ)からはずれた場合に、ワイ
ド側へズーミングして像倍率を小さくしながら測距を繰
り返すと、同図(b)に示すように被写体が測距アイラ
ンド内に入ってきて焦点検出可能となる。また、人の顔
等を撮影する場合(図示せず)においても、倍率が大き
すぎると測距アイランドが頬等にががって、コントラス
トが低く焦点検出不能となるが、少しワイド側へズーミ
ングする二とにより、一定置上のコントラストが得られ
て焦点検出可能となることがある。さらに、オートワイ
ドのシーフェンスは、ズーミングする目標の焦点距離f
Iを、現在の焦点距離fゎを考慮して決定(本実施例で
は目標焦点距離ftを現在焦点距離f。の1/2に設定
)しているので、オートワイド中の測距で焦点検出不能
であっても、ズーミング完了した際に画角変化が大きす
ぎて(例えば、焦点距離が200mmから28mmへ変
化)撮影者に違和感を与える等の問題も生じない。
In this section, we will summarize the effects obtained by executing the auto wide sea fence. fJs
As shown in Figure (a), if the image magnification is too large and the subject moves away from the distance measurement islands (A) to (D), if you zoom to the wide side and repeat distance measurement while decreasing the image magnification, As shown in FIG. 3B, the subject enters the distance measurement island and the focus can be detected. Also, when photographing a person's face (not shown), if the magnification is too high, the distance measurement island will stick to the cheeks, resulting in low contrast and inability to detect focus, but it is possible to zoom slightly to the wide side. By doing so, a contrast over a certain position may be obtained and focus detection may be possible. In addition, the auto wide sea fence has a focal length f of the target to be zoomed.
Since I is determined by considering the current focal length f (in this example, the target focal length ft is set to 1/2 of the current focal length f), the focus can be detected by distance measurement during auto wide. Even if this is not possible, there will be no problem such as the angle of view changing too much (for example, the focal length changes from 200 mm to 28 mm) when zooming is completed, giving the photographer a sense of discomfort.

以上でオートワイドのシーフェンスの説明を終え、第1
4図のフローチャートに戻ってAF制御のサブルーチン
(ステップ#330)からリターンした以降から説明を
続ける、 AF制御のサブルーチンがらりターンすると、フィルム
感度Sv及び開放測光で測光された被写体輝度値BVi
を入力し、露出演算のサブルーチン(第25図)を実行
する(ステップ#332〜#33g)。同サブルーチン
が呼び出されると、まず露出値Evを、EV”BVe+
AV+++ Svニヨリ求メル。ココテ、AV@f;を
絞り値である。この露出値EVから所定のAEプログラ
ム線図に基づいてシャッター速度TVと絞り値AVを演
算により求め、リターンする(ステップ#790.87
95)。ここで、AEプログラム線図については、本発
明と直接関係がないので説明及び図を省略する。
This concludes the explanation of the auto wide sea fence, and the first
Returning to the flowchart in Figure 4, the explanation will be continued from after returning from the AF control subroutine (step #330). When the AF control subroutine turns around, the film sensitivity Sv and the subject brightness value BVi measured with open metering are determined.
is input, and the exposure calculation subroutine (FIG. 25) is executed (steps #332 to #33g). When the same subroutine is called, first the exposure value Ev is set to EV”BVe+
AV+++ Sv grinning request. Here, AV@f; is the aperture value. The shutter speed TV and aperture value AV are calculated from this exposure value EV based on a predetermined AE program diagram, and the process returns (step #790.87).
95). Here, the explanation and illustration of the AE program diagram will be omitted since it has no direct relation to the present invention.

露出演算を終えると、ステップ(#340)へ進んで表
示AEのサブルーチン(第26図)を実行する。
When the exposure calculation is completed, the process proceeds to step (#340) to execute the display AE subroutine (FIG. 26).

同サブルーチンでは、表示制御回路(DISPC)にシ
ャツター速度TV、  絞り値AV、  オートワイド
スイッチ(sAw)の0N10FF、  及び広視野モ
ードの有効/無効などを示すデータをシリアル出力し、
表示制御回路(DISPC)では、これらのデータに基
づ&Sてボディ上の表示部(DISP+) (第2図の
表示部(14))及びファインダ内の表示部(DISP
z) (第5図)に所定の表示を行なう(ステップ#8
00. #805)。この表示内容については、本発明
と直接関係がなし1ので説明を省略する。
In this subroutine, data indicating shutter speed TV, aperture value AV, auto wide switch (sAw) 0N10FF, and wide field mode enable/disable is serially output to the display control circuit (DISPC).
The display control circuit (DISPC) controls the display section (DISP+) on the body (display section (14) in Figure 2) and the display section in the finder (DISP+) based on these data.
z) (Fig. 5). (Step #8)
00. #805). The content of this display has no direct relation to the present invention1, so a description thereof will be omitted.

第14図のフローチャートに戻って説明を続(する。上
記のAE量関係表示を終えると、ズームレンズ群駆動中
を示すフラグ(ZMVF)がセ・ントされているか否か
をステップ(#345)で判定する。この判定の結果、
フラグ(ZMVF)がセットされていれば、パワーズー
ム中であるので、ステップ(#350)以降の露出制御
関係の判定は行なわずにステップ(#388)へ進み、
タイマ(T2)をリセットした後、再スタートさせてリ
ターンする。このタイマ(T2)は、撮影準備スイッチ
(Sl)のOFF又はパワーズーム操作停止から5秒間
ボディ上とファインダ内に表示を続けるためのタイマで
ある。
Returning to the flowchart in FIG. 14, the explanation will be continued. When the above-mentioned AE amount relationship display is finished, it is checked whether the flag (ZMVF) indicating that the zoom lens group is being driven is set (#345). As a result of this judgment,
If the flag (ZMVF) is set, it means that power zooming is in progress, so the process proceeds to step (#388) without making any determinations related to exposure control after step (#350).
After resetting the timer (T2), restart and return. This timer (T2) is a timer that continues to display on the body and in the viewfinder for 5 seconds after the photographing preparation switch (Sl) is turned off or the power zoom operation is stopped.

他方、ステップ(#345)の判定の結果、フラグ(Z
MVF)がセットされていなければステップ(1135
0)へ進み、32ON以降のシーフェンスを実行中であ
ることを示すフラグ(82ONF)がセットされている
か否かを判定する。この判定の結果、フラグ(82ON
F)がセットされていれば、ステップ(#400)へ進
んで露出制御の処理を行なうが、ステップ(#400)
以降については後述する。最初はフラグ(82ONF)
はセットされていないのでステップ(#352)へ進み
、レリーズスイッチ(S2)が無効であることを示すフ
ラグ(S2INF)がセットされているか否かを判定す
る。このフラグ(S2INF)は合焦/非合焦の判定の
サブルーチン(第15図)内でセットされるフラグであ
り、非合焦又はローコンのときにセットされてレリーズ
が許可されない。すなわち、このフラグ(S2INF)
が。
On the other hand, as a result of the determination in step (#345), the flag (Z
MVF) is not set, step (1135
0), and it is determined whether a flag (82ONF) indicating that the sea fencing after 32ON is being executed is set. As a result of this judgment, the flag (82ON
If F) is set, the process proceeds to step (#400) and performs exposure control processing; however, step (#400)
The rest will be described later. First is the flag (82ONF)
Since this is not set, the process proceeds to step (#352), and it is determined whether or not a flag (S2INF) indicating that the release switch (S2) is invalid is set. This flag (S2INF) is set in the in-focus/out-of-focus determination subroutine (FIG. 15), and is set when the focus is out of focus or when the contrast is low, and release is not permitted. That is, this flag (S2INF)
but.

セットされていれば、レリーズスイッチ($2)の0N
10 F Fを判定することなくステップ(#385)
へ進み、撮影準備スイッチ(Sl)がONされているか
否かを判定する。この判定の結果、スイッチ(Sl)の
ON状態が続いているならば撮影準備中であるので、タ
イマ(T2)をリセットした後、再スタートさせてリタ
ーンする(ステップ#388)。もし、スイッチ(Sl
)が○FF状態ならば、タイマ(T2)のスタート後5
秒以上経過したが否かをステップ(#390)で判定す
る。この判定の結果、5秒以内ならばフラグ(SION
F)をリセットせずにリターンし、再度81ONのサブ
ルーチンを実行する(第10図のステップ#60. #
55) 、  これに対し、5秒以上経過しているなら
ば、撮影者に撮影意思がなくなったと判断し、5IOH
のサブルーチンをこれ以上実行しないようにするためフ
ラグ(SIONF)をリセットする(ステップ#420
)。そして、次のスイッチ(Sl)のON又はパワーズ
ームからの起動(SLONのサブルーチンの実行)を可
能とするため、割り込み(SIINT)及び(C3LE
INT)を許可してリターンする(ステップ#425)
If set, release switch ($2) is 0N.
10 Step without determining F F (#385)
Then, it is determined whether the photographing preparation switch (Sl) is turned on. As a result of this determination, if the switch (Sl) continues to be in the ON state, it means that preparations are being made for photographing, so after resetting the timer (T2), the process restarts and returns (step #388). If the switch (Sl
) is in the FF state, 5 after the timer (T2) starts
It is determined in step (#390) whether or not more than a second has elapsed. As a result of this judgment, if it is within 5 seconds, the flag (SION
Return without resetting F) and execute the 81ON subroutine again (step #60 in Figure 10.
55) On the other hand, if more than 5 seconds have elapsed, it is determined that the photographer has no longer had the intention to take pictures, and the 5IOH
The flag (SIONF) is reset to prevent the subroutine from being executed any further (step #420
). Then, in order to enable the next switch (Sl) ON or startup from power zoom (execution of SLON subroutine), interrupt (SIINT) and (C3LE) are activated.
INT) and return (Step #425)
.

前記ステップ(#352)における判定の結果、レリー
ズスイッチ(S2)の無効を示すフラグ(S2INF)
がセットされていなければステップ(#355)へ進み
、レリーズスイッチ(S2)がONされているか否かを
判定する。この判定の結果、スイッチ(S2)がONさ
れていなければ、スイッチ(S2)が無効にされている
とき(S2INF= 1 )と同様に、ステップ(#3
85)以降の処理を実行する。
As a result of the determination in step (#352), a flag (S2INF) indicating that the release switch (S2) is invalid is set.
If not set, the process advances to step (#355) and it is determined whether the release switch (S2) is turned on. As a result of this determination, if the switch (S2) is not turned on, step (#3
85) Execute the following processing.

他方、スイッチ(S2)がONされていればステップ(
#362)へ進み、レンズからのパワーズームの割り込
みを受は付けないようにするために割り込み(C3LE
INT)を禁止し、82ON以降のシーフェンスを実行
することを示すためフラグ(82ONF)をセットした
後(ステップ#365)、ステップ(#370)へ進ん
で広視野モードであることを示すフラグ(WVF)がセ
ットされているか否かを判定する。この判定の結果、フ
ラグ(WWF)がセットされていなければ、通常の露出
制御を行なうためにステップ(#400)以降を実行す
るのであるが、ステップ(#400)以降については広
視野モードの説明の際に併せて説明することとする。
On the other hand, if the switch (S2) is turned on, step (
Go to #362) and set the interrupt (C3LE) to disable power zoom interrupts from the lens.
After setting a flag (82ONF) to indicate that sea fencing is to be executed after 82ON (step #365), the process proceeds to step (#370) and a flag (82ONF) indicating that the wide field of view mode is set is set (step #365). WVF) is set. As a result of this determination, if the flag (WWF) is not set, steps (#400) and subsequent steps are executed to perform normal exposure control, but explanations of the wide field mode will be explained for steps (#400 and subsequent steps). This will be explained at the same time.

ステップ(#370)における判定の結果、フラグ(W
WF)がセットされていれば、1.4倍にズーミングす
るために、まず、ファインダに表示されている撮影フレ
ームを0FFL、広視野モードを示すフラグ(WWF)
をリセットして、1.4倍ズームのサブルーチンを実行
する(ステップ#375〜1380) 、  ここで、
フラグmF)をリセットする理由は、レリーズスイッチ
(S2)が次々とONされたときに、1.4倍ずつズー
ムアツプし続けることを防止するためである。
As a result of the determination in step (#370), the flag (W
WF) is set, in order to zoom 1.4x, first set the shooting frame displayed in the viewfinder to 0FFL and set the wide field mode flag (WWF).
and execute the 1.4x zoom subroutine (steps #375 to 1380), where:
The reason for resetting the flag (mF) is to prevent the zoom from continuing to increase by 1.4 times when the release switch (S2) is turned on one after another.

上記の1.4倍ズームのサブルーチンを第27図に示す
、同サブルーチンが呼び出されると、まず、レンズの現
在の焦点距離f。を1.4倍して目標焦点距離f、とし
てセットする(ステップ9810)。続いて、広視野モ
ードのズーミングをするのに適したズーム速度を設定し
、これらの目標焦点距離f+とズーム速度をレンズ内マ
イコン(μC2)に転送するためにレンズ交!(IX)
のサブルーチンを実行する(ステップ#810〜#81
5)。
The 1.4x zoom subroutine described above is shown in FIG. 27. When the subroutine is called, first, the current focal length f of the lens is determined. is multiplied by 1.4 and set as the target focal length f (step 9810). Next, set the zoom speed suitable for zooming in wide-field mode, and change the lens to transfer these target focal length f+ and zoom speed to the microcomputer (μC2) inside the lens. (IX)
Execute the subroutine (steps #810 to #81
5).

このレンズ交信(IX)のサブルーチンを第38図に示
す。同サブルーチンが呼び出されると、まず、モード(
IX)を示すデータをセットし、端子(CSLE)を“
Low”レベルとして、ボディとレンズの種類を判別す
るための2バイトのシリアル入出力を行なう(ステップ
#1160〜#1165) 、  続いて、モード(■
)を示すために1バイトのデータをレンズにシリアル出
力し、ボディの状態を知らせるための2バイトのデータ
のシリアル出力、及び目標焦点距離ftを転送するため
の1バイトのデータのシリアル出力をレンズに対して行
なった後、端子(C3LE)を“High”レベルとし
てリターンする(ステップ#1168〜#1175)。
A subroutine for this lens communication (IX) is shown in FIG. When the subroutine is called, first the mode (
IX), and set the terminal (CSLE) to “
2-byte serial input/output is performed as "Low" level to determine the type of body and lens (steps #1160 to #1165), then the mode (■
), serially outputs 1 byte of data to the lens to indicate the body status, serially outputs 2 bytes of data to inform the body status, and serially outputs 1 byte of data to transfer the target focal length ft to the lens. After doing so, the terminal (C3LE) is set to the "High" level and the process returns (steps #1168 to #1175).

第27図のフローチャートに戻って説明を続ける。レン
ズ交信(IX)で目標焦点距離ftを転送した後は、レ
ンズ状態を調べるためのレンズ交信(In)を10m5
ecの間隔で繰り返し実行しながら、ズームレンズ群駆
動中を示すフラグ(ZMVF)がリセットされるのを待
つ(ステップ#818〜#825) 、  このフラグ
(ZMVF)がリセットされれば、ズームレンズは現在
焦点距離f0かも目標焦点距離f、までズーミングして
停止したと判断し、ズーミングで変化したレンズデータ
の入力を指示するフラグ(ITGTF)をセットしてリ
ターンする(ステップ#828)。
Returning to the flowchart in FIG. 27, the explanation will be continued. After transmitting the target focal length ft using lens communication (IX), perform lens communication (In) for 10m5 to check the lens condition.
While repeating the process at intervals of ec, wait for the flag (ZMVF) indicating that the zoom lens group is being driven to be reset (steps #818 to #825). If this flag (ZMVF) is reset, the zoom lens is activated. It is determined that the current focal length f0 has been zoomed to the target focal length f, and the process has stopped, sets a flag (ITGTF) that instructs input of lens data changed by zooming, and returns (step #828).

第14図のフローチャートに戻って説明を続ける。ステ
ップ(1380)の1.4倍ズームのサブルーチンから
りターンした時点では1.4倍のズーミングは完了して
いるので、ズーミング後の測距精度を向上させるために
再測距のシーフェンス(ステップ#330〜)を実行す
る。
Returning to the flowchart of FIG. 14, the explanation will be continued. When the 1.4x zoom subroutine in step (1380) returns, the 1.4x zooming has been completed, so in order to improve the distance measurement accuracy after zooming, the sea fence for re-distance measurement (step 1380) is completed. Execute #330~).

ここで、1.4倍ズーミングすることにょるデフォーカ
ス量の変化について説明する。デフォーカス量と焦点距
離との関係は、ニュートンの近似式よす xJ=f2           川■となる。ただし
、 X:無限遠からのデフォーカス量[mm]D:被写体ま
での距離[ma+コ f:撮影レンズの焦点距離[mm] である。
Here, a change in defocus amount due to 1.4 times zooming will be explained. The relationship between the amount of defocus and the focal length is expressed by Newton's approximation formula: xJ=f2. However, X: Defocus amount from infinity [mm] D: Distance to the subject [ma+f: Focal length of the photographing lens [mm].

二こで、1.4倍にズーミングすると焦点距離f゛はf
”= 1.4fとなるので、■式のfをf′で置き換え
るとxJ= (1,4f)2= 1.96f2−■とな
る。したがって、被写体までの距離りが一定であること
を考慮すると、無限遠からのデフォーカス量Xが約2倍
に拡大されることになる。
2, when zooming 1.4 times, the focal length f゛ is f
” = 1.4f, so replacing f in formula ■ with f' gives xJ = (1,4f)2 = 1.96f2 - ■. Therefore, considering that the distance to the subject is constant Then, the amount of defocus X from infinity will be approximately doubled.

このようなピント精度(測距精度)の悪化を防止するた
め、ステップ(#330)以降の再測距のシーフェンス
を実行する。この再測距のシーフェンスで再びAF制御
のサブルーチン(115図)が呼び出されると、CCD
積分開始タイミングを知らせるデータの転送を指示する
フラグ(ITGTF)がセットされているので、ステッ
プ(#450)のTR3のサブルーチン内においてレン
ズ交信(IV)を実行する。
In order to prevent such a deterioration in focus accuracy (distance measurement accuracy), sea fencing for remeasurement of distance is performed after step (#330). When the AF control subroutine (Fig. 115) is called again during this distance remeasurement sea fence, the CCD
Since the flag (ITGTF) instructing the transfer of data that informs the integration start timing is set, lens communication (IV) is executed in the TR3 subroutine of step (#450).

そして、CCD積分及びデータダンプの後、ズーミング
によって変化したレンズデータを入力するタメのレンズ
交信(Vl)を実行し、そのレンズデータを使用して測
距演算を実行する(ステップ#45゜〜#465) 、
  Mlいて、ステップ(#47g)へ進むが、オート
ワイド中であることを示すフラグ(AWNF)はセット
されていないのでそのままステップ(#485)へ進む
、  32ON以降のシーフェンスであることを示すフ
ラグ(32ONF)はセットされているので、ステップ
(#485)ではYesと判定されてステップ(#49
0)へ進む、ステップ(S490)では再測距がローコ
ンであったか否かを判定し、ローコンでなければそのま
まリターンし、ローコンであれば820−コンのサブル
ーチンを実行する(ステップ$1495) 。
After CCD integration and data dumping, lens communication (Vl) is executed to input the lens data changed by zooming, and distance measurement calculation is executed using the lens data (steps #45~#). 465),
M1 and proceed to step (#47g), but the flag (AWNF) indicating that auto-wide is in progress is not set, so proceed to step (#485). The flag indicating that it is a sea fence after 32 ON. (32ONF) is set, so the determination in step (#485) is Yes, and step (#49
In step (S490), it is determined whether or not the re-measured distance is a low contrast. If the distance is not a low contrast, the process returns directly, and if the distance is a low contrast, the subroutine 820-con is executed (step $1495).

この820−コンサブルーチンを第28図に示す。This 820-Con subroutine is shown in FIG.

同サブルーチンが呼び出されると、AFレンズ駆動パル
ス数N1を0としてリターンする(ステップ#830)
 、  これは、レリーズ中にAFレンズを駆動しない
ことを表わしている。焦点検出可能であった場合は、焦
点合わせの精度を高めるためにレリーズ中にAFレンズ
を駆動するが、焦点検出不能の場合にはレリーズ中はA
Fレンズを駆動しない。
When the same subroutine is called, the number of AF lens drive pulses N1 is set to 0 and returns (step #830).
, This indicates that the AF lens is not driven during release. If the focus can be detected, the AF lens is driven during the release to improve focusing accuracy, but if the focus cannot be detected, the AF lens is driven during the release.
Does not drive F lens.

第14図のフローチャートに戻り、再測距のシーフェン
スでAF制御のサブルーチン(ステップ#330)から
リターンした以降について説明を続ける。再測距後は、
1.4倍にズームアツプすることにより画面内の輝度も
変化しているので、AF制御のサブルーチンからリター
ンした後、再測光を実行してその情報を表示する(ステ
ップ#332〜#340)6そして、この時点ではフラ
グ(32ONF)がセットされているので、その後のス
テップ(S350)でYesと判定されてステップ(S
400)へ進み、露出制御を開始する。
Returning to the flowchart of FIG. 14, the description will continue after returning from the AF control subroutine (step #330) at the sea fence for distance measurement again. After re-measurement,
By zooming up to 1.4 times, the brightness within the screen has also changed, so after returning from the AF control subroutine, perform light metering again and display the information (steps #332 to #340)6. , since the flag (32ONF) is set at this point, it is determined Yes in the subsequent step (S350) and the step (S350) is determined as Yes.
400) to start exposure control.

露出制御のシーフェンスが開始されると、まず、レンズ
からのパワーズームの割り込みを受は付けないようにす
るために割り込み(C3LEINT)を禁止して、フラ
グ(S20)IF)をリセ・ソトする(ステップ#40
0、 S405) 、  そして、次に露出制御のサブ
ル−チンを実行する(ステップ#410)。
When exposure control sea fencing is started, first, interrupts (C3LEINT) are prohibited and the flag (S20) IF) is reset so as not to accept power zoom interrupts from the lens. (Step #40
0, S405), and then the exposure control subroutine is executed (step #410).

この露出制御のサブルーチンを第29図番こ示す。This exposure control subroutine is shown in FIG.

同サブルーチンが呼び出されると、まず、しIノーズの
制御を行なうべく所定の制御信号を出力する(ステップ
$1840) 、  これによって、図示しな髪1係上
部が外れて、ミラーアップ等のしIJ−ズ動作カマ行な
われる。次に、絞りを制御絞り値AV力で示す口径まで
絞り込ませる(ステップ11845) 、  そして、
最終測距時のデフォーカス量に対応したAFレンズの駆
動をレリーズ中に行な41、AFレンズカで停止するの
を待つ(ステップ#850)。続し)で、ステップ(S
855)でミラーアップが完了するのを待ち、ミラーア
ップが完了するとフォーカルブレーンシャッターの1幕
(先幕)を走行させる(ステップ#860)。そして、
露出時間カウント用タイマ(T3)をスタートさせてシ
ャッター速度TVに応じた実際の露出時間T5が経過す
るのを待つ(ステップ#860〜71870)。露出時
間Tsが経過すれば2幕(後幕)を走行させ、2幕走行
が完了する時間だけ待った後リターンする(ステップ#
875. S880)。
When this subroutine is called, it first outputs a predetermined control signal to control the IJ nose (step $1840).As a result, the upper part of the hair 1 (not shown) comes off, and the IJ nose is not shown. - The zoom movement is performed. Next, the aperture is narrowed down to the aperture indicated by the control aperture value AV force (step 11845), and
The AF lens is driven during release in accordance with the amount of defocus at the time of final distance measurement 41, and waits for the AF lens to stop (step #850). (continuation), step (S
Step 855) waits for the mirror up to be completed, and when the mirror up is completed, the first curtain (front curtain) of the focal brain shutter is run (step #860). and,
The exposure time counting timer (T3) is started and the actual exposure time T5 corresponding to the shutter speed TV is waited for to elapse (steps #860 to #71870). When the exposure time Ts has elapsed, the second curtain (second curtain) is run, and after waiting for the time to complete the second curtain run, the process returns (step #
875. S880).

S414図のフローチャートに戻って説明を続ける。上
記の露出制御のサブルーチン(ステップ#410)から
リターンすると、次の撮影のために1コマ巻き上げを行
ない、5秒間時間待ちをして、撮影終了を表わすために
フラグ(SIONF)をリセ・ン卜する(ステップ#4
15〜11420)。その後、次の撮影準備スイッチ(
Sl)のON又はパワーズームによる割り込みを可能と
するため、割り込み(SIINT)及び(C3LEI)
IT)を許可してリターンする(ステ・ンブ#425)
ここで、広視野モードの効果についてまとめて説明する
The explanation will be continued by returning to the flowchart shown in S414. When the above exposure control subroutine (step #410) returns, the camera winds up one frame for the next shot, waits for 5 seconds, and resets the flag (SIONF) to indicate the end of shooting. (Step #4
15-11420). Then press the next shooting preparation switch (
Interrupt (SIINT) and (C3LEI)
Allow IT) and return (Step #425)
Here, the effects of the wide-field mode will be summarized.

まず、第1の効果として、撮影フレーム(FD2)力で
ファインダの内側に表示されるので、撮影領域より広い
範囲を観察すること力でできる(第5図)。
First, the first effect is that the photographic frame (FD2) is displayed inside the viewfinder with force, so that it is possible to observe a wider range than the photographic area (Fig. 5).

その結果、撮影場面が把握しゃすくな)ノ、特ミニ動体
等の撮影をする場合には追尾力〜容易となって便利であ
る。また、ハイアイポイントの場合でも撮影領域全体の
観察が可能となる。さらミニ、撮影フレーム(FD2)
を液晶醇の表示の0N10FF7!+で可能な部材で構
成すると、必要なとき或し)番=撮影者の好みに応じて
広視野モードを選択すること力でできる。
As a result, when photographing a miniature moving object, etc., where it is difficult to grasp the photographic scene, the tracking power becomes easy and convenient. Furthermore, even in the case of a high eye point, the entire imaging area can be observed. Sara mini, shooting frame (FD2)
The LCD display shows 0N10FF7! By constructing the camera with components that can be used with +, it is possible to select the wide field of view mode when necessary or according to the photographer's preference.

第10図のフローチャート4こ戻レノ、ステップ(#2
0)でメインスイッチ(S6)力でON状態でなIsと
判定された場合について説明する。メインスイ・ソチ(
Si)がON状態でない場合番こ11、ステップ(#8
0)へ進み、メインスイッチ(Sh)のONiこよる割
り込み(SMINT)以外の割り込みを禁止し、ステッ
プ(#85)で電池装着を示すフラグ(R8TF)力(
セ・ソトされてし)るか否かを判定する。フラグ(R3
TF)力でセットされていないときには、メインスイッ
チ(SJの0FFiニより、このフローを実行したとし
て、これを示すフラグ(SMOFF)をセットし、AF
レンズ繰り込みのサブルーチンを実行する(ステップ#
87. S90) 、  この場合、AFレンズは最も
繰り込んだ位置に繰り込まれる。この点については厩に
説明済みであるので詳しい説明は省略する0次に、ステ
ップ(S92)で使用レンズが旧レンズか否かを判定し
、旧レンズでなければズームレンズ群繰り込みのサブル
ーチン(ステップ$1100)を実行する。AFレンズ
繰り込み及びズームレンズ群繰り込みのサブルーチンを
実行することにより、AFレンズ及びズームレンズ群は
最も繰り込んだ位置まで移動し、レンズを含めたカメラ
全体の大きさ(長さ)が最も小さくなる。そして、レン
ズ交信(III)のサブルーチンを実行し、レンズから
入力したデータに基づいて、ボディ側がスリーブ状態に
入ってもよいが否かを判定する(ステップ#105. 
S110)。ボディ側がスリーブ状態に入ると、レンズ
側のズームモータ(M3)への給電が断たれる。したが
って、レンズ側でズーム繰り込み制御を実行していると
きには、スリーブ状態に入ってはいけないので、ステッ
プ(S115)で50m5ec経過するのを待ち、ステ
ップ(S105)に戻って再びレンズ交信(III)の
サブルーチンを実行し、ステップ(S110)の判定を
繰り返す、レンズ側でズーム繰り込み制御が終了したと
きには、ステップ(S110)でスリーブ状態に入って
もよいと判定され、カメラ側の回路及びレンズのズーム
モータ(M3)への給電を行なうトランジスタ(Tri
)(Tr2)をOFFすべく、電源制御端子(Pwl)
 (P冒2)を“Low″レベルとし、さらにDC/D
Cコンバータ(DD)をOFFすべく、端子(MIO)
を“Low” L/ ヘ)Ltとして、メインスイッチ
(S7)のONによる割り込み(SMINT)以外の割
り込みを禁止して停止し、スリーブ状m(停止状態)に
入る。 (ステップ#120〜#130)。
Flowchart in Figure 10 4 Return to Step (#2
0), the case where it is determined that the main switch (S6) is in the ON state and Is is explained. Main Sui Sochi (
If Si) is not in the ON state, step 11, step (#8
0), disables interrupts other than ONi interrupts (SMINT) of the main switch (Sh), and in step (#85) sets the flag (R8TF) indicating battery installation (
Determine whether or not it has been set or separated. Flag (R3
If it is not set by the main switch (0FFi of SJ), a flag (SMOFF) indicating this is set as if this flow was executed, and the AF is set.
Execute the lens renormalization subroutine (step #
87. S90) In this case, the AF lens is retracted to the most retracted position. This point has already been explained to the staff, so a detailed explanation will be omitted.Next, in step (S92) it is determined whether the lens used is an old lens or not, and if it is not an old lens, the zoom lens group renormalization subroutine (step $1100). By executing the AF lens retraction and zoom lens group retraction subroutines, the AF lens and zoom lens group move to the most retracted position, and the size (length) of the entire camera including the lenses becomes the smallest. Then, the lens communication (III) subroutine is executed, and based on the data input from the lens, it is determined whether or not the body side can enter the sleeve state (step #105.
S110). When the body side enters the sleeve state, the power supply to the lens side zoom motor (M3) is cut off. Therefore, when performing zoom retraction control on the lens side, the sleeve state must not be entered, so wait for 50 m5ec to elapse in step (S115), return to step (S105), and start lens communication (III) again. The subroutine is executed and the determination in step (S110) is repeated. When the zoom retraction control is completed on the lens side, it is determined in step (S110) that it is okay to enter the sleeve state, and the camera side circuit and lens zoom motor are Transistor (Tri) that supplies power to (M3)
) (Tr2), power supply control terminal (Pwl)
(P 2) is set to “Low” level, and further DC/D
In order to turn off the C converter (DD), the terminal (MIO)
is set to "Low" Lt, interrupts other than the interrupt (SMINT) caused by turning on the main switch (S7) are prohibited and stopped, and the system enters a sleeve-like state (stop state). (Steps #120 to #130).

ステップ(S85)においてフラグ(R3TF)がセッ
トされているとき、或いは、ステップ(S92)で使用
レンズが旧レンズであると判定されたときには、ステッ
プ(S93)に進み、電池装着時を示すフラグ(R8T
F)をリセットする。そして、ステップ(S1120)
以降へ進み、スリーブ状態(停止状態)に入る。
When the flag (R3TF) is set in step (S85), or when it is determined that the used lens is an old lens in step (S92), the process proceeds to step (S93), and the flag (R3TF) indicating when the battery is installed is set. R8T
Reset F). Then, step (S1120)
Proceed to the following and enter the sleeve state (stop state).

以上でボディ内マイコン(μC1)のソフトウェアにつ
いての説明を終え、次に、レンズ内マイコン(μC2)
のソフトウェアについて説明する。
This completes the explanation of the software for the in-body microcomputer (μC1), and next we will move on to the in-lens microcomputer (μC2).
Describe the software.

レンズがカメラボディに装着されていないときには、第
4図に示したレンズ装着検出スイッチ(SL[)がON
となり、レンズ内マイコン(μC2)のリセット端子(
RE2)が“Low″レベルに維持されているので、レ
ンズ側の回路は全く駆動されない、レンズがカメラボデ
ィに装着されると、レンズ装着検出スイッチ(SLE)
がOFFとなり、リセット端子(RE2)に“Low”
レベルから“High″レベルに変わる信号が入力され
る。これにより、レンズ内マイコン(μC2)は第39
図に示すリセットのルーチンを実行する。このリセット
のルーチンでは、まず、ボートやレジスタをリセットす
る(ステップ#L5) 。
When the lens is not attached to the camera body, the lens attachment detection switch (SL[) shown in Figure 4 is ON.
The reset terminal of the microcomputer (μC2) inside the lens (
RE2) is maintained at "Low" level, the lens side circuit is not driven at all. When the lens is attached to the camera body, the lens attachment detection switch (SLE)
becomes OFF, and the reset terminal (RE2) becomes “Low”.
A signal that changes from level to "High" level is input. As a result, the microcomputer (μC2) in the lens
Execute the reset routine shown in the figure. In this reset routine, first, the ports and registers are reset (step #L5).

このとき、APZモード及びスリーブ可の状態となる。At this time, the APZ mode and sleeve are enabled.

そして、ズーム繰り込みのサブルーチンを実行する(ス
テップ#L15)。ここで、APZモードとはボディか
ら指示された焦点距離に自動的にズームするモードをい
う。
Then, a zoom renormalization subroutine is executed (step #L15). Here, the APZ mode refers to a mode in which the camera automatically zooms to a focal length instructed from the body.

上記ズームレンズ群繰り込みのサブルーチンを第40図
に示す、同サブルーチンが呼び出されると、まず、ズー
ムレンズ群繰り込みモードを示すフラグ(ZIF)をセ
ットし、ズームレンズ群繰り込み速度を最高速度■3に
設定する。そして、駆動量として大きな値Z、。を設定
して、ワイド方向のズーミングであることを示すフラグ
(WDF)をセットし、駆動量のサブルーチンを実行し
てズームレンズ群を駆動する(ステップ#L30〜#L
40)。この駆動Iのサブルーチンについては後述する
。続いて、ステップ(#L45)でタイマ割り込みが発
生したことを示すフラグ(TINTF)がセットされる
のを待つ。このタイマ割り込みは、ズームレンズ群が終
端に至った後に発生する割り込みである。
The subroutine for zoom lens group renormalization is shown in Fig. 40. When the subroutine is called, first, a flag (ZIF) indicating the zoom lens group renormalization mode is set, and the zoom lens group renormalization speed is set to the maximum speed ■3. do. And a large value Z as the driving amount. is set, a flag (WDF) indicating zooming in the wide direction is set, and the drive amount subroutine is executed to drive the zoom lens group (steps #L30 to #L
40). This drive I subroutine will be described later. Next, in step (#L45), the process waits for a flag (TINTF) indicating that a timer interrupt has occurred to be set. This timer interrupt is an interrupt that occurs after the zoom lens group reaches the end.

ここで、上記の駆動Iのサブルーチンを第41図に示す
、この駆動Iのサブルーチンはズームモータ(M3) 
(第4図)によりズームレンズ群を駆動するサブルーチ
ンであり、同サブルーチンが呼び出されると、まず、ズ
ームレンズ群駆動中であることを示すフラグ(ZMVP
)セットする(ステップ#L100)。そして、モータ
制御のためのフラグ類をセットし、駆動量(ズーム駆動
パルス数)ΔZを設定した後、モータ(M3)に通電を
開始してリターンする(ステップ#L110〜#L12
0) 、このズームレンズ群駆動のモジュール(本発明
と直接関係しないので図示せず)は、前述のAFレンズ
駆動のモジュールと同様に、カウンタ割り込みとタイマ
割り込みによってズームレンズ群の駆動を制御している
。すなわち、ズームモータ(M3)の回転量を検出する
ズームエンコーダ(ENC3) (第4図)からズーム
レンズ群の駆動を示すパルスが入ってくる毎にカウンタ
割り込みが発生し、この割り込みにより、ズーム速度を
制御しながら62分だけパルス駆動する。この62分の
パルス駆動を終えると、ズームモータ(M3)への通電
を停止してフラグ(ZMVF)をリセットする。また、
62分のパルス駆動を終えるまでに、ズームモータ(M
3)に通電してもエンコーダ(ENC3)からパルスが
発生しなくなった場合には、タイマ割り込みが発生し、
この割り込みによす終端と判断してズームレンズ群停止
のサブルーチンを実行し、タイマ割り込みを禁止した後
、フラグ(TINTF)をセットする。
Here, the subroutine of drive I described above is shown in FIG. 41. This subroutine of drive I
(Figure 4) is a subroutine that drives the zoom lens group. When this subroutine is called, first a flag (ZMVP) indicating that the zoom lens group is being driven is set.
) is set (step #L100). Then, after setting flags for motor control and setting the drive amount (zoom drive pulse number) ΔZ, energization of the motor (M3) is started and the process returns (steps #L110 to #L12
0) This zoom lens group driving module (not shown because it is not directly related to the present invention) controls the zoom lens group driving by counter interrupts and timer interrupts, similar to the AF lens driving module described above. There is. In other words, a counter interrupt occurs every time a pulse indicating the drive of the zoom lens group is received from the zoom encoder (ENC3) (Fig. 4) that detects the amount of rotation of the zoom motor (M3), and this interrupt causes the zoom speed to change. Pulse driving is performed for 62 minutes while controlling. After completing this 62-minute pulse drive, the power supply to the zoom motor (M3) is stopped and the flag (ZMVF) is reset. Also,
By the end of 62 minutes of pulse drive, the zoom motor (M
3) If the encoder (ENC3) no longer generates pulses even when energized, a timer interrupt occurs,
It is determined that this is the end of the interrupt, a subroutine for stopping the zoom lens group is executed, and after disabling the timer interrupt, a flag (TINTF) is set.

上記のズームレンズ群停止のサブルーチンを第42図に
示す、同サブルーチンが呼び出されると、まず、モータ
駆動回路(Mn2)に停止信号を10m5ec間出力す
る(ステップ#L180) 、  その後、駆動OFF
信号を出力し、スリーブ可とし、ズーム駆動中を示すフ
ラグ(ZMV−F)リセットしてリターンする(ステッ
プ#L182〜#L187)。
The subroutine for stopping the zoom lens group described above is shown in FIG. 42. When the subroutine is called, first, a stop signal is output to the motor drive circuit (Mn2) for 10 m5ec (step #L180), and then the drive is turned off.
A signal is output, the sleeve is enabled, a flag (ZMV-F) indicating that the zoom is being driven is reset, and the process returns (steps #L182 to #L187).

第40図のフローチャートに戻ってステップ(#L45
)から説明を続ける。以上のようにして、ズームレンズ
群の駆動が停止してタイマ割り込みを示すフラグ(TI
NTF)がセットされると、ステップ(#L45)でY
esと判定されてステップ(#L50)へ進み、上記フ
ラグ(TINTF)をリセットする。そして、ズームレ
ンズ群繰り込み中を示すフラグ(ZIF)をリセットし
てリターンする(ステップ#L60) 。
Returning to the flowchart in Figure 40, step (#L45
) Continue the explanation. As described above, the driving of the zoom lens group is stopped and the timer interrupt flag (TI
NTF) is set, Y in step (#L45)
If it is determined as es, the process advances to step (#L50) and the flag (TINTF) is reset. Then, the flag (ZIF) indicating that zoom lens group retraction is in progress is reset and the process returns (step #L60).

第39図のフローチャートに戻ってステップ(#L20
)から説明を続ける。上述のズームレンズ群の繰り込み
が終了すると、レンズの情報を表示する表示ルーチンを
実行し、電源保持用のタイマ(T)をリセットした後、
再スタートさせて、10秒間経過するのを待ち、10秒
経過すれば表示を消去して停止する(ステップ#L20
〜#L24)。
Returning to the flowchart in FIG. 39, step (#L20
) Continue the explanation. When the renormalization of the zoom lens group described above is completed, a display routine for displaying lens information is executed, and the timer (T) for maintaining the power supply is reset.
Restart it, wait for 10 seconds to elapse, and after 10 seconds, erase the display and stop (Step #L20
~#L24).

上記表示ルーチンを第43図に示す。同サブルーチンが
呼び出されると、ズームエンコーダ(ENC3)からの
パルスをカウントするズームカウンタ(ZC)のカウン
ト値Zcを読み取る。そして、その値から正確な現在の
焦点距離f。を求め、その現在焦点距離f。を表示して
リターンする(ステップ1lL250〜11L260)
The above display routine is shown in FIG. When this subroutine is called, the count value Zc of the zoom counter (ZC) that counts pulses from the zoom encoder (ENC3) is read. Then, from that value, determine the accurate current focal length f. Find its current focal length f. Display and return (steps 1lL250 to 11L260)
.

次に、パワーズームの際の処理について説明する。ボデ
ィ内マイコン(μC1)が停止しかつレンズ内マイコン
(μC2)が停止している場合、或いは旧ボディが使用
されかつレンズ内マイコン(μC2)が停止している場
合に、操作環(ズームリング)(80)の操作が行なわ
れると、パワーズームを行なうためのF/ZINT割り
込みのルーチンが実行される。この割り込みルーチンを
第44図に示す。
Next, processing during power zoom will be explained. If the microcomputer in the body (μC1) is stopped and the microcomputer in the lens (μC2) is stopped, or if the old body is used and the microcomputer in the lens (μC2) is stopped, the operation ring (zoom ring) When the operation (80) is performed, an F/ZINT interrupt routine for power zooming is executed. This interrupt routine is shown in FIG.

F/Z INT割り込みが発生すると、レンズ内マイコ
ン(μc2)は、まず、端子(C8LE)を−瞬”Lo
wレベルとし、ボディへの割り込みを行なう(ステップ
#L400) 、  そして、タイマ(TA)をリセッ
トした後、再スタートし、タイマ(TA)が時間t1を
計時するのを待つ(ステップ#L410〜#L415)
 、  ここで、タイマ(TA)により時間tlの待機
を行なうのは、レンズが旧タイプであるか否かをボディ
側で判定するためである。レンズが旧タイプでなければ
、上記ボディへの割り込み後、ボディではデータの交信
(レンズ交信)を行なうべく端子(C3LE)を“’L
When the F/Z INT interrupt occurs, the microcomputer (μc2) in the lens first sets the terminal (C8LE) to “Lo” for an instant.
W level and interrupts the body (step #L400), and after resetting the timer (TA), restarts and waits for the timer (TA) to measure time t1 (steps #L410 to # L415)
Here, the reason why the timer (TA) waits for the time tl is to determine on the body side whether or not the lens is an old type. If the lens is not an old type, after the above interrupt to the body, the body sets the terminal (C3LE) to "'L" to perform data communication (lens communication).
.

W″ルベルし、レンズではこれに応答して後述のC8割
り込みが行なわれ、タイマ(TA)が時間t、を計時し
終える前に別のフローを実行する。ただし、ボディ側の
メインスイッチ(S、、l)がOFFの場合には、上記
データ交信(レンズ交信)は行なわれないし、また、旧
ボディの場合にも、同様にデータ交信(レンズ交信)は
行なわれない。このため、ステップ(#L400)で端
子(C3LE)を−瞬“Low”レベルとしてもC8割
り込みが行なわれず、タイマ(TA)は時間t、を計時
し終える= そして、ステップ(#L415)でタイマ
(TA)が時間t1を計時し終えたと判定されると、タ
イマ(TA)を停止させ、操作環(80)の操作による
割り込みF/ZINTを禁止し、停止する(ステップ#
L417〜# L 420 )7L次に、C8割り込み
発生の際の処理について説明する。ボディからレンズの
端子(C3LE)に“High”レベルから“Low”
レベルに変化する信号が伝達されると、レンズ内マイコ
ン(u C2)は、第45図に示すC8割り込みのルー
チンを実行する。同ルーチンでは、まず、操作環(ズー
ムリング”) (80)の操作によるF/ZINT割り
込みを禁止し、ボディからのクロックに応答して、2バ
イトのシリアル交信(シリアル入出力)を行なう。この
交信データからボディが旧ボディか否かを判定し、旧ボ
ディであれば、6バイトのシリアル交信を行なってボデ
ィ側にレンズデータを送り、端子(C3LE)への信号
が“High”“レベルになるのを待ち、 ″High
lルベルになれば停止する(ステップ#L565〜#L
575) 、  本実施例では新ボディについて説明し
ているので、この交信に対応するボディ内マイコン(μ
C1)のフローチャートは図示されていないが、これら
のステップ(#L565)〜(#L575)により新レ
ンズは旧ボディにも対応することことができる。他方、
ステップ(#L565)において旧ボディでないと判定
された場合には、続いて1バイトのシリアル交信(シリ
アル入力)により交信モードを示すデータをボディから
入力し、交信モードを判定する(ステップ#L585.
 #L590)。そして、その交信モードの判定結果に
応じて以下の各処理(ボディ内マイコン(μC1)にお
けるレンズ交信(I)〜(IX)に対応する処理)を実
行する。
In response to this, the lens performs a C8 interrupt, which will be described later, and executes another flow before the timer (TA) finishes counting time t. However, if the main switch (S ,,l) is OFF, the above data communication (lens communication) is not performed, and in the case of the old body, data communication (lens communication) is also not performed.For this reason, step ( #L400), even if the terminal (C3LE) is momentarily brought to “Low” level, the C8 interrupt is not generated and the timer (TA) finishes counting the time t = Then, in step (#L415), the timer (TA) When it is determined that time t1 has been counted, the timer (TA) is stopped, and the interrupt F/ZINT caused by the operation of the operating ring (80) is prohibited and stopped (step #
L417~#L420)7L Next, processing when a C8 interrupt occurs will be explained. From the body to the lens terminal (C3LE) from “High” level to “Low”
When the level changing signal is transmitted, the in-lens microcomputer (uC2) executes the C8 interrupt routine shown in FIG. In this routine, first, F/ZINT interrupts caused by operating the operating ring (zoom ring) (80) are prohibited, and 2-byte serial communication (serial input/output) is performed in response to the clock from the body. It is determined from the communication data whether the body is an old body or not. If it is an old body, 6-byte serial communication is performed to send lens data to the body side, and the signal to the terminal (C3LE) becomes "High" level. Wait until it becomes ``High.''
It stops when it reaches l level (steps #L565 to #L
575), Since this example describes a new body, the in-body microcomputer (μ
Although the flowchart of C1) is not shown, these steps (#L565) to (#L575) allow the new lens to be compatible with the old body. On the other hand,
If it is determined in step (#L565) that the body is not the old body, then data indicating the communication mode is input from the body through 1-byte serial communication (serial input), and the communication mode is determined (step #L585.
#L590). Then, the following processes (processes corresponding to lens communication (I) to (IX) in the in-body microcomputer (μC1)) are executed according to the determination result of the communication mode.

交信モードがモード(I)であれば、2バイトのボディ
状態フラグ(第3表)をシリアル入力し、端子(C3L
E)への信号がLow”レベルから”旧ghllレベル
へ変わるのを待ち、 “旧ghllレベルになればズー
ムレンズ群繰り込みのサブルーチンを実行した後、表示
のサブルーチンを実行してリターンする(ステップ#L
600〜1lL615)。ただし、リターンする前に、
F/Z I NT割り込みを許可する。
If the communication mode is mode (I), the 2-byte body status flag (Table 3) is serially input, and the terminal (C3L
Wait for the signal to E) to change from the "Low" level to the "old ghll level," and when it reaches the "old ghll level," execute the zoom lens group renormalization subroutine, then execute the display subroutine and return (step # L
600-1L615). However, before returning,
Enable F/Z INT interrupts.

なお、ステップ(#L604)で端子(CSLE)への
信号が“Low”レベルがら°“High″レベルへ変
わるのを待っているのは、レンズとボディとの間の交信
が終了するのを確認するためであり、これにより交信中
は他の処理を行なわないようにしている。このような交
信終了の確認やF/ZINT割り込みの許可については
、他の交信モードにおいても同様に行なっている。
Note that the reason why we are waiting for the signal to the terminal (CSLE) to change from "Low" level to "High" level in step (#L604) is to make sure that the communication between the lens and the body is completed. This is to prevent other processing from being performed during communication. Confirmation of the end of communication and permission of F/ZINT interrupt are performed in the same way in other communication modes.

交信モードがモード(II)であれば、モード(I)と
同様の2バイトのデータをシリアル入力後、端子(C8
LE)への信号が°’ Low″レベルから“)Iig
h”レベルへ変わるのを待ち、 “旧gh″レベルにな
ればズームレンズ群停止のサブルーチン(第42図)を
実行した後、表示のサブルーチン(第43図)を実行し
てリターンする(ステップ#L620〜#L635)、
このモードの交信は、ボディがレンズにストップ命令を
出したときに実行される。
If the communication mode is mode (II), after serially inputting the 2-byte data similar to mode (I), the terminal (C8
The signal to LE) changes from °'Low" level to ")Iig
Wait for it to change to the "h" level, and when it reaches the "old gh" level, execute the zoom lens group stop subroutine (Figure 42), then execute the display subroutine (Figure 43) and return (Step # L620~#L635),
This mode of communication is executed when the body issues a stop command to the lens.

交信モードがモード(III)であれば、レンズ状態デ
ータ(第2表)を設定して2バイトのデータをシリアル
出力する。そして、端子(C3LE)への信号がl r
、o、e#レベルから’High”レベルへ変わるのを
待ち、 “High”レベルになればリターンする(ス
テップ#I、640〜#L650)。このモードの交信
は、ボディがレンズの状II!(駆動中、停止中など)
を調べるときに実行される。
If the communication mode is mode (III), the lens status data (Table 2) is set and 2-byte data is serially output. Then, the signal to the terminal (C3LE) is l r
, o, e Wait for the level to change to 'High' level, and return when the level reaches 'High' (step #I, 640 to #L650). In this mode of communication, the body is shaped like a lens II! (While driving, stopped, etc.)
Executed when checking.

交信モードがモード(IV)であれば、この交信モード
は現在の焦点距離f。でのレンズデータを計算するため
のモードであり、そのレンズデータはその後のモード(
VJ)の交信でボディに転送される。
If the communication mode is mode (IV), this communication mode is the current focal length f. A mode for calculating lens data in a subsequent mode (
Transferred to the body through communication with VJ).

したがって、2バイトのボディ状態データ(第3表)を
シリアル入力して、端子(CSLE)への信号が“Lo
w”°レベルから“High”レベルへ変わるのを待ち
、  ”High”レベルになればズーミングによって
変化するレンズデータの計算をしてリターンする(ステ
ップ#L660−#L670) 。
Therefore, by serially inputting the 2-byte body status data (Table 3), the signal to the terminal (CSLE) is “Lo”.
It waits for the level to change from "w"° level to "High" level, and when it reaches the "High" level, it calculates the lens data that changes due to zooming and returns (steps #L660 to #L670).

このレンズデータの計算のサブルーチンを第46図に示
す。同サブルーチンが呼び出されると、まず、ズームカ
ウンタの値Zcを読み込んで、そのカウンタ値を焦点距
離f0に変換する(ステップ#L800〜#L810)
 、  その後、測距値に直接影響を与えるレンズデー
タ、すなわち、フィルム面とAFセンサ面の差ΔSB、
  駆動量変換係数KL、  距離変換係数K。の各デ
ータを求める。これらのレンズデータを求めるためには
、まず、ズームカウンタの20パルス毎の上記レンズデ
ータが格納されたテーブルを検索する(ステップ#L8
20) 、  そして、検索して得られたテーブルデー
タを用いて補間演算を行なうことにより、精度の高いレ
ンズデータを求める(ステップ#L822)。
A subroutine for calculating this lens data is shown in FIG. When the subroutine is called, first, the zoom counter value Zc is read and the counter value is converted to the focal length f0 (steps #L800 to #L810).
, Then, the lens data that directly affects the distance measurement value, that is, the difference ΔSB between the film surface and the AF sensor surface,
Drive amount conversion coefficient KL, distance conversion coefficient K. Find each data. In order to obtain these lens data, first, a table storing the lens data for every 20 pulses of the zoom counter is searched (step #L8).
20) Then, highly accurate lens data is obtained by performing an interpolation calculation using the table data obtained through the search (step #L822).

交信モードがモード(V)であれば、この交信モードは
、モード(TV)と同様に現在の焦点距離f。でのレン
ズデータを計算した後、ボディから指示された目標の焦
点距離f+にズーミングするモードである。したがって
、2バイトのボディ状態データ(第3表)と1バイトの
目標焦点距離ftのデータの計3バイトのデータをシリ
アル入力して、端子(C8LE)への信号が”Low”
レベルがら゛旧ghllレベルへ変わるのを待ち、゛旧
ghllレベルになればズーミングによって変化するレ
ンズデータの計算をし、APZのサブルーチンを実行し
てリターンする(ステップ#L680〜#L695) 
、  このAPZのサブルーチンについては、後でモー
ド(IX)の説明とともに述べる。
If the communication mode is mode (V), this communication mode is the current focal length f, similar to mode (TV). In this mode, after calculating the lens data at , zooming is performed to the target focal length f+ specified by the body. Therefore, by serially inputting a total of 3 bytes of data, 2 bytes of body status data (Table 3) and 1 byte of target focal length ft, the signal to the terminal (C8LE) becomes "Low".
Wait for the level to change to the old ghll level, and when it reaches the old ghll level, calculate the lens data that changes due to zooming, execute the APZ subroutine, and return (steps #L680 to #L695).
, This APZ subroutine will be described later along with an explanation of mode (IX).

交信モードがモード(VI)であれば、この交信モード
は、モード(IV−)又は(V)のモードにおいて計算
したレンズデータをこれらのモードの交信後にボディに
転送するモードである。したがって、2バイトのレンズ
状態データ(第2表)をシリアル出力した後、モード(
■)又は(V)において計算しておいたズーミングによ
って変化するレンズデータ、すなわち、現在焦点距離f
。、フィルム面とAFセンサ面の差△SB、  駆動量
変換係数KL、  及び距離変換係数KNからなる4バ
イトのデータをシリアル出力する(ステップ#L700
〜#L712)。そして、端子(C8LE)への信号が
’ Low”レベルからI o i g h I+レベ
ルへ変わるのを待ち、 “High”レベルになればリ
ターンする(ステップ#L715)。
If the communication mode is mode (VI), this communication mode is a mode in which lens data calculated in mode (IV-) or (V) is transferred to the body after communication in these modes. Therefore, after serially outputting the 2-byte lens status data (Table 2), the mode (
■ Lens data that changes due to the zooming calculated in (V), i.e., the current focal length f
. , the difference △SB between the film surface and the AF sensor surface, the driving amount conversion coefficient KL, and the distance conversion coefficient KN are serially output (step #L700).
~#L712). Then, the process waits for the signal to the terminal (C8LE) to change from the 'Low' level to the I o i g h I+ level, and returns when it becomes the 'High' level (step #L715).

交信モードがモード(■)であれば、レンズ固有の全デ
ータをボディに転送するモードであるので、2バイトの
レンズ状態データ(第2表)をシリアル出力した後、従
来のレンズデータAVo、  AVnax。
If the communication mode is mode (■), this is the mode in which all lens-specific data is transferred to the body, so after serially outputting 2-byte lens status data (Table 2), the conventional lens data AVo, AVnax is output. .

KL、  fn、  LoN、  K、I、  ΔSB
に、レンズの最短焦点距離f、、、最長焦点距離f1.
のデータを加えた9バイトのデータをシリアル出力する
(ステップ#L720〜#L732 )。そして、端子
(C3,LE)への信号が°’L。
KL, fn, LoN, K, I, ΔSB
, the shortest focal length of the lens f, , the longest focal length f1 .
The 9-byte data including the data of is serially output (steps #L720 to #L732). Then, the signal to the terminal (C3, LE) is °'L.

11レベルから“High”レベルへ変わるのを待ち、
゛旧ghlルベルになればリターンする(ステップ#L
735) 。
Wait for it to change from level 11 to “High” level,
゛Return when you become the old ghl label (step #L
735).

交信モードがモード(■)であれば、この交信モードは
、パワーズーム操作(ズームリング操作)の割り込みで
あるF/Z INT割り込みに対するズーミングの許可
を示すデータをボディがらレンズに転送するモードであ
る。したがって、2バイトのボディ状態データ(第3表
)をシリアル入力した後、端子(C3LE)への信号が
°’Low’“レベルから”High’“レベルへ変わ
るのを待ち、 ”High”レベルになればMPZのサ
ブルーチンを実行してリターンする(ステップ#L74
0〜#L750)。
If the communication mode is mode (■), this communication mode is a mode in which data indicating permission for zooming is transferred from the body to the lens in response to the F/Z INT interrupt, which is an interrupt for power zoom operation (zoom ring operation). . Therefore, after serially inputting the 2-byte body status data (Table 3), wait for the signal to the terminal (C3LE) to change from 'Low' level to 'High' level, and then change it to 'High' level. If so, execute the MPZ subroutine and return (step #L74).
0~#L750).

このMPZのサブルーチンを第47図に示す。This MPZ subroutine is shown in FIG.

同サブルーチンが呼び出されると、まず、焦点距離表示
を行ない、ズームリングの周囲に配置されたエンコーダ
パターン(ZVEN) (第4図)の値を読み込み、ズ
ームリング操作があったか否かを判定する(ステップ#
L850〜#L858)。この結果、操作がなかったな
らばステップ(#L890)へ進み、ズームレンズ群駆
動中を示すフラグ(ZVMF)がセットされているか否
かを確認する。そして、フラグ(ZMVF)がセットさ
れていればズームレンズ群を停止させ、セットされてい
なければズームレンズ群停止のサブルーチンは実行せず
に表示のみを行なってリターンする(ステップ#L89
0〜#L898)。他方、ステップ(#L858)にお
いてズームリング操作があったと判定されたならばステ
ップ(#L860)へ進み、操作された方向がテレ方向
か否かを判定する。そして、テレ方向ならばワイド方向
のズーミングであることを示すフラグ(WDF)をリセ
ットし、テレ方向でなければフラグ(WDF)をセット
する(ステップ#L860〜1lL872)。次に、ズ
ームリングの操作量を読み取り、操作量に対応してズー
ミング速度v1〜■3のいずれかを設定し、さらに操作
量に応じたズーム駆動パルス数Δ2を設定した後、駆動
工のサブルーチンを呼び出してズームレンズ群の駆動を
開始する(ステップ#L874〜#L880) 、  
駆動を開始した後はステップ(#L850)〜(#L8
80)を繰り返し実行するが、ステップ(#L858)
でズームリングの操作量がなくなったと判定されたなら
ば、ズームレンズ群を停止させ、表示を行なってリター
ンする(ステップ#L890〜#L898)。
When this subroutine is called, it first displays the focal length, reads the value of the encoder pattern (ZVEN) (Fig. 4) placed around the zoom ring, and determines whether or not the zoom ring has been operated (step #
L850~#L858). As a result, if there is no operation, the process advances to step (#L890) and it is checked whether a flag (ZVMF) indicating that the zoom lens group is being driven is set. If the flag (ZMVF) is set, the zoom lens group is stopped; if it is not set, the subroutine for stopping the zoom lens group is not executed, only the display is performed, and the process returns (step #L89).
0~#L898). On the other hand, if it is determined in step (#L858) that the zoom ring has been operated, the process proceeds to step (#L860) and it is determined whether or not the direction in which the zoom ring was operated is the telephoto direction. Then, if it is in the telephoto direction, a flag (WDF) indicating zooming in the wide direction is reset, and if it is not in the telephoto direction, a flag (WDF) is set (steps #L860 to 1lL872). Next, after reading the operation amount of the zoom ring, setting one of the zooming speeds v1 to ■3 corresponding to the operation amount, and further setting the zoom drive pulse number Δ2 according to the operation amount, the subroutine of the drive and starts driving the zoom lens group (steps #L874 to #L880).
After starting the drive, steps (#L850) to (#L8
80) repeatedly, but step (#L858)
If it is determined that the amount of operation of the zoom ring has disappeared, the zoom lens group is stopped, a display is performed, and the process returns (steps #L890 to #L898).

交信モードがモード(]IXであれば、この交信モード
は、次のシリアル交信でズーミングによって変化するレ
ンズデータをボディに転送する必要のないAPZモード
である。ここで、APZモードとはボディから指示され
た焦点距離に自動的にズームするモードをいう。したが
って、2バイトのボディ状態データ(第3表)と1バイ
トの目標焦点距離ftのデータとからなる3バイトのデ
ータをシリアル入力した後、端子(C8LE)への信号
が“L。
If the communication mode is mode (]IX, this communication mode is APZ mode, which does not require transferring lens data that changes due to zooming to the body in the next serial communication. This is a mode that automatically zooms to the specified focal length. Therefore, after serially inputting 3 bytes of data consisting of 2 bytes of body condition data (Table 3) and 1 byte of target focal length ft data, The signal to the terminal (C8LE) is “L”.

W”L/ベベルら“High”レベルへ変わるのを待ち
、°“High”レベルになればAPZのサブルーチン
を実行してリターンする(ステップ#L760〜#L7
70)。
Wait until the W"L/bevel level changes to "High" level, and when it reaches the "High" level, execute the APZ subroutine and return (steps #L760 to #L7
70).

このAPZのサブルーチンを第48図に示す。This APZ subroutine is shown in FIG.

同サブルーチンが呼び出されると、まず、ボディから送
られてきた目標焦点距離ftを目標ズームカウンタ値Z
tに変換した後、その時点のズームカウンタ値Zcを読
み込んで現在ズームカウンタ値2゜とじて設定する(ス
テップ1lL900〜#L906) 、  次に、目標
ズームカウンタ値Ztと現在ズームカウンタ値Z、とを
比較してズーミング方向を設定するのであるが、Z、と
Z。が一致していればズーミングする必要はないので、
ズームレンズ群を駆動せずにリターンする(ステップ#
L908)、  Z、とZ。が一致していなければステ
ップ(#L910)へ進み、ZtがZnより大きいか否
かを判定する。この結果、ZlがZ、、より大きければ
、ワイド方向のズーミングであることを示すフラグ(W
DF)をリセットし、2.−2.、よりズーム駆動パル
ス数△Zを求める(ステップ1lL912〜# L91
8)。他方、ZtがZ。よりも大きくなければ、フラグ
(WDF)をセットし、Zn−Ztよりズーム駆動パル
ス数△Zを求める(ステップ#L920〜$1L928
) 、  ズーム駆動パルスΔZが求まれば、ボディ状
態データ(第3表)として送られてきた速度を駆動速度
として設定し、駆動■のサブルーチンを呼び出すことに
よりズームレンズ群の駆動を開始する(ステップ#L9
30. #L934)。このとき、ボディから送られて
きた速度を駆動速度として設定しているため、ボディ側
からAPZモードにおけるズーム速度を制御することが
できる。駆動開始後はズームレンズ群駆動中を示すフラ
グ(ZMVF)がリセットされるのを10+++sec
間隔で調べながら待機し、フラグ(ZMVF)がリセッ
トされたならばリターンする(ステップ#L938〜#
L940)。ココテ、フラグ(ZMVF)ハ、前述した
ように、所定のズームレンズ群の駆動が終了すると駆動
を制御するカウンタ割り込み又はタイマ割り込みによっ
てリセットされる。
When this subroutine is called, first, the target focal length ft sent from the body is converted to the target zoom counter value Z.
After converting to t, the zoom counter value Zc at that point is read and the current zoom counter value is set as 2° (steps 11L900 to #L906).Next, the target zoom counter value Zt and the current zoom counter value Z are The zooming direction is set by comparing Z, and Z. If they match, there is no need to zoom, so
Return without driving the zoom lens group (step #
L908), Z, and Z. If they do not match, the process advances to step (#L910) and it is determined whether Zt is larger than Zn. As a result, if Zl is larger than Z, a flag (W
DF) and 2. -2. , calculate the number of zoom drive pulses ΔZ (steps 1lL912 to #L91
8). On the other hand, Zt is Z. If it is not larger than , set the flag (WDF) and calculate the zoom drive pulse number ΔZ from Zn-Zt (steps #L920 to $1L928
), Once the zoom drive pulse ΔZ is determined, the speed sent as the body state data (Table 3) is set as the drive speed, and the drive of the zoom lens group is started by calling the drive subroutine (Step 3). #L9
30. #L934). At this time, since the speed sent from the body is set as the drive speed, the zoom speed in APZ mode can be controlled from the body side. After driving starts, wait 10+++ seconds for the flag (ZMVF) indicating that the zoom lens group is being driven to be reset.
It waits while checking at intervals, and returns if the flag (ZMVF) is reset (steps #L938 to #
L940). As mentioned above, the flag (ZMVF) is reset by a counter interrupt or timer interrupt that controls the drive when the driving of a predetermined zoom lens group is completed.

なお、上記APZのサブルーチン(第48図)又はMP
Zのサブルーチン(第47図)においてズームレンズ群
駆動中にレンズの状態を調べるモード(I[I)の交信
が発生した場合、ズームレンズ群の駆動をしながらこれ
に応答するため、C8割り込みを最優先としている。
In addition, the above APZ subroutine (Fig. 48) or MP
In the Z subroutine (Figure 47), if communication in mode (I[I) to check the lens status occurs while the zoom lens group is being driven, the C8 interrupt is sent in order to respond to this while driving the zoom lens group. It is given top priority.

また、モード(I)の交信の説明においても述べたよう
に、モード(1)〜(IX)のシリアル交信とそれに伴
う演算及びズーミングを実施してリターンするときには
、パワーズームを可能とするためF/Z I N7割り
込みを許可してリターンしている(第45図のステップ
#L780)。
In addition, as mentioned in the explanation of communication in mode (I), when performing serial communication in modes (1) to (IX) and associated calculations and zooming, and returning, F is used to enable power zoom. /Z I N7 interrupt is enabled and the process returns (step #L780 in FIG. 45).

以上で本実施例の構成及び動作についての説明を終える
This completes the explanation of the configuration and operation of this embodiment.

(以下余白) 以上において説明したように、本実施例によれば、撮影
準備スイッチ(焦点検出開始スイッチ)(Sl)がON
されると測距(焦点検出)が行なわれ(第15図のステ
ップ#450〜#465)、焦点検出不能ならば(第1
9図のステップ#605. #606)、ローコンスキ
ャンが実行される(第15図のステップ#505、第1
0図のループ#55→#60→#55)。このローコン
スキャン中に焦点検出可能となればAFレンズを駆動し
て合焦状態としく115図のステップ#520〜#52
8)、画角が変化しない状態で撮影を行なうことができ
る。他方、オートワイドスイッチ(SQ、)の操作によ
りオートワイド機能がONされている場合であって、ロ
ーコンスキャン実行後もなお焦点検出不能であり(第2
2図のステップ#690、 #700. #705)、
かつ、引続き撮影準備スイッチ(Sl)がONされてい
れば(第14図のステップ#385)、オートワイドが
開始される(第15図のステップ#515)。このオー
トワイド中に焦点検出可能となればAFレンズを駆動し
て合焦状態としく第15図のステップ#520〜#52
8)、露出制御の動作が行なわれる(第14図のステッ
プ#400〜#425)。これにより、ズーミングのた
め撮影時に画角が変化することになるが、被写体が測距
エリアから外れていた場合や被写体自体のコントラスト
不足に対しても一定範囲内で焦点検出を可能とすること
ができる。
(Margin below) As explained above, according to this embodiment, the shooting preparation switch (focus detection start switch) (Sl) is ON.
When the focus is detected, distance measurement (focus detection) is performed (steps #450 to #465 in Fig. 15), and if the focus cannot be detected (the first
Step #605 in Figure 9. #606), a low contrast scan is executed (step #505 in FIG. 15, the first
Loop #55 → #60 → #55 in Figure 0). If the focus becomes detectable during this low contrast scan, the AF lens is driven to bring it into focus and step #520 to #52 in Figure 115
8) It is possible to take pictures without changing the angle of view. On the other hand, there is a case where the auto wide function is turned on by operating the auto wide switch (SQ, ), and the focus cannot be detected even after executing the low contrast scan (the second
Steps #690 and #700 in Figure 2. #705),
If the photographing preparation switch (Sl) is still turned on (step #385 in FIG. 14), auto-wide is started (step #515 in FIG. 15). If the focus can be detected during this auto-wide, the AF lens is driven to bring it into focus, and steps #520 to #52 in Figure 15
8) An exposure control operation is performed (steps #400 to #425 in FIG. 14). As a result, the angle of view changes during shooting due to zooming, but it also makes it possible to detect focus within a certain range even if the subject is outside the distance measurement area or if the subject itself lacks contrast. can.

このように本実施例では、焦点検出不能に対し、AFレ
ンズの駆動で対応できない場合に限りズーミングを行な
うようになっているので、画一的にズーミングして画角
の変化を引き起こしていた従来のものとは異なり、画角
をできるだけ変化させないという配慮がなされている。
In this way, in this embodiment, zooming is performed only when the focus cannot be detected by driving the AF lens. Unlike the previous model, consideration has been given to keeping the angle of view as unchanged as possible.

なお、以上の実施例の説明においては一眼レフカメラを
例にとったが、この中で述べた広視野モードの機能(ワ
イドビュー機能)及びオートワイドの機能については、
レンズシャッター式カメラ等のように別設されたファイ
ンダ光学系を有するカメラおいても同様に実現すること
ができる。また、撮影媒体としてフィルムを用いるフィ
ルムカメラに限らず、撮影媒体としてCCDやMO5−
ICを用いる電子スチルカメラにおいても同様の機能を
実現することができる。
In the explanation of the above embodiments, a single-lens reflex camera was used as an example, but the wide-field mode function (wide view function) and auto wide function described therein are as follows.
This can be similarly realized in a camera having a separate finder optical system, such as a lens-shutter type camera. In addition to film cameras that use film as a shooting medium, CCD and MO5-
A similar function can also be achieved in an electronic still camera using an IC.

(以下余白) 次に、以上において説明した実施例(以下「基本実施例
」という)を基本として構成の一部を追加又は変更した
他の実施例(以下「変形例」という)について説明する
(Hereinafter in the margin) Next, another example (hereinafter referred to as a "modified example") in which a part of the configuration is added or changed based on the example described above (hereinafter referred to as a "basic example") will be described.

亙j医例」− 本例は、広視野モードにおいてレリーズスイッチ(S2
)のONから露光までの時間の短縮を図ったものである
1本例の広視野モードにおけるシーフェンスチャートを
第49図に示す、この図において、レンズとボディ間の
交信(#c)(#d’) (#d“)は、第6図及び第
7図の交信(#c)(#d) (#d’ )とそれぞれ
同じ内容の交信である。
In this example, the release switch (S2
Figure 49 shows a Sea Fence chart in wide-field mode for one example, which aims to shorten the time from turning on the lens to exposure (#c) (#). d') (#d") are communications having the same content as the communications (#c) (#d) (#d') in FIGS. 6 and 7, respectively.

本例のシーグエンスでは、レリーズスイッチ(S2)の
ONから露光までの動作の高速性を優先し、ズームアツ
プ後に再測距せずにレリーズシーフェンスを実行する。
In the sequence of this example, priority is given to the high speed of the operation from turning on the release switch (S2) to exposure, and the release sea fence is executed without re-measuring the distance after zooming up.

すなわち、ボディ側では、レンズ側から交信(tld”
)によってズーミングの完了を知らせるレンズ状態デー
タを受は取ると、再測距せずに直ちにミラーアップさせ
て露光する。これにより、レリーズスイッチ(S2)の
ONから露光までの時間を短縮することができる。
In other words, on the body side, communication (tld"
), when the lens state data indicating the completion of zooming is received, the mirror is immediately raised and exposed without re-measuring the distance. Thereby, the time from turning on the release switch (S2) to exposure can be shortened.

変」1医」工 本例は、広視野モードにおいてピンボケ写真となるのを
防止することを狙ったものである。本例について第50
図を参照しながら説明する。
The purpose of this example is to prevent out-of-focus photographs in wide-field mode. Regarding this example, the 50th
This will be explained with reference to the figures.

いま、広視野モードで人物を撮影するものとし、レリー
ズ前に第50図(a)に示すようなファインダ像が得ら
れ、測距アイランド(ニ)で焦点検出をしたとする。こ
の場合、レリーズ時にズームアツプして同図(b)に示
すようなファインダ像となり、この時点で再測距して測
距アイランド(ニ)で焦点検出をすると、ズームアツプ
前は顔にピントが合っていたが、ズームアツプ後は人物
の喉の部分にピントが合うことになる。このため、少し
ピントのずれた写真となってしまう。
Assume that a person is to be photographed in the wide-field mode, that a finder image as shown in FIG. 50(a) is obtained before the shutter release, and focus is detected using the distance measuring island (d). In this case, when the camera is released, the zoom is increased and the viewfinder image becomes as shown in Figure (b). At this point, when the distance is measured again and the focus is detected using the distance measurement island (d), the face is in focus before the zoom is increased. However, after zooming in, the person's throat will be in focus. This results in a slightly out-of-focus photo.

そこで、本例では、広視野モードにおいて、ズームアツ
プ前の測距アイランドがファインダの中央に位置する測
距アイランド(ロ)の場合にはズームアツプ後に再測距
を行なうが、ズームアツプ前の測距アイランドがファイ
ンダの中央に位置する測距アイランド(ロ)以外の測距
アイランド(イ)(ハ)(ニ)の場合にはズームアツプ
後の再測距を行なわないシーフェンスとする。これによ
り、上記のようなピンボケの写真ができるのを防止する
ことができる。
Therefore, in this example, in wide-field mode, if the distance measurement island before zooming up is the distance measurement island (b) located in the center of the finder, distance measurement is performed again after zooming up, but the distance measurement island before zooming up is In the case of distance measurement islands (a), (c), and (d) other than the distance measurement island (b) located at the center of the finder, sea fences are used in which distance measurement is not performed again after zooming up. This can prevent out-of-focus photographs as described above from being produced.

1区立ヨし 本例は、上記の変形例2と同様に、広視野モードにおい
て第50図に示すようなファインダ像が得られた場合に
、□ ピンボケ写真となるのを防止することを狙ったも
のである。
1. Similar to Modification 2 above, this example aims to prevent an out-of-focus photograph when a finder image as shown in Figure 50 is obtained in wide-field mode. It is something.

本例では、広視野モードに設定されたとき、測距アイラ
ンドをファインダの中央に位置する測距アイランド(ロ
)に限定する。これにより、レリーズ時におけるズーム
アツプ後も測距の対象となる被写体上の位置が変化しな
いので、ズームアツプ後の再測距によってピントがずれ
ることはない。
In this example, when the wide-field mode is set, the distance measurement island is limited to the distance measurement island (b) located in the center of the finder. As a result, the position on the subject to be measured does not change even after zooming up at the time of release, so the focus will not shift when distance measurement is performed again after zooming up.

亙」ト区A− 本例は、実撮影領域(フィルム枠)が同一であっても、
最終的に得られる画面の領域が、スライドかサービスサ
イズのプリントかによって多少異なることに対処したも
のである。
In this example, even if the actual shooting area (film frame) is the same,
This is to deal with the fact that the final screen area differs depending on whether it is a slide or a service size print.

通常使用時のファインダ視野率が93%程度の一眼レフ
カメラにおけるファインダ枠、撮影フレーム、及び実撮
影領域(フィルム枠)の関係を第51図に示す。前述の
基本実施例では、広視野モードにおけるレリーズ前のフ
ァインダの視野率が140%であることに対応して、レ
リーズ前に撮影フレーム(FD2)内に見えていた撮影
領域がレリーズ時にファインダ枠(FDI)内に見える
撮影領域に一致するように、1.4倍のズームアツプが
行なわれる。そして、標準のサービスサイズ対応の撮影
の場合にはこの1.4倍のズームアツプが望ましい。こ
れは、レリーズ前に撮影フレーム(FD2)内に見えて
いた撮影領域よりも多少広い領域が実際の撮影領域とな
るが、プリント時に周辺の画面が切りとられるため、最
終的なプリントの画面の領域はレリーズ前に撮影フレー
ム(FD2)内に見えていた撮影領域とほぼ一致するか
らである。しかし、スライド対応の撮影の場合には、レ
リーズ時に1.4倍にズームアツプするだけではレリー
ズ前に撮影フレーム(FD2)内に見えていた撮影領域
よりも外側の領域の風景なども写り、これが最終的な画
面の領域となる。
FIG. 51 shows the relationship among the finder frame, photographing frame, and actual photographing area (film frame) in a single-lens reflex camera whose viewfinder field of view during normal use is approximately 93%. In the basic embodiment described above, the viewfinder field of view before release in wide-field mode is 140%, so that the shooting area that was visible within the shooting frame (FD2) before release is changed to the viewfinder frame (FD2) at the time of release. A 1.4x zoom-up is performed to match the imaging area visible within the FDI. In the case of photography corresponding to the standard service size, it is desirable to zoom up to 1.4 times. This is because the actual shooting area is a little wider than the shooting area that was visible in the shooting frame (FD2) before the release, but the surrounding screen is cut off when printing, so the final print screen is This is because the area almost coincides with the shooting area that was visible in the shooting frame (FD2) before the release. However, in the case of slide-compatible shooting, simply zooming up to 1.4x at the time of release will also capture scenery outside the shooting area that was visible within the shooting frame (FD2) before the release, and this will not be the final image. area of the screen.

そこで、本例では、広視野モードにおけるスライド対応
の撮影の場合には、レリーズ前に撮影フレーム(FD2
)内に見えていた撮影領域がレリーズ時に実撮影領域(
FDO)と一致するように(誤差を考慮すれば実撮影領
域(FDO)よりも少し内側の領域と一致するように)
、ズームアツプする構成とする。
Therefore, in this example, in the case of slide-compatible shooting in wide-field mode, the shooting frame (FD2
) will change to the actual shooting area (
FDO) (taking into account the error, it should match an area slightly inside the actual shooting area (FDO))
, it is configured to zoom up.

これにより、スライド対応の撮影の場合でも、レリーズ
前に撮影フレーム(FD2)内に見えていた撮影領域が
最終的なスライドの画面の領域とほぼ一致するようにな
る。
As a result, even in the case of slide-compatible shooting, the shooting area that was visible in the shooting frame (FD2) before release almost matches the area of the final slide screen.

変11LL 本例は、変形例4と同様に、広視野モードにおけるズー
ムアツプの倍率に関してスライドとサービスサイズのプ
リントの両方に対応できるようにしたものである。
Modification 11LL In this example, like Modification 4, the zoom-up magnification in wide-field mode is compatible with both slides and service size prints.

本例では、フィルムの種類を読み取ってネガフィルムか
りバーサルフィルムかを識別する。具体的には、DXコ
ードの一部としてフィルムにコ−ド化されているラチチ
ュードを検出することにより、ネガフィルムがリバーサ
ルフィルムかを識別することができる。そしてこの識別
結果に基づき、ネガフィルムの場合には、レリーズ前に
撮影フレーム(FD2)内に見えていた撮影領域がレリ
ーズ特にファインダ枠(FDI)内に見える撮影領域に
一致するようにズームアツプする構成とする。他方、リ
バーサルフィルムの場合には、レリーズ前に撮影フレー
ム(FD2)内に見えていた撮影領域がレリーズ時に実
撮影領域(FDO)と一致するようにズームアツプする
構成とする。これにより、スライド対応又はサービスサ
イズ対応のいずれの撮影の場合でも、広視野モードにお
いてレリーズ前に撮影フレーム(FD2)内に見えてい
た撮影領域が、最終的に得られるスライド又はプリント
の画面の領域とほぼ一致する。
In this example, the type of film is read to identify whether it is a negative film or a versatile film. Specifically, it is possible to identify whether a negative film is a reversal film by detecting the latitude coded on the film as part of the DX code. Based on this identification result, in the case of negative film, the configuration zooms up so that the shooting area visible within the shooting frame (FD2) before release matches the shooting area visible within the viewfinder frame (FDI), especially when the release is released. shall be. On the other hand, in the case of a reversal film, the camera is configured to zoom up so that the shooting area visible in the shooting frame (FD2) before release matches the actual shooting area (FDO) at the time of release. As a result, in the case of either slide compatible or service size compatible shooting, the shooting area that was visible within the shooting frame (FD2) before release in wide field mode is the area of the screen of the final slide or print. almost matches.

亙JfdL影 本例は、変形例1と同様に、広視野モードにおけるシー
フェンスの一部を修正したものである。
In this example, like the first modification, a part of the sea fence in the wide field of view mode is modified.

前述の基本実施例では、ワイドビュースイッチ(S11
1.I)がONされるとそのままの画角(ファインダ像
)でファインダ枠(FDI)内に撮影フレーム(FD2
)が表示され、その撮影フレーム(FD2)内の入物や
風景などを撮影することになる。このシーフェンスの場
合、例えば、最初は通常視野モードにおいてファインダ
で動被写体などを確認していて、もう少し外側の風景な
どを確認したいことがあるが、このときワイドビュース
イッチ(SWu)をONするとファインダの内側に撮影
フレーム(FD2)が表示され、ワイドビュースイッチ
(St+u)をONする前よりも小さな撮影領域内の被
写体しか撮影することができないという不都合がある。
In the basic embodiment described above, the wide view switch (S11
1. When I) is turned on, the shooting frame (FD2) is displayed within the viewfinder frame (FDI) at the same angle of view (finder image).
) will be displayed, and objects, scenery, etc. within that photographic frame (FD2) will be photographed. In the case of this sea fence, for example, you may initially check a moving subject using the viewfinder in normal field of view mode, and then you may want to check the scenery a little more outside.At this time, when you turn on the wide view switch (SWu), There is an inconvenience that the photographing frame (FD2) is displayed inside the camera, and that only a subject within a smaller photographing area than before turning on the wide view switch (St+u) can be photographed.

そこで本例では、このような不都合を解消するため、ワ
イドビュースイッチ(Swu)をONすると、ONする
前にファインダ枠(FDI)内に見えていた撮影領域が
ONした後に撮影フレーム(FD2)内に見える撮影領
域と一致するようにズームダウンした後、撮影フレーム
(FD2)を表示して広視野モードに設定するというシ
ーフェンスを採用する。例えば、広視野モードにおける
レリーズ前のファインダの視野率が140%の場合には
、約0.7倍にズームダウンした後、撮影フレーム(F
D2)を表示して広視野モードに設定することになる。
Therefore, in this example, in order to eliminate this inconvenience, when the wide view switch (Swu) is turned on, the shooting area that was visible within the viewfinder frame (FDI) before being turned on will be displayed within the shooting frame (FD2) after being turned on. After zooming down to match the visible shooting area, a sea fence is adopted in which the shooting frame (FD2) is displayed and the wide field of view mode is set. For example, if the viewfinder field of view before release in wide field mode is 140%, after zooming down to approximately 0.7x, the shooting frame (F
D2) will be displayed to set the wide field of view mode.

以下、このシーフェンスを第52図及び第53図を参照
しつつ説明する。
This sea fence will be explained below with reference to FIGS. 52 and 53.

本例では、前述の基本実施例における第13図の広視野
ズーム判定のサブルーチンの代わりに、第52図に示す
サブルーチンを採用する。第52図のサブルーチンが呼
び出されると、まず、ワイドビュースイッチ(Si+u
)が。Nされているが否かを確認し、ONされていなけ
れば広視野モードが有効であることを示すフラグ(WW
F)をリセットし、撮影フレーム(FD2)の表示を○
FFI、てリターンする(ステップ#CIO,#C50
,#C60)。他方、ステップ(#Cl0)でワイドビ
ュースイッチ(S、u)が。Nさレテいると判定されれ
ば、ONされる前にファインダ枠(FDI)に見えてい
た撮影領域が。Nされた後に撮影フレーム(FD2)内
に見える撮影領域と一致するように、0.7倍にズーム
ダウンするサブルーチンを実行する(ステップ#C20
)。そして、広視野モードが有効であることを示すフラ
グ(WVF)をセットし、撮影フレーム(FD2)をフ
ァインダ枠(FDり内に表示してリターンする(ステッ
プ#C30,#C40)。
In this example, a subroutine shown in FIG. 52 is adopted in place of the wide-field zoom determination subroutine shown in FIG. 13 in the basic embodiment described above. When the subroutine shown in Fig. 52 is called, first the wide view switch (Si+u
)but. Check whether it is turned on or not, and if it is not turned on, the flag (WW
F) and change the display of the shooting frame (FD2) to ○
FFI, return (step #CIO, #C50
, #C60). On the other hand, the wide view switch (S, u) is activated at step (#Cl0). If it is determined that the camera is in N mode, the shooting area that was visible in the viewfinder frame (FDI) before it was turned on will be displayed. A subroutine for zooming down to 0.7 times is executed to match the photographing area visible in the photographing frame (FD2) after the
). Then, a flag (WVF) indicating that the wide field of view mode is valid is set, the photographing frame (FD2) is displayed within the finder frame (FD frame), and the process returns (steps #C30, #C40).

次に、第53図に示す0.7倍にズームダウンする上記
サブルーチンについて説明する。同サブルーチンが呼び
出されると、まず、現在の焦点距離f。
Next, the subroutine for zooming down to 0.7 times as shown in FIG. 53 will be explained. When this subroutine is called, first, the current focal length f is determined.

を0.7倍した値がワイド端の焦点距離fmlnよりも
小さいか否かをステップ(#C100)で判定し、小さ
くない場合は現在焦点距離f、を0.7倍した値を目標
焦点距離りとして設定しくステップ#C110)、小さ
い場合はワイド端の焦点距離fminを目標焦点距離f
、とじて設定する(ステップ#C120)。そして、ズ
ーム速度を設定して目標焦点距離f、までズーミングす
ることをレンズに伝えるためにレンズ交信(IX)を実
行した後、10m5ec間隔でレンズの状態を調べるレ
ンズ交信(Ill)を繰り返しながらズームレンズ群が
停止してフラグ(ZMVF)がリセットされるのを待つ
(ステップ#C130〜#C170)。ズームレンズ群
が停止すれば、次の測距ではズーミングによって変化す
るレンズデータを受信して測距演算を行なうようにする
ため、積分開始タイミングを知らせるデータの転送を指
示するフラグ(ITGTF)をセットしてリターンする
(ステップ#C180) 。
In step (#C100), it is determined whether or not the value obtained by multiplying the current focal length f by 0.7 is smaller than the focal length fmln at the wide end, and if it is not smaller, the value obtained by multiplying the current focal length f by 0.7 is set as the target focal length. If it is small, set the focal length fmin at the wide end to the target focal length f.
, and set (step #C120). Then, after executing lens communication (IX) to set the zoom speed and inform the lens to zoom to the target focal length f, zoom while repeating lens communication (Ill) to check the status of the lens at intervals of 10m5ec. Wait until the lens group stops and the flag (ZMVF) is reset (steps #C130 to #C170). When the zoom lens group stops, a flag (ITGTF) is set to instruct the transfer of data that informs the integration start timing in order to perform distance measurement calculations by receiving lens data that changes due to zooming in the next distance measurement. and return (step #C180).

以上のシーフェンスを採用することにより、ワイドとニ
ースイッチ(Sl、Iυ)をONすると、ONする前に
ファインダ内に見えていた撮影領域よりも広い領域がフ
ァインダで確認することができ、ONした後も、ONす
る前にファインダ内に見えていた撮影領域と同一の領域
の撮影を行なうことができる。
By adopting the sea fence described above, when the wide and knee switches (Sl, Iυ) are turned on, a wider area can be seen in the viewfinder than the shooting area that was visible in the viewfinder before turning them on. Even after this, it is possible to photograph the same area that was visible in the finder before turning on the switch.

変JJL二 本例はオートワイドのシーフェンスの一部を修正したも
のである。
The two modified JJL examples are partially modified auto wide sea fences.

前述の基本実施例では、オートワイド中に焦点検出可能
となった場合に、ズームレンズ群を停止させて通常の測
距に復帰し、焦点検出可能となった焦点距離で焦点合わ
せのシーフェンスを実行している。ところが、撮影者の
個性や撮影場面によっては、オートワイドに伴う画角の
変化を許容することができない場合がある。
In the basic embodiment described above, when focus detection becomes possible during auto wide, the zoom lens group is stopped, normal distance measurement is resumed, and the sea fence for focusing is performed at the focal length at which focus detection becomes possible. Running. However, depending on the personality of the photographer or the shooting scene, it may not be possible to tolerate changes in the angle of view that accompany auto wide.

そこで本例では、オートワイド中ミニ焦点検出可能とな
った時点で被写体に対して焦点合わせをするためにAF
レンズを駆動し、以降it A Fレンズを駆動しない
モード(AFロックモード)を設定し、ズームレンズ群
のみをオートワイドを開始した位置に戻すというシーフ
ェンスを採用する。これにより、オートワイドを行なっ
ても画角力で変イヒすることがなく、撮影者の意図した
写真を撮ることができる。
Therefore, in this example, when mini focus detection becomes possible during auto wide, AF is used to focus on the subject.
A sea fence is adopted in which the lens is driven, a mode (AF lock mode) is set in which the IT AF lens is not driven thereafter, and only the zoom lens group is returned to the position where auto wide was started. As a result, even when using auto wide, the angle of view does not change, allowing the photographer to take the picture he or she intended.

変111[ 本例は、オートワイドにおしAで焦、a検出し易くした
ものである。
Change 111 [In this example, auto wide is set to Oshi A to make it easier to detect focus and a.

前述の基本実施例では、ローコンスキャン完了後にオー
トワイドのシーフェンスを開始してお)J(第15図の
ステップ#502)、オートワイド開始時のAFレンズ
の位置は無限遠端(こ設定されて4sる(第22図のス
テップ#690〜#705)。この状態では、例えば最
近接位置の被写体(二対して(よ、特にテレ側でデフォ
ーカス量が大きすぎるためミニ焦点検出不能となる。
In the basic embodiment described above, the auto wide sea fencing is started after the low contrast scan is completed (step #502 in Figure 15), and the AF lens position at the start of the auto wide is at the infinity end (this setting (steps #690 to #705 in Fig. 22). In this state, for example, when the object at the closest position is Become.

そこで本例では、このような問題に対処するため、オー
トワイド開始時に、AFレンズを、その時点の焦点距離
において無限遠被写体に合焦するレンズ位置と最近接被
写体に合焦するレンズ位置との中間のレンズ位置に設定
しておくように構成する。これにより、近側又は遠側の
いずれの被写体に対してもデフォーカス量が極端に大き
くはならないので、オートワイドにおいて焦点検出がし
易くなる。
Therefore, in this example, in order to deal with this problem, at the start of auto wide, the AF lens is set at a lens position that focuses on an object at infinity and a lens position that focuses on the closest subject at the focal length at that point. The lens is configured to be set at an intermediate lens position. This prevents the amount of defocus from becoming extremely large for either near or far objects, making focus detection easier in auto wide mode.

また、テレ側でローコンスキャンしても焦点検出不能な
被写体は、近側の被写体であることが多いので、オート
ワイド開始時に、AFレンズを例えば被写体距離2.5
mに対応した繰り出し位置などの特定位置に設定するよ
うに構成してもよい。
Also, subjects for which focus cannot be detected even with low-contrast scanning on the telephoto side are often close subjects, so when starting auto wide, set the AF lens to a subject distance of 2.5, for example.
It may be configured to be set at a specific position such as a feeding position corresponding to m.

亙」1医」− 本例は、ズーミング中に実施される焦点検出(測距)に
おいて、CCD積分に要する時間が長くなった場合に対
処したものである。
This example deals with the case where the time required for CCD integration becomes long in focus detection (distance measurement) performed during zooming.

前述の基本実施例では、CCD積分開始タイミングであ
ることを示すデータをボディ側からレンズ側に転送しく
レンズ交信IV、V)、レンズ側は、そのデータを受は
取った時点のレンズの状態(焦点距離)に基づいたレン
ズデータの計算などを実行し、次のボディ側からのレン
ズデータの入力要求(C8割り込みによるレンズ交信■
)に備えている。これにより、CCD積分とレンズデー
タの計算とは同期をとりながら行なわれるが、CCD積
分に要する時間が長くなった場合には、CCD積分開始
時点でのレンズデータであっても時間的にずれが大きく
なる。
In the basic embodiment described above, the data indicating that it is the timing to start CCD integration is transferred from the body side to the lens side (lens communication IV, V), and the lens side receives the data and transmits the state of the lens at the time it is received ( Performs lens data calculations based on the focal length (focal length), and requests lens data input from the body side (lens communication via C8 interrupt).
). As a result, CCD integration and lens data calculation are performed in synchronization, but if the time required for CCD integration becomes long, there may be a time lag even if the lens data is at the start of CCD integration. growing.

そこで本例では、CCD積分に長い時間を要する場合に
対処するため、CCD積分開始時と終了時にそれぞれの
タイミングを示すデータをボディ側からレンズ側へ転送
し、レンズ側は、CCD積分開始時と終了時との中間時
点でのレンズの状態(焦点距離)に基づいたレンズデー
タの計算を行ない、そのレンズデータをデータダンプ終
了後にボディ側に転送する。これにより、CODの積分
中心時点とレンズデータの計算時点との時間的なずれが
小さくなるため、測距精度が向上する。
Therefore, in this example, in order to cope with the case where CCD integration requires a long time, data indicating the timing at the start and end of CCD integration is transferred from the body side to the lens side, and the lens side Lens data is calculated based on the state of the lens (focal length) at an intermediate point between the end and the end, and the lens data is transferred to the body after the data dump is completed. This reduces the time difference between the COD integration center point and the lens data calculation point, thereby improving distance measurement accuracy.

第1表 第3表 第2表 第4表(その1) 第4表(その2) 第5表 発明の詳細 な説明した通り、本発明のカメラによれば、合焦状態か
ら大きく外れているために焦点検出不能となっていた場
合には、焦点調節用レンズ群の駆動によって焦点検出が
可能となり、画角を変化させることなく撮影を行なうこ
とができる。そして、焦点謂節用レンズ群の駆動によっ
ては焦点検出が可能とならない場合には、ワイド側へズ
ーミングしながら焦点検出が繰り返される。これにより
、撮影時に画角が変化することになるが、被写体が測距
エリアから外れていた場合や被写体自体のコントラスト
不足に対しても一定範囲内で焦点検出を可能とすること
ができる。
Table 1 Table 3 Table 2 Table 4 (Part 1) Table 4 (Part 2) Table 5 As described in detail of the invention, according to the camera of the present invention, the camera is far out of focus. If the focus cannot be detected because of this, the focus can be detected by driving the focus adjustment lens group, and photography can be performed without changing the angle of view. If focus detection is not possible by driving the focus adjusting lens group, focus detection is repeated while zooming to the wide side. This causes the angle of view to change during photography, but it is possible to detect focus within a certain range even when the subject is out of the distance measurement area or when the subject itself lacks contrast.

このように本発明のカメラでは、できるだけ画角の変化
を抑えつつ、従来焦点検出不能であった場合でも焦点検
出を行なって合焦状態とし、撮影を行なうことができる
As described above, with the camera of the present invention, it is possible to perform focus detection, bring the object into focus, and take pictures, while suppressing changes in the angle of view as much as possible, even in cases where conventional focus detection has been impossible.

(以下余白)(Margin below)

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

第1図は本発明を実施したカメラシステムを示すブロッ
ク図であり、第2図(a)は前記カメラシステムのボデ
ィの外部構成を示す図、第2図(b)は前記ボディに装
着される交換レンズの外部構成を示す図である。 第3図は前記ボディに内蔵されたボディ内回路を示す回
路図であり、第4図は前記交換レンズに内蔵されたレン
ズ内回路を示す回路図、第5図は前記カメラシステムに
おけるファインダ内の表示を示す図である。 第6図は前記カメラシステムの広視野モードにおける動
作シーフェンスの概要を示すシーフェンスチャートであ
り、第7図は前記カメラシステムのオートワイドの動作
シーフェンスの概要を示すシーフェンスチャート、第8
図は広視野モードにおけるファインダ内の像を示す図、
第9図はオートワイド中のファインダ内の像を示す図で
ある。 第10図は前記カメラシステムにおけるボディ内マイコ
ンのリセットルーチンを示すフローチャ−トであり、第
11図はAFレンズ繰り込みのサブルーチンを示すフロ
ーチャート、第12図はズームレンズ群繰り込みのサブ
ルーチンを示すフローチャート、第13図は広視野モー
ド判定のサブルーチンを示すフローチャート、第14図
は5LONのサブルーチンを示すフローチャート、第1
5図はAF制御のサブルーチンを示すフローチャート、
第16図はレンズからの割り込みを制御するレンズIN
T制御のサブルーチンを示すフローチャート、第17図
〜第24図及び第28図は前記AF制御のサブルーチン
から呼び出される各サブルーチンを示すフローチャート
、第25図は露出演算のサブルーチンを示すフローチャ
ート、第26図はAE量関係の表示を行なうサブルーチ
ンを示すフローチャート、第27図は1.4倍ズームの
サブルーチンを示すフローチャート 第29図は露出制
御のサブルーチンを示すフローチャート、第30図〜第
38図はそれぞれレンズ交信(I)〜(IX)のサブル
ーチンを示すフローチャートである。 第39図は前記カメラシステムにおけるレンズ内マイコ
ンのリセットルーチンを示すフローチャートであり、第
40図はズームレンズ群繰り込みのサブルーチンを示す
フローチャート、第41図はズームレンズ群の駆動を開
始するサブルーチンを示すフローチャート、第42図は
ズームレンズ群停止のサブルーチンを示すフローチャー
ト、第43図はレンズの情報を表示するサブルーチンを
示すフローチャート、第44図はF/Z INT割り込
みのルーチンを示すフローチャート、第45図はC8割
り込みのルーチンを示すフローチャート、第46図はレ
ンズデータの計算のサブルーチンを示すフローチャート
、第47図はズームリング操作に基づいてズーミングを
行なうサブルーチンを示すフローチャート、第48図は
ボディからの指示に基づいてズーミングを行なうサブル
ーチンを示すフローチャートである。 第49図は変形例1の広視野モードにおける動作シーフ
ェンスの概要を示すシーフェンスチャートであり、第5
0図は変形例2の広視野モードにおけるファインダ像を
示す図、第51図は一眼レフカメラにおけるファインダ
枠、撮影フレーム。 及び実撮影領域の関係を示す図、第52図は変形例6で
使用する広視野ズーム判定のサブルーチンを示すフロー
チャート、第53図は前記広視野ズーム判定のサブルー
チンから呼び出される0、7倍ズームのサブルーチンを
示すフローチャートである。 (1)・・ボディ制御部。 (2)・・・測距部。 (3)・・・焦点調節用レンズ群駆動制御部(焦点調節
用レンズ群駆動手段)。 (6)・・・レンズ制御部。 (7)・・・ズームレンズ群駆動制御部。 (12)・・1ノリーズボタン。 (13)・・・ワイドビューキー (18)・・・オートワイドキー (LF)・・・焦点調節用レンズ群(AFレンズ)。 (LA)・・・ズームレンズ群。 (Ml)・・・焦点調節用レンズ群を駆動するモータ(
AFモータ)。 (M3)・・・ズームレンズ群を駆動するモータ(ズー
ムモータ)。 (Sl)・・・撮影準備スイッチ (焦点検出開始スイッチ)。 (S2)・・・レリーズスイッチ。 (SWV)・・・ワイドビュースイッチ。 (S□)・・・オートワイドスイッチ。 (BD)・・・カメラボディ。 (LE)・・・交換レンズ (AFCT)・・・焦点検出用受光回路(積分形光セン
サ内蔵)。 (μC1)・・・ボディ内マイコン。 (μC2)・・・レンズ内マイコン。 (FDI)・・・ファインダ枠。 (FD2)・・・撮影フレーム (FD3)・・・測距エリ乙 (イ)〜(=)・・・測距アイランド。
FIG. 1 is a block diagram showing a camera system embodying the present invention, FIG. 2(a) is a diagram showing the external configuration of the body of the camera system, and FIG. 2(b) is a block diagram showing the camera system mounted on the body. FIG. 3 is a diagram showing the external configuration of an interchangeable lens. FIG. 3 is a circuit diagram showing an internal circuit built into the body, FIG. 4 is a circuit diagram showing an internal circuit built into the interchangeable lens, and FIG. 5 is a circuit diagram showing an internal circuit built into the camera system. It is a figure which shows a display. FIG. 6 is a sea fence chart showing an outline of the operating sea fence in wide field mode of the camera system, FIG. 7 is a sea fence chart showing an outline of the operating sea fence in auto wide mode of the camera system, and FIG.
The figure shows the image in the viewfinder in wide field mode.
FIG. 9 is a diagram showing an image in the finder during auto wide mode. FIG. 10 is a flowchart showing a reset routine for the in-body microcomputer in the camera system, FIG. 11 is a flowchart showing a subroutine for renormalizing the AF lens, and FIG. 12 is a flowchart showing a subroutine for renormalizing the zoom lens group. FIG. 13 is a flowchart showing a subroutine for wide-field mode determination, FIG. 14 is a flowchart showing a subroutine for 5LON, and
Figure 5 is a flowchart showing the AF control subroutine;
Figure 16 shows the lens IN that controls interrupts from the lens.
17 to 24 and 28 are flowcharts showing each subroutine called from the AF control subroutine. FIG. 25 is a flowchart showing the exposure calculation subroutine. 27 is a flowchart showing a subroutine for displaying the AE amount relationship, FIG. 29 is a flowchart showing a subroutine for exposure control, and FIGS. 30 to 38 are for lens communication ( 12 is a flowchart showing subroutines I) to (IX). FIG. 39 is a flowchart showing a reset routine for the microcomputer in the lens in the camera system, FIG. 40 is a flowchart showing a subroutine for renormalizing the zoom lens group, and FIG. 41 is a flowchart showing a subroutine for starting driving the zoom lens group. , Fig. 42 is a flowchart showing a subroutine for stopping the zoom lens group, Fig. 43 is a flowchart showing a subroutine for displaying lens information, Fig. 44 is a flowchart showing a routine for F/Z INT interrupt, and Fig. 45 is a flowchart showing a subroutine for displaying lens information. FIG. 46 is a flowchart showing a subroutine for calculating lens data, FIG. 47 is a flowchart showing a subroutine for zooming based on zoom ring operation, and FIG. 48 is a flowchart showing a subroutine for zooming based on instructions from the body. 7 is a flowchart showing a subroutine for zooming. FIG. 49 is a sea fence chart showing an overview of the operational sea fence in the wide-field mode of modification 1;
Fig. 0 is a diagram showing a finder image in wide field mode of Modification 2, and Fig. 51 is a viewfinder frame and photographing frame in a single-lens reflex camera. FIG. 52 is a flowchart showing a wide-field zoom determination subroutine used in modification 6, and FIG. 53 is a flowchart showing the wide-field zoom determination subroutine called from the wide-field zoom determination subroutine. 3 is a flowchart showing a subroutine. (1)...Body control section. (2) ... Distance measuring section. (3) Focus adjustment lens group drive control section (focus adjustment lens group drive means). (6)...Lens control section. (7)...Zoom lens group drive control section. (12)...1 Nollies button. (13) Wide view key (18) Auto wide key (LF) Focus adjustment lens group (AF lens). (LA)...Zoom lens group. (Ml)...Motor that drives the focusing lens group (
AF motor). (M3)...Motor that drives the zoom lens group (zoom motor). (Sl)... Shooting preparation switch (focus detection start switch). (S2)...Release switch. (SWV)...Wide view switch. (S□)...Auto wide switch. (BD)...Camera body. (LE)... Interchangeable lens (AFCT)... Light receiving circuit for focus detection (built-in integral type optical sensor). (μC1)...In-body microcomputer. (μC2)...Microcomputer inside the lens. (FDI)...Finder frame. (FD2) ... Shooting frame (FD3) ... Distance measurement area (a) - (=) ... Distance measurement island.

Claims (1)

【特許請求の範囲】[Claims] (1)ズーミング機能を有し、焦点検出開始スイッチと
焦点検出手段と焦点調節用レンズ群駆動手段とを用いて
TTL方式により自動的に焦点合わせを行なうカメラに
おいて、 ズームレンズ群駆動手段と、 前記焦点検出開始スイッチがオンされると、前記焦点検
出手段によって焦点検出を行ない、その結果焦点検出が
できない場合に焦点検出不能信号を出力する焦点検出不
能信号出力手段と、 前記焦点検出不能信号が出力された場合に、前記焦点調
節用レンズ群駆動手段によつて焦点調節用レンズ群を駆
動しながら、前記焦点検出手段によって焦点検出を繰り
返し、その結果なお焦点検出ができない場合にローコン
スキャン完了信号を出力するローコンスキャン完了信号
出力手段と、前記ローコンスキャン完了信号が出力され
た後も引き続いて前記焦点検出開始スイッチがオンされ
ている場合に、前記ズームレンズ群駆動手段によつてワ
イド側に向かつてズーミングしながら、前記焦点検出手
段によつて焦点検出を繰り返すように制御する制御手段
と、 を備えたことを特徴とするカメラ。
(1) In a camera that has a zooming function and automatically performs focusing using a TTL method using a focus detection start switch, a focus detection means, and a focusing lens group driving means, the zoom lens group driving means; When the focus detection start switch is turned on, the focus detection means performs focus detection, and if focus detection is not possible as a result, a focus detection failure signal output means outputs a focus detection failure signal; and the focus detection failure signal is output. When the focus adjustment lens group is driven by the focus adjustment lens group drive means, focus detection is repeated by the focus detection means, and if the focus still cannot be detected as a result, a low contrast scan completion signal is generated. a low contrast scan completion signal output means for outputting a low contrast scan completion signal; and when the focus detection start switch is continuously turned on even after the low contrast scan completion signal is output, the zoom lens group driving means causes 1. A camera comprising: control means for controlling the focus detection means to repeat focus detection while zooming toward the camera.
JP21267590A 1990-02-11 1990-08-11 Camera Pending JPH0496028A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP21267590A JPH0496028A (en) 1990-08-11 1990-08-11 Camera
US07/743,241 US5319411A (en) 1990-08-11 1991-08-09 Camera
US08/233,943 US5386262A (en) 1990-08-11 1994-04-28 Camera
US08/324,962 US5576791A (en) 1990-08-11 1994-10-18 Camera
US08/705,690 US5687404A (en) 1990-02-11 1996-08-29 Camera
US08/705,907 US5832313A (en) 1990-08-11 1996-08-29 Camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21267590A JPH0496028A (en) 1990-08-11 1990-08-11 Camera

Publications (1)

Publication Number Publication Date
JPH0496028A true JPH0496028A (en) 1992-03-27

Family

ID=16626543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21267590A Pending JPH0496028A (en) 1990-02-11 1990-08-11 Camera

Country Status (1)

Country Link
JP (1) JPH0496028A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5557358A (en) * 1991-10-11 1996-09-17 Minolta Camera Kabushiki Kaisha Camera having an electronic viewfinder for displaying an object image under different photographic conditions

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5557358A (en) * 1991-10-11 1996-09-17 Minolta Camera Kabushiki Kaisha Camera having an electronic viewfinder for displaying an object image under different photographic conditions

Similar Documents

Publication Publication Date Title
JP2773144B2 (en) Camera with zoom lens
JPH0734405Y2 (en) Camera lens storage device
US5319411A (en) Camera
US6421506B1 (en) Camera
JPH0496028A (en) Camera
JPH04171431A (en) Camera
JP2924792B2 (en) camera
JP2940101B2 (en) camera
JP2993070B2 (en) camera
JP3171230B2 (en) camera
JP3248586B2 (en) Camera system and camera
JP2874650B2 (en) camera
JPH0496030A (en) Camera
JP3319384B2 (en) camera
JP2644252B2 (en) Auto focus camera
JPH0496029A (en) Camera
JP3360718B2 (en) camera
JP2940113B2 (en) Camera with virtual wide function
JP2940112B2 (en) Camera with virtual wide function
JPH07261071A (en) Camera
JP2004212892A (en) Photographing device
JP2874651B2 (en) camera
JP3144469B2 (en) camera
JPH0843710A (en) Camera provided with zoom lens
JPH01510A (en) autofocus camera